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

Functions

function say (msg:string, kind:'ok'| 'err'='ok')
function async call (method:'GET'| 'POST'| 'DELETE', path:string, body?:unknown)
function targetLine (t:TargetRow)
function approvalBlock (n:NodeRow)

Variables

 import { html, setHtml } from './html'
 Tools -> Nodes (Phase 34): the app side of unv node ..., over the hub's /api/nodes/* routes.
const $ = (id: string) => document.getElementById(id)!
project __pad0__
exporter __pad1__
mode __pad2__
apply __pad3__
status __pad4__
refusal __pad5__
error __pad6__
snapshot __pad7__
 The newest config-history snapshot whose hash the node reports (Phase 35).
at __pad8__
target __pad9__
sha256 __pad10__
status __pad11__
requested_at __pad12__
decided_by __pad13__
from_seq __pad14__
to_seq __pad15__
name __pad16__
fingerprint __pad17__
projects __pad18__
last_seen __pad19__
revoked_at __pad20__
host __pad21__
os __pad22__
arch __pad23__
version __pad24__
targets __pad25__
approval __pad26__
approvals __pad27__
listen __pad28__
 Set when the hub dials this node (Phase 34.1).
cert_sha256 __pad29__
last_polled __pad30__
const HELD

Function Documentation

◆ say()

function say ( msg:string,
kind:'ok'| 'err' = 'ok' )

◆ call()

function async call ( method:'GET'| 'POST'| 'DELETE',
path:string,
body?:unknown )

◆ targetLine()

function targetLine ( t:TargetRow)

◆ approvalBlock()

function approvalBlock ( n:NodeRow)

Variable Documentation

◆ import

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

Tools -> Nodes (Phase 34): the app side of unv node ..., over the hub's /api/nodes/* routes.

Nodes are managed on a server started with --nodes (a remote vault), or, in the desktop app, by its embedded hub for the local vault (R12); in a browser against a local vault the pane says so.

What it will not do: show a pull target's file. It is the node's own and holds its secrets, so it goes to a file through saveFile (the app's --out) and the toast names the path. An enrollment token is shown once, in the output box, and kept nowhere.

◆ $

const $ = (id: string) => document.getElementById(id)!

◆ __pad0__

project __pad0__

◆ __pad1__

exporter __pad1__

◆ __pad2__

mode __pad2__

◆ __pad3__

apply __pad3__

◆ __pad4__

status __pad4__

◆ __pad5__

refusal __pad5__

◆ __pad6__

error __pad6__

◆ __pad7__

snapshot __pad7__

The newest config-history snapshot whose hash the node reports (Phase 35).

◆ __pad8__

at __pad8__

◆ __pad9__

target __pad9__

◆ __pad10__

sha256 __pad10__

◆ __pad11__

status __pad11__

◆ __pad12__

requested_at __pad12__

◆ __pad13__

decided_by __pad13__

◆ __pad14__

from_seq __pad14__

◆ __pad15__

to_seq __pad15__

◆ __pad16__

name __pad16__

◆ __pad17__

fingerprint __pad17__

◆ __pad18__

projects __pad18__

◆ __pad19__

last_seen __pad19__

◆ __pad20__

revoked_at __pad20__

◆ __pad21__

host __pad21__

◆ __pad22__

os __pad22__

◆ __pad23__

arch __pad23__

◆ __pad24__

version __pad24__

◆ __pad25__

targets __pad25__

◆ __pad26__

approval __pad26__

◆ __pad27__

approvals __pad27__

◆ __pad28__

listen __pad28__

Set when the hub dials this node (Phase 34.1).

◆ __pad29__

cert_sha256 __pad29__

◆ __pad30__

last_polled __pad30__

◆ HELD

const HELD
Initial value:
= (n: NodeRow) =>
n.approval === 'device'
? html`<p class="tool-hint">Every push to this node needs a yes signed on your own device
const a
Definition utils.ts:284