@nicia-ai/typegraph 0.16.2 → 0.17.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.
@@ -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-BZ7BexR1.cjs';
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--7Nft1Ii.js';
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-BZ7BexR1.cjs';
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';
@@ -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--7Nft1Ii.js';
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.16.2",
3
+ "version": "0.17.0",
4
4
  "description": "TypeScript-first embedded knowledge graph library with ontological reasoning",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",