|
UnENVerse 0.84.0
Local-first desktop secrets manager — TypeScript frontend
|
Variables | |
| import | type { SecretType } from './types' |
| Which optional fields matter for which secret type, and what the shared ones are called there. | |
| export interface | FieldSchema |
| urlPlaceholder | __pad0__ |
| callback | __pad1__ |
| Offer the callback URL (OAuth and webhook flows only). | |
| scopes | __pad2__ |
| Offer scopes / permissions. | |
| rate | __pad3__ |
| Offer a rate limit. | |
| const | DEFAULT |
| const | urlPlaceholder |
| const | scopes |
| const | rate |
| const const | none = { callback: false, scopes: false, rate: false } |
| const | BY_TYPE |
| import type { SecretType } from './types' |
Which optional fields matter for which secret type, and what the shared ones are called there.
api_url, callback_url, scopes and rate_limit are one set of stored fields used by every type, but they mean different things: for a browser session api_url is the site, for a database it is the server, for a password the login page. The stored name stays (renaming it would break every vault and the CLI); what changes is the label the form shows and whether a field is offered at all.
A field is only ever hidden while it is empty. An entry that already holds a value in it shows the field whatever its type says (invariant 7: a hidden control is not a gate, and a stored value must stay reachable).
| export interface FieldSchema |
| urlPlaceholder __pad0__ |
| callback __pad1__ |
Offer the callback URL (OAuth and webhook flows only).
| scopes __pad2__ |
Offer scopes / permissions.
| rate __pad3__ |
Offer a rate limit.
| const DEFAULT |
| const urlPlaceholder |
| const scopes |
| const rate |
| const const none = { callback: false, scopes: false, rate: false } |
| const BY_TYPE |