interface IInput {
    filter?: {
        blockchain_status?: null | string;
        commit_hash?: null | string;
        coopname?: null | string;
        created_date?: null | string;
        project_hash?: null | string;
        status?: null | CommitStatus;
        username?: null | string;
    };
    options?: {
        limit: number;
        page: number;
        sortBy?: null | string;
        sortOrder: string;
    };
}

Properties

Properties

filter?: {
    blockchain_status?: null | string;
    commit_hash?: null | string;
    coopname?: null | string;
    created_date?: null | string;
    project_hash?: null | string;
    status?: null | CommitStatus;
    username?: null | string;
}

Type declaration

  • Optional blockchain_status?: null | string

    Фильтр по статусу из блокчейна

  • Optional commit_hash?: null | string

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

  • Optional coopname?: null | string

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

  • Optional created_date?: null | string

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

  • Optional project_hash?: null | string

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

  • Optional status?: null | CommitStatus

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

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