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

    Application identity including the credential hash, never serialized by the HTTP layer.

    interface User {
        createdAt: Date;
        credentialVersion: number;
        displayName: string;
        email: string;
        enabled: boolean;
        id: string;
        passwordHash: string;
        preferences: UserPreferences;
        updatedAt: Date;
    }
    Index
    createdAt: Date

    Account creation timestamp.

    credentialVersion: number

    Monotonic version invalidating sessions after credential changes.

    displayName: string

    Human-readable display name.

    email: string

    Normalized unique login address.

    enabled: boolean

    Disabled accounts fail authentication and current-user lookup.

    id: string

    Stable user identifier.

    passwordHash: string

    Argon2id credential hash; never leaves the server.

    preferences: UserPreferences

    Persisted account preferences; null fields mean not yet chosen.

    updatedAt: Date

    Last account modification timestamp.