@uiwwsw/react-query-helper 0.1.2 → 0.1.4

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.
@@ -0,0 +1,8 @@
1
+ export interface AutoQueryConfig {
2
+ sourceDir: string;
3
+ outputDir: string;
4
+ templateDir?: string;
5
+ ignoredFiles?: string[];
6
+ }
7
+ export declare function loadConfig(): Promise<AutoQueryConfig>;
8
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AASD,wBAAsB,UAAU,IAAI,OAAO,CAAC,eAAe,CAAC,CAoB3D"}
@@ -0,0 +1,7 @@
1
+ export interface FunctionInfo {
2
+ name: string;
3
+ parameters: string[];
4
+ isAsync: boolean;
5
+ }
6
+ export declare function analyzeFile(filePath: string): FunctionInfo[];
7
+ //# sourceMappingURL=analyzer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analyzer.d.ts","sourceRoot":"","sources":["../../src/core/analyzer.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,YAAY,EAAE,CAqC5D"}
@@ -0,0 +1,8 @@
1
+ import type { FunctionInfo } from "./analyzer";
2
+ interface GenerateOptionsParams {
3
+ keySegments: string[];
4
+ templateImportPath: string;
5
+ }
6
+ export declare function generateOptionsCode(functionInfos: FunctionInfo[], importPath: string, { keySegments, templateImportPath }: GenerateOptionsParams): string;
7
+ export {};
8
+ //# sourceMappingURL=generator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../src/core/generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,UAAU,qBAAqB;IAC7B,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,YAAY,EAAE,EAC7B,UAAU,EAAE,MAAM,EAClB,EAAE,WAAW,EAAE,kBAAkB,EAAE,EAAE,qBAAqB,GACzD,MAAM,CAqBR"}