Class TemplateService<ApiHandlerParameters, ValidationArgsParameters, ReturnHandlerParameters>Abstract
Type Parameters
- ApiHandlerParameters
- ValidationArgsParameters
- ReturnHandlerParameters
Properties
Protected
Readonly
config
Protected
Readonly
models
Protected
validationService
Methods
Abstract
apiHandler
- apiHandler(params): Promise<any>
Returns Promise<any>
Protected
buildPromise
- buildPromise(methodName, controller, validatedArgs): any
Parameters
- methodName: string
- controller: Object | Controller
- validatedArgs: any
Returns any
Abstract
getValidatedArgs
- getValidatedArgs(params): any[]
Returns any[]
Protected
isController
- isController(object): object is Controller
Protected
Abstract
returnHandler
- returnHandler(params): any
Returns any