- defineApp<Name, Credential, Actions, Triggers>(definition): AppDefinition<Name, Credential, Actions, Triggers>
Type Parameters
Name extends string = string
Actions extends undefined | Record<string, ActionDefinition<string, any, Credential>> = undefined | Record<string, ActionDefinition<string, any, Credential>>
Triggers extends undefined | Record<string, PollingTriggerDefinition<string, Credential, any, any, any> | PushTriggerDefinition<string, Credential, any, any> | WebhookTriggerDefinition<string, Credential, any, any, any, any>> = undefined | Record<string, PollingTriggerDefinition<string, Credential, any, any, any> | PushTriggerDefinition<string, Credential, any, any> | WebhookTriggerDefinition<string, Credential, any, any, any, any>>
Returns AppDefinition<Name, Credential, Actions, Triggers>
Used to define a Connector.