@nicia-ai/typegraph 0.42.0 → 0.43.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 +2 -2
- package/dist/backend/postgres/index.js +1 -1
- package/dist/backend/postgres/pglite-store.cjs +7 -7
- package/dist/backend/postgres/pglite-store.d.cts +1 -1
- package/dist/backend/postgres/pglite-store.d.ts +1 -1
- package/dist/backend/postgres/pglite-store.js +5 -5
- package/dist/backend/postgres/pglite.cjs +3 -3
- package/dist/backend/postgres/pglite.js +2 -2
- package/dist/backend/sqlite/local-store.cjs +4 -4
- package/dist/backend/sqlite/local-store.d.cts +1 -1
- package/dist/backend/sqlite/local-store.d.ts +1 -1
- package/dist/backend/sqlite/local-store.js +3 -3
- package/dist/{chunk-RTUCOEIO.cjs → chunk-5Q3P6OIC.cjs} +4 -4
- package/dist/{chunk-RTUCOEIO.cjs.map → chunk-5Q3P6OIC.cjs.map} +1 -1
- package/dist/{chunk-7TOT7RKY.cjs → chunk-5ZPRE4CV.cjs} +97 -57
- package/dist/chunk-5ZPRE4CV.cjs.map +1 -0
- package/dist/{chunk-5P6IPIT6.cjs → chunk-64LERBFM.cjs} +17 -17
- package/dist/{chunk-5P6IPIT6.cjs.map → chunk-64LERBFM.cjs.map} +1 -1
- package/dist/{chunk-K2HHCWZO.cjs → chunk-BLBG2VZ5.cjs} +51 -51
- package/dist/{chunk-K2HHCWZO.cjs.map → chunk-BLBG2VZ5.cjs.map} +1 -1
- package/dist/{chunk-EVFL2ZY5.js → chunk-CTWZPYJW.js} +2 -2
- package/dist/chunk-CTWZPYJW.js.map +1 -0
- package/dist/{chunk-DP7KC6CL.js → chunk-JNXZQBN3.js} +72 -25
- package/dist/chunk-JNXZQBN3.js.map +1 -0
- package/dist/{chunk-2SO5I5AI.cjs → chunk-KDRF3NR2.cjs} +2 -2
- package/dist/chunk-KDRF3NR2.cjs.map +1 -0
- package/dist/{chunk-WYQILW5V.js → chunk-L2BYRYHC.js} +4 -4
- package/dist/{chunk-WYQILW5V.js.map → chunk-L2BYRYHC.js.map} +1 -1
- package/dist/{chunk-6NB73BXV.js → chunk-L5AUCL5P.js} +3 -3
- package/dist/{chunk-6NB73BXV.js.map → chunk-L5AUCL5P.js.map} +1 -1
- package/dist/{chunk-277UZV7X.cjs → chunk-NDQLPKBX.cjs} +315 -268
- package/dist/chunk-NDQLPKBX.cjs.map +1 -0
- package/dist/{chunk-LTVBD56M.js → chunk-NXIZL7ZZ.js} +3 -3
- package/dist/{chunk-LTVBD56M.js.map → chunk-NXIZL7ZZ.js.map} +1 -1
- package/dist/{chunk-BGXKXGDI.js → chunk-YPVQYM3L.js} +99 -59
- package/dist/chunk-YPVQYM3L.js.map +1 -0
- package/dist/graph-merge/index.cjs +25 -25
- package/dist/graph-merge/index.d.cts +1 -1
- package/dist/graph-merge/index.d.ts +1 -1
- package/dist/graph-merge/index.js +4 -4
- package/dist/index.cjs +49 -49
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/interchange/index.cjs +22 -22
- package/dist/interchange/index.d.cts +1 -1
- package/dist/interchange/index.d.ts +1 -1
- package/dist/interchange/index.js +3 -3
- package/dist/profiler/index.d.cts +1 -1
- package/dist/profiler/index.d.ts +1 -1
- package/dist/provenance/index.cjs +10 -10
- package/dist/provenance/index.d.cts +1 -1
- package/dist/provenance/index.d.ts +1 -1
- package/dist/provenance/index.js +1 -1
- package/dist/{store-view-CNcOG8bQ.d.cts → store-view-D1F6KqsE.d.cts} +18 -1
- package/dist/{store-view-6C2vTWqf.d.ts → store-view-DdwBNjZQ.d.ts} +18 -1
- package/package.json +1 -1
- package/dist/chunk-277UZV7X.cjs.map +0 -1
- package/dist/chunk-2SO5I5AI.cjs.map +0 -1
- package/dist/chunk-7TOT7RKY.cjs.map +0 -1
- package/dist/chunk-BGXKXGDI.js.map +0 -1
- package/dist/chunk-DP7KC6CL.js.map +0 -1
- package/dist/chunk-EVFL2ZY5.js.map +0 -1
|
@@ -1264,6 +1264,16 @@ type EdgeGetOrCreateByEndpointsOptions<E extends AnyEdgeType> = Readonly<{
|
|
|
1264
1264
|
matchOn?: readonly (keyof z.input<E["schema"]>)[];
|
|
1265
1265
|
/** Existing record behavior. Default: "return" */
|
|
1266
1266
|
ifExists?: IfExistsMode;
|
|
1267
|
+
/**
|
|
1268
|
+
* Valid-time start for a newly created edge. Ignored when an edge is found,
|
|
1269
|
+
* updated, or resurrected.
|
|
1270
|
+
*/
|
|
1271
|
+
validFrom?: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* Valid-time end for a created, updated, or resurrected edge. Ignored when
|
|
1274
|
+
* the operation returns an existing edge without writing.
|
|
1275
|
+
*/
|
|
1276
|
+
validTo?: string;
|
|
1267
1277
|
}>;
|
|
1268
1278
|
/**
|
|
1269
1279
|
* A collection of nodes of a specific type.
|
|
@@ -1685,6 +1695,11 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
1685
1695
|
* property fields, only edges whose properties match on those fields are considered.
|
|
1686
1696
|
* Soft-deleted matches are resurrected when cardinality allows.
|
|
1687
1697
|
*
|
|
1698
|
+
* `validFrom` only applies on the create branch, defaulting to the
|
|
1699
|
+
* operation's creation timestamp when omitted. `validTo` applies on create,
|
|
1700
|
+
* update, and resurrection, but not when an existing edge is returned
|
|
1701
|
+
* without a write.
|
|
1702
|
+
*
|
|
1688
1703
|
* @param from - Source node
|
|
1689
1704
|
* @param to - Target node
|
|
1690
1705
|
* @param props - Full properties for create, or merge source for update
|
|
@@ -1701,7 +1716,9 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
1701
1716
|
from: NodeRef<From>;
|
|
1702
1717
|
to: NodeRef<To>;
|
|
1703
1718
|
props: z.input<E["schema"]>;
|
|
1704
|
-
|
|
1719
|
+
validFrom?: string;
|
|
1720
|
+
validTo?: string;
|
|
1721
|
+
}>[], options?: Pick<EdgeGetOrCreateByEndpointsOptions<E>, "matchOn" | "ifExists">) => Promise<EdgeGetOrCreateByEndpointsResult<E, From, To>[]>;
|
|
1705
1722
|
}>;
|
|
1706
1723
|
/**
|
|
1707
1724
|
* Extract uniqueness constraint names from a NodeRegistration.
|
|
@@ -1264,6 +1264,16 @@ type EdgeGetOrCreateByEndpointsOptions<E extends AnyEdgeType> = Readonly<{
|
|
|
1264
1264
|
matchOn?: readonly (keyof z.input<E["schema"]>)[];
|
|
1265
1265
|
/** Existing record behavior. Default: "return" */
|
|
1266
1266
|
ifExists?: IfExistsMode;
|
|
1267
|
+
/**
|
|
1268
|
+
* Valid-time start for a newly created edge. Ignored when an edge is found,
|
|
1269
|
+
* updated, or resurrected.
|
|
1270
|
+
*/
|
|
1271
|
+
validFrom?: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* Valid-time end for a created, updated, or resurrected edge. Ignored when
|
|
1274
|
+
* the operation returns an existing edge without writing.
|
|
1275
|
+
*/
|
|
1276
|
+
validTo?: string;
|
|
1267
1277
|
}>;
|
|
1268
1278
|
/**
|
|
1269
1279
|
* A collection of nodes of a specific type.
|
|
@@ -1685,6 +1695,11 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
1685
1695
|
* property fields, only edges whose properties match on those fields are considered.
|
|
1686
1696
|
* Soft-deleted matches are resurrected when cardinality allows.
|
|
1687
1697
|
*
|
|
1698
|
+
* `validFrom` only applies on the create branch, defaulting to the
|
|
1699
|
+
* operation's creation timestamp when omitted. `validTo` applies on create,
|
|
1700
|
+
* update, and resurrection, but not when an existing edge is returned
|
|
1701
|
+
* without a write.
|
|
1702
|
+
*
|
|
1688
1703
|
* @param from - Source node
|
|
1689
1704
|
* @param to - Target node
|
|
1690
1705
|
* @param props - Full properties for create, or merge source for update
|
|
@@ -1701,7 +1716,9 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
1701
1716
|
from: NodeRef<From>;
|
|
1702
1717
|
to: NodeRef<To>;
|
|
1703
1718
|
props: z.input<E["schema"]>;
|
|
1704
|
-
|
|
1719
|
+
validFrom?: string;
|
|
1720
|
+
validTo?: string;
|
|
1721
|
+
}>[], options?: Pick<EdgeGetOrCreateByEndpointsOptions<E>, "matchOn" | "ifExists">) => Promise<EdgeGetOrCreateByEndpointsResult<E, From, To>[]>;
|
|
1705
1722
|
}>;
|
|
1706
1723
|
/**
|
|
1707
1724
|
* Extract uniqueness constraint names from a NodeRegistration.
|