(_options?: EditHistoryOptions)
| 73 | } |
| 74 | |
| 75 | export function createEmptyEditHistory(_options?: EditHistoryOptions): EditHistoryState { |
| 76 | return { |
| 77 | version: 1, |
| 78 | updatedAt: 0, |
| 79 | undo: [], |
| 80 | redo: [], |
| 81 | }; |
| 82 | } |
| 83 | |
| 84 | export function buildEditHistoryEntry(input: BuildEditHistoryEntryInput): EditHistoryEntry { |
| 85 | const files: Record<string, EditHistoryFileSnapshot> = {}; |
no outgoing calls
no test coverage detected