@ydbjs/api
Version:
TypeScript gRPC service definitions and protobuf types for all YDB APIs. Enables strongly-typed client generation and low-level protocol access.
38 lines • 2.07 kB
TypeScript
import type { MessageInitShape } from "@bufbuild/protobuf";
import { NodeCheckRequestSchema, NodeCheckResponseSchema, SelfCheckRequestSchema, SelfCheckResponseSchema } from "./protos/ydb_monitoring_pb.js";
/**
* @generated from service Ydb.Monitoring.V1.MonitoringService
*/
export declare const MonitoringServiceDefinition: {
/**
* Gets the health status of the database.
*
* @generated from rpc Ydb.Monitoring.V1.MonitoringService.SelfCheck
*/
readonly selfCheck: {
readonly path: "/Ydb.Monitoring.V1.MonitoringService/SelfCheck";
readonly requestStream: false;
readonly requestSerialize: (message: MessageInitShape<typeof SelfCheckRequestSchema>) => Uint8Array<ArrayBufferLike>;
readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_monitoring_pb.js").SelfCheckRequest;
readonly responseStream: false;
readonly responseSerialize: (message: MessageInitShape<typeof SelfCheckResponseSchema>) => Uint8Array<ArrayBufferLike>;
readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_monitoring_pb.js").SelfCheckResponse;
readonly options: {};
};
/**
* Checks current node health
*
* @generated from rpc Ydb.Monitoring.V1.MonitoringService.NodeCheck
*/
readonly nodeCheck: {
readonly path: "/Ydb.Monitoring.V1.MonitoringService/NodeCheck";
readonly requestStream: false;
readonly requestSerialize: (message: MessageInitShape<typeof NodeCheckRequestSchema>) => Uint8Array<ArrayBufferLike>;
readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_monitoring_pb.js").NodeCheckRequest;
readonly responseStream: false;
readonly responseSerialize: (message: MessageInitShape<typeof NodeCheckResponseSchema>) => Uint8Array<ArrayBufferLike>;
readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_monitoring_pb.js").NodeCheckResponse;
readonly options: {};
};
};
//# sourceMappingURL=ydb_monitoring_v1_grpc_pb.d.ts.map