Add initial config-driven triage webapp (backend + frontend)

This commit is contained in:
Dualmind-Assistant
2026-04-21 12:27:53 +00:00
parent 2da5d183aa
commit a1ccd568b0
824 changed files with 996177 additions and 35 deletions
+24
View File
@@ -0,0 +1,24 @@
'use strict'
let Node = require('./node')
class Declaration extends Node {
get variable() {
return this.prop.startsWith('--') || this.prop[0] === '$'
}
constructor(defaults) {
if (
defaults &&
typeof defaults.value !== 'undefined' &&
typeof defaults.value !== 'string'
) {
defaults = { ...defaults, value: String(defaults.value) }
}
super(defaults)
this.type = 'decl'
}
}
module.exports = Declaration
Declaration.default = Declaration