interface IInput {
    filter?: {
        coopname?: null | string;
        has_vote?: null | boolean;
        is_author?: null | boolean;
        is_contributor?: null | boolean;
        is_coordinator?: null | boolean;
        is_creator?: null | boolean;
        is_investor?: null | boolean;
        is_propertor?: null | boolean;
        project_hash?: null | string;
        status?: null | SegmentStatus;
        username?: null | string;
    };
    options?: {
        limit: number;
        page: number;
        sortBy?: null | string;
        sortOrder: string;
    };
}

Properties

Properties

filter?: {
    coopname?: null | string;
    has_vote?: null | boolean;
    is_author?: null | boolean;
    is_contributor?: null | boolean;
    is_coordinator?: null | boolean;
    is_creator?: null | boolean;
    is_investor?: null | boolean;
    is_propertor?: null | boolean;
    project_hash?: null | string;
    status?: null | SegmentStatus;
    username?: null | string;
}

Type declaration

  • Optional coopname?: null | string

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

  • Optional has_vote?: null | boolean

    Фильтр по наличию права голоса

  • Optional is_author?: null | boolean

    Фильтр по роли автора

  • Optional is_contributor?: null | boolean

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

  • Optional is_coordinator?: null | boolean

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

  • Optional is_creator?: null | boolean

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

  • Optional is_investor?: null | boolean

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

  • Optional is_propertor?: null | boolean

    Фильтр по роли пропертора

  • Optional project_hash?: null | string

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

  • Optional status?: null | SegmentStatus

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

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