@nicia-ai/typegraph 0.34.0 → 0.35.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 +29 -29
- package/dist/backend/postgres/index.d.cts +39 -7
- package/dist/backend/postgres/index.d.ts +39 -7
- package/dist/backend/postgres/index.js +16 -16
- package/dist/backend/postgres/pglite.cjs +21 -21
- package/dist/backend/postgres/pglite.d.cts +4 -4
- package/dist/backend/postgres/pglite.d.ts +4 -4
- package/dist/backend/postgres/pglite.js +16 -16
- package/dist/backend/sqlite/index.cjs +25 -26
- package/dist/backend/sqlite/index.d.cts +8 -8
- package/dist/backend/sqlite/index.d.ts +8 -8
- package/dist/backend/sqlite/index.js +13 -14
- package/dist/backend/sqlite/libsql.cjs +19 -19
- package/dist/backend/sqlite/libsql.d.cts +4 -4
- package/dist/backend/sqlite/libsql.d.ts +4 -4
- package/dist/backend/sqlite/libsql.js +15 -15
- package/dist/backend/sqlite/local.cjs +101 -21
- package/dist/backend/sqlite/local.cjs.map +1 -1
- package/dist/backend/sqlite/local.d.cts +95 -5
- package/dist/backend/sqlite/local.d.ts +95 -5
- package/dist/backend/sqlite/local.js +95 -16
- package/dist/backend/sqlite/local.js.map +1 -1
- package/dist/{chunk-ZV5N4DBG.js → chunk-3TWF3SH4.js} +300 -58
- package/dist/chunk-3TWF3SH4.js.map +1 -0
- package/dist/chunk-4JEZZJ6S.cjs +1271 -0
- package/dist/chunk-4JEZZJ6S.cjs.map +1 -0
- package/dist/{chunk-UNNPKQUG.cjs → chunk-4TOD4LBZ.cjs} +246 -155
- package/dist/chunk-4TOD4LBZ.cjs.map +1 -0
- package/dist/{chunk-QV245VMN.js → chunk-55MZDDZV.js} +100 -6
- package/dist/chunk-55MZDDZV.js.map +1 -0
- package/dist/{chunk-GQANNXXT.cjs → chunk-5A6FNS6N.cjs} +75 -20
- package/dist/chunk-5A6FNS6N.cjs.map +1 -0
- package/dist/{chunk-3Z6TW3CT.cjs → chunk-5AQIKK56.cjs} +65 -25
- package/dist/chunk-5AQIKK56.cjs.map +1 -0
- package/dist/{chunk-BVTWD66D.js → chunk-5SEGFTZX.js} +3 -3
- package/dist/{chunk-BVTWD66D.js.map → chunk-5SEGFTZX.js.map} +1 -1
- package/dist/{chunk-6GNSY7AV.js → chunk-6FR2MMS6.js} +7 -7
- package/dist/chunk-6FR2MMS6.js.map +1 -0
- package/dist/chunk-7YSP4V4R.cjs +69 -0
- package/dist/chunk-7YSP4V4R.cjs.map +1 -0
- package/dist/chunk-A42GCBGX.cjs +28 -0
- package/dist/chunk-A42GCBGX.cjs.map +1 -0
- package/dist/{chunk-RHZWOJVA.cjs → chunk-BLZDPRXT.cjs} +52 -4
- package/dist/chunk-BLZDPRXT.cjs.map +1 -0
- package/dist/chunk-BYPOGQWK.js +25 -0
- package/dist/chunk-BYPOGQWK.js.map +1 -0
- package/dist/{chunk-6HVOHZHS.cjs → chunk-CK5BVQOW.cjs} +213 -168
- package/dist/chunk-CK5BVQOW.cjs.map +1 -0
- package/dist/{chunk-JJRCLAUN.cjs → chunk-CTTSDJLY.cjs} +116 -10
- package/dist/chunk-CTTSDJLY.cjs.map +1 -0
- package/dist/chunk-CUHM5CWJ.cjs +12 -0
- package/dist/chunk-CUHM5CWJ.cjs.map +1 -0
- package/dist/{chunk-A7SZZFAG.js → chunk-CZQ3FO2Q.js} +409 -99
- package/dist/chunk-CZQ3FO2Q.js.map +1 -0
- package/dist/{chunk-2JXB3NYJ.cjs → chunk-D7ZEOS56.cjs} +25 -32
- package/dist/chunk-D7ZEOS56.cjs.map +1 -0
- package/dist/chunk-DFVLCOP6.js +10 -0
- package/dist/chunk-DFVLCOP6.js.map +1 -0
- package/dist/{chunk-UJLOZYKT.cjs → chunk-EM3CWPND.cjs} +441 -115
- package/dist/chunk-EM3CWPND.cjs.map +1 -0
- package/dist/chunk-EMF62TZG.cjs +1176 -0
- package/dist/chunk-EMF62TZG.cjs.map +1 -0
- package/dist/chunk-EOLERH7Y.cjs +40 -0
- package/dist/chunk-EOLERH7Y.cjs.map +1 -0
- package/dist/{chunk-TGJE22RM.cjs → chunk-FACJJWGF.cjs} +24 -6
- package/dist/chunk-FACJJWGF.cjs.map +1 -0
- package/dist/{chunk-HK5SATYM.cjs → chunk-FL472AMI.cjs} +16 -109
- package/dist/chunk-FL472AMI.cjs.map +1 -0
- package/dist/{chunk-WVC2Q2FD.cjs → chunk-FN35DLCN.cjs} +31 -9
- package/dist/chunk-FN35DLCN.cjs.map +1 -0
- package/dist/{chunk-KUTNI6SI.js → chunk-FPIZFYHE.js} +10 -18
- package/dist/chunk-FPIZFYHE.js.map +1 -0
- package/dist/{chunk-VCGO4V26.js → chunk-FRV5Q5IO.js} +64 -9
- package/dist/chunk-FRV5Q5IO.js.map +1 -0
- package/dist/{chunk-K5P5OZXS.js → chunk-G6Q5UM7U.js} +2 -2
- package/dist/{chunk-K5P5OZXS.js.map → chunk-G6Q5UM7U.js.map} +1 -1
- package/dist/chunk-GSQ6NPH6.cjs +100 -0
- package/dist/chunk-GSQ6NPH6.cjs.map +1 -0
- package/dist/chunk-GUR2FNB5.cjs +12 -0
- package/dist/{chunk-HMFK4BXR.cjs.map → chunk-GUR2FNB5.cjs.map} +1 -1
- package/dist/{chunk-JQGIPGVL.cjs → chunk-H7YNSMA7.cjs} +43 -2
- package/dist/chunk-H7YNSMA7.cjs.map +1 -0
- package/dist/{chunk-2MRAX3UE.js → chunk-I7ZUZKFD.js} +47 -4
- package/dist/chunk-I7ZUZKFD.js.map +1 -0
- package/dist/{chunk-3BRVBQQD.cjs → chunk-J7WFGBJR.cjs} +2445 -2367
- package/dist/chunk-J7WFGBJR.cjs.map +1 -0
- package/dist/{chunk-V3QNTB7Z.js → chunk-JBTOYDMN.js} +194 -114
- package/dist/chunk-JBTOYDMN.js.map +1 -0
- package/dist/{chunk-K2TGS3EN.js → chunk-K3PPLHY7.js} +138 -89
- package/dist/chunk-K3PPLHY7.js.map +1 -0
- package/dist/{chunk-Z5XBMDXU.js → chunk-KBGQIPRQ.js} +42 -3
- package/dist/chunk-KBGQIPRQ.js.map +1 -0
- package/dist/chunk-KMI7LYAF.js +1252 -0
- package/dist/chunk-KMI7LYAF.js.map +1 -0
- package/dist/{chunk-JIEJCTDS.cjs → chunk-LGEALRC6.cjs} +21 -4
- package/dist/chunk-LGEALRC6.cjs.map +1 -0
- package/dist/{chunk-TQOYM4LN.js → chunk-MP2JQKSG.js} +21 -5
- package/dist/chunk-MP2JQKSG.js.map +1 -0
- package/dist/{chunk-ZP5WHI4C.cjs → chunk-O7UN7OXA.cjs} +358 -116
- package/dist/chunk-O7UN7OXA.cjs.map +1 -0
- package/dist/chunk-OHMP6N2J.js +47 -0
- package/dist/chunk-OHMP6N2J.js.map +1 -0
- package/dist/{chunk-4DIBPQNJ.js → chunk-OR5ZA5WP.js} +135 -25
- package/dist/chunk-OR5ZA5WP.js.map +1 -0
- package/dist/{chunk-DEQFL35G.js → chunk-Q5TEXCTB.js} +61 -7
- package/dist/chunk-Q5TEXCTB.js.map +1 -0
- package/dist/chunk-QNKSQTKQ.js +1312 -0
- package/dist/chunk-QNKSQTKQ.js.map +1 -0
- package/dist/{chunk-ZURTTSCM.js → chunk-QOTI55H7.js} +6 -94
- package/dist/chunk-QOTI55H7.js.map +1 -0
- package/dist/{chunk-CHXTTSC6.js → chunk-QWEUYILR.js} +104 -5
- package/dist/chunk-QWEUYILR.js.map +1 -0
- package/dist/{chunk-LANHCOXB.js → chunk-RGP33ZJ5.js} +485 -83
- package/dist/chunk-RGP33ZJ5.js.map +1 -0
- package/dist/chunk-RGPG7EOJ.js +94 -0
- package/dist/chunk-RGPG7EOJ.js.map +1 -0
- package/dist/{chunk-G6SOJEDI.cjs → chunk-S55OV6PW.cjs} +15 -15
- package/dist/chunk-S55OV6PW.cjs.map +1 -0
- package/dist/{chunk-3E7SNSIA.cjs → chunk-SJDMVITW.cjs} +4 -4
- package/dist/{chunk-3E7SNSIA.cjs.map → chunk-SJDMVITW.cjs.map} +1 -1
- package/dist/{chunk-XLUNB2TZ.js → chunk-SNXVDZAJ.js} +3 -3
- package/dist/{chunk-XLUNB2TZ.js.map → chunk-SNXVDZAJ.js.map} +1 -1
- package/dist/{chunk-RBV7YCQD.js → chunk-T2WUSPDA.js} +49 -9
- package/dist/chunk-T2WUSPDA.js.map +1 -0
- package/dist/{chunk-KGC4LY5T.cjs → chunk-TCOCYN2P.cjs} +75 -21
- package/dist/chunk-TCOCYN2P.cjs.map +1 -0
- package/dist/{chunk-FLRCVI2G.cjs → chunk-TDXIBCGY.cjs} +2 -2
- package/dist/{chunk-FLRCVI2G.cjs.map → chunk-TDXIBCGY.cjs.map} +1 -1
- package/dist/{chunk-ZY4GXIVN.cjs → chunk-TEDRJXOG.cjs} +5 -5
- package/dist/{chunk-ZY4GXIVN.cjs.map → chunk-TEDRJXOG.cjs.map} +1 -1
- package/dist/{chunk-WLRIWYHQ.js → chunk-UES55P7G.js} +1863 -1785
- package/dist/chunk-UES55P7G.js.map +1 -0
- package/dist/{chunk-WL2SG7ZV.cjs → chunk-UMDVATGY.cjs} +6 -6
- package/dist/{chunk-WL2SG7ZV.cjs.map → chunk-UMDVATGY.cjs.map} +1 -1
- package/dist/chunk-UT3S4SEN.js +31 -0
- package/dist/chunk-UT3S4SEN.js.map +1 -0
- package/dist/{chunk-RRKQAKD6.cjs → chunk-UUT7UN2N.cjs} +149 -39
- package/dist/chunk-UUT7UN2N.cjs.map +1 -0
- package/dist/{chunk-SHLY4MCM.js → chunk-UZV3AZKF.js} +21 -3
- package/dist/chunk-UZV3AZKF.js.map +1 -0
- package/dist/{chunk-CYX2JTDG.js → chunk-VHMPG6UL.js} +29 -7
- package/dist/chunk-VHMPG6UL.js.map +1 -0
- package/dist/{chunk-T6SPUYLX.cjs → chunk-VPYHY3LJ.cjs} +116 -10
- package/dist/chunk-VPYHY3LJ.cjs.map +1 -0
- package/dist/{chunk-T46GR2VY.js → chunk-VSPCZAXF.js} +3 -3
- package/dist/{chunk-T46GR2VY.js.map → chunk-VSPCZAXF.js.map} +1 -1
- package/dist/{chunk-K34OPSJK.js → chunk-W63OVYY4.js} +3 -3
- package/dist/{chunk-K34OPSJK.js.map → chunk-W63OVYY4.js.map} +1 -1
- package/dist/{chunk-RY2VIWAM.js → chunk-WDBCBWC4.js} +355 -32
- package/dist/chunk-WDBCBWC4.js.map +1 -0
- package/dist/chunk-WJT7OU7E.cjs +1334 -0
- package/dist/chunk-WJT7OU7E.cjs.map +1 -0
- package/dist/{chunk-5IQIX7LU.cjs → chunk-XOX22WHL.cjs} +476 -163
- package/dist/chunk-XOX22WHL.cjs.map +1 -0
- package/dist/{ddl-BrmPg61z.d.ts → ddl-C2rZ-Aen.d.ts} +4 -4
- package/dist/{ddl-j1-sH6lE.d.cts → ddl-CZz7a0E8.d.cts} +4 -4
- package/dist/{extension-types-YGFJPrzK.d.cts → extension-types-ixRpJVUp.d.cts} +24 -1
- package/dist/{extension-types-YGFJPrzK.d.ts → extension-types-ixRpJVUp.d.ts} +24 -1
- package/dist/{types-DkNnF-7K.d.cts → fulltext-strategy-B57yvC5Q.d.ts} +2562 -2133
- package/dist/{types-D1Sqeyxy.d.ts → fulltext-strategy-CDkSSYhq.d.cts} +2562 -2133
- package/dist/graph-extension/index.cjs +20 -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 +5 -4
- package/dist/graph-merge/index.cjs +255 -164
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +63 -33
- package/dist/graph-merge/index.d.ts +63 -33
- package/dist/graph-merge/index.js +135 -44
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/{index-DGX6D9j1.d.ts → index-6CSUAq-x.d.ts} +234 -93
- package/dist/{index-SEvUHDA6.d.cts → index-Bks_3HHK.d.cts} +234 -93
- package/dist/index.cjs +208 -188
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +33 -33
- package/dist/indexes/index.cjs +19 -20
- package/dist/indexes/index.d.cts +5 -5
- package/dist/indexes/index.d.ts +5 -5
- package/dist/indexes/index.js +10 -11
- package/dist/interchange/index.cjs +47 -26
- package/dist/interchange/index.d.cts +126 -12
- package/dist/interchange/index.d.ts +126 -12
- package/dist/interchange/index.js +14 -13
- package/dist/{manager-ms9cKdc6.d.cts → manager-DwQi8eV0.d.cts} +9 -2
- package/dist/{manager-BZUeN_BU.d.ts → manager-ejUCB52T.d.ts} +9 -2
- package/dist/{materialize-indexes-D20xNluI.d.cts → materialize-indexes-B4e9360H.d.cts} +20 -4
- package/dist/{materialize-indexes-CAkIYFV-.d.ts → materialize-indexes-te9TPMMJ.d.ts} +20 -4
- package/dist/{postgres-BhpxGMC5.d.cts → postgres-CfEqsRMp.d.cts} +152 -1
- package/dist/{postgres-CWHLwNl1.d.ts → postgres-DQ5R6rzV.d.ts} +152 -1
- package/dist/profiler/index.cjs +11 -11
- package/dist/profiler/index.d.cts +7 -7
- package/dist/profiler/index.d.ts +7 -7
- package/dist/profiler/index.js +4 -4
- package/dist/provenance/index.cjs +40 -41
- 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 +11 -12
- package/dist/provenance/index.js.map +1 -1
- package/dist/schema/index.cjs +53 -40
- package/dist/schema/index.cjs.map +1 -1
- package/dist/schema/index.d.cts +57 -57
- package/dist/schema/index.d.ts +57 -57
- package/dist/schema/index.js +28 -15
- package/dist/schema/index.js.map +1 -1
- package/dist/{sqlite-XrDxNaa7.d.cts → sqlite-D7zBinNR.d.cts} +92 -1
- package/dist/{sqlite-CGu5SLsw.d.ts → sqlite-DvQndLky.d.ts} +92 -1
- package/dist/{store-view-D09po4H6.d.cts → store-view-BSpqvAxK.d.cts} +415 -44
- package/dist/{store-view-BlgnhEYf.d.ts → store-view-CKbHFRnn.d.ts} +415 -44
- package/dist/{types-DiE1AO7p.d.cts → types-Bv9DcS_E.d.cts} +2 -2
- package/dist/{types-B1TbZJYS.d.ts → types-CoxuV7EJ.d.ts} +2 -2
- package/dist/{where-DKjuofPr.d.cts → where-7RKFOsXt.d.ts} +2 -2
- package/dist/{where-DrUIIWHb.d.ts → where-DdMIXOtH.d.cts} +2 -2
- package/package.json +14 -13
- package/dist/chunk-2EBMPJBO.js +0 -16
- package/dist/chunk-2EBMPJBO.js.map +0 -1
- package/dist/chunk-2JXB3NYJ.cjs.map +0 -1
- package/dist/chunk-2MRAX3UE.js.map +0 -1
- package/dist/chunk-3BRVBQQD.cjs.map +0 -1
- package/dist/chunk-3EUKJEQ3.js +0 -77
- package/dist/chunk-3EUKJEQ3.js.map +0 -1
- package/dist/chunk-3Z6TW3CT.cjs.map +0 -1
- package/dist/chunk-4DIBPQNJ.js.map +0 -1
- package/dist/chunk-4S2FXGBJ.js +0 -9
- package/dist/chunk-4S2FXGBJ.js.map +0 -1
- package/dist/chunk-5IQIX7LU.cjs.map +0 -1
- package/dist/chunk-6GNSY7AV.js.map +0 -1
- package/dist/chunk-6HVOHZHS.cjs.map +0 -1
- package/dist/chunk-6SCVW4AS.js +0 -20
- package/dist/chunk-6SCVW4AS.js.map +0 -1
- package/dist/chunk-A7SZZFAG.js.map +0 -1
- package/dist/chunk-CHXTTSC6.js.map +0 -1
- package/dist/chunk-CYX2JTDG.js.map +0 -1
- package/dist/chunk-DEQFL35G.js.map +0 -1
- package/dist/chunk-G6SOJEDI.cjs.map +0 -1
- package/dist/chunk-GQANNXXT.cjs.map +0 -1
- package/dist/chunk-GZCNZ7QW.js +0 -24
- package/dist/chunk-GZCNZ7QW.js.map +0 -1
- package/dist/chunk-HK5SATYM.cjs.map +0 -1
- package/dist/chunk-HMFK4BXR.cjs +0 -12
- package/dist/chunk-HTGDWIDE.cjs +0 -89
- package/dist/chunk-HTGDWIDE.cjs.map +0 -1
- package/dist/chunk-JIEJCTDS.cjs.map +0 -1
- package/dist/chunk-JJRCLAUN.cjs.map +0 -1
- package/dist/chunk-JQGIPGVL.cjs.map +0 -1
- package/dist/chunk-K2TGS3EN.js.map +0 -1
- package/dist/chunk-KGC4LY5T.cjs.map +0 -1
- package/dist/chunk-KNHYNQQ3.cjs +0 -663
- package/dist/chunk-KNHYNQQ3.cjs.map +0 -1
- package/dist/chunk-KUTNI6SI.js.map +0 -1
- package/dist/chunk-LANHCOXB.js.map +0 -1
- package/dist/chunk-N6WTUSBV.cjs +0 -23
- package/dist/chunk-N6WTUSBV.cjs.map +0 -1
- package/dist/chunk-NAUA4PW5.cjs +0 -28
- package/dist/chunk-NAUA4PW5.cjs.map +0 -1
- package/dist/chunk-QV245VMN.js.map +0 -1
- package/dist/chunk-RBV7YCQD.js.map +0 -1
- package/dist/chunk-RHZWOJVA.cjs.map +0 -1
- package/dist/chunk-RRKQAKD6.cjs.map +0 -1
- package/dist/chunk-RY2VIWAM.js.map +0 -1
- package/dist/chunk-SHLY4MCM.js.map +0 -1
- package/dist/chunk-T2DWPQNE.js +0 -649
- package/dist/chunk-T2DWPQNE.js.map +0 -1
- package/dist/chunk-T6SPUYLX.cjs.map +0 -1
- package/dist/chunk-TGJE22RM.cjs.map +0 -1
- package/dist/chunk-TOTPVGOG.cjs +0 -774
- package/dist/chunk-TOTPVGOG.cjs.map +0 -1
- package/dist/chunk-TQOYM4LN.js.map +0 -1
- package/dist/chunk-UJLOZYKT.cjs.map +0 -1
- package/dist/chunk-UNNPKQUG.cjs.map +0 -1
- package/dist/chunk-V3QNTB7Z.js.map +0 -1
- package/dist/chunk-VCGO4V26.js.map +0 -1
- package/dist/chunk-WLRIWYHQ.js.map +0 -1
- package/dist/chunk-WVC2Q2FD.cjs.map +0 -1
- package/dist/chunk-XXVEULWX.js +0 -39
- package/dist/chunk-XXVEULWX.js.map +0 -1
- package/dist/chunk-YAZE7QZR.cjs +0 -32
- package/dist/chunk-YAZE7QZR.cjs.map +0 -1
- package/dist/chunk-YC6PWTHY.cjs +0 -44
- package/dist/chunk-YC6PWTHY.cjs.map +0 -1
- package/dist/chunk-Z5HBYM7U.cjs +0 -11
- package/dist/chunk-Z5HBYM7U.cjs.map +0 -1
- package/dist/chunk-Z5XBMDXU.js.map +0 -1
- package/dist/chunk-ZP5WHI4C.cjs.map +0 -1
- package/dist/chunk-ZURTTSCM.js.map +0 -1
- package/dist/chunk-ZV5N4DBG.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { K as KindEntity } from './extension-types-
|
|
2
|
-
import { M as MaterializeIndexesResult } from './materialize-indexes-
|
|
1
|
+
import { K as KindEntity } from './extension-types-ixRpJVUp.js';
|
|
2
|
+
import { M as MaterializeIndexesResult } from './materialize-indexes-te9TPMMJ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* TypeGraph Error Hierarchy
|
|
@@ -119,6 +119,13 @@ declare class ValidationError extends TypeGraphError {
|
|
|
119
119
|
suggestion?: string;
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Details for NodeNotFoundError.
|
|
124
|
+
*/
|
|
125
|
+
type NodeNotFoundErrorDetails = Readonly<{
|
|
126
|
+
kind: string;
|
|
127
|
+
id: string;
|
|
128
|
+
}>;
|
|
122
129
|
/**
|
|
123
130
|
* Thrown when a node is not found.
|
|
124
131
|
*
|
|
@@ -134,18 +141,35 @@ declare class ValidationError extends TypeGraphError {
|
|
|
134
141
|
* ```
|
|
135
142
|
*/
|
|
136
143
|
declare class NodeNotFoundError extends TypeGraphError {
|
|
144
|
+
readonly details: NodeNotFoundErrorDetails;
|
|
137
145
|
constructor(kind: string, id: string, options?: {
|
|
138
146
|
cause?: unknown;
|
|
139
147
|
});
|
|
140
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* Details for EdgeNotFoundError.
|
|
151
|
+
*/
|
|
152
|
+
type EdgeNotFoundErrorDetails = Readonly<{
|
|
153
|
+
kind: string;
|
|
154
|
+
id: string;
|
|
155
|
+
}>;
|
|
141
156
|
/**
|
|
142
157
|
* Thrown when an edge is not found.
|
|
143
158
|
*/
|
|
144
159
|
declare class EdgeNotFoundError extends TypeGraphError {
|
|
160
|
+
readonly details: EdgeNotFoundErrorDetails;
|
|
145
161
|
constructor(kind: string, id: string, options?: {
|
|
146
162
|
cause?: unknown;
|
|
147
163
|
});
|
|
148
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* Details for KindNotFoundError.
|
|
167
|
+
*/
|
|
168
|
+
type KindNotFoundErrorDetails = Readonly<{
|
|
169
|
+
kindName: string;
|
|
170
|
+
entity: KindEntity;
|
|
171
|
+
graphId?: string;
|
|
172
|
+
}>;
|
|
149
173
|
/**
|
|
150
174
|
* Thrown when an operation references a kind that isn't registered on
|
|
151
175
|
* the graph — `getNodeCollectionOrThrow` against an unknown kind, a
|
|
@@ -156,6 +180,7 @@ declare class EdgeNotFoundError extends TypeGraphError {
|
|
|
156
180
|
* process.
|
|
157
181
|
*/
|
|
158
182
|
declare class KindNotFoundError extends TypeGraphError {
|
|
183
|
+
readonly details: KindNotFoundErrorDetails;
|
|
159
184
|
readonly kindName: string;
|
|
160
185
|
readonly entity: KindEntity;
|
|
161
186
|
constructor(kindName: string, entity: KindEntity, options?: Readonly<{
|
|
@@ -164,76 +189,120 @@ declare class KindNotFoundError extends TypeGraphError {
|
|
|
164
189
|
cause?: unknown;
|
|
165
190
|
}>);
|
|
166
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* Details for NodeConstraintNotFoundError.
|
|
194
|
+
*/
|
|
195
|
+
type NodeConstraintNotFoundErrorDetails = Readonly<{
|
|
196
|
+
constraintName: string;
|
|
197
|
+
kind: string;
|
|
198
|
+
}>;
|
|
167
199
|
/**
|
|
168
200
|
* Thrown when a uniqueness constraint name is not found on a node kind.
|
|
169
201
|
*/
|
|
170
202
|
declare class NodeConstraintNotFoundError extends TypeGraphError {
|
|
203
|
+
readonly details: NodeConstraintNotFoundErrorDetails;
|
|
171
204
|
constructor(constraintName: string, kind: string, options?: {
|
|
172
205
|
cause?: unknown;
|
|
173
206
|
});
|
|
174
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* Details for NodeIndexNotFoundError.
|
|
210
|
+
*/
|
|
211
|
+
type NodeIndexNotFoundErrorDetails = Readonly<{
|
|
212
|
+
indexName: string;
|
|
213
|
+
kind: string;
|
|
214
|
+
}>;
|
|
175
215
|
/**
|
|
176
216
|
* Thrown when a declared node index name is not found on a node kind.
|
|
177
217
|
*/
|
|
178
218
|
declare class NodeIndexNotFoundError extends TypeGraphError {
|
|
219
|
+
readonly details: NodeIndexNotFoundErrorDetails;
|
|
179
220
|
constructor(indexName: string, kind: string, options?: {
|
|
180
221
|
cause?: unknown;
|
|
181
222
|
});
|
|
182
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* Details for EndpointNotFoundError.
|
|
226
|
+
*/
|
|
227
|
+
type EndpointNotFoundErrorDetails = Readonly<{
|
|
228
|
+
edgeKind: string;
|
|
229
|
+
endpoint: "from" | "to";
|
|
230
|
+
nodeKind: string;
|
|
231
|
+
nodeId: string;
|
|
232
|
+
}>;
|
|
183
233
|
/**
|
|
184
234
|
* Thrown when edge endpoint node does not exist or is deleted.
|
|
185
235
|
*/
|
|
186
236
|
declare class EndpointNotFoundError extends TypeGraphError {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
endpoint: "from" | "to";
|
|
190
|
-
nodeKind: string;
|
|
191
|
-
nodeId: string;
|
|
192
|
-
}>, options?: {
|
|
237
|
+
readonly details: EndpointNotFoundErrorDetails;
|
|
238
|
+
constructor(details: EndpointNotFoundErrorDetails, options?: {
|
|
193
239
|
cause?: unknown;
|
|
194
240
|
});
|
|
195
241
|
}
|
|
242
|
+
/**
|
|
243
|
+
* Details for EndpointError.
|
|
244
|
+
*/
|
|
245
|
+
type EndpointErrorDetails = Readonly<{
|
|
246
|
+
edgeKind: string;
|
|
247
|
+
endpoint: "from" | "to";
|
|
248
|
+
actualKind: string;
|
|
249
|
+
expectedKinds: readonly string[];
|
|
250
|
+
}>;
|
|
196
251
|
/**
|
|
197
252
|
* Thrown when edge endpoint has wrong node type.
|
|
198
253
|
*/
|
|
199
254
|
declare class EndpointError extends TypeGraphError {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
endpoint: "from" | "to";
|
|
203
|
-
actualKind: string;
|
|
204
|
-
expectedKinds: readonly string[];
|
|
205
|
-
}>, options?: {
|
|
255
|
+
readonly details: EndpointErrorDetails;
|
|
256
|
+
constructor(details: EndpointErrorDetails, options?: {
|
|
206
257
|
cause?: unknown;
|
|
207
258
|
});
|
|
208
259
|
}
|
|
260
|
+
/**
|
|
261
|
+
* Details for UniquenessError.
|
|
262
|
+
*/
|
|
263
|
+
type UniquenessErrorDetails = Readonly<{
|
|
264
|
+
constraintName: string;
|
|
265
|
+
kind: string;
|
|
266
|
+
existingId: string;
|
|
267
|
+
newId: string;
|
|
268
|
+
fields: readonly string[];
|
|
269
|
+
}>;
|
|
209
270
|
/**
|
|
210
271
|
* Thrown when uniqueness constraint is violated.
|
|
211
272
|
*/
|
|
212
273
|
declare class UniquenessError extends TypeGraphError {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
kind: string;
|
|
216
|
-
existingId: string;
|
|
217
|
-
newId: string;
|
|
218
|
-
fields: readonly string[];
|
|
219
|
-
}>, options?: {
|
|
274
|
+
readonly details: UniquenessErrorDetails;
|
|
275
|
+
constructor(details: UniquenessErrorDetails, options?: {
|
|
220
276
|
cause?: unknown;
|
|
221
277
|
});
|
|
222
278
|
}
|
|
279
|
+
/**
|
|
280
|
+
* Details for CardinalityError.
|
|
281
|
+
*/
|
|
282
|
+
type CardinalityErrorDetails = Readonly<{
|
|
283
|
+
edgeKind: string;
|
|
284
|
+
fromKind: string;
|
|
285
|
+
fromId: string;
|
|
286
|
+
cardinality: string;
|
|
287
|
+
existingCount: number;
|
|
288
|
+
}>;
|
|
223
289
|
/**
|
|
224
290
|
* Thrown when cardinality constraint is violated.
|
|
225
291
|
*/
|
|
226
292
|
declare class CardinalityError extends TypeGraphError {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
fromKind: string;
|
|
230
|
-
fromId: string;
|
|
231
|
-
cardinality: string;
|
|
232
|
-
existingCount: number;
|
|
233
|
-
}>, options?: {
|
|
293
|
+
readonly details: CardinalityErrorDetails;
|
|
294
|
+
constructor(details: CardinalityErrorDetails, options?: {
|
|
234
295
|
cause?: unknown;
|
|
235
296
|
});
|
|
236
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* Details for DisjointError.
|
|
300
|
+
*/
|
|
301
|
+
type DisjointErrorDetails = Readonly<{
|
|
302
|
+
nodeId: string;
|
|
303
|
+
attemptedKind: string;
|
|
304
|
+
conflictingKind: string;
|
|
305
|
+
}>;
|
|
237
306
|
/**
|
|
238
307
|
* Thrown when disjointness constraint is violated.
|
|
239
308
|
*
|
|
@@ -241,27 +310,38 @@ declare class CardinalityError extends TypeGraphError {
|
|
|
241
310
|
* a Person and an Organization if they are declared disjoint.
|
|
242
311
|
*/
|
|
243
312
|
declare class DisjointError extends TypeGraphError {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
attemptedKind: string;
|
|
247
|
-
conflictingKind: string;
|
|
248
|
-
}>, options?: {
|
|
313
|
+
readonly details: DisjointErrorDetails;
|
|
314
|
+
constructor(details: DisjointErrorDetails, options?: {
|
|
249
315
|
cause?: unknown;
|
|
250
316
|
});
|
|
251
317
|
}
|
|
318
|
+
/**
|
|
319
|
+
* Details for RestrictedDeleteError.
|
|
320
|
+
*/
|
|
321
|
+
type RestrictedDeleteErrorDetails = Readonly<{
|
|
322
|
+
nodeKind: string;
|
|
323
|
+
nodeId: string;
|
|
324
|
+
edgeCount: number;
|
|
325
|
+
edgeKinds: readonly string[];
|
|
326
|
+
}>;
|
|
252
327
|
/**
|
|
253
328
|
* Thrown when deletion is blocked due to existing edges (restrict behavior).
|
|
254
329
|
*/
|
|
255
330
|
declare class RestrictedDeleteError extends TypeGraphError {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
nodeId: string;
|
|
259
|
-
edgeCount: number;
|
|
260
|
-
edgeKinds: readonly string[];
|
|
261
|
-
}>, options?: {
|
|
331
|
+
readonly details: RestrictedDeleteErrorDetails;
|
|
332
|
+
constructor(details: RestrictedDeleteErrorDetails, options?: {
|
|
262
333
|
cause?: unknown;
|
|
263
334
|
});
|
|
264
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* Details for VersionConflictError.
|
|
338
|
+
*/
|
|
339
|
+
type VersionConflictErrorDetails = Readonly<{
|
|
340
|
+
kind: string;
|
|
341
|
+
id: string;
|
|
342
|
+
expectedVersion: number;
|
|
343
|
+
actualVersion: number;
|
|
344
|
+
}>;
|
|
265
345
|
/**
|
|
266
346
|
* Thrown when optimistic locking detects a concurrent modification.
|
|
267
347
|
*
|
|
@@ -269,40 +349,53 @@ declare class RestrictedDeleteError extends TypeGraphError {
|
|
|
269
349
|
* The operation with the stale version fails.
|
|
270
350
|
*/
|
|
271
351
|
declare class VersionConflictError extends TypeGraphError {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
id: string;
|
|
275
|
-
expectedVersion: number;
|
|
276
|
-
actualVersion: number;
|
|
277
|
-
}>, options?: {
|
|
352
|
+
readonly details: VersionConflictErrorDetails;
|
|
353
|
+
constructor(details: VersionConflictErrorDetails, options?: {
|
|
278
354
|
cause?: unknown;
|
|
279
355
|
});
|
|
280
356
|
}
|
|
357
|
+
/**
|
|
358
|
+
* Details for SchemaMismatchError.
|
|
359
|
+
*/
|
|
360
|
+
type SchemaMismatchErrorDetails = Readonly<{
|
|
361
|
+
graphId: string;
|
|
362
|
+
expectedHash: string;
|
|
363
|
+
actualHash: string;
|
|
364
|
+
}>;
|
|
281
365
|
/**
|
|
282
366
|
* Thrown when the schema in code doesn't match the schema in the database.
|
|
283
367
|
*/
|
|
284
368
|
declare class SchemaMismatchError extends TypeGraphError {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
expectedHash: string;
|
|
288
|
-
actualHash: string;
|
|
289
|
-
}>, options?: {
|
|
369
|
+
readonly details: SchemaMismatchErrorDetails;
|
|
370
|
+
constructor(details: SchemaMismatchErrorDetails, options?: {
|
|
290
371
|
cause?: unknown;
|
|
291
372
|
});
|
|
292
373
|
}
|
|
374
|
+
/**
|
|
375
|
+
* Details for MigrationError.
|
|
376
|
+
*/
|
|
377
|
+
type MigrationErrorDetails = Readonly<{
|
|
378
|
+
graphId: string;
|
|
379
|
+
fromVersion: number;
|
|
380
|
+
toVersion: number;
|
|
381
|
+
reason?: string;
|
|
382
|
+
}>;
|
|
293
383
|
/**
|
|
294
384
|
* Thrown when schema migration fails.
|
|
295
385
|
*/
|
|
296
386
|
declare class MigrationError extends TypeGraphError {
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
fromVersion: number;
|
|
300
|
-
toVersion: number;
|
|
301
|
-
reason?: string;
|
|
302
|
-
}>, options?: {
|
|
387
|
+
readonly details: MigrationErrorDetails;
|
|
388
|
+
constructor(message: string, details: MigrationErrorDetails, options?: {
|
|
303
389
|
cause?: unknown;
|
|
304
390
|
});
|
|
305
391
|
}
|
|
392
|
+
/**
|
|
393
|
+
* Details for EagerMaterializationError.
|
|
394
|
+
*/
|
|
395
|
+
type EagerMaterializationErrorDetails = Readonly<{
|
|
396
|
+
graphId: string;
|
|
397
|
+
failedIndexNames: readonly string[];
|
|
398
|
+
}>;
|
|
306
399
|
/**
|
|
307
400
|
* Thrown by `Store.evolve(extension, { eager })` when the schema
|
|
308
401
|
* commit succeeded but the follow-on `materializeIndexes()` produced
|
|
@@ -334,6 +427,7 @@ declare class MigrationError extends TypeGraphError {
|
|
|
334
427
|
* ```
|
|
335
428
|
*/
|
|
336
429
|
declare class EagerMaterializationError extends TypeGraphError {
|
|
430
|
+
readonly details: EagerMaterializationErrorDetails;
|
|
337
431
|
/**
|
|
338
432
|
* The full materialization result, including successful and failed
|
|
339
433
|
* entries. Same shape as `Store.materializeIndexes()` returns.
|
|
@@ -346,6 +440,15 @@ declare class EagerMaterializationError extends TypeGraphError {
|
|
|
346
440
|
*/
|
|
347
441
|
get failedIndexNames(): readonly string[];
|
|
348
442
|
}
|
|
443
|
+
/**
|
|
444
|
+
* Details for StaleVersionError. `actual` is `0` when no active version
|
|
445
|
+
* exists yet (initial-commit race where another writer initialized first).
|
|
446
|
+
*/
|
|
447
|
+
type StaleVersionErrorDetails = Readonly<{
|
|
448
|
+
graphId: string;
|
|
449
|
+
expected: number;
|
|
450
|
+
actual: number;
|
|
451
|
+
}>;
|
|
349
452
|
/**
|
|
350
453
|
* Thrown by `commitSchemaVersion` and `setActiveVersion` when the
|
|
351
454
|
* caller's view of the active schema version is out of date — another
|
|
@@ -354,24 +457,22 @@ declare class EagerMaterializationError extends TypeGraphError {
|
|
|
354
457
|
* Recovery: re-read the active version with `getActiveSchema(graphId)`,
|
|
355
458
|
* recompute against the new baseline, and retry. This is a routine
|
|
356
459
|
* concurrency signal, not a bug.
|
|
357
|
-
*
|
|
358
|
-
* `actual` is `0` when no active version exists yet (initial-commit race
|
|
359
|
-
* where another writer initialized first).
|
|
360
460
|
*/
|
|
361
461
|
declare class StaleVersionError extends TypeGraphError {
|
|
362
|
-
readonly details:
|
|
363
|
-
|
|
364
|
-
expected: number;
|
|
365
|
-
actual: number;
|
|
366
|
-
}>;
|
|
367
|
-
constructor(details: Readonly<{
|
|
368
|
-
graphId: string;
|
|
369
|
-
expected: number;
|
|
370
|
-
actual: number;
|
|
371
|
-
}>, options?: {
|
|
462
|
+
readonly details: StaleVersionErrorDetails;
|
|
463
|
+
constructor(details: StaleVersionErrorDetails, options?: {
|
|
372
464
|
cause?: unknown;
|
|
373
465
|
});
|
|
374
466
|
}
|
|
467
|
+
/**
|
|
468
|
+
* Details for SchemaContentConflictError.
|
|
469
|
+
*/
|
|
470
|
+
type SchemaContentConflictErrorDetails = Readonly<{
|
|
471
|
+
graphId: string;
|
|
472
|
+
version: number;
|
|
473
|
+
existingHash: string;
|
|
474
|
+
incomingHash: string;
|
|
475
|
+
}>;
|
|
375
476
|
/**
|
|
376
477
|
* Thrown by `commitSchemaVersion` when a row already exists at the
|
|
377
478
|
* target version with a *different* schema hash — i.e. two writers
|
|
@@ -383,18 +484,8 @@ declare class StaleVersionError extends TypeGraphError {
|
|
|
383
484
|
* deployments writing schemas that hash differently.
|
|
384
485
|
*/
|
|
385
486
|
declare class SchemaContentConflictError extends TypeGraphError {
|
|
386
|
-
readonly details:
|
|
387
|
-
|
|
388
|
-
version: number;
|
|
389
|
-
existingHash: string;
|
|
390
|
-
incomingHash: string;
|
|
391
|
-
}>;
|
|
392
|
-
constructor(details: Readonly<{
|
|
393
|
-
graphId: string;
|
|
394
|
-
version: number;
|
|
395
|
-
existingHash: string;
|
|
396
|
-
incomingHash: string;
|
|
397
|
-
}>, options?: {
|
|
487
|
+
readonly details: SchemaContentConflictErrorDetails;
|
|
488
|
+
constructor(details: SchemaContentConflictErrorDetails, options?: {
|
|
398
489
|
cause?: unknown;
|
|
399
490
|
});
|
|
400
491
|
}
|
|
@@ -424,6 +515,15 @@ declare class ConfigurationError extends TypeGraphError {
|
|
|
424
515
|
* recorded an error. Boot may retry; the hot path refuses.
|
|
425
516
|
*/
|
|
426
517
|
type StoreNotInitializedReason = "missing" | "stale" | "failed";
|
|
518
|
+
/**
|
|
519
|
+
* Details for StoreNotInitializedError. `graphId`/`reason` are always
|
|
520
|
+
* present; callers may merge additional context (e.g. `logicalName`) via
|
|
521
|
+
* `options.details`.
|
|
522
|
+
*/
|
|
523
|
+
type StoreNotInitializedErrorDetails = Readonly<{
|
|
524
|
+
graphId: string;
|
|
525
|
+
reason: StoreNotInitializedReason;
|
|
526
|
+
}> & Readonly<Record<string, unknown>>;
|
|
427
527
|
/**
|
|
428
528
|
* Thrown when a fulltext-dependent operation runs against a connection
|
|
429
529
|
* whose strategy-owned storage has not been durably materialized.
|
|
@@ -436,11 +536,22 @@ type StoreNotInitializedReason = "missing" | "stale" | "failed";
|
|
|
436
536
|
* loudly here instead of lazily emitting DDL on the hot path.
|
|
437
537
|
*/
|
|
438
538
|
declare class StoreNotInitializedError extends TypeGraphError {
|
|
539
|
+
readonly details: StoreNotInitializedErrorDetails;
|
|
439
540
|
constructor(graphId: string, reason: StoreNotInitializedReason, options?: {
|
|
440
541
|
cause?: unknown;
|
|
441
|
-
details?: Record<string, unknown
|
|
542
|
+
details?: Readonly<Record<string, unknown>> & Readonly<{
|
|
543
|
+
graphId?: never;
|
|
544
|
+
reason?: never;
|
|
545
|
+
}>;
|
|
442
546
|
});
|
|
443
547
|
}
|
|
548
|
+
/**
|
|
549
|
+
* Details for DatabaseOperationError.
|
|
550
|
+
*/
|
|
551
|
+
type DatabaseOperationErrorDetails = Readonly<{
|
|
552
|
+
operation: string;
|
|
553
|
+
entity: string;
|
|
554
|
+
}>;
|
|
444
555
|
/**
|
|
445
556
|
* Thrown when a database operation fails unexpectedly.
|
|
446
557
|
*
|
|
@@ -448,13 +559,20 @@ declare class StoreNotInitializedError extends TypeGraphError {
|
|
|
448
559
|
* not a user-recoverable error.
|
|
449
560
|
*/
|
|
450
561
|
declare class DatabaseOperationError extends TypeGraphError {
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
entity: string;
|
|
454
|
-
}>, options?: {
|
|
562
|
+
readonly details: DatabaseOperationErrorDetails;
|
|
563
|
+
constructor(message: string, details: DatabaseOperationErrorDetails, options?: {
|
|
455
564
|
cause?: unknown;
|
|
456
565
|
});
|
|
457
566
|
}
|
|
567
|
+
/**
|
|
568
|
+
* Details for EmbeddingDimensionChangedError.
|
|
569
|
+
*/
|
|
570
|
+
type EmbeddingDimensionChangedErrorDetails = Readonly<{
|
|
571
|
+
kind: string;
|
|
572
|
+
fieldPath: string;
|
|
573
|
+
declaredDimensions?: number;
|
|
574
|
+
storedDimensions?: number;
|
|
575
|
+
}>;
|
|
458
576
|
/**
|
|
459
577
|
* Thrown when an embedding field's declared dimension no longer matches the
|
|
460
578
|
* dimension of its materialized per-field storage — i.e. a field's
|
|
@@ -465,12 +583,8 @@ declare class DatabaseOperationError extends TypeGraphError {
|
|
|
465
583
|
* the new dimension and re-embed existing rows.
|
|
466
584
|
*/
|
|
467
585
|
declare class EmbeddingDimensionChangedError extends TypeGraphError {
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
fieldPath: string;
|
|
471
|
-
declaredDimensions?: number;
|
|
472
|
-
storedDimensions?: number;
|
|
473
|
-
}>, options?: {
|
|
586
|
+
readonly details: EmbeddingDimensionChangedErrorDetails;
|
|
587
|
+
constructor(message: string, details: EmbeddingDimensionChangedErrorDetails, options?: {
|
|
474
588
|
cause?: unknown;
|
|
475
589
|
});
|
|
476
590
|
}
|
|
@@ -506,6 +620,33 @@ declare class BackendDisposedError extends TypeGraphError {
|
|
|
506
620
|
cause?: unknown;
|
|
507
621
|
});
|
|
508
622
|
}
|
|
623
|
+
/**
|
|
624
|
+
* Thrown when a statement is issued on a transaction-scoped backend after
|
|
625
|
+
* its transaction boundary has already returned.
|
|
626
|
+
*
|
|
627
|
+
* The usual source is a callback that lets work escape it. `Promise.all`
|
|
628
|
+
* rejects on its first rejection while its siblings keep running, so
|
|
629
|
+
*
|
|
630
|
+
* ```typescript
|
|
631
|
+
* await store.transaction(async (tx) => {
|
|
632
|
+
* await Promise.all([tx.nodes.Doc.create(a), tx.nodes.Doc.create(b)]);
|
|
633
|
+
* });
|
|
634
|
+
* ```
|
|
635
|
+
*
|
|
636
|
+
* leaves `b`'s remaining statements in flight when `a` fails. Those
|
|
637
|
+
* statements have nowhere safe to go: the driver is about to emit `ROLLBACK`
|
|
638
|
+
* on the same pinned connection and then hand it back to the pool, where a
|
|
639
|
+
* late arrival would execute inside somebody else's transaction. TypeGraph
|
|
640
|
+
* refuses them here instead.
|
|
641
|
+
*
|
|
642
|
+
* The error is normally invisible — `Promise.all` has already rejected with
|
|
643
|
+
* the original failure, and discards this one.
|
|
644
|
+
*/
|
|
645
|
+
declare class TransactionClosedError extends TypeGraphError {
|
|
646
|
+
constructor(options?: {
|
|
647
|
+
cause?: unknown;
|
|
648
|
+
});
|
|
649
|
+
}
|
|
509
650
|
/**
|
|
510
651
|
* Type guard for TypeGraphError.
|
|
511
652
|
*
|
|
@@ -557,4 +698,4 @@ declare function isConstraintError(error: unknown): boolean;
|
|
|
557
698
|
*/
|
|
558
699
|
declare function getErrorSuggestion(error: unknown): string | undefined;
|
|
559
700
|
|
|
560
|
-
export { BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EagerMaterializationError as E, KindNotFoundError as K, MigrationError as M, NodeConstraintNotFoundError as N, RestrictedDeleteError as R, SchemaContentConflictError as S, TypeGraphError as T, UniquenessError as U, type ValidationIssue as V, ValidationError as a,
|
|
701
|
+
export { isConstraintError as $, SchemaMismatchError as A, BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EagerMaterializationError as E, type SchemaMismatchErrorDetails as F, StaleVersionError as G, type StaleVersionErrorDetails as H, StoreNotInitializedError as I, type StoreNotInitializedErrorDetails as J, KindNotFoundError as K, type StoreNotInitializedReason as L, MigrationError as M, NodeConstraintNotFoundError as N, TransactionClosedError as O, type TypeGraphErrorOptions as P, type UniquenessErrorDetails as Q, RestrictedDeleteError as R, SchemaContentConflictError as S, TypeGraphError as T, UniquenessError as U, type ValidationIssue as V, UnsupportedPredicateError as W, type ValidationErrorDetails as X, VersionConflictError as Y, type VersionConflictErrorDetails as Z, getErrorSuggestion as _, ValidationError as a, isSystemError as a0, isTypeGraphError as a1, isUserRecoverable as a2, type CardinalityErrorDetails as b, CompilerInvariantError as c, ConfigurationError as d, type DatabaseOperationErrorDetails as e, DisjointError as f, type DisjointErrorDetails as g, type EagerMaterializationErrorDetails as h, EdgeNotFoundError as i, type EdgeNotFoundErrorDetails as j, EmbeddingDimensionChangedError as k, type EmbeddingDimensionChangedErrorDetails as l, EndpointError as m, type EndpointErrorDetails as n, EndpointNotFoundError as o, type EndpointNotFoundErrorDetails as p, type ErrorCategory as q, type KindNotFoundErrorDetails as r, type MigrationErrorDetails as s, type NodeConstraintNotFoundErrorDetails as t, NodeIndexNotFoundError as u, type NodeIndexNotFoundErrorDetails as v, NodeNotFoundError as w, type NodeNotFoundErrorDetails as x, type RestrictedDeleteErrorDetails as y, type SchemaContentConflictErrorDetails as z };
|