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.
Files changed (60) hide show
  1. package/build/adapter/index.d.ts +1 -1
  2. package/build/cmd-cjs/index.js +9970 -10376
  3. package/build/cmd-esm/index.js +9967 -10373
  4. package/build/codegen/generators/runtime/pluginRuntime.d.ts +3 -0
  5. package/build/codegen/generators/typescript/addReferencedInputTypes.d.ts +1 -1
  6. package/build/codegen/generators/typescript/inlineType.d.ts +2 -1
  7. package/build/codegen-cjs/index.js +9871 -10382
  8. package/build/codegen-esm/index.js +9926 -10437
  9. package/build/lib/config.d.ts +3 -0
  10. package/build/lib/fs.d.ts +2 -2
  11. package/build/lib/introspection.d.ts +1 -1
  12. package/build/lib/types.d.ts +3 -3
  13. package/build/lib/typescript.d.ts +3 -3
  14. package/build/lib-cjs/index.js +9440 -10174
  15. package/build/lib-esm/index.js +9440 -10174
  16. package/build/runtime/lib/config.d.ts +7 -0
  17. package/build/runtime/lib/types.d.ts +2 -2
  18. package/build/runtime/public/cache.d.ts +0 -1
  19. package/build/runtime/router/cookies.d.ts +9 -9
  20. package/build/runtime/router/server.d.ts +6 -6
  21. package/build/runtime/router/session.d.ts +1 -0
  22. package/build/runtime/server/index.d.ts +17 -0
  23. package/build/runtime-cjs/cache/cache.js +36 -29
  24. package/build/runtime-cjs/client/documentStore.js +2 -2
  25. package/build/runtime-cjs/client/index.js +1 -1
  26. package/build/runtime-cjs/client/plugins/test.js +2 -2
  27. package/build/runtime-cjs/lib/config.d.ts +7 -0
  28. package/build/runtime-cjs/lib/types.d.ts +2 -2
  29. package/build/runtime-cjs/public/cache.d.ts +0 -1
  30. package/build/runtime-cjs/public/cache.js +0 -14
  31. package/build/runtime-cjs/router/cookies.d.ts +9 -9
  32. package/build/runtime-cjs/router/cookies.js +1 -1
  33. package/build/runtime-cjs/router/server.d.ts +6 -6
  34. package/build/runtime-cjs/router/server.js +32 -17
  35. package/build/runtime-cjs/router/session.d.ts +1 -0
  36. package/build/runtime-cjs/router/session.js +7 -2
  37. package/build/runtime-cjs/server/index.d.ts +17 -0
  38. package/build/runtime-cjs/server/index.js +62 -0
  39. package/build/runtime-esm/cache/cache.js +36 -29
  40. package/build/runtime-esm/client/documentStore.js +2 -2
  41. package/build/runtime-esm/client/index.js +1 -1
  42. package/build/runtime-esm/client/plugins/test.js +2 -2
  43. package/build/runtime-esm/lib/config.d.ts +7 -0
  44. package/build/runtime-esm/lib/types.d.ts +2 -2
  45. package/build/runtime-esm/public/cache.d.ts +0 -1
  46. package/build/runtime-esm/public/cache.js +0 -14
  47. package/build/runtime-esm/router/cookies.d.ts +9 -9
  48. package/build/runtime-esm/router/cookies.js +1 -1
  49. package/build/runtime-esm/router/server.d.ts +6 -6
  50. package/build/runtime-esm/router/server.js +36 -21
  51. package/build/runtime-esm/router/session.d.ts +1 -0
  52. package/build/runtime-esm/router/session.js +5 -1
  53. package/build/runtime-esm/server/index.d.ts +17 -0
  54. package/build/runtime-esm/server/index.js +38 -0
  55. package/build/test-cjs/index.js +9913 -10450
  56. package/build/test-esm/index.js +9910 -10447
  57. package/build/vite/hmr.d.ts +0 -2
  58. package/build/vite-cjs/index.js +9896 -10376
  59. package/build/vite-esm/index.js +9893 -10373
  60. 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): {