BetaBetacallbackA short-lived token that should be used to notify Sanity of sync tag invalidation routine completion. Recommended to use the done helper argument provided to the sync tag invalidate event handler instead of this token directly.
BetaclientOptionaltoken?: stringAn API token for use with the Sanity HTTP API. Note that it may be undefined if the user does not explicitly assign a Robot Token to their function definition.
BetaeventThe resource ID of the event source; resource ID that invoked the function.
BetaeventThe resource type of the event source; resource type that invoked the function.
BetafunctionThe resource ID of the function container; resource ID that houses the function.
BetafunctionThe resource type of the function container; resource type that houses the function.
Optional Betalocallocal is set to true when testing your function locally.
i.e. sanity function test func-name
Otherwise, the property is not set.
The context object passed to the sync tag invalidate event handler.