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.
- package/build/plugin/artifactData.d.ts +2 -2
- package/build/plugin/codegen/stores/fragment.d.ts +2 -2
- package/build/plugin/codegen/stores/mutation.d.ts +2 -2
- package/build/plugin/codegen/stores/query.d.ts +2 -2
- package/build/plugin/codegen/stores/subscription.d.ts +2 -2
- package/build/plugin/kit.d.ts +1 -1
- package/build/plugin/naming.d.ts +1 -1
- package/build/plugin/validate.d.ts +2 -2
- package/build/plugin-cjs/index.js +760 -762
- package/build/plugin-esm/index.js +760 -762
- package/build/preprocess-cjs/index.js +718 -718
- package/build/preprocess-esm/index.js +718 -718
- package/build/runtime/client.d.ts +3 -1
- package/build/runtime/stores/base.d.ts +8 -0
- package/build/runtime/stores/mutation.d.ts +2 -6
- package/build/runtime/stores/pagination/query.d.ts +1 -2
- package/build/runtime/stores/query.d.ts +3 -4
- package/build/runtime/stores/subscription.d.ts +2 -3
- package/build/runtime-cjs/client.d.ts +3 -1
- package/build/runtime-cjs/client.js +16 -4
- package/build/runtime-cjs/stores/base.d.ts +8 -0
- package/build/runtime-cjs/{imports/client.js → stores/base.js} +25 -7
- package/build/runtime-cjs/stores/mutation.d.ts +2 -6
- package/build/runtime-cjs/stores/mutation.js +5 -9
- package/build/runtime-cjs/stores/pagination/fragment.js +3 -1
- package/build/runtime-cjs/stores/pagination/query.d.ts +1 -2
- package/build/runtime-cjs/stores/pagination/query.js +23 -12
- package/build/runtime-cjs/stores/query.d.ts +3 -4
- package/build/runtime-cjs/stores/query.js +27 -10
- package/build/runtime-cjs/stores/subscription.d.ts +2 -3
- package/build/runtime-cjs/stores/subscription.js +6 -7
- package/build/runtime-esm/client.d.ts +3 -1
- package/build/runtime-esm/client.js +13 -2
- package/build/runtime-esm/stores/base.d.ts +8 -0
- package/build/runtime-esm/stores/base.js +21 -0
- package/build/runtime-esm/stores/mutation.d.ts +2 -6
- package/build/runtime-esm/stores/mutation.js +6 -10
- package/build/runtime-esm/stores/pagination/fragment.js +4 -2
- package/build/runtime-esm/stores/pagination/query.d.ts +1 -2
- package/build/runtime-esm/stores/pagination/query.js +24 -13
- package/build/runtime-esm/stores/query.d.ts +3 -4
- package/build/runtime-esm/stores/query.js +27 -10
- package/build/runtime-esm/stores/subscription.d.ts +2 -3
- package/build/runtime-esm/stores/subscription.js +7 -8
- package/build/test/index.d.ts +3 -3
- package/build/test-cjs/index.js +1593 -1586
- package/build/test-esm/index.js +1593 -1586
- package/package.json +2 -2
- package/build/runtime/imports/client.d.ts +0 -3
- package/build/runtime-cjs/imports/client.d.ts +0 -3
- package/build/runtime-esm/imports/client.d.ts +0 -3
- package/build/runtime-esm/imports/client.js +0 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
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:
|
|
7
|
+
document: Document;
|
|
8
8
|
}): PluginArtifactData;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare function fragmentStore({ config,
|
|
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 {
|
|
2
|
-
export declare function mutationStore({ config,
|
|
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 {
|
|
2
|
-
export declare function queryStore({ config,
|
|
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 {
|
|
2
|
-
export declare function subscriptionStore({ config,
|
|
1
|
+
import type { Document, GenerateHookInput } from 'houdini';
|
|
2
|
+
export declare function subscriptionStore({ config, pluginRoot }: GenerateHookInput, doc: Document): Promise<string>;
|
package/build/plugin/kit.d.ts
CHANGED
|
@@ -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(
|
|
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;
|
package/build/plugin/naming.d.ts
CHANGED
|
@@ -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
|
|
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,
|
|
1
|
+
import type { Config, Document } from 'houdini';
|
|
2
2
|
export default function validateDocuments({ config, documents, }: {
|
|
3
3
|
config: Config;
|
|
4
|
-
documents:
|
|
4
|
+
documents: Document[];
|
|
5
5
|
}): Promise<void>;
|