@nicia-ai/typegraph 0.46.0 → 0.46.2
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/drizzle/indexes.cjs +9 -9
- package/dist/backend/drizzle/indexes.d.cts +1 -1
- package/dist/backend/drizzle/indexes.d.ts +1 -1
- package/dist/backend/drizzle/indexes.js +5 -5
- package/dist/backend/index.cjs +49 -49
- package/dist/backend/index.d.cts +3 -3
- package/dist/backend/index.d.ts +3 -3
- package/dist/backend/index.js +10 -10
- package/dist/backend/postgres/index.cjs +26 -26
- package/dist/backend/postgres/index.d.cts +6 -6
- package/dist/backend/postgres/index.d.ts +6 -6
- package/dist/backend/postgres/index.js +13 -13
- package/dist/backend/postgres/pglite-store.cjs +33 -33
- package/dist/backend/postgres/pglite-store.d.cts +8 -8
- package/dist/backend/postgres/pglite-store.d.ts +8 -8
- package/dist/backend/postgres/pglite-store.js +29 -29
- package/dist/backend/postgres/pglite.cjs +15 -15
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +14 -14
- package/dist/backend/sqlite/index.cjs +23 -23
- package/dist/backend/sqlite/index.d.cts +6 -6
- package/dist/backend/sqlite/index.d.ts +6 -6
- package/dist/backend/sqlite/index.js +11 -11
- package/dist/backend/sqlite/libsql.cjs +18 -18
- package/dist/backend/sqlite/libsql.d.cts +3 -3
- package/dist/backend/sqlite/libsql.d.ts +3 -3
- package/dist/backend/sqlite/libsql.js +13 -13
- package/dist/backend/sqlite/local-store.cjs +34 -34
- package/dist/backend/sqlite/local-store.d.cts +8 -8
- package/dist/backend/sqlite/local-store.d.ts +8 -8
- package/dist/backend/sqlite/local-store.js +30 -30
- package/dist/backend/sqlite/local.cjs +16 -16
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +14 -14
- package/dist/{chunk-VCRRKBLN.cjs → chunk-2ZWM2RFH.cjs} +9 -9
- package/dist/{chunk-VCRRKBLN.cjs.map → chunk-2ZWM2RFH.cjs.map} +1 -1
- package/dist/{chunk-TTAITEPJ.cjs → chunk-32UETY6S.cjs} +26 -26
- package/dist/chunk-32UETY6S.cjs.map +1 -0
- package/dist/{chunk-JXA2ZP2Q.js → chunk-36LIJXWC.js} +4 -4
- package/dist/{chunk-JXA2ZP2Q.js.map → chunk-36LIJXWC.js.map} +1 -1
- package/dist/{chunk-Q7Q4WSLJ.cjs → chunk-5PDSCELM.cjs} +18 -14
- package/dist/chunk-5PDSCELM.cjs.map +1 -0
- package/dist/{chunk-775A4ZMN.js → chunk-5ZJOB5YS.js} +4 -4
- package/dist/{chunk-775A4ZMN.js.map → chunk-5ZJOB5YS.js.map} +1 -1
- package/dist/{chunk-J3WZ3FA2.js → chunk-62ZXBMSD.js} +24 -3
- package/dist/chunk-62ZXBMSD.js.map +1 -0
- package/dist/{chunk-7BQXPCGN.cjs → chunk-6BD6ZBKT.cjs} +10 -10
- package/dist/{chunk-7BQXPCGN.cjs.map → chunk-6BD6ZBKT.cjs.map} +1 -1
- package/dist/chunk-6LAXM4J2.cjs +12 -0
- package/dist/{chunk-VQH4VAWD.cjs.map → chunk-6LAXM4J2.cjs.map} +1 -1
- package/dist/{chunk-MSY7FSX4.js → chunk-72WUT4GG.js} +4 -4
- package/dist/{chunk-MSY7FSX4.js.map → chunk-72WUT4GG.js.map} +1 -1
- package/dist/chunk-73MWKDFK.cjs +12 -0
- package/dist/{chunk-A4OC4DVN.cjs.map → chunk-73MWKDFK.cjs.map} +1 -1
- package/dist/{chunk-BKCUOV7A.js → chunk-7TKNK32B.js} +5 -5
- package/dist/{chunk-BKCUOV7A.js.map → chunk-7TKNK32B.js.map} +1 -1
- package/dist/{chunk-JIVMTW7W.js → chunk-A2LJG5GM.js} +9 -9
- package/dist/{chunk-JIVMTW7W.js.map → chunk-A2LJG5GM.js.map} +1 -1
- package/dist/{chunk-XMQSEJCF.cjs → chunk-A4R3H7RU.cjs} +237 -237
- package/dist/{chunk-XMQSEJCF.cjs.map → chunk-A4R3H7RU.cjs.map} +1 -1
- package/dist/{chunk-RMQLSPA2.cjs → chunk-A7NMUYEL.cjs} +27 -27
- package/dist/{chunk-RMQLSPA2.cjs.map → chunk-A7NMUYEL.cjs.map} +1 -1
- package/dist/{chunk-U63GDNRC.cjs → chunk-AF3TWL5C.cjs} +4 -4
- package/dist/{chunk-U63GDNRC.cjs.map → chunk-AF3TWL5C.cjs.map} +1 -1
- package/dist/{chunk-XBYVV3MP.cjs → chunk-ANKOXPCC.cjs} +4 -4
- package/dist/chunk-ANKOXPCC.cjs.map +1 -0
- package/dist/{chunk-OH5E5KIO.js → chunk-AT3MLMJV.js} +10 -10
- package/dist/{chunk-OH5E5KIO.js.map → chunk-AT3MLMJV.js.map} +1 -1
- package/dist/{chunk-UV3SN74I.js → chunk-AU3IJNNP.js} +5 -5
- package/dist/{chunk-UV3SN74I.js.map → chunk-AU3IJNNP.js.map} +1 -1
- package/dist/{chunk-YAAM3M2S.cjs → chunk-BEB4OFZF.cjs} +10 -10
- package/dist/{chunk-YAAM3M2S.cjs.map → chunk-BEB4OFZF.cjs.map} +1 -1
- package/dist/{chunk-7GT72YHH.cjs → chunk-BQM5P2NO.cjs} +169 -167
- package/dist/chunk-BQM5P2NO.cjs.map +1 -0
- package/dist/{chunk-YWGVVALJ.js → chunk-BRN3RGD2.js} +3 -3
- package/dist/{chunk-YWGVVALJ.js.map → chunk-BRN3RGD2.js.map} +1 -1
- package/dist/{chunk-UDISNXDL.cjs → chunk-BZZI7B43.cjs} +47 -47
- package/dist/{chunk-UDISNXDL.cjs.map → chunk-BZZI7B43.cjs.map} +1 -1
- package/dist/{chunk-TQR4KBY2.cjs → chunk-C2ZP5YS6.cjs} +135 -133
- package/dist/chunk-C2ZP5YS6.cjs.map +1 -0
- package/dist/{chunk-PNN7RHVR.cjs → chunk-C4DYN2SD.cjs} +48 -48
- package/dist/{chunk-PNN7RHVR.cjs.map → chunk-C4DYN2SD.cjs.map} +1 -1
- package/dist/{chunk-XDF2UPEQ.cjs → chunk-C6KE2HSQ.cjs} +1364 -1311
- package/dist/chunk-C6KE2HSQ.cjs.map +1 -0
- package/dist/{chunk-LBJKZXDE.cjs → chunk-D6GCNNMK.cjs} +10 -10
- package/dist/{chunk-LBJKZXDE.cjs.map → chunk-D6GCNNMK.cjs.map} +1 -1
- package/dist/{chunk-JZUR7ZWE.js → chunk-DSAWGCMP.js} +3 -3
- package/dist/{chunk-JZUR7ZWE.js.map → chunk-DSAWGCMP.js.map} +1 -1
- package/dist/{chunk-U5SON7R2.cjs → chunk-DYPRZ53S.cjs} +27 -27
- package/dist/{chunk-U5SON7R2.cjs.map → chunk-DYPRZ53S.cjs.map} +1 -1
- package/dist/{chunk-YVWGEQJE.cjs → chunk-E4OSGBCM.cjs} +139 -133
- package/dist/chunk-E4OSGBCM.cjs.map +1 -0
- package/dist/{chunk-YDFDBE6D.js → chunk-EAMVXR5B.js} +4 -4
- package/dist/{chunk-YDFDBE6D.js.map → chunk-EAMVXR5B.js.map} +1 -1
- package/dist/{chunk-NQ6BRJBE.js → chunk-EDHV4CBU.js} +8 -8
- package/dist/{chunk-NQ6BRJBE.js.map → chunk-EDHV4CBU.js.map} +1 -1
- package/dist/{chunk-DCQVHAYQ.js → chunk-EDJDDY6H.js} +4 -4
- package/dist/{chunk-DCQVHAYQ.js.map → chunk-EDJDDY6H.js.map} +1 -1
- package/dist/{chunk-5262ZMTR.js → chunk-EJSYWAEV.js} +5 -5
- package/dist/{chunk-5262ZMTR.js.map → chunk-EJSYWAEV.js.map} +1 -1
- package/dist/{chunk-N3257XE6.cjs → chunk-F36KZDFX.cjs} +91 -91
- package/dist/{chunk-N3257XE6.cjs.map → chunk-F36KZDFX.cjs.map} +1 -1
- package/dist/{chunk-AKLS3BYZ.js → chunk-FA6Z7B5L.js} +3 -3
- package/dist/chunk-FA6Z7B5L.js.map +1 -0
- package/dist/{chunk-ASTI57H3.js → chunk-FCIZNUW5.js} +3 -3
- package/dist/{chunk-ASTI57H3.js.map → chunk-FCIZNUW5.js.map} +1 -1
- package/dist/{chunk-CBTIUB76.js → chunk-FSLTU57P.js} +3 -3
- package/dist/{chunk-CBTIUB76.js.map → chunk-FSLTU57P.js.map} +1 -1
- package/dist/{chunk-2LG2XB2M.js → chunk-FXNHZFZV.js} +3 -3
- package/dist/{chunk-2LG2XB2M.js.map → chunk-FXNHZFZV.js.map} +1 -1
- package/dist/{chunk-BSFJMMV3.cjs → chunk-GVAMRRZR.cjs} +4 -4
- package/dist/{chunk-BSFJMMV3.cjs.map → chunk-GVAMRRZR.cjs.map} +1 -1
- package/dist/{chunk-CNV4TXJG.js → chunk-GWUWRZXW.js} +3 -3
- package/dist/{chunk-CNV4TXJG.js.map → chunk-GWUWRZXW.js.map} +1 -1
- package/dist/{chunk-C23WSN5E.js → chunk-GWXXHOLU.js} +20 -14
- package/dist/chunk-GWXXHOLU.js.map +1 -0
- package/dist/{chunk-ONU3HIED.cjs → chunk-HNYLMPQQ.cjs} +68 -68
- package/dist/{chunk-ONU3HIED.cjs.map → chunk-HNYLMPQQ.cjs.map} +1 -1
- package/dist/{chunk-NMWDXFPH.js → chunk-IHRDX7K6.js} +4 -4
- package/dist/{chunk-NMWDXFPH.js.map → chunk-IHRDX7K6.js.map} +1 -1
- package/dist/{chunk-VGTJPTIC.js → chunk-JCNTKRAK.js} +5 -5
- package/dist/{chunk-VGTJPTIC.js.map → chunk-JCNTKRAK.js.map} +1 -1
- package/dist/{chunk-MXJDTH5B.cjs → chunk-JL5UEBWT.cjs} +45 -45
- package/dist/{chunk-MXJDTH5B.cjs.map → chunk-JL5UEBWT.cjs.map} +1 -1
- package/dist/{chunk-QLRESYPU.js → chunk-KA4L2NZ3.js} +14 -14
- package/dist/{chunk-QLRESYPU.js.map → chunk-KA4L2NZ3.js.map} +1 -1
- package/dist/{chunk-NI72YOJB.cjs → chunk-KCH7WQA5.cjs} +24 -2
- package/dist/chunk-KCH7WQA5.cjs.map +1 -0
- package/dist/{chunk-2NA5DYLO.cjs → chunk-KOAI3KIV.cjs} +4 -4
- package/dist/{chunk-2NA5DYLO.cjs.map → chunk-KOAI3KIV.cjs.map} +1 -1
- package/dist/{chunk-7VQXLT5O.js → chunk-KXSMF6PL.js} +101 -25
- package/dist/chunk-KXSMF6PL.js.map +1 -0
- package/dist/{chunk-WEVQJ5LH.js → chunk-LHYSY6SE.js} +6 -6
- package/dist/chunk-LHYSY6SE.js.map +1 -0
- package/dist/{chunk-WDGA7IYB.js → chunk-LNIWCQR4.js} +3 -3
- package/dist/{chunk-WDGA7IYB.js.map → chunk-LNIWCQR4.js.map} +1 -1
- package/dist/{chunk-XNSI2FJO.cjs → chunk-N3QTGPC7.cjs} +99 -99
- package/dist/{chunk-XNSI2FJO.cjs.map → chunk-N3QTGPC7.cjs.map} +1 -1
- package/dist/{chunk-K5ELX2GT.js → chunk-OZJCH7ZS.js} +3 -3
- package/dist/{chunk-K5ELX2GT.js.map → chunk-OZJCH7ZS.js.map} +1 -1
- package/dist/{chunk-62ZP23AW.cjs → chunk-PYKF7UIL.cjs} +13 -13
- package/dist/{chunk-62ZP23AW.cjs.map → chunk-PYKF7UIL.cjs.map} +1 -1
- package/dist/{chunk-PQBQG7IM.js → chunk-QOJ2L2AD.js} +3 -3
- package/dist/{chunk-PQBQG7IM.js.map → chunk-QOJ2L2AD.js.map} +1 -1
- package/dist/{chunk-XNLIZYRZ.cjs → chunk-QPOQX2DI.cjs} +235 -235
- package/dist/{chunk-XNLIZYRZ.cjs.map → chunk-QPOQX2DI.cjs.map} +1 -1
- package/dist/{chunk-NFCVHQ5P.cjs → chunk-QU7QLJA4.cjs} +26 -26
- package/dist/{chunk-NFCVHQ5P.cjs.map → chunk-QU7QLJA4.cjs.map} +1 -1
- package/dist/{chunk-DLNROMQ7.js → chunk-R7EWHKID.js} +7 -4
- package/dist/chunk-R7EWHKID.js.map +1 -0
- package/dist/{chunk-HFHTMECK.js → chunk-RFDEYLIK.js} +7 -7
- package/dist/{chunk-HFHTMECK.js.map → chunk-RFDEYLIK.js.map} +1 -1
- package/dist/{chunk-MUK4BU7K.cjs → chunk-RHDOAQCT.cjs} +200 -124
- package/dist/chunk-RHDOAQCT.cjs.map +1 -0
- package/dist/{chunk-YBFHZUXX.js → chunk-S3G5VLSW.js} +6 -6
- package/dist/{chunk-YBFHZUXX.js.map → chunk-S3G5VLSW.js.map} +1 -1
- package/dist/{chunk-M4BDU5RX.cjs → chunk-S7WIRFNS.cjs} +12 -12
- package/dist/{chunk-M4BDU5RX.cjs.map → chunk-S7WIRFNS.cjs.map} +1 -1
- package/dist/{chunk-T4XNKYXB.js → chunk-SXWLLQ3D.js} +4 -4
- package/dist/{chunk-T4XNKYXB.js.map → chunk-SXWLLQ3D.js.map} +1 -1
- package/dist/{chunk-NK5Q7UNE.cjs → chunk-TCT66A7N.cjs} +10 -10
- package/dist/{chunk-NK5Q7UNE.cjs.map → chunk-TCT66A7N.cjs.map} +1 -1
- package/dist/{chunk-3DHZCOT7.cjs → chunk-UTVQPZPN.cjs} +20 -20
- package/dist/{chunk-3DHZCOT7.cjs.map → chunk-UTVQPZPN.cjs.map} +1 -1
- package/dist/{chunk-CXBHOOIQ.cjs → chunk-WA64ZSCA.cjs} +11 -11
- package/dist/{chunk-CXBHOOIQ.cjs.map → chunk-WA64ZSCA.cjs.map} +1 -1
- package/dist/{chunk-QWX5YA3K.js → chunk-WEJHA7AD.js} +18 -16
- package/dist/chunk-WEJHA7AD.js.map +1 -0
- package/dist/{chunk-5UVRGXD3.js → chunk-WHS2Y43J.js} +5 -5
- package/dist/{chunk-5UVRGXD3.js.map → chunk-WHS2Y43J.js.map} +1 -1
- package/dist/{chunk-I5MOXA4H.js → chunk-WMKEGJG4.js} +3 -3
- package/dist/{chunk-I5MOXA4H.js.map → chunk-WMKEGJG4.js.map} +1 -1
- package/dist/{chunk-5763DULU.js → chunk-WYFB7BN3.js} +16 -14
- package/dist/chunk-WYFB7BN3.js.map +1 -0
- package/dist/{chunk-XQSCL77R.cjs → chunk-XBHRKLZU.cjs} +4 -4
- package/dist/{chunk-XQSCL77R.cjs.map → chunk-XBHRKLZU.cjs.map} +1 -1
- package/dist/{chunk-7Z5OR7KO.js → chunk-YQ4JONWE.js} +102 -49
- package/dist/chunk-YQ4JONWE.js.map +1 -0
- package/dist/{chunk-RJS7DECT.js → chunk-Z43KWLZF.js} +8 -8
- package/dist/{chunk-RJS7DECT.js.map → chunk-Z43KWLZF.js.map} +1 -1
- package/dist/{chunk-E4WNQBEF.cjs → chunk-ZBVZ7HXD.cjs} +12 -12
- package/dist/{chunk-E4WNQBEF.cjs.map → chunk-ZBVZ7HXD.cjs.map} +1 -1
- package/dist/{chunk-4UGOKMI5.cjs → chunk-ZHOAZD7Q.cjs} +161 -161
- package/dist/{chunk-4UGOKMI5.cjs.map → chunk-ZHOAZD7Q.cjs.map} +1 -1
- package/dist/{chunk-XCAGZAKP.cjs → chunk-ZIH42CRX.cjs} +7 -7
- package/dist/{chunk-XCAGZAKP.cjs.map → chunk-ZIH42CRX.cjs.map} +1 -1
- package/dist/core/index.cjs +27 -27
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +7 -7
- package/dist/{ddl-BJcOp4WZ.d.cts → ddl-mE07h_EM.d.cts} +3 -3
- package/dist/{ddl-BXfGHbPN.d.ts → ddl-opIn8DfX.d.ts} +3 -3
- package/dist/graph-extension/index.cjs +20 -20
- 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 +248 -248
- package/dist/graph-merge/index.d.cts +8 -8
- package/dist/graph-merge/index.d.ts +8 -8
- package/dist/graph-merge/index.js +24 -24
- package/dist/{index-DxaYCv8Y.d.cts → index-Deyu8IXL.d.ts} +20 -3
- package/dist/{index-BSHvKfok.d.ts → index-DrRS51Ld.d.cts} +20 -3
- package/dist/index.cjs +219 -215
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +34 -34
- package/dist/indexes/index.cjs +13 -13
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/indexes/index.js +6 -6
- package/dist/interchange/index.cjs +52 -52
- package/dist/interchange/index.d.cts +7 -7
- package/dist/interchange/index.d.ts +7 -7
- package/dist/interchange/index.js +16 -16
- package/dist/{manager-CfZAimti.d.ts → manager-DX983gJ0.d.ts} +2 -2
- package/dist/{manager-HGk6E_HW.d.cts → manager-ptr3JLRP.d.cts} +2 -2
- package/dist/{materialize-indexes-6A7dWGtb.d.cts → materialize-indexes-BXz77YqO.d.cts} +1 -1
- package/dist/{materialize-indexes-BMJP6Tms.d.ts → materialize-indexes-CpXoggWU.d.ts} +1 -1
- package/dist/{postgres-DFYWENdR.d.cts → postgres-DwgEXSPI.d.cts} +1 -1
- package/dist/{postgres-e7a9TdvR.d.ts → postgres-QdOMHTBz.d.ts} +1 -1
- package/dist/profiler/index.d.cts +9 -9
- package/dist/profiler/index.d.ts +9 -9
- package/dist/provenance/index.cjs +42 -42
- package/dist/provenance/index.d.cts +7 -7
- package/dist/provenance/index.d.ts +7 -7
- package/dist/provenance/index.js +9 -9
- package/dist/schema/index.cjs +44 -44
- package/dist/schema/index.d.cts +6 -6
- package/dist/schema/index.d.ts +6 -6
- package/dist/schema/index.js +17 -17
- package/dist/{searchable-9OQoPuRs.d.ts → searchable-BOUuA83f.d.ts} +1 -1
- package/dist/{searchable-CIje5XYD.d.cts → searchable-BrUh0pdc.d.cts} +1 -1
- package/dist/{sqlite-DerU5tc7.d.ts → sqlite-BfYcV61E.d.cts} +1 -1
- package/dist/{sqlite-DitnISa9.d.cts → sqlite-DK40XVR1.d.ts} +1 -1
- package/dist/{store-DawaWWjJ.d.ts → store-Bo1psfVZ.d.ts} +27 -8
- package/dist/{store-RwTJx8LX.d.cts → store-FTqBpuJD.d.cts} +27 -8
- package/dist/{temporal-Bn-Fi8FJ.d.cts → temporal-CXewwLTB.d.cts} +1 -1
- package/dist/{temporal-BtM4UALv.d.ts → temporal-DPtn0HOu.d.ts} +1 -1
- package/dist/{types-KFfk-8Ah.d.ts → types-CeT7xM4M.d.ts} +1 -1
- package/dist/{types-HkveCCx0.d.cts → types-Du78EvpN.d.cts} +7 -6
- package/dist/{types-HkveCCx0.d.ts → types-Du78EvpN.d.ts} +7 -6
- package/dist/{types-CoIx8HX5.d.cts → types-XR1nHERK.d.cts} +1 -1
- package/dist/{where--fk7_0kv.d.cts → where-CJsp-YUf.d.cts} +1 -1
- package/dist/{where-ws5hf-Ov.d.ts → where-CMbFiWwp.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-5763DULU.js.map +0 -1
- package/dist/chunk-7GT72YHH.cjs.map +0 -1
- package/dist/chunk-7VQXLT5O.js.map +0 -1
- package/dist/chunk-7Z5OR7KO.js.map +0 -1
- package/dist/chunk-A4OC4DVN.cjs +0 -12
- package/dist/chunk-AKLS3BYZ.js.map +0 -1
- package/dist/chunk-C23WSN5E.js.map +0 -1
- package/dist/chunk-DLNROMQ7.js.map +0 -1
- package/dist/chunk-J3WZ3FA2.js.map +0 -1
- package/dist/chunk-MUK4BU7K.cjs.map +0 -1
- package/dist/chunk-NI72YOJB.cjs.map +0 -1
- package/dist/chunk-Q7Q4WSLJ.cjs.map +0 -1
- package/dist/chunk-QWX5YA3K.js.map +0 -1
- package/dist/chunk-TQR4KBY2.cjs.map +0 -1
- package/dist/chunk-TTAITEPJ.cjs.map +0 -1
- package/dist/chunk-VQH4VAWD.cjs +0 -12
- package/dist/chunk-WEVQJ5LH.js.map +0 -1
- package/dist/chunk-XBYVV3MP.cjs.map +0 -1
- package/dist/chunk-XDF2UPEQ.cjs.map +0 -1
- package/dist/chunk-YVWGEQJE.cjs.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
9
|
-
var
|
|
3
|
+
var chunk32UETY6S_cjs = require('../chunk-32UETY6S.cjs');
|
|
4
|
+
var chunkA4R3H7RU_cjs = require('../chunk-A4R3H7RU.cjs');
|
|
5
|
+
require('../chunk-GVAMRRZR.cjs');
|
|
6
|
+
require('../chunk-QU7QLJA4.cjs');
|
|
7
|
+
var chunkANKOXPCC_cjs = require('../chunk-ANKOXPCC.cjs');
|
|
8
|
+
require('../chunk-ZBVZ7HXD.cjs');
|
|
9
|
+
var chunk5PDSCELM_cjs = require('../chunk-5PDSCELM.cjs');
|
|
10
10
|
require('../chunk-NAUA4PW5.cjs');
|
|
11
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-2ZWM2RFH.cjs');
|
|
12
12
|
require('../chunk-RT5ZY4XA.cjs');
|
|
13
13
|
require('../chunk-HAHNRASW.cjs');
|
|
14
|
-
var
|
|
14
|
+
var chunkKCH7WQA5_cjs = require('../chunk-KCH7WQA5.cjs');
|
|
15
15
|
require('../chunk-A7J2YDDI.cjs');
|
|
16
16
|
var chunkN66HCGCY_cjs = require('../chunk-N66HCGCY.cjs');
|
|
17
17
|
|
|
@@ -33,7 +33,7 @@ function edgeToKey(edge) {
|
|
|
33
33
|
function keyToRef(key) {
|
|
34
34
|
const separatorIndex = key.indexOf(KEY_SEPARATOR);
|
|
35
35
|
if (separatorIndex === -1) {
|
|
36
|
-
throw new
|
|
36
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
37
37
|
"Invalid provenance identity key.",
|
|
38
38
|
{ key },
|
|
39
39
|
{
|
|
@@ -46,12 +46,12 @@ function keyToRef(key) {
|
|
|
46
46
|
return { kind, id };
|
|
47
47
|
}
|
|
48
48
|
function sortedReferences(keys) {
|
|
49
|
-
return [...keys].toSorted((left, right) =>
|
|
49
|
+
return [...keys].toSorted((left, right) => chunkA4R3H7RU_cjs.compareStrings(left, right)).map((key) => keyToRef(key));
|
|
50
50
|
}
|
|
51
51
|
function parseNodeProps(row) {
|
|
52
|
-
const parsed =
|
|
52
|
+
const parsed = chunkANKOXPCC_cjs.rowPropsToObject(row.props);
|
|
53
53
|
if (!chunkN66HCGCY_cjs.isPlainObject(parsed)) {
|
|
54
|
-
throw new
|
|
54
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
55
55
|
`Node ${row.kind}/${row.id} props are not an object.`,
|
|
56
56
|
{ kind: row.kind, id: row.id }
|
|
57
57
|
);
|
|
@@ -63,7 +63,7 @@ function sourceRetractedState(row, retractedField) {
|
|
|
63
63
|
const value = props[retractedField];
|
|
64
64
|
if (value === void 0) return "available";
|
|
65
65
|
if (typeof value !== "boolean") {
|
|
66
|
-
throw new
|
|
66
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
67
67
|
`Provenance source field "${retractedField}" must contain a boolean value.`,
|
|
68
68
|
{ kind: row.kind, id: row.id, field: retractedField },
|
|
69
69
|
{
|
|
@@ -81,26 +81,26 @@ function normalizeConfig(graph, config) {
|
|
|
81
81
|
const derivesKind = config.derives.kind;
|
|
82
82
|
const retractedField = config.source.retractedField ?? DEFAULT_RETRACTED_FIELD;
|
|
83
83
|
if (sourceKinds.length === 0) {
|
|
84
|
-
throw new
|
|
84
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
85
85
|
"Provenance retraction requires at least one source kind.",
|
|
86
86
|
{ role: "source" }
|
|
87
87
|
);
|
|
88
88
|
}
|
|
89
89
|
if (factKinds.length === 0) {
|
|
90
|
-
throw new
|
|
90
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
91
91
|
"Provenance retraction requires at least one fact kind.",
|
|
92
92
|
{ role: "fact" }
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
95
|
const duplicateSourceKinds = duplicateValues(sourceKinds);
|
|
96
96
|
if (duplicateSourceKinds.length > 0) {
|
|
97
|
-
throw new
|
|
97
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError("Provenance source kinds must be unique.", {
|
|
98
98
|
duplicateSourceKinds
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
const duplicateFactKinds = duplicateValues(factKinds);
|
|
102
102
|
if (duplicateFactKinds.length > 0) {
|
|
103
|
-
throw new
|
|
103
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError("Provenance fact kinds must be unique.", {
|
|
104
104
|
duplicateFactKinds
|
|
105
105
|
});
|
|
106
106
|
}
|
|
@@ -118,7 +118,7 @@ function normalizeConfig(graph, config) {
|
|
|
118
118
|
if (factKinds.some(
|
|
119
119
|
(kind) => sourceKinds.includes(kind) || kind === justificationKind
|
|
120
120
|
)) {
|
|
121
|
-
throw new
|
|
121
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
122
122
|
"Provenance fact kinds must be distinct from source and justification kinds.",
|
|
123
123
|
{ sourceKinds, justificationKind, factKinds }
|
|
124
124
|
);
|
|
@@ -156,11 +156,11 @@ function duplicateValues(values) {
|
|
|
156
156
|
}
|
|
157
157
|
seen.add(value);
|
|
158
158
|
}
|
|
159
|
-
return [...duplicates].toSorted((left, right) =>
|
|
159
|
+
return [...duplicates].toSorted((left, right) => chunkA4R3H7RU_cjs.compareStrings(left, right));
|
|
160
160
|
}
|
|
161
161
|
function assertKind(records, kind, role, noun, graphId) {
|
|
162
162
|
if (Object.hasOwn(records, kind)) return;
|
|
163
|
-
throw new
|
|
163
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
164
164
|
`Provenance ${role} kind "${kind}" is not a ${noun} kind in this graph.`,
|
|
165
165
|
{ role, kind, graphId }
|
|
166
166
|
);
|
|
@@ -169,7 +169,7 @@ function assertSourceField(graph, sourceKind, retractedField) {
|
|
|
169
169
|
const registration = graph.nodes[sourceKind];
|
|
170
170
|
if (registration === void 0) return;
|
|
171
171
|
if (Object.hasOwn(registration.type.schema.shape, retractedField)) return;
|
|
172
|
-
throw new
|
|
172
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
173
173
|
`Provenance source kind "${sourceKind}" must include field "${retractedField}".`,
|
|
174
174
|
{ sourceKind, retractedField },
|
|
175
175
|
{
|
|
@@ -184,14 +184,14 @@ function assertEdgeEndpoints(graph, edgeKind, expected) {
|
|
|
184
184
|
const toKinds = new Set(registration.to.map((node) => node.kind));
|
|
185
185
|
for (const kind of expected.fromKinds) {
|
|
186
186
|
if (fromKinds.has(kind)) continue;
|
|
187
|
-
throw new
|
|
187
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
188
188
|
`Provenance ${expected.role} edge "${edgeKind}" cannot start at "${kind}".`,
|
|
189
189
|
{ edgeKind, role: expected.role, expectedFrom: kind }
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
192
|
for (const kind of expected.toKinds) {
|
|
193
193
|
if (toKinds.has(kind)) continue;
|
|
194
|
-
throw new
|
|
194
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
195
195
|
`Provenance ${expected.role} edge "${edgeKind}" cannot end at "${kind}".`,
|
|
196
196
|
{ edgeKind, role: expected.role, expectedTo: kind }
|
|
197
197
|
);
|
|
@@ -297,7 +297,7 @@ function buildSupportEdges(config, rows) {
|
|
|
297
297
|
};
|
|
298
298
|
}
|
|
299
299
|
async function loadSupportGraph(backend, graphId, config) {
|
|
300
|
-
const asOf =
|
|
300
|
+
const asOf = chunk5PDSCELM_cjs.nowIso();
|
|
301
301
|
const roles = await readRoles(backend, graphId, config, asOf);
|
|
302
302
|
const supportEdges = buildSupportEdges(config, roles);
|
|
303
303
|
const sourceRowsByKind = await Promise.all(
|
|
@@ -405,7 +405,7 @@ function buildReport(before, after, affected) {
|
|
|
405
405
|
const unaffected = sortedReferences(
|
|
406
406
|
believedBefore.filter((key) => !affected.has(key))
|
|
407
407
|
);
|
|
408
|
-
const survivedVia = [...affected].filter((key) => after.supportedFactKeys.has(key)).toSorted((left, right) =>
|
|
408
|
+
const survivedVia = [...affected].filter((key) => after.supportedFactKeys.has(key)).toSorted((left, right) => chunkA4R3H7RU_cjs.compareStrings(left, right)).map((key) => ({
|
|
409
409
|
fact: keyToRef(key),
|
|
410
410
|
via: sortedReferences(
|
|
411
411
|
after.firingJustificationKeysByFact.get(key) ?? []
|
|
@@ -428,21 +428,21 @@ async function synchronizeFactCurrency(backend, store, runHooks, snapshot, affec
|
|
|
428
428
|
snapshot,
|
|
429
429
|
affected,
|
|
430
430
|
(key) => !snapshot.supportedFactKeys.has(key),
|
|
431
|
-
|
|
431
|
+
chunkANKOXPCC_cjs.isLiveNodeRow,
|
|
432
432
|
(row) => closeFactCurrency(backend, store, runHooks, row, lock)
|
|
433
433
|
);
|
|
434
434
|
await forEachAffectedFact(
|
|
435
435
|
snapshot,
|
|
436
436
|
affected,
|
|
437
437
|
(key) => snapshot.supportedFactKeys.has(key),
|
|
438
|
-
|
|
438
|
+
chunkANKOXPCC_cjs.isTombstonedNodeRow,
|
|
439
439
|
(row) => reopenFactCurrency(backend, store, runHooks, row, lock)
|
|
440
440
|
);
|
|
441
441
|
}
|
|
442
442
|
function getFactRegistration(store, row) {
|
|
443
443
|
const registration = store.graph.nodes[row.kind];
|
|
444
444
|
if (registration !== void 0) return registration;
|
|
445
|
-
throw new
|
|
445
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
446
446
|
`Provenance fact kind "${row.kind}" is not a node kind in this graph.`,
|
|
447
447
|
{ kind: row.kind, graphId: store.graphId }
|
|
448
448
|
);
|
|
@@ -450,8 +450,8 @@ function getFactRegistration(store, row) {
|
|
|
450
450
|
async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
451
451
|
await runHooks("delete", row.kind, row.id, async () => {
|
|
452
452
|
const registration = getFactRegistration(store, row);
|
|
453
|
-
await
|
|
454
|
-
|
|
453
|
+
await chunk32UETY6S_cjs.applyNodeSoftDelete(
|
|
454
|
+
chunk32UETY6S_cjs.createNodeWriteContext(store.graphId, store.registry, lock),
|
|
455
455
|
{
|
|
456
456
|
existing: row,
|
|
457
457
|
schema: registration.type.schema,
|
|
@@ -466,8 +466,8 @@ async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
|
466
466
|
async function reopenFactCurrency(backend, store, runHooks, row, lock) {
|
|
467
467
|
await runHooks("update", row.kind, row.id, async () => {
|
|
468
468
|
const registration = getFactRegistration(store, row);
|
|
469
|
-
await
|
|
470
|
-
|
|
469
|
+
await chunk32UETY6S_cjs.applyNodeResurrect(
|
|
470
|
+
chunk32UETY6S_cjs.createNodeWriteContext(store.graphId, store.registry, lock),
|
|
471
471
|
{
|
|
472
472
|
existing: row,
|
|
473
473
|
schema: registration.type.schema,
|
|
@@ -480,7 +480,7 @@ async function reopenFactCurrency(backend, store, runHooks, row, lock) {
|
|
|
480
480
|
function getTransactionNodeCollection(tx, kind) {
|
|
481
481
|
const collection = tx.getNodeCollection(kind);
|
|
482
482
|
if (collection !== void 0) return collection;
|
|
483
|
-
throw new
|
|
483
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
484
484
|
`Provenance source kind "${kind}" is not available on this transaction.`,
|
|
485
485
|
{ kind }
|
|
486
486
|
);
|
|
@@ -493,14 +493,14 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
493
493
|
const uniqueSources = uniqueNodeReferences(sources);
|
|
494
494
|
for (const source of uniqueSources) {
|
|
495
495
|
if (config.sourceKinds.includes(source.kind)) continue;
|
|
496
|
-
throw new
|
|
496
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
497
497
|
`Provenance retraction source must be one of: ${config.sourceKinds.join(", ")}.`,
|
|
498
498
|
{ expectedKinds: config.sourceKinds, actualKind: source.kind }
|
|
499
499
|
);
|
|
500
500
|
}
|
|
501
501
|
return store.transaction(async (tx) => {
|
|
502
|
-
const backend =
|
|
503
|
-
const lock = await
|
|
502
|
+
const backend = chunk32UETY6S_cjs.transactionBackend(tx);
|
|
503
|
+
const lock = await chunkA4R3H7RU_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
504
504
|
const rows = await Promise.all(
|
|
505
505
|
uniqueSources.map(
|
|
506
506
|
(source) => backend.getNode(store.graphId, source.kind, source.id)
|
|
@@ -509,7 +509,7 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
509
509
|
const sourceRows = uniqueSources.map((source, index) => {
|
|
510
510
|
const sourceRow = rows[index];
|
|
511
511
|
if (sourceRow === void 0 || sourceRow.deleted_at !== void 0) {
|
|
512
|
-
throw new
|
|
512
|
+
throw new chunkKCH7WQA5_cjs.NodeNotFoundError(source.kind, source.id);
|
|
513
513
|
}
|
|
514
514
|
return { source, row: sourceRow };
|
|
515
515
|
});
|
|
@@ -536,7 +536,7 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
536
536
|
await synchronizeFactCurrency(
|
|
537
537
|
backend,
|
|
538
538
|
store,
|
|
539
|
-
|
|
539
|
+
chunk32UETY6S_cjs.transactionNodeOperationHookRunner(tx),
|
|
540
540
|
after,
|
|
541
541
|
affected,
|
|
542
542
|
lock
|
|
@@ -562,8 +562,8 @@ function createRetractionCapability(store, config) {
|
|
|
562
562
|
unRetractMany: (sources) => transition(sources, false),
|
|
563
563
|
async holding() {
|
|
564
564
|
return store.transaction(async (tx) => {
|
|
565
|
-
const backend =
|
|
566
|
-
await
|
|
565
|
+
const backend = chunk32UETY6S_cjs.transactionBackend(tx);
|
|
566
|
+
await chunkA4R3H7RU_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
567
567
|
const snapshot = await computeSupport(
|
|
568
568
|
backend,
|
|
569
569
|
store.graphId,
|
|
@@ -578,7 +578,7 @@ function createRetractionCapability(store, config) {
|
|
|
578
578
|
}
|
|
579
579
|
function assertRetractionHistoryEnabled(store) {
|
|
580
580
|
if (!store.historyEnabled) {
|
|
581
|
-
throw new
|
|
581
|
+
throw new chunkKCH7WQA5_cjs.ConfigurationError(
|
|
582
582
|
"createRetractionCapability requires a store created with { history: true }.",
|
|
583
583
|
{ graphId: store.graphId },
|
|
584
584
|
{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as GraphDef } from '../types-
|
|
2
|
-
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-
|
|
3
|
-
import { b as HistoryStore } from '../store-
|
|
1
|
+
import { d as GraphDef } from '../types-Du78EvpN.cjs';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Du78EvpN.cjs';
|
|
3
|
+
import { b as HistoryStore } from '../store-FTqBpuJD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../temporal-
|
|
6
|
-
import '../searchable-
|
|
7
|
-
import '../manager-
|
|
8
|
-
import '../materialize-indexes-
|
|
5
|
+
import '../temporal-CXewwLTB.cjs';
|
|
6
|
+
import '../searchable-BrUh0pdc.cjs';
|
|
7
|
+
import '../manager-ptr3JLRP.cjs';
|
|
8
|
+
import '../materialize-indexes-BXz77YqO.cjs';
|
|
9
9
|
|
|
10
10
|
type NodeKind<G extends GraphDef> = Extract<keyof G["nodes"], string>;
|
|
11
11
|
type EdgeKind<G extends GraphDef> = Extract<keyof G["edges"], string>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as GraphDef } from '../types-
|
|
2
|
-
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-
|
|
3
|
-
import { b as HistoryStore } from '../store-
|
|
1
|
+
import { d as GraphDef } from '../types-Du78EvpN.js';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Du78EvpN.js';
|
|
3
|
+
import { b as HistoryStore } from '../store-Bo1psfVZ.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../temporal-
|
|
6
|
-
import '../searchable-
|
|
7
|
-
import '../manager-
|
|
8
|
-
import '../materialize-indexes-
|
|
5
|
+
import '../temporal-DPtn0HOu.js';
|
|
6
|
+
import '../searchable-BOUuA83f.js';
|
|
7
|
+
import '../manager-DX983gJ0.js';
|
|
8
|
+
import '../materialize-indexes-CpXoggWU.js';
|
|
9
9
|
|
|
10
10
|
type NodeKind<G extends GraphDef> = Extract<keyof G["nodes"], string>;
|
|
11
11
|
type EdgeKind<G extends GraphDef> = Extract<keyof G["edges"], string>;
|
package/dist/provenance/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { transactionBackend, transactionNodeOperationHookRunner, applyNodeSoftDelete, createNodeWriteContext, applyNodeResurrect } from '../chunk-
|
|
2
|
-
import { lockRecordedGraphWrite, compareStrings } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import { rowPropsToObject, isLiveNodeRow, isTombstonedNodeRow } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import { nowIso } from '../chunk-
|
|
1
|
+
import { transactionBackend, transactionNodeOperationHookRunner, applyNodeSoftDelete, createNodeWriteContext, applyNodeResurrect } from '../chunk-LHYSY6SE.js';
|
|
2
|
+
import { lockRecordedGraphWrite, compareStrings } from '../chunk-EDHV4CBU.js';
|
|
3
|
+
import '../chunk-DSAWGCMP.js';
|
|
4
|
+
import '../chunk-72WUT4GG.js';
|
|
5
|
+
import { rowPropsToObject, isLiveNodeRow, isTombstonedNodeRow } from '../chunk-FA6Z7B5L.js';
|
|
6
|
+
import '../chunk-LNIWCQR4.js';
|
|
7
|
+
import { nowIso } from '../chunk-R7EWHKID.js';
|
|
8
8
|
import '../chunk-2EBMPJBO.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-QOJ2L2AD.js';
|
|
10
10
|
import '../chunk-W6OG3HDG.js';
|
|
11
11
|
import '../chunk-PC2UBAUB.js';
|
|
12
|
-
import { ConfigurationError, NodeNotFoundError } from '../chunk-
|
|
12
|
+
import { ConfigurationError, NodeNotFoundError } from '../chunk-62ZXBMSD.js';
|
|
13
13
|
import '../chunk-FWJKWH6U.js';
|
|
14
14
|
import { isPlainObject } from '../chunk-DYATYRY4.js';
|
|
15
15
|
|
package/dist/schema/index.cjs
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
3
|
+
var chunkXBHRKLZU_cjs = require('../chunk-XBHRKLZU.cjs');
|
|
4
|
+
var chunkF36KZDFX_cjs = require('../chunk-F36KZDFX.cjs');
|
|
5
|
+
require('../chunk-TCT66A7N.cjs');
|
|
6
|
+
var chunkQPOQX2DI_cjs = require('../chunk-QPOQX2DI.cjs');
|
|
7
|
+
require('../chunk-A4R3H7RU.cjs');
|
|
8
8
|
require('../chunk-PWLJ77UV.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
14
|
-
require('../chunk-
|
|
15
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-GVAMRRZR.cjs');
|
|
10
|
+
require('../chunk-QU7QLJA4.cjs');
|
|
11
|
+
require('../chunk-ANKOXPCC.cjs');
|
|
12
|
+
require('../chunk-WA64ZSCA.cjs');
|
|
13
|
+
require('../chunk-ZBVZ7HXD.cjs');
|
|
14
|
+
require('../chunk-5PDSCELM.cjs');
|
|
15
|
+
require('../chunk-AF3TWL5C.cjs');
|
|
16
16
|
require('../chunk-ZY4GXIVN.cjs');
|
|
17
17
|
require('../chunk-NAUA4PW5.cjs');
|
|
18
|
-
require('../chunk-
|
|
19
|
-
require('../chunk-
|
|
18
|
+
require('../chunk-ZHOAZD7Q.cjs');
|
|
19
|
+
require('../chunk-2ZWM2RFH.cjs');
|
|
20
20
|
require('../chunk-7EO3TCQB.cjs');
|
|
21
21
|
require('../chunk-RT5ZY4XA.cjs');
|
|
22
22
|
require('../chunk-HAHNRASW.cjs');
|
|
23
|
-
require('../chunk-
|
|
23
|
+
require('../chunk-6BD6ZBKT.cjs');
|
|
24
24
|
require('../chunk-XUO3KQFO.cjs');
|
|
25
|
-
require('../chunk-
|
|
26
|
-
require('../chunk-
|
|
25
|
+
require('../chunk-D6GCNNMK.cjs');
|
|
26
|
+
require('../chunk-KCH7WQA5.cjs');
|
|
27
27
|
require('../chunk-A7J2YDDI.cjs');
|
|
28
28
|
require('../chunk-N66HCGCY.cjs');
|
|
29
29
|
|
|
@@ -31,111 +31,111 @@ require('../chunk-N66HCGCY.cjs');
|
|
|
31
31
|
|
|
32
32
|
Object.defineProperty(exports, "deserializeSchema", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkXBHRKLZU_cjs.deserializeSchema; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "applyDeprecatedKinds", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkF36KZDFX_cjs.applyDeprecatedKinds; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "assertSchemaCurrent", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkF36KZDFX_cjs.assertSchemaCurrent; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "classifySchemaChanges", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkF36KZDFX_cjs.classifySchemaChanges; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "computeSchemaDiff", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkF36KZDFX_cjs.computeSchemaDiff; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "computeSchemaHash", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkF36KZDFX_cjs.computeSchemaHash; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "deserializeWherePredicate", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkF36KZDFX_cjs.deserializeWherePredicate; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "ensureSchema", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkF36KZDFX_cjs.ensureSchema; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "getActiveSchema", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkF36KZDFX_cjs.getActiveSchema; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "getCommittedSchemaVersion", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkF36KZDFX_cjs.getCommittedSchemaVersion; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "getMigrationActions", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkF36KZDFX_cjs.getMigrationActions; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "getSchemaChanges", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkF36KZDFX_cjs.getSchemaChanges; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "initializeSchema", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkF36KZDFX_cjs.initializeSchema; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "isBackwardsCompatible", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkF36KZDFX_cjs.isBackwardsCompatible; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "isSchemaInitialized", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkF36KZDFX_cjs.isSchemaInitialized; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkF36KZDFX_cjs.loadActiveSchemaWithBootstrap; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkF36KZDFX_cjs.loadAndMergeGraphExtensionDocument; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "migrateSchema", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkF36KZDFX_cjs.migrateSchema; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "parseSerializedSchema", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkF36KZDFX_cjs.parseSerializedSchema; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "requiresMigration", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkF36KZDFX_cjs.requiresMigration; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "rollbackSchema", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkF36KZDFX_cjs.rollbackSchema; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "serializeSchema", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkF36KZDFX_cjs.serializeSchema; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "createValidationError", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkQPOQX2DI_cjs.createValidationError; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "validateEdgeProps", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkQPOQX2DI_cjs.validateEdgeProps; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "validateNodeProps", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkQPOQX2DI_cjs.validateNodeProps; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "validateProps", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkQPOQX2DI_cjs.validateProps; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "wrapZodError", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkQPOQX2DI_cjs.wrapZodError; }
|
|
139
139
|
});
|
|
140
140
|
//# sourceMappingURL=index.cjs.map
|
|
141
141
|
//# sourceMappingURL=index.cjs.map
|
package/dist/schema/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { D as SerializedNodeDef, H as SerializedEdgeDef, M as SerializedMetaEdge, O as SerializedOntologyRelation, P as SerializedClosures, z as SerializedSchema, U as SchemaHash, W as NullCheckOp, d as GraphDef, K as KindEntity } from '../types-
|
|
2
|
-
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig, X as JsonSchema, Y as SerializedOntology, Z as SerializedUniqueConstraint } from '../types-
|
|
3
|
-
import { K as KindRegistry } from '../manager-
|
|
4
|
-
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-
|
|
5
|
-
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-
|
|
1
|
+
import { D as SerializedNodeDef, H as SerializedEdgeDef, M as SerializedMetaEdge, O as SerializedOntologyRelation, P as SerializedClosures, z as SerializedSchema, U as SchemaHash, W as NullCheckOp, d as GraphDef, K as KindEntity } from '../types-Du78EvpN.cjs';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig, X as JsonSchema, Y as SerializedOntology, Z as SerializedUniqueConstraint } from '../types-Du78EvpN.cjs';
|
|
3
|
+
import { K as KindRegistry } from '../manager-ptr3JLRP.cjs';
|
|
4
|
+
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-ptr3JLRP.cjs';
|
|
5
|
+
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-BXz77YqO.cjs';
|
|
6
6
|
import { ZodType, ZodError } from 'zod';
|
|
7
|
-
import { V as ValidationIssue, a as ValidationError } from '../index-
|
|
7
|
+
import { V as ValidationIssue, a as ValidationError } from '../index-DrRS51Ld.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A deserialized schema provides read-only access to schema metadata.
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { D as SerializedNodeDef, H as SerializedEdgeDef, M as SerializedMetaEdge, O as SerializedOntologyRelation, P as SerializedClosures, z as SerializedSchema, U as SchemaHash, W as NullCheckOp, d as GraphDef, K as KindEntity } from '../types-
|
|
2
|
-
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig, X as JsonSchema, Y as SerializedOntology, Z as SerializedUniqueConstraint } from '../types-
|
|
3
|
-
import { K as KindRegistry } from '../manager-
|
|
4
|
-
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-
|
|
5
|
-
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-
|
|
1
|
+
import { D as SerializedNodeDef, H as SerializedEdgeDef, M as SerializedMetaEdge, O as SerializedOntologyRelation, P as SerializedClosures, z as SerializedSchema, U as SchemaHash, W as NullCheckOp, d as GraphDef, K as KindEntity } from '../types-Du78EvpN.js';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig, X as JsonSchema, Y as SerializedOntology, Z as SerializedUniqueConstraint } from '../types-Du78EvpN.js';
|
|
3
|
+
import { K as KindRegistry } from '../manager-DX983gJ0.js';
|
|
4
|
+
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-DX983gJ0.js';
|
|
5
|
+
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-CpXoggWU.js';
|
|
6
6
|
import { ZodType, ZodError } from 'zod';
|
|
7
|
-
import { V as ValidationIssue, a as ValidationError } from '../index-
|
|
7
|
+
import { V as ValidationIssue, a as ValidationError } from '../index-Deyu8IXL.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A deserialized schema provides read-only access to schema metadata.
|
package/dist/schema/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export { deserializeSchema } from '../chunk-
|
|
2
|
-
export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema, serializeSchema } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
1
|
+
export { deserializeSchema } from '../chunk-GWUWRZXW.js';
|
|
2
|
+
export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema, serializeSchema } from '../chunk-KA4L2NZ3.js';
|
|
3
|
+
import '../chunk-36LIJXWC.js';
|
|
4
|
+
export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-A2LJG5GM.js';
|
|
5
|
+
import '../chunk-EDHV4CBU.js';
|
|
6
6
|
import '../chunk-JBQQ7THH.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-DSAWGCMP.js';
|
|
8
|
+
import '../chunk-72WUT4GG.js';
|
|
9
|
+
import '../chunk-FA6Z7B5L.js';
|
|
10
|
+
import '../chunk-5ZJOB5YS.js';
|
|
11
|
+
import '../chunk-LNIWCQR4.js';
|
|
12
|
+
import '../chunk-R7EWHKID.js';
|
|
13
|
+
import '../chunk-WMKEGJG4.js';
|
|
14
14
|
import '../chunk-K34OPSJK.js';
|
|
15
15
|
import '../chunk-2EBMPJBO.js';
|
|
16
|
-
import '../chunk-
|
|
17
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-EAMVXR5B.js';
|
|
17
|
+
import '../chunk-QOJ2L2AD.js';
|
|
18
18
|
import '../chunk-AMKPPFUO.js';
|
|
19
19
|
import '../chunk-W6OG3HDG.js';
|
|
20
20
|
import '../chunk-PC2UBAUB.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-SXWLLQ3D.js';
|
|
22
22
|
import '../chunk-JXXDZTMN.js';
|
|
23
|
-
import '../chunk-
|
|
24
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-OZJCH7ZS.js';
|
|
24
|
+
import '../chunk-62ZXBMSD.js';
|
|
25
25
|
import '../chunk-FWJKWH6U.js';
|
|
26
26
|
import '../chunk-DYATYRY4.js';
|
|
27
27
|
//# sourceMappingURL=index.js.map
|