Archived
1
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
api-ts-gen/dist/Config.js

24 lines
650 B
JavaScript
Raw Normal View History

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.configDefault = {
// format
interfacePrefix: 'I',
indentString: ' ',
responsePrefix: '',
// name
schemasName: 'schemas',
IHandlerName: 'IHandler',
IServerAPIName: 'IServerAPI',
IClientAPIName: 'IClientAPI',
ClientAPIName: 'ClientAPI',
routerName: 'apiRouter',
// TS path
apiDirTSPath: '#api',
ServerAPITSPath: '#ServerAPI',
utilsTSPath: 'api-codegen-ts/utils',
stateTSPath: null,
// other
outputDir: 'api/generated',
validateStatus: function (status) { return /^2..$/.test(status); },
};