Skip to content
Shapemetry

@huukhanhnguyen/model / validate/views

validate/views

viewDetailReferenceErrors()

viewDetailReferenceErrors(model): RegistryError[]

Soft diagnostics: a viewDetail head whose LITERAL source names no components[] entry. Literal-only (an expression is unknowable statically) and soft, same reasoning as styleReferenceErrors — resolveView already fail-softs, drawing the named error as a note instead of throwing.

Parameters

model

ModelJSON

Returns

RegistryError[]


viewErrors()

viewErrors(model): RegistryError[]

Hard validation for the views[] chain lane.

Parameters

model

ModelJSON

Returns

RegistryError[]

Last updated: 📖 1 min readEdit on GitHub