hey-api-builders
Version:
A custom plugin for @hey-api/openapi-ts that wraps JSON Schema Faker to generate builders.
15 lines (14 loc) • 544 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.defineConfig = exports.defaultConfig = void 0;
const plugin_1 = require("./plugin");
exports.defaultConfig = {
_dependencies: ['@hey-api/schemas', '@hey-api/typescript'],
_handler: plugin_1.handler,
_handlerLegacy: () => { },
name: 'hey-api-builders',
output: 'builders',
exportFromIndex: true,
};
const defineConfig = (config) => (Object.assign(Object.assign({}, exports.defaultConfig), config));
exports.defineConfig = defineConfig;