houdini 2.0.0-next.1 → 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.
Files changed (54) hide show
  1. package/build/adapter/index.d.ts +1 -1
  2. package/build/cmd-cjs/index.js +10068 -10551
  3. package/build/cmd-esm/index.js +10065 -10548
  4. package/build/codegen/generators/typescript/addReferencedInputTypes.d.ts +1 -1
  5. package/build/codegen/generators/typescript/inlineType.d.ts +2 -1
  6. package/build/codegen-cjs/index.js +9887 -10448
  7. package/build/codegen-esm/index.js +9884 -10445
  8. package/build/lib/fs.d.ts +2 -2
  9. package/build/lib/types.d.ts +3 -3
  10. package/build/lib/typescript.d.ts +3 -3
  11. package/build/lib-cjs/index.js +9394 -10158
  12. package/build/lib-esm/index.js +9394 -10158
  13. package/build/runtime/lib/types.d.ts +2 -2
  14. package/build/runtime/public/cache.d.ts +0 -1
  15. package/build/runtime/router/cookies.d.ts +9 -9
  16. package/build/runtime/router/server.d.ts +6 -6
  17. package/build/runtime/router/session.d.ts +1 -0
  18. package/build/runtime/server/index.d.ts +17 -0
  19. package/build/runtime-cjs/cache/cache.js +36 -29
  20. package/build/runtime-cjs/client/documentStore.js +2 -2
  21. package/build/runtime-cjs/client/index.js +1 -1
  22. package/build/runtime-cjs/client/plugins/test.js +2 -2
  23. package/build/runtime-cjs/lib/types.d.ts +2 -2
  24. package/build/runtime-cjs/public/cache.d.ts +0 -1
  25. package/build/runtime-cjs/public/cache.js +0 -14
  26. package/build/runtime-cjs/router/cookies.d.ts +9 -9
  27. package/build/runtime-cjs/router/cookies.js +1 -1
  28. package/build/runtime-cjs/router/server.d.ts +6 -6
  29. package/build/runtime-cjs/router/server.js +32 -17
  30. package/build/runtime-cjs/router/session.d.ts +1 -0
  31. package/build/runtime-cjs/router/session.js +7 -2
  32. package/build/runtime-cjs/server/index.d.ts +17 -0
  33. package/build/runtime-cjs/server/index.js +62 -0
  34. package/build/runtime-esm/cache/cache.js +36 -29
  35. package/build/runtime-esm/client/documentStore.js +2 -2
  36. package/build/runtime-esm/client/index.js +1 -1
  37. package/build/runtime-esm/client/plugins/test.js +2 -2
  38. package/build/runtime-esm/lib/types.d.ts +2 -2
  39. package/build/runtime-esm/public/cache.d.ts +0 -1
  40. package/build/runtime-esm/public/cache.js +0 -14
  41. package/build/runtime-esm/router/cookies.d.ts +9 -9
  42. package/build/runtime-esm/router/cookies.js +1 -1
  43. package/build/runtime-esm/router/server.d.ts +6 -6
  44. package/build/runtime-esm/router/server.js +36 -21
  45. package/build/runtime-esm/router/session.d.ts +1 -0
  46. package/build/runtime-esm/router/session.js +5 -1
  47. package/build/runtime-esm/server/index.d.ts +17 -0
  48. package/build/runtime-esm/server/index.js +38 -0
  49. package/build/test-cjs/index.js +9885 -10447
  50. package/build/test-esm/index.js +9882 -10444
  51. package/build/vite/hmr.d.ts +0 -2
  52. package/build/vite-cjs/index.js +9804 -10365
  53. package/build/vite-esm/index.js +9801 -10362
  54. package/package.json +4 -4
@@ -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): {