PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/avalanche/src/apis/index

Просмотр файла: interfaces.ts

/**
 * @packageDocumentation
 * @module Index-Interfaces
 */

export interface BaseIndexParams {
  encoding: string
}

export interface BaseIndexResponse {
  id: string
  bytes: string
  timestamp: string
  encoding: string
  index: string
}

export interface GetLastAcceptedParams extends BaseIndexParams {}

export interface GetLastAcceptedResponse extends BaseIndexResponse {}

export interface GetLastVertexParams extends BaseIndexParams {}

export interface GetLastVertexResponse extends BaseIndexResponse {}

export interface GetContainerByIndexParams extends BaseIndexParams {
  index: string
}

export interface GetContainerByIndexResponse extends BaseIndexResponse {}

export interface GetContainerByIDParams extends BaseIndexParams {
  id: string
}

export interface GetContainerByIDResponse extends BaseIndexResponse {}

export interface GetContainerRangeParams extends BaseIndexParams {
  startIndex: number
  numToFetch: number
}

export interface IsAcceptedResponse {
  isAccepted: boolean
}

export interface GetContainerRangeResponse {
  constainer: BaseIndexParams[]
}

export interface GetIndexParams extends BaseIndexParams {
  id: string
}

export interface GetIsAcceptedParams extends BaseIndexParams {
  id: string
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!