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.
Files changed (36) hide show
  1. package/build/cmd-cjs/index.js +19080 -15237
  2. package/build/cmd-esm/index.js +19122 -15279
  3. package/build/codegen/transforms/addFields.d.ts +2 -0
  4. package/build/codegen/transforms/index.d.ts +1 -1
  5. package/build/codegen/transforms/paginate.d.ts +1 -1
  6. package/build/codegen-cjs/index.js +13151 -9312
  7. package/build/codegen-esm/index.js +15779 -11940
  8. package/build/lib/fs.d.ts +1 -2
  9. package/build/lib/graphql.d.ts +2 -2
  10. package/build/lib/router/server.d.ts +1 -1
  11. package/build/lib-cjs/index.js +8497 -4665
  12. package/build/lib-esm/index.js +8490 -4658
  13. package/build/runtime/cache/cache.d.ts +1 -1
  14. package/build/runtime/cache/lists.d.ts +3 -1
  15. package/build/runtime/router/types.d.ts +1 -1
  16. package/build/runtime-cjs/cache/cache.d.ts +1 -1
  17. package/build/runtime-cjs/cache/cache.js +31 -5
  18. package/build/runtime-cjs/cache/lists.d.ts +3 -1
  19. package/build/runtime-cjs/cache/lists.js +15 -1
  20. package/build/runtime-cjs/client/plugins/fetch.js +1 -1
  21. package/build/runtime-cjs/router/match.js +1 -1
  22. package/build/runtime-cjs/router/types.d.ts +1 -1
  23. package/build/runtime-esm/cache/cache.d.ts +1 -1
  24. package/build/runtime-esm/cache/cache.js +31 -5
  25. package/build/runtime-esm/cache/lists.d.ts +3 -1
  26. package/build/runtime-esm/cache/lists.js +15 -1
  27. package/build/runtime-esm/client/plugins/fetch.js +1 -1
  28. package/build/runtime-esm/router/match.js +1 -1
  29. package/build/runtime-esm/router/types.d.ts +1 -1
  30. package/build/test-cjs/index.js +12552 -8713
  31. package/build/test-esm/index.js +17371 -13532
  32. package/build/vite/ast.d.ts +8 -2
  33. package/build/vite-cjs/index.js +16944 -13090
  34. package/build/vite-esm/index.js +20040 -16186
  35. package/package.json +7 -4
  36. package/build/codegen/transforms/addID.d.ts +0 -2
@@ -1,10 +1,16 @@
1
- import type * as recast from 'recast';
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): FunctionDeclaration | FunctionExpression | ArrowFunctionExpression | null;
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 {};