Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

ApiRequestContentType

ApiRequestContentType: "json" | "urlencoded" | "formdata"

ApiRequestMethod

ApiRequestMethod: "GET" | "PUT" | "POST" | "PATCH" | "DELETE"

AuthStateOptions

AuthStateOptions<AuthStateArgs>: ParentAuthStateOptions & { authStateCallback: any }

Type parameters

  • AuthStateArgs = unknown

DashboardCogMenuClickData

DashboardCogMenuClickData: RequireKeys<FeatureContext, "dashboard" | "menuItem">

DeprecatedUsage

DeprecatedUsage: DeprecatedEventUsage

EventHandler

EventHandler<T>: (data: T) => void

Type parameters

  • T = unknown

Type declaration

    • (data: T): void
    • Parameters

      • data: T

      Returns void

GetDashboardCogMenuItemsRequest

GetDashboardCogMenuItemsRequest: RequireKeys<FeatureContext, "dashboard">

GetWidgetContextMenuItemsRequest

GetWidgetContextMenuItemsRequest: RequireKeys<FeatureContext, "widget" | "widgetInteraction">

MenuItem

NotificationLevel

NotificationLevel: "success" | "warning" | "danger"

ParentAuthStateOptions

ParentAuthStateOptions: { requestTimeout?: number; totalTimeout?: number; url: string } & (AuthStateOptionsPollResolution | AuthStateOptionsMessageResolution | AuthStateOptionsCloseResolution)

RequestHandler

RequestHandler<Q, R>: (requestData: Q) => R

Type parameters

  • Q = unknown

  • R = unknown

Type declaration

    • (requestData: Q): R
    • Parameters

      • requestData: Q

      Returns R

WidgetContextMenuClickData

WidgetContextMenuClickData: RequireKeys<FeatureContext, "widget" | "widgetInteraction" | "menuItem">

WidgetOptionItem

Variables

FramePostClientSettings

FramePostClientSettings: Readonly<{ DEBUG: boolean; HANDSHAKE_TIMEOUT: number; HANDSHAKE_TIMEOUT_DEV_MODE: number; REQUEST_TIMEOUT: number }> = ...

enabledEvents

enabledEvents: Set<EventType> = ...

Functions

Const init

  • Initializes a client, or returns an existing one if already initialized. User can provide an optional callback to b de executed with app context data when it is sent from the parent.

    Type parameters

    • AuthStateArgs = unknown

    Parameters

    Returns DDClient<AuthStateArgs>

Const resolveAuthFlow

  • resolveAuthFlow<AuthStateArgs>(state: AuthState<AuthStateArgs>): void

Generated using TypeDoc