@happyvertical/smrt-core 0.40.15 → 0.40.17
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 +5 -0
- package/dist/browser.js +2 -2
- package/dist/change-feed.d.ts.map +1 -1
- package/dist/change-feed.js +21 -4
- package/dist/change-feed.js.map +1 -1
- package/dist/class.d.ts.map +1 -1
- package/dist/class.js +5 -3
- package/dist/class.js.map +1 -1
- package/dist/collection.d.ts +10 -0
- package/dist/collection.d.ts.map +1 -1
- package/dist/collection.js +16 -2
- package/dist/collection.js.map +1 -1
- package/dist/dispatch/bus.d.ts.map +1 -1
- package/dist/dispatch/bus.js +11 -6
- package/dist/dispatch/bus.js.map +1 -1
- package/dist/index.js +2 -2
- 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 +384 -2
- package/dist/manifest/test-manifest-stub.js.map +1 -1
- package/dist/manifest.json +2 -2
- package/dist/migrations/backfill-tracker.d.ts +1 -0
- package/dist/migrations/backfill-tracker.d.ts.map +1 -1
- package/dist/migrations/backfill-tracker.js +9 -3
- package/dist/migrations/backfill-tracker.js.map +1 -1
- package/dist/migrations/differ.d.ts +18 -0
- package/dist/migrations/differ.d.ts.map +1 -1
- package/dist/migrations/differ.js +28 -5
- package/dist/migrations/differ.js.map +1 -1
- package/dist/migrations/generator.d.ts +8 -0
- package/dist/migrations/generator.d.ts.map +1 -1
- package/dist/migrations/generator.js +5 -1
- package/dist/migrations/generator.js.map +1 -1
- package/dist/migrations/orchestrate.d.ts +10 -0
- package/dist/migrations/orchestrate.d.ts.map +1 -1
- package/dist/migrations/orchestrate.js +8 -2
- package/dist/migrations/orchestrate.js.map +1 -1
- package/dist/migrations/tracker.d.ts.map +1 -1
- package/dist/migrations/tracker.js +4 -2
- package/dist/migrations/tracker.js.map +1 -1
- package/dist/registry/schema-builder.d.ts +13 -6
- package/dist/registry/schema-builder.d.ts.map +1 -1
- package/dist/registry/schema-builder.js +54 -15
- package/dist/registry/schema-builder.js.map +1 -1
- package/dist/registry.d.ts +3 -2
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +4 -4
- package/dist/registry.js.map +1 -1
- package/dist/schema/code-generator.js +123 -0
- package/dist/schema/code-generator.js.map +1 -0
- package/dist/schema/ddl/base-strategy.d.ts.map +1 -1
- package/dist/schema/ddl/base-strategy.js +2 -2
- package/dist/schema/ddl/base-strategy.js.map +1 -1
- package/dist/schema/ddl/duckdb-strategy.d.ts.map +1 -1
- package/dist/schema/ddl/duckdb-strategy.js +2 -3
- package/dist/schema/ddl/duckdb-strategy.js.map +1 -1
- package/dist/schema/ddl/index.js +26 -2
- package/dist/schema/ddl/index.js.map +1 -1
- package/dist/schema/ddl/materialize-manifest.d.ts +36 -0
- package/dist/schema/ddl/materialize-manifest.d.ts.map +1 -0
- package/dist/schema/ddl/materialize-manifest.js +361 -0
- package/dist/schema/ddl/materialize-manifest.js.map +1 -0
- package/dist/schema/ddl/postgres-strategy.d.ts.map +1 -1
- package/dist/schema/ddl/postgres-strategy.js +1 -1
- package/dist/schema/ddl/postgres-strategy.js.map +1 -1
- package/dist/schema/index.js +12 -0
- package/dist/schema/override-system.js +205 -0
- package/dist/schema/override-system.js.map +1 -0
- package/dist/schema/schema-aggregator.d.ts.map +1 -1
- package/dist/schema/schema-aggregator.js +261 -0
- package/dist/schema/schema-aggregator.js.map +1 -0
- package/dist/schema/schema-manager.js +11 -1
- package/dist/schema/schema-manager.js.map +1 -1
- package/dist/schema/utils.d.ts +1 -0
- package/dist/schema/utils.d.ts.map +1 -1
- package/dist/schema/utils.js +2 -1
- package/dist/schema/utils.js.map +1 -1
- package/dist/schema.d.ts +2 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/schema.js +13 -0
- package/dist/smrt-knowledge.json +7 -6
- package/dist/system/compatibility.d.ts +25 -0
- package/dist/system/compatibility.d.ts.map +1 -1
- package/dist/system/compatibility.js +61 -1
- package/dist/system/compatibility.js.map +1 -1
- package/dist/system/index.js +2 -2
- package/dist/system/schema.d.ts +17 -9
- package/dist/system/schema.d.ts.map +1 -1
- package/dist/system/schema.js +25 -11
- package/dist/system/schema.js.map +1 -1
- package/dist/testing/database.d.ts.map +1 -1
- package/dist/testing/database.js +5 -2
- package/dist/testing/database.js.map +1 -1
- package/package.json +10 -5
|
@@ -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": 1784547096415,
|
|
5
5
|
"packageName": "@happyvertical/smrt-core",
|
|
6
|
-
"packageVersion": "0.40.
|
|
6
|
+
"packageVersion": "0.40.17",
|
|
7
7
|
"objects": {
|
|
8
8
|
"@happyvertical/smrt-core:SmrtClass": {
|
|
9
9
|
"name": "smrtclass",
|
|
@@ -22453,6 +22453,388 @@ var testManifest = {
|
|
|
22453
22453
|
"version": "0dbf6376"
|
|
22454
22454
|
}
|
|
22455
22455
|
},
|
|
22456
|
+
"@happyvertical/smrt-core:Issue2069DateInstant": {
|
|
22457
|
+
"name": "issue2069dateinstant",
|
|
22458
|
+
"className": "Issue2069DateInstant",
|
|
22459
|
+
"qualifiedName": "@happyvertical/smrt-core:Issue2069DateInstant",
|
|
22460
|
+
"collection": "issue2069dateinstants",
|
|
22461
|
+
"filePath": "packages/core/src/__tests__/issue-2069-postgres-date-instant.optional.test.ts",
|
|
22462
|
+
"packageName": "@happyvertical/smrt-core",
|
|
22463
|
+
"fields": {
|
|
22464
|
+
"occurredAt": {
|
|
22465
|
+
"type": "datetime",
|
|
22466
|
+
"required": false
|
|
22467
|
+
},
|
|
22468
|
+
"label": {
|
|
22469
|
+
"type": "text",
|
|
22470
|
+
"required": false,
|
|
22471
|
+
"default": ""
|
|
22472
|
+
}
|
|
22473
|
+
},
|
|
22474
|
+
"methods": {},
|
|
22475
|
+
"decoratorConfig": { "tableName": "issue_2069_date_instants" },
|
|
22476
|
+
"extends": "SmrtObject",
|
|
22477
|
+
"exportName": "Issue2069DateInstant",
|
|
22478
|
+
"collectionExportName": "Issue2069DateInstantCollection",
|
|
22479
|
+
"schema": {
|
|
22480
|
+
"tableName": "issue_2069_date_instants",
|
|
22481
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"issue_2069_date_instants\" (\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 \"occurred_at\" TIMESTAMP,\n \"label\" TEXT DEFAULT ''\n);",
|
|
22482
|
+
"columns": {
|
|
22483
|
+
"id": {
|
|
22484
|
+
"type": "UUID",
|
|
22485
|
+
"primaryKey": true,
|
|
22486
|
+
"referenceKind": "id",
|
|
22487
|
+
"notNull": true
|
|
22488
|
+
},
|
|
22489
|
+
"slug": {
|
|
22490
|
+
"type": "TEXT",
|
|
22491
|
+
"notNull": true
|
|
22492
|
+
},
|
|
22493
|
+
"context": {
|
|
22494
|
+
"type": "TEXT",
|
|
22495
|
+
"notNull": true,
|
|
22496
|
+
"default": ""
|
|
22497
|
+
},
|
|
22498
|
+
"created_at": {
|
|
22499
|
+
"type": "TIMESTAMP",
|
|
22500
|
+
"notNull": true,
|
|
22501
|
+
"default": "current_timestamp"
|
|
22502
|
+
},
|
|
22503
|
+
"updated_at": {
|
|
22504
|
+
"type": "TIMESTAMP",
|
|
22505
|
+
"notNull": true,
|
|
22506
|
+
"default": "current_timestamp"
|
|
22507
|
+
},
|
|
22508
|
+
"occurred_at": {
|
|
22509
|
+
"type": "TIMESTAMP",
|
|
22510
|
+
"notNull": false,
|
|
22511
|
+
"unique": false
|
|
22512
|
+
},
|
|
22513
|
+
"label": {
|
|
22514
|
+
"type": "TEXT",
|
|
22515
|
+
"notNull": false,
|
|
22516
|
+
"unique": false,
|
|
22517
|
+
"default": ""
|
|
22518
|
+
}
|
|
22519
|
+
},
|
|
22520
|
+
"indexes": [{
|
|
22521
|
+
"name": "issue_2069_date_instants_id_idx",
|
|
22522
|
+
"columns": ["id"]
|
|
22523
|
+
}, {
|
|
22524
|
+
"name": "issue_2069_date_instants_slug_context_idx",
|
|
22525
|
+
"columns": ["slug", "context"],
|
|
22526
|
+
"unique": true
|
|
22527
|
+
}],
|
|
22528
|
+
"version": "a9dfe539"
|
|
22529
|
+
}
|
|
22530
|
+
},
|
|
22531
|
+
"@happyvertical/smrt-core:Issue2069DateInstantCollection": {
|
|
22532
|
+
"name": "issue2069dateinstantcollection",
|
|
22533
|
+
"className": "Issue2069DateInstantCollection",
|
|
22534
|
+
"qualifiedName": "@happyvertical/smrt-core:Issue2069DateInstantCollection",
|
|
22535
|
+
"collection": "issue2069dateinstants",
|
|
22536
|
+
"filePath": "packages/core/src/__tests__/issue-2069-postgres-date-instant.optional.test.ts",
|
|
22537
|
+
"packageName": "@happyvertical/smrt-core",
|
|
22538
|
+
"fields": {},
|
|
22539
|
+
"methods": {},
|
|
22540
|
+
"decoratorConfig": { "tableName": "issue_2069_date_instants" },
|
|
22541
|
+
"extends": "SmrtCollection",
|
|
22542
|
+
"extendsTypeArg": "Issue2069DateInstant",
|
|
22543
|
+
"exportName": "Issue2069DateInstantCollection",
|
|
22544
|
+
"collectionExportName": "Issue2069DateInstantCollectionCollection",
|
|
22545
|
+
"schema": {
|
|
22546
|
+
"tableName": "issue_2069_date_instants",
|
|
22547
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"issue_2069_date_instants\" (\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);",
|
|
22548
|
+
"columns": {
|
|
22549
|
+
"id": {
|
|
22550
|
+
"type": "UUID",
|
|
22551
|
+
"primaryKey": true,
|
|
22552
|
+
"referenceKind": "id",
|
|
22553
|
+
"notNull": true
|
|
22554
|
+
},
|
|
22555
|
+
"slug": {
|
|
22556
|
+
"type": "TEXT",
|
|
22557
|
+
"notNull": true
|
|
22558
|
+
},
|
|
22559
|
+
"context": {
|
|
22560
|
+
"type": "TEXT",
|
|
22561
|
+
"notNull": true,
|
|
22562
|
+
"default": ""
|
|
22563
|
+
},
|
|
22564
|
+
"created_at": {
|
|
22565
|
+
"type": "TIMESTAMP",
|
|
22566
|
+
"notNull": true,
|
|
22567
|
+
"default": "current_timestamp"
|
|
22568
|
+
},
|
|
22569
|
+
"updated_at": {
|
|
22570
|
+
"type": "TIMESTAMP",
|
|
22571
|
+
"notNull": true,
|
|
22572
|
+
"default": "current_timestamp"
|
|
22573
|
+
}
|
|
22574
|
+
},
|
|
22575
|
+
"indexes": [{
|
|
22576
|
+
"name": "issue_2069_date_instants_id_idx",
|
|
22577
|
+
"columns": ["id"]
|
|
22578
|
+
}, {
|
|
22579
|
+
"name": "issue_2069_date_instants_slug_context_idx",
|
|
22580
|
+
"columns": ["slug", "context"],
|
|
22581
|
+
"unique": true
|
|
22582
|
+
}],
|
|
22583
|
+
"version": "c737093f"
|
|
22584
|
+
}
|
|
22585
|
+
},
|
|
22586
|
+
"@happyvertical/smrt-core:Issue2070PostgresHydrationProbe": {
|
|
22587
|
+
"name": "issue2070postgreshydrationprobe",
|
|
22588
|
+
"className": "Issue2070PostgresHydrationProbe",
|
|
22589
|
+
"qualifiedName": "@happyvertical/smrt-core:Issue2070PostgresHydrationProbe",
|
|
22590
|
+
"collection": "issue2070postgreshydrationprobes",
|
|
22591
|
+
"filePath": "packages/core/src/__tests__/issue-2070-postgres-hydration.optional.test.ts",
|
|
22592
|
+
"packageName": "@happyvertical/smrt-core",
|
|
22593
|
+
"fields": { "position": {
|
|
22594
|
+
"type": "integer",
|
|
22595
|
+
"required": false,
|
|
22596
|
+
"default": 0
|
|
22597
|
+
} },
|
|
22598
|
+
"methods": { "initialize": {
|
|
22599
|
+
"name": "initialize",
|
|
22600
|
+
"async": true,
|
|
22601
|
+
"parameters": [],
|
|
22602
|
+
"returnType": "Promise",
|
|
22603
|
+
"isStatic": false,
|
|
22604
|
+
"isPublic": true
|
|
22605
|
+
} },
|
|
22606
|
+
"decoratorConfig": { "tableName": "issue_2070_postgres_hydration_probes" },
|
|
22607
|
+
"extends": "SmrtObject",
|
|
22608
|
+
"exportName": "Issue2070PostgresHydrationProbe",
|
|
22609
|
+
"collectionExportName": "Issue2070PostgresHydrationProbeCollection",
|
|
22610
|
+
"schema": {
|
|
22611
|
+
"tableName": "issue_2070_postgres_hydration_probes",
|
|
22612
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"issue_2070_postgres_hydration_probes\" (\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 \"position\" INTEGER DEFAULT 0\n);",
|
|
22613
|
+
"columns": {
|
|
22614
|
+
"id": {
|
|
22615
|
+
"type": "UUID",
|
|
22616
|
+
"primaryKey": true,
|
|
22617
|
+
"referenceKind": "id",
|
|
22618
|
+
"notNull": true
|
|
22619
|
+
},
|
|
22620
|
+
"slug": {
|
|
22621
|
+
"type": "TEXT",
|
|
22622
|
+
"notNull": true
|
|
22623
|
+
},
|
|
22624
|
+
"context": {
|
|
22625
|
+
"type": "TEXT",
|
|
22626
|
+
"notNull": true,
|
|
22627
|
+
"default": ""
|
|
22628
|
+
},
|
|
22629
|
+
"created_at": {
|
|
22630
|
+
"type": "TIMESTAMP",
|
|
22631
|
+
"notNull": true,
|
|
22632
|
+
"default": "current_timestamp"
|
|
22633
|
+
},
|
|
22634
|
+
"updated_at": {
|
|
22635
|
+
"type": "TIMESTAMP",
|
|
22636
|
+
"notNull": true,
|
|
22637
|
+
"default": "current_timestamp"
|
|
22638
|
+
},
|
|
22639
|
+
"position": {
|
|
22640
|
+
"type": "INTEGER",
|
|
22641
|
+
"notNull": false,
|
|
22642
|
+
"unique": false,
|
|
22643
|
+
"default": 0
|
|
22644
|
+
}
|
|
22645
|
+
},
|
|
22646
|
+
"indexes": [{
|
|
22647
|
+
"name": "issue_2070_postgres_hydration_probes_id_idx",
|
|
22648
|
+
"columns": ["id"]
|
|
22649
|
+
}, {
|
|
22650
|
+
"name": "issue_2070_postgres_hydration_probes_slug_context_idx",
|
|
22651
|
+
"columns": ["slug", "context"],
|
|
22652
|
+
"unique": true
|
|
22653
|
+
}],
|
|
22654
|
+
"version": "90389635"
|
|
22655
|
+
}
|
|
22656
|
+
},
|
|
22657
|
+
"@happyvertical/smrt-core:Issue2070PostgresHydrationProbeCollection": {
|
|
22658
|
+
"name": "issue2070postgreshydrationprobecollection",
|
|
22659
|
+
"className": "Issue2070PostgresHydrationProbeCollection",
|
|
22660
|
+
"qualifiedName": "@happyvertical/smrt-core:Issue2070PostgresHydrationProbeCollection",
|
|
22661
|
+
"collection": "issue2070postgreshydrationprobes",
|
|
22662
|
+
"filePath": "packages/core/src/__tests__/issue-2070-postgres-hydration.optional.test.ts",
|
|
22663
|
+
"packageName": "@happyvertical/smrt-core",
|
|
22664
|
+
"fields": {},
|
|
22665
|
+
"methods": {},
|
|
22666
|
+
"decoratorConfig": { "tableName": "issue_2070_postgres_hydration_probes" },
|
|
22667
|
+
"extends": "SmrtCollection",
|
|
22668
|
+
"extendsTypeArg": "Issue2070PostgresHydrationProbe",
|
|
22669
|
+
"exportName": "Issue2070PostgresHydrationProbeCollection",
|
|
22670
|
+
"collectionExportName": "Issue2070PostgresHydrationProbeCollectionCollection",
|
|
22671
|
+
"schema": {
|
|
22672
|
+
"tableName": "issue_2070_postgres_hydration_probes",
|
|
22673
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"issue_2070_postgres_hydration_probes\" (\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);",
|
|
22674
|
+
"columns": {
|
|
22675
|
+
"id": {
|
|
22676
|
+
"type": "UUID",
|
|
22677
|
+
"primaryKey": true,
|
|
22678
|
+
"referenceKind": "id",
|
|
22679
|
+
"notNull": true
|
|
22680
|
+
},
|
|
22681
|
+
"slug": {
|
|
22682
|
+
"type": "TEXT",
|
|
22683
|
+
"notNull": true
|
|
22684
|
+
},
|
|
22685
|
+
"context": {
|
|
22686
|
+
"type": "TEXT",
|
|
22687
|
+
"notNull": true,
|
|
22688
|
+
"default": ""
|
|
22689
|
+
},
|
|
22690
|
+
"created_at": {
|
|
22691
|
+
"type": "TIMESTAMP",
|
|
22692
|
+
"notNull": true,
|
|
22693
|
+
"default": "current_timestamp"
|
|
22694
|
+
},
|
|
22695
|
+
"updated_at": {
|
|
22696
|
+
"type": "TIMESTAMP",
|
|
22697
|
+
"notNull": true,
|
|
22698
|
+
"default": "current_timestamp"
|
|
22699
|
+
}
|
|
22700
|
+
},
|
|
22701
|
+
"indexes": [{
|
|
22702
|
+
"name": "issue_2070_postgres_hydration_probes_id_idx",
|
|
22703
|
+
"columns": ["id"]
|
|
22704
|
+
}, {
|
|
22705
|
+
"name": "issue_2070_postgres_hydration_probes_slug_context_idx",
|
|
22706
|
+
"columns": ["slug", "context"],
|
|
22707
|
+
"unique": true
|
|
22708
|
+
}],
|
|
22709
|
+
"version": "b8fb8be0"
|
|
22710
|
+
}
|
|
22711
|
+
},
|
|
22712
|
+
"@happyvertical/smrt-core:Issue2070HydrationProbe": {
|
|
22713
|
+
"name": "issue2070hydrationprobe",
|
|
22714
|
+
"className": "Issue2070HydrationProbe",
|
|
22715
|
+
"qualifiedName": "@happyvertical/smrt-core:Issue2070HydrationProbe",
|
|
22716
|
+
"collection": "issue2070hydrationprobes",
|
|
22717
|
+
"filePath": "packages/core/src/__tests__/issue-2070-serialized-hydration.test.ts",
|
|
22718
|
+
"packageName": "@happyvertical/smrt-core",
|
|
22719
|
+
"fields": { "position": {
|
|
22720
|
+
"type": "integer",
|
|
22721
|
+
"required": false,
|
|
22722
|
+
"default": 0
|
|
22723
|
+
} },
|
|
22724
|
+
"methods": { "initialize": {
|
|
22725
|
+
"name": "initialize",
|
|
22726
|
+
"async": true,
|
|
22727
|
+
"parameters": [],
|
|
22728
|
+
"returnType": "Promise",
|
|
22729
|
+
"isStatic": false,
|
|
22730
|
+
"isPublic": true
|
|
22731
|
+
} },
|
|
22732
|
+
"decoratorConfig": { "tableName": "issue_2070_hydration_probes" },
|
|
22733
|
+
"extends": "SmrtObject",
|
|
22734
|
+
"exportName": "Issue2070HydrationProbe",
|
|
22735
|
+
"collectionExportName": "Issue2070HydrationProbeCollection",
|
|
22736
|
+
"schema": {
|
|
22737
|
+
"tableName": "issue_2070_hydration_probes",
|
|
22738
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"issue_2070_hydration_probes\" (\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 \"position\" INTEGER DEFAULT 0\n);",
|
|
22739
|
+
"columns": {
|
|
22740
|
+
"id": {
|
|
22741
|
+
"type": "UUID",
|
|
22742
|
+
"primaryKey": true,
|
|
22743
|
+
"referenceKind": "id",
|
|
22744
|
+
"notNull": true
|
|
22745
|
+
},
|
|
22746
|
+
"slug": {
|
|
22747
|
+
"type": "TEXT",
|
|
22748
|
+
"notNull": true
|
|
22749
|
+
},
|
|
22750
|
+
"context": {
|
|
22751
|
+
"type": "TEXT",
|
|
22752
|
+
"notNull": true,
|
|
22753
|
+
"default": ""
|
|
22754
|
+
},
|
|
22755
|
+
"created_at": {
|
|
22756
|
+
"type": "TIMESTAMP",
|
|
22757
|
+
"notNull": true,
|
|
22758
|
+
"default": "current_timestamp"
|
|
22759
|
+
},
|
|
22760
|
+
"updated_at": {
|
|
22761
|
+
"type": "TIMESTAMP",
|
|
22762
|
+
"notNull": true,
|
|
22763
|
+
"default": "current_timestamp"
|
|
22764
|
+
},
|
|
22765
|
+
"position": {
|
|
22766
|
+
"type": "INTEGER",
|
|
22767
|
+
"notNull": false,
|
|
22768
|
+
"unique": false,
|
|
22769
|
+
"default": 0
|
|
22770
|
+
}
|
|
22771
|
+
},
|
|
22772
|
+
"indexes": [{
|
|
22773
|
+
"name": "issue_2070_hydration_probes_id_idx",
|
|
22774
|
+
"columns": ["id"]
|
|
22775
|
+
}, {
|
|
22776
|
+
"name": "issue_2070_hydration_probes_slug_context_idx",
|
|
22777
|
+
"columns": ["slug", "context"],
|
|
22778
|
+
"unique": true
|
|
22779
|
+
}],
|
|
22780
|
+
"version": "d2c72d27"
|
|
22781
|
+
}
|
|
22782
|
+
},
|
|
22783
|
+
"@happyvertical/smrt-core:Issue2070HydrationProbeCollection": {
|
|
22784
|
+
"name": "issue2070hydrationprobecollection",
|
|
22785
|
+
"className": "Issue2070HydrationProbeCollection",
|
|
22786
|
+
"qualifiedName": "@happyvertical/smrt-core:Issue2070HydrationProbeCollection",
|
|
22787
|
+
"collection": "issue2070hydrationprobes",
|
|
22788
|
+
"filePath": "packages/core/src/__tests__/issue-2070-serialized-hydration.test.ts",
|
|
22789
|
+
"packageName": "@happyvertical/smrt-core",
|
|
22790
|
+
"fields": {},
|
|
22791
|
+
"methods": {},
|
|
22792
|
+
"decoratorConfig": { "tableName": "issue_2070_hydration_probes" },
|
|
22793
|
+
"extends": "SmrtCollection",
|
|
22794
|
+
"extendsTypeArg": "Issue2070HydrationProbe",
|
|
22795
|
+
"exportName": "Issue2070HydrationProbeCollection",
|
|
22796
|
+
"collectionExportName": "Issue2070HydrationProbeCollectionCollection",
|
|
22797
|
+
"schema": {
|
|
22798
|
+
"tableName": "issue_2070_hydration_probes",
|
|
22799
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"issue_2070_hydration_probes\" (\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);",
|
|
22800
|
+
"columns": {
|
|
22801
|
+
"id": {
|
|
22802
|
+
"type": "UUID",
|
|
22803
|
+
"primaryKey": true,
|
|
22804
|
+
"referenceKind": "id",
|
|
22805
|
+
"notNull": true
|
|
22806
|
+
},
|
|
22807
|
+
"slug": {
|
|
22808
|
+
"type": "TEXT",
|
|
22809
|
+
"notNull": true
|
|
22810
|
+
},
|
|
22811
|
+
"context": {
|
|
22812
|
+
"type": "TEXT",
|
|
22813
|
+
"notNull": true,
|
|
22814
|
+
"default": ""
|
|
22815
|
+
},
|
|
22816
|
+
"created_at": {
|
|
22817
|
+
"type": "TIMESTAMP",
|
|
22818
|
+
"notNull": true,
|
|
22819
|
+
"default": "current_timestamp"
|
|
22820
|
+
},
|
|
22821
|
+
"updated_at": {
|
|
22822
|
+
"type": "TIMESTAMP",
|
|
22823
|
+
"notNull": true,
|
|
22824
|
+
"default": "current_timestamp"
|
|
22825
|
+
}
|
|
22826
|
+
},
|
|
22827
|
+
"indexes": [{
|
|
22828
|
+
"name": "issue_2070_hydration_probes_id_idx",
|
|
22829
|
+
"columns": ["id"]
|
|
22830
|
+
}, {
|
|
22831
|
+
"name": "issue_2070_hydration_probes_slug_context_idx",
|
|
22832
|
+
"columns": ["slug", "context"],
|
|
22833
|
+
"unique": true
|
|
22834
|
+
}],
|
|
22835
|
+
"version": "7c77ab56"
|
|
22836
|
+
}
|
|
22837
|
+
},
|
|
22456
22838
|
"@happyvertical/smrt-core:CouncilIssue208": {
|
|
22457
22839
|
"name": "councilissue208",
|
|
22458
22840
|
"className": "CouncilIssue208",
|