@nicia-ai/typegraph 0.58.0 → 0.60.0
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/CHANGELOG.md +42 -0
- package/README.md +15 -0
- package/dist/{atomic-mutation-program-CPcn0ZPu.d.ts → atomic-mutation-program-BNvJ13bq.d.ts} +1 -1
- package/dist/{atomic-mutation-program-AqOe51XD.d.cts → atomic-mutation-program-DOVE147J.d.cts} +1 -1
- package/dist/backend/drizzle/engine/index.cjs +8 -8
- package/dist/backend/drizzle/engine/index.d.cts +9 -9
- package/dist/backend/drizzle/engine/index.d.ts +9 -9
- package/dist/backend/drizzle/engine/index.js +3 -3
- package/dist/backend/drizzle/indexes.cjs +6 -6
- package/dist/backend/drizzle/indexes.d.cts +1 -1
- package/dist/backend/drizzle/indexes.d.ts +1 -1
- package/dist/backend/drizzle/indexes.js +2 -2
- package/dist/backend/index.d.cts +7 -7
- package/dist/backend/index.d.ts +7 -7
- package/dist/backend/postgres/index.cjs +17 -17
- package/dist/backend/postgres/index.d.cts +8 -8
- package/dist/backend/postgres/index.d.ts +8 -8
- package/dist/backend/postgres/index.js +3 -3
- package/dist/backend/postgres/pglite-store.cjs +1 -1
- package/dist/backend/postgres/pglite-store.d.cts +6 -6
- package/dist/backend/postgres/pglite-store.d.ts +6 -6
- package/dist/backend/postgres/pglite-store.js +1 -1
- package/dist/backend/postgres/pglite.cjs +5 -5
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +4 -4
- package/dist/backend/sqlite/index.cjs +16 -16
- package/dist/backend/sqlite/index.d.cts +7 -7
- package/dist/backend/sqlite/index.d.ts +7 -7
- package/dist/backend/sqlite/index.js +3 -3
- package/dist/backend/sqlite/libsql.cjs +7 -7
- package/dist/backend/sqlite/libsql.d.cts +3 -3
- package/dist/backend/sqlite/libsql.d.ts +3 -3
- package/dist/backend/sqlite/libsql.js +3 -3
- package/dist/backend/sqlite/local-store.cjs +1 -1
- package/dist/backend/sqlite/local-store.d.cts +6 -6
- package/dist/backend/sqlite/local-store.d.ts +6 -6
- package/dist/backend/sqlite/local-store.js +1 -1
- package/dist/backend/sqlite/local.cjs +5 -5
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +4 -4
- package/dist/{chunk-7JUD57B4.js → chunk-2DKIJP2R.js} +1044 -84
- package/dist/chunk-2DKIJP2R.js.map +1 -0
- package/dist/{chunk-QIKO6DL5.js → chunk-2QNFFAMF.js} +3 -3
- package/dist/{chunk-QIKO6DL5.js.map → chunk-2QNFFAMF.js.map} +1 -1
- package/dist/{chunk-6BVZHDAZ.js → chunk-43DOTETB.js} +3 -3
- package/dist/{chunk-6BVZHDAZ.js.map → chunk-43DOTETB.js.map} +1 -1
- package/dist/{chunk-US3BLFWM.js → chunk-7GNPCBS2.js} +3 -3
- package/dist/{chunk-US3BLFWM.js.map → chunk-7GNPCBS2.js.map} +1 -1
- package/dist/{chunk-IV5W7LKW.cjs → chunk-A22XPVBQ.cjs} +2 -2
- package/dist/chunk-A22XPVBQ.cjs.map +1 -0
- package/dist/{chunk-CVO2ZPW5.js → chunk-B4P4DAW3.js} +4 -4
- package/dist/{chunk-CVO2ZPW5.js.map → chunk-B4P4DAW3.js.map} +1 -1
- package/dist/{chunk-FHFPUORN.cjs → chunk-CNFKFE5L.cjs} +1375 -415
- package/dist/chunk-CNFKFE5L.cjs.map +1 -0
- package/dist/{chunk-4MZQVVPX.cjs → chunk-D5CHUSW7.cjs} +33 -2
- package/dist/chunk-D5CHUSW7.cjs.map +1 -0
- package/dist/{chunk-TKEJR2UL.cjs → chunk-DWO6WZP5.cjs} +6 -6
- package/dist/{chunk-TKEJR2UL.cjs.map → chunk-DWO6WZP5.cjs.map} +1 -1
- package/dist/{chunk-GUMNJJFP.cjs → chunk-EHDLHPMK.cjs} +9 -9
- package/dist/{chunk-GUMNJJFP.cjs.map → chunk-EHDLHPMK.cjs.map} +1 -1
- package/dist/{chunk-DV24YZHG.js → chunk-FTDRMXIJ.js} +6 -6
- package/dist/{chunk-DV24YZHG.js.map → chunk-FTDRMXIJ.js.map} +1 -1
- package/dist/{chunk-BYBMDK6X.js → chunk-GYOQAV6R.js} +3 -3
- package/dist/{chunk-BYBMDK6X.js.map → chunk-GYOQAV6R.js.map} +1 -1
- package/dist/{chunk-GTW5YKFV.js → chunk-HCNC53MU.js} +3 -3
- package/dist/{chunk-GTW5YKFV.js.map → chunk-HCNC53MU.js.map} +1 -1
- package/dist/{chunk-M7TRJXFE.js → chunk-ILVXUOQY.js} +3 -3
- package/dist/{chunk-M7TRJXFE.js.map → chunk-ILVXUOQY.js.map} +1 -1
- package/dist/{chunk-FGKWXSHF.cjs → chunk-KGQVK2II.cjs} +40 -40
- package/dist/{chunk-FGKWXSHF.cjs.map → chunk-KGQVK2II.cjs.map} +1 -1
- package/dist/{chunk-BMATB57B.cjs → chunk-KW3ON5IU.cjs} +11 -11
- package/dist/{chunk-BMATB57B.cjs.map → chunk-KW3ON5IU.cjs.map} +1 -1
- package/dist/{chunk-GK62U3S5.js → chunk-LOFUF6L7.js} +3 -3
- package/dist/{chunk-GK62U3S5.js.map → chunk-LOFUF6L7.js.map} +1 -1
- package/dist/{chunk-BPYZUJX5.cjs → chunk-MTJAT6UO.cjs} +5 -5
- package/dist/{chunk-BPYZUJX5.cjs.map → chunk-MTJAT6UO.cjs.map} +1 -1
- package/dist/{chunk-YTYB5KCQ.js → chunk-OH7QRGPQ.js} +33 -2
- package/dist/chunk-OH7QRGPQ.js.map +1 -0
- package/dist/{chunk-U53HFE4L.cjs → chunk-OKA6H3B3.cjs} +22 -22
- package/dist/{chunk-U53HFE4L.cjs.map → chunk-OKA6H3B3.cjs.map} +1 -1
- package/dist/{chunk-QR6V2BXA.cjs → chunk-PTFO3JI5.cjs} +114 -114
- package/dist/{chunk-QR6V2BXA.cjs.map → chunk-PTFO3JI5.cjs.map} +1 -1
- package/dist/{chunk-C3CN2C2T.cjs → chunk-Q6ZVQWH7.cjs} +38 -38
- package/dist/{chunk-C3CN2C2T.cjs.map → chunk-Q6ZVQWH7.cjs.map} +1 -1
- package/dist/{chunk-WAG3NVD7.cjs → chunk-QBQ465OX.cjs} +12 -12
- package/dist/{chunk-WAG3NVD7.cjs.map → chunk-QBQ465OX.cjs.map} +1 -1
- package/dist/{chunk-CRROO6PK.cjs → chunk-QHP2BCBJ.cjs} +4 -4
- package/dist/{chunk-CRROO6PK.cjs.map → chunk-QHP2BCBJ.cjs.map} +1 -1
- package/dist/{chunk-HWWPL2YL.js → chunk-QWIR5533.js} +2 -2
- package/dist/chunk-QWIR5533.js.map +1 -0
- package/dist/{chunk-ZHLWPHNT.cjs → chunk-RJ3GVX73.cjs} +6 -6
- package/dist/{chunk-ZHLWPHNT.cjs.map → chunk-RJ3GVX73.cjs.map} +1 -1
- package/dist/{chunk-SYKR6MVR.cjs → chunk-T2M2S5YZ.cjs} +59 -59
- package/dist/{chunk-SYKR6MVR.cjs.map → chunk-T2M2S5YZ.cjs.map} +1 -1
- package/dist/{chunk-OESX3T5K.js → chunk-TNNDNSNH.js} +4 -4
- package/dist/{chunk-OESX3T5K.js.map → chunk-TNNDNSNH.js.map} +1 -1
- package/dist/{chunk-5C4OYYDD.js → chunk-UVQMUBZ6.js} +6 -6
- package/dist/{chunk-5C4OYYDD.js.map → chunk-UVQMUBZ6.js.map} +1 -1
- package/dist/{chunk-IV3FENV2.js → chunk-W6K6NSRT.js} +5 -5
- package/dist/{chunk-IV3FENV2.js.map → chunk-W6K6NSRT.js.map} +1 -1
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/{ddl-wlEdaCQK.d.cts → ddl-B9lzB8Zi.d.cts} +3 -3
- package/dist/{ddl-DkFrUTn_.d.ts → ddl-DuZWvxBb.d.ts} +3 -3
- package/dist/graph-extension/index.d.cts +2 -2
- package/dist/graph-extension/index.d.ts +2 -2
- package/dist/graph-merge/index.cjs +122 -122
- package/dist/graph-merge/index.d.cts +7 -6
- package/dist/graph-merge/index.d.ts +7 -6
- package/dist/graph-merge/index.js +10 -10
- package/dist/{graph-templates-B4gkXVqg.d.ts → graph-templates-ClBhrXiA.d.ts} +2 -2
- package/dist/{graph-templates-6zTU7bNe.d.cts → graph-templates-DfmKDARd.d.cts} +2 -2
- package/dist/index.cjs +73 -73
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +11 -11
- package/dist/indexes/index.cjs +8 -8
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/indexes/index.js +3 -3
- package/dist/{ingestion-import-target-im9wEB00.d.cts → ingestion-import-target-BSgJagqI.d.cts} +1 -1
- package/dist/{ingestion-import-target-SopMSm-T.d.ts → ingestion-import-target-PNw10V4T.d.ts} +1 -1
- package/dist/interchange/index.cjs +29 -29
- package/dist/interchange/index.d.cts +7 -6
- package/dist/interchange/index.d.ts +7 -6
- package/dist/interchange/index.js +6 -6
- package/dist/{local-store-impl-ARNXBBSF.cjs → local-store-impl-QGSRYFZF.cjs} +17 -17
- package/dist/{local-store-impl-ARNXBBSF.cjs.map → local-store-impl-QGSRYFZF.cjs.map} +1 -1
- package/dist/{local-store-impl-FTGRP2V7.js → local-store-impl-VEVK2VGA.js} +14 -14
- package/dist/{local-store-impl-FTGRP2V7.js.map → local-store-impl-VEVK2VGA.js.map} +1 -1
- package/dist/{pglite-store-impl-CNQZYRBC.cjs → pglite-store-impl-33CI3P3M.cjs} +17 -17
- package/dist/{pglite-store-impl-CNQZYRBC.cjs.map → pglite-store-impl-33CI3P3M.cjs.map} +1 -1
- package/dist/{pglite-store-impl-NULC2IHH.js → pglite-store-impl-RDPTOOP3.js} +14 -14
- package/dist/{pglite-store-impl-NULC2IHH.js.map → pglite-store-impl-RDPTOOP3.js.map} +1 -1
- package/dist/{postgres-Dd3TrFku.d.ts → postgres-2FBMdOE_.d.ts} +3 -3
- package/dist/{postgres-cLQPlKtp.d.cts → postgres-BR3AeXm9.d.ts} +1 -1
- package/dist/{postgres-CLPfTNYN.d.ts → postgres-CRatyTVL.d.cts} +1 -1
- package/dist/{postgres-B4VD_rVy.d.cts → postgres-lbZf0zyg.d.cts} +3 -3
- package/dist/{profile-Co154QBx.d.ts → profile-BipG05-8.d.ts} +2 -2
- package/dist/{profile-BqThShR_.d.cts → profile-DKtvxVyA.d.cts} +2 -2
- package/dist/profiler/index.d.cts +8 -7
- package/dist/profiler/index.d.ts +8 -7
- package/dist/provenance/index.cjs +15 -15
- package/dist/provenance/index.cjs.map +1 -1
- package/dist/provenance/index.d.cts +6 -5
- package/dist/provenance/index.d.ts +6 -5
- package/dist/provenance/index.js +2 -2
- package/dist/provenance/index.js.map +1 -1
- package/dist/{repair-validity-windows-BLoClfCq.d.cts → repair-validity-windows-BnSHFIsR.d.cts} +1 -1
- package/dist/{repair-validity-windows-C__28ckL.d.ts → repair-validity-windows-DfRb4gZm.d.ts} +1 -1
- package/dist/{resolve-DgFSIK99.d.ts → resolve-BbjZDYTw.d.ts} +1 -1
- package/dist/{resolve-DSUxNIqw.d.cts → resolve-mLksuBg2.d.cts} +1 -1
- package/dist/schema/index.cjs +36 -36
- package/dist/schema/index.d.cts +7 -7
- package/dist/schema/index.d.ts +7 -7
- package/dist/schema/index.js +6 -6
- package/dist/{searchable-CZKn12eY.d.cts → searchable-BEAN91Ce.d.cts} +1 -1
- package/dist/{searchable-CUWWphQI.d.ts → searchable-Bg2lMPRm.d.ts} +1 -1
- package/dist/{sqlite-mSd_eVk4.d.ts → sqlite-Cal3rHgZ.d.ts} +3 -3
- package/dist/{sqlite-RdH7w-ix.d.cts → sqlite-CvajLABd.d.cts} +1 -1
- package/dist/{sqlite-qXLIybR2.d.cts → sqlite-DQxKoWAH.d.cts} +3 -3
- package/dist/{sqlite-CoBmhiFd.d.ts → sqlite-jH5J-Jb8.d.ts} +1 -1
- package/dist/{store-BzmMsCcw.d.ts → store-B5WZ8E5m.d.ts} +313 -177
- package/dist/{store-CL6uTm_W.d.cts → store-DdhFpX53.d.cts} +313 -177
- package/dist/{types-BUoh7cc3.d.cts → types-BUA3dZ99.d.cts} +1 -1
- package/dist/{types-ClC0IFIS.d.ts → types-CPtb7KNf.d.ts} +1 -1
- package/dist/{types-Blq8PG_N.d.cts → types-Dky3sCFz.d.cts} +9 -0
- package/dist/{types-Blq8PG_N.d.ts → types-Dky3sCFz.d.ts} +9 -0
- package/dist/{where-61C-QoM8.d.ts → where-BReEkAiy.d.ts} +1 -1
- package/dist/{where-o3Me5iJx.d.cts → where-Cz11nPRu.d.cts} +1 -1
- package/package.json +2 -2
- package/dist/chunk-4MZQVVPX.cjs.map +0 -1
- package/dist/chunk-7JUD57B4.js.map +0 -1
- package/dist/chunk-FHFPUORN.cjs.map +0 -1
- package/dist/chunk-HWWPL2YL.js.map +0 -1
- package/dist/chunk-IV5W7LKW.cjs.map +0 -1
- package/dist/chunk-YTYB5KCQ.js.map +0 -1
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { createLocalSqliteBackend } from './chunk-
|
|
1
|
+
import { createLocalSqliteBackend } from './chunk-7GNPCBS2.js';
|
|
2
2
|
import './chunk-H4FY6OZK.js';
|
|
3
|
-
import { createSqliteTables } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import { createStoreWithSchema } from './chunk-
|
|
3
|
+
import { createSqliteTables } from './chunk-TNNDNSNH.js';
|
|
4
|
+
import './chunk-HCNC53MU.js';
|
|
5
|
+
import { createStoreWithSchema } from './chunk-2DKIJP2R.js';
|
|
6
6
|
import './chunk-2AZXVMSX.js';
|
|
7
7
|
import './chunk-CLGE3366.js';
|
|
8
8
|
import './chunk-EFTVYPGQ.js';
|
|
9
9
|
import './chunk-7GZJ36LN.js';
|
|
10
10
|
import './chunk-VEW3743S.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-FTDRMXIJ.js';
|
|
12
|
+
import './chunk-43DOTETB.js';
|
|
13
13
|
import './chunk-AHRNKPEV.js';
|
|
14
14
|
import './chunk-IM4X2ZOR.js';
|
|
15
15
|
import './chunk-N535PWMA.js';
|
|
16
16
|
import './chunk-2DNUADXX.js';
|
|
17
|
-
import './chunk-
|
|
17
|
+
import './chunk-W6K6NSRT.js';
|
|
18
18
|
import './chunk-RFMSZ7CF.js';
|
|
19
19
|
import './chunk-YXT3CCTR.js';
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
20
|
+
import './chunk-B4P4DAW3.js';
|
|
21
|
+
import './chunk-QWIR5533.js';
|
|
22
22
|
import './chunk-XWMB3AFN.js';
|
|
23
23
|
import './chunk-ZQIDQHDR.js';
|
|
24
24
|
import { closeAfterFailure } from './chunk-LI7JGO5B.js';
|
|
25
25
|
import './chunk-CYSXF3PS.js';
|
|
26
26
|
import './chunk-WUNSJGP6.js';
|
|
27
27
|
import './chunk-6TIDSIPH.js';
|
|
28
|
-
import './chunk-
|
|
28
|
+
import './chunk-LOFUF6L7.js';
|
|
29
29
|
import './chunk-JANTPNIZ.js';
|
|
30
|
-
import './chunk-
|
|
30
|
+
import './chunk-2QNFFAMF.js';
|
|
31
31
|
import './chunk-K34OPSJK.js';
|
|
32
|
-
import './chunk-
|
|
32
|
+
import './chunk-OH7QRGPQ.js';
|
|
33
33
|
import './chunk-RZ474NIQ.js';
|
|
34
34
|
import './chunk-2EBMPJBO.js';
|
|
35
35
|
import './chunk-3MZTAXYX.js';
|
|
@@ -75,5 +75,5 @@ async function createLocalSqliteStoreImpl(graph, options) {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
export { createLocalSqliteStoreImpl };
|
|
78
|
-
//# sourceMappingURL=local-store-impl-
|
|
79
|
-
//# sourceMappingURL=local-store-impl-
|
|
78
|
+
//# sourceMappingURL=local-store-impl-VEVK2VGA.js.map
|
|
79
|
+
//# sourceMappingURL=local-store-impl-VEVK2V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GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAM,qBAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAO,iBAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"local-store-impl-VEVK2VGA.js","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
var
|
|
3
|
+
var chunkDWO6WZP5_cjs = require('./chunk-DWO6WZP5.cjs');
|
|
4
|
+
var chunkT2M2S5YZ_cjs = require('./chunk-T2M2S5YZ.cjs');
|
|
5
|
+
require('./chunk-KW3ON5IU.cjs');
|
|
6
|
+
var chunkCNFKFE5L_cjs = require('./chunk-CNFKFE5L.cjs');
|
|
7
7
|
require('./chunk-YB26L7MD.cjs');
|
|
8
8
|
require('./chunk-7BHUIAZR.cjs');
|
|
9
9
|
require('./chunk-JFLJVLNU.cjs');
|
|
10
10
|
require('./chunk-OPEKIWJL.cjs');
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-PTFO3JI5.cjs');
|
|
12
|
+
require('./chunk-MTJAT6UO.cjs');
|
|
13
13
|
require('./chunk-Y6M5BFRJ.cjs');
|
|
14
14
|
require('./chunk-GD7IWK36.cjs');
|
|
15
15
|
require('./chunk-R255UE5U.cjs');
|
|
16
16
|
require('./chunk-XUCVGEJT.cjs');
|
|
17
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-OKA6H3B3.cjs');
|
|
18
18
|
require('./chunk-6YKISECL.cjs');
|
|
19
19
|
require('./chunk-UVVDQGOY.cjs');
|
|
20
|
-
require('./chunk-
|
|
21
|
-
require('./chunk-
|
|
20
|
+
require('./chunk-Q6ZVQWH7.cjs');
|
|
21
|
+
require('./chunk-A22XPVBQ.cjs');
|
|
22
22
|
require('./chunk-WEXAMJTA.cjs');
|
|
23
23
|
require('./chunk-OGK7F2J3.cjs');
|
|
24
24
|
var chunkEOLNL35G_cjs = require('./chunk-EOLNL35G.cjs');
|
|
25
25
|
require('./chunk-6ODVH5SA.cjs');
|
|
26
26
|
require('./chunk-FSSQ4YNU.cjs');
|
|
27
27
|
require('./chunk-NWJV4UVW.cjs');
|
|
28
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-RJ3GVX73.cjs');
|
|
29
29
|
require('./chunk-GDTWUVSN.cjs');
|
|
30
|
-
require('./chunk-
|
|
30
|
+
require('./chunk-QHP2BCBJ.cjs');
|
|
31
31
|
require('./chunk-ZY4GXIVN.cjs');
|
|
32
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-D5CHUSW7.cjs');
|
|
33
33
|
require('./chunk-BZZ2ZGWE.cjs');
|
|
34
34
|
require('./chunk-NAUA4PW5.cjs');
|
|
35
35
|
require('./chunk-4FB7REYC.cjs');
|
|
@@ -52,15 +52,15 @@ function withoutSchemaOverride(schemaManagement) {
|
|
|
52
52
|
return rest;
|
|
53
53
|
}
|
|
54
54
|
async function createLocalPgliteStoreImpl(graph, options) {
|
|
55
|
-
const tables = options.store?.schema === void 0 ? void 0 :
|
|
56
|
-
const { backend } = await
|
|
55
|
+
const tables = options.store?.schema === void 0 ? void 0 : chunkT2M2S5YZ_cjs.createPostgresTables(options.store.schema.tables);
|
|
56
|
+
const { backend } = await chunkDWO6WZP5_cjs.createLocalPgliteBackend({
|
|
57
57
|
...options.dataDir === void 0 ? {} : { dataDir: options.dataDir },
|
|
58
58
|
...options.vector === false ? { vector: false } : {},
|
|
59
59
|
...options.fulltext === void 0 ? {} : { fulltext: options.fulltext },
|
|
60
60
|
...tables === void 0 ? {} : { tables }
|
|
61
61
|
});
|
|
62
62
|
try {
|
|
63
|
-
const [store] = await
|
|
63
|
+
const [store] = await chunkCNFKFE5L_cjs.createStoreWithSchema(graph, backend, {
|
|
64
64
|
...options.store,
|
|
65
65
|
// The type already excludes `schema` here; the runtime strip guards
|
|
66
66
|
// untyped callers, so the provisioned schema (or the default tables)
|
|
@@ -74,5 +74,5 @@ async function createLocalPgliteStoreImpl(graph, options) {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
exports.createLocalPgliteStoreImpl = createLocalPgliteStoreImpl;
|
|
77
|
-
//# sourceMappingURL=pglite-store-impl-
|
|
78
|
-
//# sourceMappingURL=pglite-store-impl-
|
|
77
|
+
//# sourceMappingURL=pglite-store-impl-33CI3P3M.cjs.map
|
|
78
|
+
//# sourceMappingURL=pglite-store-impl-33CI3P3M.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":["createPostgresTables","createLocalPgliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store-impl-33CI3P3M.cjs","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createPostgresTables(options.store.schema.tables);\n const { backend } = await createLocalPgliteBackend({\n ...(options.dataDir === undefined ? {} : { dataDir: options.dataDir }),\n ...(options.vector === false ? { vector: false as const } : {}),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { createLocalPgliteBackend } from './chunk-
|
|
2
|
-
import { createPostgresTables } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import { createStoreWithSchema } from './chunk-
|
|
1
|
+
import { createLocalPgliteBackend } from './chunk-GYOQAV6R.js';
|
|
2
|
+
import { createPostgresTables } from './chunk-TNNDNSNH.js';
|
|
3
|
+
import './chunk-HCNC53MU.js';
|
|
4
|
+
import { createStoreWithSchema } from './chunk-2DKIJP2R.js';
|
|
5
5
|
import './chunk-CLGE3366.js';
|
|
6
6
|
import './chunk-EFTVYPGQ.js';
|
|
7
7
|
import './chunk-7GZJ36LN.js';
|
|
8
8
|
import './chunk-VEW3743S.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-FTDRMXIJ.js';
|
|
10
|
+
import './chunk-43DOTETB.js';
|
|
11
11
|
import './chunk-AHRNKPEV.js';
|
|
12
12
|
import './chunk-IM4X2ZOR.js';
|
|
13
13
|
import './chunk-N535PWMA.js';
|
|
14
14
|
import './chunk-2DNUADXX.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-W6K6NSRT.js';
|
|
16
16
|
import './chunk-RFMSZ7CF.js';
|
|
17
17
|
import './chunk-YXT3CCTR.js';
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
18
|
+
import './chunk-B4P4DAW3.js';
|
|
19
|
+
import './chunk-QWIR5533.js';
|
|
20
20
|
import './chunk-XWMB3AFN.js';
|
|
21
21
|
import './chunk-ZQIDQHDR.js';
|
|
22
22
|
import { closeAfterFailure } from './chunk-LI7JGO5B.js';
|
|
23
23
|
import './chunk-CYSXF3PS.js';
|
|
24
24
|
import './chunk-WUNSJGP6.js';
|
|
25
25
|
import './chunk-6TIDSIPH.js';
|
|
26
|
-
import './chunk-
|
|
26
|
+
import './chunk-LOFUF6L7.js';
|
|
27
27
|
import './chunk-JANTPNIZ.js';
|
|
28
|
-
import './chunk-
|
|
28
|
+
import './chunk-2QNFFAMF.js';
|
|
29
29
|
import './chunk-K34OPSJK.js';
|
|
30
|
-
import './chunk-
|
|
30
|
+
import './chunk-OH7QRGPQ.js';
|
|
31
31
|
import './chunk-RZ474NIQ.js';
|
|
32
32
|
import './chunk-2EBMPJBO.js';
|
|
33
33
|
import './chunk-3MZTAXYX.js';
|
|
@@ -72,5 +72,5 @@ async function createLocalPgliteStoreImpl(graph, options) {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
export { createLocalPgliteStoreImpl };
|
|
75
|
-
//# sourceMappingURL=pglite-store-impl-
|
|
76
|
-
//# sourceMappingURL=pglite-store-impl-
|
|
75
|
+
//# sourceMappingURL=pglite-store-impl-RDPTOOP3.js.map
|
|
76
|
+
//# sourceMappingURL=pglite-store-impl-RDPTOOP3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,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A,EACzC;AACF","file":"pglite-store-impl-RDPTOOP3.js","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createPostgresTables(options.store.schema.tables);\n const { backend } = await createLocalPgliteBackend({\n ...(options.dataDir === undefined ? {} : { dataDir: options.dataDir }),\n ...(options.vector === false ? { vector: false as const } : {}),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-
|
|
2
|
-
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-
|
|
3
|
-
import { a as PostgresTables } from './postgres-
|
|
1
|
+
import { d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-Dky3sCFz.js';
|
|
2
|
+
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-BipG05-8.js';
|
|
3
|
+
import { a as PostgresTables } from './postgres-BR3AeXm9.js';
|
|
4
4
|
import { A as AnyPgDatabase, a as AnyPgTransaction } from './postgres-execution-fKW0qRiN.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-
|
|
2
|
-
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-
|
|
3
|
-
import { a as PostgresTables } from './postgres-
|
|
1
|
+
import { d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-Dky3sCFz.cjs';
|
|
2
|
+
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-DKtvxVyA.cjs';
|
|
3
|
+
import { a as PostgresTables } from './postgres-CRatyTVL.cjs';
|
|
4
4
|
import { A as AnyPgDatabase, a as AnyPgTransaction } from './postgres-execution-fKW0qRiN.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { dI as SqlFragment, aR as Cardinality, N as NodeInsertClaim, k as InsertEdgeParams, E as EdgeConvergenceMatch, j as SchemaWriteFenceParams, e7 as UpsertFulltextParams, bw as DeleteFulltextParams, e6 as UpsertFulltextBatchParams, bv as DeleteFulltextBatchParams, cn as FulltextSearchParams, cA as HybridSearchParams, h as InsertNodeParams, d1 as ManagedNodeCreatePlan, e0 as UpdateNodeParams, b0 as CompareAndSetNodeParams, e1 as UpdateNodeSetParams, bx as DeleteNodeParams, cx as HardDeleteNodeParams, m as ClaimEdgeCardinalityParams, d$ as UpdateEdgeParams, bs as DeleteEdgeParams, bt as DeleteEdgesBatchParams, cw as HardDeleteEdgeParams, bk as CountEdgesFromParams, bM as EdgeExistsBetweenParams, ch as FindEdgesConnectedToParams, ci as FindNodesByKindParams, bl as CountNodesByKindParams, cg as FindEdgesByKindParams, ce as FindEdgesByEndpointSetParams, cf as FindEdgesByHeterogeneousEndpointSetParams, bj as CountEdgesByKindParams, cO as InsertUniqueParams, by as DeleteUniqueParams, cz as HardDeleteUniquesByNodeIdsParams, cy as HardDeleteUniquesByConcreteKindParams, aW as CheckUniqueParams, aV as CheckUniqueBatchParams, dc as PurgeEdgeClaimsParams, F as FenceSql, cN as InsertSchemaParams, dh as RecordContributionMaterializationParams, ba as ContributionMaterializationIdentity, q as SqlDialect, d as FulltextStrategy, V as VectorStrategy, hq as WriteFenceTarget, hr as SchemaWriteTransactionBackend, b1 as CompiledRowsSql, W as WriteFencePlan, S as SchemaVersionRow, a5 as SerializedSchema, dQ as TableContribution, di as RecordIndexMaterializationParams, dj as RecordKindRemovalParams, dw as ResolvedSqlTableNames, Y as BackendCapabilities, aL as BackendCatalogProbes, cW as LineageMembers, bP as EngineRecordedTimeMembers } from './types-
|
|
1
|
+
import { dI as SqlFragment, aR as Cardinality, N as NodeInsertClaim, k as InsertEdgeParams, E as EdgeConvergenceMatch, j as SchemaWriteFenceParams, e7 as UpsertFulltextParams, bw as DeleteFulltextParams, e6 as UpsertFulltextBatchParams, bv as DeleteFulltextBatchParams, cn as FulltextSearchParams, cA as HybridSearchParams, h as InsertNodeParams, d1 as ManagedNodeCreatePlan, e0 as UpdateNodeParams, b0 as CompareAndSetNodeParams, e1 as UpdateNodeSetParams, bx as DeleteNodeParams, cx as HardDeleteNodeParams, m as ClaimEdgeCardinalityParams, d$ as UpdateEdgeParams, bs as DeleteEdgeParams, bt as DeleteEdgesBatchParams, cw as HardDeleteEdgeParams, bk as CountEdgesFromParams, bM as EdgeExistsBetweenParams, ch as FindEdgesConnectedToParams, ci as FindNodesByKindParams, bl as CountNodesByKindParams, cg as FindEdgesByKindParams, ce as FindEdgesByEndpointSetParams, cf as FindEdgesByHeterogeneousEndpointSetParams, bj as CountEdgesByKindParams, cO as InsertUniqueParams, by as DeleteUniqueParams, cz as HardDeleteUniquesByNodeIdsParams, cy as HardDeleteUniquesByConcreteKindParams, aW as CheckUniqueParams, aV as CheckUniqueBatchParams, dc as PurgeEdgeClaimsParams, F as FenceSql, cN as InsertSchemaParams, dh as RecordContributionMaterializationParams, ba as ContributionMaterializationIdentity, q as SqlDialect, d as FulltextStrategy, V as VectorStrategy, hq as WriteFenceTarget, hr as SchemaWriteTransactionBackend, b1 as CompiledRowsSql, W as WriteFencePlan, S as SchemaVersionRow, a5 as SerializedSchema, dQ as TableContribution, di as RecordIndexMaterializationParams, dj as RecordKindRemovalParams, dw as ResolvedSqlTableNames, Y as BackendCapabilities, aL as BackendCatalogProbes, cW as LineageMembers, bP as EngineRecordedTimeMembers } from './types-Dky3sCFz.js';
|
|
2
2
|
import { SQL, AnyColumn } from 'drizzle-orm';
|
|
3
|
-
import { C as CompiledAtomicSqlStatement, a as AtomicSqlBatchExecutor, Z as AtomicNodePostimageEntry, x as AtomicNodeBatchEntry, k as AtomicEdgeConvergenceEntry, K as AtomicNodeProjectionFamily, R as AtomicNodeResolvedUpdateEntry, D as AtomicNodeBatchResultMode, N as AtomicNodeReplacementEntry, H as AtomicNodeDeleteBatchInput, v as AtomicEdgeResolvedUpdateEntry, p as AtomicEdgeDeleteBatchInput } from './atomic-mutation-program-
|
|
3
|
+
import { C as CompiledAtomicSqlStatement, a as AtomicSqlBatchExecutor, Z as AtomicNodePostimageEntry, x as AtomicNodeBatchEntry, k as AtomicEdgeConvergenceEntry, K as AtomicNodeProjectionFamily, R as AtomicNodeResolvedUpdateEntry, D as AtomicNodeBatchResultMode, N as AtomicNodeReplacementEntry, H as AtomicNodeDeleteBatchInput, v as AtomicEdgeResolvedUpdateEntry, p as AtomicEdgeDeleteBatchInput } from './atomic-mutation-program-BNvJ13bq.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A relation plus the names its PRIMARY KEY constraint can carry — how far a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { dI as SqlFragment, aR as Cardinality, N as NodeInsertClaim, k as InsertEdgeParams, E as EdgeConvergenceMatch, j as SchemaWriteFenceParams, e7 as UpsertFulltextParams, bw as DeleteFulltextParams, e6 as UpsertFulltextBatchParams, bv as DeleteFulltextBatchParams, cn as FulltextSearchParams, cA as HybridSearchParams, h as InsertNodeParams, d1 as ManagedNodeCreatePlan, e0 as UpdateNodeParams, b0 as CompareAndSetNodeParams, e1 as UpdateNodeSetParams, bx as DeleteNodeParams, cx as HardDeleteNodeParams, m as ClaimEdgeCardinalityParams, d$ as UpdateEdgeParams, bs as DeleteEdgeParams, bt as DeleteEdgesBatchParams, cw as HardDeleteEdgeParams, bk as CountEdgesFromParams, bM as EdgeExistsBetweenParams, ch as FindEdgesConnectedToParams, ci as FindNodesByKindParams, bl as CountNodesByKindParams, cg as FindEdgesByKindParams, ce as FindEdgesByEndpointSetParams, cf as FindEdgesByHeterogeneousEndpointSetParams, bj as CountEdgesByKindParams, cO as InsertUniqueParams, by as DeleteUniqueParams, cz as HardDeleteUniquesByNodeIdsParams, cy as HardDeleteUniquesByConcreteKindParams, aW as CheckUniqueParams, aV as CheckUniqueBatchParams, dc as PurgeEdgeClaimsParams, F as FenceSql, cN as InsertSchemaParams, dh as RecordContributionMaterializationParams, ba as ContributionMaterializationIdentity, q as SqlDialect, d as FulltextStrategy, V as VectorStrategy, hq as WriteFenceTarget, hr as SchemaWriteTransactionBackend, b1 as CompiledRowsSql, W as WriteFencePlan, S as SchemaVersionRow, a5 as SerializedSchema, dQ as TableContribution, di as RecordIndexMaterializationParams, dj as RecordKindRemovalParams, dw as ResolvedSqlTableNames, Y as BackendCapabilities, aL as BackendCatalogProbes, cW as LineageMembers, bP as EngineRecordedTimeMembers } from './types-
|
|
1
|
+
import { dI as SqlFragment, aR as Cardinality, N as NodeInsertClaim, k as InsertEdgeParams, E as EdgeConvergenceMatch, j as SchemaWriteFenceParams, e7 as UpsertFulltextParams, bw as DeleteFulltextParams, e6 as UpsertFulltextBatchParams, bv as DeleteFulltextBatchParams, cn as FulltextSearchParams, cA as HybridSearchParams, h as InsertNodeParams, d1 as ManagedNodeCreatePlan, e0 as UpdateNodeParams, b0 as CompareAndSetNodeParams, e1 as UpdateNodeSetParams, bx as DeleteNodeParams, cx as HardDeleteNodeParams, m as ClaimEdgeCardinalityParams, d$ as UpdateEdgeParams, bs as DeleteEdgeParams, bt as DeleteEdgesBatchParams, cw as HardDeleteEdgeParams, bk as CountEdgesFromParams, bM as EdgeExistsBetweenParams, ch as FindEdgesConnectedToParams, ci as FindNodesByKindParams, bl as CountNodesByKindParams, cg as FindEdgesByKindParams, ce as FindEdgesByEndpointSetParams, cf as FindEdgesByHeterogeneousEndpointSetParams, bj as CountEdgesByKindParams, cO as InsertUniqueParams, by as DeleteUniqueParams, cz as HardDeleteUniquesByNodeIdsParams, cy as HardDeleteUniquesByConcreteKindParams, aW as CheckUniqueParams, aV as CheckUniqueBatchParams, dc as PurgeEdgeClaimsParams, F as FenceSql, cN as InsertSchemaParams, dh as RecordContributionMaterializationParams, ba as ContributionMaterializationIdentity, q as SqlDialect, d as FulltextStrategy, V as VectorStrategy, hq as WriteFenceTarget, hr as SchemaWriteTransactionBackend, b1 as CompiledRowsSql, W as WriteFencePlan, S as SchemaVersionRow, a5 as SerializedSchema, dQ as TableContribution, di as RecordIndexMaterializationParams, dj as RecordKindRemovalParams, dw as ResolvedSqlTableNames, Y as BackendCapabilities, aL as BackendCatalogProbes, cW as LineageMembers, bP as EngineRecordedTimeMembers } from './types-Dky3sCFz.cjs';
|
|
2
2
|
import { SQL, AnyColumn } from 'drizzle-orm';
|
|
3
|
-
import { C as CompiledAtomicSqlStatement, a as AtomicSqlBatchExecutor, Z as AtomicNodePostimageEntry, x as AtomicNodeBatchEntry, k as AtomicEdgeConvergenceEntry, K as AtomicNodeProjectionFamily, R as AtomicNodeResolvedUpdateEntry, D as AtomicNodeBatchResultMode, N as AtomicNodeReplacementEntry, H as AtomicNodeDeleteBatchInput, v as AtomicEdgeResolvedUpdateEntry, p as AtomicEdgeDeleteBatchInput } from './atomic-mutation-program-
|
|
3
|
+
import { C as CompiledAtomicSqlStatement, a as AtomicSqlBatchExecutor, Z as AtomicNodePostimageEntry, x as AtomicNodeBatchEntry, k as AtomicEdgeConvergenceEntry, K as AtomicNodeProjectionFamily, R as AtomicNodeResolvedUpdateEntry, D as AtomicNodeBatchResultMode, N as AtomicNodeReplacementEntry, H as AtomicNodeDeleteBatchInput, v as AtomicEdgeResolvedUpdateEntry, p as AtomicEdgeDeleteBatchInput } from './atomic-mutation-program-DOVE147J.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A relation plus the names its PRIMARY KEY constraint can carry — how far a
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { e as GraphDef, Q as QueryAst } from '../types-
|
|
2
|
-
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-
|
|
3
|
-
import { b as Store } from '../store-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { e as GraphDef, Q as QueryAst } from '../types-Dky3sCFz.cjs';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Dky3sCFz.cjs';
|
|
3
|
+
import { b as Store } from '../store-DdhFpX53.cjs';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-DdhFpX53.cjs';
|
|
5
|
+
import { P as ProfilerOptions, a as ProfileReport } from '../types-BUA3dZ99.cjs';
|
|
6
|
+
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-BUA3dZ99.cjs';
|
|
6
7
|
import 'zod';
|
|
7
|
-
import '../searchable-
|
|
8
|
-
import '../resolve-
|
|
8
|
+
import '../searchable-BEAN91Ce.cjs';
|
|
9
|
+
import '../resolve-mLksuBg2.cjs';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* A Store with profiling capabilities.
|
package/dist/profiler/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { e as GraphDef, Q as QueryAst } from '../types-
|
|
2
|
-
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-
|
|
3
|
-
import { b as Store } from '../store-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { e as GraphDef, Q as QueryAst } from '../types-Dky3sCFz.js';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Dky3sCFz.js';
|
|
3
|
+
import { b as Store } from '../store-B5WZ8E5m.js';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-B5WZ8E5m.js';
|
|
5
|
+
import { P as ProfilerOptions, a as ProfileReport } from '../types-CPtb7KNf.js';
|
|
6
|
+
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-CPtb7KNf.js';
|
|
6
7
|
import 'zod';
|
|
7
|
-
import '../searchable-
|
|
8
|
-
import '../resolve-
|
|
8
|
+
import '../searchable-Bg2lMPRm.js';
|
|
9
|
+
import '../resolve-BbjZDYTw.js';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* A Store with profiling capabilities.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMTJAT6UO_cjs = require('../chunk-MTJAT6UO.cjs');
|
|
4
4
|
require('../chunk-GD7IWK36.cjs');
|
|
5
5
|
require('../chunk-R255UE5U.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkA22XPVBQ_cjs = require('../chunk-A22XPVBQ.cjs');
|
|
7
7
|
require('../chunk-WEXAMJTA.cjs');
|
|
8
8
|
var chunkOGK7F2J3_cjs = require('../chunk-OGK7F2J3.cjs');
|
|
9
9
|
var chunkEOLNL35G_cjs = require('../chunk-EOLNL35G.cjs');
|
|
@@ -453,13 +453,13 @@ function getFactRegistration(store, row) {
|
|
|
453
453
|
async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
454
454
|
await runHooks("delete", row.kind, row.id, async () => {
|
|
455
455
|
const registration = getFactRegistration(store, row);
|
|
456
|
-
await
|
|
457
|
-
|
|
456
|
+
await chunkMTJAT6UO_cjs.applyNodeSoftDelete(
|
|
457
|
+
chunkMTJAT6UO_cjs.createNodeWriteContext(
|
|
458
458
|
store.graphId,
|
|
459
459
|
store.registry,
|
|
460
460
|
lock,
|
|
461
|
-
chunkOGK7F2J3_cjs.createClaimsVerdictThunk(
|
|
462
|
-
chunkBXHAPCQG_cjs.requireDefined(
|
|
461
|
+
chunkOGK7F2J3_cjs.createClaimsVerdictThunk(chunkA22XPVBQ_cjs.storeBackend(store)),
|
|
462
|
+
chunkBXHAPCQG_cjs.requireDefined(chunkA22XPVBQ_cjs.storeRuntime(store).uniqueSidecarBatch)
|
|
463
463
|
),
|
|
464
464
|
{
|
|
465
465
|
existing: row,
|
|
@@ -475,13 +475,13 @@ async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
|
475
475
|
async function reopenFactCurrency(backend, store, runHooks, row, lock) {
|
|
476
476
|
await runHooks("update", row.kind, row.id, async () => {
|
|
477
477
|
const registration = getFactRegistration(store, row);
|
|
478
|
-
await
|
|
479
|
-
|
|
478
|
+
await chunkMTJAT6UO_cjs.applyNodeResurrect(
|
|
479
|
+
chunkMTJAT6UO_cjs.createNodeWriteContext(
|
|
480
480
|
store.graphId,
|
|
481
481
|
store.registry,
|
|
482
482
|
lock,
|
|
483
|
-
chunkOGK7F2J3_cjs.createClaimsVerdictThunk(
|
|
484
|
-
chunkBXHAPCQG_cjs.requireDefined(
|
|
483
|
+
chunkOGK7F2J3_cjs.createClaimsVerdictThunk(chunkA22XPVBQ_cjs.storeBackend(store)),
|
|
484
|
+
chunkBXHAPCQG_cjs.requireDefined(chunkA22XPVBQ_cjs.storeRuntime(store).uniqueSidecarBatch)
|
|
485
485
|
),
|
|
486
486
|
{
|
|
487
487
|
existing: row,
|
|
@@ -514,8 +514,8 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
514
514
|
);
|
|
515
515
|
}
|
|
516
516
|
return store.transaction(async (tx) => {
|
|
517
|
-
const backend =
|
|
518
|
-
const lock = await
|
|
517
|
+
const backend = chunkA22XPVBQ_cjs.transactionBackend(tx);
|
|
518
|
+
const lock = await chunkA22XPVBQ_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
519
519
|
const rows = await Promise.all(
|
|
520
520
|
uniqueSources.map(
|
|
521
521
|
(source) => backend.getNode(store.graphId, source.kind, source.id)
|
|
@@ -551,7 +551,7 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
551
551
|
await synchronizeFactCurrency(
|
|
552
552
|
backend,
|
|
553
553
|
store,
|
|
554
|
-
|
|
554
|
+
chunkA22XPVBQ_cjs.transactionNodeOperationHookRunner(tx),
|
|
555
555
|
after,
|
|
556
556
|
affected,
|
|
557
557
|
lock
|
|
@@ -577,8 +577,8 @@ function createRetractionCapability(store, config) {
|
|
|
577
577
|
unRetractMany: (sources) => transition(sources, false),
|
|
578
578
|
async holding() {
|
|
579
579
|
return store.transaction(async (tx) => {
|
|
580
|
-
const backend =
|
|
581
|
-
await
|
|
580
|
+
const backend = chunkA22XPVBQ_cjs.transactionBackend(tx);
|
|
581
|
+
await chunkA22XPVBQ_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
582
582
|
const snapshot = await computeSupport(
|
|
583
583
|
backend,
|
|
584
584
|
store.graphId,
|