@nicia-ai/typegraph 0.59.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 +20 -0
- package/README.md +3 -0
- package/dist/backend/postgres/pglite-store.cjs +1 -1
- package/dist/backend/postgres/pglite-store.d.cts +2 -2
- package/dist/backend/postgres/pglite-store.d.ts +2 -2
- package/dist/backend/postgres/pglite-store.js +1 -1
- package/dist/backend/sqlite/local-store.cjs +1 -1
- package/dist/backend/sqlite/local-store.d.cts +2 -2
- package/dist/backend/sqlite/local-store.d.ts +2 -2
- package/dist/backend/sqlite/local-store.js +1 -1
- package/dist/{chunk-MKQY4ZLZ.js → chunk-2DKIJP2R.js} +73 -41
- package/dist/chunk-2DKIJP2R.js.map +1 -0
- 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-IV5W7LKW.cjs → chunk-A22XPVBQ.cjs} +2 -2
- package/dist/chunk-A22XPVBQ.cjs.map +1 -0
- package/dist/{chunk-W4NT4IMI.js → chunk-B4P4DAW3.js} +3 -3
- package/dist/{chunk-W4NT4IMI.js.map → chunk-B4P4DAW3.js.map} +1 -1
- package/dist/{chunk-CA76FVJB.cjs → chunk-CNFKFE5L.cjs} +399 -367
- package/dist/chunk-CNFKFE5L.cjs.map +1 -0
- package/dist/{chunk-EN67I47R.cjs → chunk-EHDLHPMK.cjs} +9 -9
- package/dist/{chunk-EN67I47R.cjs.map → chunk-EHDLHPMK.cjs.map} +1 -1
- package/dist/{chunk-V3JKR2CN.js → chunk-FTDRMXIJ.js} +5 -5
- package/dist/{chunk-V3JKR2CN.js.map → chunk-FTDRMXIJ.js.map} +1 -1
- package/dist/{chunk-3GX5HTPP.js → chunk-ILVXUOQY.js} +3 -3
- package/dist/{chunk-3GX5HTPP.js.map → chunk-ILVXUOQY.js.map} +1 -1
- package/dist/{chunk-XGYUUUHY.cjs → chunk-KGQVK2II.cjs} +40 -40
- package/dist/{chunk-XGYUUUHY.cjs.map → chunk-KGQVK2II.cjs.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-2GZL5ED3.cjs → chunk-OKA6H3B3.cjs} +19 -19
- package/dist/{chunk-2GZL5ED3.cjs.map → chunk-OKA6H3B3.cjs.map} +1 -1
- package/dist/{chunk-26CL47SW.cjs → chunk-PTFO3JI5.cjs} +110 -110
- package/dist/{chunk-26CL47SW.cjs.map → chunk-PTFO3JI5.cjs.map} +1 -1
- package/dist/{chunk-UOHFBYYH.cjs → chunk-Q6ZVQWH7.cjs} +36 -36
- package/dist/{chunk-UOHFBYYH.cjs.map → chunk-Q6ZVQWH7.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-DZ3ETMXF.js → chunk-UVQMUBZ6.js} +6 -6
- package/dist/{chunk-DZ3ETMXF.js.map → chunk-UVQMUBZ6.js.map} +1 -1
- package/dist/{chunk-E6PU35DE.js → chunk-W6K6NSRT.js} +4 -4
- package/dist/{chunk-E6PU35DE.js.map → chunk-W6K6NSRT.js.map} +1 -1
- package/dist/graph-merge/index.cjs +119 -119
- package/dist/graph-merge/index.d.cts +2 -2
- package/dist/graph-merge/index.d.ts +2 -2
- package/dist/graph-merge/index.js +7 -7
- package/dist/{graph-templates-DQnmCPkd.d.ts → graph-templates-ClBhrXiA.d.ts} +1 -1
- package/dist/{graph-templates-Buh-RlmQ.d.cts → graph-templates-DfmKDARd.d.cts} +1 -1
- package/dist/index.cjs +68 -68
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8 -8
- package/dist/interchange/index.cjs +28 -28
- package/dist/interchange/index.d.cts +2 -2
- package/dist/interchange/index.d.ts +2 -2
- package/dist/interchange/index.js +5 -5
- package/dist/{local-store-impl-GFBZBCTN.cjs → local-store-impl-QGSRYFZF.cjs} +9 -9
- package/dist/{local-store-impl-GFBZBCTN.cjs.map → local-store-impl-QGSRYFZF.cjs.map} +1 -1
- package/dist/{local-store-impl-EPUMDNQJ.js → local-store-impl-VEVK2VGA.js} +8 -8
- package/dist/{local-store-impl-EPUMDNQJ.js.map → local-store-impl-VEVK2VGA.js.map} +1 -1
- package/dist/{pglite-store-impl-DB4RRLB7.cjs → pglite-store-impl-33CI3P3M.cjs} +9 -9
- package/dist/{pglite-store-impl-DB4RRLB7.cjs.map → pglite-store-impl-33CI3P3M.cjs.map} +1 -1
- package/dist/{pglite-store-impl-M5PWKN7Z.js → pglite-store-impl-RDPTOOP3.js} +8 -8
- package/dist/{pglite-store-impl-M5PWKN7Z.js.map → pglite-store-impl-RDPTOOP3.js.map} +1 -1
- package/dist/profiler/index.d.cts +2 -2
- package/dist/profiler/index.d.ts +2 -2
- package/dist/provenance/index.cjs +15 -15
- package/dist/provenance/index.d.cts +2 -2
- package/dist/provenance/index.d.ts +2 -2
- package/dist/provenance/index.js +2 -2
- package/dist/schema/index.cjs +34 -34
- package/dist/schema/index.d.cts +3 -3
- package/dist/schema/index.d.ts +3 -3
- package/dist/schema/index.js +4 -4
- package/dist/{store-sLu0hcRm.d.ts → store-B5WZ8E5m.d.ts} +225 -215
- package/dist/{store-CvtRQ8Nb.d.cts → store-DdhFpX53.d.cts} +225 -215
- package/package.json +1 -1
- package/dist/chunk-CA76FVJB.cjs.map +0 -1
- package/dist/chunk-HWWPL2YL.js.map +0 -1
- package/dist/chunk-IV5W7LKW.cjs.map +0 -1
- package/dist/chunk-MKQY4ZLZ.js.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkKGQVK2II_cjs = require('../chunk-KGQVK2II.cjs');
|
|
4
|
+
require('../chunk-PTFO3JI5.cjs');
|
|
5
|
+
require('../chunk-MTJAT6UO.cjs');
|
|
6
6
|
require('../chunk-Y6M5BFRJ.cjs');
|
|
7
7
|
require('../chunk-GD7IWK36.cjs');
|
|
8
8
|
require('../chunk-R255UE5U.cjs');
|
|
9
9
|
require('../chunk-XUCVGEJT.cjs');
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
10
|
+
require('../chunk-Q6ZVQWH7.cjs');
|
|
11
|
+
require('../chunk-A22XPVBQ.cjs');
|
|
12
12
|
require('../chunk-WEXAMJTA.cjs');
|
|
13
13
|
require('../chunk-OGK7F2J3.cjs');
|
|
14
14
|
require('../chunk-EOLNL35G.cjs');
|
|
@@ -32,95 +32,95 @@ require('../chunk-BXHAPCQG.cjs');
|
|
|
32
32
|
|
|
33
33
|
Object.defineProperty(exports, "ConflictStrategySchema", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkKGQVK2II_cjs.ConflictStrategySchema; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "ExportOptionsSchema", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkKGQVK2II_cjs.ExportOptionsSchema; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "ExportStreamOptionsSchema", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkKGQVK2II_cjs.ExportStreamOptionsSchema; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "FORMAT_VERSION", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkKGQVK2II_cjs.FORMAT_VERSION; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "GraphDataHeaderSchema", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkKGQVK2II_cjs.GraphDataHeaderSchema; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "GraphDataSchema", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkKGQVK2II_cjs.GraphDataSchema; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "GraphDataSourceSchema", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkKGQVK2II_cjs.GraphDataSourceSchema; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "GraphInterchangeChunkSchema", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkKGQVK2II_cjs.GraphInterchangeChunkSchema; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "IdentityInterchangeModeSchema", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkKGQVK2II_cjs.IdentityInterchangeModeSchema; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "ImportErrorSchema", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkKGQVK2II_cjs.ImportErrorSchema; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "ImportOptionsSchema", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkKGQVK2II_cjs.ImportOptionsSchema; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "ImportResultSchema", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkKGQVK2II_cjs.ImportResultSchema; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "InterchangeEdgeSchema", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkKGQVK2II_cjs.InterchangeEdgeSchema; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "InterchangeIdentityAssertionSchema", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkKGQVK2II_cjs.InterchangeIdentityAssertionSchema; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "InterchangeIdentitySchema", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkKGQVK2II_cjs.InterchangeIdentitySchema; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "InterchangeNodeSchema", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkKGQVK2II_cjs.InterchangeNodeSchema; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "UnknownPropertyStrategySchema", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkKGQVK2II_cjs.UnknownPropertyStrategySchema; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "exportGraph", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkKGQVK2II_cjs.exportGraph; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "exportGraphStream", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkKGQVK2II_cjs.exportGraphStream; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "importGraph", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkKGQVK2II_cjs.importGraph; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "importGraphStream", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkKGQVK2II_cjs.importGraphStream; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "trustedImportGraph", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkKGQVK2II_cjs.trustedImportGraph; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "trustedImportGraphStream", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkKGQVK2II_cjs.trustedImportGraphStream; }
|
|
124
124
|
});
|
|
125
125
|
//# sourceMappingURL=index.cjs.map
|
|
126
126
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { e as GraphDef } from '../types-Dky3sCFz.cjs';
|
|
2
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-
|
|
4
|
-
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-
|
|
3
|
+
import { b as Store } from '../store-DdhFpX53.cjs';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-DdhFpX53.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { I as IngestionImportTarget } from '../ingestion-import-target-BSgJagqI.cjs';
|
|
7
7
|
import '../searchable-BEAN91Ce.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { e as GraphDef } from '../types-Dky3sCFz.js';
|
|
2
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-
|
|
4
|
-
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-
|
|
3
|
+
import { b as Store } from '../store-B5WZ8E5m.js';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-B5WZ8E5m.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { I as IngestionImportTarget } from '../ingestion-import-target-PNw10V4T.js';
|
|
7
7
|
import '../searchable-Bg2lMPRm.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { ConflictStrategySchema, ExportOptionsSchema, ExportStreamOptionsSchema, FORMAT_VERSION, GraphDataHeaderSchema, GraphDataSchema, GraphDataSourceSchema, GraphInterchangeChunkSchema, IdentityInterchangeModeSchema, ImportErrorSchema, ImportOptionsSchema, ImportResultSchema, InterchangeEdgeSchema, InterchangeIdentityAssertionSchema, InterchangeIdentitySchema, InterchangeNodeSchema, UnknownPropertyStrategySchema, exportGraph, exportGraphStream, importGraph, importGraphStream, trustedImportGraph, trustedImportGraphStream } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { ConflictStrategySchema, ExportOptionsSchema, ExportStreamOptionsSchema, FORMAT_VERSION, GraphDataHeaderSchema, GraphDataSchema, GraphDataSourceSchema, GraphInterchangeChunkSchema, IdentityInterchangeModeSchema, ImportErrorSchema, ImportOptionsSchema, ImportResultSchema, InterchangeEdgeSchema, InterchangeIdentityAssertionSchema, InterchangeIdentitySchema, InterchangeNodeSchema, UnknownPropertyStrategySchema, exportGraph, exportGraphStream, importGraph, importGraphStream, trustedImportGraph, trustedImportGraphStream } from '../chunk-UVQMUBZ6.js';
|
|
2
|
+
import '../chunk-FTDRMXIJ.js';
|
|
3
|
+
import '../chunk-43DOTETB.js';
|
|
4
4
|
import '../chunk-AHRNKPEV.js';
|
|
5
5
|
import '../chunk-IM4X2ZOR.js';
|
|
6
6
|
import '../chunk-N535PWMA.js';
|
|
7
7
|
import '../chunk-2DNUADXX.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-B4P4DAW3.js';
|
|
9
|
+
import '../chunk-QWIR5533.js';
|
|
10
10
|
import '../chunk-XWMB3AFN.js';
|
|
11
11
|
import '../chunk-ZQIDQHDR.js';
|
|
12
12
|
import '../chunk-LI7JGO5B.js';
|
|
@@ -4,23 +4,23 @@ var chunkQBQ465OX_cjs = require('./chunk-QBQ465OX.cjs');
|
|
|
4
4
|
require('./chunk-QCD5JKU4.cjs');
|
|
5
5
|
var chunkT2M2S5YZ_cjs = require('./chunk-T2M2S5YZ.cjs');
|
|
6
6
|
require('./chunk-KW3ON5IU.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkCNFKFE5L_cjs = require('./chunk-CNFKFE5L.cjs');
|
|
8
8
|
require('./chunk-PKWAO4NC.cjs');
|
|
9
9
|
require('./chunk-YB26L7MD.cjs');
|
|
10
10
|
require('./chunk-7BHUIAZR.cjs');
|
|
11
11
|
require('./chunk-JFLJVLNU.cjs');
|
|
12
12
|
require('./chunk-OPEKIWJL.cjs');
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-PTFO3JI5.cjs');
|
|
14
|
+
require('./chunk-MTJAT6UO.cjs');
|
|
15
15
|
require('./chunk-Y6M5BFRJ.cjs');
|
|
16
16
|
require('./chunk-GD7IWK36.cjs');
|
|
17
17
|
require('./chunk-R255UE5U.cjs');
|
|
18
18
|
require('./chunk-XUCVGEJT.cjs');
|
|
19
|
-
require('./chunk-
|
|
19
|
+
require('./chunk-OKA6H3B3.cjs');
|
|
20
20
|
require('./chunk-6YKISECL.cjs');
|
|
21
21
|
require('./chunk-UVVDQGOY.cjs');
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
22
|
+
require('./chunk-Q6ZVQWH7.cjs');
|
|
23
|
+
require('./chunk-A22XPVBQ.cjs');
|
|
24
24
|
require('./chunk-WEXAMJTA.cjs');
|
|
25
25
|
require('./chunk-OGK7F2J3.cjs');
|
|
26
26
|
var chunkEOLNL35G_cjs = require('./chunk-EOLNL35G.cjs');
|
|
@@ -63,7 +63,7 @@ async function createLocalSqliteStoreImpl(graph, options) {
|
|
|
63
63
|
...tables === void 0 ? {} : { tables }
|
|
64
64
|
});
|
|
65
65
|
try {
|
|
66
|
-
const [store] = await
|
|
66
|
+
const [store] = await chunkCNFKFE5L_cjs.createStoreWithSchema(graph, backend, {
|
|
67
67
|
...options.store,
|
|
68
68
|
// The type already excludes `schema` here; the runtime strip guards
|
|
69
69
|
// untyped callers, so the provisioned schema (or the default tables)
|
|
@@ -77,5 +77,5 @@ async function createLocalSqliteStoreImpl(graph, options) {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
exports.createLocalSqliteStoreImpl = createLocalSqliteStoreImpl;
|
|
80
|
-
//# sourceMappingURL=local-store-impl-
|
|
81
|
-
//# sourceMappingURL=local-store-impl-
|
|
80
|
+
//# sourceMappingURL=local-store-impl-QGSRYFZF.cjs.map
|
|
81
|
+
//# sourceMappingURL=local-store-impl-QGSRYFZF.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/backend/sqlite/local-store-impl.ts"],"names":["createSqliteTables","createLocalSqliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,oCAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAIC,0CAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,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,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"local-store-impl-
|
|
1
|
+
{"version":3,"sources":["../src/backend/sqlite/local-store-impl.ts"],"names":["createSqliteTables","createLocalSqliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GACh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./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"]}
|
|
@@ -2,23 +2,23 @@ import { createLocalSqliteBackend } from './chunk-7GNPCBS2.js';
|
|
|
2
2
|
import './chunk-H4FY6OZK.js';
|
|
3
3
|
import { createSqliteTables } from './chunk-TNNDNSNH.js';
|
|
4
4
|
import './chunk-HCNC53MU.js';
|
|
5
|
-
import { createStoreWithSchema } from './chunk-
|
|
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';
|
|
@@ -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-VEVK2VGA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/backend/sqlite/local-store-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACA,kBAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,wBAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,O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AAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,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"]}
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
var chunkDWO6WZP5_cjs = require('./chunk-DWO6WZP5.cjs');
|
|
4
4
|
var chunkT2M2S5YZ_cjs = require('./chunk-T2M2S5YZ.cjs');
|
|
5
5
|
require('./chunk-KW3ON5IU.cjs');
|
|
6
|
-
var
|
|
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');
|
|
@@ -60,7 +60,7 @@ async function createLocalPgliteStoreImpl(graph, options) {
|
|
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,sCAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAMC,0CAAA,CAAyB;AAAA,IACjD,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,MAAA,KAAW,KAAA,GAAQ,EAAE,MAAA,EAAQ,KAAA,KAAmB,EAAC;AAAA,IAC7D,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,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,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store-impl-
|
|
1
|
+
{"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":["createPostgresTables","createLocalPgliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,sCAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAMC,0CAAA,CAAyB;AAAA,IACjD,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,MAAA,KAAW,KAAA,GAAQ,EAAE,MAAA,EAAQ,KAAA,KAAmB,EAAC;AAAA,IAC7D,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,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,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,22 +1,22 @@
|
|
|
1
1
|
import { createLocalPgliteBackend } from './chunk-GYOQAV6R.js';
|
|
2
2
|
import { createPostgresTables } from './chunk-TNNDNSNH.js';
|
|
3
3
|
import './chunk-HCNC53MU.js';
|
|
4
|
-
import { createStoreWithSchema } from './chunk-
|
|
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';
|
|
@@ -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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;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":"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,7 +1,7 @@
|
|
|
1
1
|
import { e as GraphDef, Q as QueryAst } from '../types-Dky3sCFz.cjs';
|
|
2
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-
|
|
4
|
-
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-
|
|
3
|
+
import { b as Store } from '../store-DdhFpX53.cjs';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-DdhFpX53.cjs';
|
|
5
5
|
import { P as ProfilerOptions, a as ProfileReport } from '../types-BUA3dZ99.cjs';
|
|
6
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';
|
|
7
7
|
import 'zod';
|
package/dist/profiler/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { e as GraphDef, Q as QueryAst } from '../types-Dky3sCFz.js';
|
|
2
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-
|
|
4
|
-
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-
|
|
3
|
+
import { b as Store } from '../store-B5WZ8E5m.js';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-B5WZ8E5m.js';
|
|
5
5
|
import { P as ProfilerOptions, a as ProfileReport } from '../types-CPtb7KNf.js';
|
|
6
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';
|
|
7
7
|
import 'zod';
|
|
@@ -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,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { e as GraphDef } from '../types-Dky3sCFz.cjs';
|
|
2
2
|
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Dky3sCFz.cjs';
|
|
3
|
-
import { c as HistoryStore } from '../store-
|
|
4
|
-
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-
|
|
3
|
+
import { c as HistoryStore } from '../store-DdhFpX53.cjs';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-DdhFpX53.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../searchable-BEAN91Ce.cjs';
|
|
7
7
|
import '../resolve-mLksuBg2.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { e as GraphDef } from '../types-Dky3sCFz.js';
|
|
2
2
|
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Dky3sCFz.js';
|
|
3
|
-
import { c as HistoryStore } from '../store-
|
|
4
|
-
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-
|
|
3
|
+
import { c as HistoryStore } from '../store-B5WZ8E5m.js';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-B5WZ8E5m.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../searchable-Bg2lMPRm.js';
|
|
7
7
|
import '../resolve-BbjZDYTw.js';
|
package/dist/provenance/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { applyNodeSoftDelete, createNodeWriteContext, applyNodeResurrect } from '../chunk-
|
|
1
|
+
import { applyNodeSoftDelete, createNodeWriteContext, applyNodeResurrect } from '../chunk-43DOTETB.js';
|
|
2
2
|
import '../chunk-IM4X2ZOR.js';
|
|
3
3
|
import '../chunk-N535PWMA.js';
|
|
4
|
-
import { transactionBackend, lockRecordedGraphWrite, transactionNodeOperationHookRunner, storeBackend, storeRuntime } from '../chunk-
|
|
4
|
+
import { transactionBackend, lockRecordedGraphWrite, transactionNodeOperationHookRunner, storeBackend, storeRuntime } from '../chunk-QWIR5533.js';
|
|
5
5
|
import '../chunk-XWMB3AFN.js';
|
|
6
6
|
import { createClaimsVerdictThunk } from '../chunk-ZQIDQHDR.js';
|
|
7
7
|
import { rowPropsToObject, isLiveNodeRow, isTombstonedNodeRow } from '../chunk-LI7JGO5B.js';
|