interface IInput {
    filter?: {
        coopname?: null | string;
        coordinator?: null | string;
        invest_hash?: null | string;
        project_hash?: null | string;
        status?: null | InvestStatus;
        username?: null | string;
    };
    options?: {
        limit: number;
        page: number;
        sortBy?: null | string;
        sortOrder: string;
    };
}

Properties

Properties

filter?: {
    coopname?: null | string;
    coordinator?: null | string;
    invest_hash?: null | string;
    project_hash?: null | string;
    status?: null | InvestStatus;
    username?: null | string;
}

Type declaration

  • Optional coopname?: null | string

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

  • Optional coordinator?: null | string

    Фильтр по координатору

  • Optional invest_hash?: null | string

    Фильтр по хешу инвестиции

  • Optional project_hash?: null | string

    Фильтр по хешу проекта

  • Optional status?: null | InvestStatus

    Фильтр по статусу инвестиции

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