UnENVerse 0.84.0
Local-first desktop secrets manager — TypeScript frontend
Loading...
Searching...
No Matches
codes-editor.ts File Reference

Variables

 import { html, setHtml } from './html'
 The recovery codes list in the entry form: one row per code with a "used" tick and the time it was used.
const list = (): HTMLElement | null => document.getElementById('f-codes-list')

Variable Documentation

◆ import

import { html, setHtml } from './html'

The recovery codes list in the entry form: one row per code with a "used" tick and the time it was used.

It reads and writes the same codes text as recovery-codes.ts (one code per line, a used one followed by a tab and USED <time>), so any entry can carry codes beside its password and 2FA seed. A used time that was not touched is written back exactly as it was read.

◆ list

const list = (): HTMLElement | null => document.getElementById('f-codes-list')