houdini-react 2.0.0-next.4 → 2.0.0-next.41
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/bin/houdini-react +173 -0
- package/package.json +63 -39
- package/postInstall.js +360 -0
- package/runtime/Link.tsx +81 -0
- package/runtime/client.ts +5 -0
- package/runtime/clientPlugin.ts +17 -0
- package/runtime/componentFields.ts +79 -0
- package/runtime/hooks/index.ts +9 -0
- package/runtime/hooks/recycleNodesInto.ts +60 -0
- package/runtime/hooks/useDeepCompareEffect.ts +93 -0
- package/runtime/hooks/useDocumentHandle.ts +238 -0
- package/runtime/hooks/useDocumentStore.ts +112 -0
- package/runtime/hooks/useDocumentSubscription.ts +65 -0
- package/runtime/hooks/useFragment.ts +101 -0
- package/runtime/hooks/useFragmentHandle.ts +178 -0
- package/runtime/hooks/useIsMounted.ts +14 -0
- package/runtime/hooks/useMutation.ts +70 -0
- package/runtime/hooks/useQuery.ts +12 -0
- package/runtime/hooks/useQueryHandle.ts +194 -0
- package/runtime/hooks/useSubscription.ts +12 -0
- package/runtime/hooks/useSubscriptionHandle.ts +38 -0
- package/runtime/hydration.tsx +155 -0
- package/runtime/index.tsx +66 -0
- package/runtime/manifest.ts +6 -0
- package/runtime/package.json +1 -0
- package/runtime/resolve-href.ts +14 -0
- package/runtime/routing/Router.tsx +959 -0
- package/runtime/routing/cache.ts +57 -0
- package/runtime/routing/errors.tsx +145 -0
- package/runtime/routing/index.ts +17 -0
- package/runtime/tsconfig.json +39 -0
- package/server/index.d.ts +1 -0
- package/server/index.js +4 -0
- package/server/react-streaming.d.js +0 -0
- package/vite/index.d.ts +3 -0
- package/vite/index.js +384 -0
- package/vite/transform.d.ts +11 -0
- package/vite/transform.js +90 -0
- package/README.md +0 -36
- package/build/plugin/codegen/entries/documentWrappers.d.ts +0 -6
- package/build/plugin/codegen/entries/fallbacks.d.ts +0 -5
- package/build/plugin/codegen/entries/index.d.ts +0 -16
- package/build/plugin/codegen/entries/pages.d.ts +0 -2
- package/build/plugin/codegen/index.d.ts +0 -17
- package/build/plugin/codegen/manifest.d.ts +0 -5
- package/build/plugin/codegen/render.d.ts +0 -7
- package/build/plugin/codegen/router.d.ts +0 -7
- package/build/plugin/codegen/typeRoot.d.ts +0 -5
- package/build/plugin/config.d.ts +0 -4
- package/build/plugin/dedent.d.ts +0 -1
- package/build/plugin/extract.d.ts +0 -6
- package/build/plugin/index.d.ts +0 -5
- package/build/plugin/state.d.ts +0 -3
- package/build/plugin/transform.d.ts +0 -6
- package/build/plugin/vite.d.ts +0 -27
- package/build/plugin-cjs/index.js +0 -90119
- package/build/plugin-cjs/package.json +0 -1
- package/build/plugin-esm/index.js +0 -90115
- package/build/runtime/client.d.ts +0 -3
- package/build/runtime/clientPlugin.d.ts +0 -3
- package/build/runtime/componentFields.d.ts +0 -9
- package/build/runtime/hooks/index.d.ts +0 -8
- package/build/runtime/hooks/useDeepCompareEffect.d.ts +0 -35
- package/build/runtime/hooks/useDocumentHandle.d.ts +0 -36
- package/build/runtime/hooks/useDocumentStore.d.ts +0 -11
- package/build/runtime/hooks/useDocumentSubscription.d.ts +0 -11
- package/build/runtime/hooks/useFragment.d.ts +0 -16
- package/build/runtime/hooks/useFragmentHandle.d.ts +0 -8
- package/build/runtime/hooks/useIsMounted.d.ts +0 -3
- package/build/runtime/hooks/useMutation.d.ts +0 -14
- package/build/runtime/hooks/useQuery.d.ts +0 -5
- package/build/runtime/hooks/useQueryHandle.d.ts +0 -10
- package/build/runtime/hooks/useSubscription.d.ts +0 -4
- package/build/runtime/hooks/useSubscriptionHandle.d.ts +0 -25
- package/build/runtime/index.d.ts +0 -14
- package/build/runtime/manifest.d.ts +0 -3
- package/build/runtime/routing/Router.d.ts +0 -62
- package/build/runtime/routing/cache.d.ts +0 -7
- package/build/runtime/routing/hooks.d.ts +0 -40
- package/build/runtime/routing/index.d.ts +0 -3
- package/build/runtime-cjs/client.d.ts +0 -3
- package/build/runtime-cjs/client.js +0 -25
- package/build/runtime-cjs/clientPlugin.d.ts +0 -3
- package/build/runtime-cjs/clientPlugin.js +0 -37
- package/build/runtime-cjs/componentFields.d.ts +0 -9
- package/build/runtime-cjs/componentFields.js +0 -83
- package/build/runtime-cjs/hooks/index.d.ts +0 -8
- package/build/runtime-cjs/hooks/index.js +0 -45
- package/build/runtime-cjs/hooks/useDeepCompareEffect.d.ts +0 -35
- package/build/runtime-cjs/hooks/useDeepCompareEffect.js +0 -76
- package/build/runtime-cjs/hooks/useDocumentHandle.d.ts +0 -36
- package/build/runtime-cjs/hooks/useDocumentHandle.js +0 -177
- package/build/runtime-cjs/hooks/useDocumentStore.d.ts +0 -11
- package/build/runtime-cjs/hooks/useDocumentStore.js +0 -76
- package/build/runtime-cjs/hooks/useDocumentSubscription.d.ts +0 -11
- package/build/runtime-cjs/hooks/useDocumentSubscription.js +0 -76
- package/build/runtime-cjs/hooks/useFragment.d.ts +0 -16
- package/build/runtime-cjs/hooks/useFragment.js +0 -102
- package/build/runtime-cjs/hooks/useFragmentHandle.d.ts +0 -8
- package/build/runtime-cjs/hooks/useFragmentHandle.js +0 -47
- package/build/runtime-cjs/hooks/useIsMounted.d.ts +0 -3
- package/build/runtime-cjs/hooks/useIsMounted.js +0 -38
- package/build/runtime-cjs/hooks/useMutation.d.ts +0 -14
- package/build/runtime-cjs/hooks/useMutation.js +0 -67
- package/build/runtime-cjs/hooks/useQuery.d.ts +0 -5
- package/build/runtime-cjs/hooks/useQuery.js +0 -32
- package/build/runtime-cjs/hooks/useQueryHandle.d.ts +0 -10
- package/build/runtime-cjs/hooks/useQueryHandle.js +0 -131
- package/build/runtime-cjs/hooks/useSubscription.d.ts +0 -4
- package/build/runtime-cjs/hooks/useSubscription.js +0 -32
- package/build/runtime-cjs/hooks/useSubscriptionHandle.d.ts +0 -25
- package/build/runtime-cjs/hooks/useSubscriptionHandle.js +0 -42
- package/build/runtime-cjs/index.d.ts +0 -14
- package/build/runtime-cjs/index.js +0 -88
- package/build/runtime-cjs/manifest.d.ts +0 -3
- package/build/runtime-cjs/manifest.js +0 -25
- package/build/runtime-cjs/package.json +0 -1
- package/build/runtime-cjs/routing/Router.d.ts +0 -62
- package/build/runtime-cjs/routing/Router.js +0 -540
- package/build/runtime-cjs/routing/cache.d.ts +0 -7
- package/build/runtime-cjs/routing/cache.js +0 -61
- package/build/runtime-cjs/routing/hooks.d.ts +0 -40
- package/build/runtime-cjs/routing/hooks.js +0 -93
- package/build/runtime-cjs/routing/index.d.ts +0 -3
- package/build/runtime-cjs/routing/index.js +0 -33
- package/build/runtime-esm/client.d.ts +0 -3
- package/build/runtime-esm/client.js +0 -5
- package/build/runtime-esm/clientPlugin.d.ts +0 -3
- package/build/runtime-esm/clientPlugin.js +0 -17
- package/build/runtime-esm/componentFields.d.ts +0 -9
- package/build/runtime-esm/componentFields.js +0 -59
- package/build/runtime-esm/hooks/index.d.ts +0 -8
- package/build/runtime-esm/hooks/index.js +0 -15
- package/build/runtime-esm/hooks/useDeepCompareEffect.d.ts +0 -35
- package/build/runtime-esm/hooks/useDeepCompareEffect.js +0 -41
- package/build/runtime-esm/hooks/useDocumentHandle.d.ts +0 -36
- package/build/runtime-esm/hooks/useDocumentHandle.js +0 -143
- package/build/runtime-esm/hooks/useDocumentStore.d.ts +0 -11
- package/build/runtime-esm/hooks/useDocumentStore.js +0 -42
- package/build/runtime-esm/hooks/useDocumentSubscription.d.ts +0 -11
- package/build/runtime-esm/hooks/useDocumentSubscription.js +0 -42
- package/build/runtime-esm/hooks/useFragment.d.ts +0 -16
- package/build/runtime-esm/hooks/useFragment.js +0 -67
- package/build/runtime-esm/hooks/useFragmentHandle.d.ts +0 -8
- package/build/runtime-esm/hooks/useFragmentHandle.js +0 -23
- package/build/runtime-esm/hooks/useIsMounted.d.ts +0 -3
- package/build/runtime-esm/hooks/useIsMounted.js +0 -14
- package/build/runtime-esm/hooks/useMutation.d.ts +0 -14
- package/build/runtime-esm/hooks/useMutation.js +0 -42
- package/build/runtime-esm/hooks/useQuery.d.ts +0 -5
- package/build/runtime-esm/hooks/useQuery.js +0 -8
- package/build/runtime-esm/hooks/useQueryHandle.d.ts +0 -10
- package/build/runtime-esm/hooks/useQueryHandle.js +0 -97
- package/build/runtime-esm/hooks/useSubscription.d.ts +0 -4
- package/build/runtime-esm/hooks/useSubscription.js +0 -8
- package/build/runtime-esm/hooks/useSubscriptionHandle.d.ts +0 -25
- package/build/runtime-esm/hooks/useSubscriptionHandle.js +0 -18
- package/build/runtime-esm/index.d.ts +0 -14
- package/build/runtime-esm/index.js +0 -48
- package/build/runtime-esm/manifest.d.ts +0 -3
- package/build/runtime-esm/manifest.js +0 -5
- package/build/runtime-esm/routing/Router.d.ts +0 -62
- package/build/runtime-esm/routing/Router.js +0 -499
- package/build/runtime-esm/routing/cache.d.ts +0 -7
- package/build/runtime-esm/routing/cache.js +0 -36
- package/build/runtime-esm/routing/hooks.d.ts +0 -40
- package/build/runtime-esm/routing/hooks.js +0 -53
- package/build/runtime-esm/routing/index.d.ts +0 -3
- package/build/runtime-esm/routing/index.js +0 -6
- package/build/server/index.d.ts +0 -1
- package/build/server-cjs/index.js +0 -28
- package/build/server-cjs/package.json +0 -1
- package/build/server-esm/index.js +0 -4
- package/build/server-esm/package.json +0 -1
- /package/{build/plugin-esm → server}/package.json +0 -0
- /package/{build/runtime-esm → vite}/package.json +0 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as graphql from "graphql";
|
|
2
|
+
import {
|
|
3
|
+
ArtifactKind,
|
|
4
|
+
artifact_import,
|
|
5
|
+
ensure_imports,
|
|
6
|
+
find_graphql,
|
|
7
|
+
parseJS,
|
|
8
|
+
path,
|
|
9
|
+
printJS
|
|
10
|
+
} from "houdini";
|
|
11
|
+
import { componentField_unit_path, houdini_root } from "houdini/router/conventions";
|
|
12
|
+
import * as recast from "recast";
|
|
13
|
+
const AST = recast.types.builders;
|
|
14
|
+
async function transform_file(page, cfRows) {
|
|
15
|
+
const isJSX = page.filepath.endsWith(".tsx") || page.filepath.endsWith(".jsx");
|
|
16
|
+
if (!isJSX && !page.filepath.endsWith(".ts") && !page.filepath.endsWith(".js")) {
|
|
17
|
+
return { code: page.content, map: page.map };
|
|
18
|
+
}
|
|
19
|
+
const script = parseJS(page.content, isJSX ? { plugins: ["jsx"] } : {});
|
|
20
|
+
const cfMap = {};
|
|
21
|
+
for (const row of cfRows) {
|
|
22
|
+
if (row.type && row.field && row.fragment) {
|
|
23
|
+
cfMap[row.type] ??= {};
|
|
24
|
+
cfMap[row.type][row.field] = row.fragment;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
await find_graphql(page.config, script, {
|
|
28
|
+
skipGraphqlType: true,
|
|
29
|
+
tag({ node, artifact, parsedDocument }) {
|
|
30
|
+
const { id: artifactRef } = artifact_import({ page, script, artifact });
|
|
31
|
+
const properties = [AST.objectProperty(AST.stringLiteral("artifact"), artifactRef)];
|
|
32
|
+
if (is_paginated(parsedDocument)) {
|
|
33
|
+
if (artifact.kind !== ArtifactKind.Query) {
|
|
34
|
+
const refetchName = artifact.name + "_Pagination_Query";
|
|
35
|
+
const { id: refetchRef } = artifact_import({
|
|
36
|
+
page,
|
|
37
|
+
script,
|
|
38
|
+
artifact: { name: refetchName }
|
|
39
|
+
});
|
|
40
|
+
properties.push(
|
|
41
|
+
AST.objectProperty(AST.stringLiteral("refetchArtifact"), refetchRef)
|
|
42
|
+
);
|
|
43
|
+
} else {
|
|
44
|
+
properties.push(
|
|
45
|
+
AST.objectProperty(AST.stringLiteral("refetchArtifact"), artifactRef)
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
if (Object.keys(cfMap).length > 0) {
|
|
50
|
+
const typeInfo = new graphql.TypeInfo(page.config.schema);
|
|
51
|
+
graphql.visit(
|
|
52
|
+
parsedDocument,
|
|
53
|
+
graphql.visitWithTypeInfo(typeInfo, {
|
|
54
|
+
Field(fieldNode) {
|
|
55
|
+
const parentType = typeInfo.getParentType();
|
|
56
|
+
const typeName = parentType?.name;
|
|
57
|
+
if (!typeName) return;
|
|
58
|
+
const fragmentName = cfMap[typeName]?.[fieldNode.name.value];
|
|
59
|
+
if (!fragmentName) return;
|
|
60
|
+
const entryPointPath = componentField_unit_path(
|
|
61
|
+
page.config,
|
|
62
|
+
fragmentName
|
|
63
|
+
);
|
|
64
|
+
ensure_imports({
|
|
65
|
+
script,
|
|
66
|
+
sourceModule: "$houdini/" + path.relative(houdini_root(page.config), entryPointPath)
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
node.replaceWith(AST.objectExpression(properties));
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
return printJS(script);
|
|
76
|
+
}
|
|
77
|
+
function is_paginated(doc) {
|
|
78
|
+
let paginated = false;
|
|
79
|
+
graphql.visit(doc, {
|
|
80
|
+
Directive(node) {
|
|
81
|
+
if (node.name.value === "paginate") {
|
|
82
|
+
paginated = true;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
return paginated;
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
transform_file
|
|
90
|
+
};
|
package/README.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/HoudiniGraphql/houdini/main/.github/assets/logo_l.svg">
|
|
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
|
-
</picture>
|
|
6
|
-
<br />
|
|
7
|
-
<br />
|
|
8
|
-
<strong>
|
|
9
|
-
The disappearing GraphQL clients.
|
|
10
|
-
</strong>
|
|
11
|
-
<br />
|
|
12
|
-
<br />
|
|
13
|
-
<a href="https://npmjs.org/package/houdini">
|
|
14
|
-
<img src="https://img.shields.io/npm/v/houdini.svg" alt="version" />
|
|
15
|
-
</a>
|
|
16
|
-
<a href="https://github.com/HoudiniGraphql/houdini/actions">
|
|
17
|
-
<img src="https://github.com/HoudiniGraphql/houdini/actions/workflows/tests.yml/badge.svg" alt="CI Tests" />
|
|
18
|
-
</a>
|
|
19
|
-
<a href="https://github.com/HoudiniGraphql/houdini">
|
|
20
|
-
<img src="https://img.shields.io/github/stars/HoudiniGraphql/houdini.svg?label=stars" alt="github stars" />
|
|
21
|
-
</a>
|
|
22
|
-
<a href="https://npmjs.org/package/houdini">
|
|
23
|
-
<img src="https://img.shields.io/npm/dm/houdini.svg" alt="downloads" />
|
|
24
|
-
</a>
|
|
25
|
-
<a href="https://github.com/HoudiniGraphql/houdini/blob/main/LICENSE">
|
|
26
|
-
<img src="https://img.shields.io/github/license/HoudiniGraphql/houdini.svg?maxAge=2592000" alt="license" />
|
|
27
|
-
</a>
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
----
|
|
31
|
-
|
|
32
|
-
At its core, houdini seeks to enable a high quality developer experience
|
|
33
|
-
without compromising bundle size. Like Svelte, houdini shifts what is
|
|
34
|
-
traditionally handled by a bloated runtime into a compile step that allows
|
|
35
|
-
for the generation of an incredibly lean GraphQL abstraction for your application.
|
|
36
|
-
See more at <a href="https://www.houdinigraphql.com">HoudiniGraphQL.com</a> 🚀
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type Config, type ProjectManifest, type Document } from 'houdini';
|
|
2
|
-
export declare function generate_routing_document_wrappers({ manifest, config, documents, }: {
|
|
3
|
-
manifest: ProjectManifest;
|
|
4
|
-
config: Config;
|
|
5
|
-
documents: Record<string, Document>;
|
|
6
|
-
}): Promise<void[]>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Config, ProjectManifest, PageManifest, Document } from 'houdini';
|
|
2
|
-
import type { ComponentFieldData } from '..';
|
|
3
|
-
export declare function generate_entries({ config, manifest, documents, componentFields, }: {
|
|
4
|
-
config: Config;
|
|
5
|
-
manifest: ProjectManifest;
|
|
6
|
-
documents: Document[];
|
|
7
|
-
componentFields: ComponentFieldData[];
|
|
8
|
-
}): Promise<void>;
|
|
9
|
-
export type PageBundleInput = {
|
|
10
|
-
id: string;
|
|
11
|
-
page: PageManifest;
|
|
12
|
-
project: ProjectManifest;
|
|
13
|
-
config: Config;
|
|
14
|
-
documents: Record<string, Document>;
|
|
15
|
-
componentFields: ComponentFieldData[];
|
|
16
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Config, GenerateHookInput, ProjectManifest } from 'houdini';
|
|
2
|
-
import { processComponentFieldDirective } from 'houdini';
|
|
3
|
-
/**
|
|
4
|
-
* The router is fundamentally a component that knows how to render
|
|
5
|
-
* a particular component tree for a given url. This is driven by something
|
|
6
|
-
* we call the applications "manifest".
|
|
7
|
-
*
|
|
8
|
-
* In react, the tree of route directories maps to a component hierarchy
|
|
9
|
-
* with suspense boundaries sprinkled when there is a loading directive
|
|
10
|
-
* present on a query.
|
|
11
|
-
*/
|
|
12
|
-
export default function routerCodegen({ config, manifest, documents, }: GenerateHookInput & {
|
|
13
|
-
manifest: ProjectManifest;
|
|
14
|
-
}): Promise<void>;
|
|
15
|
-
export type ComponentFieldData = ReturnType<typeof processComponentFieldDirective> & Config['componentFields'][string][string] & {
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type Config, type ProjectManifest } from 'houdini';
|
|
2
|
-
import type { ComponentFieldData } from '.';
|
|
3
|
-
export declare function generate_renders({ componentFields, config, manifest, }: {
|
|
4
|
-
componentFields: ComponentFieldData[];
|
|
5
|
-
config: Config;
|
|
6
|
-
manifest: ProjectManifest;
|
|
7
|
-
}): Promise<void>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type Config, type ProjectManifest } from 'houdini';
|
|
2
|
-
export declare function format_router_manifest({ config, manifest, exportDefaultStatement, }: {
|
|
3
|
-
config: Config;
|
|
4
|
-
manifest: ProjectManifest;
|
|
5
|
-
exportDefaultStatement: (name: string) => string;
|
|
6
|
-
importStatement: (from: string, as: string) => string;
|
|
7
|
-
}): string;
|
package/build/plugin/config.d.ts
DELETED
package/build/plugin/dedent.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function dedent(indentString: string, input?: string): string;
|
package/build/plugin/index.d.ts
DELETED
package/build/plugin/state.d.ts
DELETED
package/build/plugin/vite.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ConfigEnv } from 'vite';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
config?: ((config: import("houdini").Config, env: ConfigEnv) => import("vite").UserConfig | Promise<import("vite").UserConfig>) | undefined;
|
|
4
|
-
buildStart?: ((this: import("rollup").PluginContext, options: import("rollup").NormalizedInputOptions & {
|
|
5
|
-
houdiniConfig: import("houdini").Config;
|
|
6
|
-
}) => void | Promise<void>) | undefined;
|
|
7
|
-
buildEnd?: ((this: import("rollup").PluginContext, error?: Error | undefined, houdiniConfig?: import("houdini").Config | undefined) => void | Promise<void>) | undefined;
|
|
8
|
-
closeBundle?: ((this: import("rollup").PluginContext, config: import("houdini").Config) => void | Promise<void>) | undefined;
|
|
9
|
-
configResolved?: import("rollup").ObjectHook<(this: void, config: import("vite").ResolvedConfig) => void | Promise<void>, {}> | undefined;
|
|
10
|
-
options?: ((this: import("rollup").MinimalPluginContext, options: import("rollup").InputOptions & {
|
|
11
|
-
houdiniConfig: import("houdini").Config;
|
|
12
|
-
}) => import("rollup").InputOptions | import("rollup").NullValue) | undefined;
|
|
13
|
-
resolveId?: import("rollup").ObjectHook<(this: import("rollup").PluginContext, source: string, importer: string | undefined, options: {
|
|
14
|
-
config: import("houdini").Config;
|
|
15
|
-
custom?: import("rollup").CustomPluginOptions | undefined;
|
|
16
|
-
ssr?: boolean | undefined;
|
|
17
|
-
isEntry: boolean;
|
|
18
|
-
}) => import("rollup").ResolveIdResult | Promise<import("rollup").ResolveIdResult>, {}> | undefined;
|
|
19
|
-
load?: import("rollup").ObjectHook<(this: import("rollup").PluginContext, id: string, options: {
|
|
20
|
-
config: import("houdini").Config;
|
|
21
|
-
ssr?: boolean | undefined;
|
|
22
|
-
}) => import("rollup").LoadResult | Promise<import("rollup").LoadResult>, {}> | undefined;
|
|
23
|
-
configureServer?: import("rollup").ObjectHook<(this: void, server: import("vite").ViteDevServer & {
|
|
24
|
-
houdiniConfig: import("houdini").Config;
|
|
25
|
-
}) => void | (() => void) | Promise<void | (() => void)>, {}> | undefined;
|
|
26
|
-
} | undefined;
|
|
27
|
-
export default _default;
|