Skip to content
HomePagesHomePages template kit

DisplayEntryInput

One `meta.display` entry as authored under `defineSchema`'s `display:` — the declared `cases` (the FIRST is the default and the failure posture), an optional `locked` opting the entry out of user switching, and at most one origin as written (`source: compute(fn)` still a live binding here; `defineSchema` strips it into the logic bundle exactly as it does a slot's).

One meta.display entry as authored under defineSchema’s display: — the declared cases (the FIRST is the default and the failure posture), an optional locked opting the entry out of user switching, and at most one origin as written (source: compute(fn) still a live binding here; defineSchema strips it into the logic bundle exactly as it does a slot’s).

Import from @homepages/template-kit.

export interface DisplayEntryInput<C extends readonly string[] = readonly string[]> {
cases: [
...C
];
locked?: true;
source?: ComputeBinding<C[number]>;
fill?: DisplayChoice;
}