@happyvertical/smrt-core 0.38.2 → 0.38.3

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.
Files changed (128) hide show
  1. package/AGENTS.md +11 -2
  2. package/dist/change-feed.d.ts +19 -10
  3. package/dist/change-feed.d.ts.map +1 -1
  4. package/dist/change-feed.js +43 -13
  5. package/dist/change-feed.js.map +1 -1
  6. package/dist/change-signals.d.ts +83 -0
  7. package/dist/change-signals.d.ts.map +1 -0
  8. package/dist/change-signals.js +272 -0
  9. package/dist/change-signals.js.map +1 -0
  10. package/dist/collection-cache.d.ts +21 -0
  11. package/dist/collection-cache.d.ts.map +1 -1
  12. package/dist/collection-cache.js +0 -0
  13. package/dist/collection-cache.js.map +1 -1
  14. package/dist/config.d.ts +1 -1
  15. package/dist/config.d.ts.map +1 -1
  16. package/dist/config.js.map +1 -1
  17. package/dist/decorators/index.d.ts +8 -0
  18. package/dist/decorators/index.d.ts.map +1 -1
  19. package/dist/decorators/index.js.map +1 -1
  20. package/dist/errors.js +2 -1
  21. package/dist/errors.js.map +1 -1
  22. package/dist/generators/changes-route.d.ts +15 -27
  23. package/dist/generators/changes-route.d.ts.map +1 -1
  24. package/dist/generators/changes-route.js +17 -7
  25. package/dist/generators/changes-route.js.map +1 -1
  26. package/dist/generators/cli.d.ts +3 -0
  27. package/dist/generators/cli.d.ts.map +1 -1
  28. package/dist/generators/cli.js +7 -4
  29. package/dist/generators/cli.js.map +1 -1
  30. package/dist/generators/conditional-get.d.ts +17 -6
  31. package/dist/generators/conditional-get.d.ts.map +1 -1
  32. package/dist/generators/conditional-get.js +19 -13
  33. package/dist/generators/conditional-get.js.map +1 -1
  34. package/dist/generators/events-route.d.ts +72 -0
  35. package/dist/generators/events-route.d.ts.map +1 -0
  36. package/dist/generators/events-route.js +234 -0
  37. package/dist/generators/events-route.js.map +1 -0
  38. package/dist/generators/index.d.ts +1 -0
  39. package/dist/generators/index.d.ts.map +1 -1
  40. package/dist/generators/index.js +2 -1
  41. package/dist/generators/mcp-runtime-template.d.ts.map +1 -1
  42. package/dist/generators/mcp-runtime-template.js +11 -5
  43. package/dist/generators/mcp-runtime-template.js.map +1 -1
  44. package/dist/generators/mcp.d.ts +3 -0
  45. package/dist/generators/mcp.d.ts.map +1 -1
  46. package/dist/generators/mcp.js +18 -9
  47. package/dist/generators/mcp.js.map +1 -1
  48. package/dist/generators/rest.d.ts +7 -1
  49. package/dist/generators/rest.d.ts.map +1 -1
  50. package/dist/generators/rest.js +77 -13
  51. package/dist/generators/rest.js.map +1 -1
  52. package/dist/generators.js +2 -1
  53. package/dist/index.d.ts +1 -0
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +3 -1
  56. package/dist/manifest/generator.js.map +1 -1
  57. package/dist/manifest/manifest-loader.js.map +1 -1
  58. package/dist/manifest/static-manifest.d.ts.map +1 -1
  59. package/dist/manifest/static-manifest.js +7 -3
  60. package/dist/manifest/static-manifest.js.map +1 -1
  61. package/dist/manifest/store.js +1 -1
  62. package/dist/manifest/store.js.map +1 -1
  63. package/dist/manifest/test-manifest-stub.d.ts.map +1 -1
  64. package/dist/manifest/test-manifest-stub.js +1050 -124
  65. package/dist/manifest/test-manifest-stub.js.map +1 -1
  66. package/dist/manifest.json +9 -3
  67. package/dist/mcp-advisor/tools/preview-api-endpoints.d.ts +1 -0
  68. package/dist/mcp-advisor/tools/preview-api-endpoints.d.ts.map +1 -1
  69. package/dist/mcp-advisor/types.d.ts +3 -0
  70. package/dist/mcp-advisor/types.d.ts.map +1 -1
  71. package/dist/migrations/tracker.js +5 -4
  72. package/dist/migrations/tracker.js.map +1 -1
  73. package/dist/migrations/types.d.ts +1 -1
  74. package/dist/migrations/types.d.ts.map +1 -1
  75. package/dist/object.d.ts +17 -8
  76. package/dist/object.d.ts.map +1 -1
  77. package/dist/object.js +42 -26
  78. package/dist/object.js.map +1 -1
  79. package/dist/registry/class-registration.d.ts.map +1 -1
  80. package/dist/registry/class-registration.js +12 -0
  81. package/dist/registry/class-registration.js.map +1 -1
  82. package/dist/registry/shared-state.d.ts +2 -1
  83. package/dist/registry/shared-state.d.ts.map +1 -1
  84. package/dist/registry/shared-state.js.map +1 -1
  85. package/dist/registry/types.d.ts.map +1 -1
  86. package/dist/registry.d.ts.map +1 -1
  87. package/dist/registry.js +1 -1
  88. package/dist/registry.js.map +1 -1
  89. package/dist/runtime/client.d.ts.map +1 -1
  90. package/dist/runtime/client.js.map +1 -1
  91. package/dist/scanner/manifest-generator.js.map +1 -1
  92. package/dist/scanner/types.d.ts +7 -0
  93. package/dist/scanner/types.d.ts.map +1 -1
  94. package/dist/schema/ddl/base-strategy.js +1 -1
  95. package/dist/schema/ddl/base-strategy.js.map +1 -1
  96. package/dist/scripts/migrate-datetime-to-timestamp.ts +1 -1
  97. package/dist/signals/sanitizer.d.ts.map +1 -1
  98. package/dist/signals/sanitizer.js.map +1 -1
  99. package/dist/smrt-knowledge.json +8 -8
  100. package/dist/testing/index.d.ts +1 -0
  101. package/dist/testing/index.d.ts.map +1 -1
  102. package/dist/testing/index.js +2 -1
  103. package/dist/testing/notifications-stub.d.ts +24 -0
  104. package/dist/testing/notifications-stub.d.ts.map +1 -0
  105. package/dist/testing/notifications-stub.js +62 -0
  106. package/dist/testing/notifications-stub.js.map +1 -0
  107. package/dist/testing.js +2 -1
  108. package/dist/tools/tool-generator.js +1 -1
  109. package/dist/tools/tool-generator.js.map +1 -1
  110. package/dist/vite-plugin/changes-route.d.ts +14 -0
  111. package/dist/vite-plugin/changes-route.d.ts.map +1 -1
  112. package/dist/vite-plugin/changes-route.js +2 -2
  113. package/dist/vite-plugin/changes-route.js.map +1 -1
  114. package/dist/vite-plugin/events-route.d.ts +9 -0
  115. package/dist/vite-plugin/events-route.d.ts.map +1 -0
  116. package/dist/vite-plugin/events-route.js +155 -0
  117. package/dist/vite-plugin/events-route.js.map +1 -0
  118. package/dist/vite-plugin/index.d.ts +8 -0
  119. package/dist/vite-plugin/index.d.ts.map +1 -1
  120. package/dist/vite-plugin/index.js +8 -2
  121. package/dist/vite-plugin/index.js.map +1 -1
  122. package/dist/vite-plugin/sveltekit-generator.d.ts +8 -0
  123. package/dist/vite-plugin/sveltekit-generator.d.ts.map +1 -1
  124. package/dist/vite-plugin/sveltekit-generator.js +193 -31
  125. package/dist/vite-plugin/sveltekit-generator.js.map +1 -1
  126. package/dist/vite-plugin/web-collections.js +1 -1
  127. package/dist/vite-plugin/web-collections.js.map +1 -1
  128. package/package.json +12 -12
@@ -1,9 +1,9 @@
1
1
  //#region src/manifest/test-manifest-stub.ts
2
2
  var testManifest = {
3
3
  "version": "1.0.0",
4
- "timestamp": 1783124889429,
4
+ "timestamp": 1783176491746,
5
5
  "packageName": "@happyvertical/smrt-core",
6
- "packageVersion": "0.38.2",
6
+ "packageVersion": "0.38.3",
7
7
  "objects": {
8
8
  "@happyvertical/smrt-core:SmrtClass": {
9
9
  "name": "smrtclass",
@@ -793,7 +793,11 @@ var testManifest = {
793
793
  "toPublicJSON": {
794
794
  "name": "toPublicJSON",
795
795
  "async": false,
796
- "parameters": [],
796
+ "parameters": [{
797
+ "name": "options",
798
+ "type": "PublicJsonOptions",
799
+ "optional": true
800
+ }],
797
801
  "returnType": "Record<string>",
798
802
  "isStatic": false,
799
803
  "isPublic": true
@@ -2047,7 +2051,11 @@ var testManifest = {
2047
2051
  "toPublicJSON": {
2048
2052
  "name": "toPublicJSON",
2049
2053
  "async": false,
2050
- "parameters": [],
2054
+ "parameters": [{
2055
+ "name": "options",
2056
+ "type": "PublicJsonOptions",
2057
+ "optional": true
2058
+ }],
2051
2059
  "returnType": "Record<string>",
2052
2060
  "isStatic": false,
2053
2061
  "isPublic": true
@@ -2591,7 +2599,11 @@ var testManifest = {
2591
2599
  "toPublicJSON": {
2592
2600
  "name": "toPublicJSON",
2593
2601
  "async": false,
2594
- "parameters": [],
2602
+ "parameters": [{
2603
+ "name": "options",
2604
+ "type": "PublicJsonOptions",
2605
+ "optional": true
2606
+ }],
2595
2607
  "returnType": "Record<string>",
2596
2608
  "isStatic": false,
2597
2609
  "isPublic": true
@@ -3341,7 +3353,11 @@ var testManifest = {
3341
3353
  "toPublicJSON": {
3342
3354
  "name": "toPublicJSON",
3343
3355
  "async": false,
3344
- "parameters": [],
3356
+ "parameters": [{
3357
+ "name": "options",
3358
+ "type": "PublicJsonOptions",
3359
+ "optional": true
3360
+ }],
3345
3361
  "returnType": "Record<string>",
3346
3362
  "isStatic": false,
3347
3363
  "isPublic": true
@@ -3875,7 +3891,11 @@ var testManifest = {
3875
3891
  "toPublicJSON": {
3876
3892
  "name": "toPublicJSON",
3877
3893
  "async": false,
3878
- "parameters": [],
3894
+ "parameters": [{
3895
+ "name": "options",
3896
+ "type": "PublicJsonOptions",
3897
+ "optional": true
3898
+ }],
3879
3899
  "returnType": "Record<string>",
3880
3900
  "isStatic": false,
3881
3901
  "isPublic": true
@@ -5238,7 +5258,11 @@ var testManifest = {
5238
5258
  "toPublicJSON": {
5239
5259
  "name": "toPublicJSON",
5240
5260
  "async": false,
5241
- "parameters": [],
5261
+ "parameters": [{
5262
+ "name": "options",
5263
+ "type": "PublicJsonOptions",
5264
+ "optional": true
5265
+ }],
5242
5266
  "returnType": "Record<string>",
5243
5267
  "isStatic": false,
5244
5268
  "isPublic": true
@@ -5815,7 +5839,11 @@ var testManifest = {
5815
5839
  "toPublicJSON": {
5816
5840
  "name": "toPublicJSON",
5817
5841
  "async": false,
5818
- "parameters": [],
5842
+ "parameters": [{
5843
+ "name": "options",
5844
+ "type": "PublicJsonOptions",
5845
+ "optional": true
5846
+ }],
5819
5847
  "returnType": "Record<string>",
5820
5848
  "isStatic": false,
5821
5849
  "isPublic": true
@@ -6385,7 +6413,11 @@ var testManifest = {
6385
6413
  "toPublicJSON": {
6386
6414
  "name": "toPublicJSON",
6387
6415
  "async": false,
6388
- "parameters": [],
6416
+ "parameters": [{
6417
+ "name": "options",
6418
+ "type": "PublicJsonOptions",
6419
+ "optional": true
6420
+ }],
6389
6421
  "returnType": "Record<string>",
6390
6422
  "isStatic": false,
6391
6423
  "isPublic": true
@@ -8233,7 +8265,11 @@ var testManifest = {
8233
8265
  "toPublicJSON": {
8234
8266
  "name": "toPublicJSON",
8235
8267
  "async": false,
8236
- "parameters": [],
8268
+ "parameters": [{
8269
+ "name": "options",
8270
+ "type": "PublicJsonOptions",
8271
+ "optional": true
8272
+ }],
8237
8273
  "returnType": "Record<string>",
8238
8274
  "isStatic": false,
8239
8275
  "isPublic": true
@@ -8762,7 +8798,11 @@ var testManifest = {
8762
8798
  "toPublicJSON": {
8763
8799
  "name": "toPublicJSON",
8764
8800
  "async": false,
8765
- "parameters": [],
8801
+ "parameters": [{
8802
+ "name": "options",
8803
+ "type": "PublicJsonOptions",
8804
+ "optional": true
8805
+ }],
8766
8806
  "returnType": "Record<string>",
8767
8807
  "isStatic": false,
8768
8808
  "isPublic": true
@@ -9301,7 +9341,11 @@ var testManifest = {
9301
9341
  "toPublicJSON": {
9302
9342
  "name": "toPublicJSON",
9303
9343
  "async": false,
9304
- "parameters": [],
9344
+ "parameters": [{
9345
+ "name": "options",
9346
+ "type": "PublicJsonOptions",
9347
+ "optional": true
9348
+ }],
9305
9349
  "returnType": "Record<string>",
9306
9350
  "isStatic": false,
9307
9351
  "isPublic": true
@@ -9843,7 +9887,11 @@ var testManifest = {
9843
9887
  "toPublicJSON": {
9844
9888
  "name": "toPublicJSON",
9845
9889
  "async": false,
9846
- "parameters": [],
9890
+ "parameters": [{
9891
+ "name": "options",
9892
+ "type": "PublicJsonOptions",
9893
+ "optional": true
9894
+ }],
9847
9895
  "returnType": "Record<string>",
9848
9896
  "isStatic": false,
9849
9897
  "isPublic": true
@@ -10385,7 +10433,11 @@ var testManifest = {
10385
10433
  "toPublicJSON": {
10386
10434
  "name": "toPublicJSON",
10387
10435
  "async": false,
10388
- "parameters": [],
10436
+ "parameters": [{
10437
+ "name": "options",
10438
+ "type": "PublicJsonOptions",
10439
+ "optional": true
10440
+ }],
10389
10441
  "returnType": "Record<string>",
10390
10442
  "isStatic": false,
10391
10443
  "isPublic": true
@@ -12552,7 +12604,11 @@ var testManifest = {
12552
12604
  "toPublicJSON": {
12553
12605
  "name": "toPublicJSON",
12554
12606
  "async": false,
12555
- "parameters": [],
12607
+ "parameters": [{
12608
+ "name": "options",
12609
+ "type": "PublicJsonOptions",
12610
+ "optional": true
12611
+ }],
12556
12612
  "returnType": "Record<string>",
12557
12613
  "isStatic": false,
12558
12614
  "isPublic": true
@@ -13084,7 +13140,11 @@ var testManifest = {
13084
13140
  "toPublicJSON": {
13085
13141
  "name": "toPublicJSON",
13086
13142
  "async": false,
13087
- "parameters": [],
13143
+ "parameters": [{
13144
+ "name": "options",
13145
+ "type": "PublicJsonOptions",
13146
+ "optional": true
13147
+ }],
13088
13148
  "returnType": "Record<string>",
13089
13149
  "isStatic": false,
13090
13150
  "isPublic": true
@@ -13621,7 +13681,11 @@ var testManifest = {
13621
13681
  "toPublicJSON": {
13622
13682
  "name": "toPublicJSON",
13623
13683
  "async": false,
13624
- "parameters": [],
13684
+ "parameters": [{
13685
+ "name": "options",
13686
+ "type": "PublicJsonOptions",
13687
+ "optional": true
13688
+ }],
13625
13689
  "returnType": "Record<string>",
13626
13690
  "isStatic": false,
13627
13691
  "isPublic": true
@@ -15187,7 +15251,11 @@ var testManifest = {
15187
15251
  "toPublicJSON": {
15188
15252
  "name": "toPublicJSON",
15189
15253
  "async": false,
15190
- "parameters": [],
15254
+ "parameters": [{
15255
+ "name": "options",
15256
+ "type": "PublicJsonOptions",
15257
+ "optional": true
15258
+ }],
15191
15259
  "returnType": "Record<string>",
15192
15260
  "isStatic": false,
15193
15261
  "isPublic": true
@@ -15719,7 +15787,11 @@ var testManifest = {
15719
15787
  "toPublicJSON": {
15720
15788
  "name": "toPublicJSON",
15721
15789
  "async": false,
15722
- "parameters": [],
15790
+ "parameters": [{
15791
+ "name": "options",
15792
+ "type": "PublicJsonOptions",
15793
+ "optional": true
15794
+ }],
15723
15795
  "returnType": "Record<string>",
15724
15796
  "isStatic": false,
15725
15797
  "isPublic": true
@@ -16557,7 +16629,11 @@ var testManifest = {
16557
16629
  "toPublicJSON": {
16558
16630
  "name": "toPublicJSON",
16559
16631
  "async": false,
16560
- "parameters": [],
16632
+ "parameters": [{
16633
+ "name": "options",
16634
+ "type": "PublicJsonOptions",
16635
+ "optional": true
16636
+ }],
16561
16637
  "returnType": "Record<string>",
16562
16638
  "isStatic": false,
16563
16639
  "isPublic": true
@@ -17099,7 +17175,11 @@ var testManifest = {
17099
17175
  "toPublicJSON": {
17100
17176
  "name": "toPublicJSON",
17101
17177
  "async": false,
17102
- "parameters": [],
17178
+ "parameters": [{
17179
+ "name": "options",
17180
+ "type": "PublicJsonOptions",
17181
+ "optional": true
17182
+ }],
17103
17183
  "returnType": "Record<string>",
17104
17184
  "isStatic": false,
17105
17185
  "isPublic": true
@@ -17868,7 +17948,11 @@ var testManifest = {
17868
17948
  "toPublicJSON": {
17869
17949
  "name": "toPublicJSON",
17870
17950
  "async": false,
17871
- "parameters": [],
17951
+ "parameters": [{
17952
+ "name": "options",
17953
+ "type": "PublicJsonOptions",
17954
+ "optional": true
17955
+ }],
17872
17956
  "returnType": "Record<string>",
17873
17957
  "isStatic": false,
17874
17958
  "isPublic": true
@@ -18413,7 +18497,11 @@ var testManifest = {
18413
18497
  "toPublicJSON": {
18414
18498
  "name": "toPublicJSON",
18415
18499
  "async": false,
18416
- "parameters": [],
18500
+ "parameters": [{
18501
+ "name": "options",
18502
+ "type": "PublicJsonOptions",
18503
+ "optional": true
18504
+ }],
18417
18505
  "returnType": "Record<string>",
18418
18506
  "isStatic": false,
18419
18507
  "isPublic": true
@@ -19008,6 +19096,182 @@ var testManifest = {
19008
19096
  "version": "5a79bc9a"
19009
19097
  }
19010
19098
  },
19099
+ "@happyvertical/smrt-core:ReadPermission1565Child": {
19100
+ "name": "readpermission1565child",
19101
+ "className": "ReadPermission1565Child",
19102
+ "qualifiedName": "@happyvertical/smrt-core:ReadPermission1565Child",
19103
+ "collection": "readpermission1565childs",
19104
+ "filePath": "packages/core/src/__tests__/issue-1565-read-permission-fields.test.ts",
19105
+ "packageName": "@happyvertical/smrt-core",
19106
+ "fields": {
19107
+ "label": {
19108
+ "type": "text",
19109
+ "required": false,
19110
+ "_meta": {}
19111
+ },
19112
+ "internalNote": {
19113
+ "type": "text",
19114
+ "required": false,
19115
+ "_meta": { "readPermission": "children.read.internal" },
19116
+ "readPermission": "children.read.internal"
19117
+ }
19118
+ },
19119
+ "methods": {},
19120
+ "decoratorConfig": {},
19121
+ "extends": "SmrtObject",
19122
+ "exportName": "ReadPermission1565Child",
19123
+ "collectionExportName": "ReadPermission1565ChildCollection",
19124
+ "schema": {
19125
+ "tableName": "read_permission1565children",
19126
+ "ddl": "CREATE TABLE IF NOT EXISTS \"read_permission1565children\" (\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 \"label\" TEXT,\n \"internal_note\" TEXT\n);",
19127
+ "columns": {
19128
+ "id": {
19129
+ "type": "UUID",
19130
+ "primaryKey": true,
19131
+ "referenceKind": "id",
19132
+ "notNull": true
19133
+ },
19134
+ "slug": {
19135
+ "type": "TEXT",
19136
+ "notNull": true
19137
+ },
19138
+ "context": {
19139
+ "type": "TEXT",
19140
+ "notNull": true,
19141
+ "default": ""
19142
+ },
19143
+ "created_at": {
19144
+ "type": "TIMESTAMP",
19145
+ "notNull": true,
19146
+ "default": "current_timestamp"
19147
+ },
19148
+ "updated_at": {
19149
+ "type": "TIMESTAMP",
19150
+ "notNull": true,
19151
+ "default": "current_timestamp"
19152
+ },
19153
+ "label": {
19154
+ "type": "TEXT",
19155
+ "notNull": false,
19156
+ "unique": false
19157
+ },
19158
+ "internal_note": {
19159
+ "type": "TEXT",
19160
+ "notNull": false,
19161
+ "unique": false
19162
+ }
19163
+ },
19164
+ "indexes": [{
19165
+ "name": "read_permission1565children_id_idx",
19166
+ "columns": ["id"]
19167
+ }, {
19168
+ "name": "read_permission1565children_slug_context_idx",
19169
+ "columns": ["slug", "context"],
19170
+ "unique": true
19171
+ }],
19172
+ "version": "45f95f37"
19173
+ }
19174
+ },
19175
+ "@happyvertical/smrt-core:ReadPermission1565Product": {
19176
+ "name": "readpermission1565product",
19177
+ "className": "ReadPermission1565Product",
19178
+ "qualifiedName": "@happyvertical/smrt-core:ReadPermission1565Product",
19179
+ "collection": "readpermission1565products",
19180
+ "filePath": "packages/core/src/__tests__/issue-1565-read-permission-fields.test.ts",
19181
+ "packageName": "@happyvertical/smrt-core",
19182
+ "fields": {
19183
+ "name": {
19184
+ "type": "text",
19185
+ "required": false,
19186
+ "_meta": {}
19187
+ },
19188
+ "wholesalePrice": {
19189
+ "type": "decimal",
19190
+ "required": false,
19191
+ "_meta": { "readPermission": "products.read.internal" },
19192
+ "readPermission": "products.read.internal"
19193
+ },
19194
+ "sensitiveInternalCode": {
19195
+ "type": "text",
19196
+ "required": false,
19197
+ "_meta": {
19198
+ "readPermission": "products.read.internal",
19199
+ "sensitive": true
19200
+ },
19201
+ "sensitive": true,
19202
+ "readPermission": "products.read.internal"
19203
+ },
19204
+ "child": {
19205
+ "type": "json",
19206
+ "required": false
19207
+ }
19208
+ },
19209
+ "methods": {},
19210
+ "decoratorConfig": {},
19211
+ "extends": "SmrtObject",
19212
+ "exportName": "ReadPermission1565Product",
19213
+ "collectionExportName": "ReadPermission1565ProductCollection",
19214
+ "schema": {
19215
+ "tableName": "read_permission1565products",
19216
+ "ddl": "CREATE TABLE IF NOT EXISTS \"read_permission1565products\" (\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 \"name\" TEXT,\n \"wholesale_price\" REAL,\n \"sensitive_internal_code\" TEXT,\n \"child\" JSON\n);",
19217
+ "columns": {
19218
+ "id": {
19219
+ "type": "UUID",
19220
+ "primaryKey": true,
19221
+ "referenceKind": "id",
19222
+ "notNull": true
19223
+ },
19224
+ "slug": {
19225
+ "type": "TEXT",
19226
+ "notNull": true
19227
+ },
19228
+ "context": {
19229
+ "type": "TEXT",
19230
+ "notNull": true,
19231
+ "default": ""
19232
+ },
19233
+ "created_at": {
19234
+ "type": "TIMESTAMP",
19235
+ "notNull": true,
19236
+ "default": "current_timestamp"
19237
+ },
19238
+ "updated_at": {
19239
+ "type": "TIMESTAMP",
19240
+ "notNull": true,
19241
+ "default": "current_timestamp"
19242
+ },
19243
+ "name": {
19244
+ "type": "TEXT",
19245
+ "notNull": false,
19246
+ "unique": false
19247
+ },
19248
+ "wholesale_price": {
19249
+ "type": "REAL",
19250
+ "notNull": false,
19251
+ "unique": false
19252
+ },
19253
+ "sensitive_internal_code": {
19254
+ "type": "TEXT",
19255
+ "notNull": false,
19256
+ "unique": false
19257
+ },
19258
+ "child": {
19259
+ "type": "JSON",
19260
+ "notNull": false,
19261
+ "unique": false
19262
+ }
19263
+ },
19264
+ "indexes": [{
19265
+ "name": "read_permission1565products_id_idx",
19266
+ "columns": ["id"]
19267
+ }, {
19268
+ "name": "read_permission1565products_slug_context_idx",
19269
+ "columns": ["slug", "context"],
19270
+ "unique": true
19271
+ }],
19272
+ "version": "cc542ac6"
19273
+ }
19274
+ },
19011
19275
  "@happyvertical/smrt-core:Issue1567Product": {
19012
19276
  "name": "issue1567product",
19013
19277
  "className": "Issue1567Product",
@@ -19801,54 +20065,257 @@ var testManifest = {
19801
20065
  }
19802
20066
  },
19803
20067
  "indexes": [{
19804
- "name": "transient_test_id_idx",
20068
+ "name": "transient_test_id_idx",
20069
+ "columns": ["id"]
20070
+ }, {
20071
+ "name": "transient_test_slug_context_idx",
20072
+ "columns": ["slug", "context"],
20073
+ "unique": true
20074
+ }],
20075
+ "version": "65c40d57"
20076
+ }
20077
+ },
20078
+ "@happyvertical/smrt-core:WithTransientOption": {
20079
+ "name": "withtransientoption",
20080
+ "className": "WithTransientOption",
20081
+ "qualifiedName": "@happyvertical/smrt-core:WithTransientOption",
20082
+ "collection": "withtransientoptions",
20083
+ "filePath": "packages/core/src/__tests__/issue-176-transient-fields.test.ts",
20084
+ "packageName": "@happyvertical/smrt-core",
20085
+ "fields": {
20086
+ "name": {
20087
+ "type": "text",
20088
+ "required": true,
20089
+ "default": "",
20090
+ "_meta": { "required": true }
20091
+ },
20092
+ "temp": {
20093
+ "type": "text",
20094
+ "required": false,
20095
+ "default": "temporary",
20096
+ "_meta": {
20097
+ "transient": true,
20098
+ "default": "temporary"
20099
+ },
20100
+ "transient": true
20101
+ }
20102
+ },
20103
+ "methods": {},
20104
+ "decoratorConfig": {},
20105
+ "extends": "SmrtObject",
20106
+ "exportName": "WithTransientOption",
20107
+ "collectionExportName": "WithTransientOptionCollection",
20108
+ "validationRules": [{
20109
+ "field": "name",
20110
+ "rule": "required",
20111
+ "fieldType": "text"
20112
+ }],
20113
+ "schema": {
20114
+ "tableName": "with_transient_options",
20115
+ "ddl": "CREATE TABLE IF NOT EXISTS \"with_transient_options\" (\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 \"name\" TEXT NOT NULL DEFAULT ''\n);",
20116
+ "columns": {
20117
+ "id": {
20118
+ "type": "UUID",
20119
+ "primaryKey": true,
20120
+ "referenceKind": "id",
20121
+ "notNull": true
20122
+ },
20123
+ "slug": {
20124
+ "type": "TEXT",
20125
+ "notNull": true
20126
+ },
20127
+ "context": {
20128
+ "type": "TEXT",
20129
+ "notNull": true,
20130
+ "default": ""
20131
+ },
20132
+ "created_at": {
20133
+ "type": "TIMESTAMP",
20134
+ "notNull": true,
20135
+ "default": "current_timestamp"
20136
+ },
20137
+ "updated_at": {
20138
+ "type": "TIMESTAMP",
20139
+ "notNull": true,
20140
+ "default": "current_timestamp"
20141
+ },
20142
+ "name": {
20143
+ "type": "TEXT",
20144
+ "notNull": true,
20145
+ "unique": false,
20146
+ "default": ""
20147
+ }
20148
+ },
20149
+ "indexes": [{
20150
+ "name": "with_transient_options_id_idx",
20151
+ "columns": ["id"]
20152
+ }, {
20153
+ "name": "with_transient_options_slug_context_idx",
20154
+ "columns": ["slug", "context"],
20155
+ "unique": true
20156
+ }],
20157
+ "version": "e3054f9f"
20158
+ }
20159
+ },
20160
+ "@happyvertical/smrt-core:EventsWidget": {
20161
+ "name": "eventswidget",
20162
+ "className": "EventsWidget",
20163
+ "qualifiedName": "@happyvertical/smrt-core:EventsWidget",
20164
+ "collection": "eventswidgets",
20165
+ "filePath": "packages/core/src/__tests__/issue-1763-events-route.test.ts",
20166
+ "packageName": "@happyvertical/smrt-core",
20167
+ "fields": {
20168
+ "name": {
20169
+ "type": "text",
20170
+ "required": false,
20171
+ "default": ""
20172
+ },
20173
+ "secret": {
20174
+ "type": "text",
20175
+ "required": false,
20176
+ "default": ""
20177
+ }
20178
+ },
20179
+ "methods": {},
20180
+ "decoratorConfig": {},
20181
+ "extends": "SmrtObject",
20182
+ "exportName": "EventsWidget",
20183
+ "collectionExportName": "EventsWidgetCollection",
20184
+ "schema": {
20185
+ "tableName": "events_widgets",
20186
+ "ddl": "CREATE TABLE IF NOT EXISTS \"events_widgets\" (\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 \"name\" TEXT DEFAULT '',\n \"secret\" TEXT DEFAULT ''\n);",
20187
+ "columns": {
20188
+ "id": {
20189
+ "type": "UUID",
20190
+ "primaryKey": true,
20191
+ "referenceKind": "id",
20192
+ "notNull": true
20193
+ },
20194
+ "slug": {
20195
+ "type": "TEXT",
20196
+ "notNull": true
20197
+ },
20198
+ "context": {
20199
+ "type": "TEXT",
20200
+ "notNull": true,
20201
+ "default": ""
20202
+ },
20203
+ "created_at": {
20204
+ "type": "TIMESTAMP",
20205
+ "notNull": true,
20206
+ "default": "current_timestamp"
20207
+ },
20208
+ "updated_at": {
20209
+ "type": "TIMESTAMP",
20210
+ "notNull": true,
20211
+ "default": "current_timestamp"
20212
+ },
20213
+ "name": {
20214
+ "type": "TEXT",
20215
+ "notNull": false,
20216
+ "unique": false,
20217
+ "default": ""
20218
+ },
20219
+ "secret": {
20220
+ "type": "TEXT",
20221
+ "notNull": false,
20222
+ "unique": false,
20223
+ "default": ""
20224
+ }
20225
+ },
20226
+ "indexes": [{
20227
+ "name": "events_widgets_id_idx",
20228
+ "columns": ["id"]
20229
+ }, {
20230
+ "name": "events_widgets_slug_context_idx",
20231
+ "columns": ["slug", "context"],
20232
+ "unique": true
20233
+ }],
20234
+ "version": "24203293"
20235
+ }
20236
+ },
20237
+ "@happyvertical/smrt-core:EventsWidgetCollection": {
20238
+ "name": "eventswidgetcollection",
20239
+ "className": "EventsWidgetCollection",
20240
+ "qualifiedName": "@happyvertical/smrt-core:EventsWidgetCollection",
20241
+ "collection": "eventswidgets",
20242
+ "filePath": "packages/core/src/__tests__/issue-1763-events-route.test.ts",
20243
+ "packageName": "@happyvertical/smrt-core",
20244
+ "fields": {},
20245
+ "methods": {},
20246
+ "decoratorConfig": {},
20247
+ "extends": "SmrtCollection",
20248
+ "extendsTypeArg": "EventsWidget",
20249
+ "exportName": "EventsWidgetCollection",
20250
+ "collectionExportName": "EventsWidgetCollectionCollection",
20251
+ "schema": {
20252
+ "tableName": "events_widget_collections",
20253
+ "ddl": "CREATE TABLE IF NOT EXISTS \"events_widget_collections\" (\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);",
20254
+ "columns": {
20255
+ "id": {
20256
+ "type": "UUID",
20257
+ "primaryKey": true,
20258
+ "referenceKind": "id",
20259
+ "notNull": true
20260
+ },
20261
+ "slug": {
20262
+ "type": "TEXT",
20263
+ "notNull": true
20264
+ },
20265
+ "context": {
20266
+ "type": "TEXT",
20267
+ "notNull": true,
20268
+ "default": ""
20269
+ },
20270
+ "created_at": {
20271
+ "type": "TIMESTAMP",
20272
+ "notNull": true,
20273
+ "default": "current_timestamp"
20274
+ },
20275
+ "updated_at": {
20276
+ "type": "TIMESTAMP",
20277
+ "notNull": true,
20278
+ "default": "current_timestamp"
20279
+ }
20280
+ },
20281
+ "indexes": [{
20282
+ "name": "events_widget_collections_id_idx",
19805
20283
  "columns": ["id"]
19806
20284
  }, {
19807
- "name": "transient_test_slug_context_idx",
20285
+ "name": "events_widget_collections_slug_context_idx",
19808
20286
  "columns": ["slug", "context"],
19809
20287
  "unique": true
19810
20288
  }],
19811
- "version": "65c40d57"
20289
+ "version": "a3cf6af6"
19812
20290
  }
19813
20291
  },
19814
- "@happyvertical/smrt-core:WithTransientOption": {
19815
- "name": "withtransientoption",
19816
- "className": "WithTransientOption",
19817
- "qualifiedName": "@happyvertical/smrt-core:WithTransientOption",
19818
- "collection": "withtransientoptions",
19819
- "filePath": "packages/core/src/__tests__/issue-176-transient-fields.test.ts",
20292
+ "@happyvertical/smrt-core:EventsTenantDoc": {
20293
+ "name": "eventstenantdoc",
20294
+ "className": "EventsTenantDoc",
20295
+ "qualifiedName": "@happyvertical/smrt-core:EventsTenantDoc",
20296
+ "collection": "eventstenantdocs",
20297
+ "filePath": "packages/core/src/__tests__/issue-1763-events-route.test.ts",
19820
20298
  "packageName": "@happyvertical/smrt-core",
19821
20299
  "fields": {
19822
- "name": {
20300
+ "title": {
19823
20301
  "type": "text",
19824
- "required": true,
19825
- "default": "",
19826
- "_meta": { "required": true }
20302
+ "required": false,
20303
+ "default": ""
19827
20304
  },
19828
- "temp": {
20305
+ "tenantId": {
19829
20306
  "type": "text",
19830
20307
  "required": false,
19831
- "default": "temporary",
19832
- "_meta": {
19833
- "transient": true,
19834
- "default": "temporary"
19835
- },
19836
- "transient": true
20308
+ "default": ""
19837
20309
  }
19838
20310
  },
19839
20311
  "methods": {},
19840
20312
  "decoratorConfig": {},
19841
20313
  "extends": "SmrtObject",
19842
- "exportName": "WithTransientOption",
19843
- "collectionExportName": "WithTransientOptionCollection",
19844
- "validationRules": [{
19845
- "field": "name",
19846
- "rule": "required",
19847
- "fieldType": "text"
19848
- }],
20314
+ "exportName": "EventsTenantDoc",
20315
+ "collectionExportName": "EventsTenantDocCollection",
19849
20316
  "schema": {
19850
- "tableName": "with_transient_options",
19851
- "ddl": "CREATE TABLE IF NOT EXISTS \"with_transient_options\" (\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 \"name\" TEXT NOT NULL DEFAULT ''\n);",
20317
+ "tableName": "events_tenant_docs",
20318
+ "ddl": "CREATE TABLE IF NOT EXISTS \"events_tenant_docs\" (\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 \"title\" TEXT DEFAULT '',\n \"tenant_id\" TEXT DEFAULT ''\n);",
19852
20319
  "columns": {
19853
20320
  "id": {
19854
20321
  "type": "UUID",
@@ -19875,22 +20342,83 @@ var testManifest = {
19875
20342
  "notNull": true,
19876
20343
  "default": "current_timestamp"
19877
20344
  },
19878
- "name": {
20345
+ "title": {
19879
20346
  "type": "TEXT",
19880
- "notNull": true,
20347
+ "notNull": false,
20348
+ "unique": false,
20349
+ "default": ""
20350
+ },
20351
+ "tenant_id": {
20352
+ "type": "TEXT",
20353
+ "notNull": false,
19881
20354
  "unique": false,
19882
20355
  "default": ""
19883
20356
  }
19884
20357
  },
19885
20358
  "indexes": [{
19886
- "name": "with_transient_options_id_idx",
20359
+ "name": "events_tenant_docs_id_idx",
19887
20360
  "columns": ["id"]
19888
20361
  }, {
19889
- "name": "with_transient_options_slug_context_idx",
20362
+ "name": "events_tenant_docs_slug_context_idx",
19890
20363
  "columns": ["slug", "context"],
19891
20364
  "unique": true
19892
20365
  }],
19893
- "version": "e3054f9f"
20366
+ "version": "03368625"
20367
+ }
20368
+ },
20369
+ "@happyvertical/smrt-core:EventsTenantDocCollection": {
20370
+ "name": "eventstenantdoccollection",
20371
+ "className": "EventsTenantDocCollection",
20372
+ "qualifiedName": "@happyvertical/smrt-core:EventsTenantDocCollection",
20373
+ "collection": "eventstenantdocs",
20374
+ "filePath": "packages/core/src/__tests__/issue-1763-events-route.test.ts",
20375
+ "packageName": "@happyvertical/smrt-core",
20376
+ "fields": {},
20377
+ "methods": {},
20378
+ "decoratorConfig": {},
20379
+ "extends": "SmrtCollection",
20380
+ "extendsTypeArg": "EventsTenantDoc",
20381
+ "exportName": "EventsTenantDocCollection",
20382
+ "collectionExportName": "EventsTenantDocCollectionCollection",
20383
+ "schema": {
20384
+ "tableName": "events_tenant_doc_collections",
20385
+ "ddl": "CREATE TABLE IF NOT EXISTS \"events_tenant_doc_collections\" (\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);",
20386
+ "columns": {
20387
+ "id": {
20388
+ "type": "UUID",
20389
+ "primaryKey": true,
20390
+ "referenceKind": "id",
20391
+ "notNull": true
20392
+ },
20393
+ "slug": {
20394
+ "type": "TEXT",
20395
+ "notNull": true
20396
+ },
20397
+ "context": {
20398
+ "type": "TEXT",
20399
+ "notNull": true,
20400
+ "default": ""
20401
+ },
20402
+ "created_at": {
20403
+ "type": "TIMESTAMP",
20404
+ "notNull": true,
20405
+ "default": "current_timestamp"
20406
+ },
20407
+ "updated_at": {
20408
+ "type": "TIMESTAMP",
20409
+ "notNull": true,
20410
+ "default": "current_timestamp"
20411
+ }
20412
+ },
20413
+ "indexes": [{
20414
+ "name": "events_tenant_doc_collections_id_idx",
20415
+ "columns": ["id"]
20416
+ }, {
20417
+ "name": "events_tenant_doc_collections_slug_context_idx",
20418
+ "columns": ["slug", "context"],
20419
+ "unique": true
20420
+ }],
20421
+ "version": "f09a59f2"
19894
20422
  }
19895
20423
  },
19896
20424
  "@happyvertical/smrt-core:Etag1765Widget": {
@@ -21396,7 +21924,11 @@ var testManifest = {
21396
21924
  "toPublicJSON": {
21397
21925
  "name": "toPublicJSON",
21398
21926
  "async": false,
21399
- "parameters": [],
21927
+ "parameters": [{
21928
+ "name": "options",
21929
+ "type": "PublicJsonOptions",
21930
+ "optional": true
21931
+ }],
21400
21932
  "returnType": "Record<string>",
21401
21933
  "isStatic": false,
21402
21934
  "isPublic": true
@@ -21974,7 +22506,11 @@ var testManifest = {
21974
22506
  "toPublicJSON": {
21975
22507
  "name": "toPublicJSON",
21976
22508
  "async": false,
21977
- "parameters": [],
22509
+ "parameters": [{
22510
+ "name": "options",
22511
+ "type": "PublicJsonOptions",
22512
+ "optional": true
22513
+ }],
21978
22514
  "returnType": "Record<string>",
21979
22515
  "isStatic": false,
21980
22516
  "isPublic": true
@@ -23383,7 +23919,11 @@ var testManifest = {
23383
23919
  "toPublicJSON": {
23384
23920
  "name": "toPublicJSON",
23385
23921
  "async": false,
23386
- "parameters": [],
23922
+ "parameters": [{
23923
+ "name": "options",
23924
+ "type": "PublicJsonOptions",
23925
+ "optional": true
23926
+ }],
23387
23927
  "returnType": "Record<string>",
23388
23928
  "isStatic": false,
23389
23929
  "isPublic": true
@@ -23987,7 +24527,11 @@ var testManifest = {
23987
24527
  "toPublicJSON": {
23988
24528
  "name": "toPublicJSON",
23989
24529
  "async": false,
23990
- "parameters": [],
24530
+ "parameters": [{
24531
+ "name": "options",
24532
+ "type": "PublicJsonOptions",
24533
+ "optional": true
24534
+ }],
23991
24535
  "returnType": "Record<string>",
23992
24536
  "isStatic": false,
23993
24537
  "isPublic": true
@@ -24594,7 +25138,11 @@ var testManifest = {
24594
25138
  "toPublicJSON": {
24595
25139
  "name": "toPublicJSON",
24596
25140
  "async": false,
24597
- "parameters": [],
25141
+ "parameters": [{
25142
+ "name": "options",
25143
+ "type": "PublicJsonOptions",
25144
+ "optional": true
25145
+ }],
24598
25146
  "returnType": "Record<string>",
24599
25147
  "isStatic": false,
24600
25148
  "isPublic": true
@@ -25168,7 +25716,11 @@ var testManifest = {
25168
25716
  "toPublicJSON": {
25169
25717
  "name": "toPublicJSON",
25170
25718
  "async": false,
25171
- "parameters": [],
25719
+ "parameters": [{
25720
+ "name": "options",
25721
+ "type": "PublicJsonOptions",
25722
+ "optional": true
25723
+ }],
25172
25724
  "returnType": "Record<string>",
25173
25725
  "isStatic": false,
25174
25726
  "isPublic": true
@@ -25973,7 +26525,11 @@ var testManifest = {
25973
26525
  "toPublicJSON": {
25974
26526
  "name": "toPublicJSON",
25975
26527
  "async": false,
25976
- "parameters": [],
26528
+ "parameters": [{
26529
+ "name": "options",
26530
+ "type": "PublicJsonOptions",
26531
+ "optional": true
26532
+ }],
25977
26533
  "returnType": "Record<string>",
25978
26534
  "isStatic": false,
25979
26535
  "isPublic": true
@@ -26540,7 +27096,11 @@ var testManifest = {
26540
27096
  "toPublicJSON": {
26541
27097
  "name": "toPublicJSON",
26542
27098
  "async": false,
26543
- "parameters": [],
27099
+ "parameters": [{
27100
+ "name": "options",
27101
+ "type": "PublicJsonOptions",
27102
+ "optional": true
27103
+ }],
26544
27104
  "returnType": "Record<string>",
26545
27105
  "isStatic": false,
26546
27106
  "isPublic": true
@@ -27101,7 +27661,11 @@ var testManifest = {
27101
27661
  "toPublicJSON": {
27102
27662
  "name": "toPublicJSON",
27103
27663
  "async": false,
27104
- "parameters": [],
27664
+ "parameters": [{
27665
+ "name": "options",
27666
+ "type": "PublicJsonOptions",
27667
+ "optional": true
27668
+ }],
27105
27669
  "returnType": "Record<string>",
27106
27670
  "isStatic": false,
27107
27671
  "isPublic": true
@@ -27670,7 +28234,11 @@ var testManifest = {
27670
28234
  "toPublicJSON": {
27671
28235
  "name": "toPublicJSON",
27672
28236
  "async": false,
27673
- "parameters": [],
28237
+ "parameters": [{
28238
+ "name": "options",
28239
+ "type": "PublicJsonOptions",
28240
+ "optional": true
28241
+ }],
27674
28242
  "returnType": "Record<string>",
27675
28243
  "isStatic": false,
27676
28244
  "isPublic": true
@@ -28846,7 +29414,11 @@ var testManifest = {
28846
29414
  "toPublicJSON": {
28847
29415
  "name": "toPublicJSON",
28848
29416
  "async": false,
28849
- "parameters": [],
29417
+ "parameters": [{
29418
+ "name": "options",
29419
+ "type": "PublicJsonOptions",
29420
+ "optional": true
29421
+ }],
28850
29422
  "returnType": "Record<string>",
28851
29423
  "isStatic": false,
28852
29424
  "isPublic": true
@@ -29466,7 +30038,11 @@ var testManifest = {
29466
30038
  "toPublicJSON": {
29467
30039
  "name": "toPublicJSON",
29468
30040
  "async": false,
29469
- "parameters": [],
30041
+ "parameters": [{
30042
+ "name": "options",
30043
+ "type": "PublicJsonOptions",
30044
+ "optional": true
30045
+ }],
29470
30046
  "returnType": "Record<string>",
29471
30047
  "isStatic": false,
29472
30048
  "isPublic": true
@@ -30129,7 +30705,11 @@ var testManifest = {
30129
30705
  "toPublicJSON": {
30130
30706
  "name": "toPublicJSON",
30131
30707
  "async": false,
30132
- "parameters": [],
30708
+ "parameters": [{
30709
+ "name": "options",
30710
+ "type": "PublicJsonOptions",
30711
+ "optional": true
30712
+ }],
30133
30713
  "returnType": "Record<string>",
30134
30714
  "isStatic": false,
30135
30715
  "isPublic": true
@@ -30773,7 +31353,11 @@ var testManifest = {
30773
31353
  "toPublicJSON": {
30774
31354
  "name": "toPublicJSON",
30775
31355
  "async": false,
30776
- "parameters": [],
31356
+ "parameters": [{
31357
+ "name": "options",
31358
+ "type": "PublicJsonOptions",
31359
+ "optional": true
31360
+ }],
30777
31361
  "returnType": "Record<string>",
30778
31362
  "isStatic": false,
30779
31363
  "isPublic": true
@@ -31428,7 +32012,11 @@ var testManifest = {
31428
32012
  "toPublicJSON": {
31429
32013
  "name": "toPublicJSON",
31430
32014
  "async": false,
31431
- "parameters": [],
32015
+ "parameters": [{
32016
+ "name": "options",
32017
+ "type": "PublicJsonOptions",
32018
+ "optional": true
32019
+ }],
31432
32020
  "returnType": "Record<string>",
31433
32021
  "isStatic": false,
31434
32022
  "isPublic": true
@@ -32068,7 +32656,11 @@ var testManifest = {
32068
32656
  "toPublicJSON": {
32069
32657
  "name": "toPublicJSON",
32070
32658
  "async": false,
32071
- "parameters": [],
32659
+ "parameters": [{
32660
+ "name": "options",
32661
+ "type": "PublicJsonOptions",
32662
+ "optional": true
32663
+ }],
32072
32664
  "returnType": "Record<string>",
32073
32665
  "isStatic": false,
32074
32666
  "isPublic": true
@@ -32693,7 +33285,11 @@ var testManifest = {
32693
33285
  "toPublicJSON": {
32694
33286
  "name": "toPublicJSON",
32695
33287
  "async": false,
32696
- "parameters": [],
33288
+ "parameters": [{
33289
+ "name": "options",
33290
+ "type": "PublicJsonOptions",
33291
+ "optional": true
33292
+ }],
32697
33293
  "returnType": "Record<string>",
32698
33294
  "isStatic": false,
32699
33295
  "isPublic": true
@@ -33270,7 +33866,11 @@ var testManifest = {
33270
33866
  "toPublicJSON": {
33271
33867
  "name": "toPublicJSON",
33272
33868
  "async": false,
33273
- "parameters": [],
33869
+ "parameters": [{
33870
+ "name": "options",
33871
+ "type": "PublicJsonOptions",
33872
+ "optional": true
33873
+ }],
33274
33874
  "returnType": "Record<string>",
33275
33875
  "isStatic": false,
33276
33876
  "isPublic": true
@@ -33840,7 +34440,11 @@ var testManifest = {
33840
34440
  "toPublicJSON": {
33841
34441
  "name": "toPublicJSON",
33842
34442
  "async": false,
33843
- "parameters": [],
34443
+ "parameters": [{
34444
+ "name": "options",
34445
+ "type": "PublicJsonOptions",
34446
+ "optional": true
34447
+ }],
33844
34448
  "returnType": "Record<string>",
33845
34449
  "isStatic": false,
33846
34450
  "isPublic": true
@@ -34629,7 +35233,11 @@ var testManifest = {
34629
35233
  "toPublicJSON": {
34630
35234
  "name": "toPublicJSON",
34631
35235
  "async": false,
34632
- "parameters": [],
35236
+ "parameters": [{
35237
+ "name": "options",
35238
+ "type": "PublicJsonOptions",
35239
+ "optional": true
35240
+ }],
34633
35241
  "returnType": "Record<string>",
34634
35242
  "isStatic": false,
34635
35243
  "isPublic": true
@@ -35186,7 +35794,11 @@ var testManifest = {
35186
35794
  "toPublicJSON": {
35187
35795
  "name": "toPublicJSON",
35188
35796
  "async": false,
35189
- "parameters": [],
35797
+ "parameters": [{
35798
+ "name": "options",
35799
+ "type": "PublicJsonOptions",
35800
+ "optional": true
35801
+ }],
35190
35802
  "returnType": "Record<string>",
35191
35803
  "isStatic": false,
35192
35804
  "isPublic": true
@@ -35738,7 +36350,11 @@ var testManifest = {
35738
36350
  "toPublicJSON": {
35739
36351
  "name": "toPublicJSON",
35740
36352
  "async": false,
35741
- "parameters": [],
36353
+ "parameters": [{
36354
+ "name": "options",
36355
+ "type": "PublicJsonOptions",
36356
+ "optional": true
36357
+ }],
35742
36358
  "returnType": "Record<string>",
35743
36359
  "isStatic": false,
35744
36360
  "isPublic": true
@@ -36835,7 +37451,11 @@ var testManifest = {
36835
37451
  "toPublicJSON": {
36836
37452
  "name": "toPublicJSON",
36837
37453
  "async": false,
36838
- "parameters": [],
37454
+ "parameters": [{
37455
+ "name": "options",
37456
+ "type": "PublicJsonOptions",
37457
+ "optional": true
37458
+ }],
36839
37459
  "returnType": "Record<string>",
36840
37460
  "isStatic": false,
36841
37461
  "isPublic": true
@@ -37386,7 +38006,11 @@ var testManifest = {
37386
38006
  "toPublicJSON": {
37387
38007
  "name": "toPublicJSON",
37388
38008
  "async": false,
37389
- "parameters": [],
38009
+ "parameters": [{
38010
+ "name": "options",
38011
+ "type": "PublicJsonOptions",
38012
+ "optional": true
38013
+ }],
37390
38014
  "returnType": "Record<string>",
37391
38015
  "isStatic": false,
37392
38016
  "isPublic": true
@@ -37934,7 +38558,11 @@ var testManifest = {
37934
38558
  "toPublicJSON": {
37935
38559
  "name": "toPublicJSON",
37936
38560
  "async": false,
37937
- "parameters": [],
38561
+ "parameters": [{
38562
+ "name": "options",
38563
+ "type": "PublicJsonOptions",
38564
+ "optional": true
38565
+ }],
37938
38566
  "returnType": "Record<string>",
37939
38567
  "isStatic": false,
37940
38568
  "isPublic": true
@@ -40113,7 +40741,11 @@ var testManifest = {
40113
40741
  "toPublicJSON": {
40114
40742
  "name": "toPublicJSON",
40115
40743
  "async": false,
40116
- "parameters": [],
40744
+ "parameters": [{
40745
+ "name": "options",
40746
+ "type": "PublicJsonOptions",
40747
+ "optional": true
40748
+ }],
40117
40749
  "returnType": "Record<string>",
40118
40750
  "isStatic": false,
40119
40751
  "isPublic": true
@@ -40659,7 +41291,11 @@ var testManifest = {
40659
41291
  "toPublicJSON": {
40660
41292
  "name": "toPublicJSON",
40661
41293
  "async": false,
40662
- "parameters": [],
41294
+ "parameters": [{
41295
+ "name": "options",
41296
+ "type": "PublicJsonOptions",
41297
+ "optional": true
41298
+ }],
40663
41299
  "returnType": "Record<string>",
40664
41300
  "isStatic": false,
40665
41301
  "isPublic": true
@@ -41300,7 +41936,11 @@ var testManifest = {
41300
41936
  "toPublicJSON": {
41301
41937
  "name": "toPublicJSON",
41302
41938
  "async": false,
41303
- "parameters": [],
41939
+ "parameters": [{
41940
+ "name": "options",
41941
+ "type": "PublicJsonOptions",
41942
+ "optional": true
41943
+ }],
41304
41944
  "returnType": "Record<string>",
41305
41945
  "isStatic": false,
41306
41946
  "isPublic": true
@@ -41859,7 +42499,11 @@ var testManifest = {
41859
42499
  "toPublicJSON": {
41860
42500
  "name": "toPublicJSON",
41861
42501
  "async": false,
41862
- "parameters": [],
42502
+ "parameters": [{
42503
+ "name": "options",
42504
+ "type": "PublicJsonOptions",
42505
+ "optional": true
42506
+ }],
41863
42507
  "returnType": "Record<string>",
41864
42508
  "isStatic": false,
41865
42509
  "isPublic": true
@@ -42431,7 +43075,11 @@ var testManifest = {
42431
43075
  "toPublicJSON": {
42432
43076
  "name": "toPublicJSON",
42433
43077
  "async": false,
42434
- "parameters": [],
43078
+ "parameters": [{
43079
+ "name": "options",
43080
+ "type": "PublicJsonOptions",
43081
+ "optional": true
43082
+ }],
42435
43083
  "returnType": "Record<string>",
42436
43084
  "isStatic": false,
42437
43085
  "isPublic": true
@@ -42983,7 +43631,11 @@ var testManifest = {
42983
43631
  "toPublicJSON": {
42984
43632
  "name": "toPublicJSON",
42985
43633
  "async": false,
42986
- "parameters": [],
43634
+ "parameters": [{
43635
+ "name": "options",
43636
+ "type": "PublicJsonOptions",
43637
+ "optional": true
43638
+ }],
42987
43639
  "returnType": "Record<string>",
42988
43640
  "isStatic": false,
42989
43641
  "isPublic": true
@@ -43532,7 +44184,11 @@ var testManifest = {
43532
44184
  "toPublicJSON": {
43533
44185
  "name": "toPublicJSON",
43534
44186
  "async": false,
43535
- "parameters": [],
44187
+ "parameters": [{
44188
+ "name": "options",
44189
+ "type": "PublicJsonOptions",
44190
+ "optional": true
44191
+ }],
43536
44192
  "returnType": "Record<string>",
43537
44193
  "isStatic": false,
43538
44194
  "isPublic": true
@@ -44089,7 +44745,11 @@ var testManifest = {
44089
44745
  "toPublicJSON": {
44090
44746
  "name": "toPublicJSON",
44091
44747
  "async": false,
44092
- "parameters": [],
44748
+ "parameters": [{
44749
+ "name": "options",
44750
+ "type": "PublicJsonOptions",
44751
+ "optional": true
44752
+ }],
44093
44753
  "returnType": "Record<string>",
44094
44754
  "isStatic": false,
44095
44755
  "isPublic": true
@@ -44651,7 +45311,11 @@ var testManifest = {
44651
45311
  "toPublicJSON": {
44652
45312
  "name": "toPublicJSON",
44653
45313
  "async": false,
44654
- "parameters": [],
45314
+ "parameters": [{
45315
+ "name": "options",
45316
+ "type": "PublicJsonOptions",
45317
+ "optional": true
45318
+ }],
44655
45319
  "returnType": "Record<string>",
44656
45320
  "isStatic": false,
44657
45321
  "isPublic": true
@@ -45199,7 +45863,11 @@ var testManifest = {
45199
45863
  "toPublicJSON": {
45200
45864
  "name": "toPublicJSON",
45201
45865
  "async": false,
45202
- "parameters": [],
45866
+ "parameters": [{
45867
+ "name": "options",
45868
+ "type": "PublicJsonOptions",
45869
+ "optional": true
45870
+ }],
45203
45871
  "returnType": "Record<string>",
45204
45872
  "isStatic": false,
45205
45873
  "isPublic": true
@@ -45739,7 +46407,11 @@ var testManifest = {
45739
46407
  "toPublicJSON": {
45740
46408
  "name": "toPublicJSON",
45741
46409
  "async": false,
45742
- "parameters": [],
46410
+ "parameters": [{
46411
+ "name": "options",
46412
+ "type": "PublicJsonOptions",
46413
+ "optional": true
46414
+ }],
45743
46415
  "returnType": "Record<string>",
45744
46416
  "isStatic": false,
45745
46417
  "isPublic": true
@@ -46277,7 +46949,11 @@ var testManifest = {
46277
46949
  "toPublicJSON": {
46278
46950
  "name": "toPublicJSON",
46279
46951
  "async": false,
46280
- "parameters": [],
46952
+ "parameters": [{
46953
+ "name": "options",
46954
+ "type": "PublicJsonOptions",
46955
+ "optional": true
46956
+ }],
46281
46957
  "returnType": "Record<string>",
46282
46958
  "isStatic": false,
46283
46959
  "isPublic": true
@@ -46813,7 +47489,11 @@ var testManifest = {
46813
47489
  "toPublicJSON": {
46814
47490
  "name": "toPublicJSON",
46815
47491
  "async": false,
46816
- "parameters": [],
47492
+ "parameters": [{
47493
+ "name": "options",
47494
+ "type": "PublicJsonOptions",
47495
+ "optional": true
47496
+ }],
46817
47497
  "returnType": "Record<string>",
46818
47498
  "isStatic": false,
46819
47499
  "isPublic": true
@@ -47361,7 +48041,11 @@ var testManifest = {
47361
48041
  "toPublicJSON": {
47362
48042
  "name": "toPublicJSON",
47363
48043
  "async": false,
47364
- "parameters": [],
48044
+ "parameters": [{
48045
+ "name": "options",
48046
+ "type": "PublicJsonOptions",
48047
+ "optional": true
48048
+ }],
47365
48049
  "returnType": "Record<string>",
47366
48050
  "isStatic": false,
47367
48051
  "isPublic": true
@@ -47925,7 +48609,11 @@ var testManifest = {
47925
48609
  "toPublicJSON": {
47926
48610
  "name": "toPublicJSON",
47927
48611
  "async": false,
47928
- "parameters": [],
48612
+ "parameters": [{
48613
+ "name": "options",
48614
+ "type": "PublicJsonOptions",
48615
+ "optional": true
48616
+ }],
47929
48617
  "returnType": "Record<string>",
47930
48618
  "isStatic": false,
47931
48619
  "isPublic": true
@@ -48502,7 +49190,11 @@ var testManifest = {
48502
49190
  "toPublicJSON": {
48503
49191
  "name": "toPublicJSON",
48504
49192
  "async": false,
48505
- "parameters": [],
49193
+ "parameters": [{
49194
+ "name": "options",
49195
+ "type": "PublicJsonOptions",
49196
+ "optional": true
49197
+ }],
48506
49198
  "returnType": "Record<string>",
48507
49199
  "isStatic": false,
48508
49200
  "isPublic": true
@@ -49367,7 +50059,11 @@ var testManifest = {
49367
50059
  "toPublicJSON": {
49368
50060
  "name": "toPublicJSON",
49369
50061
  "async": false,
49370
- "parameters": [],
50062
+ "parameters": [{
50063
+ "name": "options",
50064
+ "type": "PublicJsonOptions",
50065
+ "optional": true
50066
+ }],
49371
50067
  "returnType": "Record<string>",
49372
50068
  "isStatic": false,
49373
50069
  "isPublic": true
@@ -49905,7 +50601,11 @@ var testManifest = {
49905
50601
  "toPublicJSON": {
49906
50602
  "name": "toPublicJSON",
49907
50603
  "async": false,
49908
- "parameters": [],
50604
+ "parameters": [{
50605
+ "name": "options",
50606
+ "type": "PublicJsonOptions",
50607
+ "optional": true
50608
+ }],
49909
50609
  "returnType": "Record<string>",
49910
50610
  "isStatic": false,
49911
50611
  "isPublic": true
@@ -50495,7 +51195,11 @@ var testManifest = {
50495
51195
  "toPublicJSON": {
50496
51196
  "name": "toPublicJSON",
50497
51197
  "async": false,
50498
- "parameters": [],
51198
+ "parameters": [{
51199
+ "name": "options",
51200
+ "type": "PublicJsonOptions",
51201
+ "optional": true
51202
+ }],
50499
51203
  "returnType": "Record<string>",
50500
51204
  "isStatic": false,
50501
51205
  "isPublic": true
@@ -51024,7 +51728,11 @@ var testManifest = {
51024
51728
  "toPublicJSON": {
51025
51729
  "name": "toPublicJSON",
51026
51730
  "async": false,
51027
- "parameters": [],
51731
+ "parameters": [{
51732
+ "name": "options",
51733
+ "type": "PublicJsonOptions",
51734
+ "optional": true
51735
+ }],
51028
51736
  "returnType": "Record<string>",
51029
51737
  "isStatic": false,
51030
51738
  "isPublic": true
@@ -51563,7 +52271,11 @@ var testManifest = {
51563
52271
  "toPublicJSON": {
51564
52272
  "name": "toPublicJSON",
51565
52273
  "async": false,
51566
- "parameters": [],
52274
+ "parameters": [{
52275
+ "name": "options",
52276
+ "type": "PublicJsonOptions",
52277
+ "optional": true
52278
+ }],
51567
52279
  "returnType": "Record<string>",
51568
52280
  "isStatic": false,
51569
52281
  "isPublic": true
@@ -53204,7 +53916,11 @@ var testManifest = {
53204
53916
  "toPublicJSON": {
53205
53917
  "name": "toPublicJSON",
53206
53918
  "async": false,
53207
- "parameters": [],
53919
+ "parameters": [{
53920
+ "name": "options",
53921
+ "type": "PublicJsonOptions",
53922
+ "optional": true
53923
+ }],
53208
53924
  "returnType": "Record<string>",
53209
53925
  "isStatic": false,
53210
53926
  "isPublic": true
@@ -53801,7 +54517,11 @@ var testManifest = {
53801
54517
  "toPublicJSON": {
53802
54518
  "name": "toPublicJSON",
53803
54519
  "async": false,
53804
- "parameters": [],
54520
+ "parameters": [{
54521
+ "name": "options",
54522
+ "type": "PublicJsonOptions",
54523
+ "optional": true
54524
+ }],
53805
54525
  "returnType": "Record<string>",
53806
54526
  "isStatic": false,
53807
54527
  "isPublic": true
@@ -54528,7 +55248,11 @@ var testManifest = {
54528
55248
  "toPublicJSON": {
54529
55249
  "name": "toPublicJSON",
54530
55250
  "async": false,
54531
- "parameters": [],
55251
+ "parameters": [{
55252
+ "name": "options",
55253
+ "type": "PublicJsonOptions",
55254
+ "optional": true
55255
+ }],
54532
55256
  "returnType": "Record<string>",
54533
55257
  "isStatic": false,
54534
55258
  "isPublic": true
@@ -55105,7 +55829,11 @@ var testManifest = {
55105
55829
  "toPublicJSON": {
55106
55830
  "name": "toPublicJSON",
55107
55831
  "async": false,
55108
- "parameters": [],
55832
+ "parameters": [{
55833
+ "name": "options",
55834
+ "type": "PublicJsonOptions",
55835
+ "optional": true
55836
+ }],
55109
55837
  "returnType": "Record<string>",
55110
55838
  "isStatic": false,
55111
55839
  "isPublic": true
@@ -55675,7 +56403,11 @@ var testManifest = {
55675
56403
  "toPublicJSON": {
55676
56404
  "name": "toPublicJSON",
55677
56405
  "async": false,
55678
- "parameters": [],
56406
+ "parameters": [{
56407
+ "name": "options",
56408
+ "type": "PublicJsonOptions",
56409
+ "optional": true
56410
+ }],
55679
56411
  "returnType": "Record<string>",
55680
56412
  "isStatic": false,
55681
56413
  "isPublic": true
@@ -56335,7 +57067,11 @@ var testManifest = {
56335
57067
  "toPublicJSON": {
56336
57068
  "name": "toPublicJSON",
56337
57069
  "async": false,
56338
- "parameters": [],
57070
+ "parameters": [{
57071
+ "name": "options",
57072
+ "type": "PublicJsonOptions",
57073
+ "optional": true
57074
+ }],
56339
57075
  "returnType": "Record<string>",
56340
57076
  "isStatic": false,
56341
57077
  "isPublic": true
@@ -56858,7 +57594,11 @@ var testManifest = {
56858
57594
  "toPublicJSON": {
56859
57595
  "name": "toPublicJSON",
56860
57596
  "async": false,
56861
- "parameters": [],
57597
+ "parameters": [{
57598
+ "name": "options",
57599
+ "type": "PublicJsonOptions",
57600
+ "optional": true
57601
+ }],
56862
57602
  "returnType": "Record<string>",
56863
57603
  "isStatic": false,
56864
57604
  "isPublic": true
@@ -57377,7 +58117,11 @@ var testManifest = {
57377
58117
  "toPublicJSON": {
57378
58118
  "name": "toPublicJSON",
57379
58119
  "async": false,
57380
- "parameters": [],
58120
+ "parameters": [{
58121
+ "name": "options",
58122
+ "type": "PublicJsonOptions",
58123
+ "optional": true
58124
+ }],
57381
58125
  "returnType": "Record<string>",
57382
58126
  "isStatic": false,
57383
58127
  "isPublic": true
@@ -57896,7 +58640,11 @@ var testManifest = {
57896
58640
  "toPublicJSON": {
57897
58641
  "name": "toPublicJSON",
57898
58642
  "async": false,
57899
- "parameters": [],
58643
+ "parameters": [{
58644
+ "name": "options",
58645
+ "type": "PublicJsonOptions",
58646
+ "optional": true
58647
+ }],
57900
58648
  "returnType": "Record<string>",
57901
58649
  "isStatic": false,
57902
58650
  "isPublic": true
@@ -58420,7 +59168,11 @@ var testManifest = {
58420
59168
  "toPublicJSON": {
58421
59169
  "name": "toPublicJSON",
58422
59170
  "async": false,
58423
- "parameters": [],
59171
+ "parameters": [{
59172
+ "name": "options",
59173
+ "type": "PublicJsonOptions",
59174
+ "optional": true
59175
+ }],
58424
59176
  "returnType": "Record<string>",
58425
59177
  "isStatic": false,
58426
59178
  "isPublic": true
@@ -58967,7 +59719,11 @@ var testManifest = {
58967
59719
  "toPublicJSON": {
58968
59720
  "name": "toPublicJSON",
58969
59721
  "async": false,
58970
- "parameters": [],
59722
+ "parameters": [{
59723
+ "name": "options",
59724
+ "type": "PublicJsonOptions",
59725
+ "optional": true
59726
+ }],
58971
59727
  "returnType": "Record<string>",
58972
59728
  "isStatic": false,
58973
59729
  "isPublic": true
@@ -59559,7 +60315,11 @@ var testManifest = {
59559
60315
  "toPublicJSON": {
59560
60316
  "name": "toPublicJSON",
59561
60317
  "async": false,
59562
- "parameters": [],
60318
+ "parameters": [{
60319
+ "name": "options",
60320
+ "type": "PublicJsonOptions",
60321
+ "optional": true
60322
+ }],
59563
60323
  "returnType": "Record<string>",
59564
60324
  "isStatic": false,
59565
60325
  "isPublic": true
@@ -60106,7 +60866,11 @@ var testManifest = {
60106
60866
  "toPublicJSON": {
60107
60867
  "name": "toPublicJSON",
60108
60868
  "async": false,
60109
- "parameters": [],
60869
+ "parameters": [{
60870
+ "name": "options",
60871
+ "type": "PublicJsonOptions",
60872
+ "optional": true
60873
+ }],
60110
60874
  "returnType": "Record<string>",
60111
60875
  "isStatic": false,
60112
60876
  "isPublic": true
@@ -60703,7 +61467,11 @@ var testManifest = {
60703
61467
  "toPublicJSON": {
60704
61468
  "name": "toPublicJSON",
60705
61469
  "async": false,
60706
- "parameters": [],
61470
+ "parameters": [{
61471
+ "name": "options",
61472
+ "type": "PublicJsonOptions",
61473
+ "optional": true
61474
+ }],
60707
61475
  "returnType": "Record<string>",
60708
61476
  "isStatic": false,
60709
61477
  "isPublic": true
@@ -61272,7 +62040,11 @@ var testManifest = {
61272
62040
  "toPublicJSON": {
61273
62041
  "name": "toPublicJSON",
61274
62042
  "async": false,
61275
- "parameters": [],
62043
+ "parameters": [{
62044
+ "name": "options",
62045
+ "type": "PublicJsonOptions",
62046
+ "optional": true
62047
+ }],
61276
62048
  "returnType": "Record<string>",
61277
62049
  "isStatic": false,
61278
62050
  "isPublic": true
@@ -61854,7 +62626,11 @@ var testManifest = {
61854
62626
  "toPublicJSON": {
61855
62627
  "name": "toPublicJSON",
61856
62628
  "async": false,
61857
- "parameters": [],
62629
+ "parameters": [{
62630
+ "name": "options",
62631
+ "type": "PublicJsonOptions",
62632
+ "optional": true
62633
+ }],
61858
62634
  "returnType": "Record<string>",
61859
62635
  "isStatic": false,
61860
62636
  "isPublic": true
@@ -62471,7 +63247,11 @@ var testManifest = {
62471
63247
  "toPublicJSON": {
62472
63248
  "name": "toPublicJSON",
62473
63249
  "async": false,
62474
- "parameters": [],
63250
+ "parameters": [{
63251
+ "name": "options",
63252
+ "type": "PublicJsonOptions",
63253
+ "optional": true
63254
+ }],
62475
63255
  "returnType": "Record<string>",
62476
63256
  "isStatic": false,
62477
63257
  "isPublic": true
@@ -63042,7 +63822,11 @@ var testManifest = {
63042
63822
  "toPublicJSON": {
63043
63823
  "name": "toPublicJSON",
63044
63824
  "async": false,
63045
- "parameters": [],
63825
+ "parameters": [{
63826
+ "name": "options",
63827
+ "type": "PublicJsonOptions",
63828
+ "optional": true
63829
+ }],
63046
63830
  "returnType": "Record<string>",
63047
63831
  "isStatic": false,
63048
63832
  "isPublic": true
@@ -63606,7 +64390,11 @@ var testManifest = {
63606
64390
  "toPublicJSON": {
63607
64391
  "name": "toPublicJSON",
63608
64392
  "async": false,
63609
- "parameters": [],
64393
+ "parameters": [{
64394
+ "name": "options",
64395
+ "type": "PublicJsonOptions",
64396
+ "optional": true
64397
+ }],
63610
64398
  "returnType": "Record<string>",
63611
64399
  "isStatic": false,
63612
64400
  "isPublic": true
@@ -64170,7 +64958,11 @@ var testManifest = {
64170
64958
  "toPublicJSON": {
64171
64959
  "name": "toPublicJSON",
64172
64960
  "async": false,
64173
- "parameters": [],
64961
+ "parameters": [{
64962
+ "name": "options",
64963
+ "type": "PublicJsonOptions",
64964
+ "optional": true
64965
+ }],
64174
64966
  "returnType": "Record<string>",
64175
64967
  "isStatic": false,
64176
64968
  "isPublic": true
@@ -68799,6 +69591,140 @@ var testManifest = {
68799
69591
  "version": "37751591"
68800
69592
  }
68801
69593
  },
69594
+ "@happyvertical/smrt-core:RestReadPermissionWidget": {
69595
+ "name": "restreadpermissionwidget",
69596
+ "className": "RestReadPermissionWidget",
69597
+ "qualifiedName": "@happyvertical/smrt-core:RestReadPermissionWidget",
69598
+ "collection": "restreadpermissionwidgets",
69599
+ "filePath": "packages/core/src/generators/rest-routes.spec.ts",
69600
+ "packageName": "@happyvertical/smrt-core",
69601
+ "fields": {
69602
+ "name": {
69603
+ "type": "text",
69604
+ "required": false,
69605
+ "_meta": {}
69606
+ },
69607
+ "internalNote": {
69608
+ "type": "text",
69609
+ "required": false,
69610
+ "_meta": { "readPermission": "widgets.read.internal" },
69611
+ "readPermission": "widgets.read.internal"
69612
+ }
69613
+ },
69614
+ "methods": {},
69615
+ "decoratorConfig": { "api": {
69616
+ "public": "read",
69617
+ "cache": { "sMaxage": 120 }
69618
+ } },
69619
+ "extends": "SmrtObject",
69620
+ "exportName": "RestReadPermissionWidget",
69621
+ "collectionExportName": "RestReadPermissionWidgetCollection",
69622
+ "schema": {
69623
+ "tableName": "rest_read_permission_widgets",
69624
+ "ddl": "CREATE TABLE IF NOT EXISTS \"rest_read_permission_widgets\" (\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 \"name\" TEXT,\n \"internal_note\" TEXT\n);",
69625
+ "columns": {
69626
+ "id": {
69627
+ "type": "UUID",
69628
+ "primaryKey": true,
69629
+ "referenceKind": "id",
69630
+ "notNull": true
69631
+ },
69632
+ "slug": {
69633
+ "type": "TEXT",
69634
+ "notNull": true
69635
+ },
69636
+ "context": {
69637
+ "type": "TEXT",
69638
+ "notNull": true,
69639
+ "default": ""
69640
+ },
69641
+ "created_at": {
69642
+ "type": "TIMESTAMP",
69643
+ "notNull": true,
69644
+ "default": "current_timestamp"
69645
+ },
69646
+ "updated_at": {
69647
+ "type": "TIMESTAMP",
69648
+ "notNull": true,
69649
+ "default": "current_timestamp"
69650
+ },
69651
+ "name": {
69652
+ "type": "TEXT",
69653
+ "notNull": false,
69654
+ "unique": false
69655
+ },
69656
+ "internal_note": {
69657
+ "type": "TEXT",
69658
+ "notNull": false,
69659
+ "unique": false
69660
+ }
69661
+ },
69662
+ "indexes": [{
69663
+ "name": "rest_read_permission_widgets_id_idx",
69664
+ "columns": ["id"]
69665
+ }, {
69666
+ "name": "rest_read_permission_widgets_slug_context_idx",
69667
+ "columns": ["slug", "context"],
69668
+ "unique": true
69669
+ }],
69670
+ "version": "74a61b5a"
69671
+ }
69672
+ },
69673
+ "@happyvertical/smrt-core:RestReadPermissionWidgetCollection": {
69674
+ "name": "restreadpermissionwidgetcollection",
69675
+ "className": "RestReadPermissionWidgetCollection",
69676
+ "qualifiedName": "@happyvertical/smrt-core:RestReadPermissionWidgetCollection",
69677
+ "collection": "restreadpermissionwidgets",
69678
+ "filePath": "packages/core/src/generators/rest-routes.spec.ts",
69679
+ "packageName": "@happyvertical/smrt-core",
69680
+ "fields": {},
69681
+ "methods": {},
69682
+ "decoratorConfig": {},
69683
+ "extends": "SmrtCollection",
69684
+ "extendsTypeArg": "RestReadPermissionWidget",
69685
+ "exportName": "RestReadPermissionWidgetCollection",
69686
+ "collectionExportName": "RestReadPermissionWidgetCollectionCollection",
69687
+ "schema": {
69688
+ "tableName": "rest_read_permission_widget_collections",
69689
+ "ddl": "CREATE TABLE IF NOT EXISTS \"rest_read_permission_widget_collections\" (\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);",
69690
+ "columns": {
69691
+ "id": {
69692
+ "type": "UUID",
69693
+ "primaryKey": true,
69694
+ "referenceKind": "id",
69695
+ "notNull": true
69696
+ },
69697
+ "slug": {
69698
+ "type": "TEXT",
69699
+ "notNull": true
69700
+ },
69701
+ "context": {
69702
+ "type": "TEXT",
69703
+ "notNull": true,
69704
+ "default": ""
69705
+ },
69706
+ "created_at": {
69707
+ "type": "TIMESTAMP",
69708
+ "notNull": true,
69709
+ "default": "current_timestamp"
69710
+ },
69711
+ "updated_at": {
69712
+ "type": "TIMESTAMP",
69713
+ "notNull": true,
69714
+ "default": "current_timestamp"
69715
+ }
69716
+ },
69717
+ "indexes": [{
69718
+ "name": "rest_read_permission_widget_collections_id_idx",
69719
+ "columns": ["id"]
69720
+ }, {
69721
+ "name": "rest_read_permission_widget_collections_slug_context_idx",
69722
+ "columns": ["slug", "context"],
69723
+ "unique": true
69724
+ }],
69725
+ "version": "f24bed77"
69726
+ }
69727
+ },
68802
69728
  "@happyvertical/smrt-core:RestDiscoveryWidget": {
68803
69729
  "name": "restdiscoverywidget",
68804
69730
  "className": "RestDiscoveryWidget",