-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.ts
More file actions
25 lines (22 loc) · 996 Bytes
/
index.ts
File metadata and controls
25 lines (22 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Re-export types and utilities from graphile-test (but not get-connections functions)
export {
type GraphQLQueryOptions,
type GraphQLTestContext,
type GetConnectionsInput,
type GraphQLResponse,
type GraphQLQueryFn,
type GraphQLQueryFnObj,
type GraphQLQueryUnwrappedFn,
type GraphQLQueryUnwrappedFnObj,
} from 'graphile-test';
// Override with our custom implementations that use graphile-settings
export { GraphQLTest } from './graphile-test';
export * from './get-connections';
export { seed, snapshot } from 'pgsql-test';
// Re-export low-level DB connection utilities for advanced two-phase patterns
// (e.g. provision first, then build GraphQL schema over dynamic tables).
export { getConnections as getDbConnections } from 'pgsql-test';
export type { GetConnectionResult, GetConnectionOpts } from 'pgsql-test';
export type { PgTestClient } from 'pgsql-test/test-client';
// Export GraphQL test adapter for SDK integration
export { GraphQLTestAdapter } from './adapter';