d76000a1e4
- merge all APIPromise class - remove IServerAPI and IClientAPI - remove res Object, return [status, body] in ServerAPI instead - remove schema classes, use interface instead - `-s` flag for `ctx.state` interface path
18 lines
576 B
TypeScript
18 lines
576 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;
|
|
schemasName: string;
|
|
IHandlerName: string;
|
|
ClientAPIName: string;
|
|
routerName: string;
|
|
ServerAPITSPath: string;
|
|
utilsTSPath: string;
|
|
stateTSPath: string | null;
|
|
outputDir: string;
|
|
validateStatus: (status: string) => boolean;
|
|
}
|
|
export declare const configDefault: ConfigOptional;
|