Foodtruck Order — TypeScript Reference - v0.1.0
    Preparing search index...

    Minimal current-user representation returned by the authentication API.

    interface CurrentUser {
        displayName: string;
        email: string;
        id: string;
        preferences: {
            appearance: "light" | "dark" | "system" | null;
            language: "en" | "sv" | "hu" | null;
        };
    }
    Index
    displayName: string

    Human-readable name used by the application shell.

    email: string

    Normalized login address.

    id: string

    Stable account identifier.

    preferences: {
        appearance: "light" | "dark" | "system" | null;
        language: "en" | "sv" | "hu" | null;
    }

    Account preferences; null means the account has not selected a value yet.

    Type Declaration

    • appearance: "light" | "dark" | "system" | null

      Preferred appearance, when selected.

    • language: "en" | "sv" | "hu" | null

      Preferred language, when selected.