@ydbjs/api
Version:
TypeScript gRPC service definitions and protobuf types for all YDB APIs. Enables strongly-typed client generation and low-level protocol access.
23 lines • 1.09 kB
TypeScript
import type { MessageInitShape } from "@bufbuild/protobuf";
import { LoginRequestSchema, LoginResponseSchema } from "./protos/ydb_auth_pb.js";
/**
* @generated from service Ydb.Auth.V1.AuthService
*/
export declare const AuthServiceDefinition: {
/**
* Perform login using built-in auth system
*
* @generated from rpc Ydb.Auth.V1.AuthService.Login
*/
readonly login: {
readonly path: "/Ydb.Auth.V1.AuthService/Login";
readonly requestStream: false;
readonly requestSerialize: (message: MessageInitShape<typeof LoginRequestSchema>) => Uint8Array<ArrayBufferLike>;
readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_auth_pb.js").LoginRequest;
readonly responseStream: false;
readonly responseSerialize: (message: MessageInitShape<typeof LoginResponseSchema>) => Uint8Array<ArrayBufferLike>;
readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_auth_pb.js").LoginResponse;
readonly options: {};
};
};
//# sourceMappingURL=ydb_auth_v1_grpc_pb.d.ts.map