UNPKG

@ydbjs/api

Version:

TypeScript gRPC service definitions and protobuf types for all YDB APIs. Enables strongly-typed client generation and low-level protocol access.

60 lines 1.84 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Operation, OperationParams } from "./ydb_operation_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/ydb_auth.proto. */ export declare const file_protos_ydb_auth: GenFile; /** * @generated from message Ydb.Auth.LoginRequest */ export type LoginRequest = Message<"Ydb.Auth.LoginRequest"> & { /** * @generated from field: Ydb.Operations.OperationParams operation_params = 1; */ operationParams?: OperationParams; /** * @generated from field: string user = 2; */ user: string; /** * @generated from field: string password = 3; */ password: string; }; /** * Describes the message Ydb.Auth.LoginRequest. * Use `create(LoginRequestSchema)` to create a new message. */ export declare const LoginRequestSchema: GenMessage<LoginRequest>; /** * @generated from message Ydb.Auth.LoginResponse */ export type LoginResponse = Message<"Ydb.Auth.LoginResponse"> & { /** * After successfull completion must contain LoginResult. * * @generated from field: Ydb.Operations.Operation operation = 1; */ operation?: Operation; }; /** * Describes the message Ydb.Auth.LoginResponse. * Use `create(LoginResponseSchema)` to create a new message. */ export declare const LoginResponseSchema: GenMessage<LoginResponse>; /** * @generated from message Ydb.Auth.LoginResult */ export type LoginResult = Message<"Ydb.Auth.LoginResult"> & { /** * @generated from field: string token = 1; */ token: string; }; /** * Describes the message Ydb.Auth.LoginResult. * Use `create(LoginResultSchema)` to create a new message. */ export declare const LoginResultSchema: GenMessage<LoginResult>; //# sourceMappingURL=ydb_auth_pb.d.ts.map