@7nohe/openapi-react-query-codegen
Version:
OpenAPI React Query Codegen
9 lines (8 loc) • 361 B
text/typescript
import type { Project, SourceFile } from "ts-morph";
import type { FunctionDescription } from "./common.mjs";
export type Service = {
node: SourceFile;
methods: Array<FunctionDescription>;
};
export declare function getServices(project: Project): Promise<Service>;
export declare function getMethodsFromService(node: SourceFile): FunctionDescription[];