Options
All
  • Public
  • Public/Protected
  • All
Menu

Module routes/template

Index

Variables

notOwnerError: ApiError = ...

Functions

  • createTemplate(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>): Promise<Responses.Template>
  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

    Returns Promise<Responses.Template>

  • deleteTemplate(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>): Promise<Responses.Empty>
  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

    Returns Promise<Responses.Empty>

  • getAllTemplates(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>): Promise<Responses.TemplateList>
  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

    Returns Promise<Responses.TemplateList>

  • getRouter(): express.Router
  • getSingleTemplate(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>): Promise<Responses.Template>
  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

    Returns Promise<Responses.Template>

  • updateTemplate(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>): Promise<Responses.Template>
  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

    Returns Promise<Responses.Template>

Generated using TypeDoc