interface IInput {
    filter?: {
        coopname?: null | string;
        project_hash?: null | string;
        recipient?: null | string;
        voter?: null | string;
    };
    options?: {
        limit: number;
        page: number;
        sortBy?: null | string;
        sortOrder: string;
    };
}

Properties

Properties

filter?: {
    coopname?: null | string;
    project_hash?: null | string;
    recipient?: null | string;
    voter?: null | string;
}

Type declaration

  • Optional coopname?: null | string

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

  • Optional project_hash?: null | string

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

  • Optional recipient?: null | string

    Фильтр по получателю

  • Optional voter?: 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")