feat: add status field to themes collection and update migration scripts
- 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.
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
"start": "node dist/index.js",
|
||||
"migrate": "tsx src/migrations/001_initial_schema.ts",
|
||||
"migrate:qdrant": "tsx src/migrations/002_qdrant_setup.ts",
|
||||
"migrate:rules": "tsx src/migrations/003_access_rules.ts"
|
||||
"migrate:rules": "tsx src/migrations/003_access_rules.ts",
|
||||
"migrate:fix-themes": "tsx src/migrations/004_fix_theme_status.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "^0.24",
|
||||
|
||||
Reference in New Issue
Block a user