import {ListColTypeAddress} from "@app/_components/list/list-col-type-address";
import {OrderFilter} from "@app/_models/orderFilter";

export interface ListColDefinition {
    name: string,
    text: string,
    type: string,
    field?: string,
    multipleFields?: any[],
    address?: ListColTypeAddress,
    sortable?: boolean,
    subResource?: string,
    sortingFieldName?: string,
    sortingSubResource?: string,
    countSortSubresource?: boolean,
    countSortSubresourceField?: string,
    countSortSubresourceValue?: any[] | null,
    countSortFilterSubResource?: string,
    countSortFilterSubresourceField?: string,
    countSortFilterSubresourceValue?: string | null,
    length?: number,
    displayedLength?: number,
    groups?: string[],
    onClickFunction?: Function,
    updateBooleanOnClick?: boolean,
    filterType?: string,
    visible?: boolean,
    url?: string,
    filterOptions?: string[],
}