Flarum (2.x)
    Preparing search index...
    interface AdminApplicationData {
        announcementsDisabled: boolean;
        apiDocument: ApiPayload | null;
        assetsRevision?: string;
        avatarDrivers: string[];
        bisecting?: boolean;
        dbDriver: DatabaseDriver;
        dbDriverMismatch: string | null;
        dbOptions: Record<string, string>;
        dbVersion: string;
        dbVersionStatus: DatabaseVersionStatus | null;
        displayNameDrivers: string[];
        extensions: Record<string, Extension>;
        fontawesomeByConfig: boolean;
        fontawesomeConfig?: {
            cdn_url: string | null;
            kit_url: string | null;
            source: string;
        };
        installedPackages: string[];
        knownQueues: string[];
        locale: string;
        locales: Record<string, string>;
        maintenanceByConfig: boolean;
        maintenanceMode?: MaintenanceMode;
        modelStatistics: Record<string, { total: number }>;
        pausedQueues: string[];
        permissions: Record<string, string[]>;
        phpVersion: string;
        queueDriver: string;
        resources: SavedModelData[];
        safeModeExtensions?: string[] | null;
        safeModeExtensionsConfig?: string[] | null;
        schedulerStatus: string;
        searchDrivers: Record<string, string[]>;
        session: { csrfToken: string; userId: number };
        sessionDriver: string;
        settings: Record<string, string>;
        slugDrivers: Record<string, string[]>;
        sortMaps: Record<string, Record<string, string>>;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index

    Properties

    announcementsDisabled: boolean
    apiDocument: ApiPayload | null
    assetsRevision?: string

    Token representing the compiled asset revisions the page booted with.

    avatarDrivers: string[]
    bisecting?: boolean
    dbDriver: DatabaseDriver
    dbDriverMismatch: string | null
    dbOptions: Record<string, string>
    dbVersion: string
    dbVersionStatus: DatabaseVersionStatus | null
    displayNameDrivers: string[]
    extensions: Record<string, Extension>
    fontawesomeByConfig: boolean
    fontawesomeConfig?: {
        cdn_url: string | null;
        kit_url: string | null;
        source: string;
    }
    installedPackages: string[]
    knownQueues: string[]
    locale: string
    locales: Record<string, string>
    maintenanceByConfig: boolean
    maintenanceMode?: MaintenanceMode
    modelStatistics: Record<string, { total: number }>
    pausedQueues: string[]
    permissions: Record<string, string[]>
    phpVersion: string
    queueDriver: string
    resources: SavedModelData[]
    safeModeExtensions?: string[] | null
    safeModeExtensionsConfig?: string[] | null
    schedulerStatus: string
    searchDrivers: Record<string, string[]>
    session: { csrfToken: string; userId: number }
    sessionDriver: string
    settings: Record<string, string>
    slugDrivers: Record<string, string[]>
    sortMaps: Record<string, Record<string, string>>

    The sort options each resource offers, keyed by resource type, and within that by the alias that appears in a URL. Mirrors what the forum receives, so admin UI can offer sorting without keeping its own copy of the list.