feat: add curriculum management admin dashboard with AI generation and draft approval workflows

This commit is contained in:
RaymondVerhoef
2026-05-24 23:09:58 +02:00
parent b07c4808a6
commit 967c68d27d
6 changed files with 186 additions and 6 deletions

View File

@@ -0,0 +1,21 @@
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const sources = app.findCollectionByNameOrId("sources");
sources.fields.add(new Field({
"hidden": false,
"id": "json_progress",
"maxSize": 0,
"name": "progress",
"presentable": false,
"required": false,
"system": false,
"type": "json"
}));
app.save(sources);
}, (app) => {
const sources = app.findCollectionByNameOrId("sources");
sources.fields.removeById("json_progress");
app.save(sources);
});