@sanity/desk-tool
Version:
Tool for managing all sorts of content in a structured manner
18 lines • 531 B
TypeScript
import { DocumentRemoteMutationVersionEvent, TransactionLogEvent } from './types';
import { Timeline } from './Timeline';
export declare type TraceEvent = {
type: 'initial';
publishedId: string;
} | {
type: 'addRemoteMutation';
event: DocumentRemoteMutationVersionEvent;
} | {
type: 'addTranslogEntry';
event: TransactionLogEvent;
} | {
type: 'didReachEarliestEntry';
} | {
type: 'updateChunks';
};
export declare function replay(events: TraceEvent[]): Timeline;
//# sourceMappingURL=replay.d.ts.map