interface IInput {
    filter?: {
        end_date?: null | string;
        is_active?: null | boolean;
        name?: null | string;
        start_date?: null | string;
        status?: null | CycleStatus;
    };
    options?: {
        limit: number;
        page: number;
        sortBy?: null | string;
        sortOrder: string;
    };
}

Properties

Properties

filter?: {
    end_date?: null | string;
    is_active?: null | boolean;
    name?: null | string;
    start_date?: null | string;
    status?: null | CycleStatus;
}

Type declaration

  • Optional end_date?: null | string

    Фильтр по дате окончания (YYYY-MM-DD)

  • Optional is_active?: null | boolean

    Показать только активные циклы

  • Optional name?: null | string

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

  • Optional start_date?: null | string

    Фильтр по дате начала (YYYY-MM-DD)

  • Optional status?: null | CycleStatus

    Фильтр по статусу цикла

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")