houdini 1.4.0 → 1.4.2
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/cmd-cjs/index.js +19080 -15237
- package/build/cmd-esm/index.js +19122 -15279
- package/build/codegen/transforms/addFields.d.ts +2 -0
- package/build/codegen/transforms/index.d.ts +1 -1
- package/build/codegen/transforms/paginate.d.ts +1 -1
- package/build/codegen-cjs/index.js +13151 -9312
- package/build/codegen-esm/index.js +15779 -11940
- package/build/lib/fs.d.ts +1 -2
- package/build/lib/graphql.d.ts +2 -2
- package/build/lib/router/server.d.ts +1 -1
- package/build/lib-cjs/index.js +8497 -4665
- package/build/lib-esm/index.js +8490 -4658
- package/build/runtime/cache/cache.d.ts +1 -1
- package/build/runtime/cache/lists.d.ts +3 -1
- package/build/runtime/router/types.d.ts +1 -1
- package/build/runtime-cjs/cache/cache.d.ts +1 -1
- package/build/runtime-cjs/cache/cache.js +31 -5
- package/build/runtime-cjs/cache/lists.d.ts +3 -1
- package/build/runtime-cjs/cache/lists.js +15 -1
- package/build/runtime-cjs/client/plugins/fetch.js +1 -1
- package/build/runtime-cjs/router/match.js +1 -1
- package/build/runtime-cjs/router/types.d.ts +1 -1
- package/build/runtime-esm/cache/cache.d.ts +1 -1
- package/build/runtime-esm/cache/cache.js +31 -5
- package/build/runtime-esm/cache/lists.d.ts +3 -1
- package/build/runtime-esm/cache/lists.js +15 -1
- package/build/runtime-esm/client/plugins/fetch.js +1 -1
- package/build/runtime-esm/router/match.js +1 -1
- package/build/runtime-esm/router/types.d.ts +1 -1
- package/build/test-cjs/index.js +12552 -8713
- package/build/test-esm/index.js +17371 -13532
- package/build/vite/ast.d.ts +8 -2
- package/build/vite-cjs/index.js +16944 -13090
- package/build/vite-esm/index.js +20040 -16186
- package/package.json +7 -4
- package/build/codegen/transforms/addID.d.ts +0 -2
package/build/lib/fs.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
/// <reference types="node" />
|
|
3
|
-
/// <reference types="glob" />
|
|
4
3
|
import fsExtra from 'fs-extra';
|
|
5
4
|
import type { Dirent } from 'node:fs';
|
|
6
5
|
export declare function copyFileSync(src: string, dest: string): void | null;
|
|
@@ -30,6 +29,6 @@ export declare function snapshot(base?: string): {
|
|
|
30
29
|
};
|
|
31
30
|
export declare function glob(pattern: string): Promise<string[]>;
|
|
32
31
|
export declare namespace glob {
|
|
33
|
-
var hasMagic:
|
|
32
|
+
var hasMagic: (pattern: string | string[], options?: import("glob").GlobOptions | undefined) => boolean;
|
|
34
33
|
}
|
|
35
34
|
export {};
|
package/build/lib/graphql.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ type GraphQLParentType = graphql.GraphQLObjectType | graphql.GraphQLInputObjectT
|
|
|
17
17
|
export declare function parentField(ancestors: readonly any[]): graphql.FieldNode | graphql.InlineFragmentNode | graphql.OperationDefinitionNode | graphql.FragmentDefinitionNode | null;
|
|
18
18
|
export declare function parentTypeFromAncestors(schema: graphql.GraphQLSchema, filepath: string, ancestors: readonly any[]): GraphQLParentType;
|
|
19
19
|
export declare function definitionFromAncestors(ancestors: readonly any[]): {
|
|
20
|
-
parents: (graphql.
|
|
21
|
-
definition: graphql.
|
|
20
|
+
parents: (graphql.FieldNode | graphql.InlineFragmentNode | graphql.FragmentDefinitionNode | graphql.SelectionSetNode | graphql.OperationDefinitionNode)[];
|
|
21
|
+
definition: graphql.FragmentDefinitionNode | graphql.OperationDefinitionNode;
|
|
22
22
|
};
|
|
23
23
|
export declare function formatErrors(e: unknown, afterError?: (e: Error) => void): void;
|
|
24
24
|
export declare function operation_requires_variables(operation: graphql.OperationDefinitionNode): boolean;
|