houdini-svelte 0.17.14 → 0.18.0
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/index.d.ts +1 -1
- package/build/plugin/naming.d.ts +5 -0
- package/build/plugin/transforms/query.d.ts +0 -1
- package/build/plugin-cjs/index.js +845 -701
- package/build/plugin-esm/index.js +845 -701
- package/build/preprocess-cjs/index.js +964 -813
- package/build/preprocess-esm/index.js +964 -813
- package/build/runtime-cjs/stores/query.js +3 -1
- package/build/runtime-esm/stores/query.js +3 -1
- package/build/test-cjs/index.js +1675 -1185
- package/build/test-esm/index.js +1675 -1185
- package/package.json +3 -3
- package/build/runtime-cjs/stores/pagination/pageInfo.test.js +0 -34
- package/build/runtime-esm/stores/pagination/pageInfo.test.js +0 -33
package/build/plugin/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare type HoudiniVitePluginConfig = {
|
|
|
10
10
|
/**
|
|
11
11
|
* A relative path from your houdini.config.js to the file that exports your client as its default value
|
|
12
12
|
*/
|
|
13
|
-
client
|
|
13
|
+
client?: string;
|
|
14
14
|
/**
|
|
15
15
|
* The name of the file used to define page queries.
|
|
16
16
|
* @default +page.gql
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const query_variable_fn: (name: string) => string;
|
|
2
|
+
export declare const houdini_load_fn = "_houdini_load";
|
|
3
|
+
export declare const houdini_before_load_fn = "_houdini_beforeLoad";
|
|
4
|
+
export declare const houdini_after_load_fn = "_houdini_afterLoad";
|
|
5
|
+
export declare const houdini_on_error_fn = "_houdini_onError";
|
|
@@ -6,7 +6,6 @@ import { SvelteTransformPage } from './types';
|
|
|
6
6
|
declare type Statement = recast.types.namedTypes.Statement;
|
|
7
7
|
export default function QueryProcessor(config: Config, page: SvelteTransformPage): Promise<void>;
|
|
8
8
|
export declare function find_inline_queries(page: TransformPage, parsed: Script | null, store_id: (name: string) => ExpressionKind): Promise<LoadTarget[]>;
|
|
9
|
-
export declare function query_variable_fn(name: string): string;
|
|
10
9
|
export declare type LoadTarget = {
|
|
11
10
|
store_id: Statement;
|
|
12
11
|
name: string;
|