v2 draft payload: the composer's Tiptap document (preserves reference badges, * which a Markdown round-trip would downgrade to plain links).
| 9 | /** v2 draft payload: the composer's Tiptap document (preserves reference badges, |
| 10 | * which a Markdown round-trip would downgrade to plain links). */ |
| 11 | interface PersistedDraftStateV2 { |
| 12 | doc: JSONContent |
| 13 | } |
| 14 | |
| 15 | const STORAGE_PREFIX = "codeg:message-input-draft:v1" |
| 16 | const STORAGE_PREFIX_V2 = "codeg:message-input-draft:v2" |
nothing calls this directly
no outgoing calls
no test coverage detected