pprompt-optimizerSource ↗
30 declarations and 49 call references extracted from public source metadata.

Source symbols: packages/ui/src/services/VariableManager.ts

Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.

  • Revision: develop@0c3679511d5c61dcdbb92777e62f315f16d7d378 · 2026-07-18T10:13:54Z
  • Declarations: 30
  • Referenced calls: 49

Declared symbols

  • IVariableManager — type at line 13
  • VariableStorage — type at line 14
  • ConversationMessage — type at line 15
  • VariableSource — type at line 16
  • PredefinedVariable — type at line 17
  • STORAGE_KEYS — const at line 21
  • ScanCacheEntry — interface at line 29
  • createVariableManager — exported function at line 45; references VariableManager, waitForInitialization
  • manager — const at line 48; references VariableManager, waitForInitialization
  • VariableManager — exported class at line 59; references Map, constructor, loadFromStorage, waitForInitialization, setOnDataLoaded, setVariable, validateVariableName, getVariableNameValidationError, VariableError, isPredefinedVariable, saveToStorage, getVariable, deleteVariable, listVariables, resolveAllVariables, for, call, String, isValidVariableName, scanVariablesInContent
  • reason — const at line 93; references getVariableNameValidationError
  • reasonText — const at line 94
  • predefinedValues — const at line 167
  • value — const at line 173; references String
  • variables — const at line 196; references warn
  • matches — const at line 204; references matchAll, for, trim, test, isValidVariableName, includes, push
  • variableName — const at line 208; references trim, test
  • variables — const at line 259; references resolveAllVariables, scanVariablesInContent, add
  • usedVariables — const at line 260; references scanVariablesInContent, add
  • foundVariables — const at line 264; references scanVariablesInContent, add
  • foundVariables — const at line 269; references scanVariablesInContent, add, from, String, trim, replaceVariables, resolveAllVariables, replace, test, isValidVariableName
  • finalVariables — const at line 282; references resolveAllVariables, replace, trim, test, isValidVariableName, String
  • trimmedName — const at line 285; references trim, test, isValidVariableName, String, loadFromStorage, for, entries, validateVariableName, _onDataLoaded, warn
  • value — const at line 291; references String, loadFromStorage, for, entries, validateVariableName, _onDataLoaded, warn
  • storage — const at line 301
  • sanitized — const at line 315
  • storage — const at line 337
  • exportData — const at line 352; references Date, toISOString
  • data — const at line 363; references parse, for, entries, validateVariableName
  • errorMessage — const at line 380; references String, VariableError, getStatistics, keys

Imported modules

  • @prompt-optimizer/core
  • ../types/variable

File-level call references


Source: packages/ui/src/services/VariableManager.ts

Generated by smolify with deterministic-repository-import-v2 · 1 source file