@happyvertical/smrt-comments 0.61.3 → 0.61.4
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/dist/chunks/participation-CFGpB94P.js +282 -0
- package/dist/chunks/participation-CFGpB94P.js.map +1 -0
- package/dist/index.js +24 -10
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +325 -137
- package/dist/models/Comment.d.ts.map +1 -1
- package/dist/models/CommentReport.d.ts.map +1 -1
- package/dist/models/CommentRevision.d.ts +1 -1
- package/dist/models/CommentRevision.d.ts.map +1 -1
- package/dist/models/ParticipationBan.d.ts.map +1 -1
- package/dist/models/ParticipationRateBucket.d.ts.map +1 -1
- package/dist/participation.js +1 -1
- package/dist/services/CommentService.d.ts.map +1 -1
- package/dist/smrt-knowledge.json +7 -7
- package/package.json +5 -5
- package/dist/chunks/participation-1LmzO_j8.js +0 -276
- package/dist/chunks/participation-1LmzO_j8.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-comments",
|
|
5
|
-
"packageVersion": "0.61.
|
|
5
|
+
"packageVersion": "0.61.4",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-comments:CommentCollection": {
|
|
8
8
|
"name": "commentcollection",
|
|
9
9
|
"className": "CommentCollection",
|
|
10
10
|
"qualifiedName": "@happyvertical/smrt-comments:CommentCollection",
|
|
11
11
|
"collection": "comments",
|
|
12
|
-
"filePath": "
|
|
12
|
+
"filePath": "src/collections/CommentCollection.ts",
|
|
13
13
|
"packageName": "@happyvertical/smrt-comments",
|
|
14
14
|
"fields": {},
|
|
15
15
|
"methods": {
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
"className": "CommentReportCollection",
|
|
245
245
|
"qualifiedName": "@happyvertical/smrt-comments:CommentReportCollection",
|
|
246
246
|
"collection": "commentreports",
|
|
247
|
-
"filePath": "
|
|
247
|
+
"filePath": "src/collections/CommentReportCollection.ts",
|
|
248
248
|
"packageName": "@happyvertical/smrt-comments",
|
|
249
249
|
"fields": {},
|
|
250
250
|
"methods": {},
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
],
|
|
267
267
|
"schema": {
|
|
268
268
|
"tableName": "comment_reports",
|
|
269
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"comment_reports\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"comment_id\" UUID NOT NULL,\n \"reporter_user_id\" UUID NOT NULL,\n \"reason\" TEXT
|
|
269
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"comment_reports\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"comment_id\" UUID NOT NULL,\n \"reporter_user_id\" UUID NOT NULL,\n \"reason\" TEXT,\n \"status\" TEXT NOT NULL DEFAULT 'open'\n);",
|
|
270
270
|
"columns": {
|
|
271
271
|
"_sync_origin_device_id": {
|
|
272
272
|
"type": "TEXT"
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
},
|
|
320
320
|
"reason": {
|
|
321
321
|
"type": "TEXT",
|
|
322
|
-
"notNull":
|
|
322
|
+
"notNull": false,
|
|
323
323
|
"unique": false
|
|
324
324
|
},
|
|
325
325
|
"status": {
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
]
|
|
377
377
|
}
|
|
378
378
|
],
|
|
379
|
-
"version": "
|
|
379
|
+
"version": "cb5130b8"
|
|
380
380
|
},
|
|
381
381
|
"importPath": "@happyvertical/smrt-comments"
|
|
382
382
|
},
|
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
"className": "CommentRevisionCollection",
|
|
386
386
|
"qualifiedName": "@happyvertical/smrt-comments:CommentRevisionCollection",
|
|
387
387
|
"collection": "commentrevisions",
|
|
388
|
-
"filePath": "
|
|
388
|
+
"filePath": "src/collections/CommentRevisionCollection.ts",
|
|
389
389
|
"packageName": "@happyvertical/smrt-comments",
|
|
390
390
|
"fields": {},
|
|
391
391
|
"methods": {},
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
],
|
|
408
408
|
"schema": {
|
|
409
409
|
"tableName": "comment_revisions",
|
|
410
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"comment_revisions\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"comment_id\" UUID NOT NULL,\n \"editor_user_id\" UUID
|
|
410
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"comment_revisions\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"comment_id\" UUID NOT NULL,\n \"editor_user_id\" UUID,\n \"body\" TEXT NOT NULL\n);",
|
|
411
411
|
"columns": {
|
|
412
412
|
"_sync_origin_device_id": {
|
|
413
413
|
"type": "TEXT"
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
"editor_user_id": {
|
|
456
456
|
"type": "UUID",
|
|
457
457
|
"referenceKind": "crossPackageRef",
|
|
458
|
-
"notNull":
|
|
458
|
+
"notNull": false,
|
|
459
459
|
"unique": false
|
|
460
460
|
},
|
|
461
461
|
"body": {
|
|
@@ -494,7 +494,7 @@
|
|
|
494
494
|
]
|
|
495
495
|
}
|
|
496
496
|
],
|
|
497
|
-
"version": "
|
|
497
|
+
"version": "72b36add"
|
|
498
498
|
},
|
|
499
499
|
"importPath": "@happyvertical/smrt-comments"
|
|
500
500
|
},
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
"className": "ParticipationPolicyCollection",
|
|
504
504
|
"qualifiedName": "@happyvertical/smrt-comments:ParticipationPolicyCollection",
|
|
505
505
|
"collection": "participationpolicies",
|
|
506
|
-
"filePath": "
|
|
506
|
+
"filePath": "src/collections/ParticipationCollection.ts",
|
|
507
507
|
"packageName": "@happyvertical/smrt-comments",
|
|
508
508
|
"fields": {},
|
|
509
509
|
"methods": {},
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
"className": "ParticipationBanCollection",
|
|
626
626
|
"qualifiedName": "@happyvertical/smrt-comments:ParticipationBanCollection",
|
|
627
627
|
"collection": "participationbans",
|
|
628
|
-
"filePath": "
|
|
628
|
+
"filePath": "src/collections/ParticipationCollection.ts",
|
|
629
629
|
"packageName": "@happyvertical/smrt-comments",
|
|
630
630
|
"fields": {},
|
|
631
631
|
"methods": {},
|
|
@@ -647,7 +647,7 @@
|
|
|
647
647
|
],
|
|
648
648
|
"schema": {
|
|
649
649
|
"tableName": "participation_bans",
|
|
650
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"participation_bans\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"actor_user_id\" TEXT NOT NULL,\n \"record_type\" TEXT,\n \"record_id\" TEXT,\n \"reason\" TEXT
|
|
650
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"participation_bans\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"actor_user_id\" TEXT NOT NULL,\n \"record_type\" TEXT,\n \"record_id\" TEXT,\n \"reason\" TEXT,\n \"expires_at\" TIMESTAMP\n);",
|
|
651
651
|
"columns": {
|
|
652
652
|
"_sync_origin_device_id": {
|
|
653
653
|
"type": "TEXT"
|
|
@@ -703,7 +703,7 @@
|
|
|
703
703
|
},
|
|
704
704
|
"reason": {
|
|
705
705
|
"type": "TEXT",
|
|
706
|
-
"notNull":
|
|
706
|
+
"notNull": false,
|
|
707
707
|
"unique": false
|
|
708
708
|
},
|
|
709
709
|
"expires_at": {
|
|
@@ -730,7 +730,7 @@
|
|
|
730
730
|
]
|
|
731
731
|
}
|
|
732
732
|
],
|
|
733
|
-
"version": "
|
|
733
|
+
"version": "94015082"
|
|
734
734
|
},
|
|
735
735
|
"importPath": "@happyvertical/smrt-comments"
|
|
736
736
|
},
|
|
@@ -739,7 +739,7 @@
|
|
|
739
739
|
"className": "ParticipationRateBucketCollection",
|
|
740
740
|
"qualifiedName": "@happyvertical/smrt-comments:ParticipationRateBucketCollection",
|
|
741
741
|
"collection": "participationratebuckets",
|
|
742
|
-
"filePath": "
|
|
742
|
+
"filePath": "src/collections/ParticipationCollection.ts",
|
|
743
743
|
"packageName": "@happyvertical/smrt-comments",
|
|
744
744
|
"fields": {},
|
|
745
745
|
"methods": {},
|
|
@@ -847,40 +847,56 @@
|
|
|
847
847
|
"className": "Comment",
|
|
848
848
|
"qualifiedName": "@happyvertical/smrt-comments:Comment",
|
|
849
849
|
"collection": "comments",
|
|
850
|
-
"filePath": "
|
|
850
|
+
"filePath": "src/models/Comment.ts",
|
|
851
851
|
"packageName": "@happyvertical/smrt-comments",
|
|
852
852
|
"fields": {
|
|
853
853
|
"metaType": {
|
|
854
854
|
"type": "text",
|
|
855
|
-
"required": true,
|
|
856
855
|
"_meta": {
|
|
857
|
-
"
|
|
858
|
-
|
|
856
|
+
"__statedOptions": [
|
|
857
|
+
"required",
|
|
858
|
+
"requiredFor"
|
|
859
|
+
],
|
|
860
|
+
"required": true,
|
|
861
|
+
"requiredFor": "identity"
|
|
862
|
+
},
|
|
863
|
+
"required": true
|
|
859
864
|
},
|
|
860
865
|
"metaId": {
|
|
861
866
|
"type": "text",
|
|
862
|
-
"required": true,
|
|
863
867
|
"_meta": {
|
|
864
|
-
"
|
|
865
|
-
|
|
868
|
+
"__statedOptions": [
|
|
869
|
+
"required",
|
|
870
|
+
"requiredFor"
|
|
871
|
+
],
|
|
872
|
+
"required": true,
|
|
873
|
+
"requiredFor": "identity"
|
|
874
|
+
},
|
|
875
|
+
"required": true
|
|
866
876
|
},
|
|
867
877
|
"role": {
|
|
868
878
|
"type": "text",
|
|
869
|
-
"required": true,
|
|
870
879
|
"_meta": {
|
|
880
|
+
"__statedOptions": [
|
|
881
|
+
"required"
|
|
882
|
+
],
|
|
871
883
|
"required": true
|
|
872
|
-
}
|
|
884
|
+
},
|
|
885
|
+
"required": true
|
|
873
886
|
},
|
|
874
887
|
"sortOrder": {
|
|
875
888
|
"type": "integer",
|
|
889
|
+
"_meta": {
|
|
890
|
+
"__statedOptions": [
|
|
891
|
+
"default"
|
|
892
|
+
]
|
|
893
|
+
},
|
|
876
894
|
"required": false,
|
|
877
895
|
"default": 0
|
|
878
896
|
},
|
|
879
897
|
"tenantId": {
|
|
880
898
|
"type": "text",
|
|
881
|
-
"required": true,
|
|
882
899
|
"_meta": {
|
|
883
|
-
"sqlType": "UUID",
|
|
884
900
|
"__tenancy": {
|
|
885
901
|
"isTenantIdField": true,
|
|
886
902
|
"autoFilter": true,
|
|
@@ -890,68 +906,123 @@
|
|
|
890
906
|
"mode": "required",
|
|
891
907
|
"field": "tenantId",
|
|
892
908
|
"allowSuperAdminBypass": false
|
|
893
|
-
}
|
|
894
|
-
|
|
909
|
+
},
|
|
910
|
+
"__statedOptions": [
|
|
911
|
+
"sqlType",
|
|
912
|
+
"requiredFor",
|
|
913
|
+
"__tenancy"
|
|
914
|
+
],
|
|
915
|
+
"sqlType": "UUID",
|
|
916
|
+
"requiredFor": "tenant-scope"
|
|
917
|
+
},
|
|
918
|
+
"required": true
|
|
895
919
|
},
|
|
896
920
|
"authorUserId": {
|
|
897
921
|
"type": "crossPackageRef",
|
|
922
|
+
"_meta": {
|
|
923
|
+
"__statedOptions": [
|
|
924
|
+
"required",
|
|
925
|
+
"requiredFor",
|
|
926
|
+
"related"
|
|
927
|
+
],
|
|
928
|
+
"required": true,
|
|
929
|
+
"requiredFor": "identity"
|
|
930
|
+
},
|
|
898
931
|
"required": true,
|
|
899
932
|
"related": "@happyvertical/smrt-users:User"
|
|
900
933
|
},
|
|
901
934
|
"body": {
|
|
902
935
|
"type": "text",
|
|
903
|
-
"required": true,
|
|
904
936
|
"_meta": {
|
|
905
|
-
"
|
|
906
|
-
|
|
937
|
+
"__statedOptions": [
|
|
938
|
+
"required",
|
|
939
|
+
"requiredFor"
|
|
940
|
+
],
|
|
941
|
+
"required": true,
|
|
942
|
+
"requiredFor": "idempotency"
|
|
943
|
+
},
|
|
944
|
+
"required": true
|
|
907
945
|
},
|
|
908
946
|
"mentions": {
|
|
909
947
|
"type": "text",
|
|
948
|
+
"_meta": {
|
|
949
|
+
"__statedOptions": []
|
|
950
|
+
},
|
|
910
951
|
"required": false
|
|
911
952
|
},
|
|
912
953
|
"idempotencyKey": {
|
|
913
954
|
"type": "text",
|
|
914
|
-
"required": false,
|
|
915
955
|
"_meta": {
|
|
956
|
+
"__statedOptions": [
|
|
957
|
+
"nullable",
|
|
958
|
+
"readonly",
|
|
959
|
+
"required"
|
|
960
|
+
],
|
|
961
|
+
"readonly": true,
|
|
916
962
|
"nullable": true,
|
|
917
|
-
"
|
|
963
|
+
"required": false
|
|
918
964
|
},
|
|
965
|
+
"required": false,
|
|
919
966
|
"readonly": true
|
|
920
967
|
},
|
|
921
968
|
"retryTenantId": {
|
|
922
969
|
"type": "text",
|
|
923
|
-
"required": false,
|
|
924
970
|
"_meta": {
|
|
971
|
+
"__statedOptions": [
|
|
972
|
+
"nullable",
|
|
973
|
+
"readonly",
|
|
974
|
+
"required"
|
|
975
|
+
],
|
|
976
|
+
"readonly": true,
|
|
925
977
|
"nullable": true,
|
|
926
|
-
"
|
|
978
|
+
"required": false
|
|
927
979
|
},
|
|
980
|
+
"required": false,
|
|
928
981
|
"readonly": true
|
|
929
982
|
},
|
|
930
983
|
"requestDigest": {
|
|
931
984
|
"type": "text",
|
|
932
|
-
"required": false,
|
|
933
985
|
"_meta": {
|
|
986
|
+
"__statedOptions": [
|
|
987
|
+
"nullable",
|
|
988
|
+
"readonly",
|
|
989
|
+
"required"
|
|
990
|
+
],
|
|
991
|
+
"readonly": true,
|
|
934
992
|
"nullable": true,
|
|
935
|
-
"
|
|
993
|
+
"required": false
|
|
936
994
|
},
|
|
995
|
+
"required": false,
|
|
937
996
|
"readonly": true
|
|
938
997
|
},
|
|
939
998
|
"parentCommentId": {
|
|
940
999
|
"type": "foreignKey",
|
|
941
|
-
"required": false,
|
|
942
|
-
"related": "Comment",
|
|
943
1000
|
"_meta": {
|
|
1001
|
+
"__statedOptions": [
|
|
1002
|
+
"nullable",
|
|
1003
|
+
"constraint",
|
|
1004
|
+
"related",
|
|
1005
|
+
"required"
|
|
1006
|
+
],
|
|
944
1007
|
"nullable": true,
|
|
945
|
-
"constraint": false
|
|
946
|
-
|
|
1008
|
+
"constraint": false,
|
|
1009
|
+
"required": false
|
|
1010
|
+
},
|
|
1011
|
+
"required": false,
|
|
1012
|
+
"related": "Comment"
|
|
947
1013
|
},
|
|
948
1014
|
"status": {
|
|
949
1015
|
"type": "text",
|
|
950
|
-
"required": true,
|
|
951
|
-
"default": "visible",
|
|
952
1016
|
"_meta": {
|
|
1017
|
+
"__statedOptions": [
|
|
1018
|
+
"required",
|
|
1019
|
+
"default",
|
|
1020
|
+
"enum"
|
|
1021
|
+
],
|
|
953
1022
|
"required": true
|
|
954
1023
|
},
|
|
1024
|
+
"required": true,
|
|
1025
|
+
"default": "visible",
|
|
955
1026
|
"enum": [
|
|
956
1027
|
"visible",
|
|
957
1028
|
"hidden",
|
|
@@ -961,20 +1032,32 @@
|
|
|
961
1032
|
},
|
|
962
1033
|
"participationSnapshot": {
|
|
963
1034
|
"type": "text",
|
|
964
|
-
"required": false,
|
|
965
1035
|
"_meta": {
|
|
1036
|
+
"__statedOptions": [
|
|
1037
|
+
"nullable",
|
|
1038
|
+
"readonly",
|
|
1039
|
+
"required"
|
|
1040
|
+
],
|
|
1041
|
+
"readonly": true,
|
|
966
1042
|
"nullable": true,
|
|
967
|
-
"
|
|
1043
|
+
"required": false
|
|
968
1044
|
},
|
|
1045
|
+
"required": false,
|
|
969
1046
|
"readonly": true
|
|
970
1047
|
},
|
|
971
1048
|
"editedAt": {
|
|
972
1049
|
"type": "datetime",
|
|
973
|
-
"required": false,
|
|
974
1050
|
"_meta": {
|
|
1051
|
+
"__statedOptions": [
|
|
1052
|
+
"nullable",
|
|
1053
|
+
"readonly",
|
|
1054
|
+
"required"
|
|
1055
|
+
],
|
|
1056
|
+
"readonly": true,
|
|
975
1057
|
"nullable": true,
|
|
976
|
-
"
|
|
1058
|
+
"required": false
|
|
977
1059
|
},
|
|
1060
|
+
"required": false,
|
|
978
1061
|
"readonly": true
|
|
979
1062
|
}
|
|
980
1063
|
},
|
|
@@ -1268,14 +1351,12 @@
|
|
|
1268
1351
|
"qualifiedName": "@happyvertical/smrt-comments:CommentReport",
|
|
1269
1352
|
"collection": "commentreports",
|
|
1270
1353
|
"description": "A tenant-local report; moderation resolution never deletes the report.",
|
|
1271
|
-
"filePath": "
|
|
1354
|
+
"filePath": "src/models/CommentReport.ts",
|
|
1272
1355
|
"packageName": "@happyvertical/smrt-comments",
|
|
1273
1356
|
"fields": {
|
|
1274
1357
|
"tenantId": {
|
|
1275
1358
|
"type": "text",
|
|
1276
|
-
"required": true,
|
|
1277
1359
|
"_meta": {
|
|
1278
|
-
"sqlType": "UUID",
|
|
1279
1360
|
"__tenancy": {
|
|
1280
1361
|
"isTenantIdField": true,
|
|
1281
1362
|
"autoFilter": true,
|
|
@@ -1285,37 +1366,66 @@
|
|
|
1285
1366
|
"mode": "required",
|
|
1286
1367
|
"field": "tenantId",
|
|
1287
1368
|
"allowSuperAdminBypass": false
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1369
|
+
},
|
|
1370
|
+
"__statedOptions": [
|
|
1371
|
+
"sqlType",
|
|
1372
|
+
"requiredFor",
|
|
1373
|
+
"__tenancy"
|
|
1374
|
+
],
|
|
1375
|
+
"sqlType": "UUID",
|
|
1376
|
+
"requiredFor": "tenant-scope"
|
|
1377
|
+
},
|
|
1378
|
+
"required": true
|
|
1290
1379
|
},
|
|
1291
1380
|
"commentId": {
|
|
1292
1381
|
"type": "foreignKey",
|
|
1293
|
-
"required": true,
|
|
1294
|
-
"related": "Comment",
|
|
1295
1382
|
"_meta": {
|
|
1383
|
+
"__statedOptions": [
|
|
1384
|
+
"required",
|
|
1385
|
+
"requiredFor",
|
|
1386
|
+
"constraint",
|
|
1387
|
+
"related"
|
|
1388
|
+
],
|
|
1296
1389
|
"required": true,
|
|
1390
|
+
"requiredFor": "identity",
|
|
1297
1391
|
"constraint": false
|
|
1298
|
-
}
|
|
1392
|
+
},
|
|
1393
|
+
"required": true,
|
|
1394
|
+
"related": "Comment"
|
|
1299
1395
|
},
|
|
1300
1396
|
"reporterUserId": {
|
|
1301
1397
|
"type": "crossPackageRef",
|
|
1398
|
+
"_meta": {
|
|
1399
|
+
"__statedOptions": [
|
|
1400
|
+
"required",
|
|
1401
|
+
"requiredFor",
|
|
1402
|
+
"related"
|
|
1403
|
+
],
|
|
1404
|
+
"required": true,
|
|
1405
|
+
"requiredFor": "identity"
|
|
1406
|
+
},
|
|
1302
1407
|
"required": true,
|
|
1303
1408
|
"related": "@happyvertical/smrt-users:User"
|
|
1304
1409
|
},
|
|
1305
1410
|
"reason": {
|
|
1306
1411
|
"type": "text",
|
|
1307
|
-
"required": true,
|
|
1308
1412
|
"_meta": {
|
|
1309
|
-
"
|
|
1310
|
-
}
|
|
1413
|
+
"__statedOptions": []
|
|
1414
|
+
},
|
|
1415
|
+
"required": false
|
|
1311
1416
|
},
|
|
1312
1417
|
"status": {
|
|
1313
1418
|
"type": "text",
|
|
1314
|
-
"required": true,
|
|
1315
|
-
"default": "open",
|
|
1316
1419
|
"_meta": {
|
|
1420
|
+
"__statedOptions": [
|
|
1421
|
+
"required",
|
|
1422
|
+
"default",
|
|
1423
|
+
"enum"
|
|
1424
|
+
],
|
|
1317
1425
|
"required": true
|
|
1318
1426
|
},
|
|
1427
|
+
"required": true,
|
|
1428
|
+
"default": "open",
|
|
1319
1429
|
"enum": [
|
|
1320
1430
|
"open",
|
|
1321
1431
|
"resolved",
|
|
@@ -1371,11 +1481,6 @@
|
|
|
1371
1481
|
"rule": "required",
|
|
1372
1482
|
"fieldType": "crossPackageRef"
|
|
1373
1483
|
},
|
|
1374
|
-
{
|
|
1375
|
-
"field": "reason",
|
|
1376
|
-
"rule": "required",
|
|
1377
|
-
"fieldType": "text"
|
|
1378
|
-
},
|
|
1379
1484
|
{
|
|
1380
1485
|
"field": "status",
|
|
1381
1486
|
"rule": "required",
|
|
@@ -1384,7 +1489,7 @@
|
|
|
1384
1489
|
],
|
|
1385
1490
|
"schema": {
|
|
1386
1491
|
"tableName": "comment_reports",
|
|
1387
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"comment_reports\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"comment_id\" UUID NOT NULL,\n \"reporter_user_id\" UUID NOT NULL,\n \"reason\" TEXT
|
|
1492
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"comment_reports\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"comment_id\" UUID NOT NULL,\n \"reporter_user_id\" UUID NOT NULL,\n \"reason\" TEXT,\n \"status\" TEXT NOT NULL DEFAULT 'open'\n);",
|
|
1388
1493
|
"columns": {
|
|
1389
1494
|
"_sync_origin_device_id": {
|
|
1390
1495
|
"type": "TEXT"
|
|
@@ -1437,7 +1542,7 @@
|
|
|
1437
1542
|
},
|
|
1438
1543
|
"reason": {
|
|
1439
1544
|
"type": "TEXT",
|
|
1440
|
-
"notNull":
|
|
1545
|
+
"notNull": false,
|
|
1441
1546
|
"unique": false
|
|
1442
1547
|
},
|
|
1443
1548
|
"status": {
|
|
@@ -1494,7 +1599,7 @@
|
|
|
1494
1599
|
]
|
|
1495
1600
|
}
|
|
1496
1601
|
],
|
|
1497
|
-
"version": "
|
|
1602
|
+
"version": "cb5130b8"
|
|
1498
1603
|
},
|
|
1499
1604
|
"importPath": "@happyvertical/smrt-comments"
|
|
1500
1605
|
},
|
|
@@ -1504,14 +1609,12 @@
|
|
|
1504
1609
|
"qualifiedName": "@happyvertical/smrt-comments:CommentRevision",
|
|
1505
1610
|
"collection": "commentrevisions",
|
|
1506
1611
|
"description": "Immutable prior body retained whenever an author edits a comment.",
|
|
1507
|
-
"filePath": "
|
|
1612
|
+
"filePath": "src/models/CommentRevision.ts",
|
|
1508
1613
|
"packageName": "@happyvertical/smrt-comments",
|
|
1509
1614
|
"fields": {
|
|
1510
1615
|
"tenantId": {
|
|
1511
1616
|
"type": "text",
|
|
1512
|
-
"required": true,
|
|
1513
1617
|
"_meta": {
|
|
1514
|
-
"sqlType": "UUID",
|
|
1515
1618
|
"__tenancy": {
|
|
1516
1619
|
"isTenantIdField": true,
|
|
1517
1620
|
"autoFilter": true,
|
|
@@ -1521,29 +1624,58 @@
|
|
|
1521
1624
|
"mode": "required",
|
|
1522
1625
|
"field": "tenantId",
|
|
1523
1626
|
"allowSuperAdminBypass": false
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1627
|
+
},
|
|
1628
|
+
"__statedOptions": [
|
|
1629
|
+
"sqlType",
|
|
1630
|
+
"requiredFor",
|
|
1631
|
+
"__tenancy"
|
|
1632
|
+
],
|
|
1633
|
+
"sqlType": "UUID",
|
|
1634
|
+
"requiredFor": "tenant-scope"
|
|
1635
|
+
},
|
|
1636
|
+
"required": true
|
|
1526
1637
|
},
|
|
1527
1638
|
"commentId": {
|
|
1528
1639
|
"type": "foreignKey",
|
|
1529
|
-
"required": true,
|
|
1530
|
-
"related": "Comment",
|
|
1531
1640
|
"_meta": {
|
|
1641
|
+
"__statedOptions": [
|
|
1642
|
+
"required",
|
|
1643
|
+
"requiredFor",
|
|
1644
|
+
"constraint",
|
|
1645
|
+
"related"
|
|
1646
|
+
],
|
|
1532
1647
|
"required": true,
|
|
1648
|
+
"requiredFor": "identity",
|
|
1533
1649
|
"constraint": false
|
|
1534
|
-
}
|
|
1650
|
+
},
|
|
1651
|
+
"required": true,
|
|
1652
|
+
"related": "Comment"
|
|
1535
1653
|
},
|
|
1536
1654
|
"editorUserId": {
|
|
1537
1655
|
"type": "crossPackageRef",
|
|
1538
|
-
"
|
|
1656
|
+
"_meta": {
|
|
1657
|
+
"__statedOptions": [
|
|
1658
|
+
"nullable",
|
|
1659
|
+
"related",
|
|
1660
|
+
"required"
|
|
1661
|
+
],
|
|
1662
|
+
"nullable": true,
|
|
1663
|
+
"required": false
|
|
1664
|
+
},
|
|
1665
|
+
"required": false,
|
|
1539
1666
|
"related": "@happyvertical/smrt-users:User"
|
|
1540
1667
|
},
|
|
1541
1668
|
"body": {
|
|
1542
1669
|
"type": "text",
|
|
1543
|
-
"required": true,
|
|
1544
1670
|
"_meta": {
|
|
1545
|
-
"
|
|
1546
|
-
|
|
1671
|
+
"__statedOptions": [
|
|
1672
|
+
"required",
|
|
1673
|
+
"requiredFor"
|
|
1674
|
+
],
|
|
1675
|
+
"required": true,
|
|
1676
|
+
"requiredFor": "idempotency"
|
|
1677
|
+
},
|
|
1678
|
+
"required": true
|
|
1547
1679
|
}
|
|
1548
1680
|
},
|
|
1549
1681
|
"methods": {},
|
|
@@ -1570,11 +1702,6 @@
|
|
|
1570
1702
|
"rule": "required",
|
|
1571
1703
|
"fieldType": "foreignKey"
|
|
1572
1704
|
},
|
|
1573
|
-
{
|
|
1574
|
-
"field": "editorUserId",
|
|
1575
|
-
"rule": "required",
|
|
1576
|
-
"fieldType": "crossPackageRef"
|
|
1577
|
-
},
|
|
1578
1705
|
{
|
|
1579
1706
|
"field": "body",
|
|
1580
1707
|
"rule": "required",
|
|
@@ -1583,7 +1710,7 @@
|
|
|
1583
1710
|
],
|
|
1584
1711
|
"schema": {
|
|
1585
1712
|
"tableName": "comment_revisions",
|
|
1586
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"comment_revisions\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"comment_id\" UUID NOT NULL,\n \"editor_user_id\" UUID
|
|
1713
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"comment_revisions\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"comment_id\" UUID NOT NULL,\n \"editor_user_id\" UUID,\n \"body\" TEXT NOT NULL\n);",
|
|
1587
1714
|
"columns": {
|
|
1588
1715
|
"_sync_origin_device_id": {
|
|
1589
1716
|
"type": "TEXT"
|
|
@@ -1631,7 +1758,7 @@
|
|
|
1631
1758
|
"editor_user_id": {
|
|
1632
1759
|
"type": "UUID",
|
|
1633
1760
|
"referenceKind": "crossPackageRef",
|
|
1634
|
-
"notNull":
|
|
1761
|
+
"notNull": false,
|
|
1635
1762
|
"unique": false
|
|
1636
1763
|
},
|
|
1637
1764
|
"body": {
|
|
@@ -1670,7 +1797,7 @@
|
|
|
1670
1797
|
]
|
|
1671
1798
|
}
|
|
1672
1799
|
],
|
|
1673
|
-
"version": "
|
|
1800
|
+
"version": "72b36add"
|
|
1674
1801
|
},
|
|
1675
1802
|
"importPath": "@happyvertical/smrt-comments"
|
|
1676
1803
|
},
|
|
@@ -1680,14 +1807,12 @@
|
|
|
1680
1807
|
"qualifiedName": "@happyvertical/smrt-comments:ParticipationBan",
|
|
1681
1808
|
"collection": "participationbans",
|
|
1682
1809
|
"description": "Tenant-local, reusable participation ban; a blank target applies tenant-wide.",
|
|
1683
|
-
"filePath": "
|
|
1810
|
+
"filePath": "src/models/ParticipationBan.ts",
|
|
1684
1811
|
"packageName": "@happyvertical/smrt-comments",
|
|
1685
1812
|
"fields": {
|
|
1686
1813
|
"tenantId": {
|
|
1687
1814
|
"type": "text",
|
|
1688
|
-
"required": true,
|
|
1689
1815
|
"_meta": {
|
|
1690
|
-
"sqlType": "UUID",
|
|
1691
1816
|
"__tenancy": {
|
|
1692
1817
|
"isTenantIdField": true,
|
|
1693
1818
|
"autoFilter": true,
|
|
@@ -1697,37 +1822,61 @@
|
|
|
1697
1822
|
"mode": "required",
|
|
1698
1823
|
"field": "tenantId",
|
|
1699
1824
|
"allowSuperAdminBypass": false
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1825
|
+
},
|
|
1826
|
+
"__statedOptions": [
|
|
1827
|
+
"sqlType",
|
|
1828
|
+
"requiredFor",
|
|
1829
|
+
"__tenancy"
|
|
1830
|
+
],
|
|
1831
|
+
"sqlType": "UUID",
|
|
1832
|
+
"requiredFor": "tenant-scope"
|
|
1833
|
+
},
|
|
1834
|
+
"required": true
|
|
1702
1835
|
},
|
|
1703
1836
|
"actorUserId": {
|
|
1704
1837
|
"type": "text",
|
|
1705
|
-
"required": true,
|
|
1706
1838
|
"_meta": {
|
|
1707
|
-
"
|
|
1708
|
-
|
|
1839
|
+
"__statedOptions": [
|
|
1840
|
+
"required",
|
|
1841
|
+
"requiredFor"
|
|
1842
|
+
],
|
|
1843
|
+
"required": true,
|
|
1844
|
+
"requiredFor": "identity"
|
|
1845
|
+
},
|
|
1846
|
+
"required": true
|
|
1709
1847
|
},
|
|
1710
1848
|
"recordType": {
|
|
1711
1849
|
"type": "text",
|
|
1850
|
+
"_meta": {
|
|
1851
|
+
"__statedOptions": []
|
|
1852
|
+
},
|
|
1712
1853
|
"required": false
|
|
1713
1854
|
},
|
|
1714
1855
|
"recordId": {
|
|
1715
1856
|
"type": "text",
|
|
1857
|
+
"_meta": {
|
|
1858
|
+
"__statedOptions": []
|
|
1859
|
+
},
|
|
1716
1860
|
"required": false
|
|
1717
1861
|
},
|
|
1718
1862
|
"reason": {
|
|
1719
1863
|
"type": "text",
|
|
1720
|
-
"required": true,
|
|
1721
1864
|
"_meta": {
|
|
1722
|
-
"
|
|
1723
|
-
}
|
|
1865
|
+
"__statedOptions": []
|
|
1866
|
+
},
|
|
1867
|
+
"required": false
|
|
1724
1868
|
},
|
|
1725
1869
|
"expiresAt": {
|
|
1726
1870
|
"type": "datetime",
|
|
1727
|
-
"required": false,
|
|
1728
1871
|
"_meta": {
|
|
1729
|
-
"
|
|
1730
|
-
|
|
1872
|
+
"__statedOptions": [
|
|
1873
|
+
"nullable",
|
|
1874
|
+
"required"
|
|
1875
|
+
],
|
|
1876
|
+
"nullable": true,
|
|
1877
|
+
"required": false
|
|
1878
|
+
},
|
|
1879
|
+
"required": false
|
|
1731
1880
|
}
|
|
1732
1881
|
},
|
|
1733
1882
|
"methods": {},
|
|
@@ -1753,16 +1902,11 @@
|
|
|
1753
1902
|
"field": "actorUserId",
|
|
1754
1903
|
"rule": "required",
|
|
1755
1904
|
"fieldType": "text"
|
|
1756
|
-
},
|
|
1757
|
-
{
|
|
1758
|
-
"field": "reason",
|
|
1759
|
-
"rule": "required",
|
|
1760
|
-
"fieldType": "text"
|
|
1761
1905
|
}
|
|
1762
1906
|
],
|
|
1763
1907
|
"schema": {
|
|
1764
1908
|
"tableName": "participation_bans",
|
|
1765
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"participation_bans\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"actor_user_id\" TEXT NOT NULL,\n \"record_type\" TEXT,\n \"record_id\" TEXT,\n \"reason\" TEXT
|
|
1909
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"participation_bans\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"actor_user_id\" TEXT NOT NULL,\n \"record_type\" TEXT,\n \"record_id\" TEXT,\n \"reason\" TEXT,\n \"expires_at\" TIMESTAMP\n);",
|
|
1766
1910
|
"columns": {
|
|
1767
1911
|
"_sync_origin_device_id": {
|
|
1768
1912
|
"type": "TEXT"
|
|
@@ -1818,7 +1962,7 @@
|
|
|
1818
1962
|
},
|
|
1819
1963
|
"reason": {
|
|
1820
1964
|
"type": "TEXT",
|
|
1821
|
-
"notNull":
|
|
1965
|
+
"notNull": false,
|
|
1822
1966
|
"unique": false
|
|
1823
1967
|
},
|
|
1824
1968
|
"expires_at": {
|
|
@@ -1845,7 +1989,7 @@
|
|
|
1845
1989
|
]
|
|
1846
1990
|
}
|
|
1847
1991
|
],
|
|
1848
|
-
"version": "
|
|
1992
|
+
"version": "94015082"
|
|
1849
1993
|
},
|
|
1850
1994
|
"importPath": "@happyvertical/smrt-comments"
|
|
1851
1995
|
},
|
|
@@ -1855,14 +1999,12 @@
|
|
|
1855
1999
|
"qualifiedName": "@happyvertical/smrt-comments:ParticipationPolicy",
|
|
1856
2000
|
"collection": "participationpolicies",
|
|
1857
2001
|
"description": "A generic tenant default or exact-record override for participation actions.",
|
|
1858
|
-
"filePath": "
|
|
2002
|
+
"filePath": "src/models/ParticipationPolicy.ts",
|
|
1859
2003
|
"packageName": "@happyvertical/smrt-comments",
|
|
1860
2004
|
"fields": {
|
|
1861
2005
|
"tenantId": {
|
|
1862
2006
|
"type": "text",
|
|
1863
|
-
"required": true,
|
|
1864
2007
|
"_meta": {
|
|
1865
|
-
"sqlType": "UUID",
|
|
1866
2008
|
"__tenancy": {
|
|
1867
2009
|
"isTenantIdField": true,
|
|
1868
2010
|
"autoFilter": true,
|
|
@@ -1872,31 +2014,53 @@
|
|
|
1872
2014
|
"mode": "required",
|
|
1873
2015
|
"field": "tenantId",
|
|
1874
2016
|
"allowSuperAdminBypass": false
|
|
1875
|
-
}
|
|
1876
|
-
|
|
2017
|
+
},
|
|
2018
|
+
"__statedOptions": [
|
|
2019
|
+
"sqlType",
|
|
2020
|
+
"requiredFor",
|
|
2021
|
+
"__tenancy"
|
|
2022
|
+
],
|
|
2023
|
+
"sqlType": "UUID",
|
|
2024
|
+
"requiredFor": "tenant-scope"
|
|
2025
|
+
},
|
|
2026
|
+
"required": true
|
|
1877
2027
|
},
|
|
1878
2028
|
"recordType": {
|
|
1879
2029
|
"type": "text",
|
|
2030
|
+
"_meta": {
|
|
2031
|
+
"__statedOptions": []
|
|
2032
|
+
},
|
|
1880
2033
|
"required": false
|
|
1881
2034
|
},
|
|
1882
2035
|
"recordId": {
|
|
1883
2036
|
"type": "text",
|
|
2037
|
+
"_meta": {
|
|
2038
|
+
"__statedOptions": []
|
|
2039
|
+
},
|
|
1884
2040
|
"required": false
|
|
1885
2041
|
},
|
|
1886
2042
|
"action": {
|
|
1887
2043
|
"type": "text",
|
|
1888
|
-
"required": true,
|
|
1889
2044
|
"_meta": {
|
|
2045
|
+
"__statedOptions": [
|
|
2046
|
+
"required"
|
|
2047
|
+
],
|
|
1890
2048
|
"required": true
|
|
1891
|
-
}
|
|
2049
|
+
},
|
|
2050
|
+
"required": true
|
|
1892
2051
|
},
|
|
1893
2052
|
"moderationMode": {
|
|
1894
2053
|
"type": "text",
|
|
1895
|
-
"required": true,
|
|
1896
|
-
"default": "open",
|
|
1897
2054
|
"_meta": {
|
|
2055
|
+
"__statedOptions": [
|
|
2056
|
+
"required",
|
|
2057
|
+
"default",
|
|
2058
|
+
"enum"
|
|
2059
|
+
],
|
|
1898
2060
|
"required": true
|
|
1899
2061
|
},
|
|
2062
|
+
"required": true,
|
|
2063
|
+
"default": "open",
|
|
1900
2064
|
"enum": [
|
|
1901
2065
|
"open",
|
|
1902
2066
|
"pre_moderated",
|
|
@@ -1906,19 +2070,27 @@
|
|
|
1906
2070
|
},
|
|
1907
2071
|
"maxActions": {
|
|
1908
2072
|
"type": "integer",
|
|
1909
|
-
"required": true,
|
|
1910
|
-
"default": 0,
|
|
1911
2073
|
"_meta": {
|
|
2074
|
+
"__statedOptions": [
|
|
2075
|
+
"required",
|
|
2076
|
+
"default"
|
|
2077
|
+
],
|
|
1912
2078
|
"required": true
|
|
1913
|
-
}
|
|
2079
|
+
},
|
|
2080
|
+
"required": true,
|
|
2081
|
+
"default": 0
|
|
1914
2082
|
},
|
|
1915
2083
|
"windowSeconds": {
|
|
1916
2084
|
"type": "integer",
|
|
1917
|
-
"required": true,
|
|
1918
|
-
"default": 0,
|
|
1919
2085
|
"_meta": {
|
|
2086
|
+
"__statedOptions": [
|
|
2087
|
+
"required",
|
|
2088
|
+
"default"
|
|
2089
|
+
],
|
|
1920
2090
|
"required": true
|
|
1921
|
-
}
|
|
2091
|
+
},
|
|
2092
|
+
"required": true,
|
|
2093
|
+
"default": 0
|
|
1922
2094
|
}
|
|
1923
2095
|
},
|
|
1924
2096
|
"methods": {},
|
|
@@ -2064,14 +2236,12 @@
|
|
|
2064
2236
|
"qualifiedName": "@happyvertical/smrt-comments:ParticipationRateBucket",
|
|
2065
2237
|
"collection": "participationratebuckets",
|
|
2066
2238
|
"description": "Service-owned fixed-window counter. Never delete a currently active bucket.",
|
|
2067
|
-
"filePath": "
|
|
2239
|
+
"filePath": "src/models/ParticipationRateBucket.ts",
|
|
2068
2240
|
"packageName": "@happyvertical/smrt-comments",
|
|
2069
2241
|
"fields": {
|
|
2070
2242
|
"tenantId": {
|
|
2071
2243
|
"type": "text",
|
|
2072
|
-
"required": true,
|
|
2073
2244
|
"_meta": {
|
|
2074
|
-
"sqlType": "UUID",
|
|
2075
2245
|
"__tenancy": {
|
|
2076
2246
|
"isTenantIdField": true,
|
|
2077
2247
|
"autoFilter": true,
|
|
@@ -2081,23 +2251,40 @@
|
|
|
2081
2251
|
"mode": "required",
|
|
2082
2252
|
"field": "tenantId",
|
|
2083
2253
|
"allowSuperAdminBypass": false
|
|
2084
|
-
}
|
|
2085
|
-
|
|
2254
|
+
},
|
|
2255
|
+
"__statedOptions": [
|
|
2256
|
+
"sqlType",
|
|
2257
|
+
"requiredFor",
|
|
2258
|
+
"__tenancy"
|
|
2259
|
+
],
|
|
2260
|
+
"sqlType": "UUID",
|
|
2261
|
+
"requiredFor": "tenant-scope"
|
|
2262
|
+
},
|
|
2263
|
+
"required": true
|
|
2086
2264
|
},
|
|
2087
2265
|
"bucketKey": {
|
|
2088
2266
|
"type": "text",
|
|
2089
|
-
"required": true,
|
|
2090
2267
|
"_meta": {
|
|
2091
|
-
"
|
|
2092
|
-
|
|
2268
|
+
"__statedOptions": [
|
|
2269
|
+
"required",
|
|
2270
|
+
"requiredFor"
|
|
2271
|
+
],
|
|
2272
|
+
"required": true,
|
|
2273
|
+
"requiredFor": "identity"
|
|
2274
|
+
},
|
|
2275
|
+
"required": true
|
|
2093
2276
|
},
|
|
2094
2277
|
"actionCount": {
|
|
2095
2278
|
"type": "integer",
|
|
2096
|
-
"required": true,
|
|
2097
|
-
"default": 0,
|
|
2098
2279
|
"_meta": {
|
|
2280
|
+
"__statedOptions": [
|
|
2281
|
+
"required",
|
|
2282
|
+
"default"
|
|
2283
|
+
],
|
|
2099
2284
|
"required": true
|
|
2100
|
-
}
|
|
2285
|
+
},
|
|
2286
|
+
"required": true,
|
|
2287
|
+
"default": 0
|
|
2101
2288
|
}
|
|
2102
2289
|
},
|
|
2103
2290
|
"methods": {},
|
|
@@ -2288,5 +2475,6 @@
|
|
|
2288
2475
|
"@happyvertical/smrt-tenancy"
|
|
2289
2476
|
]
|
|
2290
2477
|
},
|
|
2478
|
+
"schemaFingerprint": "e91318d3dbc76425e5d7282f0f15bdbfeda59cd4c1041159baac2687d46c4a63",
|
|
2291
2479
|
"stampsConstructors": true
|
|
2292
2480
|
}
|