UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

16 lines (13 loc) 382 B
import {defineEvent} from '@sanity/telemetry' interface TypeInfo { liveEditResolveType: 'publish' | 'discard' } /** * When a draft in a live edit document is published * @internal */ export const ResolvedLiveEdit = defineEvent<TypeInfo>({ name: 'LiveEdit Draft Resolved', version: 1, description: 'User resolved a draft of a live edit document to continue editing', })