Interface IListingPreset

interface IListingPreset {
    countNumberAttributes?: boolean;
    filter?: (IListingFilter | IListingFilter[])[];
    filterCollapsed?: boolean;
    locationData?: ILocationData;
    pagination?: { limit: number; page: number };
    recordFilters?: IListingRecordFilter[];
    relationFilters?: {
        attribute: string;
        collection: string;
        criteria?: IListingFilter[];
        type?: "relation" | "reference";
    };
    showArchived?: boolean;
    showGraph?: boolean;
    showInGraph?: string[];
    showTable?: boolean;
    sortBy?: string;
    sortReverse?: 1
    | -1;
    type: null | string | string[];
}

Properties

countNumberAttributes?: boolean
filterCollapsed?: boolean
locationData?: ILocationData
pagination?: { limit: number; page: number }
recordFilters?: IListingRecordFilter[]
relationFilters?: {
    attribute: string;
    collection: string;
    criteria?: IListingFilter[];
    type?: "relation" | "reference";
}
showArchived?: boolean
showGraph?: boolean
showInGraph?: string[]
showTable?: boolean
sortBy?: string
sortReverse?: 1 | -1
type: null | string | string[]