@happyvertical/smrt-education 0.57.36 → 0.57.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +4 -0
- package/agents/family-intake.md +97 -0
- package/dist/catalog.d.ts +4 -4
- package/dist/catalog.d.ts.map +1 -1
- package/dist/chunks/{workbook-photo-service-1wcnf-Xf.js → workbook-photo-service-DCmqeWLd.js} +448 -202
- package/dist/chunks/workbook-photo-service-DCmqeWLd.js.map +1 -0
- package/dist/course-source.d.ts +2 -2
- package/dist/course-source.d.ts.map +1 -1
- package/dist/family-intake-contracts.d.ts +56 -0
- package/dist/family-intake-contracts.d.ts.map +1 -0
- package/dist/family-intake-ingestion.d.ts +29 -0
- package/dist/family-intake-ingestion.d.ts.map +1 -0
- package/dist/family-intake-models.d.ts +58 -0
- package/dist/family-intake-models.d.ts.map +1 -0
- package/dist/family-intake-service.d.ts +70 -0
- package/dist/family-intake-service.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/ingestion.d.ts +2 -0
- package/dist/ingestion.d.ts.map +1 -1
- package/dist/ingestion.js +426 -13
- package/dist/ingestion.js.map +1 -1
- package/dist/intake-original-evidence.d.ts +10 -0
- package/dist/intake-original-evidence.d.ts.map +1 -0
- package/dist/learner-service.d.ts +2 -0
- package/dist/learner-service.d.ts.map +1 -1
- package/dist/learners.d.ts +5 -5
- package/dist/learners.d.ts.map +1 -1
- package/dist/lesson-assets.d.ts +2 -2
- package/dist/lesson-assets.d.ts.map +1 -1
- package/dist/manifest.json +1319 -78
- package/dist/smrt-knowledge.json +524 -10
- package/dist/submission-service.d.ts +1 -1
- package/dist/submission-service.d.ts.map +1 -1
- package/dist/submissions.d.ts +7 -7
- package/dist/submissions.d.ts.map +1 -1
- package/dist/workbook-models.d.ts +8 -8
- package/dist/workbook-models.d.ts.map +1 -1
- package/dist/workbook-photo-ingestion.d.ts.map +1 -1
- package/dist/workbook-photo-models.d.ts +6 -5
- package/dist/workbook-photo-models.d.ts.map +1 -1
- package/dist/workbook-photo-service.d.ts +6 -0
- package/dist/workbook-photo-service.d.ts.map +1 -1
- package/package.json +10 -10
- package/dist/chunks/workbook-photo-service-1wcnf-Xf.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-education",
|
|
5
|
-
"packageVersion": "0.57.
|
|
5
|
+
"packageVersion": "0.57.38",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-education:CatalogProviderCollection": {
|
|
8
8
|
"name": "catalogprovidercollection",
|
|
@@ -1777,7 +1777,13 @@
|
|
|
1777
1777
|
"save": {
|
|
1778
1778
|
"name": "save",
|
|
1779
1779
|
"async": true,
|
|
1780
|
-
"parameters": [
|
|
1780
|
+
"parameters": [
|
|
1781
|
+
{
|
|
1782
|
+
"name": "options",
|
|
1783
|
+
"type": "SmrtSaveOptions",
|
|
1784
|
+
"optional": true
|
|
1785
|
+
}
|
|
1786
|
+
],
|
|
1781
1787
|
"returnType": "Promise<this>",
|
|
1782
1788
|
"isStatic": false,
|
|
1783
1789
|
"isPublic": true
|
|
@@ -2118,7 +2124,13 @@
|
|
|
2118
2124
|
"save": {
|
|
2119
2125
|
"name": "save",
|
|
2120
2126
|
"async": true,
|
|
2121
|
-
"parameters": [
|
|
2127
|
+
"parameters": [
|
|
2128
|
+
{
|
|
2129
|
+
"name": "options",
|
|
2130
|
+
"type": "SmrtSaveOptions",
|
|
2131
|
+
"optional": true
|
|
2132
|
+
}
|
|
2133
|
+
],
|
|
2122
2134
|
"returnType": "Promise<this>",
|
|
2123
2135
|
"isStatic": false,
|
|
2124
2136
|
"isPublic": true
|
|
@@ -2451,7 +2463,13 @@
|
|
|
2451
2463
|
"save": {
|
|
2452
2464
|
"name": "save",
|
|
2453
2465
|
"async": true,
|
|
2454
|
-
"parameters": [
|
|
2466
|
+
"parameters": [
|
|
2467
|
+
{
|
|
2468
|
+
"name": "options",
|
|
2469
|
+
"type": "SmrtSaveOptions",
|
|
2470
|
+
"optional": true
|
|
2471
|
+
}
|
|
2472
|
+
],
|
|
2455
2473
|
"returnType": "Promise<this>",
|
|
2456
2474
|
"isStatic": false,
|
|
2457
2475
|
"isPublic": true
|
|
@@ -2698,7 +2716,13 @@
|
|
|
2698
2716
|
"save": {
|
|
2699
2717
|
"name": "save",
|
|
2700
2718
|
"async": true,
|
|
2701
|
-
"parameters": [
|
|
2719
|
+
"parameters": [
|
|
2720
|
+
{
|
|
2721
|
+
"name": "options",
|
|
2722
|
+
"type": "SmrtSaveOptions",
|
|
2723
|
+
"optional": true
|
|
2724
|
+
}
|
|
2725
|
+
],
|
|
2702
2726
|
"returnType": "Promise<this>",
|
|
2703
2727
|
"isStatic": false,
|
|
2704
2728
|
"isPublic": true
|
|
@@ -2931,7 +2955,13 @@
|
|
|
2931
2955
|
"save": {
|
|
2932
2956
|
"name": "save",
|
|
2933
2957
|
"async": true,
|
|
2934
|
-
"parameters": [
|
|
2958
|
+
"parameters": [
|
|
2959
|
+
{
|
|
2960
|
+
"name": "options",
|
|
2961
|
+
"type": "SmrtSaveOptions",
|
|
2962
|
+
"optional": true
|
|
2963
|
+
}
|
|
2964
|
+
],
|
|
2935
2965
|
"returnType": "Promise<this>",
|
|
2936
2966
|
"isStatic": false,
|
|
2937
2967
|
"isPublic": true
|
|
@@ -3233,7 +3263,13 @@
|
|
|
3233
3263
|
"save": {
|
|
3234
3264
|
"name": "save",
|
|
3235
3265
|
"async": true,
|
|
3236
|
-
"parameters": [
|
|
3266
|
+
"parameters": [
|
|
3267
|
+
{
|
|
3268
|
+
"name": "options",
|
|
3269
|
+
"type": "SmrtSaveOptions",
|
|
3270
|
+
"optional": true
|
|
3271
|
+
}
|
|
3272
|
+
],
|
|
3237
3273
|
"returnType": "Promise<this>",
|
|
3238
3274
|
"isStatic": false,
|
|
3239
3275
|
"isPublic": true
|
|
@@ -3531,7 +3567,13 @@
|
|
|
3531
3567
|
"save": {
|
|
3532
3568
|
"name": "save",
|
|
3533
3569
|
"async": true,
|
|
3534
|
-
"parameters": [
|
|
3570
|
+
"parameters": [
|
|
3571
|
+
{
|
|
3572
|
+
"name": "options",
|
|
3573
|
+
"type": "SmrtSaveOptions",
|
|
3574
|
+
"optional": true
|
|
3575
|
+
}
|
|
3576
|
+
],
|
|
3535
3577
|
"returnType": "Promise<this>",
|
|
3536
3578
|
"isStatic": false,
|
|
3537
3579
|
"isPublic": true
|
|
@@ -3838,7 +3880,13 @@
|
|
|
3838
3880
|
"save": {
|
|
3839
3881
|
"name": "save",
|
|
3840
3882
|
"async": true,
|
|
3841
|
-
"parameters": [
|
|
3883
|
+
"parameters": [
|
|
3884
|
+
{
|
|
3885
|
+
"name": "options",
|
|
3886
|
+
"type": "SmrtSaveOptions",
|
|
3887
|
+
"optional": true
|
|
3888
|
+
}
|
|
3889
|
+
],
|
|
3842
3890
|
"returnType": "Promise<this>",
|
|
3843
3891
|
"isStatic": false,
|
|
3844
3892
|
"isPublic": true
|
|
@@ -4137,7 +4185,13 @@
|
|
|
4137
4185
|
"save": {
|
|
4138
4186
|
"name": "save",
|
|
4139
4187
|
"async": true,
|
|
4140
|
-
"parameters": [
|
|
4188
|
+
"parameters": [
|
|
4189
|
+
{
|
|
4190
|
+
"name": "options",
|
|
4191
|
+
"type": "SmrtSaveOptions",
|
|
4192
|
+
"optional": true
|
|
4193
|
+
}
|
|
4194
|
+
],
|
|
4141
4195
|
"returnType": "Promise<this>",
|
|
4142
4196
|
"isStatic": false,
|
|
4143
4197
|
"isPublic": true
|
|
@@ -8037,7 +8091,13 @@
|
|
|
8037
8091
|
"save": {
|
|
8038
8092
|
"name": "save",
|
|
8039
8093
|
"async": true,
|
|
8040
|
-
"parameters": [
|
|
8094
|
+
"parameters": [
|
|
8095
|
+
{
|
|
8096
|
+
"name": "options",
|
|
8097
|
+
"type": "SmrtSaveOptions",
|
|
8098
|
+
"optional": true
|
|
8099
|
+
}
|
|
8100
|
+
],
|
|
8041
8101
|
"returnType": "Promise<this>",
|
|
8042
8102
|
"isStatic": false,
|
|
8043
8103
|
"isPublic": true
|
|
@@ -8136,53 +8196,1040 @@
|
|
|
8136
8196
|
"sharing": {
|
|
8137
8197
|
"type": "TEXT",
|
|
8138
8198
|
"notNull": false,
|
|
8139
|
-
"unique": false,
|
|
8140
|
-
"default": "private"
|
|
8199
|
+
"unique": false,
|
|
8200
|
+
"default": "private"
|
|
8201
|
+
}
|
|
8202
|
+
},
|
|
8203
|
+
"indexes": [
|
|
8204
|
+
{
|
|
8205
|
+
"name": "course_sources_slug_context_idx",
|
|
8206
|
+
"columns": [
|
|
8207
|
+
"tenant_id",
|
|
8208
|
+
"slug",
|
|
8209
|
+
"context"
|
|
8210
|
+
],
|
|
8211
|
+
"unique": true
|
|
8212
|
+
},
|
|
8213
|
+
{
|
|
8214
|
+
"name": "course_sources_tenant_id_created_at_idx",
|
|
8215
|
+
"columns": [
|
|
8216
|
+
"tenant_id",
|
|
8217
|
+
"created_at"
|
|
8218
|
+
]
|
|
8219
|
+
}
|
|
8220
|
+
],
|
|
8221
|
+
"version": "98177eb3"
|
|
8222
|
+
},
|
|
8223
|
+
"importPath": "@happyvertical/smrt-education"
|
|
8224
|
+
},
|
|
8225
|
+
"@happyvertical/smrt-education:CourseSourceCollection": {
|
|
8226
|
+
"name": "coursesourcecollection",
|
|
8227
|
+
"className": "CourseSourceCollection",
|
|
8228
|
+
"qualifiedName": "@happyvertical/smrt-education:CourseSourceCollection",
|
|
8229
|
+
"collection": "coursesources",
|
|
8230
|
+
"filePath": "/home/runner/work/smrt/smrt/packages/education/src/course-source.ts",
|
|
8231
|
+
"packageName": "@happyvertical/smrt-education",
|
|
8232
|
+
"fields": {},
|
|
8233
|
+
"methods": {},
|
|
8234
|
+
"decoratorConfig": {
|
|
8235
|
+
"api": false,
|
|
8236
|
+
"mcp": false,
|
|
8237
|
+
"cli": false
|
|
8238
|
+
},
|
|
8239
|
+
"extends": "SmrtCollection",
|
|
8240
|
+
"extendsTypeArg": "CourseSource",
|
|
8241
|
+
"exportName": "CourseSourceCollection",
|
|
8242
|
+
"collectionExportName": "CourseSourceCollectionCollection",
|
|
8243
|
+
"schema": {
|
|
8244
|
+
"tableName": "course_sources",
|
|
8245
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"course_sources\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"key\" TEXT NOT NULL,\n \"name\" TEXT NOT NULL,\n \"kind\" TEXT DEFAULT 'adapter',\n \"adapter_key\" TEXT,\n \"config\" TEXT,\n \"sharing\" TEXT DEFAULT 'private'\n);",
|
|
8246
|
+
"columns": {
|
|
8247
|
+
"id": {
|
|
8248
|
+
"type": "UUID",
|
|
8249
|
+
"primaryKey": true,
|
|
8250
|
+
"referenceKind": "id",
|
|
8251
|
+
"notNull": true
|
|
8252
|
+
},
|
|
8253
|
+
"slug": {
|
|
8254
|
+
"type": "TEXT",
|
|
8255
|
+
"notNull": true
|
|
8256
|
+
},
|
|
8257
|
+
"context": {
|
|
8258
|
+
"type": "TEXT",
|
|
8259
|
+
"notNull": true,
|
|
8260
|
+
"default": ""
|
|
8261
|
+
},
|
|
8262
|
+
"created_at": {
|
|
8263
|
+
"type": "TIMESTAMP",
|
|
8264
|
+
"notNull": true,
|
|
8265
|
+
"default": "current_timestamp"
|
|
8266
|
+
},
|
|
8267
|
+
"updated_at": {
|
|
8268
|
+
"type": "TIMESTAMP",
|
|
8269
|
+
"notNull": true,
|
|
8270
|
+
"default": "current_timestamp"
|
|
8271
|
+
},
|
|
8272
|
+
"tenant_id": {
|
|
8273
|
+
"type": "UUID",
|
|
8274
|
+
"referenceKind": "tenantId",
|
|
8275
|
+
"notNull": true,
|
|
8276
|
+
"unique": false
|
|
8277
|
+
},
|
|
8278
|
+
"key": {
|
|
8279
|
+
"type": "TEXT",
|
|
8280
|
+
"notNull": true,
|
|
8281
|
+
"unique": false
|
|
8282
|
+
},
|
|
8283
|
+
"name": {
|
|
8284
|
+
"type": "TEXT",
|
|
8285
|
+
"notNull": true,
|
|
8286
|
+
"unique": false
|
|
8287
|
+
},
|
|
8288
|
+
"kind": {
|
|
8289
|
+
"type": "TEXT",
|
|
8290
|
+
"notNull": false,
|
|
8291
|
+
"unique": false,
|
|
8292
|
+
"default": "adapter"
|
|
8293
|
+
},
|
|
8294
|
+
"adapter_key": {
|
|
8295
|
+
"type": "TEXT",
|
|
8296
|
+
"notNull": false,
|
|
8297
|
+
"unique": false
|
|
8298
|
+
},
|
|
8299
|
+
"config": {
|
|
8300
|
+
"type": "TEXT",
|
|
8301
|
+
"notNull": false,
|
|
8302
|
+
"unique": false
|
|
8303
|
+
},
|
|
8304
|
+
"sharing": {
|
|
8305
|
+
"type": "TEXT",
|
|
8306
|
+
"notNull": false,
|
|
8307
|
+
"unique": false,
|
|
8308
|
+
"default": "private"
|
|
8309
|
+
}
|
|
8310
|
+
},
|
|
8311
|
+
"indexes": [
|
|
8312
|
+
{
|
|
8313
|
+
"name": "course_sources_slug_context_idx",
|
|
8314
|
+
"columns": [
|
|
8315
|
+
"tenant_id",
|
|
8316
|
+
"slug",
|
|
8317
|
+
"context"
|
|
8318
|
+
],
|
|
8319
|
+
"unique": true
|
|
8320
|
+
},
|
|
8321
|
+
{
|
|
8322
|
+
"name": "course_sources_tenant_id_created_at_idx",
|
|
8323
|
+
"columns": [
|
|
8324
|
+
"tenant_id",
|
|
8325
|
+
"created_at"
|
|
8326
|
+
]
|
|
8327
|
+
}
|
|
8328
|
+
],
|
|
8329
|
+
"version": "98177eb3"
|
|
8330
|
+
},
|
|
8331
|
+
"importPath": "@happyvertical/smrt-education"
|
|
8332
|
+
},
|
|
8333
|
+
"@happyvertical/smrt-education:FamilyIntake": {
|
|
8334
|
+
"name": "familyintake",
|
|
8335
|
+
"className": "FamilyIntake",
|
|
8336
|
+
"qualifiedName": "@happyvertical/smrt-education:FamilyIntake",
|
|
8337
|
+
"collection": "familyintakes",
|
|
8338
|
+
"description": "Family-owned receipt, independent of learner attribution and ingestion expiry.",
|
|
8339
|
+
"filePath": "/home/runner/work/smrt/smrt/packages/education/src/family-intake-models.ts",
|
|
8340
|
+
"packageName": "@happyvertical/smrt-education",
|
|
8341
|
+
"fields": {
|
|
8342
|
+
"tenantId": {
|
|
8343
|
+
"type": "text",
|
|
8344
|
+
"required": true,
|
|
8345
|
+
"_meta": {
|
|
8346
|
+
"sqlType": "UUID",
|
|
8347
|
+
"__tenancy": {
|
|
8348
|
+
"isTenantIdField": true,
|
|
8349
|
+
"autoFilter": true,
|
|
8350
|
+
"required": true,
|
|
8351
|
+
"autoPopulate": true,
|
|
8352
|
+
"nullable": false,
|
|
8353
|
+
"mode": "required",
|
|
8354
|
+
"field": "tenantId",
|
|
8355
|
+
"allowSuperAdminBypass": false
|
|
8356
|
+
}
|
|
8357
|
+
}
|
|
8358
|
+
},
|
|
8359
|
+
"itemId": {
|
|
8360
|
+
"type": "text",
|
|
8361
|
+
"required": false
|
|
8362
|
+
},
|
|
8363
|
+
"actorUserId": {
|
|
8364
|
+
"type": "text",
|
|
8365
|
+
"required": false
|
|
8366
|
+
},
|
|
8367
|
+
"ownerProfileId": {
|
|
8368
|
+
"type": "crossPackageRef",
|
|
8369
|
+
"required": false,
|
|
8370
|
+
"related": "@happyvertical/smrt-profiles:Profile"
|
|
8371
|
+
},
|
|
8372
|
+
"contentDigest": {
|
|
8373
|
+
"type": "text",
|
|
8374
|
+
"required": false
|
|
8375
|
+
},
|
|
8376
|
+
"sourceJson": {
|
|
8377
|
+
"type": "text",
|
|
8378
|
+
"required": false,
|
|
8379
|
+
"_meta": {}
|
|
8380
|
+
}
|
|
8381
|
+
},
|
|
8382
|
+
"methods": {
|
|
8383
|
+
"save": {
|
|
8384
|
+
"name": "save",
|
|
8385
|
+
"async": true,
|
|
8386
|
+
"parameters": [
|
|
8387
|
+
{
|
|
8388
|
+
"name": "options",
|
|
8389
|
+
"type": "SmrtSaveOptions",
|
|
8390
|
+
"optional": true
|
|
8391
|
+
}
|
|
8392
|
+
],
|
|
8393
|
+
"returnType": "Promise<this>",
|
|
8394
|
+
"isStatic": false,
|
|
8395
|
+
"isPublic": true
|
|
8396
|
+
},
|
|
8397
|
+
"delete": {
|
|
8398
|
+
"name": "delete",
|
|
8399
|
+
"async": true,
|
|
8400
|
+
"parameters": [],
|
|
8401
|
+
"returnType": "Promise<void>",
|
|
8402
|
+
"isStatic": false,
|
|
8403
|
+
"isPublic": true
|
|
8404
|
+
}
|
|
8405
|
+
},
|
|
8406
|
+
"decoratorConfig": {
|
|
8407
|
+
"tableName": "family_intakes",
|
|
8408
|
+
"conflictColumns": [
|
|
8409
|
+
"tenant_id",
|
|
8410
|
+
"item_id"
|
|
8411
|
+
],
|
|
8412
|
+
"api": false,
|
|
8413
|
+
"mcp": false,
|
|
8414
|
+
"cli": false,
|
|
8415
|
+
"tenantScoped": {
|
|
8416
|
+
"mode": "required"
|
|
8417
|
+
}
|
|
8418
|
+
},
|
|
8419
|
+
"extends": "SmrtObject",
|
|
8420
|
+
"exportName": "FamilyIntake",
|
|
8421
|
+
"collectionExportName": "FamilyIntakeCollection",
|
|
8422
|
+
"validationRules": [],
|
|
8423
|
+
"schema": {
|
|
8424
|
+
"tableName": "family_intakes",
|
|
8425
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"family_intakes\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"item_id\" TEXT,\n \"actor_user_id\" TEXT,\n \"owner_profile_id\" UUID,\n \"content_digest\" TEXT,\n \"source_json\" TEXT\n);",
|
|
8426
|
+
"columns": {
|
|
8427
|
+
"id": {
|
|
8428
|
+
"type": "UUID",
|
|
8429
|
+
"primaryKey": true,
|
|
8430
|
+
"referenceKind": "id",
|
|
8431
|
+
"notNull": true
|
|
8432
|
+
},
|
|
8433
|
+
"slug": {
|
|
8434
|
+
"type": "TEXT",
|
|
8435
|
+
"notNull": true
|
|
8436
|
+
},
|
|
8437
|
+
"context": {
|
|
8438
|
+
"type": "TEXT",
|
|
8439
|
+
"notNull": true,
|
|
8440
|
+
"default": ""
|
|
8441
|
+
},
|
|
8442
|
+
"created_at": {
|
|
8443
|
+
"type": "TIMESTAMP",
|
|
8444
|
+
"notNull": true,
|
|
8445
|
+
"default": "current_timestamp"
|
|
8446
|
+
},
|
|
8447
|
+
"updated_at": {
|
|
8448
|
+
"type": "TIMESTAMP",
|
|
8449
|
+
"notNull": true,
|
|
8450
|
+
"default": "current_timestamp"
|
|
8451
|
+
},
|
|
8452
|
+
"tenant_id": {
|
|
8453
|
+
"type": "UUID",
|
|
8454
|
+
"referenceKind": "tenantId",
|
|
8455
|
+
"notNull": true,
|
|
8456
|
+
"unique": false
|
|
8457
|
+
},
|
|
8458
|
+
"item_id": {
|
|
8459
|
+
"type": "TEXT",
|
|
8460
|
+
"notNull": false,
|
|
8461
|
+
"unique": false
|
|
8462
|
+
},
|
|
8463
|
+
"actor_user_id": {
|
|
8464
|
+
"type": "TEXT",
|
|
8465
|
+
"notNull": false,
|
|
8466
|
+
"unique": false
|
|
8467
|
+
},
|
|
8468
|
+
"owner_profile_id": {
|
|
8469
|
+
"type": "UUID",
|
|
8470
|
+
"referenceKind": "crossPackageRef",
|
|
8471
|
+
"notNull": false,
|
|
8472
|
+
"unique": false
|
|
8473
|
+
},
|
|
8474
|
+
"content_digest": {
|
|
8475
|
+
"type": "TEXT",
|
|
8476
|
+
"notNull": false,
|
|
8477
|
+
"unique": false
|
|
8478
|
+
},
|
|
8479
|
+
"source_json": {
|
|
8480
|
+
"type": "TEXT",
|
|
8481
|
+
"notNull": false,
|
|
8482
|
+
"unique": false
|
|
8483
|
+
}
|
|
8484
|
+
},
|
|
8485
|
+
"indexes": [
|
|
8486
|
+
{
|
|
8487
|
+
"name": "family_intakes_tenant_id_item_id_idx",
|
|
8488
|
+
"columns": [
|
|
8489
|
+
"tenant_id",
|
|
8490
|
+
"item_id"
|
|
8491
|
+
],
|
|
8492
|
+
"unique": true,
|
|
8493
|
+
"nullsNotDistinct": true
|
|
8494
|
+
},
|
|
8495
|
+
{
|
|
8496
|
+
"name": "family_intakes_slug_context_idx",
|
|
8497
|
+
"columns": [
|
|
8498
|
+
"slug",
|
|
8499
|
+
"context"
|
|
8500
|
+
]
|
|
8501
|
+
},
|
|
8502
|
+
{
|
|
8503
|
+
"name": "family_intakes_tenant_id_created_at_idx",
|
|
8504
|
+
"columns": [
|
|
8505
|
+
"tenant_id",
|
|
8506
|
+
"created_at"
|
|
8507
|
+
]
|
|
8508
|
+
},
|
|
8509
|
+
{
|
|
8510
|
+
"name": "family_intakes_owner_profile_id_idx",
|
|
8511
|
+
"columns": [
|
|
8512
|
+
"owner_profile_id"
|
|
8513
|
+
]
|
|
8514
|
+
}
|
|
8515
|
+
],
|
|
8516
|
+
"version": "2577578b"
|
|
8517
|
+
},
|
|
8518
|
+
"importPath": "@happyvertical/smrt-education"
|
|
8519
|
+
},
|
|
8520
|
+
"@happyvertical/smrt-education:FamilyIntakeCollection": {
|
|
8521
|
+
"name": "familyintakecollection",
|
|
8522
|
+
"className": "FamilyIntakeCollection",
|
|
8523
|
+
"qualifiedName": "@happyvertical/smrt-education:FamilyIntakeCollection",
|
|
8524
|
+
"collection": "familyintakes",
|
|
8525
|
+
"filePath": "/home/runner/work/smrt/smrt/packages/education/src/family-intake-models.ts",
|
|
8526
|
+
"packageName": "@happyvertical/smrt-education",
|
|
8527
|
+
"fields": {},
|
|
8528
|
+
"methods": {},
|
|
8529
|
+
"decoratorConfig": {
|
|
8530
|
+
"tableName": "family_intakes",
|
|
8531
|
+
"api": false,
|
|
8532
|
+
"mcp": false,
|
|
8533
|
+
"cli": false
|
|
8534
|
+
},
|
|
8535
|
+
"extends": "SmrtCollection",
|
|
8536
|
+
"extendsTypeArg": "FamilyIntake",
|
|
8537
|
+
"exportName": "FamilyIntakeCollection",
|
|
8538
|
+
"collectionExportName": "FamilyIntakeCollectionCollection",
|
|
8539
|
+
"schema": {
|
|
8540
|
+
"tableName": "family_intakes",
|
|
8541
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"family_intakes\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"item_id\" TEXT,\n \"actor_user_id\" TEXT,\n \"owner_profile_id\" UUID,\n \"content_digest\" TEXT,\n \"source_json\" TEXT\n);",
|
|
8542
|
+
"columns": {
|
|
8543
|
+
"id": {
|
|
8544
|
+
"type": "UUID",
|
|
8545
|
+
"primaryKey": true,
|
|
8546
|
+
"referenceKind": "id",
|
|
8547
|
+
"notNull": true
|
|
8548
|
+
},
|
|
8549
|
+
"slug": {
|
|
8550
|
+
"type": "TEXT",
|
|
8551
|
+
"notNull": true
|
|
8552
|
+
},
|
|
8553
|
+
"context": {
|
|
8554
|
+
"type": "TEXT",
|
|
8555
|
+
"notNull": true,
|
|
8556
|
+
"default": ""
|
|
8557
|
+
},
|
|
8558
|
+
"created_at": {
|
|
8559
|
+
"type": "TIMESTAMP",
|
|
8560
|
+
"notNull": true,
|
|
8561
|
+
"default": "current_timestamp"
|
|
8562
|
+
},
|
|
8563
|
+
"updated_at": {
|
|
8564
|
+
"type": "TIMESTAMP",
|
|
8565
|
+
"notNull": true,
|
|
8566
|
+
"default": "current_timestamp"
|
|
8567
|
+
},
|
|
8568
|
+
"tenant_id": {
|
|
8569
|
+
"type": "UUID",
|
|
8570
|
+
"referenceKind": "tenantId",
|
|
8571
|
+
"notNull": true,
|
|
8572
|
+
"unique": false
|
|
8573
|
+
},
|
|
8574
|
+
"item_id": {
|
|
8575
|
+
"type": "TEXT",
|
|
8576
|
+
"notNull": false,
|
|
8577
|
+
"unique": false
|
|
8578
|
+
},
|
|
8579
|
+
"actor_user_id": {
|
|
8580
|
+
"type": "TEXT",
|
|
8581
|
+
"notNull": false,
|
|
8582
|
+
"unique": false
|
|
8583
|
+
},
|
|
8584
|
+
"owner_profile_id": {
|
|
8585
|
+
"type": "UUID",
|
|
8586
|
+
"referenceKind": "crossPackageRef",
|
|
8587
|
+
"notNull": false,
|
|
8588
|
+
"unique": false
|
|
8589
|
+
},
|
|
8590
|
+
"content_digest": {
|
|
8591
|
+
"type": "TEXT",
|
|
8592
|
+
"notNull": false,
|
|
8593
|
+
"unique": false
|
|
8594
|
+
},
|
|
8595
|
+
"source_json": {
|
|
8596
|
+
"type": "TEXT",
|
|
8597
|
+
"notNull": false,
|
|
8598
|
+
"unique": false
|
|
8599
|
+
}
|
|
8600
|
+
},
|
|
8601
|
+
"indexes": [
|
|
8602
|
+
{
|
|
8603
|
+
"name": "family_intakes_tenant_id_item_id_idx",
|
|
8604
|
+
"columns": [
|
|
8605
|
+
"tenant_id",
|
|
8606
|
+
"item_id"
|
|
8607
|
+
],
|
|
8608
|
+
"unique": true,
|
|
8609
|
+
"nullsNotDistinct": true
|
|
8610
|
+
},
|
|
8611
|
+
{
|
|
8612
|
+
"name": "family_intakes_slug_context_idx",
|
|
8613
|
+
"columns": [
|
|
8614
|
+
"slug",
|
|
8615
|
+
"context"
|
|
8616
|
+
]
|
|
8617
|
+
},
|
|
8618
|
+
{
|
|
8619
|
+
"name": "family_intakes_tenant_id_created_at_idx",
|
|
8620
|
+
"columns": [
|
|
8621
|
+
"tenant_id",
|
|
8622
|
+
"created_at"
|
|
8623
|
+
]
|
|
8624
|
+
},
|
|
8625
|
+
{
|
|
8626
|
+
"name": "family_intakes_owner_profile_id_idx",
|
|
8627
|
+
"columns": [
|
|
8628
|
+
"owner_profile_id"
|
|
8629
|
+
]
|
|
8630
|
+
}
|
|
8631
|
+
],
|
|
8632
|
+
"version": "2577578b"
|
|
8633
|
+
},
|
|
8634
|
+
"importPath": "@happyvertical/smrt-education"
|
|
8635
|
+
},
|
|
8636
|
+
"@happyvertical/smrt-education:FamilyIntakeAsset": {
|
|
8637
|
+
"name": "familyintakeasset",
|
|
8638
|
+
"className": "FamilyIntakeAsset",
|
|
8639
|
+
"qualifiedName": "@happyvertical/smrt-education:FamilyIntakeAsset",
|
|
8640
|
+
"collection": "familyintakeassets",
|
|
8641
|
+
"description": "Sole family owner join; adoption borrows this exact immutable original.",
|
|
8642
|
+
"filePath": "/home/runner/work/smrt/smrt/packages/education/src/family-intake-models.ts",
|
|
8643
|
+
"packageName": "@happyvertical/smrt-education",
|
|
8644
|
+
"fields": {
|
|
8645
|
+
"tenantId": {
|
|
8646
|
+
"type": "text",
|
|
8647
|
+
"required": true,
|
|
8648
|
+
"_meta": {
|
|
8649
|
+
"sqlType": "UUID",
|
|
8650
|
+
"__tenancy": {
|
|
8651
|
+
"isTenantIdField": true,
|
|
8652
|
+
"autoFilter": true,
|
|
8653
|
+
"required": true,
|
|
8654
|
+
"autoPopulate": true,
|
|
8655
|
+
"nullable": false,
|
|
8656
|
+
"mode": "required",
|
|
8657
|
+
"field": "tenantId",
|
|
8658
|
+
"allowSuperAdminBypass": false
|
|
8659
|
+
}
|
|
8660
|
+
}
|
|
8661
|
+
},
|
|
8662
|
+
"intakeId": {
|
|
8663
|
+
"type": "foreignKey",
|
|
8664
|
+
"required": true,
|
|
8665
|
+
"related": "FamilyIntake",
|
|
8666
|
+
"_meta": {
|
|
8667
|
+
"required": true
|
|
8668
|
+
}
|
|
8669
|
+
},
|
|
8670
|
+
"assetId": {
|
|
8671
|
+
"type": "crossPackageRef",
|
|
8672
|
+
"required": false,
|
|
8673
|
+
"related": "@happyvertical/smrt-assets:Asset"
|
|
8674
|
+
},
|
|
8675
|
+
"name": {
|
|
8676
|
+
"type": "text",
|
|
8677
|
+
"required": false
|
|
8678
|
+
},
|
|
8679
|
+
"mimeType": {
|
|
8680
|
+
"type": "text",
|
|
8681
|
+
"required": false
|
|
8682
|
+
},
|
|
8683
|
+
"sha256": {
|
|
8684
|
+
"type": "text",
|
|
8685
|
+
"required": false
|
|
8686
|
+
},
|
|
8687
|
+
"position": {
|
|
8688
|
+
"type": "integer",
|
|
8689
|
+
"required": true,
|
|
8690
|
+
"default": 0
|
|
8691
|
+
}
|
|
8692
|
+
},
|
|
8693
|
+
"methods": {
|
|
8694
|
+
"save": {
|
|
8695
|
+
"name": "save",
|
|
8696
|
+
"async": true,
|
|
8697
|
+
"parameters": [
|
|
8698
|
+
{
|
|
8699
|
+
"name": "options",
|
|
8700
|
+
"type": "SmrtSaveOptions",
|
|
8701
|
+
"optional": true
|
|
8702
|
+
}
|
|
8703
|
+
],
|
|
8704
|
+
"returnType": "Promise<this>",
|
|
8705
|
+
"isStatic": false,
|
|
8706
|
+
"isPublic": true
|
|
8707
|
+
},
|
|
8708
|
+
"delete": {
|
|
8709
|
+
"name": "delete",
|
|
8710
|
+
"async": true,
|
|
8711
|
+
"parameters": [],
|
|
8712
|
+
"returnType": "Promise<void>",
|
|
8713
|
+
"isStatic": false,
|
|
8714
|
+
"isPublic": true
|
|
8715
|
+
}
|
|
8716
|
+
},
|
|
8717
|
+
"decoratorConfig": {
|
|
8718
|
+
"tableName": "family_intake_assets",
|
|
8719
|
+
"conflictColumns": [
|
|
8720
|
+
"tenant_id",
|
|
8721
|
+
"intake_id",
|
|
8722
|
+
"asset_id"
|
|
8723
|
+
],
|
|
8724
|
+
"api": false,
|
|
8725
|
+
"mcp": false,
|
|
8726
|
+
"cli": false,
|
|
8727
|
+
"tenantScoped": {
|
|
8728
|
+
"mode": "required"
|
|
8729
|
+
}
|
|
8730
|
+
},
|
|
8731
|
+
"extends": "SmrtObject",
|
|
8732
|
+
"exportName": "FamilyIntakeAsset",
|
|
8733
|
+
"collectionExportName": "FamilyIntakeAssetCollection",
|
|
8734
|
+
"displayLabelField": "name",
|
|
8735
|
+
"validationRules": [
|
|
8736
|
+
{
|
|
8737
|
+
"field": "intakeId",
|
|
8738
|
+
"rule": "required",
|
|
8739
|
+
"fieldType": "foreignKey"
|
|
8740
|
+
},
|
|
8741
|
+
{
|
|
8742
|
+
"field": "position",
|
|
8743
|
+
"rule": "required",
|
|
8744
|
+
"fieldType": "integer"
|
|
8745
|
+
}
|
|
8746
|
+
],
|
|
8747
|
+
"schema": {
|
|
8748
|
+
"tableName": "family_intake_assets",
|
|
8749
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"family_intake_assets\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"intake_id\" UUID NOT NULL,\n \"asset_id\" UUID,\n \"name\" TEXT,\n \"mime_type\" TEXT,\n \"sha256\" TEXT,\n \"position\" INTEGER NOT NULL DEFAULT 0\n);",
|
|
8750
|
+
"columns": {
|
|
8751
|
+
"id": {
|
|
8752
|
+
"type": "UUID",
|
|
8753
|
+
"primaryKey": true,
|
|
8754
|
+
"referenceKind": "id",
|
|
8755
|
+
"notNull": true
|
|
8756
|
+
},
|
|
8757
|
+
"slug": {
|
|
8758
|
+
"type": "TEXT",
|
|
8759
|
+
"notNull": true
|
|
8760
|
+
},
|
|
8761
|
+
"context": {
|
|
8762
|
+
"type": "TEXT",
|
|
8763
|
+
"notNull": true,
|
|
8764
|
+
"default": ""
|
|
8765
|
+
},
|
|
8766
|
+
"created_at": {
|
|
8767
|
+
"type": "TIMESTAMP",
|
|
8768
|
+
"notNull": true,
|
|
8769
|
+
"default": "current_timestamp"
|
|
8770
|
+
},
|
|
8771
|
+
"updated_at": {
|
|
8772
|
+
"type": "TIMESTAMP",
|
|
8773
|
+
"notNull": true,
|
|
8774
|
+
"default": "current_timestamp"
|
|
8775
|
+
},
|
|
8776
|
+
"tenant_id": {
|
|
8777
|
+
"type": "UUID",
|
|
8778
|
+
"referenceKind": "tenantId",
|
|
8779
|
+
"notNull": true,
|
|
8780
|
+
"unique": false
|
|
8781
|
+
},
|
|
8782
|
+
"intake_id": {
|
|
8783
|
+
"type": "UUID",
|
|
8784
|
+
"referenceKind": "foreignKey",
|
|
8785
|
+
"notNull": true,
|
|
8786
|
+
"unique": false,
|
|
8787
|
+
"foreignKey": {
|
|
8788
|
+
"table": "family_intakes",
|
|
8789
|
+
"column": "id",
|
|
8790
|
+
"onDelete": "CASCADE",
|
|
8791
|
+
"onUpdate": "CASCADE"
|
|
8792
|
+
}
|
|
8793
|
+
},
|
|
8794
|
+
"asset_id": {
|
|
8795
|
+
"type": "UUID",
|
|
8796
|
+
"referenceKind": "crossPackageRef",
|
|
8797
|
+
"notNull": false,
|
|
8798
|
+
"unique": false
|
|
8799
|
+
},
|
|
8800
|
+
"name": {
|
|
8801
|
+
"type": "TEXT",
|
|
8802
|
+
"notNull": false,
|
|
8803
|
+
"unique": false
|
|
8804
|
+
},
|
|
8805
|
+
"mime_type": {
|
|
8806
|
+
"type": "TEXT",
|
|
8807
|
+
"notNull": false,
|
|
8808
|
+
"unique": false
|
|
8809
|
+
},
|
|
8810
|
+
"sha256": {
|
|
8811
|
+
"type": "TEXT",
|
|
8812
|
+
"notNull": false,
|
|
8813
|
+
"unique": false
|
|
8814
|
+
},
|
|
8815
|
+
"position": {
|
|
8816
|
+
"type": "INTEGER",
|
|
8817
|
+
"notNull": true,
|
|
8818
|
+
"unique": false,
|
|
8819
|
+
"default": 0
|
|
8820
|
+
}
|
|
8821
|
+
},
|
|
8822
|
+
"indexes": [
|
|
8823
|
+
{
|
|
8824
|
+
"name": "family_intake_assets_tenant_id_intake_id_idx",
|
|
8825
|
+
"columns": [
|
|
8826
|
+
"tenant_id",
|
|
8827
|
+
"intake_id",
|
|
8828
|
+
"asset_id"
|
|
8829
|
+
],
|
|
8830
|
+
"unique": true,
|
|
8831
|
+
"nullsNotDistinct": true
|
|
8832
|
+
},
|
|
8833
|
+
{
|
|
8834
|
+
"name": "family_intake_assets_slug_context_idx",
|
|
8835
|
+
"columns": [
|
|
8836
|
+
"slug",
|
|
8837
|
+
"context"
|
|
8838
|
+
]
|
|
8839
|
+
},
|
|
8840
|
+
{
|
|
8841
|
+
"name": "family_intake_assets_tenant_id_created_at_idx",
|
|
8842
|
+
"columns": [
|
|
8843
|
+
"tenant_id",
|
|
8844
|
+
"created_at"
|
|
8845
|
+
]
|
|
8846
|
+
},
|
|
8847
|
+
{
|
|
8848
|
+
"name": "family_intake_assets_intake_id_idx",
|
|
8849
|
+
"columns": [
|
|
8850
|
+
"intake_id"
|
|
8851
|
+
]
|
|
8852
|
+
},
|
|
8853
|
+
{
|
|
8854
|
+
"name": "family_intake_assets_asset_id_idx",
|
|
8855
|
+
"columns": [
|
|
8856
|
+
"asset_id"
|
|
8857
|
+
]
|
|
8858
|
+
}
|
|
8859
|
+
],
|
|
8860
|
+
"version": "3811d126"
|
|
8861
|
+
},
|
|
8862
|
+
"importPath": "@happyvertical/smrt-education"
|
|
8863
|
+
},
|
|
8864
|
+
"@happyvertical/smrt-education:FamilyIntakeAssetCollection": {
|
|
8865
|
+
"name": "familyintakeassetcollection",
|
|
8866
|
+
"className": "FamilyIntakeAssetCollection",
|
|
8867
|
+
"qualifiedName": "@happyvertical/smrt-education:FamilyIntakeAssetCollection",
|
|
8868
|
+
"collection": "familyintakeassets",
|
|
8869
|
+
"filePath": "/home/runner/work/smrt/smrt/packages/education/src/family-intake-models.ts",
|
|
8870
|
+
"packageName": "@happyvertical/smrt-education",
|
|
8871
|
+
"fields": {},
|
|
8872
|
+
"methods": {},
|
|
8873
|
+
"decoratorConfig": {
|
|
8874
|
+
"tableName": "family_intake_assets",
|
|
8875
|
+
"api": false,
|
|
8876
|
+
"mcp": false,
|
|
8877
|
+
"cli": false
|
|
8878
|
+
},
|
|
8879
|
+
"extends": "SmrtCollection",
|
|
8880
|
+
"extendsTypeArg": "FamilyIntakeAsset",
|
|
8881
|
+
"exportName": "FamilyIntakeAssetCollection",
|
|
8882
|
+
"collectionExportName": "FamilyIntakeAssetCollectionCollection",
|
|
8883
|
+
"schema": {
|
|
8884
|
+
"tableName": "family_intake_assets",
|
|
8885
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"family_intake_assets\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"intake_id\" UUID NOT NULL,\n \"asset_id\" UUID,\n \"name\" TEXT,\n \"mime_type\" TEXT,\n \"sha256\" TEXT,\n \"position\" INTEGER NOT NULL DEFAULT 0\n);",
|
|
8886
|
+
"columns": {
|
|
8887
|
+
"id": {
|
|
8888
|
+
"type": "UUID",
|
|
8889
|
+
"primaryKey": true,
|
|
8890
|
+
"referenceKind": "id",
|
|
8891
|
+
"notNull": true
|
|
8892
|
+
},
|
|
8893
|
+
"slug": {
|
|
8894
|
+
"type": "TEXT",
|
|
8895
|
+
"notNull": true
|
|
8896
|
+
},
|
|
8897
|
+
"context": {
|
|
8898
|
+
"type": "TEXT",
|
|
8899
|
+
"notNull": true,
|
|
8900
|
+
"default": ""
|
|
8901
|
+
},
|
|
8902
|
+
"created_at": {
|
|
8903
|
+
"type": "TIMESTAMP",
|
|
8904
|
+
"notNull": true,
|
|
8905
|
+
"default": "current_timestamp"
|
|
8906
|
+
},
|
|
8907
|
+
"updated_at": {
|
|
8908
|
+
"type": "TIMESTAMP",
|
|
8909
|
+
"notNull": true,
|
|
8910
|
+
"default": "current_timestamp"
|
|
8911
|
+
},
|
|
8912
|
+
"tenant_id": {
|
|
8913
|
+
"type": "UUID",
|
|
8914
|
+
"referenceKind": "tenantId",
|
|
8915
|
+
"notNull": true,
|
|
8916
|
+
"unique": false
|
|
8917
|
+
},
|
|
8918
|
+
"intake_id": {
|
|
8919
|
+
"type": "UUID",
|
|
8920
|
+
"referenceKind": "foreignKey",
|
|
8921
|
+
"notNull": true,
|
|
8922
|
+
"unique": false,
|
|
8923
|
+
"foreignKey": {
|
|
8924
|
+
"table": "family_intakes",
|
|
8925
|
+
"column": "id",
|
|
8926
|
+
"onDelete": "CASCADE",
|
|
8927
|
+
"onUpdate": "CASCADE"
|
|
8928
|
+
}
|
|
8929
|
+
},
|
|
8930
|
+
"asset_id": {
|
|
8931
|
+
"type": "UUID",
|
|
8932
|
+
"referenceKind": "crossPackageRef",
|
|
8933
|
+
"notNull": false,
|
|
8934
|
+
"unique": false
|
|
8935
|
+
},
|
|
8936
|
+
"name": {
|
|
8937
|
+
"type": "TEXT",
|
|
8938
|
+
"notNull": false,
|
|
8939
|
+
"unique": false
|
|
8940
|
+
},
|
|
8941
|
+
"mime_type": {
|
|
8942
|
+
"type": "TEXT",
|
|
8943
|
+
"notNull": false,
|
|
8944
|
+
"unique": false
|
|
8945
|
+
},
|
|
8946
|
+
"sha256": {
|
|
8947
|
+
"type": "TEXT",
|
|
8948
|
+
"notNull": false,
|
|
8949
|
+
"unique": false
|
|
8950
|
+
},
|
|
8951
|
+
"position": {
|
|
8952
|
+
"type": "INTEGER",
|
|
8953
|
+
"notNull": true,
|
|
8954
|
+
"unique": false,
|
|
8955
|
+
"default": 0
|
|
8956
|
+
}
|
|
8957
|
+
},
|
|
8958
|
+
"indexes": [
|
|
8959
|
+
{
|
|
8960
|
+
"name": "family_intake_assets_tenant_id_intake_id_idx",
|
|
8961
|
+
"columns": [
|
|
8962
|
+
"tenant_id",
|
|
8963
|
+
"intake_id",
|
|
8964
|
+
"asset_id"
|
|
8965
|
+
],
|
|
8966
|
+
"unique": true,
|
|
8967
|
+
"nullsNotDistinct": true
|
|
8968
|
+
},
|
|
8969
|
+
{
|
|
8970
|
+
"name": "family_intake_assets_slug_context_idx",
|
|
8971
|
+
"columns": [
|
|
8972
|
+
"slug",
|
|
8973
|
+
"context"
|
|
8974
|
+
]
|
|
8975
|
+
},
|
|
8976
|
+
{
|
|
8977
|
+
"name": "family_intake_assets_tenant_id_created_at_idx",
|
|
8978
|
+
"columns": [
|
|
8979
|
+
"tenant_id",
|
|
8980
|
+
"created_at"
|
|
8981
|
+
]
|
|
8982
|
+
},
|
|
8983
|
+
{
|
|
8984
|
+
"name": "family_intake_assets_intake_id_idx",
|
|
8985
|
+
"columns": [
|
|
8986
|
+
"intake_id"
|
|
8987
|
+
]
|
|
8988
|
+
},
|
|
8989
|
+
{
|
|
8990
|
+
"name": "family_intake_assets_asset_id_idx",
|
|
8991
|
+
"columns": [
|
|
8992
|
+
"asset_id"
|
|
8993
|
+
]
|
|
8994
|
+
}
|
|
8995
|
+
],
|
|
8996
|
+
"version": "3811d126"
|
|
8997
|
+
},
|
|
8998
|
+
"importPath": "@happyvertical/smrt-education"
|
|
8999
|
+
},
|
|
9000
|
+
"@happyvertical/smrt-education:FamilyIntakeDecision": {
|
|
9001
|
+
"name": "familyintakedecision",
|
|
9002
|
+
"className": "FamilyIntakeDecision",
|
|
9003
|
+
"qualifiedName": "@happyvertical/smrt-education:FamilyIntakeDecision",
|
|
9004
|
+
"collection": "familyintakedecisions",
|
|
9005
|
+
"description": "Append-only attribution/adoption audit; no marks or learning outcomes.",
|
|
9006
|
+
"filePath": "/home/runner/work/smrt/smrt/packages/education/src/family-intake-models.ts",
|
|
9007
|
+
"packageName": "@happyvertical/smrt-education",
|
|
9008
|
+
"fields": {
|
|
9009
|
+
"tenantId": {
|
|
9010
|
+
"type": "text",
|
|
9011
|
+
"required": true,
|
|
9012
|
+
"_meta": {
|
|
9013
|
+
"sqlType": "UUID",
|
|
9014
|
+
"__tenancy": {
|
|
9015
|
+
"isTenantIdField": true,
|
|
9016
|
+
"autoFilter": true,
|
|
9017
|
+
"required": true,
|
|
9018
|
+
"autoPopulate": true,
|
|
9019
|
+
"nullable": false,
|
|
9020
|
+
"mode": "required",
|
|
9021
|
+
"field": "tenantId",
|
|
9022
|
+
"allowSuperAdminBypass": false
|
|
9023
|
+
}
|
|
9024
|
+
}
|
|
9025
|
+
},
|
|
9026
|
+
"intakeId": {
|
|
9027
|
+
"type": "foreignKey",
|
|
9028
|
+
"required": true,
|
|
9029
|
+
"related": "FamilyIntake",
|
|
9030
|
+
"_meta": {
|
|
9031
|
+
"required": true
|
|
9032
|
+
}
|
|
9033
|
+
},
|
|
9034
|
+
"requestKey": {
|
|
9035
|
+
"type": "text",
|
|
9036
|
+
"required": false
|
|
9037
|
+
},
|
|
9038
|
+
"sequence": {
|
|
9039
|
+
"type": "integer",
|
|
9040
|
+
"required": true,
|
|
9041
|
+
"default": 0
|
|
9042
|
+
},
|
|
9043
|
+
"actorUserId": {
|
|
9044
|
+
"type": "text",
|
|
9045
|
+
"required": false
|
|
9046
|
+
},
|
|
9047
|
+
"bodyJson": {
|
|
9048
|
+
"type": "text",
|
|
9049
|
+
"required": false,
|
|
9050
|
+
"_meta": {}
|
|
9051
|
+
}
|
|
9052
|
+
},
|
|
9053
|
+
"methods": {
|
|
9054
|
+
"save": {
|
|
9055
|
+
"name": "save",
|
|
9056
|
+
"async": true,
|
|
9057
|
+
"parameters": [
|
|
9058
|
+
{
|
|
9059
|
+
"name": "options",
|
|
9060
|
+
"type": "SmrtSaveOptions",
|
|
9061
|
+
"optional": true
|
|
9062
|
+
}
|
|
9063
|
+
],
|
|
9064
|
+
"returnType": "Promise<this>",
|
|
9065
|
+
"isStatic": false,
|
|
9066
|
+
"isPublic": true
|
|
9067
|
+
},
|
|
9068
|
+
"delete": {
|
|
9069
|
+
"name": "delete",
|
|
9070
|
+
"async": true,
|
|
9071
|
+
"parameters": [],
|
|
9072
|
+
"returnType": "Promise<void>",
|
|
9073
|
+
"isStatic": false,
|
|
9074
|
+
"isPublic": true
|
|
9075
|
+
}
|
|
9076
|
+
},
|
|
9077
|
+
"decoratorConfig": {
|
|
9078
|
+
"tableName": "family_intake_decisions",
|
|
9079
|
+
"conflictColumns": [
|
|
9080
|
+
"tenant_id",
|
|
9081
|
+
"intake_id",
|
|
9082
|
+
"request_key"
|
|
9083
|
+
],
|
|
9084
|
+
"api": false,
|
|
9085
|
+
"mcp": false,
|
|
9086
|
+
"cli": false,
|
|
9087
|
+
"tenantScoped": {
|
|
9088
|
+
"mode": "required"
|
|
9089
|
+
}
|
|
9090
|
+
},
|
|
9091
|
+
"extends": "SmrtObject",
|
|
9092
|
+
"exportName": "FamilyIntakeDecision",
|
|
9093
|
+
"collectionExportName": "FamilyIntakeDecisionCollection",
|
|
9094
|
+
"validationRules": [
|
|
9095
|
+
{
|
|
9096
|
+
"field": "intakeId",
|
|
9097
|
+
"rule": "required",
|
|
9098
|
+
"fieldType": "foreignKey"
|
|
9099
|
+
},
|
|
9100
|
+
{
|
|
9101
|
+
"field": "sequence",
|
|
9102
|
+
"rule": "required",
|
|
9103
|
+
"fieldType": "integer"
|
|
9104
|
+
}
|
|
9105
|
+
],
|
|
9106
|
+
"schema": {
|
|
9107
|
+
"tableName": "family_intake_decisions",
|
|
9108
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"family_intake_decisions\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"intake_id\" UUID NOT NULL,\n \"request_key\" TEXT,\n \"sequence\" INTEGER NOT NULL DEFAULT 0,\n \"actor_user_id\" TEXT,\n \"body_json\" TEXT\n);",
|
|
9109
|
+
"columns": {
|
|
9110
|
+
"id": {
|
|
9111
|
+
"type": "UUID",
|
|
9112
|
+
"primaryKey": true,
|
|
9113
|
+
"referenceKind": "id",
|
|
9114
|
+
"notNull": true
|
|
9115
|
+
},
|
|
9116
|
+
"slug": {
|
|
9117
|
+
"type": "TEXT",
|
|
9118
|
+
"notNull": true
|
|
9119
|
+
},
|
|
9120
|
+
"context": {
|
|
9121
|
+
"type": "TEXT",
|
|
9122
|
+
"notNull": true,
|
|
9123
|
+
"default": ""
|
|
9124
|
+
},
|
|
9125
|
+
"created_at": {
|
|
9126
|
+
"type": "TIMESTAMP",
|
|
9127
|
+
"notNull": true,
|
|
9128
|
+
"default": "current_timestamp"
|
|
9129
|
+
},
|
|
9130
|
+
"updated_at": {
|
|
9131
|
+
"type": "TIMESTAMP",
|
|
9132
|
+
"notNull": true,
|
|
9133
|
+
"default": "current_timestamp"
|
|
9134
|
+
},
|
|
9135
|
+
"tenant_id": {
|
|
9136
|
+
"type": "UUID",
|
|
9137
|
+
"referenceKind": "tenantId",
|
|
9138
|
+
"notNull": true,
|
|
9139
|
+
"unique": false
|
|
9140
|
+
},
|
|
9141
|
+
"intake_id": {
|
|
9142
|
+
"type": "UUID",
|
|
9143
|
+
"referenceKind": "foreignKey",
|
|
9144
|
+
"notNull": true,
|
|
9145
|
+
"unique": false,
|
|
9146
|
+
"foreignKey": {
|
|
9147
|
+
"table": "family_intakes",
|
|
9148
|
+
"column": "id",
|
|
9149
|
+
"onDelete": "CASCADE",
|
|
9150
|
+
"onUpdate": "CASCADE"
|
|
9151
|
+
}
|
|
9152
|
+
},
|
|
9153
|
+
"request_key": {
|
|
9154
|
+
"type": "TEXT",
|
|
9155
|
+
"notNull": false,
|
|
9156
|
+
"unique": false
|
|
9157
|
+
},
|
|
9158
|
+
"sequence": {
|
|
9159
|
+
"type": "INTEGER",
|
|
9160
|
+
"notNull": true,
|
|
9161
|
+
"unique": false,
|
|
9162
|
+
"default": 0
|
|
9163
|
+
},
|
|
9164
|
+
"actor_user_id": {
|
|
9165
|
+
"type": "TEXT",
|
|
9166
|
+
"notNull": false,
|
|
9167
|
+
"unique": false
|
|
9168
|
+
},
|
|
9169
|
+
"body_json": {
|
|
9170
|
+
"type": "TEXT",
|
|
9171
|
+
"notNull": false,
|
|
9172
|
+
"unique": false
|
|
8141
9173
|
}
|
|
8142
9174
|
},
|
|
8143
9175
|
"indexes": [
|
|
8144
9176
|
{
|
|
8145
|
-
"name": "
|
|
9177
|
+
"name": "family_intake_decisions_tenant_id_intake_id_idx",
|
|
8146
9178
|
"columns": [
|
|
8147
9179
|
"tenant_id",
|
|
9180
|
+
"intake_id",
|
|
9181
|
+
"request_key"
|
|
9182
|
+
],
|
|
9183
|
+
"unique": true,
|
|
9184
|
+
"nullsNotDistinct": true
|
|
9185
|
+
},
|
|
9186
|
+
{
|
|
9187
|
+
"name": "family_intake_decisions_slug_context_idx",
|
|
9188
|
+
"columns": [
|
|
8148
9189
|
"slug",
|
|
8149
9190
|
"context"
|
|
8150
|
-
]
|
|
8151
|
-
"unique": true
|
|
9191
|
+
]
|
|
8152
9192
|
},
|
|
8153
9193
|
{
|
|
8154
|
-
"name": "
|
|
9194
|
+
"name": "family_intake_decisions_tenant_id_created_at_idx",
|
|
8155
9195
|
"columns": [
|
|
8156
9196
|
"tenant_id",
|
|
8157
9197
|
"created_at"
|
|
8158
9198
|
]
|
|
9199
|
+
},
|
|
9200
|
+
{
|
|
9201
|
+
"name": "family_intake_decisions_intake_id_idx",
|
|
9202
|
+
"columns": [
|
|
9203
|
+
"intake_id"
|
|
9204
|
+
]
|
|
8159
9205
|
}
|
|
8160
9206
|
],
|
|
8161
|
-
"version": "
|
|
9207
|
+
"version": "08875c81"
|
|
8162
9208
|
},
|
|
8163
9209
|
"importPath": "@happyvertical/smrt-education"
|
|
8164
9210
|
},
|
|
8165
|
-
"@happyvertical/smrt-education:
|
|
8166
|
-
"name": "
|
|
8167
|
-
"className": "
|
|
8168
|
-
"qualifiedName": "@happyvertical/smrt-education:
|
|
8169
|
-
"collection": "
|
|
8170
|
-
"filePath": "/home/runner/work/smrt/smrt/packages/education/src/
|
|
9211
|
+
"@happyvertical/smrt-education:FamilyIntakeDecisionCollection": {
|
|
9212
|
+
"name": "familyintakedecisioncollection",
|
|
9213
|
+
"className": "FamilyIntakeDecisionCollection",
|
|
9214
|
+
"qualifiedName": "@happyvertical/smrt-education:FamilyIntakeDecisionCollection",
|
|
9215
|
+
"collection": "familyintakedecisions",
|
|
9216
|
+
"filePath": "/home/runner/work/smrt/smrt/packages/education/src/family-intake-models.ts",
|
|
8171
9217
|
"packageName": "@happyvertical/smrt-education",
|
|
8172
9218
|
"fields": {},
|
|
8173
9219
|
"methods": {},
|
|
8174
9220
|
"decoratorConfig": {
|
|
9221
|
+
"tableName": "family_intake_decisions",
|
|
8175
9222
|
"api": false,
|
|
8176
9223
|
"mcp": false,
|
|
8177
9224
|
"cli": false
|
|
8178
9225
|
},
|
|
8179
9226
|
"extends": "SmrtCollection",
|
|
8180
|
-
"extendsTypeArg": "
|
|
8181
|
-
"exportName": "
|
|
8182
|
-
"collectionExportName": "
|
|
9227
|
+
"extendsTypeArg": "FamilyIntakeDecision",
|
|
9228
|
+
"exportName": "FamilyIntakeDecisionCollection",
|
|
9229
|
+
"collectionExportName": "FamilyIntakeDecisionCollectionCollection",
|
|
8183
9230
|
"schema": {
|
|
8184
|
-
"tableName": "
|
|
8185
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"
|
|
9231
|
+
"tableName": "family_intake_decisions",
|
|
9232
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"family_intake_decisions\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"intake_id\" UUID NOT NULL,\n \"request_key\" TEXT,\n \"sequence\" INTEGER NOT NULL DEFAULT 0,\n \"actor_user_id\" TEXT,\n \"body_json\" TEXT\n);",
|
|
8186
9233
|
"columns": {
|
|
8187
9234
|
"id": {
|
|
8188
9235
|
"type": "UUID",
|
|
@@ -8215,58 +9262,73 @@
|
|
|
8215
9262
|
"notNull": true,
|
|
8216
9263
|
"unique": false
|
|
8217
9264
|
},
|
|
8218
|
-
"
|
|
8219
|
-
"type": "
|
|
9265
|
+
"intake_id": {
|
|
9266
|
+
"type": "UUID",
|
|
9267
|
+
"referenceKind": "foreignKey",
|
|
8220
9268
|
"notNull": true,
|
|
8221
|
-
"unique": false
|
|
9269
|
+
"unique": false,
|
|
9270
|
+
"foreignKey": {
|
|
9271
|
+
"table": "family_intakes",
|
|
9272
|
+
"column": "id",
|
|
9273
|
+
"onDelete": "CASCADE",
|
|
9274
|
+
"onUpdate": "CASCADE"
|
|
9275
|
+
}
|
|
8222
9276
|
},
|
|
8223
|
-
"
|
|
9277
|
+
"request_key": {
|
|
8224
9278
|
"type": "TEXT",
|
|
8225
|
-
"notNull":
|
|
9279
|
+
"notNull": false,
|
|
8226
9280
|
"unique": false
|
|
8227
9281
|
},
|
|
8228
|
-
"
|
|
8229
|
-
"type": "
|
|
8230
|
-
"notNull":
|
|
9282
|
+
"sequence": {
|
|
9283
|
+
"type": "INTEGER",
|
|
9284
|
+
"notNull": true,
|
|
8231
9285
|
"unique": false,
|
|
8232
|
-
"default":
|
|
9286
|
+
"default": 0
|
|
8233
9287
|
},
|
|
8234
|
-
"
|
|
9288
|
+
"actor_user_id": {
|
|
8235
9289
|
"type": "TEXT",
|
|
8236
9290
|
"notNull": false,
|
|
8237
9291
|
"unique": false
|
|
8238
9292
|
},
|
|
8239
|
-
"
|
|
9293
|
+
"body_json": {
|
|
8240
9294
|
"type": "TEXT",
|
|
8241
9295
|
"notNull": false,
|
|
8242
9296
|
"unique": false
|
|
8243
|
-
},
|
|
8244
|
-
"sharing": {
|
|
8245
|
-
"type": "TEXT",
|
|
8246
|
-
"notNull": false,
|
|
8247
|
-
"unique": false,
|
|
8248
|
-
"default": "private"
|
|
8249
9297
|
}
|
|
8250
9298
|
},
|
|
8251
9299
|
"indexes": [
|
|
8252
9300
|
{
|
|
8253
|
-
"name": "
|
|
9301
|
+
"name": "family_intake_decisions_tenant_id_intake_id_idx",
|
|
8254
9302
|
"columns": [
|
|
8255
9303
|
"tenant_id",
|
|
9304
|
+
"intake_id",
|
|
9305
|
+
"request_key"
|
|
9306
|
+
],
|
|
9307
|
+
"unique": true,
|
|
9308
|
+
"nullsNotDistinct": true
|
|
9309
|
+
},
|
|
9310
|
+
{
|
|
9311
|
+
"name": "family_intake_decisions_slug_context_idx",
|
|
9312
|
+
"columns": [
|
|
8256
9313
|
"slug",
|
|
8257
9314
|
"context"
|
|
8258
|
-
]
|
|
8259
|
-
"unique": true
|
|
9315
|
+
]
|
|
8260
9316
|
},
|
|
8261
9317
|
{
|
|
8262
|
-
"name": "
|
|
9318
|
+
"name": "family_intake_decisions_tenant_id_created_at_idx",
|
|
8263
9319
|
"columns": [
|
|
8264
9320
|
"tenant_id",
|
|
8265
9321
|
"created_at"
|
|
8266
9322
|
]
|
|
9323
|
+
},
|
|
9324
|
+
{
|
|
9325
|
+
"name": "family_intake_decisions_intake_id_idx",
|
|
9326
|
+
"columns": [
|
|
9327
|
+
"intake_id"
|
|
9328
|
+
]
|
|
8267
9329
|
}
|
|
8268
9330
|
],
|
|
8269
|
-
"version": "
|
|
9331
|
+
"version": "08875c81"
|
|
8270
9332
|
},
|
|
8271
9333
|
"importPath": "@happyvertical/smrt-education"
|
|
8272
9334
|
},
|
|
@@ -8350,7 +9412,13 @@
|
|
|
8350
9412
|
"save": {
|
|
8351
9413
|
"name": "save",
|
|
8352
9414
|
"async": true,
|
|
8353
|
-
"parameters": [
|
|
9415
|
+
"parameters": [
|
|
9416
|
+
{
|
|
9417
|
+
"name": "options",
|
|
9418
|
+
"type": "SmrtSaveOptions",
|
|
9419
|
+
"optional": true
|
|
9420
|
+
}
|
|
9421
|
+
],
|
|
8354
9422
|
"returnType": "Promise<this>",
|
|
8355
9423
|
"isStatic": false,
|
|
8356
9424
|
"isPublic": true
|
|
@@ -8557,7 +9625,13 @@
|
|
|
8557
9625
|
"save": {
|
|
8558
9626
|
"name": "save",
|
|
8559
9627
|
"async": true,
|
|
8560
|
-
"parameters": [
|
|
9628
|
+
"parameters": [
|
|
9629
|
+
{
|
|
9630
|
+
"name": "options",
|
|
9631
|
+
"type": "SmrtSaveOptions",
|
|
9632
|
+
"optional": true
|
|
9633
|
+
}
|
|
9634
|
+
],
|
|
8561
9635
|
"returnType": "Promise<this>",
|
|
8562
9636
|
"isStatic": false,
|
|
8563
9637
|
"isPublic": true
|
|
@@ -8775,7 +9849,13 @@
|
|
|
8775
9849
|
"save": {
|
|
8776
9850
|
"name": "save",
|
|
8777
9851
|
"async": true,
|
|
8778
|
-
"parameters": [
|
|
9852
|
+
"parameters": [
|
|
9853
|
+
{
|
|
9854
|
+
"name": "options",
|
|
9855
|
+
"type": "SmrtSaveOptions",
|
|
9856
|
+
"optional": true
|
|
9857
|
+
}
|
|
9858
|
+
],
|
|
8779
9859
|
"returnType": "Promise<this>",
|
|
8780
9860
|
"isStatic": false,
|
|
8781
9861
|
"isPublic": true
|
|
@@ -9064,7 +10144,13 @@
|
|
|
9064
10144
|
"save": {
|
|
9065
10145
|
"name": "save",
|
|
9066
10146
|
"async": true,
|
|
9067
|
-
"parameters": [
|
|
10147
|
+
"parameters": [
|
|
10148
|
+
{
|
|
10149
|
+
"name": "options",
|
|
10150
|
+
"type": "SmrtSaveOptions",
|
|
10151
|
+
"optional": true
|
|
10152
|
+
}
|
|
10153
|
+
],
|
|
9068
10154
|
"returnType": "Promise<this>",
|
|
9069
10155
|
"isStatic": false,
|
|
9070
10156
|
"isPublic": true
|
|
@@ -9329,7 +10415,13 @@
|
|
|
9329
10415
|
"save": {
|
|
9330
10416
|
"name": "save",
|
|
9331
10417
|
"async": true,
|
|
9332
|
-
"parameters": [
|
|
10418
|
+
"parameters": [
|
|
10419
|
+
{
|
|
10420
|
+
"name": "options",
|
|
10421
|
+
"type": "SmrtSaveOptions",
|
|
10422
|
+
"optional": true
|
|
10423
|
+
}
|
|
10424
|
+
],
|
|
9333
10425
|
"returnType": "Promise<this>",
|
|
9334
10426
|
"isStatic": false,
|
|
9335
10427
|
"isPublic": true
|
|
@@ -9602,7 +10694,13 @@
|
|
|
9602
10694
|
"save": {
|
|
9603
10695
|
"name": "save",
|
|
9604
10696
|
"async": true,
|
|
9605
|
-
"parameters": [
|
|
10697
|
+
"parameters": [
|
|
10698
|
+
{
|
|
10699
|
+
"name": "options",
|
|
10700
|
+
"type": "SmrtSaveOptions",
|
|
10701
|
+
"optional": true
|
|
10702
|
+
}
|
|
10703
|
+
],
|
|
9606
10704
|
"returnType": "Promise<this>",
|
|
9607
10705
|
"isStatic": false,
|
|
9608
10706
|
"isPublic": true
|
|
@@ -9891,7 +10989,13 @@
|
|
|
9891
10989
|
"save": {
|
|
9892
10990
|
"name": "save",
|
|
9893
10991
|
"async": true,
|
|
9894
|
-
"parameters": [
|
|
10992
|
+
"parameters": [
|
|
10993
|
+
{
|
|
10994
|
+
"name": "options",
|
|
10995
|
+
"type": "SmrtSaveOptions",
|
|
10996
|
+
"optional": true
|
|
10997
|
+
}
|
|
10998
|
+
],
|
|
9895
10999
|
"returnType": "Promise<this>",
|
|
9896
11000
|
"isStatic": false,
|
|
9897
11001
|
"isPublic": true
|
|
@@ -10140,7 +11244,13 @@
|
|
|
10140
11244
|
"save": {
|
|
10141
11245
|
"name": "save",
|
|
10142
11246
|
"async": true,
|
|
10143
|
-
"parameters": [
|
|
11247
|
+
"parameters": [
|
|
11248
|
+
{
|
|
11249
|
+
"name": "options",
|
|
11250
|
+
"type": "SmrtSaveOptions",
|
|
11251
|
+
"optional": true
|
|
11252
|
+
}
|
|
11253
|
+
],
|
|
10144
11254
|
"returnType": "Promise<this>",
|
|
10145
11255
|
"isStatic": false,
|
|
10146
11256
|
"isPublic": true
|
|
@@ -10536,7 +11646,13 @@
|
|
|
10536
11646
|
"save": {
|
|
10537
11647
|
"name": "save",
|
|
10538
11648
|
"async": true,
|
|
10539
|
-
"parameters": [
|
|
11649
|
+
"parameters": [
|
|
11650
|
+
{
|
|
11651
|
+
"name": "options",
|
|
11652
|
+
"type": "SmrtSaveOptions",
|
|
11653
|
+
"optional": true
|
|
11654
|
+
}
|
|
11655
|
+
],
|
|
10540
11656
|
"returnType": "Promise<this>",
|
|
10541
11657
|
"isStatic": false,
|
|
10542
11658
|
"isPublic": true
|
|
@@ -10886,7 +12002,13 @@
|
|
|
10886
12002
|
"save": {
|
|
10887
12003
|
"name": "save",
|
|
10888
12004
|
"async": true,
|
|
10889
|
-
"parameters": [
|
|
12005
|
+
"parameters": [
|
|
12006
|
+
{
|
|
12007
|
+
"name": "options",
|
|
12008
|
+
"type": "SmrtSaveOptions",
|
|
12009
|
+
"optional": true
|
|
12010
|
+
}
|
|
12011
|
+
],
|
|
10890
12012
|
"returnType": "Promise<this>",
|
|
10891
12013
|
"isStatic": false,
|
|
10892
12014
|
"isPublic": true
|
|
@@ -11182,7 +12304,13 @@
|
|
|
11182
12304
|
"save": {
|
|
11183
12305
|
"name": "save",
|
|
11184
12306
|
"async": true,
|
|
11185
|
-
"parameters": [
|
|
12307
|
+
"parameters": [
|
|
12308
|
+
{
|
|
12309
|
+
"name": "options",
|
|
12310
|
+
"type": "SmrtSaveOptions",
|
|
12311
|
+
"optional": true
|
|
12312
|
+
}
|
|
12313
|
+
],
|
|
11186
12314
|
"returnType": "Promise<this>",
|
|
11187
12315
|
"isStatic": false,
|
|
11188
12316
|
"isPublic": true
|
|
@@ -11452,7 +12580,13 @@
|
|
|
11452
12580
|
"save": {
|
|
11453
12581
|
"name": "save",
|
|
11454
12582
|
"async": true,
|
|
11455
|
-
"parameters": [
|
|
12583
|
+
"parameters": [
|
|
12584
|
+
{
|
|
12585
|
+
"name": "options",
|
|
12586
|
+
"type": "SmrtSaveOptions",
|
|
12587
|
+
"optional": true
|
|
12588
|
+
}
|
|
12589
|
+
],
|
|
11456
12590
|
"returnType": "Promise<this>",
|
|
11457
12591
|
"isStatic": false,
|
|
11458
12592
|
"isPublic": true
|
|
@@ -11671,7 +12805,13 @@
|
|
|
11671
12805
|
"save": {
|
|
11672
12806
|
"name": "save",
|
|
11673
12807
|
"async": true,
|
|
11674
|
-
"parameters": [
|
|
12808
|
+
"parameters": [
|
|
12809
|
+
{
|
|
12810
|
+
"name": "options",
|
|
12811
|
+
"type": "SmrtSaveOptions",
|
|
12812
|
+
"optional": true
|
|
12813
|
+
}
|
|
12814
|
+
],
|
|
11675
12815
|
"returnType": "Promise<this>",
|
|
11676
12816
|
"isStatic": false,
|
|
11677
12817
|
"isPublic": true
|
|
@@ -12049,7 +13189,13 @@
|
|
|
12049
13189
|
"save": {
|
|
12050
13190
|
"name": "save",
|
|
12051
13191
|
"async": true,
|
|
12052
|
-
"parameters": [
|
|
13192
|
+
"parameters": [
|
|
13193
|
+
{
|
|
13194
|
+
"name": "options",
|
|
13195
|
+
"type": "SmrtSaveOptions",
|
|
13196
|
+
"optional": true
|
|
13197
|
+
}
|
|
13198
|
+
],
|
|
12053
13199
|
"returnType": "Promise<this>",
|
|
12054
13200
|
"isStatic": false,
|
|
12055
13201
|
"isPublic": true
|
|
@@ -12552,7 +13698,13 @@
|
|
|
12552
13698
|
"save": {
|
|
12553
13699
|
"name": "save",
|
|
12554
13700
|
"async": true,
|
|
12555
|
-
"parameters": [
|
|
13701
|
+
"parameters": [
|
|
13702
|
+
{
|
|
13703
|
+
"name": "options",
|
|
13704
|
+
"type": "SmrtSaveOptions",
|
|
13705
|
+
"optional": true
|
|
13706
|
+
}
|
|
13707
|
+
],
|
|
12556
13708
|
"returnType": "Promise<this>",
|
|
12557
13709
|
"isStatic": false,
|
|
12558
13710
|
"isPublic": true
|
|
@@ -13065,7 +14217,13 @@
|
|
|
13065
14217
|
"save": {
|
|
13066
14218
|
"name": "save",
|
|
13067
14219
|
"async": true,
|
|
13068
|
-
"parameters": [
|
|
14220
|
+
"parameters": [
|
|
14221
|
+
{
|
|
14222
|
+
"name": "options",
|
|
14223
|
+
"type": "SmrtSaveOptions",
|
|
14224
|
+
"optional": true
|
|
14225
|
+
}
|
|
14226
|
+
],
|
|
13069
14227
|
"returnType": "Promise<this>",
|
|
13070
14228
|
"isStatic": false,
|
|
13071
14229
|
"isPublic": true
|
|
@@ -13579,7 +14737,13 @@
|
|
|
13579
14737
|
"save": {
|
|
13580
14738
|
"name": "save",
|
|
13581
14739
|
"async": true,
|
|
13582
|
-
"parameters": [
|
|
14740
|
+
"parameters": [
|
|
14741
|
+
{
|
|
14742
|
+
"name": "options",
|
|
14743
|
+
"type": "SmrtSaveOptions",
|
|
14744
|
+
"optional": true
|
|
14745
|
+
}
|
|
14746
|
+
],
|
|
13583
14747
|
"returnType": "Promise<this>",
|
|
13584
14748
|
"isStatic": false,
|
|
13585
14749
|
"isPublic": true
|
|
@@ -14062,7 +15226,13 @@
|
|
|
14062
15226
|
"save": {
|
|
14063
15227
|
"name": "save",
|
|
14064
15228
|
"async": true,
|
|
14065
|
-
"parameters": [
|
|
15229
|
+
"parameters": [
|
|
15230
|
+
{
|
|
15231
|
+
"name": "options",
|
|
15232
|
+
"type": "SmrtSaveOptions",
|
|
15233
|
+
"optional": true
|
|
15234
|
+
}
|
|
15235
|
+
],
|
|
14066
15236
|
"returnType": "Promise<this>",
|
|
14067
15237
|
"isStatic": false,
|
|
14068
15238
|
"isPublic": true
|
|
@@ -14494,7 +15664,13 @@
|
|
|
14494
15664
|
"save": {
|
|
14495
15665
|
"name": "save",
|
|
14496
15666
|
"async": true,
|
|
14497
|
-
"parameters": [
|
|
15667
|
+
"parameters": [
|
|
15668
|
+
{
|
|
15669
|
+
"name": "options",
|
|
15670
|
+
"type": "SmrtSaveOptions",
|
|
15671
|
+
"optional": true
|
|
15672
|
+
}
|
|
15673
|
+
],
|
|
14498
15674
|
"returnType": "Promise<this>",
|
|
14499
15675
|
"isStatic": false,
|
|
14500
15676
|
"isPublic": true
|
|
@@ -14868,6 +16044,11 @@
|
|
|
14868
16044
|
"required": true
|
|
14869
16045
|
}
|
|
14870
16046
|
},
|
|
16047
|
+
"familyIntakeId": {
|
|
16048
|
+
"type": "foreignKey",
|
|
16049
|
+
"required": false,
|
|
16050
|
+
"related": "FamilyIntake"
|
|
16051
|
+
},
|
|
14871
16052
|
"itemId": {
|
|
14872
16053
|
"type": "text",
|
|
14873
16054
|
"required": false
|
|
@@ -14893,7 +16074,13 @@
|
|
|
14893
16074
|
"save": {
|
|
14894
16075
|
"name": "save",
|
|
14895
16076
|
"async": true,
|
|
14896
|
-
"parameters": [
|
|
16077
|
+
"parameters": [
|
|
16078
|
+
{
|
|
16079
|
+
"name": "options",
|
|
16080
|
+
"type": "SmrtSaveOptions",
|
|
16081
|
+
"optional": true
|
|
16082
|
+
}
|
|
16083
|
+
],
|
|
14897
16084
|
"returnType": "Promise<this>",
|
|
14898
16085
|
"isStatic": false,
|
|
14899
16086
|
"isPublic": true
|
|
@@ -14924,7 +16111,7 @@
|
|
|
14924
16111
|
],
|
|
14925
16112
|
"schema": {
|
|
14926
16113
|
"tableName": "workbook_photo_intakes",
|
|
14927
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"workbook_photo_intakes\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"learner_id\" UUID NOT NULL,\n \"item_id\" TEXT,\n \"actor_user_id\" TEXT,\n \"content_digest\" TEXT\n);",
|
|
16114
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"workbook_photo_intakes\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"learner_id\" UUID NOT NULL,\n \"family_intake_id\" UUID,\n \"item_id\" TEXT,\n \"actor_user_id\" TEXT,\n \"content_digest\" TEXT\n);",
|
|
14928
16115
|
"columns": {
|
|
14929
16116
|
"id": {
|
|
14930
16117
|
"type": "UUID",
|
|
@@ -14969,6 +16156,18 @@
|
|
|
14969
16156
|
"onUpdate": "CASCADE"
|
|
14970
16157
|
}
|
|
14971
16158
|
},
|
|
16159
|
+
"family_intake_id": {
|
|
16160
|
+
"type": "UUID",
|
|
16161
|
+
"referenceKind": "foreignKey",
|
|
16162
|
+
"notNull": false,
|
|
16163
|
+
"unique": false,
|
|
16164
|
+
"foreignKey": {
|
|
16165
|
+
"table": "family_intakes",
|
|
16166
|
+
"column": "id",
|
|
16167
|
+
"onDelete": "NO ACTION",
|
|
16168
|
+
"onUpdate": "CASCADE"
|
|
16169
|
+
}
|
|
16170
|
+
},
|
|
14972
16171
|
"item_id": {
|
|
14973
16172
|
"type": "TEXT",
|
|
14974
16173
|
"notNull": false,
|
|
@@ -15014,9 +16213,15 @@
|
|
|
15014
16213
|
"columns": [
|
|
15015
16214
|
"learner_id"
|
|
15016
16215
|
]
|
|
16216
|
+
},
|
|
16217
|
+
{
|
|
16218
|
+
"name": "workbook_photo_intakes_family_intake_id_idx",
|
|
16219
|
+
"columns": [
|
|
16220
|
+
"family_intake_id"
|
|
16221
|
+
]
|
|
15017
16222
|
}
|
|
15018
16223
|
],
|
|
15019
|
-
"version": "
|
|
16224
|
+
"version": "288020f4"
|
|
15020
16225
|
},
|
|
15021
16226
|
"importPath": "@happyvertical/smrt-education"
|
|
15022
16227
|
},
|
|
@@ -15041,7 +16246,7 @@
|
|
|
15041
16246
|
"collectionExportName": "WorkbookPhotoIntakeCollectionCollection",
|
|
15042
16247
|
"schema": {
|
|
15043
16248
|
"tableName": "workbook_photo_intakes",
|
|
15044
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"workbook_photo_intakes\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"learner_id\" UUID NOT NULL,\n \"item_id\" TEXT,\n \"actor_user_id\" TEXT,\n \"content_digest\" TEXT\n);",
|
|
16249
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"workbook_photo_intakes\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"learner_id\" UUID NOT NULL,\n \"family_intake_id\" UUID,\n \"item_id\" TEXT,\n \"actor_user_id\" TEXT,\n \"content_digest\" TEXT\n);",
|
|
15045
16250
|
"columns": {
|
|
15046
16251
|
"id": {
|
|
15047
16252
|
"type": "UUID",
|
|
@@ -15086,6 +16291,18 @@
|
|
|
15086
16291
|
"onUpdate": "CASCADE"
|
|
15087
16292
|
}
|
|
15088
16293
|
},
|
|
16294
|
+
"family_intake_id": {
|
|
16295
|
+
"type": "UUID",
|
|
16296
|
+
"referenceKind": "foreignKey",
|
|
16297
|
+
"notNull": false,
|
|
16298
|
+
"unique": false,
|
|
16299
|
+
"foreignKey": {
|
|
16300
|
+
"table": "family_intakes",
|
|
16301
|
+
"column": "id",
|
|
16302
|
+
"onDelete": "NO ACTION",
|
|
16303
|
+
"onUpdate": "CASCADE"
|
|
16304
|
+
}
|
|
16305
|
+
},
|
|
15089
16306
|
"item_id": {
|
|
15090
16307
|
"type": "TEXT",
|
|
15091
16308
|
"notNull": false,
|
|
@@ -15131,9 +16348,15 @@
|
|
|
15131
16348
|
"columns": [
|
|
15132
16349
|
"learner_id"
|
|
15133
16350
|
]
|
|
16351
|
+
},
|
|
16352
|
+
{
|
|
16353
|
+
"name": "workbook_photo_intakes_family_intake_id_idx",
|
|
16354
|
+
"columns": [
|
|
16355
|
+
"family_intake_id"
|
|
16356
|
+
]
|
|
15134
16357
|
}
|
|
15135
16358
|
],
|
|
15136
|
-
"version": "
|
|
16359
|
+
"version": "288020f4"
|
|
15137
16360
|
},
|
|
15138
16361
|
"importPath": "@happyvertical/smrt-education"
|
|
15139
16362
|
},
|
|
@@ -15214,7 +16437,13 @@
|
|
|
15214
16437
|
"save": {
|
|
15215
16438
|
"name": "save",
|
|
15216
16439
|
"async": true,
|
|
15217
|
-
"parameters": [
|
|
16440
|
+
"parameters": [
|
|
16441
|
+
{
|
|
16442
|
+
"name": "options",
|
|
16443
|
+
"type": "SmrtSaveOptions",
|
|
16444
|
+
"optional": true
|
|
16445
|
+
}
|
|
16446
|
+
],
|
|
15218
16447
|
"returnType": "Promise<this>",
|
|
15219
16448
|
"isStatic": false,
|
|
15220
16449
|
"isPublic": true
|
|
@@ -15617,7 +16846,13 @@
|
|
|
15617
16846
|
"save": {
|
|
15618
16847
|
"name": "save",
|
|
15619
16848
|
"async": true,
|
|
15620
|
-
"parameters": [
|
|
16849
|
+
"parameters": [
|
|
16850
|
+
{
|
|
16851
|
+
"name": "options",
|
|
16852
|
+
"type": "SmrtSaveOptions",
|
|
16853
|
+
"optional": true
|
|
16854
|
+
}
|
|
16855
|
+
],
|
|
15621
16856
|
"returnType": "Promise<this>",
|
|
15622
16857
|
"isStatic": false,
|
|
15623
16858
|
"isPublic": true
|
|
@@ -15990,7 +17225,13 @@
|
|
|
15990
17225
|
"save": {
|
|
15991
17226
|
"name": "save",
|
|
15992
17227
|
"async": true,
|
|
15993
|
-
"parameters": [
|
|
17228
|
+
"parameters": [
|
|
17229
|
+
{
|
|
17230
|
+
"name": "options",
|
|
17231
|
+
"type": "SmrtSaveOptions",
|
|
17232
|
+
"optional": true
|
|
17233
|
+
}
|
|
17234
|
+
],
|
|
15994
17235
|
"returnType": "Promise<this>",
|
|
15995
17236
|
"isStatic": false,
|
|
15996
17237
|
"isPublic": true
|