UNPKG

@kubb/core

Version:

Core functionality for Kubb's plugin-based code generation system, providing the foundation for transforming OpenAPI specifications.

35 lines (34 loc) 846 B
import { t as __name } from "./chunk-iVr_oF3V.js"; import { f as Plugin, t as BarrelType } from "./types-HnfIY5rU.js"; import { KubbFile } from "@kubb/fabric-core/types"; //#region src/utils/getBarrelFiles.d.ts type FileMetaBase = { pluginKey?: Plugin['key']; }; type AddIndexesProps = { type: BarrelType | false | undefined; /** * Root based on root and output.path specified in the config */ root: string; /** * Output for plugin */ output: { path: string; }; group?: { output: string; exportAs: string; }; meta?: FileMetaBase; }; declare function getBarrelFiles(files: Array<KubbFile.ResolvedFile>, { type, meta, root, output }: AddIndexesProps): Promise<KubbFile.File[]>; //#endregion export { getBarrelFiles as n, FileMetaBase as t }; //# sourceMappingURL=getBarrelFiles-BP1vIdIB.d.ts.map