Annotations

← Diagrams
STRVCT

One slot declaration carries metadata that independent framework layers read without coordinating. Adding a new layer leaves existing layers unchanged.

a single slot declaration newSlot("name", "") .setSlotType("String") .setShouldStoreSlot(true) .setSyncsToView(true) .setCanEditInspection(true) .setIsSubnodeField(true) .setFinalInitProto(Cls) .setTranslationContext(...) UI type, edit, nav Storage should-store Sync syncsToView AI / Patch type / schema i18n translation ctx No inter-layer coordination; each consumer reads only what it needs. A new layer added later: have it read the slot metadata it cares about.