UNPKG

@aneoconsultingfr/armonik.api

Version:

gRPC API to interact with ArmoniK built for the web

28 lines (25 loc) 1.03 kB
import { ListVersionsRequest, ListVersionsResponse } from './versions_common.mjs'; import 'protobufjs/minimal.js'; declare const protobufPackage = "armonik.api.grpc.v1.versions"; /** * Versions related methods within a service. * This service will be used to get the version of infrastructure components from outside the cluster. */ /** Service for handling versions. */ interface Versions { /** Get all versions. */ ListVersions(request: ListVersionsRequest): Promise<ListVersionsResponse>; } declare const VersionsServiceName = "armonik.api.grpc.v1.versions.Versions"; declare class VersionsClientImpl implements Versions { private readonly rpc; private readonly service; constructor(rpc: Rpc, opts?: { service?: string; }); ListVersions(request: ListVersionsRequest): Promise<ListVersionsResponse>; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>; } export { Versions, VersionsClientImpl, VersionsServiceName, protobufPackage };