interface IInput {
    filter?: {
        coopname?: null | string;
        has_invite?: null | boolean;
        has_issues_with_creators?: null | string[];
        has_issues_with_priorities?: null | IssuePriority[];
        has_issues_with_statuses?: null | IssueStatus[];
        has_voting?: null | boolean;
        is_component?: null | boolean;
        is_opened?: null | boolean;
        is_planed?: null | boolean;
        master?: null | string;
        parent_hash?: null | string;
        project_hash?: null | string;
        statuses?: null | ProjectStatus[];
    };
    options?: {
        limit: number;
        page: number;
        sortBy?: null | string;
        sortOrder: string;
    };
}

Properties

Properties

filter?: {
    coopname?: null | string;
    has_invite?: null | boolean;
    has_issues_with_creators?: null | string[];
    has_issues_with_priorities?: null | IssuePriority[];
    has_issues_with_statuses?: null | IssueStatus[];
    has_voting?: null | boolean;
    is_component?: null | boolean;
    is_opened?: null | boolean;
    is_planed?: null | boolean;
    master?: null | string;
    parent_hash?: null | string;
    project_hash?: null | string;
    statuses?: null | ProjectStatus[];
}

Type declaration

  • Optional coopname?: null | string

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

  • Optional has_invite?: null | boolean

    Показывать только проекты, у которых есть установленное значение в поле invite

  • Optional has_issues_with_creators?: null | string[]

    Показывать только проекты, у которых есть задачи, созданные указанными пользователями по username

  • Optional has_issues_with_priorities?: null | IssuePriority[]

    Показывать только проекты, у которых есть задачи с указанными приоритетами

  • Optional has_issues_with_statuses?: null | IssueStatus[]

    Показывать только проекты, у которых есть задачи в указанных статусах

  • Optional has_voting?: null | boolean

    Показывать только проекты, у которых есть или были голосования

  • Optional is_component?: null | boolean

    true - только компоненты проектов, false - только основные проекты

  • Optional is_opened?: null | boolean

    Фильтр по открытому проекту

  • Optional is_planed?: null | boolean

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

  • Optional master?: null | string

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

  • Optional parent_hash?: null | string

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

  • Optional project_hash?: null | string

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

  • Optional statuses?: null | ProjectStatus[]

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

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