interface IInput {
    filter: {
        coopname: string;
        fromBlock?: null | number;
        processHash?: null | string;
        processType?: null | string;
        toBlock?: null | number;
        username?: null | string;
    };
    pagination: {
        limit: number;
        page: number;
        sortBy?: null | string;
        sortOrder: string;
    };
}

Properties

Properties

filter: {
    coopname: string;
    fromBlock?: null | number;
    processHash?: null | string;
    processType?: null | string;
    toBlock?: null | number;
    username?: null | string;
}

Type declaration

  • coopname: string
  • Optional fromBlock?: null | number
  • Optional processHash?: null | string

    Идентификатор процесса — точечная адресация одного процесса по его хэшу

  • Optional processType?: null | string
  • Optional toBlock?: null | number
  • Optional username?: null | string
pagination: {
    limit: number;
    page: number;
    sortBy?: null | string;
    sortOrder: string;
}

Type declaration

  • limit: number

    Количество элементов на странице

  • page: number

    Номер страницы

  • Optional sortBy?: null | string

    Ключ сортировки (например, "name")

  • sortOrder: string

    Направление сортировки ("ASC" или "DESC")