@nicia-ai/typegraph 0.16.2 → 0.18.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 +27 -27
- package/dist/backend/postgres/index.js +2 -2
- package/dist/backend/sqlite/index.cjs +12 -12
- package/dist/backend/sqlite/index.js +2 -2
- package/dist/backend/sqlite/libsql.cjs +28 -0
- package/dist/backend/sqlite/libsql.cjs.map +1 -0
- package/dist/backend/sqlite/libsql.d.cts +86 -0
- package/dist/backend/sqlite/libsql.d.ts +86 -0
- package/dist/backend/sqlite/libsql.js +26 -0
- package/dist/backend/sqlite/libsql.js.map +1 -0
- package/dist/backend/sqlite/local.cjs +7 -12
- package/dist/backend/sqlite/local.cjs.map +1 -1
- package/dist/backend/sqlite/local.js +4 -9
- package/dist/backend/sqlite/local.js.map +1 -1
- package/dist/{chunk-5H74QKKF.cjs → chunk-HXJXTOXR.cjs} +23 -27
- package/dist/chunk-HXJXTOXR.cjs.map +1 -0
- package/dist/{chunk-2UTJRP4F.cjs → chunk-IYWWXOVK.cjs} +40 -28
- package/dist/chunk-IYWWXOVK.cjs.map +1 -0
- package/dist/{chunk-IRS2C6GN.js → chunk-LLHFS53Q.js} +10 -14
- package/dist/chunk-LLHFS53Q.js.map +1 -0
- package/dist/{chunk-7ZVPFJLQ.js → chunk-QFZQGEQ3.js} +40 -29
- package/dist/chunk-QFZQGEQ3.js.map +1 -0
- package/dist/index.cjs +63 -24
- 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 +63 -24
- 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-BZ7BexR1.d.cts → store-B_JzzHwb.d.cts} +2 -2
- package/dist/{store--7Nft1Ii.d.ts → store-DkY1pDfu.d.ts} +2 -2
- package/package.json +16 -1
- package/dist/chunk-2UTJRP4F.cjs.map +0 -1
- package/dist/chunk-5H74QKKF.cjs.map +0 -1
- package/dist/chunk-7ZVPFJLQ.js.map +0 -1
- package/dist/chunk-IRS2C6GN.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { G as GraphDef } from '../manager-Bj1UEnhE.cjs';
|
|
3
|
-
import { Y as Store } from '../store-
|
|
3
|
+
import { Y as Store } from '../store-B_JzzHwb.cjs';
|
|
4
4
|
import '../types-DMzKq0d5.cjs';
|
|
5
5
|
import '../types-B3mmOMJV.cjs';
|
|
6
6
|
import 'drizzle-orm';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { G as GraphDef } from '../manager-Chhrq1vl.js';
|
|
3
|
-
import { Y as Store } from '../store
|
|
3
|
+
import { Y as Store } from '../store-DkY1pDfu.js';
|
|
4
4
|
import '../types-DMzKq0d5.js';
|
|
5
5
|
import '../types-ThB4cFLp.js';
|
|
6
6
|
import 'drizzle-orm';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { G as GraphDef } from '../manager-Bj1UEnhE.cjs';
|
|
2
2
|
import { Q as QueryAst } from '../ast-Bh2NDeaK.cjs';
|
|
3
|
-
import { Y as Store } from '../store-
|
|
3
|
+
import { Y as Store } from '../store-B_JzzHwb.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-Chhrq1vl.js';
|
|
2
2
|
import { Q as QueryAst } from '../ast-COMyNeMn.js';
|
|
3
|
-
import { Y as Store } from '../store
|
|
3
|
+
import { Y as Store } from '../store-DkY1pDfu.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';
|
|
@@ -1701,7 +1701,7 @@ declare class ExecutableQuery<G extends GraphDef, Aliases extends AliasMap, Edge
|
|
|
1701
1701
|
/**
|
|
1702
1702
|
* Orders results.
|
|
1703
1703
|
*/
|
|
1704
|
-
orderBy<A extends keyof Aliases & string>(alias: A, field: string, direction?: SortDirection): ExecutableQuery<G, Aliases, EdgeAliases, RecursiveAliases, R>;
|
|
1704
|
+
orderBy<A extends (keyof Aliases | keyof EdgeAliases) & string>(alias: A, field: string, direction?: SortDirection): ExecutableQuery<G, Aliases, EdgeAliases, RecursiveAliases, R>;
|
|
1705
1705
|
/**
|
|
1706
1706
|
* Limits the number of results.
|
|
1707
1707
|
*/
|
|
@@ -1993,7 +1993,7 @@ declare class QueryBuilder<G extends GraphDef, Aliases extends AliasMap = {}, Ed
|
|
|
1993
1993
|
/**
|
|
1994
1994
|
* Orders results.
|
|
1995
1995
|
*/
|
|
1996
|
-
orderBy<A extends keyof Aliases & string>(alias: A, field: string, direction?: SortDirection): QueryBuilder<G, Aliases, EdgeAliases, RecursiveAliases>;
|
|
1996
|
+
orderBy<A extends (keyof Aliases | keyof EdgeAliases) & string>(alias: A, field: string, direction?: SortDirection): QueryBuilder<G, Aliases, EdgeAliases, RecursiveAliases>;
|
|
1997
1997
|
/**
|
|
1998
1998
|
* Limits the number of results.
|
|
1999
1999
|
*/
|
|
@@ -1701,7 +1701,7 @@ declare class ExecutableQuery<G extends GraphDef, Aliases extends AliasMap, Edge
|
|
|
1701
1701
|
/**
|
|
1702
1702
|
* Orders results.
|
|
1703
1703
|
*/
|
|
1704
|
-
orderBy<A extends keyof Aliases & string>(alias: A, field: string, direction?: SortDirection): ExecutableQuery<G, Aliases, EdgeAliases, RecursiveAliases, R>;
|
|
1704
|
+
orderBy<A extends (keyof Aliases | keyof EdgeAliases) & string>(alias: A, field: string, direction?: SortDirection): ExecutableQuery<G, Aliases, EdgeAliases, RecursiveAliases, R>;
|
|
1705
1705
|
/**
|
|
1706
1706
|
* Limits the number of results.
|
|
1707
1707
|
*/
|
|
@@ -1993,7 +1993,7 @@ declare class QueryBuilder<G extends GraphDef, Aliases extends AliasMap = {}, Ed
|
|
|
1993
1993
|
/**
|
|
1994
1994
|
* Orders results.
|
|
1995
1995
|
*/
|
|
1996
|
-
orderBy<A extends keyof Aliases & string>(alias: A, field: string, direction?: SortDirection): QueryBuilder<G, Aliases, EdgeAliases, RecursiveAliases>;
|
|
1996
|
+
orderBy<A extends (keyof Aliases | keyof EdgeAliases) & string>(alias: A, field: string, direction?: SortDirection): QueryBuilder<G, Aliases, EdgeAliases, RecursiveAliases>;
|
|
1997
1997
|
/**
|
|
1998
1998
|
* Limits the number of results.
|
|
1999
1999
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nicia-ai/typegraph",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "TypeScript-first embedded knowledge graph library with ontological reasoning",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -86,6 +86,16 @@
|
|
|
86
86
|
"types": "./dist/backend/sqlite/local.d.cts",
|
|
87
87
|
"default": "./dist/backend/sqlite/local.cjs"
|
|
88
88
|
}
|
|
89
|
+
},
|
|
90
|
+
"./sqlite/libsql": {
|
|
91
|
+
"import": {
|
|
92
|
+
"types": "./dist/backend/sqlite/libsql.d.ts",
|
|
93
|
+
"default": "./dist/backend/sqlite/libsql.js"
|
|
94
|
+
},
|
|
95
|
+
"require": {
|
|
96
|
+
"types": "./dist/backend/sqlite/libsql.d.cts",
|
|
97
|
+
"default": "./dist/backend/sqlite/libsql.cjs"
|
|
98
|
+
}
|
|
89
99
|
}
|
|
90
100
|
},
|
|
91
101
|
"files": [
|
|
@@ -122,11 +132,15 @@
|
|
|
122
132
|
"node": ">=22"
|
|
123
133
|
},
|
|
124
134
|
"peerDependencies": {
|
|
135
|
+
"@libsql/client": ">=0.6.0",
|
|
125
136
|
"better-sqlite3": ">=9.0.0 <13.0.0",
|
|
126
137
|
"drizzle-orm": ">=0.35.0 <1.0.0",
|
|
127
138
|
"zod": "^4.0.0"
|
|
128
139
|
},
|
|
129
140
|
"peerDependenciesMeta": {
|
|
141
|
+
"@libsql/client": {
|
|
142
|
+
"optional": true
|
|
143
|
+
},
|
|
130
144
|
"better-sqlite3": {
|
|
131
145
|
"optional": true
|
|
132
146
|
}
|
|
@@ -135,6 +149,7 @@
|
|
|
135
149
|
"nanoid": "^5.1.7"
|
|
136
150
|
},
|
|
137
151
|
"devDependencies": {
|
|
152
|
+
"@libsql/client": "^0.17.2",
|
|
138
153
|
"@stryker-mutator/core": "^9.6.0",
|
|
139
154
|
"@stryker-mutator/vitest-runner": "^9.6.0",
|
|
140
155
|
"@types/better-sqlite3": "^7.6.13",
|