Member Junction
    Preparing search index...

    Interface MJUserViewEntity_IDisplayState

    Persisted display-mode configuration for a User View.

    Stored in the DisplayState column of the User Views entity. Controls which view modes (grid, cards, timeline) are available and which is shown by default, along with mode-specific settings like timeline grouping and card sizing.

    The runtime helpers ParsedDisplayState, DefaultViewMode, and TimelineConfig on MJUserViewEntityExtended currently parse this field manually; once CodeGen emits a typed DisplayStateObject accessor, those helpers can delegate to it.

    interface MJUserViewEntity_IDisplayState {
        cards?: MJUserViewEntity_IDisplayCardState;
        defaultMode: "grid" | "cards" | "timeline";
        enabledModes?: { cards?: boolean; grid?: boolean; timeline?: boolean };
        grid?: MJUserViewEntity_IGridDisplayState;
        timeline?: MJUserViewEntity_ITimelineState;
        viewTypeConfigs?: MJUserViewEntity_IViewTypeConfigEntry[];
    }
    Index

    Properties

    Card-specific configuration

    defaultMode: "grid" | "cards" | "timeline"

    The default view mode to show when loading this view

    enabledModes?: { cards?: boolean; grid?: boolean; timeline?: boolean }

    Which view modes are enabled/visible for this view

    Grid-specific configuration

    Timeline-specific configuration

    Per-view-type configuration, one entry per view type the user has configured. Keyed by the MJ: View Types row ID so each type (Grid, Cards, Timeline, Map, Cluster, …) keeps its own settings in parallel — switching from one type to another and back preserves each type's config. The active view type is stored on UserView.ViewTypeID (the source of truth), not here; this array holds only the per-type configuration payloads.