@happyvertical/smrt-core 0.37.8 → 0.37.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +10 -0
- package/dist/change-feed.d.ts +261 -0
- package/dist/change-feed.d.ts.map +1 -0
- package/dist/change-feed.js +482 -0
- package/dist/change-feed.js.map +1 -0
- package/dist/class.d.ts.map +1 -1
- package/dist/class.js +4 -2
- package/dist/class.js.map +1 -1
- package/dist/collection.js +2 -2
- package/dist/consumer-plugin/index.d.ts.map +1 -1
- package/dist/consumer-plugin/index.js +24 -19
- package/dist/consumer-plugin/index.js.map +1 -1
- package/dist/dispatch/bus.js +2 -2
- package/dist/dispatch/index.js +1 -1
- package/dist/generated-client-runtime.d.ts +26 -0
- package/dist/generated-client-runtime.d.ts.map +1 -0
- package/dist/generated-client-runtime.js +88 -0
- package/dist/generated-client-runtime.js.map +1 -0
- package/dist/generators/changes-route.d.ts +52 -0
- package/dist/generators/changes-route.d.ts.map +1 -0
- package/dist/generators/changes-route.js +111 -0
- package/dist/generators/changes-route.js.map +1 -0
- package/dist/generators/rest.d.ts +28 -0
- package/dist/generators/rest.d.ts.map +1 -1
- package/dist/generators/rest.js +53 -15
- package/dist/generators/rest.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -5
- package/dist/manifest/static-manifest.js +2 -2
- package/dist/manifest/static-manifest.js.map +1 -1
- package/dist/manifest/store.js +1 -1
- package/dist/manifest/test-manifest-stub.d.ts.map +1 -1
- package/dist/manifest/test-manifest-stub.js +502 -2
- package/dist/manifest/test-manifest-stub.js.map +1 -1
- package/dist/manifest.json +2 -2
- package/dist/object.js +2 -2
- package/dist/prebuild/index.d.ts.map +1 -1
- package/dist/prebuild/index.js +14 -7
- package/dist/prebuild/index.js.map +1 -1
- package/dist/smrt-knowledge.json +6 -6
- package/dist/system/schema.d.ts +24 -1
- package/dist/system/schema.d.ts.map +1 -1
- package/dist/system/schema.js +45 -3
- package/dist/system/schema.js.map +1 -1
- package/dist/testing/database.js +1 -1
- package/dist/vite-plugin/changes-route.d.ts +10 -0
- package/dist/vite-plugin/changes-route.d.ts.map +1 -0
- package/dist/vite-plugin/changes-route.js +174 -0
- package/dist/vite-plugin/changes-route.js.map +1 -0
- package/dist/vite-plugin/index.d.ts +7 -0
- package/dist/vite-plugin/index.d.ts.map +1 -1
- package/dist/vite-plugin/index.js +38 -20
- package/dist/vite-plugin/index.js.map +1 -1
- package/dist/vite-plugin/route-header.d.ts +10 -0
- package/dist/vite-plugin/route-header.d.ts.map +1 -0
- package/dist/vite-plugin/route-header.js +14 -0
- package/dist/vite-plugin/route-header.js.map +1 -0
- package/dist/vite-plugin/sveltekit-generator.d.ts +7 -0
- package/dist/vite-plugin/sveltekit-generator.d.ts.map +1 -1
- package/dist/vite-plugin/sveltekit-generator.js +5 -3
- package/dist/vite-plugin/sveltekit-generator.js.map +1 -1
- package/dist/vite-plugin/sync-apply-route.d.ts.map +1 -1
- package/dist/vite-plugin/sync-apply-route.js +2 -2
- package/dist/vite-plugin/sync-apply-route.js.map +1 -1
- package/package.json +4 -4
|
@@ -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":
|
|
4
|
+
"timestamp": 1783086140349,
|
|
5
5
|
"packageName": "@happyvertical/smrt-core",
|
|
6
|
-
"packageVersion": "0.37.
|
|
6
|
+
"packageVersion": "0.37.9",
|
|
7
7
|
"objects": {
|
|
8
8
|
"@happyvertical/smrt-core:SmrtClass": {
|
|
9
9
|
"name": "smrtclass",
|
|
@@ -19286,6 +19286,376 @@ var testManifest = {
|
|
|
19286
19286
|
"version": "ffc6e9c6"
|
|
19287
19287
|
}
|
|
19288
19288
|
},
|
|
19289
|
+
"@happyvertical/smrt-core:ChangeFeedWidget": {
|
|
19290
|
+
"name": "changefeedwidget",
|
|
19291
|
+
"className": "ChangeFeedWidget",
|
|
19292
|
+
"qualifiedName": "@happyvertical/smrt-core:ChangeFeedWidget",
|
|
19293
|
+
"collection": "changefeedwidgets",
|
|
19294
|
+
"filePath": "packages/core/src/__tests__/issue-1758-change-feed.test.ts",
|
|
19295
|
+
"packageName": "@happyvertical/smrt-core",
|
|
19296
|
+
"fields": { "name": {
|
|
19297
|
+
"type": "text",
|
|
19298
|
+
"required": false,
|
|
19299
|
+
"default": ""
|
|
19300
|
+
} },
|
|
19301
|
+
"methods": {},
|
|
19302
|
+
"decoratorConfig": {},
|
|
19303
|
+
"extends": "SmrtObject",
|
|
19304
|
+
"exportName": "ChangeFeedWidget",
|
|
19305
|
+
"collectionExportName": "ChangeFeedWidgetCollection",
|
|
19306
|
+
"schema": {
|
|
19307
|
+
"tableName": "change_feed_widgets",
|
|
19308
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"change_feed_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);",
|
|
19309
|
+
"columns": {
|
|
19310
|
+
"id": {
|
|
19311
|
+
"type": "UUID",
|
|
19312
|
+
"primaryKey": true,
|
|
19313
|
+
"referenceKind": "id",
|
|
19314
|
+
"notNull": true
|
|
19315
|
+
},
|
|
19316
|
+
"slug": {
|
|
19317
|
+
"type": "TEXT",
|
|
19318
|
+
"notNull": true
|
|
19319
|
+
},
|
|
19320
|
+
"context": {
|
|
19321
|
+
"type": "TEXT",
|
|
19322
|
+
"notNull": true,
|
|
19323
|
+
"default": ""
|
|
19324
|
+
},
|
|
19325
|
+
"created_at": {
|
|
19326
|
+
"type": "TIMESTAMP",
|
|
19327
|
+
"notNull": true,
|
|
19328
|
+
"default": "current_timestamp"
|
|
19329
|
+
},
|
|
19330
|
+
"updated_at": {
|
|
19331
|
+
"type": "TIMESTAMP",
|
|
19332
|
+
"notNull": true,
|
|
19333
|
+
"default": "current_timestamp"
|
|
19334
|
+
},
|
|
19335
|
+
"name": {
|
|
19336
|
+
"type": "TEXT",
|
|
19337
|
+
"notNull": false,
|
|
19338
|
+
"unique": false,
|
|
19339
|
+
"default": ""
|
|
19340
|
+
}
|
|
19341
|
+
},
|
|
19342
|
+
"indexes": [{
|
|
19343
|
+
"name": "change_feed_widgets_id_idx",
|
|
19344
|
+
"columns": ["id"]
|
|
19345
|
+
}, {
|
|
19346
|
+
"name": "change_feed_widgets_slug_context_idx",
|
|
19347
|
+
"columns": ["slug", "context"],
|
|
19348
|
+
"unique": true
|
|
19349
|
+
}],
|
|
19350
|
+
"version": "0180180c"
|
|
19351
|
+
}
|
|
19352
|
+
},
|
|
19353
|
+
"@happyvertical/smrt-core:ChangeFeedWidgetCollection": {
|
|
19354
|
+
"name": "changefeedwidgetcollection",
|
|
19355
|
+
"className": "ChangeFeedWidgetCollection",
|
|
19356
|
+
"qualifiedName": "@happyvertical/smrt-core:ChangeFeedWidgetCollection",
|
|
19357
|
+
"collection": "changefeedwidgets",
|
|
19358
|
+
"filePath": "packages/core/src/__tests__/issue-1758-change-feed.test.ts",
|
|
19359
|
+
"packageName": "@happyvertical/smrt-core",
|
|
19360
|
+
"fields": {},
|
|
19361
|
+
"methods": {},
|
|
19362
|
+
"decoratorConfig": {},
|
|
19363
|
+
"extends": "SmrtCollection",
|
|
19364
|
+
"extendsTypeArg": "ChangeFeedWidget",
|
|
19365
|
+
"exportName": "ChangeFeedWidgetCollection",
|
|
19366
|
+
"collectionExportName": "ChangeFeedWidgetCollectionCollection",
|
|
19367
|
+
"schema": {
|
|
19368
|
+
"tableName": "change_feed_widget_collections",
|
|
19369
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"change_feed_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);",
|
|
19370
|
+
"columns": {
|
|
19371
|
+
"id": {
|
|
19372
|
+
"type": "UUID",
|
|
19373
|
+
"primaryKey": true,
|
|
19374
|
+
"referenceKind": "id",
|
|
19375
|
+
"notNull": true
|
|
19376
|
+
},
|
|
19377
|
+
"slug": {
|
|
19378
|
+
"type": "TEXT",
|
|
19379
|
+
"notNull": true
|
|
19380
|
+
},
|
|
19381
|
+
"context": {
|
|
19382
|
+
"type": "TEXT",
|
|
19383
|
+
"notNull": true,
|
|
19384
|
+
"default": ""
|
|
19385
|
+
},
|
|
19386
|
+
"created_at": {
|
|
19387
|
+
"type": "TIMESTAMP",
|
|
19388
|
+
"notNull": true,
|
|
19389
|
+
"default": "current_timestamp"
|
|
19390
|
+
},
|
|
19391
|
+
"updated_at": {
|
|
19392
|
+
"type": "TIMESTAMP",
|
|
19393
|
+
"notNull": true,
|
|
19394
|
+
"default": "current_timestamp"
|
|
19395
|
+
}
|
|
19396
|
+
},
|
|
19397
|
+
"indexes": [{
|
|
19398
|
+
"name": "change_feed_widget_collections_id_idx",
|
|
19399
|
+
"columns": ["id"]
|
|
19400
|
+
}, {
|
|
19401
|
+
"name": "change_feed_widget_collections_slug_context_idx",
|
|
19402
|
+
"columns": ["slug", "context"],
|
|
19403
|
+
"unique": true
|
|
19404
|
+
}],
|
|
19405
|
+
"version": "306ff712"
|
|
19406
|
+
}
|
|
19407
|
+
},
|
|
19408
|
+
"@happyvertical/smrt-core:ChangeFeedGadget": {
|
|
19409
|
+
"name": "changefeedgadget",
|
|
19410
|
+
"className": "ChangeFeedGadget",
|
|
19411
|
+
"qualifiedName": "@happyvertical/smrt-core:ChangeFeedGadget",
|
|
19412
|
+
"collection": "changefeedgadgets",
|
|
19413
|
+
"filePath": "packages/core/src/__tests__/issue-1758-change-feed.test.ts",
|
|
19414
|
+
"packageName": "@happyvertical/smrt-core",
|
|
19415
|
+
"fields": { "label": {
|
|
19416
|
+
"type": "text",
|
|
19417
|
+
"required": false,
|
|
19418
|
+
"default": ""
|
|
19419
|
+
} },
|
|
19420
|
+
"methods": {},
|
|
19421
|
+
"decoratorConfig": {},
|
|
19422
|
+
"extends": "SmrtObject",
|
|
19423
|
+
"exportName": "ChangeFeedGadget",
|
|
19424
|
+
"collectionExportName": "ChangeFeedGadgetCollection",
|
|
19425
|
+
"schema": {
|
|
19426
|
+
"tableName": "change_feed_gadgets",
|
|
19427
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"change_feed_gadgets\" (\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 DEFAULT ''\n);",
|
|
19428
|
+
"columns": {
|
|
19429
|
+
"id": {
|
|
19430
|
+
"type": "UUID",
|
|
19431
|
+
"primaryKey": true,
|
|
19432
|
+
"referenceKind": "id",
|
|
19433
|
+
"notNull": true
|
|
19434
|
+
},
|
|
19435
|
+
"slug": {
|
|
19436
|
+
"type": "TEXT",
|
|
19437
|
+
"notNull": true
|
|
19438
|
+
},
|
|
19439
|
+
"context": {
|
|
19440
|
+
"type": "TEXT",
|
|
19441
|
+
"notNull": true,
|
|
19442
|
+
"default": ""
|
|
19443
|
+
},
|
|
19444
|
+
"created_at": {
|
|
19445
|
+
"type": "TIMESTAMP",
|
|
19446
|
+
"notNull": true,
|
|
19447
|
+
"default": "current_timestamp"
|
|
19448
|
+
},
|
|
19449
|
+
"updated_at": {
|
|
19450
|
+
"type": "TIMESTAMP",
|
|
19451
|
+
"notNull": true,
|
|
19452
|
+
"default": "current_timestamp"
|
|
19453
|
+
},
|
|
19454
|
+
"label": {
|
|
19455
|
+
"type": "TEXT",
|
|
19456
|
+
"notNull": false,
|
|
19457
|
+
"unique": false,
|
|
19458
|
+
"default": ""
|
|
19459
|
+
}
|
|
19460
|
+
},
|
|
19461
|
+
"indexes": [{
|
|
19462
|
+
"name": "change_feed_gadgets_id_idx",
|
|
19463
|
+
"columns": ["id"]
|
|
19464
|
+
}, {
|
|
19465
|
+
"name": "change_feed_gadgets_slug_context_idx",
|
|
19466
|
+
"columns": ["slug", "context"],
|
|
19467
|
+
"unique": true
|
|
19468
|
+
}],
|
|
19469
|
+
"version": "dcc30b9e"
|
|
19470
|
+
}
|
|
19471
|
+
},
|
|
19472
|
+
"@happyvertical/smrt-core:ChangeFeedGadgetCollection": {
|
|
19473
|
+
"name": "changefeedgadgetcollection",
|
|
19474
|
+
"className": "ChangeFeedGadgetCollection",
|
|
19475
|
+
"qualifiedName": "@happyvertical/smrt-core:ChangeFeedGadgetCollection",
|
|
19476
|
+
"collection": "changefeedgadgets",
|
|
19477
|
+
"filePath": "packages/core/src/__tests__/issue-1758-change-feed.test.ts",
|
|
19478
|
+
"packageName": "@happyvertical/smrt-core",
|
|
19479
|
+
"fields": {},
|
|
19480
|
+
"methods": {},
|
|
19481
|
+
"decoratorConfig": {},
|
|
19482
|
+
"extends": "SmrtCollection",
|
|
19483
|
+
"extendsTypeArg": "ChangeFeedGadget",
|
|
19484
|
+
"exportName": "ChangeFeedGadgetCollection",
|
|
19485
|
+
"collectionExportName": "ChangeFeedGadgetCollectionCollection",
|
|
19486
|
+
"schema": {
|
|
19487
|
+
"tableName": "change_feed_gadget_collections",
|
|
19488
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"change_feed_gadget_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);",
|
|
19489
|
+
"columns": {
|
|
19490
|
+
"id": {
|
|
19491
|
+
"type": "UUID",
|
|
19492
|
+
"primaryKey": true,
|
|
19493
|
+
"referenceKind": "id",
|
|
19494
|
+
"notNull": true
|
|
19495
|
+
},
|
|
19496
|
+
"slug": {
|
|
19497
|
+
"type": "TEXT",
|
|
19498
|
+
"notNull": true
|
|
19499
|
+
},
|
|
19500
|
+
"context": {
|
|
19501
|
+
"type": "TEXT",
|
|
19502
|
+
"notNull": true,
|
|
19503
|
+
"default": ""
|
|
19504
|
+
},
|
|
19505
|
+
"created_at": {
|
|
19506
|
+
"type": "TIMESTAMP",
|
|
19507
|
+
"notNull": true,
|
|
19508
|
+
"default": "current_timestamp"
|
|
19509
|
+
},
|
|
19510
|
+
"updated_at": {
|
|
19511
|
+
"type": "TIMESTAMP",
|
|
19512
|
+
"notNull": true,
|
|
19513
|
+
"default": "current_timestamp"
|
|
19514
|
+
}
|
|
19515
|
+
},
|
|
19516
|
+
"indexes": [{
|
|
19517
|
+
"name": "change_feed_gadget_collections_id_idx",
|
|
19518
|
+
"columns": ["id"]
|
|
19519
|
+
}, {
|
|
19520
|
+
"name": "change_feed_gadget_collections_slug_context_idx",
|
|
19521
|
+
"columns": ["slug", "context"],
|
|
19522
|
+
"unique": true
|
|
19523
|
+
}],
|
|
19524
|
+
"version": "c8e23410"
|
|
19525
|
+
}
|
|
19526
|
+
},
|
|
19527
|
+
"@happyvertical/smrt-core:ChangeFeedTenantDoc": {
|
|
19528
|
+
"name": "changefeedtenantdoc",
|
|
19529
|
+
"className": "ChangeFeedTenantDoc",
|
|
19530
|
+
"qualifiedName": "@happyvertical/smrt-core:ChangeFeedTenantDoc",
|
|
19531
|
+
"collection": "changefeedtenantdocs",
|
|
19532
|
+
"filePath": "packages/core/src/__tests__/issue-1758-change-feed.test.ts",
|
|
19533
|
+
"packageName": "@happyvertical/smrt-core",
|
|
19534
|
+
"fields": {
|
|
19535
|
+
"title": {
|
|
19536
|
+
"type": "text",
|
|
19537
|
+
"required": false,
|
|
19538
|
+
"default": ""
|
|
19539
|
+
},
|
|
19540
|
+
"tenantId": {
|
|
19541
|
+
"type": "text",
|
|
19542
|
+
"required": false,
|
|
19543
|
+
"default": ""
|
|
19544
|
+
}
|
|
19545
|
+
},
|
|
19546
|
+
"methods": {},
|
|
19547
|
+
"decoratorConfig": {},
|
|
19548
|
+
"extends": "SmrtObject",
|
|
19549
|
+
"exportName": "ChangeFeedTenantDoc",
|
|
19550
|
+
"collectionExportName": "ChangeFeedTenantDocCollection",
|
|
19551
|
+
"schema": {
|
|
19552
|
+
"tableName": "change_feed_tenant_docs",
|
|
19553
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"change_feed_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);",
|
|
19554
|
+
"columns": {
|
|
19555
|
+
"id": {
|
|
19556
|
+
"type": "UUID",
|
|
19557
|
+
"primaryKey": true,
|
|
19558
|
+
"referenceKind": "id",
|
|
19559
|
+
"notNull": true
|
|
19560
|
+
},
|
|
19561
|
+
"slug": {
|
|
19562
|
+
"type": "TEXT",
|
|
19563
|
+
"notNull": true
|
|
19564
|
+
},
|
|
19565
|
+
"context": {
|
|
19566
|
+
"type": "TEXT",
|
|
19567
|
+
"notNull": true,
|
|
19568
|
+
"default": ""
|
|
19569
|
+
},
|
|
19570
|
+
"created_at": {
|
|
19571
|
+
"type": "TIMESTAMP",
|
|
19572
|
+
"notNull": true,
|
|
19573
|
+
"default": "current_timestamp"
|
|
19574
|
+
},
|
|
19575
|
+
"updated_at": {
|
|
19576
|
+
"type": "TIMESTAMP",
|
|
19577
|
+
"notNull": true,
|
|
19578
|
+
"default": "current_timestamp"
|
|
19579
|
+
},
|
|
19580
|
+
"title": {
|
|
19581
|
+
"type": "TEXT",
|
|
19582
|
+
"notNull": false,
|
|
19583
|
+
"unique": false,
|
|
19584
|
+
"default": ""
|
|
19585
|
+
},
|
|
19586
|
+
"tenant_id": {
|
|
19587
|
+
"type": "TEXT",
|
|
19588
|
+
"notNull": false,
|
|
19589
|
+
"unique": false,
|
|
19590
|
+
"default": ""
|
|
19591
|
+
}
|
|
19592
|
+
},
|
|
19593
|
+
"indexes": [{
|
|
19594
|
+
"name": "change_feed_tenant_docs_id_idx",
|
|
19595
|
+
"columns": ["id"]
|
|
19596
|
+
}, {
|
|
19597
|
+
"name": "change_feed_tenant_docs_slug_context_idx",
|
|
19598
|
+
"columns": ["slug", "context"],
|
|
19599
|
+
"unique": true
|
|
19600
|
+
}],
|
|
19601
|
+
"version": "5b50fa25"
|
|
19602
|
+
}
|
|
19603
|
+
},
|
|
19604
|
+
"@happyvertical/smrt-core:ChangeFeedTenantDocCollection": {
|
|
19605
|
+
"name": "changefeedtenantdoccollection",
|
|
19606
|
+
"className": "ChangeFeedTenantDocCollection",
|
|
19607
|
+
"qualifiedName": "@happyvertical/smrt-core:ChangeFeedTenantDocCollection",
|
|
19608
|
+
"collection": "changefeedtenantdocs",
|
|
19609
|
+
"filePath": "packages/core/src/__tests__/issue-1758-change-feed.test.ts",
|
|
19610
|
+
"packageName": "@happyvertical/smrt-core",
|
|
19611
|
+
"fields": {},
|
|
19612
|
+
"methods": {},
|
|
19613
|
+
"decoratorConfig": {},
|
|
19614
|
+
"extends": "SmrtCollection",
|
|
19615
|
+
"extendsTypeArg": "ChangeFeedTenantDoc",
|
|
19616
|
+
"exportName": "ChangeFeedTenantDocCollection",
|
|
19617
|
+
"collectionExportName": "ChangeFeedTenantDocCollectionCollection",
|
|
19618
|
+
"schema": {
|
|
19619
|
+
"tableName": "change_feed_tenant_doc_collections",
|
|
19620
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"change_feed_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);",
|
|
19621
|
+
"columns": {
|
|
19622
|
+
"id": {
|
|
19623
|
+
"type": "UUID",
|
|
19624
|
+
"primaryKey": true,
|
|
19625
|
+
"referenceKind": "id",
|
|
19626
|
+
"notNull": true
|
|
19627
|
+
},
|
|
19628
|
+
"slug": {
|
|
19629
|
+
"type": "TEXT",
|
|
19630
|
+
"notNull": true
|
|
19631
|
+
},
|
|
19632
|
+
"context": {
|
|
19633
|
+
"type": "TEXT",
|
|
19634
|
+
"notNull": true,
|
|
19635
|
+
"default": ""
|
|
19636
|
+
},
|
|
19637
|
+
"created_at": {
|
|
19638
|
+
"type": "TIMESTAMP",
|
|
19639
|
+
"notNull": true,
|
|
19640
|
+
"default": "current_timestamp"
|
|
19641
|
+
},
|
|
19642
|
+
"updated_at": {
|
|
19643
|
+
"type": "TIMESTAMP",
|
|
19644
|
+
"notNull": true,
|
|
19645
|
+
"default": "current_timestamp"
|
|
19646
|
+
}
|
|
19647
|
+
},
|
|
19648
|
+
"indexes": [{
|
|
19649
|
+
"name": "change_feed_tenant_doc_collections_id_idx",
|
|
19650
|
+
"columns": ["id"]
|
|
19651
|
+
}, {
|
|
19652
|
+
"name": "change_feed_tenant_doc_collections_slug_context_idx",
|
|
19653
|
+
"columns": ["slug", "context"],
|
|
19654
|
+
"unique": true
|
|
19655
|
+
}],
|
|
19656
|
+
"version": "7e65ff52"
|
|
19657
|
+
}
|
|
19658
|
+
},
|
|
19289
19659
|
"@happyvertical/smrt-core:TransientTest": {
|
|
19290
19660
|
"name": "transienttest",
|
|
19291
19661
|
"className": "TransientTest",
|
|
@@ -69864,6 +70234,136 @@ var testManifest = {
|
|
|
69864
70234
|
"version": "242dbd0c"
|
|
69865
70235
|
}
|
|
69866
70236
|
},
|
|
70237
|
+
"@happyvertical/smrt-core:GenClientProduct": {
|
|
70238
|
+
"name": "genclientproduct",
|
|
70239
|
+
"className": "GenClientProduct",
|
|
70240
|
+
"qualifiedName": "@happyvertical/smrt-core:GenClientProduct",
|
|
70241
|
+
"collection": "genclientproducts",
|
|
70242
|
+
"filePath": "packages/core/src/vite-plugin/generated-client-integration.test.ts",
|
|
70243
|
+
"packageName": "@happyvertical/smrt-core",
|
|
70244
|
+
"fields": {
|
|
70245
|
+
"name": {
|
|
70246
|
+
"type": "text",
|
|
70247
|
+
"required": false,
|
|
70248
|
+
"_meta": {}
|
|
70249
|
+
},
|
|
70250
|
+
"price": {
|
|
70251
|
+
"type": "integer",
|
|
70252
|
+
"required": false,
|
|
70253
|
+
"_meta": {}
|
|
70254
|
+
}
|
|
70255
|
+
},
|
|
70256
|
+
"methods": {},
|
|
70257
|
+
"decoratorConfig": { "api": { "public": true } },
|
|
70258
|
+
"extends": "SmrtObject",
|
|
70259
|
+
"exportName": "GenClientProduct",
|
|
70260
|
+
"collectionExportName": "GenClientProductCollection",
|
|
70261
|
+
"schema": {
|
|
70262
|
+
"tableName": "gen_client_products",
|
|
70263
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"gen_client_products\" (\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 \"price\" INTEGER\n);",
|
|
70264
|
+
"columns": {
|
|
70265
|
+
"id": {
|
|
70266
|
+
"type": "UUID",
|
|
70267
|
+
"primaryKey": true,
|
|
70268
|
+
"referenceKind": "id",
|
|
70269
|
+
"notNull": true
|
|
70270
|
+
},
|
|
70271
|
+
"slug": {
|
|
70272
|
+
"type": "TEXT",
|
|
70273
|
+
"notNull": true
|
|
70274
|
+
},
|
|
70275
|
+
"context": {
|
|
70276
|
+
"type": "TEXT",
|
|
70277
|
+
"notNull": true,
|
|
70278
|
+
"default": ""
|
|
70279
|
+
},
|
|
70280
|
+
"created_at": {
|
|
70281
|
+
"type": "TIMESTAMP",
|
|
70282
|
+
"notNull": true,
|
|
70283
|
+
"default": "current_timestamp"
|
|
70284
|
+
},
|
|
70285
|
+
"updated_at": {
|
|
70286
|
+
"type": "TIMESTAMP",
|
|
70287
|
+
"notNull": true,
|
|
70288
|
+
"default": "current_timestamp"
|
|
70289
|
+
},
|
|
70290
|
+
"name": {
|
|
70291
|
+
"type": "TEXT",
|
|
70292
|
+
"notNull": false,
|
|
70293
|
+
"unique": false
|
|
70294
|
+
},
|
|
70295
|
+
"price": {
|
|
70296
|
+
"type": "INTEGER",
|
|
70297
|
+
"notNull": false,
|
|
70298
|
+
"unique": false
|
|
70299
|
+
}
|
|
70300
|
+
},
|
|
70301
|
+
"indexes": [{
|
|
70302
|
+
"name": "gen_client_products_id_idx",
|
|
70303
|
+
"columns": ["id"]
|
|
70304
|
+
}, {
|
|
70305
|
+
"name": "gen_client_products_slug_context_idx",
|
|
70306
|
+
"columns": ["slug", "context"],
|
|
70307
|
+
"unique": true
|
|
70308
|
+
}],
|
|
70309
|
+
"version": "0656928f"
|
|
70310
|
+
}
|
|
70311
|
+
},
|
|
70312
|
+
"@happyvertical/smrt-core:GenClientProductCollection": {
|
|
70313
|
+
"name": "genclientproductcollection",
|
|
70314
|
+
"className": "GenClientProductCollection",
|
|
70315
|
+
"qualifiedName": "@happyvertical/smrt-core:GenClientProductCollection",
|
|
70316
|
+
"collection": "genclientproducts",
|
|
70317
|
+
"filePath": "packages/core/src/vite-plugin/generated-client-integration.test.ts",
|
|
70318
|
+
"packageName": "@happyvertical/smrt-core",
|
|
70319
|
+
"fields": {},
|
|
70320
|
+
"methods": {},
|
|
70321
|
+
"decoratorConfig": {},
|
|
70322
|
+
"extends": "SmrtCollection",
|
|
70323
|
+
"extendsTypeArg": "GenClientProduct",
|
|
70324
|
+
"exportName": "GenClientProductCollection",
|
|
70325
|
+
"collectionExportName": "GenClientProductCollectionCollection",
|
|
70326
|
+
"schema": {
|
|
70327
|
+
"tableName": "gen_client_product_collections",
|
|
70328
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"gen_client_product_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);",
|
|
70329
|
+
"columns": {
|
|
70330
|
+
"id": {
|
|
70331
|
+
"type": "UUID",
|
|
70332
|
+
"primaryKey": true,
|
|
70333
|
+
"referenceKind": "id",
|
|
70334
|
+
"notNull": true
|
|
70335
|
+
},
|
|
70336
|
+
"slug": {
|
|
70337
|
+
"type": "TEXT",
|
|
70338
|
+
"notNull": true
|
|
70339
|
+
},
|
|
70340
|
+
"context": {
|
|
70341
|
+
"type": "TEXT",
|
|
70342
|
+
"notNull": true,
|
|
70343
|
+
"default": ""
|
|
70344
|
+
},
|
|
70345
|
+
"created_at": {
|
|
70346
|
+
"type": "TIMESTAMP",
|
|
70347
|
+
"notNull": true,
|
|
70348
|
+
"default": "current_timestamp"
|
|
70349
|
+
},
|
|
70350
|
+
"updated_at": {
|
|
70351
|
+
"type": "TIMESTAMP",
|
|
70352
|
+
"notNull": true,
|
|
70353
|
+
"default": "current_timestamp"
|
|
70354
|
+
}
|
|
70355
|
+
},
|
|
70356
|
+
"indexes": [{
|
|
70357
|
+
"name": "gen_client_product_collections_id_idx",
|
|
70358
|
+
"columns": ["id"]
|
|
70359
|
+
}, {
|
|
70360
|
+
"name": "gen_client_product_collections_slug_context_idx",
|
|
70361
|
+
"columns": ["slug", "context"],
|
|
70362
|
+
"unique": true
|
|
70363
|
+
}],
|
|
70364
|
+
"version": "6a3185e6"
|
|
70365
|
+
}
|
|
70366
|
+
},
|
|
69867
70367
|
"@happyvertical/smrt-core:AdvisorRichProduct": {
|
|
69868
70368
|
"name": "advisorrichproduct",
|
|
69869
70369
|
"className": "AdvisorRichProduct",
|