Webhook

A description of an existing webhook that Lucid is keeping track of.


Constructors

new Webhook()

new Webhook(documentCollections, webhookData): Webhook

Parameters

ParameterTypeDescription
documentCollectionsobjectSet of items this webhook is tracking as a Record<CollectionId, ItemPrimaryKey[]>
webhookDataunknownArbitrary extra data to allow the data connector to better identitify the webhook.

Returns

Webhook


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.