Interface AnyAppDefinition
interface AnyAppDefinition {
actions?: Record<string, AnyActionDefinition>;
auth: AnyAuthDefinition<AnyAppCredential>;
description?: string;
http?: RequestHandler;
name: string;
tags?: Tag[];
triggers?: Record<string, AnyTriggerDefinition>;
}
actions?: Record<string, AnyActionDefinition>;
auth: AnyAuthDefinition<AnyAppCredential>;
description?: string;
http?: RequestHandler;
name: string;
tags?: Tag[];
triggers?: Record<string, AnyTriggerDefinition>;
}
Hierarchy
- AppDefinition<string, AnyAppCredential, Record<string, AnyActionDefinition> | undefined, Record<string, AnyTriggerDefinition> | undefined>
- AnyAppDefinition
Properties
Optional actions
An object containing Actions for this Connector,
where keys correspond to actionKey
and values are action definitions returned from defineAction function.
See
auth
Authorization definition for this Connector, or false if no auth is required.
See
Optional description
description?: string
Optional http
HTTP handler for this Connector.
name
name: string
Name of the App that will be displayed in UI
Optional tags
tags?: Tag[]
Optional 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.
Describes a Connector.