houdini 1.2.10 → 1.2.12
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/cmd-cjs/index.js +1539 -16157
- package/build/cmd-esm/index.js +1541 -16159
- package/build/codegen/transforms/collectDefinitions.d.ts +1 -1
- package/build/codegen/utils/flattenSelections.d.ts +1 -1
- package/build/codegen-cjs/index.js +301 -14970
- package/build/codegen-esm/index.js +305 -14974
- package/build/lib/config.d.ts +4 -0
- package/build/lib/index.d.ts +1 -1
- package/build/lib/types.d.ts +2 -2
- package/build/lib-cjs/index.js +1600 -15892
- package/build/lib-esm/index.js +1596 -15894
- package/build/{lib/router → router}/conventions.d.ts +2 -1
- package/build/{lib/router → router}/index.d.ts +2 -0
- package/build/router/manifest.d.ts +12 -0
- package/build/router/server.d.ts +4 -0
- package/build/{lib/router → router}/types.d.ts +3 -2
- package/build/router-cjs/index.js +57736 -0
- package/build/router-cjs/package.json +1 -0
- package/build/router-esm/index.js +57726 -0
- package/build/router-esm/package.json +1 -0
- package/build/runtime/client/documentStore.d.ts +1 -0
- package/build/runtime/client/index.d.ts +14 -2
- package/build/runtime/lib/config.d.ts +19 -0
- package/build/runtime/lib/types.d.ts +39 -0
- package/build/runtime/router/cookies.d.ts +41 -0
- package/build/runtime/router/jwt.d.ts +117 -0
- package/build/runtime/router/server.d.ts +25 -0
- package/build/runtime-cjs/client/documentStore.d.ts +1 -0
- package/build/runtime-cjs/client/documentStore.js +42 -2
- package/build/runtime-cjs/client/index.d.ts +14 -2
- package/build/runtime-cjs/client/index.js +8 -2
- package/build/runtime-cjs/lib/config.d.ts +19 -0
- package/build/runtime-cjs/lib/config.js +10 -0
- package/build/runtime-cjs/lib/types.d.ts +39 -0
- package/build/runtime-cjs/router/cookies.d.ts +41 -0
- package/build/runtime-cjs/router/cookies.js +168 -0
- package/build/runtime-cjs/router/jwt.d.ts +117 -0
- package/build/runtime-cjs/router/jwt.js +181 -0
- package/build/runtime-cjs/router/server.d.ts +25 -0
- package/build/runtime-cjs/router/server.js +78 -0
- package/build/runtime-esm/client/documentStore.d.ts +1 -0
- package/build/runtime-esm/client/documentStore.js +42 -2
- package/build/runtime-esm/client/index.d.ts +14 -2
- package/build/runtime-esm/client/index.js +8 -2
- package/build/runtime-esm/lib/config.d.ts +19 -0
- package/build/runtime-esm/lib/config.js +8 -0
- package/build/runtime-esm/lib/types.d.ts +39 -0
- package/build/runtime-esm/router/cookies.d.ts +41 -0
- package/build/runtime-esm/router/cookies.js +143 -0
- package/build/runtime-esm/router/jwt.d.ts +117 -0
- package/build/runtime-esm/router/jwt.js +155 -0
- package/build/runtime-esm/router/server.d.ts +25 -0
- package/build/runtime-esm/router/server.js +53 -0
- package/build/test-cjs/index.js +324 -14973
- package/build/test-esm/index.js +328 -14977
- package/build/vite-cjs/index.js +1826 -16184
- package/build/vite-esm/index.js +1828 -16186
- package/package.json +10 -1
- package/build/lib/router/manifest.d.ts +0 -45
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { type Config } from '../';
|
|
1
|
+
import { type Config } from '../lib';
|
|
2
2
|
/** The location of the project's router */
|
|
3
3
|
export declare function router_path(config: Config): string;
|
|
4
4
|
/** The location of the page component */
|
|
5
5
|
export declare function page_entry_path(config: Config, id: string, base?: string): string;
|
|
6
6
|
export declare function render_client_path(config: Config, base?: string): string;
|
|
7
7
|
export declare function render_server_path(config: Config, base?: string): string;
|
|
8
|
+
export declare function render_yoga_path(config: Config, base?: string): string;
|
|
8
9
|
export declare function render_app_path(config: Config, base?: string): string;
|
|
9
10
|
export declare function page_unit_path(config: Config, id: string, base?: string): string;
|
|
10
11
|
export declare function layout_unit_path(config: Config, id: string, base?: string): string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Config } from '../lib';
|
|
2
|
+
import type { ProjectManifest, PageManifest, QueryManifest } from '../runtime/lib/types';
|
|
3
|
+
export type { ProjectManifest, PageManifest, QueryManifest };
|
|
4
|
+
/**
|
|
5
|
+
* Walk down the routes directory and build a normalized description of the project's
|
|
6
|
+
* filesystem.
|
|
7
|
+
*/
|
|
8
|
+
export declare function load_manifest(args: {
|
|
9
|
+
config: Config;
|
|
10
|
+
includeArtifacts?: boolean;
|
|
11
|
+
}): Promise<ProjectManifest>;
|
|
12
|
+
export declare function extractQueries(source: string): Promise<string[]>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import type { routerConventions } from '.';
|
|
2
|
-
import type { Config } from '../config';
|
|
1
|
+
import type { ProjectManifest, routerConventions } from '.';
|
|
2
|
+
import type { Config } from '../lib/config';
|
|
3
3
|
export type Adapter = (args: {
|
|
4
4
|
config: Config;
|
|
5
5
|
conventions: typeof routerConventions;
|
|
6
6
|
sourceDir: string;
|
|
7
7
|
publicBase: string;
|
|
8
8
|
outDir: string;
|
|
9
|
+
manifest: ProjectManifest;
|
|
9
10
|
}) => void | Promise<void>;
|