Sanity Library Reference Docs
    Preparing search index...

    Interface SyncTagInvalidateEventBeta

    The event object received by the function handler in the case of a sync-tag-invalidate event.

    interface SyncTagInvalidateEvent {
        data: { syncTags: string[] };
    }
    Index

    Properties

    Properties

    data: { syncTags: string[] }

    The sync tags for use with cache invalidation and notifying the callback endpoint once tags are invalidated.

    Type declaration

    • syncTags: string[]

      Array of sync tags to be invalidated.