File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { Data , System as SystemSpec } from '@objectstack/spec' ;
22import { z } from 'zod' ;
3- type QueryAST = z . infer < typeof Data . QueryAST > ;
4- type SortNode = z . infer < typeof Data . SortNode > ;
3+ import { QueryAST , SortNode } from '@objectql/types' ;
54type DriverInterface = z . infer < typeof Data . DriverInterface > ;
65/**
76 * ObjectQL
Original file line number Diff line number Diff line change 11import { Data , System as SystemSpec } from '@objectstack/spec' ;
22import { z } from 'zod' ;
3- type QueryAST = z . infer < typeof Data . QueryAST > ;
4- type SortNode = z . infer < typeof Data . SortNode > ;
3+ import { QueryAST , SortNode } from '@objectql/types' ;
54type DriverInterface = z . infer < typeof Data . DriverInterface > ;
65/**
76 * ObjectQL
Original file line number Diff line number Diff line change 11import { Data , System as SystemSpec } from '@objectstack/spec' ;
22import { z } from 'zod' ;
3- type QueryAST = z . infer < typeof Data . QueryAST > ;
4- type SortNode = z . infer < typeof Data . SortNode > ;
3+ import { QueryAST , SortNode } from '@objectql/types' ;
54type DriverInterface = z . infer < typeof Data . DriverInterface > ;
65/**
76 * ObjectQL
Original file line number Diff line number Diff line change 11import { Data , System as SystemSpec } from '@objectstack/spec' ;
22import { z } from 'zod' ;
3- type QueryAST = z . infer < typeof Data . QueryAST > ;
4- type SortNode = z . infer < typeof Data . SortNode > ;
3+ import { QueryAST , SortNode } from '@objectql/types' ;
54type DriverInterface = z . infer < typeof Data . DriverInterface > ;
65/**
76 * ObjectQL
Original file line number Diff line number Diff line change 11import { Data , System as SystemSpec } from '@objectstack/spec' ;
22import { z } from 'zod' ;
3- type QueryAST = z . infer < typeof Data . QueryAST > ;
4- type SortNode = z . infer < typeof Data . SortNode > ;
3+ import { QueryAST , SortNode } from '@objectql/types' ;
54type DriverInterface = z . infer < typeof Data . DriverInterface > ;
65/**
76 * ObjectQL
Original file line number Diff line number Diff line change 11import { Data , System as SystemSpec } from '@objectstack/spec' ;
22import { z } from 'zod' ;
3- type QueryAST = z . infer < typeof Data . QueryAST > ;
4- type SortNode = z . infer < typeof Data . SortNode > ;
3+ import { QueryAST , SortNode } from '@objectql/types' ;
54type DriverInterface = z . infer < typeof Data . DriverInterface > ;
65/**
76 * ObjectQL
Original file line number Diff line number Diff line change 11import { Data , System as SystemSpec } from '@objectstack/spec' ;
22import { z } from 'zod' ;
3- type QueryAST = z . infer < typeof Data . QueryAST > ;
4- type SortNode = z . infer < typeof Data . SortNode > ;
3+ import { QueryAST , SortNode } from '@objectql/types' ;
54type DriverInterface = z . infer < typeof Data . DriverInterface > ;
65/**
76 * ObjectQL
Original file line number Diff line number Diff line change 88 */
99
1010import { Data } from '@objectstack/spec' ;
11- import { z } from 'zod' ;
12- type QueryAST = z . infer < typeof Data . QueryAST > ;
11+ import { QueryAST } from '@objectql/types' ;
1312type SortNode = typeof Data . SortNode ;
1413
1514/**
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ export type { ObjectStackProtocolImplementation } from '@objectstack/objectql';
1616// Export ObjectStack spec types for driver development
1717import { Data , System } from '@objectstack/spec' ;
1818import { z } from 'zod' ;
19- export type QueryAST = z . infer < typeof Data . QueryAST > ;
20- export type DriverInterface = z . infer < typeof Data . DriverInterface > ;
21- export type DriverOptions = z . infer < typeof Data . DriverOptions > ;
19+ export { QueryAST } from '@objectql/types' ;
20+ export type DriverInterface = z . infer < typeof Data . DriverInterfaceSchema > ;
21+ export type DriverOptions = z . infer < typeof Data . DriverOptionsSchema > ;
2222
2323export * from './gateway' ;
2424
Original file line number Diff line number Diff line change 99import type { Filter } from '@objectql/types' ;
1010import { Data } from '@objectstack/spec' ;
1111import { z } from 'zod' ;
12- type FilterCondition = z . infer < typeof Data . FilterCondition > ;
12+ type FilterCondition = z . infer < typeof Data . FilterConditionSchema > ;
1313import { ObjectQLError } from '@objectql/types' ;
1414
1515/**
You can’t perform that action at this time.
0 commit comments