Class Apiker

Apiker class definition. ⚠️ Please do not instantiate this class and use the "apiker" exported instance instead.

Constructors

Properties

adminPanel: boolean
authRoutes: boolean
controllers: Controllers = {}
ctx: any
debug: boolean = false
defaultObjectName: string = "Common"
email?: EmailOptions
env: any
firewall: boolean | Firewall
name: string = "Apiker"
objectStateMapping: ObjectStateMapping
objectVersion: string = "V1"
objects: string[]
requestParams: RequestParams
responseHeaders: Headers
responseParams: ResponseParams = ...
routes: Routes = {}
timings: Timings = {}

Methods

  • Creates a durable object class definition

    Parameters

    • objectName: string

    Returns typeof __class

Generated using TypeDoc