Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

FacetConfig: { name?: string; paths?: string | string[]; redirectTrailingSlashStatus?: number; representations?: RepresentationConfig | RepresentationConfig[]; variables?: {} }

Type declaration

  • Optional name?: string
  • Optional paths?: string | string[]
  • Optional redirectTrailingSlashStatus?: number
  • Optional representations?: RepresentationConfig | RepresentationConfig[]
  • Optional variables?: {}
    • [key: string]: any
HandleFunction: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

RepresentationConfig: { call?: RepresentationHook; charSet?: string; contentTypes?: string | string[]; describe?: RepresentationHook; erase?: RepresentationHook; hooks?: { call?: RepresentationHook; describe?: RepresentationHook; erase?: RepresentationHook; modify?: RepresentationHook; prepare?: RepresentationHook; present?: RepresentationHook }; languages?: string | string[]; modify?: RepresentationHook; name?: string; prepare?: RepresentationHook; present?: RepresentationHook; redirectTrailingSlash?: boolean; redirectTrailingSlashStatus?: number; variables?: {} }

Type declaration

RepresentationHook: (() => void)

Type declaration

    • (): void
    • Returns void

RouteConfig: { handler?: Handler | HandleFunction; name?: string; paths?: string | string[]; redirectTrailingSlashStatus?: number; variables?: {} }

Type declaration

  • Optional handler?: Handler | HandleFunction
  • Optional name?: string
  • Optional paths?: string | string[]
  • Optional redirectTrailingSlashStatus?: number
  • Optional variables?: {}
    • [key: string]: any

Variables

dataContentTypes: string[]

Functions

  • invalidateCacheGroup(group: string): void
  • notFound(): boolean
  • redirectTrailingSlash(): boolean
  • schedule(cronPattern: string, f: (() => void)): void
  • Parameters

    • cronPattern: string
    • f: (() => void)
        • (): void
        • Returns void

    Returns void

Generated using TypeDoc