@happyvertical/smrt-assets 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.
- package/dist/asset-tag.d.ts.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +327 -138
- package/dist/smrt-knowledge.json +3 -3
- package/package.json +13 -13
package/dist/manifest.json
CHANGED
|
@@ -2,48 +2,63 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-assets",
|
|
5
|
-
"packageVersion": "0.61.
|
|
5
|
+
"packageVersion": "0.61.5",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-assets:AssetAssociation": {
|
|
8
8
|
"name": "assetassociation",
|
|
9
9
|
"className": "AssetAssociation",
|
|
10
10
|
"qualifiedName": "@happyvertical/smrt-assets:AssetAssociation",
|
|
11
11
|
"collection": "assetassociations",
|
|
12
|
-
"filePath": "
|
|
12
|
+
"filePath": "src/asset-association.ts",
|
|
13
13
|
"packageName": "@happyvertical/smrt-assets",
|
|
14
14
|
"fields": {
|
|
15
15
|
"metaType": {
|
|
16
16
|
"type": "text",
|
|
17
|
-
"required": true,
|
|
18
17
|
"_meta": {
|
|
19
|
-
"
|
|
20
|
-
|
|
18
|
+
"__statedOptions": [
|
|
19
|
+
"required",
|
|
20
|
+
"requiredFor"
|
|
21
|
+
],
|
|
22
|
+
"required": true,
|
|
23
|
+
"requiredFor": "identity"
|
|
24
|
+
},
|
|
25
|
+
"required": true
|
|
21
26
|
},
|
|
22
27
|
"metaId": {
|
|
23
28
|
"type": "text",
|
|
24
|
-
"required": true,
|
|
25
29
|
"_meta": {
|
|
26
|
-
"
|
|
27
|
-
|
|
30
|
+
"__statedOptions": [
|
|
31
|
+
"required",
|
|
32
|
+
"requiredFor"
|
|
33
|
+
],
|
|
34
|
+
"required": true,
|
|
35
|
+
"requiredFor": "identity"
|
|
36
|
+
},
|
|
37
|
+
"required": true
|
|
28
38
|
},
|
|
29
39
|
"role": {
|
|
30
40
|
"type": "text",
|
|
31
|
-
"required": true,
|
|
32
41
|
"_meta": {
|
|
42
|
+
"__statedOptions": [
|
|
43
|
+
"required"
|
|
44
|
+
],
|
|
33
45
|
"required": true
|
|
34
|
-
}
|
|
46
|
+
},
|
|
47
|
+
"required": true
|
|
35
48
|
},
|
|
36
49
|
"sortOrder": {
|
|
37
50
|
"type": "integer",
|
|
51
|
+
"_meta": {
|
|
52
|
+
"__statedOptions": [
|
|
53
|
+
"default"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
38
56
|
"required": false,
|
|
39
57
|
"default": 0
|
|
40
58
|
},
|
|
41
59
|
"tenantId": {
|
|
42
60
|
"type": "text",
|
|
43
|
-
"required": false,
|
|
44
61
|
"_meta": {
|
|
45
|
-
"sqlType": "UUID",
|
|
46
|
-
"nullable": true,
|
|
47
62
|
"__tenancy": {
|
|
48
63
|
"isTenantIdField": true,
|
|
49
64
|
"autoFilter": true,
|
|
@@ -53,18 +68,35 @@
|
|
|
53
68
|
"mode": "optional",
|
|
54
69
|
"field": "tenantId",
|
|
55
70
|
"allowSuperAdminBypass": false
|
|
56
|
-
}
|
|
57
|
-
|
|
71
|
+
},
|
|
72
|
+
"__statedOptions": [
|
|
73
|
+
"sqlType",
|
|
74
|
+
"nullable",
|
|
75
|
+
"__tenancy",
|
|
76
|
+
"required"
|
|
77
|
+
],
|
|
78
|
+
"sqlType": "UUID",
|
|
79
|
+
"nullable": true,
|
|
80
|
+
"required": false
|
|
81
|
+
},
|
|
82
|
+
"required": false
|
|
58
83
|
},
|
|
59
84
|
"assetId": {
|
|
60
85
|
"type": "foreignKey",
|
|
61
|
-
"required": true,
|
|
62
|
-
"related": "Asset",
|
|
63
|
-
"description": "The file attached to the related record.",
|
|
64
86
|
"_meta": {
|
|
87
|
+
"__statedOptions": [
|
|
88
|
+
"required",
|
|
89
|
+
"requiredFor",
|
|
90
|
+
"description",
|
|
91
|
+
"related"
|
|
92
|
+
],
|
|
93
|
+
"required": true,
|
|
65
94
|
"description": "The file attached to the related record.",
|
|
66
|
-
"
|
|
67
|
-
}
|
|
95
|
+
"requiredFor": "identity"
|
|
96
|
+
},
|
|
97
|
+
"required": true,
|
|
98
|
+
"related": "Asset",
|
|
99
|
+
"description": "The file attached to the related record."
|
|
68
100
|
}
|
|
69
101
|
},
|
|
70
102
|
"methods": {
|
|
@@ -248,7 +280,7 @@
|
|
|
248
280
|
"className": "AssetAssociationCollection",
|
|
249
281
|
"qualifiedName": "@happyvertical/smrt-assets:AssetAssociationCollection",
|
|
250
282
|
"collection": "assetassociations",
|
|
251
|
-
"filePath": "
|
|
283
|
+
"filePath": "src/asset-associations.ts",
|
|
252
284
|
"packageName": "@happyvertical/smrt-assets",
|
|
253
285
|
"fields": {},
|
|
254
286
|
"methods": {
|
|
@@ -526,32 +558,44 @@
|
|
|
526
558
|
"className": "AssetMetafield",
|
|
527
559
|
"qualifiedName": "@happyvertical/smrt-assets:AssetMetafield",
|
|
528
560
|
"collection": "assetmetafields",
|
|
529
|
-
"filePath": "
|
|
561
|
+
"filePath": "src/asset-metafield.ts",
|
|
530
562
|
"packageName": "@happyvertical/smrt-assets",
|
|
531
563
|
"fields": {
|
|
532
564
|
"created_at": {
|
|
533
565
|
"type": "datetime",
|
|
566
|
+
"_meta": {
|
|
567
|
+
"__statedOptions": []
|
|
568
|
+
},
|
|
534
569
|
"required": false
|
|
535
570
|
},
|
|
536
571
|
"updated_at": {
|
|
537
572
|
"type": "datetime",
|
|
573
|
+
"_meta": {
|
|
574
|
+
"__statedOptions": []
|
|
575
|
+
},
|
|
538
576
|
"required": false
|
|
539
577
|
},
|
|
540
578
|
"name": {
|
|
541
579
|
"type": "text",
|
|
542
|
-
"required": false,
|
|
543
|
-
"description": "The name of an additional asset detail, such as Width or Height.",
|
|
544
580
|
"_meta": {
|
|
581
|
+
"__statedOptions": [
|
|
582
|
+
"description"
|
|
583
|
+
],
|
|
545
584
|
"description": "The name of an additional asset detail, such as Width or Height."
|
|
546
|
-
}
|
|
585
|
+
},
|
|
586
|
+
"required": false,
|
|
587
|
+
"description": "The name of an additional asset detail, such as Width or Height."
|
|
547
588
|
},
|
|
548
589
|
"validation": {
|
|
549
590
|
"type": "text",
|
|
550
|
-
"required": false,
|
|
551
|
-
"description": "Rules that determine which values this asset detail accepts.",
|
|
552
591
|
"_meta": {
|
|
592
|
+
"__statedOptions": [
|
|
593
|
+
"description"
|
|
594
|
+
],
|
|
553
595
|
"description": "Rules that determine which values this asset detail accepts."
|
|
554
|
-
}
|
|
596
|
+
},
|
|
597
|
+
"required": false,
|
|
598
|
+
"description": "Rules that determine which values this asset detail accepts."
|
|
555
599
|
}
|
|
556
600
|
},
|
|
557
601
|
"methods": {
|
|
@@ -702,7 +746,7 @@
|
|
|
702
746
|
"className": "AssetMetafieldCollection",
|
|
703
747
|
"qualifiedName": "@happyvertical/smrt-assets:AssetMetafieldCollection",
|
|
704
748
|
"collection": "assetmetafields",
|
|
705
|
-
"filePath": "
|
|
749
|
+
"filePath": "src/asset-metafields.ts",
|
|
706
750
|
"packageName": "@happyvertical/smrt-assets",
|
|
707
751
|
"fields": {},
|
|
708
752
|
"methods": {
|
|
@@ -858,32 +902,44 @@
|
|
|
858
902
|
"className": "AssetStatus",
|
|
859
903
|
"qualifiedName": "@happyvertical/smrt-assets:AssetStatus",
|
|
860
904
|
"collection": "assetstatuses",
|
|
861
|
-
"filePath": "
|
|
905
|
+
"filePath": "src/asset-status.ts",
|
|
862
906
|
"packageName": "@happyvertical/smrt-assets",
|
|
863
907
|
"fields": {
|
|
864
908
|
"created_at": {
|
|
865
909
|
"type": "datetime",
|
|
910
|
+
"_meta": {
|
|
911
|
+
"__statedOptions": []
|
|
912
|
+
},
|
|
866
913
|
"required": false
|
|
867
914
|
},
|
|
868
915
|
"updated_at": {
|
|
869
916
|
"type": "datetime",
|
|
917
|
+
"_meta": {
|
|
918
|
+
"__statedOptions": []
|
|
919
|
+
},
|
|
870
920
|
"required": false
|
|
871
921
|
},
|
|
872
922
|
"name": {
|
|
873
923
|
"type": "text",
|
|
874
|
-
"required": false,
|
|
875
|
-
"description": "The name of this lifecycle stage, such as Draft or Published.",
|
|
876
924
|
"_meta": {
|
|
925
|
+
"__statedOptions": [
|
|
926
|
+
"description"
|
|
927
|
+
],
|
|
877
928
|
"description": "The name of this lifecycle stage, such as Draft or Published."
|
|
878
|
-
}
|
|
929
|
+
},
|
|
930
|
+
"required": false,
|
|
931
|
+
"description": "The name of this lifecycle stage, such as Draft or Published."
|
|
879
932
|
},
|
|
880
933
|
"description": {
|
|
881
934
|
"type": "text",
|
|
882
|
-
"required": false,
|
|
883
|
-
"description": "Explain when an asset should use this lifecycle stage.",
|
|
884
935
|
"_meta": {
|
|
936
|
+
"__statedOptions": [
|
|
937
|
+
"description"
|
|
938
|
+
],
|
|
885
939
|
"description": "Explain when an asset should use this lifecycle stage."
|
|
886
|
-
}
|
|
940
|
+
},
|
|
941
|
+
"required": false,
|
|
942
|
+
"description": "Explain when an asset should use this lifecycle stage."
|
|
887
943
|
}
|
|
888
944
|
},
|
|
889
945
|
"methods": {
|
|
@@ -1012,7 +1068,7 @@
|
|
|
1012
1068
|
"className": "AssetStatusCollection",
|
|
1013
1069
|
"qualifiedName": "@happyvertical/smrt-assets:AssetStatusCollection",
|
|
1014
1070
|
"collection": "assetstatuses",
|
|
1015
|
-
"filePath": "
|
|
1071
|
+
"filePath": "src/asset-statuses.ts",
|
|
1016
1072
|
"packageName": "@happyvertical/smrt-assets",
|
|
1017
1073
|
"fields": {},
|
|
1018
1074
|
"methods": {
|
|
@@ -1160,15 +1216,12 @@
|
|
|
1160
1216
|
"className": "AssetTag",
|
|
1161
1217
|
"qualifiedName": "@happyvertical/smrt-assets:AssetTag",
|
|
1162
1218
|
"collection": "assettags",
|
|
1163
|
-
"filePath": "
|
|
1219
|
+
"filePath": "src/asset-tag.ts",
|
|
1164
1220
|
"packageName": "@happyvertical/smrt-assets",
|
|
1165
1221
|
"fields": {
|
|
1166
1222
|
"tenantId": {
|
|
1167
1223
|
"type": "text",
|
|
1168
|
-
"required": false,
|
|
1169
1224
|
"_meta": {
|
|
1170
|
-
"sqlType": "UUID",
|
|
1171
|
-
"nullable": true,
|
|
1172
1225
|
"__tenancy": {
|
|
1173
1226
|
"isTenantIdField": true,
|
|
1174
1227
|
"autoFilter": true,
|
|
@@ -1178,25 +1231,50 @@
|
|
|
1178
1231
|
"mode": "optional",
|
|
1179
1232
|
"field": "tenantId",
|
|
1180
1233
|
"allowSuperAdminBypass": false
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1234
|
+
},
|
|
1235
|
+
"__statedOptions": [
|
|
1236
|
+
"sqlType",
|
|
1237
|
+
"nullable",
|
|
1238
|
+
"__tenancy",
|
|
1239
|
+
"required"
|
|
1240
|
+
],
|
|
1241
|
+
"sqlType": "UUID",
|
|
1242
|
+
"nullable": true,
|
|
1243
|
+
"required": false
|
|
1244
|
+
},
|
|
1245
|
+
"required": false
|
|
1183
1246
|
},
|
|
1184
1247
|
"assetId": {
|
|
1185
1248
|
"type": "foreignKey",
|
|
1186
|
-
"required": true,
|
|
1187
|
-
"related": "Asset",
|
|
1188
1249
|
"_meta": {
|
|
1250
|
+
"__statedOptions": [
|
|
1251
|
+
"required",
|
|
1252
|
+
"requiredFor",
|
|
1253
|
+
"onDelete",
|
|
1254
|
+
"related"
|
|
1255
|
+
],
|
|
1189
1256
|
"required": true,
|
|
1257
|
+
"requiredFor": "identity",
|
|
1190
1258
|
"onDelete": "CASCADE"
|
|
1191
|
-
}
|
|
1259
|
+
},
|
|
1260
|
+
"required": true,
|
|
1261
|
+
"related": "Asset"
|
|
1192
1262
|
},
|
|
1193
1263
|
"tagId": {
|
|
1194
1264
|
"type": "crossPackageRef",
|
|
1195
|
-
"required": true,
|
|
1196
|
-
"related": "@happyvertical/smrt-tags:Tag",
|
|
1197
1265
|
"_meta": {
|
|
1266
|
+
"__statedOptions": [
|
|
1267
|
+
"required",
|
|
1268
|
+
"requiredFor",
|
|
1269
|
+
"onDelete",
|
|
1270
|
+
"related"
|
|
1271
|
+
],
|
|
1272
|
+
"required": true,
|
|
1273
|
+
"requiredFor": "identity",
|
|
1198
1274
|
"onDelete": "CASCADE"
|
|
1199
|
-
}
|
|
1275
|
+
},
|
|
1276
|
+
"required": true,
|
|
1277
|
+
"related": "@happyvertical/smrt-tags:Tag"
|
|
1200
1278
|
}
|
|
1201
1279
|
},
|
|
1202
1280
|
"methods": {},
|
|
@@ -1327,7 +1405,7 @@
|
|
|
1327
1405
|
"className": "AssetTagCollection",
|
|
1328
1406
|
"qualifiedName": "@happyvertical/smrt-assets:AssetTagCollection",
|
|
1329
1407
|
"collection": "assettags",
|
|
1330
|
-
"filePath": "
|
|
1408
|
+
"filePath": "src/asset-tags.ts",
|
|
1331
1409
|
"packageName": "@happyvertical/smrt-assets",
|
|
1332
1410
|
"fields": {},
|
|
1333
1411
|
"methods": {
|
|
@@ -1559,32 +1637,44 @@
|
|
|
1559
1637
|
"className": "AssetType",
|
|
1560
1638
|
"qualifiedName": "@happyvertical/smrt-assets:AssetType",
|
|
1561
1639
|
"collection": "assettypes",
|
|
1562
|
-
"filePath": "
|
|
1640
|
+
"filePath": "src/asset-type.ts",
|
|
1563
1641
|
"packageName": "@happyvertical/smrt-assets",
|
|
1564
1642
|
"fields": {
|
|
1565
1643
|
"created_at": {
|
|
1566
1644
|
"type": "datetime",
|
|
1645
|
+
"_meta": {
|
|
1646
|
+
"__statedOptions": []
|
|
1647
|
+
},
|
|
1567
1648
|
"required": false
|
|
1568
1649
|
},
|
|
1569
1650
|
"updated_at": {
|
|
1570
1651
|
"type": "datetime",
|
|
1652
|
+
"_meta": {
|
|
1653
|
+
"__statedOptions": []
|
|
1654
|
+
},
|
|
1571
1655
|
"required": false
|
|
1572
1656
|
},
|
|
1573
1657
|
"name": {
|
|
1574
1658
|
"type": "text",
|
|
1575
|
-
"required": false,
|
|
1576
|
-
"description": "The name of this file category, such as Image or Document.",
|
|
1577
1659
|
"_meta": {
|
|
1660
|
+
"__statedOptions": [
|
|
1661
|
+
"description"
|
|
1662
|
+
],
|
|
1578
1663
|
"description": "The name of this file category, such as Image or Document."
|
|
1579
|
-
}
|
|
1664
|
+
},
|
|
1665
|
+
"required": false,
|
|
1666
|
+
"description": "The name of this file category, such as Image or Document."
|
|
1580
1667
|
},
|
|
1581
1668
|
"description": {
|
|
1582
1669
|
"type": "text",
|
|
1583
|
-
"required": false,
|
|
1584
|
-
"description": "Explain which kinds of files belong in this category.",
|
|
1585
1670
|
"_meta": {
|
|
1671
|
+
"__statedOptions": [
|
|
1672
|
+
"description"
|
|
1673
|
+
],
|
|
1586
1674
|
"description": "Explain which kinds of files belong in this category."
|
|
1587
|
-
}
|
|
1675
|
+
},
|
|
1676
|
+
"required": false,
|
|
1677
|
+
"description": "Explain which kinds of files belong in this category."
|
|
1588
1678
|
}
|
|
1589
1679
|
},
|
|
1590
1680
|
"methods": {
|
|
@@ -1713,7 +1803,7 @@
|
|
|
1713
1803
|
"className": "AssetTypeCollection",
|
|
1714
1804
|
"qualifiedName": "@happyvertical/smrt-assets:AssetTypeCollection",
|
|
1715
1805
|
"collection": "assettypes",
|
|
1716
|
-
"filePath": "
|
|
1806
|
+
"filePath": "src/asset-types.ts",
|
|
1717
1807
|
"packageName": "@happyvertical/smrt-assets",
|
|
1718
1808
|
"fields": {},
|
|
1719
1809
|
"methods": {
|
|
@@ -1861,23 +1951,26 @@
|
|
|
1861
1951
|
"className": "Asset",
|
|
1862
1952
|
"qualifiedName": "@happyvertical/smrt-assets:Asset",
|
|
1863
1953
|
"collection": "assets",
|
|
1864
|
-
"filePath": "
|
|
1954
|
+
"filePath": "src/asset.ts",
|
|
1865
1955
|
"packageName": "@happyvertical/smrt-assets",
|
|
1866
1956
|
"fields": {
|
|
1867
1957
|
"created_at": {
|
|
1868
1958
|
"type": "datetime",
|
|
1959
|
+
"_meta": {
|
|
1960
|
+
"__statedOptions": []
|
|
1961
|
+
},
|
|
1869
1962
|
"required": false
|
|
1870
1963
|
},
|
|
1871
1964
|
"updated_at": {
|
|
1872
1965
|
"type": "datetime",
|
|
1966
|
+
"_meta": {
|
|
1967
|
+
"__statedOptions": []
|
|
1968
|
+
},
|
|
1873
1969
|
"required": false
|
|
1874
1970
|
},
|
|
1875
1971
|
"tenantId": {
|
|
1876
1972
|
"type": "text",
|
|
1877
|
-
"required": false,
|
|
1878
1973
|
"_meta": {
|
|
1879
|
-
"sqlType": "UUID",
|
|
1880
|
-
"nullable": true,
|
|
1881
1974
|
"__tenancy": {
|
|
1882
1975
|
"isTenantIdField": true,
|
|
1883
1976
|
"autoFilter": true,
|
|
@@ -1887,17 +1980,32 @@
|
|
|
1887
1980
|
"mode": "optional",
|
|
1888
1981
|
"field": "tenantId",
|
|
1889
1982
|
"allowSuperAdminBypass": false
|
|
1890
|
-
}
|
|
1891
|
-
|
|
1983
|
+
},
|
|
1984
|
+
"__statedOptions": [
|
|
1985
|
+
"sqlType",
|
|
1986
|
+
"nullable",
|
|
1987
|
+
"__tenancy",
|
|
1988
|
+
"required"
|
|
1989
|
+
],
|
|
1990
|
+
"sqlType": "UUID",
|
|
1991
|
+
"nullable": true,
|
|
1992
|
+
"required": false
|
|
1993
|
+
},
|
|
1994
|
+
"required": false
|
|
1892
1995
|
},
|
|
1893
1996
|
"accessMode": {
|
|
1894
1997
|
"type": "text",
|
|
1895
|
-
"required": false,
|
|
1896
|
-
"default": "public",
|
|
1897
|
-
"description": "Whether this record is public to ordinary asset APIs or private.",
|
|
1898
1998
|
"_meta": {
|
|
1999
|
+
"__statedOptions": [
|
|
2000
|
+
"description",
|
|
2001
|
+
"default",
|
|
2002
|
+
"enum"
|
|
2003
|
+
],
|
|
1899
2004
|
"description": "Whether this record is public to ordinary asset APIs or private."
|
|
1900
2005
|
},
|
|
2006
|
+
"required": false,
|
|
2007
|
+
"default": "public",
|
|
2008
|
+
"description": "Whether this record is public to ordinary asset APIs or private.",
|
|
1901
2009
|
"enum": [
|
|
1902
2010
|
"public",
|
|
1903
2011
|
"private"
|
|
@@ -1905,135 +2013,191 @@
|
|
|
1905
2013
|
},
|
|
1906
2014
|
"name": {
|
|
1907
2015
|
"type": "text",
|
|
1908
|
-
"required": false,
|
|
1909
|
-
"description": "A recognizable name for this file or media item.",
|
|
1910
2016
|
"_meta": {
|
|
2017
|
+
"__statedOptions": [
|
|
2018
|
+
"description"
|
|
2019
|
+
],
|
|
1911
2020
|
"description": "A recognizable name for this file or media item."
|
|
1912
|
-
}
|
|
2021
|
+
},
|
|
2022
|
+
"required": false,
|
|
2023
|
+
"description": "A recognizable name for this file or media item."
|
|
1913
2024
|
},
|
|
1914
2025
|
"sourceUri": {
|
|
1915
2026
|
"type": "text",
|
|
1916
|
-
"required": false,
|
|
1917
|
-
"description": "Where the original file is stored or can be retrieved.",
|
|
1918
2027
|
"_meta": {
|
|
2028
|
+
"__statedOptions": [
|
|
2029
|
+
"description"
|
|
2030
|
+
],
|
|
1919
2031
|
"description": "Where the original file is stored or can be retrieved."
|
|
1920
|
-
}
|
|
2032
|
+
},
|
|
2033
|
+
"required": false,
|
|
2034
|
+
"description": "Where the original file is stored or can be retrieved."
|
|
1921
2035
|
},
|
|
1922
2036
|
"mimeType": {
|
|
1923
2037
|
"type": "text",
|
|
1924
|
-
"required": false,
|
|
1925
|
-
"description": "The file format, such as image/jpeg or application/pdf.",
|
|
1926
2038
|
"_meta": {
|
|
2039
|
+
"__statedOptions": [
|
|
2040
|
+
"description"
|
|
2041
|
+
],
|
|
1927
2042
|
"description": "The file format, such as image/jpeg or application/pdf."
|
|
1928
|
-
}
|
|
2043
|
+
},
|
|
2044
|
+
"required": false,
|
|
2045
|
+
"description": "The file format, such as image/jpeg or application/pdf."
|
|
1929
2046
|
},
|
|
1930
2047
|
"description": {
|
|
1931
2048
|
"type": "text",
|
|
1932
|
-
"required": false,
|
|
1933
|
-
"description": "Explain what the file contains and when it should be used.",
|
|
1934
2049
|
"_meta": {
|
|
2050
|
+
"__statedOptions": [
|
|
2051
|
+
"description"
|
|
2052
|
+
],
|
|
1935
2053
|
"description": "Explain what the file contains and when it should be used."
|
|
1936
|
-
}
|
|
2054
|
+
},
|
|
2055
|
+
"required": false,
|
|
2056
|
+
"description": "Explain what the file contains and when it should be used."
|
|
1937
2057
|
},
|
|
1938
2058
|
"metadata": {
|
|
1939
2059
|
"type": "text",
|
|
1940
|
-
"required": false,
|
|
1941
|
-
"description": "Additional details recorded while processing this file.",
|
|
1942
2060
|
"_meta": {
|
|
2061
|
+
"__statedOptions": [
|
|
2062
|
+
"description"
|
|
2063
|
+
],
|
|
1943
2064
|
"description": "Additional details recorded while processing this file."
|
|
1944
|
-
}
|
|
2065
|
+
},
|
|
2066
|
+
"required": false,
|
|
2067
|
+
"description": "Additional details recorded while processing this file."
|
|
1945
2068
|
},
|
|
1946
2069
|
"version": {
|
|
1947
2070
|
"type": "integer",
|
|
1948
|
-
"required": true,
|
|
1949
|
-
"default": 1,
|
|
1950
|
-
"description": "The revision number of this file in its version history.",
|
|
1951
2071
|
"_meta": {
|
|
2072
|
+
"__statedOptions": [
|
|
2073
|
+
"description",
|
|
2074
|
+
"default"
|
|
2075
|
+
],
|
|
1952
2076
|
"description": "The revision number of this file in its version history."
|
|
1953
|
-
}
|
|
2077
|
+
},
|
|
2078
|
+
"required": true,
|
|
2079
|
+
"default": 1,
|
|
2080
|
+
"description": "The revision number of this file in its version history."
|
|
1954
2081
|
},
|
|
1955
2082
|
"primaryVersionId": {
|
|
1956
2083
|
"type": "foreignKey",
|
|
1957
|
-
"required": false,
|
|
1958
|
-
"related": "Asset",
|
|
1959
|
-
"description": "The first version of this file, linking its revision history.",
|
|
1960
2084
|
"_meta": {
|
|
2085
|
+
"__statedOptions": [
|
|
2086
|
+
"description",
|
|
2087
|
+
"related"
|
|
2088
|
+
],
|
|
1961
2089
|
"description": "The first version of this file, linking its revision history."
|
|
1962
|
-
}
|
|
2090
|
+
},
|
|
2091
|
+
"required": false,
|
|
2092
|
+
"related": "Asset",
|
|
2093
|
+
"description": "The first version of this file, linking its revision history."
|
|
1963
2094
|
},
|
|
1964
2095
|
"typeSlug": {
|
|
1965
2096
|
"type": "text",
|
|
1966
|
-
"required": false,
|
|
1967
|
-
"description": "The category of asset, such as an image, video, or document.",
|
|
1968
2097
|
"_meta": {
|
|
2098
|
+
"__statedOptions": [
|
|
2099
|
+
"description"
|
|
2100
|
+
],
|
|
1969
2101
|
"description": "The category of asset, such as an image, video, or document."
|
|
1970
|
-
}
|
|
2102
|
+
},
|
|
2103
|
+
"required": false,
|
|
2104
|
+
"description": "The category of asset, such as an image, video, or document."
|
|
1971
2105
|
},
|
|
1972
2106
|
"statusSlug": {
|
|
1973
2107
|
"type": "text",
|
|
1974
|
-
"required": false,
|
|
1975
|
-
"description": "The stage of this asset, such as draft, published, or archived.",
|
|
1976
2108
|
"_meta": {
|
|
2109
|
+
"__statedOptions": [
|
|
2110
|
+
"description"
|
|
2111
|
+
],
|
|
1977
2112
|
"description": "The stage of this asset, such as draft, published, or archived."
|
|
1978
|
-
}
|
|
2113
|
+
},
|
|
2114
|
+
"required": false,
|
|
2115
|
+
"description": "The stage of this asset, such as draft, published, or archived."
|
|
1979
2116
|
},
|
|
1980
2117
|
"ownerProfileId": {
|
|
1981
2118
|
"type": "crossPackageRef",
|
|
1982
|
-
"required": false,
|
|
1983
|
-
"related": "@happyvertical/smrt-profiles:Profile",
|
|
1984
|
-
"description": "The person or organization responsible for this asset.",
|
|
1985
2119
|
"_meta": {
|
|
2120
|
+
"__statedOptions": [
|
|
2121
|
+
"description",
|
|
2122
|
+
"related"
|
|
2123
|
+
],
|
|
1986
2124
|
"description": "The person or organization responsible for this asset."
|
|
1987
|
-
}
|
|
2125
|
+
},
|
|
2126
|
+
"required": false,
|
|
2127
|
+
"related": "@happyvertical/smrt-profiles:Profile",
|
|
2128
|
+
"description": "The person or organization responsible for this asset."
|
|
1988
2129
|
},
|
|
1989
2130
|
"sourceAssetId": {
|
|
1990
2131
|
"type": "foreignKey",
|
|
1991
|
-
"required": false,
|
|
1992
|
-
"related": "Asset",
|
|
1993
|
-
"description": "The original asset used to produce this file or variation.",
|
|
1994
2132
|
"_meta": {
|
|
2133
|
+
"__statedOptions": [
|
|
2134
|
+
"description",
|
|
2135
|
+
"related"
|
|
2136
|
+
],
|
|
1995
2137
|
"description": "The original asset used to produce this file or variation."
|
|
1996
|
-
}
|
|
2138
|
+
},
|
|
2139
|
+
"required": false,
|
|
2140
|
+
"related": "Asset",
|
|
2141
|
+
"description": "The original asset used to produce this file or variation."
|
|
1997
2142
|
},
|
|
1998
2143
|
"folderId": {
|
|
1999
2144
|
"type": "foreignKey",
|
|
2000
|
-
"required": false,
|
|
2001
|
-
"related": "Folder",
|
|
2002
|
-
"description": "The folder that organizes this file in the asset library.",
|
|
2003
2145
|
"_meta": {
|
|
2146
|
+
"__statedOptions": [
|
|
2147
|
+
"description",
|
|
2148
|
+
"related"
|
|
2149
|
+
],
|
|
2004
2150
|
"description": "The folder that organizes this file in the asset library."
|
|
2005
|
-
}
|
|
2151
|
+
},
|
|
2152
|
+
"required": false,
|
|
2153
|
+
"related": "Folder",
|
|
2154
|
+
"description": "The folder that organizes this file in the asset library."
|
|
2006
2155
|
},
|
|
2007
2156
|
"sourceType": {
|
|
2008
2157
|
"type": "text",
|
|
2009
|
-
"required": false,
|
|
2010
|
-
"description": "The service or source from which this file was obtained.",
|
|
2011
2158
|
"_meta": {
|
|
2159
|
+
"__statedOptions": [
|
|
2160
|
+
"description"
|
|
2161
|
+
],
|
|
2012
2162
|
"description": "The service or source from which this file was obtained."
|
|
2013
|
-
}
|
|
2163
|
+
},
|
|
2164
|
+
"required": false,
|
|
2165
|
+
"description": "The service or source from which this file was obtained."
|
|
2014
2166
|
},
|
|
2015
2167
|
"externalId": {
|
|
2016
2168
|
"type": "text",
|
|
2017
|
-
"required": false,
|
|
2018
|
-
"description": "The reference used to identify this file at its original source.",
|
|
2019
2169
|
"_meta": {
|
|
2170
|
+
"__statedOptions": [
|
|
2171
|
+
"description"
|
|
2172
|
+
],
|
|
2020
2173
|
"description": "The reference used to identify this file at its original source."
|
|
2021
|
-
}
|
|
2174
|
+
},
|
|
2175
|
+
"required": false,
|
|
2176
|
+
"description": "The reference used to identify this file at its original source."
|
|
2022
2177
|
},
|
|
2023
2178
|
"externalRefs": {
|
|
2024
2179
|
"type": "text",
|
|
2025
|
-
"required": false,
|
|
2026
|
-
"description": "References that connect this file to copies held by other services.",
|
|
2027
2180
|
"_meta": {
|
|
2181
|
+
"__statedOptions": [
|
|
2182
|
+
"description"
|
|
2183
|
+
],
|
|
2028
2184
|
"description": "References that connect this file to copies held by other services."
|
|
2029
|
-
}
|
|
2185
|
+
},
|
|
2186
|
+
"required": false,
|
|
2187
|
+
"description": "References that connect this file to copies held by other services."
|
|
2030
2188
|
},
|
|
2031
2189
|
"createdAt": {
|
|
2032
2190
|
"type": "text",
|
|
2191
|
+
"_meta": {
|
|
2192
|
+
"__statedOptions": []
|
|
2193
|
+
},
|
|
2033
2194
|
"required": false
|
|
2034
2195
|
},
|
|
2035
2196
|
"updatedAt": {
|
|
2036
2197
|
"type": "text",
|
|
2198
|
+
"_meta": {
|
|
2199
|
+
"__statedOptions": []
|
|
2200
|
+
},
|
|
2037
2201
|
"required": false
|
|
2038
2202
|
}
|
|
2039
2203
|
},
|
|
@@ -2470,7 +2634,7 @@
|
|
|
2470
2634
|
"className": "AssetCollection",
|
|
2471
2635
|
"qualifiedName": "@happyvertical/smrt-assets:AssetCollection",
|
|
2472
2636
|
"collection": "assets",
|
|
2473
|
-
"filePath": "
|
|
2637
|
+
"filePath": "src/assets.ts",
|
|
2474
2638
|
"packageName": "@happyvertical/smrt-assets",
|
|
2475
2639
|
"fields": {},
|
|
2476
2640
|
"methods": {
|
|
@@ -2995,23 +3159,21 @@
|
|
|
2995
3159
|
"className": "Folder",
|
|
2996
3160
|
"qualifiedName": "@happyvertical/smrt-assets:Folder",
|
|
2997
3161
|
"collection": "folders",
|
|
2998
|
-
"filePath": "
|
|
3162
|
+
"filePath": "src/folder.ts",
|
|
2999
3163
|
"packageName": "@happyvertical/smrt-assets",
|
|
3000
3164
|
"fields": {
|
|
3001
3165
|
"parentId": {
|
|
3002
3166
|
"type": "foreignKey",
|
|
3003
|
-
"required": false,
|
|
3004
|
-
"related": "Folder",
|
|
3005
3167
|
"_meta": {
|
|
3168
|
+
"__statedOptions": [],
|
|
3006
3169
|
"nullable": true
|
|
3007
|
-
}
|
|
3170
|
+
},
|
|
3171
|
+
"required": false,
|
|
3172
|
+
"related": "Folder"
|
|
3008
3173
|
},
|
|
3009
3174
|
"tenantId": {
|
|
3010
3175
|
"type": "text",
|
|
3011
|
-
"required": false,
|
|
3012
3176
|
"_meta": {
|
|
3013
|
-
"sqlType": "UUID",
|
|
3014
|
-
"nullable": true,
|
|
3015
3177
|
"__tenancy": {
|
|
3016
3178
|
"isTenantIdField": true,
|
|
3017
3179
|
"autoFilter": true,
|
|
@@ -3021,40 +3183,66 @@
|
|
|
3021
3183
|
"mode": "optional",
|
|
3022
3184
|
"field": "tenantId",
|
|
3023
3185
|
"allowSuperAdminBypass": false
|
|
3024
|
-
}
|
|
3025
|
-
|
|
3186
|
+
},
|
|
3187
|
+
"__statedOptions": [
|
|
3188
|
+
"sqlType",
|
|
3189
|
+
"nullable",
|
|
3190
|
+
"__tenancy",
|
|
3191
|
+
"required"
|
|
3192
|
+
],
|
|
3193
|
+
"sqlType": "UUID",
|
|
3194
|
+
"nullable": true,
|
|
3195
|
+
"required": false
|
|
3196
|
+
},
|
|
3197
|
+
"required": false
|
|
3026
3198
|
},
|
|
3027
3199
|
"name": {
|
|
3028
3200
|
"type": "text",
|
|
3029
|
-
"required": false,
|
|
3030
|
-
"description": "A recognizable name for this group of files.",
|
|
3031
3201
|
"_meta": {
|
|
3202
|
+
"__statedOptions": [
|
|
3203
|
+
"description"
|
|
3204
|
+
],
|
|
3032
3205
|
"description": "A recognizable name for this group of files."
|
|
3033
|
-
}
|
|
3206
|
+
},
|
|
3207
|
+
"required": false,
|
|
3208
|
+
"description": "A recognizable name for this group of files."
|
|
3034
3209
|
},
|
|
3035
3210
|
"description": {
|
|
3036
3211
|
"type": "text",
|
|
3037
|
-
"required": false,
|
|
3038
|
-
"description": "Explain the purpose of this folder and which files belong here.",
|
|
3039
3212
|
"_meta": {
|
|
3213
|
+
"__statedOptions": [
|
|
3214
|
+
"description"
|
|
3215
|
+
],
|
|
3040
3216
|
"description": "Explain the purpose of this folder and which files belong here."
|
|
3041
|
-
}
|
|
3217
|
+
},
|
|
3218
|
+
"required": false,
|
|
3219
|
+
"description": "Explain the purpose of this folder and which files belong here."
|
|
3042
3220
|
},
|
|
3043
3221
|
"ownerProfileId": {
|
|
3044
3222
|
"type": "crossPackageRef",
|
|
3045
|
-
"required": false,
|
|
3046
|
-
"related": "@happyvertical/smrt-profiles:Profile",
|
|
3047
|
-
"description": "The person or organization responsible for this folder.",
|
|
3048
3223
|
"_meta": {
|
|
3224
|
+
"__statedOptions": [
|
|
3225
|
+
"description",
|
|
3226
|
+
"related"
|
|
3227
|
+
],
|
|
3049
3228
|
"description": "The person or organization responsible for this folder."
|
|
3050
|
-
}
|
|
3229
|
+
},
|
|
3230
|
+
"required": false,
|
|
3231
|
+
"related": "@happyvertical/smrt-profiles:Profile",
|
|
3232
|
+
"description": "The person or organization responsible for this folder."
|
|
3051
3233
|
},
|
|
3052
3234
|
"createdAt": {
|
|
3053
3235
|
"type": "text",
|
|
3236
|
+
"_meta": {
|
|
3237
|
+
"__statedOptions": []
|
|
3238
|
+
},
|
|
3054
3239
|
"required": false
|
|
3055
3240
|
},
|
|
3056
3241
|
"updatedAt": {
|
|
3057
3242
|
"type": "text",
|
|
3243
|
+
"_meta": {
|
|
3244
|
+
"__statedOptions": []
|
|
3245
|
+
},
|
|
3058
3246
|
"required": false
|
|
3059
3247
|
}
|
|
3060
3248
|
},
|
|
@@ -3283,7 +3471,7 @@
|
|
|
3283
3471
|
"className": "FolderCollection",
|
|
3284
3472
|
"qualifiedName": "@happyvertical/smrt-assets:FolderCollection",
|
|
3285
3473
|
"collection": "folders",
|
|
3286
|
-
"filePath": "
|
|
3474
|
+
"filePath": "src/folders.ts",
|
|
3287
3475
|
"packageName": "@happyvertical/smrt-assets",
|
|
3288
3476
|
"fields": {},
|
|
3289
3477
|
"methods": {
|
|
@@ -3727,5 +3915,6 @@
|
|
|
3727
3915
|
"@happyvertical/smrt-tenancy"
|
|
3728
3916
|
]
|
|
3729
3917
|
},
|
|
3918
|
+
"schemaFingerprint": "e04f0d98323b49fac80aac47c3f1cbb5c273525c4e98ee17eaf545e7488006ab",
|
|
3730
3919
|
"stampsConstructors": true
|
|
3731
3920
|
}
|