houdini 1.4.0 → 1.4.2
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 +19080 -15237
- package/build/cmd-esm/index.js +19122 -15279
- package/build/codegen/transforms/addFields.d.ts +2 -0
- package/build/codegen/transforms/index.d.ts +1 -1
- package/build/codegen/transforms/paginate.d.ts +1 -1
- package/build/codegen-cjs/index.js +13151 -9312
- package/build/codegen-esm/index.js +15779 -11940
- package/build/lib/fs.d.ts +1 -2
- package/build/lib/graphql.d.ts +2 -2
- package/build/lib/router/server.d.ts +1 -1
- package/build/lib-cjs/index.js +8497 -4665
- package/build/lib-esm/index.js +8490 -4658
- package/build/runtime/cache/cache.d.ts +1 -1
- package/build/runtime/cache/lists.d.ts +3 -1
- package/build/runtime/router/types.d.ts +1 -1
- package/build/runtime-cjs/cache/cache.d.ts +1 -1
- package/build/runtime-cjs/cache/cache.js +31 -5
- package/build/runtime-cjs/cache/lists.d.ts +3 -1
- package/build/runtime-cjs/cache/lists.js +15 -1
- package/build/runtime-cjs/client/plugins/fetch.js +1 -1
- package/build/runtime-cjs/router/match.js +1 -1
- package/build/runtime-cjs/router/types.d.ts +1 -1
- package/build/runtime-esm/cache/cache.d.ts +1 -1
- package/build/runtime-esm/cache/cache.js +31 -5
- package/build/runtime-esm/cache/lists.d.ts +3 -1
- package/build/runtime-esm/cache/lists.js +15 -1
- package/build/runtime-esm/client/plugins/fetch.js +1 -1
- package/build/runtime-esm/router/match.js +1 -1
- package/build/runtime-esm/router/types.d.ts +1 -1
- package/build/test-cjs/index.js +12552 -8713
- package/build/test-esm/index.js +17371 -13532
- package/build/vite/ast.d.ts +8 -2
- package/build/vite-cjs/index.js +16944 -13090
- package/build/vite-esm/index.js +20040 -16186
- package/package.json +7 -4
- package/build/codegen/transforms/addID.d.ts +0 -2
package/build/vite/ast.d.ts
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as recast from 'recast';
|
|
2
2
|
type Statement = recast.types.namedTypes.Statement;
|
|
3
3
|
type Program = recast.types.namedTypes.Program;
|
|
4
|
+
type ExportNamedDeclaration = recast.types.namedTypes.ExportNamedDeclaration;
|
|
4
5
|
type FunctionDeclaration = recast.types.namedTypes.FunctionDeclaration;
|
|
6
|
+
type Identifier = recast.types.namedTypes.Identifier;
|
|
5
7
|
type ArrowFunctionExpression = recast.types.namedTypes.ArrowFunctionExpression;
|
|
6
8
|
type FunctionExpression = recast.types.namedTypes.FunctionExpression;
|
|
9
|
+
type CallExpression = recast.types.namedTypes.CallExpression;
|
|
7
10
|
export declare function find_insert_index(script: Program): number;
|
|
8
|
-
export declare function find_exported_fn(body: Statement[], name: string):
|
|
11
|
+
export declare function find_exported_fn(body: Statement[], name: string): {
|
|
12
|
+
declaration: FunctionDeclaration | FunctionExpression | ArrowFunctionExpression | null | Identifier | CallExpression;
|
|
13
|
+
export: ExportNamedDeclaration;
|
|
14
|
+
} | null;
|
|
9
15
|
export declare function find_exported_id(program: Program, name: string): recast.types.namedTypes.ExportNamedDeclaration | undefined;
|
|
10
16
|
export {};
|