houdini 2.0.0-next.0 → 2.0.0-next.10
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/build/adapter/index.d.ts +1 -1
- package/build/cmd-cjs/index.js +9970 -10376
- package/build/cmd-esm/index.js +9967 -10373
- package/build/codegen/generators/runtime/pluginRuntime.d.ts +3 -0
- package/build/codegen/generators/typescript/addReferencedInputTypes.d.ts +1 -1
- package/build/codegen/generators/typescript/inlineType.d.ts +2 -1
- package/build/codegen-cjs/index.js +9871 -10382
- package/build/codegen-esm/index.js +9926 -10437
- package/build/lib/config.d.ts +3 -0
- package/build/lib/fs.d.ts +2 -2
- package/build/lib/introspection.d.ts +1 -1
- package/build/lib/types.d.ts +3 -3
- package/build/lib/typescript.d.ts +3 -3
- package/build/lib-cjs/index.js +9440 -10174
- package/build/lib-esm/index.js +9440 -10174
- package/build/runtime/lib/config.d.ts +7 -0
- package/build/runtime/lib/types.d.ts +2 -2
- package/build/runtime/public/cache.d.ts +0 -1
- package/build/runtime/router/cookies.d.ts +9 -9
- package/build/runtime/router/server.d.ts +6 -6
- package/build/runtime/router/session.d.ts +1 -0
- package/build/runtime/server/index.d.ts +17 -0
- package/build/runtime-cjs/cache/cache.js +36 -29
- package/build/runtime-cjs/client/documentStore.js +2 -2
- package/build/runtime-cjs/client/index.js +1 -1
- package/build/runtime-cjs/client/plugins/test.js +2 -2
- package/build/runtime-cjs/lib/config.d.ts +7 -0
- package/build/runtime-cjs/lib/types.d.ts +2 -2
- package/build/runtime-cjs/public/cache.d.ts +0 -1
- package/build/runtime-cjs/public/cache.js +0 -14
- package/build/runtime-cjs/router/cookies.d.ts +9 -9
- package/build/runtime-cjs/router/cookies.js +1 -1
- package/build/runtime-cjs/router/server.d.ts +6 -6
- package/build/runtime-cjs/router/server.js +32 -17
- package/build/runtime-cjs/router/session.d.ts +1 -0
- package/build/runtime-cjs/router/session.js +7 -2
- package/build/runtime-cjs/server/index.d.ts +17 -0
- package/build/runtime-cjs/server/index.js +62 -0
- package/build/runtime-esm/cache/cache.js +36 -29
- package/build/runtime-esm/client/documentStore.js +2 -2
- package/build/runtime-esm/client/index.js +1 -1
- package/build/runtime-esm/client/plugins/test.js +2 -2
- package/build/runtime-esm/lib/config.d.ts +7 -0
- package/build/runtime-esm/lib/types.d.ts +2 -2
- package/build/runtime-esm/public/cache.d.ts +0 -1
- package/build/runtime-esm/public/cache.js +0 -14
- package/build/runtime-esm/router/cookies.d.ts +9 -9
- package/build/runtime-esm/router/cookies.js +1 -1
- package/build/runtime-esm/router/server.d.ts +6 -6
- package/build/runtime-esm/router/server.js +36 -21
- package/build/runtime-esm/router/session.d.ts +1 -0
- package/build/runtime-esm/router/session.js +5 -1
- package/build/runtime-esm/server/index.d.ts +17 -0
- package/build/runtime-esm/server/index.js +38 -0
- package/build/test-cjs/index.js +9913 -10450
- package/build/test-esm/index.js +9910 -10447
- package/build/vite/hmr.d.ts +0 -2
- package/build/vite-cjs/index.js +9896 -10376
- package/build/vite-esm/index.js +9893 -10373
- package/package.json +4 -4
|
@@ -6,6 +6,9 @@ export declare function moduleStatments(config: Config): {
|
|
|
6
6
|
exportDefaultStatement: typeof exportDefault;
|
|
7
7
|
exportStarStatement: typeof exportStarFrom;
|
|
8
8
|
};
|
|
9
|
+
export declare function generateStaticRuntimes({ config }: {
|
|
10
|
+
config: Config;
|
|
11
|
+
}): Promise<void>;
|
|
9
12
|
export declare function generatePluginRuntimes({ config, docs, }: {
|
|
10
13
|
config: Config;
|
|
11
14
|
docs: Document[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { StatementKind } from 'ast-types/lib/gen/kinds';
|
|
2
2
|
import * as graphql from 'graphql';
|
|
3
3
|
import type { Config } from '../../../lib';
|
|
4
|
-
export declare function addReferencedInputTypes(config: Config, filepath: string, body: StatementKind[], visitedTypes: Set<string>, missingScalars: Set<string>, rootType: graphql.TypeNode | graphql.GraphQLInputType): void;
|
|
4
|
+
export declare function addReferencedInputTypes(config: Config, filepath: string, body: StatementKind[], visitedTypes: Set<string>, missingScalars: Set<string>, rootType: graphql.TypeNode | graphql.GraphQLInputType, input: boolean): void;
|
|
@@ -3,7 +3,7 @@ import * as graphql from 'graphql';
|
|
|
3
3
|
import type { Config } from '../../../lib';
|
|
4
4
|
import { TypeWrapper } from '../../../lib';
|
|
5
5
|
export declare const fragmentKey: " $fragments";
|
|
6
|
-
export declare function inlineType({ config, filepath, rootType, selections, root, allowReadonly, body, visitedTypes, missingScalars, includeFragments, allOptional, forceNonNull, field, }: {
|
|
6
|
+
export declare function inlineType({ config, filepath, rootType, selections, root, allowReadonly, body, visitedTypes, missingScalars, includeFragments, allOptional, forceNonNull, field, input, }: {
|
|
7
7
|
config: Config;
|
|
8
8
|
filepath: string;
|
|
9
9
|
rootType: graphql.GraphQLNamedType;
|
|
@@ -20,6 +20,7 @@ export declare function inlineType({ config, filepath, rootType, selections, roo
|
|
|
20
20
|
} | null;
|
|
21
21
|
allOptional?: boolean;
|
|
22
22
|
forceNonNull?: boolean;
|
|
23
|
+
input: boolean;
|
|
23
24
|
}): TSTypeKind;
|
|
24
25
|
export declare function wrapType(wrappers: TypeWrapper[], result: TSTypeKind, root: boolean, forceNullable?: boolean, forceNonNull?: boolean): TSTypeKind;
|
|
25
26
|
export declare function selectionTypeInfo(schema: graphql.GraphQLSchema, filepath: string, rootType: graphql.GraphQLObjectType<any, any>, selection: graphql.SelectionNode): {
|