@lonu/stc
Version:
A tool for converting OpenApi/Swagger/Apifox into code.
11 lines • 674 B
TypeScript
import type { IPathVirtualProperty } from "../swagger.js";
import type { IPluginOptions } from "./typeDeclaration.js";
/**
* Parses actions from the given data and generates a map of action content.
*
* @param {Map<string, IPathVirtualProperty>} data - The data to parse actions from.
* @param {string} defFileName - The name of the definition file.
* @return {Map<string, string>} A map of action content where the key is the action file name and the value is the action content.
*/
export declare const parserActions: (data: Map<string, IPathVirtualProperty>, defFileName: string, options: IPluginOptions) => Map<string, string>;
//# sourceMappingURL=action.d.ts.map