Files
learning-platform/app/services/ingestion/package.json
RaymondVerhoef 815cf0f673 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.
2026-05-24 10:56:45 +02:00

36 lines
908 B
JSON

{
"name": "ingestion",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"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:fix-themes": "tsx src/migrations/004_fix_theme_status.ts"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.24",
"@fastify/cors": "^9.0.1",
"@qdrant/js-client-rest": "^1.9",
"fastify": "^4",
"openai": "^4",
"pdf-parse": "^1.1",
"pocketbase": "^0.21",
"uuid": "^9",
"zod": "^3"
},
"devDependencies": {
"@types/node": "^20",
"@types/pdf-parse": "^1.1",
"@types/uuid": "^9",
"dotenv": "^16",
"pdfkit": "^0.18.0",
"tsx": "^4",
"typescript": "^5"
}
}