(
key: IntegrationTaskKey,
{
baseId,
url,
webhookId,
options,
}: { baseId: string; url: string; webhookId: string; options: WebhookSpecification }
)
| 182 | } |
| 183 | |
| 184 | async update( |
| 185 | key: IntegrationTaskKey, |
| 186 | { |
| 187 | baseId, |
| 188 | url, |
| 189 | webhookId, |
| 190 | options, |
| 191 | }: { baseId: string; url: string; webhookId: string; options: WebhookSpecification } |
| 192 | ) { |
| 193 | await this.delete(`${key}-delete`, { baseId, webhookId }); |
| 194 | return await this.create(`${key}-create`, { baseId, url, options }); |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | type AirtableEvents = (typeof events)[keyof typeof events]; |
no test coverage detected