feat: add new page and migration scripts for access rules and collections
- Introduced new page component for library topics with type checks. - Added migration scripts to update access rules for various collections including badges, curriculum versions, and themes. - Implemented PocketBase integration for managing collection access rules dynamically. - Ensured proper type validation for page props and metadata generation functions.
This commit is contained in:
@@ -8,10 +8,12 @@
|
||||
"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:qdrant": "tsx src/migrations/002_qdrant_setup.ts",
|
||||
"migrate:rules": "tsx src/migrations/003_access_rules.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "^0.24",
|
||||
"@fastify/cors": "^9.0.1",
|
||||
"@qdrant/js-client-rest": "^1.9",
|
||||
"fastify": "^4",
|
||||
"openai": "^4",
|
||||
|
||||
Reference in New Issue
Block a user