A call of a user-defined function in a definition (PLAN §11.33): opened, a container of the steps of its body, its name on top; closed, one box, a step of the flow

interface CubeDefinitionFunctionContainer {
    closedMessage?: string;
    closedReason?: CubeDefinitionFunctionClosedReason;
    declaredColumns: undefined | readonly string[];
    id: string;
    name: string;
    opened: boolean;
    origin: undefined | string;
    parentId: undefined | string;
    path: undefined | string;
    shortName: string;
    signature: undefined | string;
    stepIds: readonly string[];
    values: readonly string[];
}

Properties

closedMessage?: string
declaredColumns: undefined | readonly string[]

The columns it declares it returns, when it does: ORDER_ID, AMOUNT…

id: string
name: string

The path the call names, e.g. shop::orders::ordersSince

opened: boolean

Whether its body is drawn

origin: undefined | string

The project it comes from, when the host says

parentId: undefined | string

The container it is drawn in, a call whose body calls it

path: undefined | string

The function's element path, with its signature, when the host has it

shortName: string

Its name alone, e.g. ordersSince

signature: undefined | string

Its signature, as Pure writes it: ordersSince(since: StrictDate[1], region: String[1]): Relation<…>[1]

stepIds: readonly string[]

Opened: the steps of its body, not those of the calls in it; closed: its box

values: readonly string[]

Its values as Pure prints them, its relations left out: %2026-01-01, 'EMEA', $since