@nicia-ai/typegraph 0.35.0 → 0.37.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/dist/backend/postgres/index.cjs +24 -24
- package/dist/backend/postgres/index.d.cts +6 -6
- package/dist/backend/postgres/index.d.ts +6 -6
- package/dist/backend/postgres/index.js +11 -11
- package/dist/backend/postgres/pglite.cjs +16 -16
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +11 -11
- package/dist/backend/sqlite/index.cjs +22 -21
- package/dist/backend/sqlite/index.d.cts +11 -9
- package/dist/backend/sqlite/index.d.ts +11 -9
- package/dist/backend/sqlite/index.js +10 -9
- package/dist/backend/sqlite/libsql.cjs +15 -14
- package/dist/backend/sqlite/libsql.cjs.map +1 -1
- package/dist/backend/sqlite/libsql.d.cts +3 -3
- package/dist/backend/sqlite/libsql.d.ts +3 -3
- package/dist/backend/sqlite/libsql.js +11 -10
- package/dist/backend/sqlite/libsql.js.map +1 -1
- package/dist/backend/sqlite/local.cjs +30 -23
- package/dist/backend/sqlite/local.cjs.map +1 -1
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +18 -11
- package/dist/backend/sqlite/local.js.map +1 -1
- package/dist/{chunk-TCOCYN2P.cjs → chunk-27SSDCEP.cjs} +14 -14
- package/dist/{chunk-TCOCYN2P.cjs.map → chunk-27SSDCEP.cjs.map} +1 -1
- package/dist/{chunk-5AQIKK56.cjs → chunk-2N6EOBTH.cjs} +16 -16
- package/dist/{chunk-5AQIKK56.cjs.map → chunk-2N6EOBTH.cjs.map} +1 -1
- package/dist/{chunk-FN35DLCN.cjs → chunk-3C2RYI6L.cjs} +13 -107
- package/dist/chunk-3C2RYI6L.cjs.map +1 -0
- package/dist/{chunk-4JEZZJ6S.cjs → chunk-3DS7Z4T4.cjs} +39 -39
- package/dist/{chunk-4JEZZJ6S.cjs.map → chunk-3DS7Z4T4.cjs.map} +1 -1
- package/dist/{chunk-BLZDPRXT.cjs → chunk-3GH67G4Z.cjs} +5 -5
- package/dist/{chunk-BLZDPRXT.cjs.map → chunk-3GH67G4Z.cjs.map} +1 -1
- package/dist/{chunk-K3PPLHY7.js → chunk-3RWZPJKV.js} +24 -9
- package/dist/chunk-3RWZPJKV.js.map +1 -0
- package/dist/{chunk-QWEUYILR.js → chunk-3SLPDKHQ.js} +4 -4
- package/dist/chunk-3SLPDKHQ.js.map +1 -0
- package/dist/{chunk-5A6FNS6N.cjs → chunk-3XXGYU62.cjs} +11 -11
- package/dist/{chunk-5A6FNS6N.cjs.map → chunk-3XXGYU62.cjs.map} +1 -1
- package/dist/{chunk-JBTOYDMN.js → chunk-44TA22QT.js} +58 -11
- package/dist/chunk-44TA22QT.js.map +1 -0
- package/dist/{chunk-UES55P7G.js → chunk-552KNYQJ.js} +2652 -409
- package/dist/chunk-552KNYQJ.js.map +1 -0
- package/dist/{chunk-VPYHY3LJ.cjs → chunk-5KEQ74YU.cjs} +14 -14
- package/dist/chunk-5KEQ74YU.cjs.map +1 -0
- package/dist/{chunk-Q5TEXCTB.js → chunk-5KPNWT6X.js} +3 -3
- package/dist/{chunk-Q5TEXCTB.js.map → chunk-5KPNWT6X.js.map} +1 -1
- package/dist/{chunk-MP2JQKSG.js → chunk-5PNMDJ7J.js} +108 -5
- package/dist/chunk-5PNMDJ7J.js.map +1 -0
- package/dist/{chunk-AW4A3P5A.cjs → chunk-5VQM6VWP.cjs} +2 -2
- package/dist/{chunk-AW4A3P5A.cjs.map → chunk-5VQM6VWP.cjs.map} +1 -1
- package/dist/{chunk-A3W7QG7K.js → chunk-5WWVZMVX.js} +2 -2
- package/dist/{chunk-A3W7QG7K.js.map → chunk-5WWVZMVX.js.map} +1 -1
- package/dist/{chunk-FACJJWGF.cjs → chunk-6EEO3OVU.cjs} +7 -7
- package/dist/{chunk-FACJJWGF.cjs.map → chunk-6EEO3OVU.cjs.map} +1 -1
- package/dist/{chunk-LGEALRC6.cjs → chunk-BVRDGYXQ.cjs} +113 -4
- package/dist/chunk-BVRDGYXQ.cjs.map +1 -0
- package/dist/{chunk-GSQ6NPH6.cjs → chunk-DEFQM7JU.cjs} +7 -7
- package/dist/{chunk-GSQ6NPH6.cjs.map → chunk-DEFQM7JU.cjs.map} +1 -1
- package/dist/{chunk-EM3CWPND.cjs → chunk-DIQ3AV5W.cjs} +574 -268
- package/dist/chunk-DIQ3AV5W.cjs.map +1 -0
- package/dist/{chunk-FPIZFYHE.js → chunk-EXU3RASM.js} +74 -15
- package/dist/chunk-EXU3RASM.js.map +1 -0
- package/dist/{chunk-H7YNSMA7.cjs → chunk-HAHNRASW.cjs} +20 -2
- package/dist/chunk-HAHNRASW.cjs.map +1 -0
- package/dist/{chunk-FL472AMI.cjs → chunk-IP3CGGPA.cjs} +8 -8
- package/dist/{chunk-FL472AMI.cjs.map → chunk-IP3CGGPA.cjs.map} +1 -1
- package/dist/{chunk-4TOD4LBZ.cjs → chunk-IPSVVTWT.cjs} +94 -35
- package/dist/chunk-IPSVVTWT.cjs.map +1 -0
- package/dist/{chunk-RGP33ZJ5.js → chunk-IXGYRP2P.js} +184 -92
- package/dist/chunk-IXGYRP2P.js.map +1 -0
- package/dist/{chunk-3TWF3SH4.js → chunk-J4IUSYFF.js} +251 -121
- package/dist/chunk-J4IUSYFF.js.map +1 -0
- package/dist/{chunk-O7UN7OXA.cjs → chunk-JBNOGRKW.cjs} +318 -188
- package/dist/chunk-JBNOGRKW.cjs.map +1 -0
- package/dist/{chunk-WDBCBWC4.js → chunk-K3Q3LJY3.js} +520 -221
- package/dist/chunk-K3Q3LJY3.js.map +1 -0
- package/dist/{chunk-OR5ZA5WP.js → chunk-K5UBVGJN.js} +4 -4
- package/dist/{chunk-OR5ZA5WP.js.map → chunk-K5UBVGJN.js.map} +1 -1
- package/dist/{chunk-UZV3AZKF.js → chunk-KQJ54OG5.js} +3 -3
- package/dist/{chunk-UZV3AZKF.js.map → chunk-KQJ54OG5.js.map} +1 -1
- package/dist/{chunk-QOTI55H7.js → chunk-L7HQ2OSI.js} +4 -4
- package/dist/{chunk-QOTI55H7.js.map → chunk-L7HQ2OSI.js.map} +1 -1
- package/dist/{chunk-55MZDDZV.js → chunk-M6VES7V6.js} +4 -4
- package/dist/{chunk-55MZDDZV.js.map → chunk-M6VES7V6.js.map} +1 -1
- package/dist/{chunk-J7WFGBJR.cjs → chunk-NBP2WTJW.cjs} +3249 -1006
- package/dist/chunk-NBP2WTJW.cjs.map +1 -0
- package/dist/{chunk-CK5BVQOW.cjs → chunk-NUIG3BCV.cjs} +100 -85
- package/dist/chunk-NUIG3BCV.cjs.map +1 -0
- package/dist/{chunk-EMF62TZG.cjs → chunk-NXQFATMF.cjs} +269 -177
- package/dist/chunk-NXQFATMF.cjs.map +1 -0
- package/dist/{chunk-KBGQIPRQ.js → chunk-PC2UBAUB.js} +20 -3
- package/dist/chunk-PC2UBAUB.js.map +1 -0
- package/dist/chunk-QARBLBXT.cjs +219 -0
- package/dist/chunk-QARBLBXT.cjs.map +1 -0
- package/dist/{chunk-6FR2MMS6.js → chunk-QERAIDRJ.js} +45 -4
- package/dist/chunk-QERAIDRJ.js.map +1 -0
- package/dist/chunk-QSXTWU4U.cjs +12 -0
- package/dist/{chunk-GUR2FNB5.cjs.map → chunk-QSXTWU4U.cjs.map} +1 -1
- package/dist/{chunk-QNKSQTKQ.js → chunk-RCVLFTCT.js} +49 -19
- package/dist/chunk-RCVLFTCT.js.map +1 -0
- package/dist/{chunk-VSPCZAXF.js → chunk-RRSNR3TP.js} +3 -3
- package/dist/{chunk-VSPCZAXF.js.map → chunk-RRSNR3TP.js.map} +1 -1
- package/dist/{chunk-WJT7OU7E.cjs → chunk-TGOMW4MB.cjs} +129 -98
- package/dist/chunk-TGOMW4MB.cjs.map +1 -0
- package/dist/{chunk-KMI7LYAF.js → chunk-TKT2XHED.js} +8 -8
- package/dist/{chunk-KMI7LYAF.js.map → chunk-TKT2XHED.js.map} +1 -1
- package/dist/{chunk-RGPG7EOJ.js → chunk-TPF25IG6.js} +3 -3
- package/dist/{chunk-RGPG7EOJ.js.map → chunk-TPF25IG6.js.map} +1 -1
- package/dist/{chunk-5SEGFTZX.js → chunk-UGZUAYAR.js} +3 -3
- package/dist/{chunk-5SEGFTZX.js.map → chunk-UGZUAYAR.js.map} +1 -1
- package/dist/{chunk-VHMPG6UL.js → chunk-UXLSNRYL.js} +11 -105
- package/dist/chunk-UXLSNRYL.js.map +1 -0
- package/dist/{chunk-FRV5Q5IO.js → chunk-UYQMBBWJ.js} +3 -3
- package/dist/{chunk-FRV5Q5IO.js.map → chunk-UYQMBBWJ.js.map} +1 -1
- package/dist/{chunk-UUT7UN2N.cjs → chunk-VGDDG3XJ.cjs} +7 -7
- package/dist/{chunk-UUT7UN2N.cjs.map → chunk-VGDDG3XJ.cjs.map} +1 -1
- package/dist/{chunk-CZQ3FO2Q.js → chunk-VKGKDOKR.js} +56 -21
- package/dist/chunk-VKGKDOKR.js.map +1 -0
- package/dist/{chunk-CTTSDJLY.cjs → chunk-VL2V6PEN.cjs} +11 -11
- package/dist/{chunk-CTTSDJLY.cjs.map → chunk-VL2V6PEN.cjs.map} +1 -1
- package/dist/{chunk-XOX22WHL.cjs → chunk-WOJMKB3N.cjs} +125 -90
- package/dist/chunk-WOJMKB3N.cjs.map +1 -0
- package/dist/{chunk-UMDVATGY.cjs → chunk-WWFHO375.cjs} +6 -6
- package/dist/{chunk-UMDVATGY.cjs.map → chunk-WWFHO375.cjs.map} +1 -1
- package/dist/{chunk-I7ZUZKFD.js → chunk-XGPUQ56G.js} +3 -3
- package/dist/{chunk-I7ZUZKFD.js.map → chunk-XGPUQ56G.js.map} +1 -1
- package/dist/{chunk-D7ZEOS56.cjs → chunk-XGU7DZDA.cjs} +74 -14
- package/dist/chunk-XGU7DZDA.cjs.map +1 -0
- package/dist/{chunk-S55OV6PW.cjs → chunk-XPCZADMT.cjs} +54 -11
- package/dist/chunk-XPCZADMT.cjs.map +1 -0
- package/dist/{chunk-T2WUSPDA.js → chunk-XWV4JT34.js} +3 -3
- package/dist/{chunk-T2WUSPDA.js.map → chunk-XWV4JT34.js.map} +1 -1
- package/dist/chunk-YTSN73ND.js +212 -0
- package/dist/chunk-YTSN73ND.js.map +1 -0
- package/dist/{ddl-CZz7a0E8.d.cts → ddl-BD-ZfKeX.d.cts} +3 -3
- package/dist/{ddl-C2rZ-Aen.d.ts → ddl-CS0KUVwB.d.ts} +3 -3
- package/dist/{extension-types-ixRpJVUp.d.cts → extension-types-BM2ACfYO.d.cts} +6 -1
- package/dist/{extension-types-ixRpJVUp.d.ts → extension-types-BM2ACfYO.d.ts} +6 -1
- package/dist/{fulltext-strategy-CDkSSYhq.d.cts → fulltext-strategy-C27vXaeB.d.cts} +127 -8
- package/dist/{fulltext-strategy-B57yvC5Q.d.ts → fulltext-strategy-DebsMrqg.d.ts} +127 -8
- package/dist/graph-extension/index.cjs +19 -19
- package/dist/graph-extension/index.d.cts +4 -4
- package/dist/graph-extension/index.d.ts +4 -4
- package/dist/graph-extension/index.js +4 -4
- package/dist/graph-merge/index.cjs +88 -88
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +6 -6
- package/dist/graph-merge/index.d.ts +6 -6
- package/dist/graph-merge/index.js +19 -19
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/{index-Bks_3HHK.d.cts → index-BPM59vsg.d.cts} +119 -7
- package/dist/{index-6CSUAq-x.d.ts → index-BeacbPoe.d.ts} +119 -7
- package/dist/index.cjs +230 -185
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +53 -40
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.cjs +30 -21
- package/dist/indexes/index.d.cts +5 -5
- package/dist/indexes/index.d.ts +5 -5
- package/dist/indexes/index.js +8 -7
- package/dist/interchange/index.cjs +208 -30
- package/dist/interchange/index.cjs.map +1 -1
- package/dist/interchange/index.d.cts +25 -8
- package/dist/interchange/index.d.ts +25 -8
- package/dist/interchange/index.js +191 -11
- package/dist/interchange/index.js.map +1 -1
- package/dist/{manager-DwQi8eV0.d.cts → manager-D00_NXvT.d.ts} +11 -2
- package/dist/{manager-ejUCB52T.d.ts → manager-nU1vTJLy.d.cts} +11 -2
- package/dist/{materialize-indexes-B4e9360H.d.cts → materialize-indexes-CuR3gAZb.d.cts} +8 -2
- package/dist/{materialize-indexes-te9TPMMJ.d.ts → materialize-indexes-zK2J_flP.d.ts} +8 -2
- package/dist/{postgres-DQ5R6rzV.d.ts → postgres-IaBA4RgE.d.ts} +1 -1
- package/dist/{postgres-CfEqsRMp.d.cts → postgres-YrYmPlaU.d.cts} +1 -1
- package/dist/profiler/index.cjs +3 -3
- package/dist/profiler/index.d.cts +7 -7
- package/dist/profiler/index.d.ts +7 -7
- package/dist/profiler/index.js +2 -2
- package/dist/provenance/index.cjs +32 -33
- package/dist/provenance/index.cjs.map +1 -1
- package/dist/provenance/index.d.cts +5 -5
- package/dist/provenance/index.d.ts +5 -5
- package/dist/provenance/index.js +5 -6
- package/dist/provenance/index.js.map +1 -1
- package/dist/schema/index.cjs +35 -35
- package/dist/schema/index.d.cts +7 -7
- package/dist/schema/index.d.ts +7 -7
- package/dist/schema/index.js +11 -11
- package/dist/{sqlite-DvQndLky.d.ts → sqlite-BUOHPx7p.d.ts} +1 -1
- package/dist/{sqlite-D7zBinNR.d.cts → sqlite-Pp8O19WE.d.cts} +1 -1
- package/dist/{store-view-CKbHFRnn.d.ts → store-view-ANL6mTph.d.ts} +457 -57
- package/dist/{store-view-BSpqvAxK.d.cts → store-view-X96Rd00T.d.cts} +457 -57
- package/dist/{types-Bv9DcS_E.d.cts → types-r-Zyq2Hz.d.cts} +2 -2
- package/dist/{types-CoxuV7EJ.d.ts → types-wsvuBgPK.d.ts} +2 -2
- package/dist/where-CJOpJj3a.d.ts +36 -0
- package/dist/where-K3uBP33l.d.cts +36 -0
- package/package.json +1 -1
- package/dist/chunk-3TWF3SH4.js.map +0 -1
- package/dist/chunk-4TOD4LBZ.cjs.map +0 -1
- package/dist/chunk-6FR2MMS6.js.map +0 -1
- package/dist/chunk-CK5BVQOW.cjs.map +0 -1
- package/dist/chunk-CZQ3FO2Q.js.map +0 -1
- package/dist/chunk-D7ZEOS56.cjs.map +0 -1
- package/dist/chunk-EM3CWPND.cjs.map +0 -1
- package/dist/chunk-EMF62TZG.cjs.map +0 -1
- package/dist/chunk-EOLERH7Y.cjs +0 -40
- package/dist/chunk-EOLERH7Y.cjs.map +0 -1
- package/dist/chunk-FN35DLCN.cjs.map +0 -1
- package/dist/chunk-FPIZFYHE.js.map +0 -1
- package/dist/chunk-GUR2FNB5.cjs +0 -12
- package/dist/chunk-H7YNSMA7.cjs.map +0 -1
- package/dist/chunk-J7WFGBJR.cjs.map +0 -1
- package/dist/chunk-JBTOYDMN.js.map +0 -1
- package/dist/chunk-K3PPLHY7.js.map +0 -1
- package/dist/chunk-KBGQIPRQ.js.map +0 -1
- package/dist/chunk-LGEALRC6.cjs.map +0 -1
- package/dist/chunk-MP2JQKSG.js.map +0 -1
- package/dist/chunk-O7UN7OXA.cjs.map +0 -1
- package/dist/chunk-QNKSQTKQ.js.map +0 -1
- package/dist/chunk-QWEUYILR.js.map +0 -1
- package/dist/chunk-RGP33ZJ5.js.map +0 -1
- package/dist/chunk-S55OV6PW.cjs.map +0 -1
- package/dist/chunk-UES55P7G.js.map +0 -1
- package/dist/chunk-UT3S4SEN.js +0 -31
- package/dist/chunk-UT3S4SEN.js.map +0 -1
- package/dist/chunk-VHMPG6UL.js.map +0 -1
- package/dist/chunk-VPYHY3LJ.cjs.map +0 -1
- package/dist/chunk-WDBCBWC4.js.map +0 -1
- package/dist/chunk-WJT7OU7E.cjs.map +0 -1
- package/dist/chunk-XOX22WHL.cjs.map +0 -1
- package/dist/where-7RKFOsXt.d.ts +0 -11
- package/dist/where-DdMIXOtH.d.cts +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SQL } from 'drizzle-orm';
|
|
2
|
-
import { a as NullCheckOp, K as KindEntity, T as TemporalMode, A as AnyEdgeType, N as NodeType, g as EdgeType, s as UniquenessScope, n as Collation, D as DeleteBehavior, f as KindAnnotations, m as Cardinality, q as EndpointExistence, G as GraphExtension, I as IndexEntity } from './extension-types-
|
|
2
|
+
import { a as NullCheckOp, K as KindEntity, T as TemporalMode, A as AnyEdgeType, N as NodeType, g as EdgeType, s as UniquenessScope, n as Collation, D as DeleteBehavior, f as KindAnnotations, m as Cardinality, q as EndpointExistence, G as GraphExtension, I as IndexEntity } from './extension-types-BM2ACfYO.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { PgDatabase, PgQueryResultHKT } from 'drizzle-orm/pg-core';
|
|
5
5
|
import { BaseSQLiteDatabase } from 'drizzle-orm/sqlite-core';
|
|
@@ -424,13 +424,14 @@ interface VectorStrategy {
|
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
declare const SqlIntentBrand: unique symbol;
|
|
427
|
-
type SqlIntent = "rows" | "statement";
|
|
427
|
+
type SqlIntent = "rows" | "statement" | "temporary-statement";
|
|
428
428
|
type IntentSql<I extends SqlIntent> = SQL & Readonly<{
|
|
429
429
|
[SqlIntentBrand]: I;
|
|
430
430
|
}>;
|
|
431
431
|
type CompiledRowsSql = IntentSql<"rows">;
|
|
432
432
|
type CompiledSelectSql = CompiledRowsSql;
|
|
433
433
|
type CompiledStatementSql = IntentSql<"statement">;
|
|
434
|
+
type CompiledTemporaryStatementSql = IntentSql<"temporary-statement">;
|
|
434
435
|
declare function asCompiledRowsSql(query: SQL): CompiledRowsSql;
|
|
435
436
|
declare function asCompiledSelectSql(query: SQL): CompiledSelectSql;
|
|
436
437
|
declare function asCompiledStatementSql(query: SQL): CompiledStatementSql;
|
|
@@ -1652,6 +1653,19 @@ type FulltextCapabilities = Readonly<{
|
|
|
1652
1653
|
/** Whether highlighting / snippets are supported. */
|
|
1653
1654
|
highlighting: boolean;
|
|
1654
1655
|
}>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Whole-graph analytics capabilities declared by a backend.
|
|
1658
|
+
*
|
|
1659
|
+
* `supported` means the backend can pin one transactional connection while
|
|
1660
|
+
* an algorithm creates, updates, and drops session-local temporary state.
|
|
1661
|
+
* `mathFunctions` records whether transcendental SQL functions needed by
|
|
1662
|
+
* deferred algorithms such as MCL/spectral are available; exact WCC does not
|
|
1663
|
+
* require them.
|
|
1664
|
+
*/
|
|
1665
|
+
type GraphAnalyticsCapabilities = Readonly<{
|
|
1666
|
+
supported: boolean;
|
|
1667
|
+
mathFunctions: boolean;
|
|
1668
|
+
}>;
|
|
1655
1669
|
|
|
1656
1670
|
/**
|
|
1657
1671
|
* Backend capabilities that vary by dialect.
|
|
@@ -1673,18 +1687,22 @@ type BackendCapabilities = Readonly<{
|
|
|
1673
1687
|
/**
|
|
1674
1688
|
* Maximum number of bound parameters the engine accepts in one statement.
|
|
1675
1689
|
* SQLite defaults to 999 (raisable at compile time via
|
|
1676
|
-
* `SQLITE_MAX_VARIABLE_NUMBER`)
|
|
1690
|
+
* `SQLITE_MAX_VARIABLE_NUMBER`), while hosted SQLite runtimes may impose a
|
|
1691
|
+
* lower platform ceiling; PostgreSQL's wire protocol caps it at 65535.
|
|
1677
1692
|
* Recorded-time capture and recorded point reads size their multi-row
|
|
1678
1693
|
* statements to this ceiling — the same budget the backend's own batched
|
|
1679
|
-
* inserts use — instead of a conservative dialect-blind constant.
|
|
1680
|
-
*
|
|
1681
|
-
* recorded-time fallback
|
|
1694
|
+
* inserts use — instead of a conservative dialect-blind constant. Custom
|
|
1695
|
+
* runtimes can override a detected or probed limit here, but hosted platform
|
|
1696
|
+
* hard ceilings may only be lowered. Absent means the recorded-time fallback
|
|
1697
|
+
* budget applies.
|
|
1682
1698
|
*/
|
|
1683
1699
|
maxBindParameters?: number;
|
|
1684
1700
|
/** Vector search capabilities (undefined if not configured) */
|
|
1685
1701
|
vector?: VectorCapabilities | undefined;
|
|
1686
1702
|
/** Fulltext search capabilities (undefined if not configured) */
|
|
1687
1703
|
fulltext?: FulltextCapabilities | undefined;
|
|
1704
|
+
/** Whole-graph analytics capabilities (undefined when unavailable). */
|
|
1705
|
+
graphAnalytics?: GraphAnalyticsCapabilities | undefined;
|
|
1688
1706
|
}>;
|
|
1689
1707
|
/**
|
|
1690
1708
|
* A node/edge row's `props` column as the driver returned it: SQLite always
|
|
@@ -1814,6 +1832,18 @@ type InsertEdgeParams = Readonly<{
|
|
|
1814
1832
|
validFrom?: string | null;
|
|
1815
1833
|
validTo?: string;
|
|
1816
1834
|
}>;
|
|
1835
|
+
/**
|
|
1836
|
+
* Write-only session exposed inside {@link GraphBackend.trustedImport}.
|
|
1837
|
+
*
|
|
1838
|
+
* The caller has accepted the trusted-import contract: properties, endpoint
|
|
1839
|
+
* references, uniqueness, and cardinality are not validated. Backends may
|
|
1840
|
+
* therefore use engine-native ingestion primitives that bypass the normal
|
|
1841
|
+
* store write pipeline.
|
|
1842
|
+
*/
|
|
1843
|
+
type TrustedImportSession = Readonly<{
|
|
1844
|
+
insertNodes: (params: readonly InsertNodeParams[]) => Promise<void>;
|
|
1845
|
+
insertEdges: (params: readonly InsertEdgeParams[]) => Promise<void>;
|
|
1846
|
+
}>;
|
|
1817
1847
|
/**
|
|
1818
1848
|
* Parameters for updating an edge.
|
|
1819
1849
|
*/
|
|
@@ -2354,12 +2384,25 @@ type RecordKindRemovalParams = Readonly<{
|
|
|
2354
2384
|
/** Error message on failure; undefined on success or while pending. */
|
|
2355
2385
|
error: string | undefined;
|
|
2356
2386
|
}>;
|
|
2387
|
+
/** @internal Capability token for connection-local temporary writes. */
|
|
2388
|
+
declare const INTERNAL_TEMPORARY_WRITES: unique symbol;
|
|
2357
2389
|
/**
|
|
2358
2390
|
* Transaction options.
|
|
2359
2391
|
*/
|
|
2360
2392
|
type TransactionOptions = Readonly<{
|
|
2361
2393
|
/** Transaction isolation level (if supported) */
|
|
2362
2394
|
isolationLevel?: "read_uncommitted" | "read_committed" | "repeatable_read" | "serializable";
|
|
2395
|
+
/**
|
|
2396
|
+
* Transaction access mode (if supported). `read_only` is intended for
|
|
2397
|
+
* multi-statement reads that need one snapshot and must not perform writes.
|
|
2398
|
+
*/
|
|
2399
|
+
accessMode?: "read_only" | "read_write";
|
|
2400
|
+
/**
|
|
2401
|
+
* @internal Permit writes only to connection-local temporary state. The
|
|
2402
|
+
* iterative-operation primitive uses this when an engine rejects temporary
|
|
2403
|
+
* DDL in a read-only transaction.
|
|
2404
|
+
*/
|
|
2405
|
+
temporaryWrites?: typeof INTERNAL_TEMPORARY_WRITES;
|
|
2363
2406
|
}>;
|
|
2364
2407
|
/**
|
|
2365
2408
|
* A caller-owned, already-open Drizzle transaction handle that a
|
|
@@ -2684,6 +2727,61 @@ type GraphBackend = Readonly<{
|
|
|
2684
2727
|
* records the marker (success or failure) keyed by `graphId`.
|
|
2685
2728
|
*/
|
|
2686
2729
|
ensureRuntimeContributions?: (graphId: string) => Promise<void>;
|
|
2730
|
+
/**
|
|
2731
|
+
* Privileged materializer for one embedding `(kind, field)` slot's
|
|
2732
|
+
* `ownedTables` contribution(s): creates the per-field vector table and
|
|
2733
|
+
* records its durable marker, idempotently. The vector counterpart of
|
|
2734
|
+
* `ensureRuntimeContributions` — vectors are per-`(kind, field)` and
|
|
2735
|
+
* graph-derived, so the store enumerates slots (via
|
|
2736
|
+
* `resolveEmbeddingFields`) and uses the batch counterpart at boot under
|
|
2737
|
+
* the privileged role. Pass `{ force: true }` to overwrite the marker
|
|
2738
|
+
* at the current signature, bypassing the drift-guard — the sanctioned
|
|
2739
|
+
* path `store.reembedVectorField()` uses after recreating storage at a
|
|
2740
|
+
* new dimension. Pass `{ onDrift: "skip" }` to leave an
|
|
2741
|
+
* already-provisioned slot whose shape has since changed untouched
|
|
2742
|
+
* (warn + no-op) instead of refusing — the boot/evolve path, so a
|
|
2743
|
+
* declared dimension change never blocks startup before the operator
|
|
2744
|
+
* can run `reembedVectorField`. Present only on backends wired with a
|
|
2745
|
+
* vector strategy.
|
|
2746
|
+
*/
|
|
2747
|
+
ensureVectorSlotContribution?: (slot: VectorSlot, options?: Readonly<{
|
|
2748
|
+
force?: boolean;
|
|
2749
|
+
onDrift?: "throw" | "skip";
|
|
2750
|
+
}>) => Promise<void>;
|
|
2751
|
+
/**
|
|
2752
|
+
* Batch form of `ensureVectorSlotContribution`, used by privileged boot to
|
|
2753
|
+
* resolve every slot's durable markers with one graph-scoped query. The
|
|
2754
|
+
* singular method remains available for re-embedding and compatibility.
|
|
2755
|
+
*/
|
|
2756
|
+
ensureVectorSlotContributions?: (slots: readonly VectorSlot[], options?: Readonly<{
|
|
2757
|
+
force?: boolean;
|
|
2758
|
+
onDrift?: "throw" | "skip";
|
|
2759
|
+
}>) => Promise<void>;
|
|
2760
|
+
/**
|
|
2761
|
+
* SELECT-only gate for one embedding `(kind, field)` slot: asserts the
|
|
2762
|
+
* durable marker(s) for the slot's `ownedTables` contribution(s),
|
|
2763
|
+
* cached per backend instance. Throws `StoreNotInitializedError` when
|
|
2764
|
+
* the slot is missing, stale (signature drift), or recorded a failed
|
|
2765
|
+
* last attempt. The vector counterpart of
|
|
2766
|
+
* `assertRuntimeContributionsInitialized`, consulted by the verified
|
|
2767
|
+
* runtime attach. Performs ZERO DDL and ZERO writes. Present only on
|
|
2768
|
+
* backends wired with a vector strategy.
|
|
2769
|
+
*/
|
|
2770
|
+
assertVectorSlotInitialized?: (slot: VectorSlot) => Promise<void>;
|
|
2771
|
+
/**
|
|
2772
|
+
* Batch form of `assertVectorSlotInitialized`, used by verified attach to
|
|
2773
|
+
* resolve every slot's durable markers with one graph-scoped query.
|
|
2774
|
+
*/
|
|
2775
|
+
assertVectorSlotsInitialized?: (slots: readonly VectorSlot[]) => Promise<void>;
|
|
2776
|
+
/**
|
|
2777
|
+
* Forget one embedding `(kind, field)` slot's durable contribution
|
|
2778
|
+
* marker(s). Called after the slot's per-field table is dropped
|
|
2779
|
+
* (vector-field reclaim) so a later `ensureVectorSlotContribution`
|
|
2780
|
+
* re-creates the table instead of trusting an orphaned "initialized"
|
|
2781
|
+
* marker. Does NOT drop the table itself (the caller already did).
|
|
2782
|
+
* Present only on backends wired with a vector strategy.
|
|
2783
|
+
*/
|
|
2784
|
+
deleteVectorSlotContribution?: (slot: VectorSlot) => Promise<void>;
|
|
2687
2785
|
/**
|
|
2688
2786
|
* Bootstraps the fulltext storage table the active `FulltextStrategy`
|
|
2689
2787
|
* owns. Same focused-bootstrap rationale as the other `ensure*Table`
|
|
@@ -2743,6 +2841,20 @@ type GraphBackend = Readonly<{
|
|
|
2743
2841
|
* sizes this library is designed for.
|
|
2744
2842
|
*/
|
|
2745
2843
|
refreshStatistics: () => Promise<void>;
|
|
2844
|
+
/**
|
|
2845
|
+
* Runs an intentionally trusted, all-or-nothing initial import.
|
|
2846
|
+
*
|
|
2847
|
+
* Optional because only backends that can pin one transaction and use a
|
|
2848
|
+
* native high-throughput write path expose it. Implementations must reject
|
|
2849
|
+
* a database whose TypeGraph node or edge tables already contain rows. They
|
|
2850
|
+
* may temporarily remove rebuildable secondary indexes, but must restore
|
|
2851
|
+
* them before committing. Any callback, insert, or rebuild failure rolls the
|
|
2852
|
+
* entire operation back.
|
|
2853
|
+
*
|
|
2854
|
+
* This is a top-level-only lifecycle operation and is deliberately absent
|
|
2855
|
+
* from {@link TransactionBackend}.
|
|
2856
|
+
*/
|
|
2857
|
+
trustedImport?: <T>(fn: (session: TrustedImportSession) => Promise<T>) => Promise<T>;
|
|
2746
2858
|
execute: <T>(query: CompiledRowsSql) => Promise<readonly T[]>;
|
|
2747
2859
|
/**
|
|
2748
2860
|
* Execute a non-row-returning SQL statement bound to this backend or
|
|
@@ -2751,6 +2863,13 @@ type GraphBackend = Readonly<{
|
|
|
2751
2863
|
* capability-check and fail loudly.
|
|
2752
2864
|
*/
|
|
2753
2865
|
executeStatement?: (query: CompiledStatementSql) => Promise<void>;
|
|
2866
|
+
/**
|
|
2867
|
+
* Execute an internally compiled statement against connection-local
|
|
2868
|
+
* temporary state. History wrappers preserve this path because it cannot
|
|
2869
|
+
* mutate graph or history tables; callers cannot construct its branded
|
|
2870
|
+
* input through the public API.
|
|
2871
|
+
*/
|
|
2872
|
+
executeTemporaryStatement?: (query: CompiledTemporaryStatementSql) => Promise<void>;
|
|
2754
2873
|
/** Execute pre-compiled SQL text with bound parameters. Available on sync SQLite and pg backends. */
|
|
2755
2874
|
executeRaw?: <T>(sqlText: string, params: readonly unknown[]) => Promise<readonly T[]>;
|
|
2756
2875
|
/** Compile a Drizzle SQL object to { sql, params } without executing. */
|
|
@@ -2837,7 +2956,7 @@ type RemovalMaterializationBackend = Pick<GraphBackend, "ensureKindRemovalsTable
|
|
|
2837
2956
|
type GraphLifecycleBackend = Pick<GraphBackend, "clearGraph" | "bootstrapTables">;
|
|
2838
2957
|
type QueryExecutionBackend = Pick<GraphBackend, "execute">;
|
|
2839
2958
|
type RawQueryExecutionBackend = Pick<GraphBackend, "executeRaw" | "compileSql">;
|
|
2840
|
-
type RawStatementExecutionBackend = Pick<GraphBackend, "executeStatement" | "executeDdl">;
|
|
2959
|
+
type RawStatementExecutionBackend = Pick<GraphBackend, "executeStatement" | "executeTemporaryStatement" | "executeDdl">;
|
|
2841
2960
|
type BackendMaintenance = Pick<GraphBackend, "refreshStatistics">;
|
|
2842
2961
|
type BackendTransactions = Pick<GraphBackend, "transaction" | "adoptTransaction">;
|
|
2843
2962
|
type BackendLifecycle = Pick<GraphBackend, "close">;
|
|
@@ -3182,4 +3301,4 @@ interface FulltextStrategy {
|
|
|
3182
3301
|
declare const tsvectorStrategy: FulltextStrategy;
|
|
3183
3302
|
declare const fts5Strategy: FulltextStrategy;
|
|
3184
3303
|
|
|
3185
|
-
export { type BackendTransactions as $, type AnyPgDatabase as A, type BackendCapabilities as B, type SerializedOntology as C, type SerializedUniqueConstraint as D, type
|
|
3304
|
+
export { type BackendTransactions as $, type AnyPgDatabase as A, type BackendCapabilities as B, type SerializedOntology as C, type SerializedUniqueConstraint as D, type EdgeIndexDeclaration as E, type FulltextStrategy as F, type GraphBackend as G, type SchemaVersionRow as H, type IndexDeclaration as I, type JsonPointer as J, type InferenceType as K, type AggregateExpr as L, type MetaEdge as M, type NodeIndexDeclaration as N, type OntologyRelation as O, type FieldRef as P, type QueryAst as Q, type RelationalIndexDeclaration as R, type SqliteExecutionProfileHints as S, type ComparisonOp as T, type AggregateComparisonPredicate as U, type VectorStrategy as V, type TraversalDirection as W, type AdoptedTransaction as X, type BackendIdentity as Y, type BackendLifecycle as Z, type BackendMaintenance as _, type AnySqliteDatabase as a, asCompiledRowsSql as a$, type CommitSchemaVersionExpected as a0, type CommitSchemaVersionParams as a1, type CompiledRowsSql as a2, type CompiledSelectSql as a3, type CompiledStatementSql as a4, type ContributionMaterializationBackend as a5, DEFAULT_SQL_SCHEMA as a6, type DeleteFulltextBatchParams as a7, type EdgeEntityReadBackend as a8, type EdgeEntityWriteBackend as a9, type ParameterRef as aA, type QueryExecutionBackend as aB, type RawQueryExecutionBackend as aC, type RawStatementExecutionBackend as aD, type RecordedRelationOptions as aE, type RemovalMaterializationBackend as aF, type ResolveJsonPointer as aG, type ResolveJsonPointerSegments as aH, type ResolvedSqlTableNames as aI, type RowProps as aJ, type SchemaCommitBackend as aK, type SchemaReadBackend as aL, type SetActiveVersionParams as aM, type SortDirection as aN, type SqlIntent as aO, type SqlSchema as aP, type SqlTableNames as aQ, type StrategyTableContribution as aR, type TableContribution as aS, type TransactionBackend as aT, type TraversalExpansion as aU, type TrustedImportSession as aV, type UniqueConstraintBackend as aW, type UpsertFulltextBatchParams as aX, type VectorCapabilities as aY, type VectorOperationBackend as aZ, type VectorSlot as a_, type ExternalRecordedReadSource as aa, type FilteredApproximateSearch as ab, type FilteredApproximateSearchMode as ac, type FulltextBatchRow as ad, type FulltextCapabilities as ae, type FulltextOperationBackend as af, type FulltextQueryMode as ag, type FulltextSearchParams as ah, type FulltextSearchResult as ai, type GraphAnalyticsCapabilities as aj, type GraphEntityReadBackend as ak, type GraphEntityWriteBackend as al, type GraphLifecycleBackend as am, type HybridFusionOptions as an, type IndexMaterializationBackend as ao, type IntentSql as ap, type JsonPointerFor as aq, type JsonPointerInput as ar, type JsonPointerSegment as as, type JsonPointerSegments as at, type JsonPointerSegmentsFor as au, MAX_JSON_POINTER_DEPTH as av, type MetaEdgeProperties as aw, type NodeEntityReadBackend as ax, type NodeEntityWriteBackend as ay, type OrderSpec as az, type SqliteTransactionMode as b, asCompiledSelectSql as b0, asCompiledStatementSql as b1, buildVectorCapabilities as b2, createSqlSchema as b3, fts5Strategy as b4, isMetaEdge as b5, joinJsonPointers as b6, jsonPointer as b7, normalizeJsonPointer as b8, parseJsonPointer as b9, recordedRelation as ba, rowPropsToJsonText as bb, rowPropsToObject as bc, tsvectorStrategy as bd, type ValueType as be, type PredicateExpression as bf, type VectorMetricType as bg, type Traversal as bh, type NodePredicate as bi, type ProjectedField as bj, type AggregateOrderSpec as bk, type GroupBySpec as bl, type RecursiveCyclePolicy as bm, type NodeRow as bn, type EdgeRow as bo, type VectorSlotMap as bp, type RecordedReadBinding as bq, type SelectiveField as br, type ComposableQuery as bs, type SetOperationType as bt, type SetOperation as bu, type VectorMetric as bv, type TransactionOptions as bw, type SqlDialect as c, type EdgeIndexConfig as d, type EdgeIndexDirection as e, type EdgeIndexWhereBuilder as f, type IndexOrigin as g, type IndexScope as h, type IndexWhereExpression as i, type IndexWhereFieldBuilder as j, type IndexWhereInput as k, type NodeIndexConfig as l, type NodeIndexWhereBuilder as m, type SystemColumnName as n, type VectorIndexDeclaration as o, type VectorIndexImplementation as p, type VectorIndexMetric as q, type VectorIndexParams as r, type SerializedSchema as s, type SchemaHash as t, type SerializedNodeDef as u, type SerializedEdgeDef as v, type SerializedMetaEdge as w, type SerializedOntologyRelation as x, type SerializedClosures as y, type JsonSchema as z };
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkQSXTWU4U_cjs = require('../chunk-QSXTWU4U.cjs');
|
|
4
|
+
var chunkIP3CGGPA_cjs = require('../chunk-IP3CGGPA.cjs');
|
|
5
|
+
require('../chunk-DEFQM7JU.cjs');
|
|
6
6
|
require('../chunk-DI74SMXS.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-BVRDGYXQ.cjs');
|
|
8
8
|
require('../chunk-TDXIBCGY.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "defineGraphExtension", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkQSXTWU4U_cjs.defineGraphExtension; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "CURRENT_GRAPH_EXTENSION_VERSION", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkIP3CGGPA_cjs.CURRENT_GRAPH_EXTENSION_VERSION; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "GRAPH_EXTENSION_ISSUE_CODES", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkIP3CGGPA_cjs.GRAPH_EXTENSION_ISSUE_CODES; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "GRAPH_EXTENSION_TOP_LEVEL_KEYS", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkIP3CGGPA_cjs.GRAPH_EXTENSION_TOP_LEVEL_KEYS; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "GraphExtensionError", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkIP3CGGPA_cjs.GraphExtensionError; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "GraphExtensionUnresolvedEndpointError", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkIP3CGGPA_cjs.GraphExtensionUnresolvedEndpointError; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "GraphExtensionValidationError", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkIP3CGGPA_cjs.GraphExtensionValidationError; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "GraphExtensionVersionUnsupportedError", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkIP3CGGPA_cjs.GraphExtensionVersionUnsupportedError; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "INCOMPATIBLE_CHANGE_TYPES", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkIP3CGGPA_cjs.INCOMPATIBLE_CHANGE_TYPES; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "IncompatibleChangeError", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkIP3CGGPA_cjs.IncompatibleChangeError; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "KindCollisionError", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkIP3CGGPA_cjs.KindCollisionError; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "KindHasReferentsError", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkIP3CGGPA_cjs.KindHasReferentsError; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "LEGACY_GRAPH_EXTENSION_VERSION", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkIP3CGGPA_cjs.LEGACY_GRAPH_EXTENSION_VERSION; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "RemoveCompileTimeKindError", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkIP3CGGPA_cjs.RemoveCompileTimeKindError; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "validateGraphExtension", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkIP3CGGPA_cjs.validateGraphExtension; }
|
|
71
71
|
});
|
|
72
72
|
//# sourceMappingURL=index.cjs.map
|
|
73
73
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { G as GraphExtension, K as KindEntity } from '../extension-types-
|
|
2
|
-
export { C as CURRENT_GRAPH_EXTENSION_VERSION, y as ExtensionArrayItemType, z as ExtensionArrayProperty, B as ExtensionBooleanProperty, j as ExtensionEdgeDef, F as ExtensionEdgeIndex, H as ExtensionEmbeddingModifier, M as ExtensionEnumProperty, l as ExtensionIndex, O as ExtensionIndexWhere, i as ExtensionNodeDef, P as ExtensionNodeIndex, Q as ExtensionNumberProperty, R as ExtensionObjectFieldProperty, S as ExtensionObjectProperty, k as ExtensionOntologyRelation, V as ExtensionPropertyType, W as ExtensionSearchableModifier, X as ExtensionStringProperty, Y as ExtensionUniqueConstraint, Z as ExtensionUniqueWhere, _ as GRAPH_EXTENSION_TOP_LEVEL_KEYS, $ as GraphExtensionTopLevelKey, h as GraphExtensionVersion, L as LEGACY_GRAPH_EXTENSION_VERSION } from '../extension-types-
|
|
3
|
-
import { T as TypeGraphError, q as ErrorCategory } from '../index-
|
|
1
|
+
import { G as GraphExtension, K as KindEntity } from '../extension-types-BM2ACfYO.cjs';
|
|
2
|
+
export { C as CURRENT_GRAPH_EXTENSION_VERSION, y as ExtensionArrayItemType, z as ExtensionArrayProperty, B as ExtensionBooleanProperty, j as ExtensionEdgeDef, F as ExtensionEdgeIndex, H as ExtensionEmbeddingModifier, M as ExtensionEnumProperty, l as ExtensionIndex, O as ExtensionIndexWhere, i as ExtensionNodeDef, P as ExtensionNodeIndex, Q as ExtensionNumberProperty, R as ExtensionObjectFieldProperty, S as ExtensionObjectProperty, k as ExtensionOntologyRelation, V as ExtensionPropertyType, W as ExtensionSearchableModifier, X as ExtensionStringProperty, Y as ExtensionUniqueConstraint, Z as ExtensionUniqueWhere, _ as GRAPH_EXTENSION_TOP_LEVEL_KEYS, $ as GraphExtensionTopLevelKey, h as GraphExtensionVersion, L as LEGACY_GRAPH_EXTENSION_VERSION } from '../extension-types-BM2ACfYO.cjs';
|
|
3
|
+
import { T as TypeGraphError, q as ErrorCategory } from '../index-BPM59vsg.cjs';
|
|
4
4
|
import { R as Result } from '../result-DWo6mUVz.cjs';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../materialize-indexes-
|
|
6
|
+
import '../materialize-indexes-CuR3gAZb.cjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Validates and freezes a graph-extension document.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { G as GraphExtension, K as KindEntity } from '../extension-types-
|
|
2
|
-
export { C as CURRENT_GRAPH_EXTENSION_VERSION, y as ExtensionArrayItemType, z as ExtensionArrayProperty, B as ExtensionBooleanProperty, j as ExtensionEdgeDef, F as ExtensionEdgeIndex, H as ExtensionEmbeddingModifier, M as ExtensionEnumProperty, l as ExtensionIndex, O as ExtensionIndexWhere, i as ExtensionNodeDef, P as ExtensionNodeIndex, Q as ExtensionNumberProperty, R as ExtensionObjectFieldProperty, S as ExtensionObjectProperty, k as ExtensionOntologyRelation, V as ExtensionPropertyType, W as ExtensionSearchableModifier, X as ExtensionStringProperty, Y as ExtensionUniqueConstraint, Z as ExtensionUniqueWhere, _ as GRAPH_EXTENSION_TOP_LEVEL_KEYS, $ as GraphExtensionTopLevelKey, h as GraphExtensionVersion, L as LEGACY_GRAPH_EXTENSION_VERSION } from '../extension-types-
|
|
3
|
-
import { T as TypeGraphError, q as ErrorCategory } from '../index-
|
|
1
|
+
import { G as GraphExtension, K as KindEntity } from '../extension-types-BM2ACfYO.js';
|
|
2
|
+
export { C as CURRENT_GRAPH_EXTENSION_VERSION, y as ExtensionArrayItemType, z as ExtensionArrayProperty, B as ExtensionBooleanProperty, j as ExtensionEdgeDef, F as ExtensionEdgeIndex, H as ExtensionEmbeddingModifier, M as ExtensionEnumProperty, l as ExtensionIndex, O as ExtensionIndexWhere, i as ExtensionNodeDef, P as ExtensionNodeIndex, Q as ExtensionNumberProperty, R as ExtensionObjectFieldProperty, S as ExtensionObjectProperty, k as ExtensionOntologyRelation, V as ExtensionPropertyType, W as ExtensionSearchableModifier, X as ExtensionStringProperty, Y as ExtensionUniqueConstraint, Z as ExtensionUniqueWhere, _ as GRAPH_EXTENSION_TOP_LEVEL_KEYS, $ as GraphExtensionTopLevelKey, h as GraphExtensionVersion, L as LEGACY_GRAPH_EXTENSION_VERSION } from '../extension-types-BM2ACfYO.js';
|
|
3
|
+
import { T as TypeGraphError, q as ErrorCategory } from '../index-BeacbPoe.js';
|
|
4
4
|
import { R as Result } from '../result-DWo6mUVz.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../materialize-indexes-
|
|
6
|
+
import '../materialize-indexes-zK2J_flP.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Validates and freezes a graph-extension document.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { defineGraphExtension } from '../chunk-
|
|
2
|
-
export { CURRENT_GRAPH_EXTENSION_VERSION, GRAPH_EXTENSION_ISSUE_CODES, GRAPH_EXTENSION_TOP_LEVEL_KEYS, GraphExtensionError, GraphExtensionUnresolvedEndpointError, GraphExtensionValidationError, GraphExtensionVersionUnsupportedError, INCOMPATIBLE_CHANGE_TYPES, IncompatibleChangeError, KindCollisionError, KindHasReferentsError, LEGACY_GRAPH_EXTENSION_VERSION, RemoveCompileTimeKindError, validateGraphExtension } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { defineGraphExtension } from '../chunk-RRSNR3TP.js';
|
|
2
|
+
export { CURRENT_GRAPH_EXTENSION_VERSION, GRAPH_EXTENSION_ISSUE_CODES, GRAPH_EXTENSION_TOP_LEVEL_KEYS, GraphExtensionError, GraphExtensionUnresolvedEndpointError, GraphExtensionValidationError, GraphExtensionVersionUnsupportedError, INCOMPATIBLE_CHANGE_TYPES, IncompatibleChangeError, KindCollisionError, KindHasReferentsError, LEGACY_GRAPH_EXTENSION_VERSION, RemoveCompileTimeKindError, validateGraphExtension } from '../chunk-L7HQ2OSI.js';
|
|
3
|
+
import '../chunk-TPF25IG6.js';
|
|
4
4
|
import '../chunk-ITE4IXAK.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-5PNMDJ7J.js';
|
|
6
6
|
import '../chunk-G6Q5UM7U.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
8
8
|
//# sourceMappingURL=index.js.map
|