Interface AppDefinition<Name, Credential, Actions, Triggers>

Describes a Connector.

interface AppDefinition {
    actions?: Actions;
    auth: AnyAuthDefinition<Credential>;
    description?: string;
    http?: RequestHandler;
    name: Name;
    tags?: Tag[];
    triggers?: Triggers;
}

Type Parameters

Hierarchy

Properties

actions?: Actions

An object containing Actions for this Connector, where keys correspond to actionKey and values are action definitions returned from defineAction function.

auth: AnyAuthDefinition<Credential>

Authorization definition for this Connector, or false if no auth is required.

See

Auth

description?: string

HTTP handler for this Connector.

name: Name

Name of the App that will be displayed in UI

tags?: Tag[]
triggers?: Triggers

An object containing Triggers for this Connector, where keys correspond to triggerKey and values are trigger definitions returned from defineWebhookTrigger, definePollingTrigger, or definePushTrigger function.