interface IInput {
    filter?: {
        coopname?: null | string;
        created_from?: any;
        created_to?: any;
        program_id?: null | number;
        statuses?: null | AgreementStatus[];
        type?: null | string;
        username?: null | string;
    };
    options?: {
        limit: number;
        page: number;
        sortBy?: null | string;
        sortOrder: string;
    };
}

Properties

Properties

filter?: {
    coopname?: null | string;
    created_from?: any;
    created_to?: any;
    program_id?: null | number;
    statuses?: null | AgreementStatus[];
    type?: null | string;
    username?: null | string;
}

Type declaration

  • Optional coopname?: null | string

    Фильтр по названию кооператива

  • Optional created_from?: any

    Фильтр по дате создания (от)

  • Optional created_to?: any

    Фильтр по дате создания (до)

  • Optional program_id?: null | number

    Фильтр по ID программы

  • Optional statuses?: null | AgreementStatus[]

    Фильтр по статусам соглашений

  • Optional type?: null | string

    Фильтр по типу соглашения

  • Optional username?: null | string

    Фильтр по имени пользователя

options?: {
    limit: number;
    page: number;
    sortBy?: null | string;
    sortOrder: string;
}

Type declaration

  • limit: number

    Количество элементов на странице

  • page: number

    Номер страницы

  • Optional sortBy?: null | string

    Ключ сортировки (например, "name")

  • sortOrder: string

    Направление сортировки ("ASC" или "DESC")