Interface AnyAppDefinition

Describes a Connector.

interface AnyAppDefinition {
    actions?: Record<string, AnyActionDefinition>;
    auth: AnyAuthDefinition<AnyAppCredential>;
    http?: RequestHandler;
    name: string;
    triggers?: Record<string, AnyTriggerDefinition>;
}

Hierarchy

Properties

actions?: Record<string, AnyActionDefinition>

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

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

See

Auth

HTTP handler for this Connector.

name: string

Name of the App that will be displayed in UI

triggers?: Record<string, AnyTriggerDefinition>

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