Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

FacetConfig

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

Type declaration

HandleFunction

HandleFunction: (context: Context) => boolean

Type declaration

RepresentationConfig

RepresentationConfig: { call?: HandleFunction; construct?: HandleFunction; describe?: HandleFunction; erase?: HandleFunction; functions?: { call?: HandleFunction; construct?: HandleFunction; describe?: HandleFunction; erase?: HandleFunction; modify?: HandleFunction; present?: HandleFunction } | object; modify?: HandleFunction; present?: HandleFunction }

Type declaration

RouteConfig

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

Type declaration

Variables

arguments

arguments: {}

Type declaration

  • [key: string]: string

defaultNotFound

defaultNotFound: Handler

globals

globals: {}

Type declaration

  • [key: string]: any

log

log: Logger

Functions

atob

  • atob(base64: string): any

btoa

  • btoa(bytes: any): string

bytesToString

  • bytesToString(bytes: any): string

decode

  • decode(code: string, format: string, all?: boolean): any
  • Parameters

    • code: string
    • format: string
    • Optional all: boolean

    Returns any

deepCopy

  • deepCopy(value: any): any

deepEquals

  • deepEquals(a: any, b: any): boolean

download

  • download(sourceUrl: string, targetPath: string): void
  • Parameters

    • sourceUrl: string
    • targetPath: string

    Returns void

encode

  • encode(value: any, format: string, indent?: string, writer?: any): void
  • Parameters

    • value: any
    • format: string
    • Optional indent: string
    • Optional writer: any

    Returns void

escapeHtml

  • escapeHtml(text: string): string

exec

  • exec(name: string, ...args: any[]): string
  • Parameters

    • name: string
    • Rest ...args: any[]

    Returns string

go

  • go(f: () => void): void
  • Parameters

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

    Returns void

hash

  • hash(value: any): string

invalidateCacheGroup

  • invalidateCacheGroup(group: string): void

isType

  • isType(value: any, type: string): boolean
  • Parameters

    • value: any
    • type: string

    Returns boolean

joinFilePath

  • joinFilePath(...elements: any[]): string
  • Parameters

    • Rest ...elements: any[]

    Returns string

loadBytes

  • loadBytes(id: string): any

loadString

  • loadString(id: string): string

mutex

newXmlDocument

  • newXmlDocument(): any

now

  • now(): any

once

  • once(name: string, f: () => void): void
  • Parameters

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

    Returns void

render

  • render(text: string, renderer: string): string
  • Parameters

    • text: string
    • renderer: string

    Returns string

schedule

  • schedule(cronPattern: string, f: () => void): void
  • Parameters

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

    Returns void

setCache

setScheduler

sprintf

  • sprintf(f: string, ...args: any[]): string
  • Parameters

    • f: string
    • Rest ...args: any[]

    Returns string

start

stringToBytes

  • stringToBytes(s: string): any

temporaryDirectory

  • temporaryDirectory(pattern: string, directory?: string): string
  • Parameters

    • pattern: string
    • Optional directory: string

    Returns string

temporaryFile

  • temporaryFile(pattern: string, directory?: string): string
  • Parameters

    • pattern: string
    • Optional directory: string

    Returns string

unescapeHtml

  • unescapeHtml(text: string): string

validateFormat

  • validateFormat(code: string, format: string): void
  • Parameters

    • code: string
    • format: string

    Returns void

Generated using TypeDoc