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.
Files changed (36) hide show
  1. package/build/cmd-cjs/index.js +19080 -15237
  2. package/build/cmd-esm/index.js +19122 -15279
  3. package/build/codegen/transforms/addFields.d.ts +2 -0
  4. package/build/codegen/transforms/index.d.ts +1 -1
  5. package/build/codegen/transforms/paginate.d.ts +1 -1
  6. package/build/codegen-cjs/index.js +13151 -9312
  7. package/build/codegen-esm/index.js +15779 -11940
  8. package/build/lib/fs.d.ts +1 -2
  9. package/build/lib/graphql.d.ts +2 -2
  10. package/build/lib/router/server.d.ts +1 -1
  11. package/build/lib-cjs/index.js +8497 -4665
  12. package/build/lib-esm/index.js +8490 -4658
  13. package/build/runtime/cache/cache.d.ts +1 -1
  14. package/build/runtime/cache/lists.d.ts +3 -1
  15. package/build/runtime/router/types.d.ts +1 -1
  16. package/build/runtime-cjs/cache/cache.d.ts +1 -1
  17. package/build/runtime-cjs/cache/cache.js +31 -5
  18. package/build/runtime-cjs/cache/lists.d.ts +3 -1
  19. package/build/runtime-cjs/cache/lists.js +15 -1
  20. package/build/runtime-cjs/client/plugins/fetch.js +1 -1
  21. package/build/runtime-cjs/router/match.js +1 -1
  22. package/build/runtime-cjs/router/types.d.ts +1 -1
  23. package/build/runtime-esm/cache/cache.d.ts +1 -1
  24. package/build/runtime-esm/cache/cache.js +31 -5
  25. package/build/runtime-esm/cache/lists.d.ts +3 -1
  26. package/build/runtime-esm/cache/lists.js +15 -1
  27. package/build/runtime-esm/client/plugins/fetch.js +1 -1
  28. package/build/runtime-esm/router/match.js +1 -1
  29. package/build/runtime-esm/router/types.d.ts +1 -1
  30. package/build/test-cjs/index.js +12552 -8713
  31. package/build/test-esm/index.js +17371 -13532
  32. package/build/vite/ast.d.ts +8 -2
  33. package/build/vite-cjs/index.js +16944 -13090
  34. package/build/vite-esm/index.js +20040 -16186
  35. package/package.json +7 -4
  36. 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: typeof import("glob").hasMagic;
32
+ var hasMagic: (pattern: string | string[], options?: import("glob").GlobOptions | undefined) => boolean;
34
33
  }
35
34
  export {};
@@ -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.OperationDefinitionNode | graphql.FragmentDefinitionNode | graphql.SelectionSetNode | graphql.FieldNode | graphql.InlineFragmentNode)[];
21
- definition: graphql.OperationDefinitionNode | graphql.FragmentDefinitionNode;
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;
@@ -1,4 +1,4 @@
1
- import type * as graphql from 'graphql';
1
+ import * as graphql from 'graphql';
2
2
  import type { Config } from '../config';
3
3
  import { type ConfigFile } from '../types';
4
4
  export declare function isSecondaryBuild(): boolean | "" | undefined;