- Added a new "status" field to the themes collection with options: draft, published, and rejected. - Updated the migration script to include the new field and its options. - Created a new ingestion migration script to ensure the "status" field includes "rejected" as an option if not already present. - Added multiple hot-update files for webpack to support the new changes in the frontend.
27 lines
511 B
JSON
27 lines
511 B
JSON
{
|
|
"name": "generation",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.24",
|
|
"@fastify/cors": "^9.0.1",
|
|
"fastify": "^4",
|
|
"pocketbase": "^0.21",
|
|
"uuid": "^9",
|
|
"zod": "^3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20",
|
|
"@types/uuid": "^9",
|
|
"dotenv": "^16",
|
|
"tsx": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|