houdini 1.0.0-next.2 → 1.0.0-next.20
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/README.md +4 -1
- package/build/cmd-cjs/index.js +5366 -2772
- package/build/cmd-esm/index.js +5340 -2746
- package/build/codegen/generators/artifacts/index.d.ts +2 -2
- package/build/codegen/generators/artifacts/indexFile.d.ts +2 -2
- package/build/codegen/generators/artifacts/selection.d.ts +5 -5
- package/build/codegen/generators/artifacts/utils.d.ts +0 -1
- package/build/codegen/generators/indexFile/index.d.ts +2 -2
- package/build/codegen/generators/persistedQueries/index.d.ts +2 -2
- package/build/codegen/generators/runtime/graphqlFunction.d.ts +2 -2
- package/build/codegen/generators/runtime/index.d.ts +2 -2
- package/build/codegen/generators/runtime/runtimeConfig.d.ts +7 -0
- package/build/codegen/generators/typescript/documentTypes.d.ts +2 -0
- package/build/codegen/generators/typescript/imperativeTypeDef.d.ts +2 -0
- package/build/codegen/generators/typescript/index.d.ts +2 -2
- package/build/codegen/generators/typescript/typeReference.d.ts +4 -2
- package/build/codegen/generators/typescript/types.d.ts +0 -1
- package/build/codegen/index.d.ts +2 -2
- package/build/codegen/transforms/addID.d.ts +2 -2
- package/build/codegen/transforms/composeQueries.d.ts +4 -4
- package/build/codegen/transforms/fragmentVariables.d.ts +3 -2
- package/build/codegen/transforms/list.d.ts +2 -2
- package/build/codegen/transforms/paginate.d.ts +2 -2
- package/build/codegen/transforms/schema.d.ts +2 -2
- package/build/codegen/transforms/typename.d.ts +2 -2
- package/build/codegen/utils/flattenSelections.d.ts +1 -1
- package/build/codegen/validators/noIDAlias.d.ts +2 -2
- package/build/codegen/validators/plugins.d.ts +2 -2
- package/build/codegen/validators/typeCheck.d.ts +2 -2
- package/build/codegen/validators/uniqueNames.d.ts +2 -2
- package/build/codegen-cjs/index.js +4694 -2137
- package/build/codegen-esm/index.js +4682 -2125
- package/build/lib/config.d.ts +15 -96
- package/build/lib/deepMerge.d.ts +1 -0
- package/build/lib/graphql.d.ts +5 -2
- package/build/lib/index.d.ts +2 -0
- package/build/lib/path.d.ts +1 -1
- package/build/lib/pipeline.d.ts +1 -1
- package/build/lib/plugin.d.ts +2 -0
- package/build/lib/types.d.ts +257 -6
- package/build/lib/walk.d.ts +4 -1
- package/build/lib-cjs/index.js +4108 -928
- package/build/lib-esm/index.js +4078 -907
- package/build/runtime/cache/cache.d.ts +28 -11
- package/build/runtime/cache/lists.d.ts +1 -0
- package/build/runtime/cache/staleManager.d.ts +30 -0
- package/build/runtime/cache/storage.d.ts +23 -20
- package/build/runtime/cache/stuff.d.ts +0 -2
- package/build/runtime/cache/subscription.d.ts +2 -1
- package/build/runtime/client/documentStore.d.ts +20 -17
- package/build/runtime/client/index.d.ts +13 -11
- package/build/runtime/client/plugins/cache.d.ts +1 -1
- package/build/runtime/client/plugins/fetch.d.ts +1 -1
- package/build/runtime/client/plugins/fetchParams.d.ts +2 -2
- package/build/runtime/client/plugins/injectedPlugins.d.ts +2 -1
- package/build/runtime/client/plugins/mutation.d.ts +1 -1
- package/build/runtime/client/plugins/query.d.ts +1 -1
- package/build/runtime/client/plugins/subscription.d.ts +2 -3
- package/build/runtime/client/plugins/throwOnError.d.ts +1 -1
- package/build/runtime/client/utils/documentPlugins.d.ts +3 -3
- package/build/runtime/generated.d.ts +1 -0
- package/build/runtime/imports/pluginConfig.d.ts +3 -0
- package/build/runtime/index.d.ts +1 -1
- package/build/runtime/lib/config.d.ts +27 -24
- package/build/runtime/lib/flatten.d.ts +2 -0
- package/build/runtime/lib/index.d.ts +1 -0
- package/build/runtime/lib/key.d.ts +6 -0
- package/build/runtime/lib/scalars.d.ts +3 -3
- package/build/runtime/lib/types.d.ts +46 -46
- package/build/runtime/public/cache.d.ts +26 -6
- package/build/runtime/public/record.d.ts +26 -17
- package/build/runtime/public/tests/test.d.ts +52 -10
- package/build/runtime/public/types.d.ts +8 -0
- package/build/runtime-cjs/cache/cache.d.ts +28 -11
- package/build/runtime-cjs/cache/cache.js +97 -22
- package/build/runtime-cjs/cache/gc.js +9 -0
- package/build/runtime-cjs/cache/lists.d.ts +1 -0
- package/build/runtime-cjs/cache/lists.js +9 -6
- package/build/runtime-cjs/cache/staleManager.d.ts +30 -0
- package/build/runtime-cjs/cache/staleManager.js +95 -0
- package/build/runtime-cjs/cache/storage.d.ts +23 -20
- package/build/runtime-cjs/cache/storage.js +11 -13
- package/build/runtime-cjs/cache/stuff.d.ts +0 -2
- package/build/runtime-cjs/cache/stuff.js +2 -19
- package/build/runtime-cjs/cache/subscription.d.ts +2 -1
- package/build/runtime-cjs/cache/subscription.js +11 -7
- package/build/runtime-cjs/client/documentStore.d.ts +20 -17
- package/build/runtime-cjs/client/documentStore.js +12 -8
- package/build/runtime-cjs/client/index.d.ts +13 -11
- package/build/runtime-cjs/client/index.js +48 -19
- package/build/runtime-cjs/client/plugins/cache.d.ts +1 -1
- package/build/runtime-cjs/client/plugins/cache.js +10 -8
- package/build/runtime-cjs/client/plugins/fetch.d.ts +1 -1
- package/build/runtime-cjs/client/plugins/fetch.js +9 -8
- package/build/runtime-cjs/client/plugins/fetchParams.d.ts +2 -2
- package/build/runtime-cjs/client/plugins/fetchParams.js +9 -4
- package/build/runtime-cjs/client/plugins/injectedPlugins.d.ts +2 -1
- package/build/runtime-cjs/client/plugins/mutation.d.ts +1 -1
- package/build/runtime-cjs/client/plugins/mutation.js +3 -3
- package/build/runtime-cjs/client/plugins/query.d.ts +1 -1
- package/build/runtime-cjs/client/plugins/query.js +4 -4
- package/build/runtime-cjs/client/plugins/subscription.d.ts +2 -3
- package/build/runtime-cjs/client/plugins/subscription.js +5 -3
- package/build/runtime-cjs/client/plugins/throwOnError.d.ts +1 -1
- package/build/runtime-cjs/client/plugins/throwOnError.js +3 -3
- package/build/runtime-cjs/client/utils/documentPlugins.d.ts +3 -3
- package/build/runtime-cjs/generated.d.ts +1 -0
- package/build/runtime-cjs/imports/pluginConfig.d.ts +3 -0
- package/build/runtime-cjs/imports/pluginConfig.js +27 -0
- package/build/runtime-cjs/index.d.ts +1 -1
- package/build/runtime-cjs/lib/config.d.ts +27 -24
- package/build/runtime-cjs/lib/config.js +11 -1
- package/build/runtime-cjs/lib/flatten.d.ts +2 -0
- package/build/runtime-cjs/lib/flatten.js +41 -0
- package/build/runtime-cjs/lib/index.d.ts +1 -0
- package/build/runtime-cjs/lib/index.js +1 -0
- package/build/runtime-cjs/lib/key.d.ts +6 -0
- package/build/runtime-cjs/lib/key.js +41 -0
- package/build/runtime-cjs/lib/scalars.d.ts +3 -3
- package/build/runtime-cjs/lib/scalars.js +13 -2
- package/build/runtime-cjs/lib/types.d.ts +46 -46
- package/build/runtime-cjs/lib/types.js +26 -30
- package/build/runtime-cjs/public/cache.d.ts +26 -6
- package/build/runtime-cjs/public/cache.js +32 -32
- package/build/runtime-cjs/public/list.js +6 -28
- package/build/runtime-cjs/public/record.d.ts +26 -17
- package/build/runtime-cjs/public/record.js +27 -187
- package/build/runtime-cjs/public/tests/test.d.ts +52 -10
- package/build/runtime-cjs/public/tests/test.js +27 -2
- package/build/runtime-cjs/public/types.d.ts +8 -0
- package/build/runtime-esm/cache/cache.d.ts +28 -11
- package/build/runtime-esm/cache/cache.js +99 -24
- package/build/runtime-esm/cache/gc.js +9 -0
- package/build/runtime-esm/cache/lists.d.ts +1 -0
- package/build/runtime-esm/cache/lists.js +9 -6
- package/build/runtime-esm/cache/staleManager.d.ts +30 -0
- package/build/runtime-esm/cache/staleManager.js +71 -0
- package/build/runtime-esm/cache/storage.d.ts +23 -20
- package/build/runtime-esm/cache/storage.js +11 -13
- package/build/runtime-esm/cache/stuff.d.ts +0 -2
- package/build/runtime-esm/cache/stuff.js +1 -17
- package/build/runtime-esm/cache/subscription.d.ts +2 -1
- package/build/runtime-esm/cache/subscription.js +12 -8
- package/build/runtime-esm/client/documentStore.d.ts +20 -17
- package/build/runtime-esm/client/documentStore.js +13 -9
- package/build/runtime-esm/client/index.d.ts +13 -11
- package/build/runtime-esm/client/index.js +49 -21
- package/build/runtime-esm/client/plugins/cache.d.ts +1 -1
- package/build/runtime-esm/client/plugins/cache.js +9 -7
- package/build/runtime-esm/client/plugins/fetch.d.ts +1 -1
- package/build/runtime-esm/client/plugins/fetch.js +8 -7
- package/build/runtime-esm/client/plugins/fetchParams.d.ts +2 -2
- package/build/runtime-esm/client/plugins/fetchParams.js +8 -3
- package/build/runtime-esm/client/plugins/injectedPlugins.d.ts +2 -1
- package/build/runtime-esm/client/plugins/mutation.d.ts +1 -1
- package/build/runtime-esm/client/plugins/mutation.js +2 -2
- package/build/runtime-esm/client/plugins/query.d.ts +1 -1
- package/build/runtime-esm/client/plugins/query.js +3 -3
- package/build/runtime-esm/client/plugins/subscription.d.ts +2 -3
- package/build/runtime-esm/client/plugins/subscription.js +4 -2
- package/build/runtime-esm/client/plugins/throwOnError.d.ts +1 -1
- package/build/runtime-esm/client/plugins/throwOnError.js +2 -2
- package/build/runtime-esm/client/utils/documentPlugins.d.ts +3 -3
- package/build/runtime-esm/generated.d.ts +1 -0
- package/build/runtime-esm/imports/pluginConfig.d.ts +3 -0
- package/build/runtime-esm/imports/pluginConfig.js +5 -0
- package/build/runtime-esm/index.d.ts +1 -1
- package/build/runtime-esm/lib/config.d.ts +27 -24
- package/build/runtime-esm/lib/config.js +11 -1
- package/build/runtime-esm/lib/flatten.d.ts +2 -0
- package/build/runtime-esm/lib/flatten.js +17 -0
- package/build/runtime-esm/lib/index.d.ts +1 -0
- package/build/runtime-esm/lib/index.js +1 -0
- package/build/runtime-esm/lib/key.d.ts +6 -0
- package/build/runtime-esm/lib/key.js +17 -0
- package/build/runtime-esm/lib/scalars.d.ts +3 -3
- package/build/runtime-esm/lib/scalars.js +13 -2
- package/build/runtime-esm/lib/types.d.ts +46 -46
- package/build/runtime-esm/lib/types.js +26 -30
- package/build/runtime-esm/public/cache.d.ts +26 -6
- package/build/runtime-esm/public/cache.js +31 -30
- package/build/runtime-esm/public/list.js +6 -28
- package/build/runtime-esm/public/record.d.ts +26 -17
- package/build/runtime-esm/public/record.js +26 -183
- package/build/runtime-esm/public/tests/test.d.ts +52 -10
- package/build/runtime-esm/public/tests/test.js +26 -1
- package/build/runtime-esm/public/types.d.ts +8 -0
- package/build/test/index.d.ts +3 -3
- package/build/test-cjs/index.js +5007 -2465
- package/build/test-esm/index.js +4995 -2453
- package/build/vite/houdini.d.ts +2 -0
- package/build/vite-cjs/index.js +5344 -2744
- package/build/vite-esm/index.js +5319 -2719
- package/package.json +6 -5
- package/build/codegen/generators/typescript/imperativeCache.d.ts +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Config,
|
|
1
|
+
import type { Config, Document } from '../../../lib';
|
|
2
2
|
export default function artifactGenerator(stats: {
|
|
3
3
|
total: string[];
|
|
4
4
|
new: string[];
|
|
5
5
|
changed: string[];
|
|
6
6
|
deleted: string[];
|
|
7
|
-
}): (config: Config, docs:
|
|
7
|
+
}): (config: Config, docs: Document[]) => Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Config,
|
|
2
|
-
export default function writeIndexFile(config: Config, docs:
|
|
1
|
+
import type { Config, Document } from '../../../lib';
|
|
2
|
+
export default function writeIndexFile(config: Config, docs: Document[]): Promise<void>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as graphql from 'graphql';
|
|
2
|
-
import type { Config,
|
|
3
|
-
import type
|
|
4
|
-
export default function selection({ config, filepath, rootType, selections, operations, path, includeFragments, document,
|
|
2
|
+
import type { Config, Document } from '../../../lib';
|
|
3
|
+
import { type MutationOperation, type SubscriptionSelection } from '../../../runtime/lib/types';
|
|
4
|
+
export default function selection({ config, filepath, rootType, selections, operations, path, includeFragments, document, inConnection, }: {
|
|
5
5
|
config: Config;
|
|
6
6
|
filepath: string;
|
|
7
7
|
rootType: string;
|
|
@@ -11,6 +11,6 @@ export default function selection({ config, filepath, rootType, selections, oper
|
|
|
11
11
|
};
|
|
12
12
|
path?: string[];
|
|
13
13
|
includeFragments: boolean;
|
|
14
|
-
document:
|
|
15
|
-
|
|
14
|
+
document: Document;
|
|
15
|
+
inConnection?: boolean;
|
|
16
16
|
}): SubscriptionSelection;
|
|
@@ -2,7 +2,6 @@ import type { ExpressionKind } from 'ast-types/lib/gen/kinds';
|
|
|
2
2
|
import * as graphql from 'graphql';
|
|
3
3
|
import type { Config } from '../../../lib';
|
|
4
4
|
export declare function serializeValue(value: any): ExpressionKind;
|
|
5
|
-
export declare function deepMerge(filepath: string, ...targets: {}[]): {};
|
|
6
5
|
export declare function convertValue(config: Config, val: graphql.ValueNode): {
|
|
7
6
|
kind: string | undefined;
|
|
8
7
|
value: string | number | boolean | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Config,
|
|
2
|
-
export default function writeIndexFile(config: Config, docs:
|
|
1
|
+
import type { Config, Document } from '../../../lib';
|
|
2
|
+
export default function writeIndexFile(config: Config, docs: Document[]): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Config,
|
|
2
|
-
export default function persistOutputGenerator(config: Config, docs:
|
|
1
|
+
import type { Config, Document } from '../../../lib';
|
|
2
|
+
export default function persistOutputGenerator(config: Config, docs: Document[]): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type Config, type
|
|
2
|
-
export default function generateGraphqlReturnTypes(config: Config, docs:
|
|
1
|
+
import { type Config, type Document } from '../../../lib';
|
|
2
|
+
export default function generateGraphqlReturnTypes(config: Config, docs: Document[]): Promise<string | undefined>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Config,
|
|
2
|
-
export default function runtimeGenerator(config: Config, docs:
|
|
1
|
+
import type { Config, Document } from '../../../lib';
|
|
2
|
+
export default function runtimeGenerator(config: Config, docs: Document[]): Promise<void>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Config } from '../../../lib';
|
|
2
|
+
export declare function injectConfig({ config, content, importStatement, exportStatement, }: {
|
|
3
|
+
config: Config;
|
|
4
|
+
exportStatement: (as: string) => string;
|
|
5
|
+
importStatement: (where: string, as: string) => string;
|
|
6
|
+
content: string;
|
|
7
|
+
}): Promise<string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Config,
|
|
2
|
-
export default function typescriptGenerator(config: Config, docs:
|
|
1
|
+
import type { Config, Document } from '../../../lib';
|
|
2
|
+
export default function typescriptGenerator(config: Config, docs: Document[]): Promise<void>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import type { TSTypeKind } from 'ast-types/lib/gen/kinds';
|
|
1
|
+
import type { StatementKind, TSTypeKind } from 'ast-types/lib/gen/kinds';
|
|
2
2
|
import * as graphql from 'graphql';
|
|
3
|
+
import * as recast from 'recast';
|
|
3
4
|
import type { Config } from '../../../lib';
|
|
4
5
|
export declare function tsTypeReference(config: Config, missingScalars: Set<string>, definition: {
|
|
5
6
|
type: graphql.GraphQLScalarType | graphql.GraphQLInputType | graphql.GraphQLNamedType | graphql.TypeNode;
|
|
6
|
-
}): TSTypeKind;
|
|
7
|
+
}, body: StatementKind[]): TSTypeKind;
|
|
8
|
+
export declare function enumReference(config: Config, body: StatementKind[], name: string): recast.types.namedTypes.TSTypeReference;
|
|
@@ -5,4 +5,3 @@ import type { Config } from '../../../lib';
|
|
|
5
5
|
export declare function readonlyProperty(prop: recast.types.namedTypes.TSPropertySignature, enable?: boolean): recast.types.namedTypes.TSPropertySignature;
|
|
6
6
|
export declare function nullableField(inner: TSTypeKind, input?: boolean): recast.types.namedTypes.TSUnionType;
|
|
7
7
|
export declare function scalarPropertyValue(config: Config, missingScalars: Set<string>, target: graphql.GraphQLNamedType): TSTypeKind;
|
|
8
|
-
export declare function enumDeclaration(type: graphql.GraphQLEnumType): recast.types.namedTypes.TSEnumDeclaration;
|
package/build/codegen/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Config,
|
|
1
|
+
import type { Config, Document } from '../lib';
|
|
2
2
|
export default function compile(config: Config): Promise<void>;
|
|
3
|
-
export declare function runPipeline(config: Config, docs:
|
|
3
|
+
export declare function runPipeline(config: Config, docs: Document[]): Promise<void>;
|
|
4
4
|
export type DiscoveredDoc = {
|
|
5
5
|
filepath: string;
|
|
6
6
|
document: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Config,
|
|
2
|
-
export default function addID(config: Config, documents:
|
|
1
|
+
import type { Config, Document } from '../../lib';
|
|
2
|
+
export default function addID(config: Config, documents: Document[]): Promise<void>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type graphql from 'graphql';
|
|
2
|
-
import type { Config,
|
|
2
|
+
import type { Config, Document } from '../../lib';
|
|
3
3
|
export type FragmentDependency = {
|
|
4
4
|
definition: graphql.FragmentDefinitionNode;
|
|
5
5
|
requiredFragments: string[];
|
|
6
|
-
document:
|
|
6
|
+
document: Document;
|
|
7
7
|
};
|
|
8
|
-
export default function includeFragmentDefinitions(config: Config, documents:
|
|
9
|
-
export declare function collectFragments(config: Config, docs:
|
|
8
|
+
export default function includeFragmentDefinitions(config: Config, documents: Document[]): Promise<void>;
|
|
9
|
+
export declare function collectFragments(config: Config, docs: Document[]): Record<string, FragmentDependency>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as graphql from 'graphql';
|
|
2
|
-
import type { Config,
|
|
2
|
+
import type { Config, Document } from '../../lib';
|
|
3
3
|
import type { FragmentDependency } from './composeQueries';
|
|
4
|
-
export default function fragmentVariables(config: Config, documents:
|
|
4
|
+
export default function fragmentVariables(config: Config, documents: Document[]): Promise<void>;
|
|
5
5
|
type ValueMap = Record<string, graphql.ValueNode>;
|
|
6
6
|
export declare function inlineFragmentArgs({ config, filepath, fragmentDefinitions, document, generatedFragments, visitedFragments, scope, newName, }: {
|
|
7
7
|
config: Config;
|
|
@@ -25,4 +25,5 @@ export declare function collectWithArguments(config: Config, filepath: string, n
|
|
|
25
25
|
args: ValueMap | null;
|
|
26
26
|
hash: string;
|
|
27
27
|
};
|
|
28
|
+
export declare function fragmentArgumentsDefinitions(config: Config, filepath: string, definition: graphql.FragmentDefinitionNode): graphql.VariableDefinitionNode[];
|
|
28
29
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as graphql from 'graphql';
|
|
2
|
-
import type { Config,
|
|
3
|
-
export default function addListFragments(config: Config, documents:
|
|
2
|
+
import type { Config, Document } from '../../lib';
|
|
3
|
+
export default function addListFragments(config: Config, documents: Document[]): Promise<void>;
|
|
4
4
|
export declare function connectionSelection(config: Config, field: graphql.GraphQLField<any, any>, type: graphql.GraphQLObjectType, selection: graphql.SelectionSetNode | undefined): {
|
|
5
5
|
selection: graphql.SelectionSetNode | undefined;
|
|
6
6
|
type: graphql.GraphQLObjectType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Config,
|
|
2
|
-
export default function paginate(config: Config, documents:
|
|
1
|
+
import type { Config, Document } from '../../lib';
|
|
2
|
+
export default function paginate(config: Config, documents: Document[]): Promise<void>;
|
|
3
3
|
export declare const pageInfoSelection: {
|
|
4
4
|
kind: "Field";
|
|
5
5
|
name: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Config,
|
|
2
|
-
export default function graphqlExtensions(config: Config, documents:
|
|
1
|
+
import type { Config, Document } from '../../lib';
|
|
2
|
+
export default function graphqlExtensions(config: Config, documents: Document[]): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Config,
|
|
2
|
-
export default function addTypename(config: Config, documents:
|
|
1
|
+
import type { Config, Document } from '../../lib';
|
|
2
|
+
export default function addTypename(config: Config, documents: Document[]): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type graphql from 'graphql';
|
|
2
2
|
import type { Config } from '../../lib';
|
|
3
3
|
export declare function flattenSelections({ config, filepath, selections, fragmentDefinitions, applyFragments, ignoreMaskDisable, }: {
|
|
4
4
|
config: Config;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Config,
|
|
2
|
-
export default function noIDAlias(config: Config, docs:
|
|
1
|
+
import type { Config, Document } from '../../lib';
|
|
2
|
+
export default function noIDAlias(config: Config, docs: Document[]): Promise<void>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Config } from '../../lib/config';
|
|
2
|
-
import type {
|
|
3
|
-
export default function validatePlugins(config: Config, documents:
|
|
2
|
+
import type { Document } from '../../lib/types';
|
|
3
|
+
export default function validatePlugins(config: Config, documents: Document[]): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as graphql from 'graphql';
|
|
2
|
-
import type { Config,
|
|
3
|
-
export default function typeCheck(config: Config, docs:
|
|
2
|
+
import type { Config, Document } from '../../lib';
|
|
3
|
+
export default function typeCheck(config: Config, docs: Document[]): Promise<void>;
|
|
4
4
|
export declare function getAndVerifyNodeInterface(config: Config): graphql.GraphQLInterfaceType | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Config,
|
|
2
|
-
export default function uniqueDocumentNames(config: Config, docs:
|
|
1
|
+
import type { Config, Document } from '../../lib';
|
|
2
|
+
export default function uniqueDocumentNames(config: Config, docs: Document[]): Promise<void>;
|