houdini 1.2.10 → 1.2.12

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 (59) hide show
  1. package/build/cmd-cjs/index.js +1539 -16157
  2. package/build/cmd-esm/index.js +1541 -16159
  3. package/build/codegen/transforms/collectDefinitions.d.ts +1 -1
  4. package/build/codegen/utils/flattenSelections.d.ts +1 -1
  5. package/build/codegen-cjs/index.js +301 -14970
  6. package/build/codegen-esm/index.js +305 -14974
  7. package/build/lib/config.d.ts +4 -0
  8. package/build/lib/index.d.ts +1 -1
  9. package/build/lib/types.d.ts +2 -2
  10. package/build/lib-cjs/index.js +1600 -15892
  11. package/build/lib-esm/index.js +1596 -15894
  12. package/build/{lib/router → router}/conventions.d.ts +2 -1
  13. package/build/{lib/router → router}/index.d.ts +2 -0
  14. package/build/router/manifest.d.ts +12 -0
  15. package/build/router/server.d.ts +4 -0
  16. package/build/{lib/router → router}/types.d.ts +3 -2
  17. package/build/router-cjs/index.js +57736 -0
  18. package/build/router-cjs/package.json +1 -0
  19. package/build/router-esm/index.js +57726 -0
  20. package/build/router-esm/package.json +1 -0
  21. package/build/runtime/client/documentStore.d.ts +1 -0
  22. package/build/runtime/client/index.d.ts +14 -2
  23. package/build/runtime/lib/config.d.ts +19 -0
  24. package/build/runtime/lib/types.d.ts +39 -0
  25. package/build/runtime/router/cookies.d.ts +41 -0
  26. package/build/runtime/router/jwt.d.ts +117 -0
  27. package/build/runtime/router/server.d.ts +25 -0
  28. package/build/runtime-cjs/client/documentStore.d.ts +1 -0
  29. package/build/runtime-cjs/client/documentStore.js +42 -2
  30. package/build/runtime-cjs/client/index.d.ts +14 -2
  31. package/build/runtime-cjs/client/index.js +8 -2
  32. package/build/runtime-cjs/lib/config.d.ts +19 -0
  33. package/build/runtime-cjs/lib/config.js +10 -0
  34. package/build/runtime-cjs/lib/types.d.ts +39 -0
  35. package/build/runtime-cjs/router/cookies.d.ts +41 -0
  36. package/build/runtime-cjs/router/cookies.js +168 -0
  37. package/build/runtime-cjs/router/jwt.d.ts +117 -0
  38. package/build/runtime-cjs/router/jwt.js +181 -0
  39. package/build/runtime-cjs/router/server.d.ts +25 -0
  40. package/build/runtime-cjs/router/server.js +78 -0
  41. package/build/runtime-esm/client/documentStore.d.ts +1 -0
  42. package/build/runtime-esm/client/documentStore.js +42 -2
  43. package/build/runtime-esm/client/index.d.ts +14 -2
  44. package/build/runtime-esm/client/index.js +8 -2
  45. package/build/runtime-esm/lib/config.d.ts +19 -0
  46. package/build/runtime-esm/lib/config.js +8 -0
  47. package/build/runtime-esm/lib/types.d.ts +39 -0
  48. package/build/runtime-esm/router/cookies.d.ts +41 -0
  49. package/build/runtime-esm/router/cookies.js +143 -0
  50. package/build/runtime-esm/router/jwt.d.ts +117 -0
  51. package/build/runtime-esm/router/jwt.js +155 -0
  52. package/build/runtime-esm/router/server.d.ts +25 -0
  53. package/build/runtime-esm/router/server.js +53 -0
  54. package/build/test-cjs/index.js +324 -14973
  55. package/build/test-esm/index.js +328 -14977
  56. package/build/vite-cjs/index.js +1826 -16184
  57. package/build/vite-esm/index.js +1828 -16186
  58. package/package.json +10 -1
  59. package/build/lib/router/manifest.d.ts +0 -45
@@ -9,6 +9,7 @@ export declare class Config {
9
9
  #private;
10
10
  filepath: string;
11
11
  rootDir: string;
12
+ localSchema: boolean;
12
13
  projectRoot: string;
13
14
  schema: graphql.GraphQLSchema;
14
15
  schemaPath?: string;
@@ -50,6 +51,9 @@ export declare class Config {
50
51
  get newSchema(): string;
51
52
  get artifactDirectory(): string;
52
53
  get artifactDirectoryName(): string;
54
+ get sourceDir(): string;
55
+ get localApiDir(): string;
56
+ get localAPIUrl(): string;
53
57
  get artifactTypeDirectory(): string;
54
58
  get runtimeDirectory(): string;
55
59
  get definitionsDirectory(): string;
@@ -16,5 +16,5 @@ export * from './walk';
16
16
  export type { EmbeddedGraphqlDocument } from './walk';
17
17
  export * as fs from './fs';
18
18
  export * as path from './path';
19
- export * from './router';
19
+ export * from '../router';
20
20
  export { Cache } from '../runtime/cache/cache';
@@ -1,12 +1,12 @@
1
- import type graphql from 'graphql';
1
+ import type * as graphql from 'graphql';
2
2
  import type * as recast from 'recast';
3
3
  import type { CustomPluginOptions, InputOptions, LoadResult, MinimalPluginContext, NormalizedInputOptions, NullValue, ObjectHook, PluginContext, ResolveIdResult, SourceMapInput } from 'rollup';
4
4
  import type { ConfigEnv, ResolvedConfig, UserConfig, ViteDevServer } from 'vite';
5
+ import type { Adapter } from '../router';
5
6
  import type { ConfigFile } from '../runtime/lib/config';
6
7
  import type { ArtifactKinds, BaseCompiledDocument, DocumentArtifact, ValueOf } from '../runtime/lib/types';
7
8
  import type { TransformPage } from '../vite/houdini';
8
9
  import type { Config } from './config';
9
- import type { Adapter } from './router';
10
10
  type Program = recast.types.namedTypes.Program;
11
11
  export type Maybe<T> = T | null | undefined;
12
12
  export type Script = Program;