Cotal TypeScript packages
    Preparing search index...

    Interface EndpointCommandSource

    interface EndpointCommandSource {
        action?: true;
        admissionCeiling?: EpAdmissionCeiling;
        authorities?: ("owner" | "grant")[];
        capability: string;
        class: EpClass;
        input: SchemaBundle;
        modes?: (
            "owner"
            | "exact"
            | "any"
            | "self"
            | "child"
            | "ledger"
            | "handle"
        )[];
        name: string;
        output: SchemaBundle;
        readinessDeadlineMs?: number;
        targeted: boolean;
        traits?: string[];
    }

    Hierarchy

    • Omit<ClusterCommand, "inputDigest" | "outputDigest">
      • EndpointCommandSource
    Index
    action?: true

    The ACTION COMPOSITE marker. Present only as true; absence means "not an action". It is a command marker and NOT a class — an action command's submissions are journal, but the marker is what makes goalId a MUST on the envelope.

    admissionCeiling?: EpAdmissionCeiling

    Declared iff the command is journal-class, which is what makes it accept submissions: the marker is irrelevant here, and the canonicalizer reads the ceiling from this field, never from a constant.

    authorities?: ("owner" | "grant")[]

    Present exactly when the command is served on the principal route: the authority words it admits there (SPEC 13.21). A command with this field is never served on a service route, and a command without it is never served on the principal route.

    capability: string
    class: EpClass
    modes?: ("owner" | "exact" | "any" | "self" | "child" | "ledger" | "handle")[]
    name: string
    output: SchemaBundle
    readinessDeadlineMs?: number

    The acceptance-relative readiness bound, iff the command declares bounded readiness (§13.6). Persisted into the acceptance because it is goal state, not the request's decision deadline.

    targeted: boolean
    traits?: string[]