@nicia-ai/typegraph 0.12.0 → 0.13.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/index.cjs +55 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +55 -23
- package/dist/index.js.map +1 -1
- package/dist/interchange/index.d.cts +1 -1
- package/dist/interchange/index.d.ts +1 -1
- package/dist/profiler/index.d.cts +1 -1
- package/dist/profiler/index.d.ts +1 -1
- package/dist/{store-BcnA11lH.d.ts → store-6-vH0ZIj.d.ts} +19 -0
- package/dist/{store-NEa4EFFD.d.cts → store-Bmdt_dS6.d.cts} +19 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { G as GraphDef } from '../manager-DGSnJa1v.cjs';
|
|
3
|
-
import { U as Store } from '../store-
|
|
3
|
+
import { U as Store } from '../store-Bmdt_dS6.cjs';
|
|
4
4
|
import '../types-DMzKq0d5.cjs';
|
|
5
5
|
import '../types-GLkwvQvS.cjs';
|
|
6
6
|
import 'drizzle-orm';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { G as GraphDef } from '../manager-BCLhWysp.js';
|
|
3
|
-
import { U as Store } from '../store-
|
|
3
|
+
import { U as Store } from '../store-6-vH0ZIj.js';
|
|
4
4
|
import '../types-DMzKq0d5.js';
|
|
5
5
|
import '../types-1YJKodRv.js';
|
|
6
6
|
import 'drizzle-orm';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { G as GraphDef } from '../manager-DGSnJa1v.cjs';
|
|
2
2
|
import { Q as QueryAst } from '../ast-Bh2NDeaK.cjs';
|
|
3
|
-
import { U as Store } from '../store-
|
|
3
|
+
import { U as Store } from '../store-Bmdt_dS6.cjs';
|
|
4
4
|
import { P as ProfilerOptions, a as ProfileReport } from '../types-CVtGFpB9.cjs';
|
|
5
5
|
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-CVtGFpB9.cjs';
|
|
6
6
|
import '../types-DMzKq0d5.cjs';
|
package/dist/profiler/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { G as GraphDef } from '../manager-BCLhWysp.js';
|
|
2
2
|
import { Q as QueryAst } from '../ast-COMyNeMn.js';
|
|
3
|
-
import { U as Store } from '../store-
|
|
3
|
+
import { U as Store } from '../store-6-vH0ZIj.js';
|
|
4
4
|
import { P as ProfilerOptions, a as ProfileReport } from '../types-COPePE8_.js';
|
|
5
5
|
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-COPePE8_.js';
|
|
6
6
|
import '../types-DMzKq0d5.js';
|
|
@@ -1091,6 +1091,25 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
1091
1091
|
findFrom: (from: NodeRef<From>) => Promise<Edge<E, From, To>[]>;
|
|
1092
1092
|
/** Find edges to a specific node */
|
|
1093
1093
|
findTo: (to: NodeRef<To>) => Promise<Edge<E, From, To>[]>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Deferred variant of `findFrom` for use with `store.batch()`.
|
|
1096
|
+
*
|
|
1097
|
+
* Returns a `BatchableQuery` instead of executing immediately.
|
|
1098
|
+
*/
|
|
1099
|
+
batchFindFrom: (from: NodeRef<From>) => BatchableQuery<Edge<E, From, To>>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Deferred variant of `findTo` for use with `store.batch()`.
|
|
1102
|
+
*
|
|
1103
|
+
* Returns a `BatchableQuery` instead of executing immediately.
|
|
1104
|
+
*/
|
|
1105
|
+
batchFindTo: (to: NodeRef<To>) => BatchableQuery<Edge<E, From, To>>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Deferred variant of `findByEndpoints` for use with `store.batch()`.
|
|
1108
|
+
*
|
|
1109
|
+
* Returns a `BatchableQuery` that yields a 0-or-1 element array
|
|
1110
|
+
* (matching `findByEndpoints`' at-most-one semantics).
|
|
1111
|
+
*/
|
|
1112
|
+
batchFindByEndpoints: (from: NodeRef<From>, to: NodeRef<To>, options?: EdgeFindByEndpointsOptions<E>) => BatchableQuery<Edge<E, From, To>>;
|
|
1094
1113
|
/** Delete an edge (soft delete - sets deletedAt timestamp) */
|
|
1095
1114
|
delete: (id: EdgeId<E>) => Promise<void>;
|
|
1096
1115
|
/**
|
|
@@ -1091,6 +1091,25 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
1091
1091
|
findFrom: (from: NodeRef<From>) => Promise<Edge<E, From, To>[]>;
|
|
1092
1092
|
/** Find edges to a specific node */
|
|
1093
1093
|
findTo: (to: NodeRef<To>) => Promise<Edge<E, From, To>[]>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Deferred variant of `findFrom` for use with `store.batch()`.
|
|
1096
|
+
*
|
|
1097
|
+
* Returns a `BatchableQuery` instead of executing immediately.
|
|
1098
|
+
*/
|
|
1099
|
+
batchFindFrom: (from: NodeRef<From>) => BatchableQuery<Edge<E, From, To>>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Deferred variant of `findTo` for use with `store.batch()`.
|
|
1102
|
+
*
|
|
1103
|
+
* Returns a `BatchableQuery` instead of executing immediately.
|
|
1104
|
+
*/
|
|
1105
|
+
batchFindTo: (to: NodeRef<To>) => BatchableQuery<Edge<E, From, To>>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Deferred variant of `findByEndpoints` for use with `store.batch()`.
|
|
1108
|
+
*
|
|
1109
|
+
* Returns a `BatchableQuery` that yields a 0-or-1 element array
|
|
1110
|
+
* (matching `findByEndpoints`' at-most-one semantics).
|
|
1111
|
+
*/
|
|
1112
|
+
batchFindByEndpoints: (from: NodeRef<From>, to: NodeRef<To>, options?: EdgeFindByEndpointsOptions<E>) => BatchableQuery<Edge<E, From, To>>;
|
|
1094
1113
|
/** Delete an edge (soft delete - sets deletedAt timestamp) */
|
|
1095
1114
|
delete: (id: EdgeId<E>) => Promise<void>;
|
|
1096
1115
|
/**
|