houdini-svelte 2.2.0-next.5 → 3.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.
- package/build/plugin/config.d.ts +0 -10
- package/build/plugin/kit.d.ts +1 -3
- package/build/plugin-cjs/index.js +53 -345
- package/build/plugin-esm/index.js +53 -345
- package/build/preprocess-cjs/index.js +16 -57
- package/build/preprocess-esm/index.js +16 -57
- package/build/test-cjs/index.js +140 -407
- package/build/test-esm/index.js +140 -407
- package/package.json +2 -2
- package/build/plugin/fsPatch.d.ts +0 -27
package/build/plugin/config.d.ts
CHANGED
|
@@ -9,16 +9,6 @@ export type HoudiniSvelteConfig = {
|
|
|
9
9
|
* Specifies whether the client side routing is blocking or not. (default: `false`)
|
|
10
10
|
*/
|
|
11
11
|
defaultRouteBlocking?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* The name of the file used to define page queries.
|
|
14
|
-
* @default +page.gql
|
|
15
|
-
*/
|
|
16
|
-
pageQueryFilename?: string;
|
|
17
|
-
/**
|
|
18
|
-
* The name of the file used to define layout queries.
|
|
19
|
-
* @default +layout.gql
|
|
20
|
-
*/
|
|
21
|
-
layoutQueryFilename?: string;
|
|
22
12
|
/**
|
|
23
13
|
* A flag to treat every component as a non-route. This is useful for projects built with the static-adapter
|
|
24
14
|
* @default false
|
package/build/plugin/kit.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as graphql from 'graphql';
|
|
1
|
+
import type * as graphql from 'graphql';
|
|
2
2
|
import type { Config } from 'houdini';
|
|
3
3
|
import type * as recast from 'recast';
|
|
4
4
|
import type { SvelteTransformPage } from './transforms/types';
|
|
@@ -16,8 +16,6 @@ export declare function is_layout_component(framework: Framework, filename: stri
|
|
|
16
16
|
export declare function is_page_component(framework: Framework, filename: string): boolean;
|
|
17
17
|
export declare function is_layout(framework: Framework, filename: string): boolean;
|
|
18
18
|
export declare function is_component(config: Config, framework: Framework, filename: string): boolean;
|
|
19
|
-
export declare function page_query_path(config: Config, filename: string): string;
|
|
20
|
-
export declare function layout_query_path(config: Config, filename: string): string;
|
|
21
19
|
export declare function resolve_relative(config: Config, filename: string): string;
|
|
22
20
|
export declare function walk_routes(config: Config, framework: Framework, visitor: RouteVisitor, dirpath?: string): Promise<void>;
|
|
23
21
|
export type RouteVisitor = {
|