Interface IContext

interface IContext {
    $groupId?: number;
    api: API;
    payload: object;
    state: ContextDefaultState;
    subTypes: string[];
    type: string;
    upload: Upload;
    get [toStringTag](): string;
    [kSerializeData](): object;
    is(rawTypes): boolean;
    toJSON(): object;
    [key: string]: any;
}

Hierarchy

  • Context
    • IContext

Indexable

[key: string]: any

Properties

$groupId?: number
api: API
payload: object
state: ContextDefaultState
subTypes: string[]
type: string
upload: Upload

Accessors

  • get [toStringTag](): string
  • Returns custom tag

    Returns string

Methods

  • Returns the custom data

    Returns object

  • Checks whether the context of some of these types

    Parameters

    • rawTypes: string[]

    Returns boolean

  • Returns data for JSON

    Returns object

Generated using TypeDoc