@happyvertical/smrt-approvals 0.61.3 → 0.61.5

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.
@@ -2,14 +2,14 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-approvals",
5
- "packageVersion": "0.61.3",
5
+ "packageVersion": "0.61.5",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-approvals:ApprovalEventCollection": {
8
8
  "name": "approvaleventcollection",
9
9
  "className": "ApprovalEventCollection",
10
10
  "qualifiedName": "@happyvertical/smrt-approvals:ApprovalEventCollection",
11
11
  "collection": "approvalevents",
12
- "filePath": "/home/runner/work/smrt/smrt/packages/approvals/src/collections/ApprovalEventCollection.ts",
12
+ "filePath": "src/collections/ApprovalEventCollection.ts",
13
13
  "packageName": "@happyvertical/smrt-approvals",
14
14
  "fields": {},
15
15
  "methods": {},
@@ -194,7 +194,7 @@
194
194
  "className": "ApprovalPolicyCollection",
195
195
  "qualifiedName": "@happyvertical/smrt-approvals:ApprovalPolicyCollection",
196
196
  "collection": "approvalpolicies",
197
- "filePath": "/home/runner/work/smrt/smrt/packages/approvals/src/collections/ApprovalPolicyCollection.ts",
197
+ "filePath": "src/collections/ApprovalPolicyCollection.ts",
198
198
  "packageName": "@happyvertical/smrt-approvals",
199
199
  "fields": {},
200
200
  "methods": {},
@@ -321,7 +321,7 @@
321
321
  "className": "ApprovalRequestCollection",
322
322
  "qualifiedName": "@happyvertical/smrt-approvals:ApprovalRequestCollection",
323
323
  "collection": "approvalrequests",
324
- "filePath": "/home/runner/work/smrt/smrt/packages/approvals/src/collections/ApprovalRequestCollection.ts",
324
+ "filePath": "src/collections/ApprovalRequestCollection.ts",
325
325
  "packageName": "@happyvertical/smrt-approvals",
326
326
  "fields": {},
327
327
  "methods": {},
@@ -525,14 +525,12 @@
525
525
  "qualifiedName": "@happyvertical/smrt-approvals:ApprovalEvent",
526
526
  "collection": "approvalevents",
527
527
  "description": "One immutable entry in an approval request's history.",
528
- "filePath": "/home/runner/work/smrt/smrt/packages/approvals/src/models/ApprovalEvent.ts",
528
+ "filePath": "src/models/ApprovalEvent.ts",
529
529
  "packageName": "@happyvertical/smrt-approvals",
530
530
  "fields": {
531
531
  "tenantId": {
532
532
  "type": "text",
533
- "required": true,
534
533
  "_meta": {
535
- "sqlType": "UUID",
536
534
  "__tenancy": {
537
535
  "isTenantIdField": true,
538
536
  "autoFilter": true,
@@ -542,57 +540,95 @@
542
540
  "mode": "required",
543
541
  "field": "tenantId",
544
542
  "allowSuperAdminBypass": false
545
- }
546
- }
543
+ },
544
+ "__statedOptions": [
545
+ "sqlType",
546
+ "requiredFor",
547
+ "__tenancy"
548
+ ],
549
+ "sqlType": "UUID",
550
+ "requiredFor": "tenant-scope"
551
+ },
552
+ "required": true
547
553
  },
548
554
  "requestId": {
549
555
  "type": "foreignKey",
550
- "required": true,
551
- "related": "ApprovalRequest",
552
- "description": "The request this entry belongs to.",
553
556
  "_meta": {
554
- "description": "The request this entry belongs to.",
557
+ "__statedOptions": [
558
+ "description",
559
+ "required",
560
+ "requiredFor",
561
+ "readonly",
562
+ "onDelete",
563
+ "onUpdate",
564
+ "constraint",
565
+ "related"
566
+ ],
555
567
  "required": true,
568
+ "description": "The request this entry belongs to.",
569
+ "readonly": true,
570
+ "requiredFor": "identity",
571
+ "onDelete": "RESTRICT",
572
+ "onUpdate": "RESTRICT",
556
573
  "constraint": {
557
574
  "engines": [
558
575
  "postgres",
559
576
  "sqlite"
560
577
  ]
561
- },
562
- "onDelete": "RESTRICT",
563
- "onUpdate": "RESTRICT"
564
- }
578
+ }
579
+ },
580
+ "required": true,
581
+ "related": "ApprovalRequest",
582
+ "description": "The request this entry belongs to.",
583
+ "readonly": true
565
584
  },
566
585
  "type": {
567
586
  "type": "text",
568
- "required": true,
569
- "description": "What happened: created, approved, rejected, changes requested, cancelled, expired or used.",
570
587
  "_meta": {
588
+ "__statedOptions": [
589
+ "required",
590
+ "readonly",
591
+ "description"
592
+ ],
571
593
  "required": true,
572
- "readonly": true,
573
- "description": "What happened: created, approved, rejected, changes requested, cancelled, expired or used."
594
+ "description": "What happened: created, approved, rejected, changes requested, cancelled, expired or used.",
595
+ "readonly": true
574
596
  },
597
+ "required": true,
598
+ "description": "What happened: created, approved, rejected, changes requested, cancelled, expired or used.",
575
599
  "readonly": true
576
600
  },
577
601
  "actorId": {
578
602
  "type": "text",
579
- "required": true,
580
- "description": "Who did it.",
581
603
  "_meta": {
604
+ "__statedOptions": [
605
+ "required",
606
+ "requiredFor",
607
+ "readonly",
608
+ "description"
609
+ ],
582
610
  "required": true,
611
+ "description": "Who did it.",
583
612
  "readonly": true,
584
- "description": "Who did it."
613
+ "requiredFor": "identity"
585
614
  },
615
+ "required": true,
616
+ "description": "Who did it.",
586
617
  "readonly": true
587
618
  },
588
619
  "actorType": {
589
620
  "type": "text",
590
- "required": false,
591
- "description": "Whether a person, an assistant or an automated process did it.",
592
621
  "_meta": {
593
- "readonly": true,
594
- "description": "Whether a person, an assistant or an automated process did it."
622
+ "__statedOptions": [
623
+ "readonly",
624
+ "description",
625
+ "enum"
626
+ ],
627
+ "description": "Whether a person, an assistant or an automated process did it.",
628
+ "readonly": true
595
629
  },
630
+ "required": false,
631
+ "description": "Whether a person, an assistant or an automated process did it.",
596
632
  "enum": [
597
633
  "human",
598
634
  "agent",
@@ -602,69 +638,98 @@
602
638
  },
603
639
  "reason": {
604
640
  "type": "text",
605
- "required": false,
606
- "description": "The reason given, for example why a request was rejected or cancelled.",
607
641
  "_meta": {
608
- "readonly": true,
609
- "description": "The reason given, for example why a request was rejected or cancelled."
642
+ "__statedOptions": [
643
+ "readonly",
644
+ "description"
645
+ ],
646
+ "description": "The reason given, for example why a request was rejected or cancelled.",
647
+ "readonly": true
610
648
  },
649
+ "required": false,
650
+ "description": "The reason given, for example why a request was rejected or cancelled.",
611
651
  "readonly": true
612
652
  },
613
653
  "subjectRevisionHash": {
614
654
  "type": "text",
615
- "required": false,
616
655
  "_meta": {
656
+ "__statedOptions": [
657
+ "readonly"
658
+ ],
617
659
  "readonly": true
618
660
  },
661
+ "required": false,
619
662
  "readonly": true
620
663
  },
621
664
  "sequence": {
622
665
  "type": "integer",
623
- "required": false,
624
666
  "_meta": {
667
+ "__statedOptions": [
668
+ "readonly"
669
+ ],
625
670
  "readonly": true
626
671
  },
672
+ "required": false,
627
673
  "readonly": true
628
674
  },
629
675
  "voteKey": {
630
676
  "type": "text",
631
- "required": false,
632
677
  "_meta": {
678
+ "__statedOptions": [
679
+ "nullable",
680
+ "readonly",
681
+ "required"
682
+ ],
683
+ "readonly": true,
633
684
  "nullable": true,
634
- "readonly": true
685
+ "required": false
635
686
  },
687
+ "required": false,
636
688
  "readonly": true
637
689
  },
638
690
  "occurredAt": {
639
691
  "type": "datetime",
640
- "required": false,
641
- "description": "When it happened.",
642
692
  "_meta": {
643
- "readonly": true,
644
- "description": "When it happened."
693
+ "__statedOptions": [
694
+ "readonly",
695
+ "description"
696
+ ],
697
+ "description": "When it happened.",
698
+ "readonly": true
645
699
  },
700
+ "required": false,
701
+ "description": "When it happened.",
646
702
  "readonly": true
647
703
  },
648
704
  "selfApproved": {
649
705
  "type": "boolean",
650
- "required": false,
651
- "default": false,
652
- "description": "Whether the person who asked also decided, where that is allowed.",
653
706
  "_meta": {
654
- "readonly": true,
707
+ "__statedOptions": [
708
+ "readonly",
709
+ "default",
710
+ "description"
711
+ ],
655
712
  "default": false,
656
- "description": "Whether the person who asked also decided, where that is allowed."
713
+ "description": "Whether the person who asked also decided, where that is allowed.",
714
+ "readonly": true
657
715
  },
716
+ "required": false,
717
+ "default": false,
718
+ "description": "Whether the person who asked also decided, where that is allowed.",
658
719
  "readonly": true
659
720
  },
660
721
  "selfApprovalPermission": {
661
722
  "type": "text",
662
- "required": false,
663
- "default": "",
664
723
  "_meta": {
665
- "readonly": true,
666
- "default": ""
724
+ "__statedOptions": [
725
+ "readonly",
726
+ "default"
727
+ ],
728
+ "default": "",
729
+ "readonly": true
667
730
  },
731
+ "required": false,
732
+ "default": "",
668
733
  "readonly": true
669
734
  }
670
735
  },
@@ -922,14 +987,12 @@
922
987
  "qualifiedName": "@happyvertical/smrt-approvals:ApprovalPolicy",
923
988
  "collection": "approvalpolicies",
924
989
  "description": "Tenant-level tightening of an approval kind. One row per tenant and kind.",
925
- "filePath": "/home/runner/work/smrt/smrt/packages/approvals/src/models/ApprovalPolicy.ts",
990
+ "filePath": "src/models/ApprovalPolicy.ts",
926
991
  "packageName": "@happyvertical/smrt-approvals",
927
992
  "fields": {
928
993
  "tenantId": {
929
994
  "type": "text",
930
- "required": true,
931
995
  "_meta": {
932
- "sqlType": "UUID",
933
996
  "__tenancy": {
934
997
  "isTenantIdField": true,
935
998
  "autoFilter": true,
@@ -939,49 +1002,75 @@
939
1002
  "mode": "required",
940
1003
  "field": "tenantId",
941
1004
  "allowSuperAdminBypass": false
942
- }
943
- }
1005
+ },
1006
+ "__statedOptions": [
1007
+ "sqlType",
1008
+ "requiredFor",
1009
+ "__tenancy"
1010
+ ],
1011
+ "sqlType": "UUID",
1012
+ "requiredFor": "tenant-scope"
1013
+ },
1014
+ "required": true
944
1015
  },
945
1016
  "kind": {
946
1017
  "type": "text",
947
- "required": true,
948
- "description": "The sort of approval these rules apply to.",
949
1018
  "_meta": {
1019
+ "__statedOptions": [
1020
+ "required",
1021
+ "requiredFor",
1022
+ "description"
1023
+ ],
950
1024
  "required": true,
951
- "description": "The sort of approval these rules apply to."
952
- }
1025
+ "description": "The sort of approval these rules apply to.",
1026
+ "requiredFor": "identity"
1027
+ },
1028
+ "required": true,
1029
+ "description": "The sort of approval these rules apply to."
953
1030
  },
954
1031
  "requiredApprovals": {
955
1032
  "type": "integer",
956
- "required": false,
957
- "description": "How many different people must agree. Zero keeps the usual number.",
958
1033
  "_meta": {
1034
+ "__statedOptions": [
1035
+ "description"
1036
+ ],
959
1037
  "description": "How many different people must agree. Zero keeps the usual number."
960
- }
1038
+ },
1039
+ "required": false,
1040
+ "description": "How many different people must agree. Zero keeps the usual number."
961
1041
  },
962
1042
  "ttlMs": {
963
1043
  "type": "integer",
964
- "required": false,
965
- "description": "How long a request stays open, in milliseconds. Zero keeps the usual time.",
966
1044
  "_meta": {
1045
+ "__statedOptions": [
1046
+ "description"
1047
+ ],
967
1048
  "description": "How long a request stays open, in milliseconds. Zero keeps the usual time."
968
- }
1049
+ },
1050
+ "required": false,
1051
+ "description": "How long a request stays open, in milliseconds. Zero keeps the usual time."
969
1052
  },
970
1053
  "requiredPermission": {
971
1054
  "type": "text",
972
- "required": false,
973
- "description": "An extra permission a decider must hold. Leave empty for none.",
974
1055
  "_meta": {
1056
+ "__statedOptions": [
1057
+ "description"
1058
+ ],
975
1059
  "description": "An extra permission a decider must hold. Leave empty for none."
976
- }
1060
+ },
1061
+ "required": false,
1062
+ "description": "An extra permission a decider must hold. Leave empty for none."
977
1063
  },
978
1064
  "updatedBy": {
979
1065
  "type": "text",
980
- "required": false,
981
- "description": "Who last changed these rules.",
982
1066
  "_meta": {
1067
+ "__statedOptions": [
1068
+ "description"
1069
+ ],
983
1070
  "description": "Who last changed these rules."
984
- }
1071
+ },
1072
+ "required": false,
1073
+ "description": "Who last changed these rules."
985
1074
  }
986
1075
  },
987
1076
  "methods": {
@@ -1147,14 +1236,12 @@
1147
1236
  "qualifiedName": "@happyvertical/smrt-approvals:ApprovalRequest",
1148
1237
  "collection": "approvalrequests",
1149
1238
  "description": "A request for approval of one subject revision.",
1150
- "filePath": "/home/runner/work/smrt/smrt/packages/approvals/src/models/ApprovalRequest.ts",
1239
+ "filePath": "src/models/ApprovalRequest.ts",
1151
1240
  "packageName": "@happyvertical/smrt-approvals",
1152
1241
  "fields": {
1153
1242
  "tenantId": {
1154
1243
  "type": "text",
1155
- "required": true,
1156
1244
  "_meta": {
1157
- "sqlType": "UUID",
1158
1245
  "__tenancy": {
1159
1246
  "isTenantIdField": true,
1160
1247
  "autoFilter": true,
@@ -1164,83 +1251,138 @@
1164
1251
  "mode": "required",
1165
1252
  "field": "tenantId",
1166
1253
  "allowSuperAdminBypass": false
1167
- }
1168
- }
1254
+ },
1255
+ "__statedOptions": [
1256
+ "sqlType",
1257
+ "requiredFor",
1258
+ "__tenancy"
1259
+ ],
1260
+ "sqlType": "UUID",
1261
+ "requiredFor": "tenant-scope"
1262
+ },
1263
+ "required": true
1169
1264
  },
1170
1265
  "kind": {
1171
1266
  "type": "text",
1172
- "required": true,
1173
- "description": "What sort of approval this is, such as publishing a post.",
1174
1267
  "_meta": {
1268
+ "__statedOptions": [
1269
+ "required",
1270
+ "requiredFor",
1271
+ "readonly",
1272
+ "description"
1273
+ ],
1175
1274
  "required": true,
1275
+ "description": "What sort of approval this is, such as publishing a post.",
1176
1276
  "readonly": true,
1177
- "description": "What sort of approval this is, such as publishing a post."
1277
+ "requiredFor": "identity"
1178
1278
  },
1279
+ "required": true,
1280
+ "description": "What sort of approval this is, such as publishing a post.",
1179
1281
  "readonly": true
1180
1282
  },
1181
1283
  "subjectType": {
1182
1284
  "type": "text",
1183
- "required": true,
1184
- "description": "What kind of thing the request is about.",
1185
1285
  "_meta": {
1286
+ "__statedOptions": [
1287
+ "required",
1288
+ "requiredFor",
1289
+ "readonly",
1290
+ "description"
1291
+ ],
1186
1292
  "required": true,
1293
+ "description": "What kind of thing the request is about.",
1187
1294
  "readonly": true,
1188
- "description": "What kind of thing the request is about."
1295
+ "requiredFor": "identity"
1189
1296
  },
1297
+ "required": true,
1298
+ "description": "What kind of thing the request is about.",
1190
1299
  "readonly": true
1191
1300
  },
1192
1301
  "subjectId": {
1193
1302
  "type": "text",
1194
- "required": true,
1195
- "description": "Which thing the request is about.",
1196
1303
  "_meta": {
1304
+ "__statedOptions": [
1305
+ "required",
1306
+ "requiredFor",
1307
+ "readonly",
1308
+ "description"
1309
+ ],
1197
1310
  "required": true,
1311
+ "description": "Which thing the request is about.",
1198
1312
  "readonly": true,
1199
- "description": "Which thing the request is about."
1313
+ "requiredFor": "identity"
1200
1314
  },
1315
+ "required": true,
1316
+ "description": "Which thing the request is about.",
1201
1317
  "readonly": true
1202
1318
  },
1203
1319
  "subjectRevisionHash": {
1204
1320
  "type": "text",
1205
- "required": true,
1206
- "description": "A fingerprint of the exact version that was put up for approval. If the thing changes, the approval no longer applies.",
1207
1321
  "_meta": {
1322
+ "__statedOptions": [
1323
+ "required",
1324
+ "requiredFor",
1325
+ "readonly",
1326
+ "description"
1327
+ ],
1208
1328
  "required": true,
1329
+ "description": "A fingerprint of the exact version that was put up for approval. If the thing changes, the approval no longer applies.",
1209
1330
  "readonly": true,
1210
- "description": "A fingerprint of the exact version that was put up for approval. If the thing changes, the approval no longer applies."
1331
+ "requiredFor": "identity"
1211
1332
  },
1333
+ "required": true,
1334
+ "description": "A fingerprint of the exact version that was put up for approval. If the thing changes, the approval no longer applies.",
1212
1335
  "readonly": true
1213
1336
  },
1214
1337
  "requestKey": {
1215
1338
  "type": "text",
1216
- "required": true,
1217
- "description": "The reference the request is filed under, so asking twice does not open it twice.",
1218
1339
  "_meta": {
1340
+ "__statedOptions": [
1341
+ "required",
1342
+ "requiredFor",
1343
+ "readonly",
1344
+ "description"
1345
+ ],
1219
1346
  "required": true,
1347
+ "description": "The reference the request is filed under, so asking twice does not open it twice.",
1220
1348
  "readonly": true,
1221
- "description": "The reference the request is filed under, so asking twice does not open it twice."
1349
+ "requiredFor": "idempotency"
1222
1350
  },
1351
+ "required": true,
1352
+ "description": "The reference the request is filed under, so asking twice does not open it twice.",
1223
1353
  "readonly": true
1224
1354
  },
1225
1355
  "requestedBy": {
1226
1356
  "type": "text",
1227
- "required": true,
1228
- "description": "Who asked for the approval.",
1229
1357
  "_meta": {
1358
+ "__statedOptions": [
1359
+ "required",
1360
+ "requiredFor",
1361
+ "readonly",
1362
+ "description"
1363
+ ],
1230
1364
  "required": true,
1365
+ "description": "Who asked for the approval.",
1231
1366
  "readonly": true,
1232
- "description": "Who asked for the approval."
1367
+ "requiredFor": "identity"
1233
1368
  },
1369
+ "required": true,
1370
+ "description": "Who asked for the approval.",
1234
1371
  "readonly": true
1235
1372
  },
1236
1373
  "requestedByType": {
1237
1374
  "type": "text",
1238
- "required": false,
1239
- "description": "Whether a person, an assistant or an automated process asked.",
1240
1375
  "_meta": {
1241
- "readonly": true,
1242
- "description": "Whether a person, an assistant or an automated process asked."
1376
+ "__statedOptions": [
1377
+ "readonly",
1378
+ "description",
1379
+ "enum"
1380
+ ],
1381
+ "description": "Whether a person, an assistant or an automated process asked.",
1382
+ "readonly": true
1243
1383
  },
1384
+ "required": false,
1385
+ "description": "Whether a person, an assistant or an automated process asked.",
1244
1386
  "enum": [
1245
1387
  "human",
1246
1388
  "agent",
@@ -1250,98 +1392,136 @@
1250
1392
  },
1251
1393
  "summary": {
1252
1394
  "type": "text",
1253
- "required": false,
1254
- "description": "A short description of what needs approval.",
1255
1395
  "_meta": {
1256
- "readonly": true,
1257
- "description": "A short description of what needs approval."
1396
+ "__statedOptions": [
1397
+ "readonly",
1398
+ "description"
1399
+ ],
1400
+ "description": "A short description of what needs approval.",
1401
+ "readonly": true
1258
1402
  },
1403
+ "required": false,
1404
+ "description": "A short description of what needs approval.",
1259
1405
  "readonly": true
1260
1406
  },
1261
1407
  "status": {
1262
1408
  "type": "text",
1263
- "required": false,
1264
- "description": "Where the request stands: waiting, approved, rejected, changes requested, cancelled or expired.",
1265
1409
  "_meta": {
1266
- "readonly": true,
1267
- "description": "Where the request stands: waiting, approved, rejected, changes requested, cancelled or expired."
1410
+ "__statedOptions": [
1411
+ "readonly",
1412
+ "description"
1413
+ ],
1414
+ "description": "Where the request stands: waiting, approved, rejected, changes requested, cancelled or expired.",
1415
+ "readonly": true
1268
1416
  },
1417
+ "required": false,
1418
+ "description": "Where the request stands: waiting, approved, rejected, changes requested, cancelled or expired.",
1269
1419
  "readonly": true
1270
1420
  },
1271
1421
  "requiredApprovals": {
1272
1422
  "type": "integer",
1273
- "required": false,
1274
- "description": "How many different people must agree.",
1275
1423
  "_meta": {
1276
- "readonly": true,
1277
- "description": "How many different people must agree."
1424
+ "__statedOptions": [
1425
+ "readonly",
1426
+ "description"
1427
+ ],
1428
+ "description": "How many different people must agree.",
1429
+ "readonly": true
1278
1430
  },
1431
+ "required": false,
1432
+ "description": "How many different people must agree.",
1279
1433
  "readonly": true
1280
1434
  },
1281
1435
  "approvalCount": {
1282
1436
  "type": "integer",
1283
- "required": false,
1284
- "description": "How many people have agreed so far.",
1285
1437
  "_meta": {
1286
- "readonly": true,
1287
- "description": "How many people have agreed so far."
1438
+ "__statedOptions": [
1439
+ "readonly",
1440
+ "description"
1441
+ ],
1442
+ "description": "How many people have agreed so far.",
1443
+ "readonly": true
1288
1444
  },
1445
+ "required": false,
1446
+ "description": "How many people have agreed so far.",
1289
1447
  "readonly": true
1290
1448
  },
1291
1449
  "requiredPermissions": {
1292
1450
  "type": "text",
1293
- "required": false,
1294
1451
  "_meta": {
1452
+ "__statedOptions": [
1453
+ "readonly"
1454
+ ],
1295
1455
  "readonly": true
1296
1456
  },
1457
+ "required": false,
1297
1458
  "readonly": true
1298
1459
  },
1299
1460
  "version": {
1300
1461
  "type": "integer",
1301
- "required": false,
1302
1462
  "_meta": {
1463
+ "__statedOptions": [
1464
+ "readonly"
1465
+ ],
1303
1466
  "readonly": true
1304
1467
  },
1468
+ "required": false,
1305
1469
  "readonly": true
1306
1470
  },
1307
1471
  "expiresAt": {
1308
1472
  "type": "datetime",
1309
- "required": false,
1310
- "description": "The deadline. After it the request can no longer be decided.",
1311
1473
  "_meta": {
1312
- "readonly": true,
1313
- "description": "The deadline. After it the request can no longer be decided."
1474
+ "__statedOptions": [
1475
+ "readonly",
1476
+ "description"
1477
+ ],
1478
+ "description": "The deadline. After it the request can no longer be decided.",
1479
+ "readonly": true
1314
1480
  },
1481
+ "required": false,
1482
+ "description": "The deadline. After it the request can no longer be decided.",
1315
1483
  "readonly": true
1316
1484
  },
1317
1485
  "decidedAt": {
1318
1486
  "type": "datetime",
1319
- "required": false,
1320
- "description": "When the request was decided.",
1321
1487
  "_meta": {
1322
- "readonly": true,
1323
- "description": "When the request was decided."
1488
+ "__statedOptions": [
1489
+ "readonly",
1490
+ "description"
1491
+ ],
1492
+ "description": "When the request was decided.",
1493
+ "readonly": true
1324
1494
  },
1495
+ "required": false,
1496
+ "description": "When the request was decided.",
1325
1497
  "readonly": true
1326
1498
  },
1327
1499
  "consumedAt": {
1328
1500
  "type": "datetime",
1329
- "required": false,
1330
- "description": "When the approval was used to let the action go ahead.",
1331
1501
  "_meta": {
1332
- "readonly": true,
1333
- "description": "When the approval was used to let the action go ahead."
1502
+ "__statedOptions": [
1503
+ "readonly",
1504
+ "description"
1505
+ ],
1506
+ "description": "When the approval was used to let the action go ahead.",
1507
+ "readonly": true
1334
1508
  },
1509
+ "required": false,
1510
+ "description": "When the approval was used to let the action go ahead.",
1335
1511
  "readonly": true
1336
1512
  },
1337
1513
  "consumedBy": {
1338
1514
  "type": "text",
1339
- "required": false,
1340
- "description": "Who used the approval.",
1341
1515
  "_meta": {
1342
- "readonly": true,
1343
- "description": "Who used the approval."
1516
+ "__statedOptions": [
1517
+ "readonly",
1518
+ "description"
1519
+ ],
1520
+ "description": "Who used the approval.",
1521
+ "readonly": true
1344
1522
  },
1523
+ "required": false,
1524
+ "description": "Who used the approval.",
1345
1525
  "readonly": true
1346
1526
  }
1347
1527
  },
@@ -1907,5 +2087,6 @@
1907
2087
  "@happyvertical/smrt-users"
1908
2088
  ]
1909
2089
  },
2090
+ "schemaFingerprint": "cf07f77da77c1bf6baedb2c352689e8e6ace92c09514d8e6272933a562b2dc37",
1910
2091
  "stampsConstructors": true
1911
2092
  }