Cotal TypeScript packages
    Preparing search index...

    Interface ControlTarget

    interface ControlTarget {
        auth: ControlAuth;
        mode?: "auth" | "open" | "user";
        policy?: { eventPayloads?: "withheld"; events?: "required" };
        root?: string;
        server: string;
        space: string;
        spaceAuth?: SpaceAuth;
    }
    Index
    mode?: "auth" | "open" | "user"

    The registered mesh contract, carried forward from Connection.mode. Absent on a raw off-registry connect. Open-vs-static decisions read this field, never the absence of spaceAuth.

    policy?: { eventPayloads?: "withheld"; events?: "required" }
    root?: string

    The root the mesh resolved to. Absent for a raw off-registry connection.

    server: string
    space: string
    spaceAuth?: SpaceAuth

    The resolved mesh's trust material, carried forward for a caller that re-mints against it. Absent for an open mesh and for raw off-registry creds.