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

Functions

 for (const t of all)
function export glossaryTerms ()
function export categories ()
function export findTerm (name:string)
 The term a name means: its id, its title, or a name it goes by.

Variables

import file from glossary terms json
 The glossary (R44): what every term in the app means, from the one file the website page and unv glossary are built from (glossary/terms.json).
export interface GlossaryTerm
term __pad0__
category __pad1__
aliases __pad2__
definition __pad3__
general __pad4__
example __pad5__
see_also __pad6__
const all = (file as { terms: GlossaryTerm[] }).terms
const norm = (s: string): string => s.toLowerCase().replace(/[^a-z0-9]+/g, '')
 Letters and digits only, lower case: api_key, API Key and api-key are one name.
const byName = new Map<string, GlossaryTerm>()

Function Documentation

◆ for()

for ( const t of all)

◆ glossaryTerms()

function export glossaryTerms ( )

◆ categories()

function export categories ( )

◆ findTerm()

function export findTerm ( name:string)

The term a name means: its id, its title, or a name it goes by.

The definition for a form field name such as api_secret, if the glossary has one. Terms matching a search: every word must appear in the title, a name or the definition. Title hits come first, then name hits, then definition hits.

Variable Documentation

◆ json

import file from glossary terms json

The glossary (R44): what every term in the app means, from the one file the website page and unv glossary are built from (glossary/terms.json).

Loaded on demand, so the main bundle does not carry it.

◆ GlossaryTerm

export interface GlossaryTerm
Initial value:
{
id: string

◆ __pad0__

term __pad0__

◆ __pad1__

category __pad1__

◆ __pad2__

aliases __pad2__

◆ __pad3__

definition __pad3__

◆ __pad4__

general __pad4__

◆ __pad5__

example __pad5__

◆ __pad6__

see_also __pad6__

◆ all

const all = (file as { terms: GlossaryTerm[] }).terms

◆ norm

const norm = (s: string): string => s.toLowerCase().replace(/[^a-z0-9]+/g, '')

Letters and digits only, lower case: api_key, API Key and api-key are one name.

◆ byName

const byName = new Map<string, GlossaryTerm>()