Sanity Library Reference Docs
    Preparing search index...

    Function validateDocumentWebhook

    • Validates that the given resource is a valid Document Webhook.

      Parameters

      • resource: unknown

        The Document Webhook resource

      Returns BlueprintError[]

      A list of validation errors