Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @webda/core

Type aliases

HttpMethodType: "GET" | "OPTIONS" | "POST" | "PUT" | "PATCH" | "DELETE"

Variables

CacheService: MethodCacheService = new MethodCacheService()
Cron: Annotation = CronService.Annotation

Functions

  • AclPolicyMixIn(Sup: any): (Anonymous class)
  • Bean(constructor: Function): void
  • Model(constructor: Function): void
  • Route(route: string, methods?: string | string[], allowPath?: boolean, openapi?: any): (Anonymous function)
  • Parameters

    • route: string
    • Default value methods: string | string[] = ["GET"]
    • Default value allowPath: boolean = false
    • Default value openapi: any = {}

    Returns (Anonymous function)

Object literals

FileUtils: object
  • getPath(param: string, src?: string): string
JSONUtils: object
  • duplicate(value: any): any
  • loadFile(filename: any): any
  • parse(value: any): any
  • stringify(value: any, replacer?: function, space?: number | string): string

Generated using TypeDoc