middag-react
    Preparing search index...

    Interface SharedProps

    interface SharedProps {
        auth: SharedPropsAuth;
        csrf_token?: string;
        flash?: SharedPropsFlash;
        locale: string;
        navigation: NavigationTreePayload;
        scope?: Record<string, unknown>;
        theme: SharedPropsTheme;
        version: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Index signature required by Inertia's PageProps constraint (usePage()).

    Index

    Properties

    csrf_token?: string

    CSRF/session token (Moodle sesskey) for state-changing requests.

    locale: string

    Effective locale string, e.g. "pt-BR", "en"

    scope?: Record<string, unknown>

    Global scope data from global_scope_manager (extensions add their keys)

    version: string

    MIDDAG version string, e.g. "5.0.0"