RMT Reference: Enums und Catalogs
Diese Seite listet feste Werte, die in Operatoren verwendet werden.
Syntax
Allowed contexts
Catalog-Werte stehen in Clauses, die statische Werte erwarten. Sie sind keine JavaScript-Enums und werden nicht importiert.
Parameters
Alle Werte sind literal im RMT-Quelltext. Trust Boundaries werden als Strings geschrieben, die übrigen Werte meist als Identifier.
Description
Catalogs halten Authoring stabil und prüfbar. Neue Werte brauchen Tooling-, Docs- und Testabdeckung.
Examples
template reference.catalogs {
resource preview.file kind object-url owner surface.preview
overlay notice kind toast portal app.root
portal app.root root "#app" layer surface
transition preview.open {
trigger action preview.show
from surfaces [preview.closed]
to surfaces [preview.open]
effect crossfade
durationMs 160
easing "ease-out"
lane transition
}
action preview.show {
input id string
reduce state.preview.id = input.id
emit preview.opened with id input.id
}
state preview.id type string initial ""
surface preview kind page component x-section {
portal app.root
lane visible weight 80 {
mount preview.card from endpoint preview.card {
trust boundary "xtend.security.sanitizing-boundary.v1"
}
}
}
}
Diagnostics
Parser-Diagnosen prüfen Syntax und Kontext. Katalog- und Semantikprüfungen melden unbekannte oder unvollständige Werte.
Related operators
lane, from, overlay, resource, transition, trust boundary.
Weiterführend
Der RMT-Referenzindex erklärt, wie andere Records Enum- und Catalog-Namen auflösen. Verwandter Artikel