Skip to content
HomePagesHomePages template kit

GroupBindingMap

The bindings `bindGroups` returns for a section schema — one {@link GroupBinding} keyed by each declared group's literal id.

The bindings bindGroups returns for a section schema — one {@link GroupBinding} keyed by each declared group’s literal id. Empty when the schema declares no groups.

Import from @homepages/template-kit.

export type GroupBindingMap<S extends SectionSchemaShape> = {
readonly [K in GroupIdsOf<S>]: GroupBinding;
};