houdini-svelte 1.0.0-next.5 → 1.0.0-next.7

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 (52) hide show
  1. package/build/plugin/artifactData.d.ts +2 -2
  2. package/build/plugin/codegen/stores/fragment.d.ts +2 -2
  3. package/build/plugin/codegen/stores/mutation.d.ts +2 -2
  4. package/build/plugin/codegen/stores/query.d.ts +2 -2
  5. package/build/plugin/codegen/stores/subscription.d.ts +2 -2
  6. package/build/plugin/kit.d.ts +1 -1
  7. package/build/plugin/naming.d.ts +1 -1
  8. package/build/plugin/validate.d.ts +2 -2
  9. package/build/plugin-cjs/index.js +760 -762
  10. package/build/plugin-esm/index.js +760 -762
  11. package/build/preprocess-cjs/index.js +718 -718
  12. package/build/preprocess-esm/index.js +718 -718
  13. package/build/runtime/client.d.ts +3 -1
  14. package/build/runtime/stores/base.d.ts +8 -0
  15. package/build/runtime/stores/mutation.d.ts +2 -6
  16. package/build/runtime/stores/pagination/query.d.ts +1 -2
  17. package/build/runtime/stores/query.d.ts +3 -4
  18. package/build/runtime/stores/subscription.d.ts +2 -3
  19. package/build/runtime-cjs/client.d.ts +3 -1
  20. package/build/runtime-cjs/client.js +16 -4
  21. package/build/runtime-cjs/stores/base.d.ts +8 -0
  22. package/build/runtime-cjs/{imports/client.js → stores/base.js} +25 -7
  23. package/build/runtime-cjs/stores/mutation.d.ts +2 -6
  24. package/build/runtime-cjs/stores/mutation.js +5 -9
  25. package/build/runtime-cjs/stores/pagination/fragment.js +3 -1
  26. package/build/runtime-cjs/stores/pagination/query.d.ts +1 -2
  27. package/build/runtime-cjs/stores/pagination/query.js +23 -12
  28. package/build/runtime-cjs/stores/query.d.ts +3 -4
  29. package/build/runtime-cjs/stores/query.js +27 -10
  30. package/build/runtime-cjs/stores/subscription.d.ts +2 -3
  31. package/build/runtime-cjs/stores/subscription.js +6 -7
  32. package/build/runtime-esm/client.d.ts +3 -1
  33. package/build/runtime-esm/client.js +13 -2
  34. package/build/runtime-esm/stores/base.d.ts +8 -0
  35. package/build/runtime-esm/stores/base.js +21 -0
  36. package/build/runtime-esm/stores/mutation.d.ts +2 -6
  37. package/build/runtime-esm/stores/mutation.js +6 -10
  38. package/build/runtime-esm/stores/pagination/fragment.js +4 -2
  39. package/build/runtime-esm/stores/pagination/query.d.ts +1 -2
  40. package/build/runtime-esm/stores/pagination/query.js +24 -13
  41. package/build/runtime-esm/stores/query.d.ts +3 -4
  42. package/build/runtime-esm/stores/query.js +27 -10
  43. package/build/runtime-esm/stores/subscription.d.ts +2 -3
  44. package/build/runtime-esm/stores/subscription.js +7 -8
  45. package/build/test/index.d.ts +3 -3
  46. package/build/test-cjs/index.js +1593 -1586
  47. package/build/test-esm/index.js +1593 -1586
  48. package/package.json +2 -2
  49. package/build/runtime/imports/client.d.ts +0 -3
  50. package/build/runtime-cjs/imports/client.d.ts +0 -3
  51. package/build/runtime-esm/imports/client.d.ts +0 -3
  52. package/build/runtime-esm/imports/client.js +0 -5
@@ -1,8 +1,8 @@
1
- import type { CollectedGraphQLDocument, Config } from 'houdini';
1
+ import type { Document, Config } from 'houdini';
2
2
  export type PluginArtifactData = {
3
3
  isManualLoad?: boolean;
4
4
  };
5
5
  export declare function artifactData({ config, document, }: {
6
6
  config: Config;
7
- document: CollectedGraphQLDocument;
7
+ document: Document;
8
8
  }): PluginArtifactData;
@@ -1,2 +1,2 @@
1
- import type { CollectedGraphQLDocument, GenerateHookInput } from 'houdini';
2
- export declare function fragmentStore({ config, plugin_root }: GenerateHookInput, doc: CollectedGraphQLDocument): Promise<string>;
1
+ import type { Document, GenerateHookInput } from 'houdini';
2
+ export declare function fragmentStore({ config, pluginRoot }: GenerateHookInput, doc: Document): Promise<string>;
@@ -1,2 +1,2 @@
1
- import type { CollectedGraphQLDocument, GenerateHookInput } from 'houdini';
2
- export declare function mutationStore({ config, plugin_root }: GenerateHookInput, doc: CollectedGraphQLDocument): Promise<string>;
1
+ import type { Document, GenerateHookInput } from 'houdini';
2
+ export declare function mutationStore({ config, pluginRoot }: GenerateHookInput, doc: Document): Promise<string>;
@@ -1,2 +1,2 @@
1
- import type { CollectedGraphQLDocument, GenerateHookInput } from 'houdini';
2
- export declare function queryStore({ config, plugin_root }: GenerateHookInput, doc: CollectedGraphQLDocument): Promise<string>;
1
+ import type { Document, GenerateHookInput } from 'houdini';
2
+ export declare function queryStore({ config, pluginRoot }: GenerateHookInput, doc: Document): Promise<string>;
@@ -1,2 +1,2 @@
1
- import type { CollectedGraphQLDocument, GenerateHookInput } from 'houdini';
2
- export declare function subscriptionStore({ config, plugin_root }: GenerateHookInput, doc: CollectedGraphQLDocument): Promise<string>;
1
+ import type { Document, GenerateHookInput } from 'houdini';
2
+ export declare function subscriptionStore({ config, pluginRoot }: GenerateHookInput, doc: Document): Promise<string>;
@@ -45,7 +45,7 @@ export type HoudiniRouteScript = {
45
45
  };
46
46
  export declare function route_page_path(config: Config, filename: string): string;
47
47
  export declare function stores_directory_name(): string;
48
- export declare function stores_directory(plugin_root: string): string;
48
+ export declare function stores_directory(pluginRoot: string): string;
49
49
  export declare function type_route_dir(config: Config): string;
50
50
  export declare function store_import_path({ config, name }: {
51
51
  config: Config;
@@ -1,5 +1,5 @@
1
1
  export declare const query_variable_fn: (name: string) => string;
2
2
  export declare const houdini_load_fn = "_houdini_load";
3
3
  export declare const houdini_before_load_fn = "_houdini_beforeLoad";
4
- export declare const houdini_after_load_fn = "_houdini_afterLoad";
4
+ export declare const houdini_afterLoad_fn = "_houdini_afterLoad";
5
5
  export declare const houdini_on_error_fn = "_houdini_onError";
@@ -1,5 +1,5 @@
1
- import type { Config, CollectedGraphQLDocument } from 'houdini';
1
+ import type { Config, Document } from 'houdini';
2
2
  export default function validateDocuments({ config, documents, }: {
3
3
  config: Config;
4
- documents: CollectedGraphQLDocument[];
4
+ documents: Document[];
5
5
  }): Promise<void>;