UnENVerse 0.42.6
Local-first desktop secrets manager — TypeScript frontend
Loading...
Searching...
No Matches
templates.ts File Reference

Secret templates (item 23) — predefined field presets for common services. More...

import type;
Include dependency graph for templates.ts:

Variables

export interface SecretTemplate
 
name __pad0__
 
icon __pad1__
 
category __pad2__
 
secretType __pad3__
 
defaults __pad4__
 
requiredFields __pad5__
 
hints __pad6__
 
hints string
 
export const SECRET_TEMPLATES
 The presets live in secret-templates.json at the repo root, read here and by vault_core::templates (include_str!), so unv entry add --template and this pane can never offer different presets.
 

Detailed Description

Secret templates (item 23) — predefined field presets for common services.

Variable Documentation

◆ SecretTemplate

export interface SecretTemplate
Initial value:
{
id: string

◆ __pad0__

name __pad0__

◆ __pad1__

icon __pad1__

◆ __pad2__

category __pad2__

◆ __pad3__

secretType __pad3__

◆ __pad4__

defaults __pad4__

◆ __pad5__

requiredFields __pad5__

◆ __pad6__

hints __pad6__

◆ string

hints string

◆ SECRET_TEMPLATES

export const SECRET_TEMPLATES
Initial value:
= (templatesJson as unknown as { templates: SecretTemplate[] })
.templates
export interface SecretTemplate
Definition templates.ts:9

The presets live in secret-templates.json at the repo root, read here and by vault_core::templates (include_str!), so unv entry add --template and this pane can never offer different presets.

Same one-file shape as secret-types.json; no parity fixture is needed because there is one copy.