75674df502
ClientAPI: use Axios ServerAPI: use @koa/router FullDate: wrapped Date only class APIPromise: enhanced Promise on api response application/json only(multipart/*, image/*, ... are not supported) get, post, put, delete, patch only
22 lines
686 B
TypeScript
22 lines
686 B
TypeScript
export declare type Config = ConfigRequired & ConfigOptional;
|
|
export declare type ConfigUser = ConfigRequired & Partial<ConfigOptional>;
|
|
export interface ConfigRequired {
|
|
}
|
|
export interface ConfigOptional {
|
|
interfacePrefix: string;
|
|
indentString: string;
|
|
responsePrefix: string;
|
|
schemasName: string;
|
|
IHandlerName: string;
|
|
IServerAPIName: string;
|
|
IClientAPIName: string;
|
|
ClientAPIName: string;
|
|
routerName: string;
|
|
apiDirTSPath: string;
|
|
ServerAPITSPath: string;
|
|
utilsTSPath: string;
|
|
stateTSPath: string | null;
|
|
outputDir: string;
|
|
validateStatus: (status: string) => boolean;
|
|
}
|
|
export declare const configDefault: ConfigOptional;
|