The declaration behind one ExpressionScope, as authored in the plain-ESM catalog src/entity/expr/expression-scopes.mjs.

interface ExpressionScopeData {
    bindings: Readonly<Record<string, string>>;
    field: string;
    label: string;
    open?: boolean;
    result: string;
    site: string;
    summary: string;
}

Properties

bindings: Readonly<Record<string, string>>

The legal identifiers, each mapped to its authoring description.

field: string

The data field(s) this scope applies to — for the generated docs table.

label: string

Short human name, used as the generated docs-table row title.

open?: boolean

When true, identifiers beyond the declared bindings are permitted (the declarations are documentation and autocomplete only). Reserved for genuinely dynamic contexts — see the event.predicate scope.

result: string

What the expression is expected to evaluate to.

site: string

Where the expression is authored — for the generated docs table.

summary: string

One sentence on when this scope applies.