A description of an existing webhook that Lucid is keeping track of.
Constructors
new Webhook()
new Webhook(documentCollections, webhookData): Webhook
Parameters
| Parameter | Type | Description |
|---|---|---|
documentCollections | object | Set of items this webhook is tracking as a Record<CollectionId, ItemPrimaryKey[]> |
webhookData | unknown | Arbitrary extra data to allow the data connector to better identitify the webhook. |
Returns
Properties
documentCollections
documentCollections: object;
Set of items this webhook is tracking as a Record<CollectionId, ItemPrimaryKey[]>
Index signature
[collectionId: CollectionId]: ItemPrimaryKey[]
webhookData
webhookData: unknown;
Arbitrary extra data to allow the data connector to better identitify the webhook.