@suluk/cockpit - v0.2.0
    Preparing search index...

    Interface PreviewRole

    A principal you can preview the running app AS — derived from the contract, never hardcoded.

    interface PreviewRole {
        label: string;
        role: string;
        scopes: string[];
        authenticated: boolean;
    }
    Index

    Properties

    label: string
    role: string

    the role token passed to the preview deploy's /preview/login?role=… (or "anonymous").

    scopes: string[]

    the scopes this role implies in the cross-cut (here, just the role itself; the runtime maps role→scopes).

    authenticated: boolean