houdini-svelte 1.2.0-react.1 → 1.2.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/README.md +1 -1
- package/build/plugin/artifactData.d.ts +1 -0
- package/build/plugin/extract.d.ts +8 -5
- package/build/plugin/index.d.ts +4 -0
- package/build/plugin/kit.d.ts +1 -1
- package/build/plugin/validate.d.ts +1 -1
- package/build/plugin-cjs/index.js +2915 -2734
- package/build/plugin-esm/index.js +2915 -2734
- package/build/preprocess-cjs/index.js +2814 -2665
- package/build/preprocess-esm/index.js +2814 -2665
- package/build/runtime/fragments.d.ts +2 -2
- package/build/runtime/index.d.ts +1 -1
- package/build/runtime/stores/base.d.ts +2 -2
- package/build/runtime/stores/fragment.d.ts +2 -2
- package/build/runtime/stores/mutation.d.ts +2 -2
- package/build/runtime/stores/pagination/fragment.d.ts +4 -5
- package/build/runtime/stores/pagination/query.d.ts +5 -5
- package/build/runtime/stores/query.d.ts +2 -2
- package/build/runtime/stores/subscription.d.ts +2 -2
- package/build/runtime-cjs/fragments.d.ts +2 -2
- package/build/runtime-cjs/index.d.ts +1 -1
- package/build/runtime-cjs/stores/base.d.ts +2 -2
- package/build/runtime-cjs/stores/fragment.d.ts +2 -2
- package/build/runtime-cjs/stores/fragment.js +7 -5
- package/build/runtime-cjs/stores/mutation.d.ts +2 -2
- package/build/runtime-cjs/stores/pagination/fragment.d.ts +4 -5
- package/build/runtime-cjs/stores/pagination/fragment.js +1 -2
- package/build/runtime-cjs/stores/pagination/query.d.ts +5 -5
- package/build/runtime-cjs/stores/pagination/query.js +3 -4
- package/build/runtime-cjs/stores/query.d.ts +2 -2
- package/build/runtime-cjs/stores/query.js +33 -2
- package/build/runtime-cjs/stores/subscription.d.ts +2 -2
- package/build/runtime-esm/fragments.d.ts +2 -2
- package/build/runtime-esm/index.d.ts +1 -1
- package/build/runtime-esm/stores/base.d.ts +2 -2
- package/build/runtime-esm/stores/fragment.d.ts +2 -2
- package/build/runtime-esm/stores/fragment.js +7 -5
- package/build/runtime-esm/stores/mutation.d.ts +2 -2
- package/build/runtime-esm/stores/pagination/fragment.d.ts +4 -5
- package/build/runtime-esm/stores/pagination/fragment.js +1 -2
- package/build/runtime-esm/stores/pagination/query.d.ts +5 -5
- package/build/runtime-esm/stores/pagination/query.js +0 -1
- package/build/runtime-esm/stores/query.d.ts +2 -2
- package/build/runtime-esm/stores/query.js +33 -2
- package/build/runtime-esm/stores/subscription.d.ts +2 -2
- package/build/test/index.d.ts +1 -1
- package/build/test-cjs/index.js +6148 -5227
- package/build/test-esm/index.js +6148 -5227
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/HoudiniGraphql/houdini/main/.github/
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/HoudiniGraphql/houdini/main/.github/assets/logo_l.svg">
|
|
4
4
|
<img height="140" alt="Houdini's logo (dark or light)" src="https://raw.githubusercontent.com/HoudiniGraphql/houdini/main/.github/assets/logo_d.svg">
|
|
5
5
|
</picture>
|
|
6
6
|
<br />
|
|
@@ -3,9 +3,12 @@ export default function ({ config, content, }: {
|
|
|
3
3
|
config: Config;
|
|
4
4
|
content: string;
|
|
5
5
|
}): Promise<string[]>;
|
|
6
|
-
|
|
7
|
-
export type ParsedFile = Maybe<{
|
|
6
|
+
type EmbeddedScript = {
|
|
8
7
|
script: Script;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
position: {
|
|
9
|
+
start: number;
|
|
10
|
+
end: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare function parseSvelte(str: string): Promise<Maybe<EmbeddedScript>>;
|
|
14
|
+
export {};
|
package/build/plugin/index.d.ts
CHANGED
|
@@ -14,6 +14,10 @@ export type HoudiniSvelteConfig = {
|
|
|
14
14
|
* @default `./src/client.ts`
|
|
15
15
|
*/
|
|
16
16
|
client?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Specifies whether the client side routing is blocking or not. (default: `false`)
|
|
19
|
+
*/
|
|
20
|
+
defaultRouteBlocking?: boolean;
|
|
17
21
|
/**
|
|
18
22
|
* The name of the file used to define page queries.
|
|
19
23
|
* @default +page.gql
|
package/build/plugin/kit.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as graphql from 'graphql';
|
|
2
2
|
import type { Config } from 'houdini';
|
|
3
|
-
import type recast from 'recast';
|
|
3
|
+
import type * as recast from 'recast';
|
|
4
4
|
import type { HoudiniSvelteConfig } from '.';
|
|
5
5
|
import type { SvelteTransformPage } from './transforms/types';
|
|
6
6
|
type Identifier = recast.types.namedTypes.Identifier;
|