@ydbjs/api
Version:
TypeScript gRPC service definitions and protobuf types for all YDB APIs. Enables strongly-typed client generation and low-level protocol access.
87 lines • 2.42 kB
TypeScript
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/ydb_common.proto.
*/
export declare const file_protos_ydb_common: GenFile;
/**
* @generated from message Ydb.FeatureFlag
*/
export type FeatureFlag = Message<"Ydb.FeatureFlag"> & {};
/**
* Describes the message Ydb.FeatureFlag.
* Use `create(FeatureFlagSchema)` to create a new message.
*/
export declare const FeatureFlagSchema: GenMessage<FeatureFlag>;
/**
* @generated from enum Ydb.FeatureFlag.Status
*/
export declare enum FeatureFlag_Status {
/**
* @generated from enum value: STATUS_UNSPECIFIED = 0;
*/
STATUS_UNSPECIFIED = 0,
/**
* @generated from enum value: ENABLED = 1;
*/
ENABLED = 1,
/**
* @generated from enum value: DISABLED = 2;
*/
DISABLED = 2
}
/**
* Describes the enum Ydb.FeatureFlag.Status.
*/
export declare const FeatureFlag_StatusSchema: GenEnum<FeatureFlag_Status>;
/**
* @generated from message Ydb.CostInfo
*/
export type CostInfo = Message<"Ydb.CostInfo"> & {
/**
* Total amount of request units (RU), consumed by the operation.
*
* @generated from field: double consumed_units = 1;
*/
consumedUnits: number;
};
/**
* Describes the message Ydb.CostInfo.
* Use `create(CostInfoSchema)` to create a new message.
*/
export declare const CostInfoSchema: GenMessage<CostInfo>;
/**
* @generated from message Ydb.QuotaExceeded
*/
export type QuotaExceeded = Message<"Ydb.QuotaExceeded"> & {
/**
* @generated from field: bool disk = 1;
*/
disk: boolean;
};
/**
* Describes the message Ydb.QuotaExceeded.
* Use `create(QuotaExceededSchema)` to create a new message.
*/
export declare const QuotaExceededSchema: GenMessage<QuotaExceeded>;
/**
* Specifies a point in database time
*
* @generated from message Ydb.VirtualTimestamp
*/
export type VirtualTimestamp = Message<"Ydb.VirtualTimestamp"> & {
/**
* @generated from field: uint64 plan_step = 1;
*/
planStep: bigint;
/**
* @generated from field: uint64 tx_id = 2;
*/
txId: bigint;
};
/**
* Describes the message Ydb.VirtualTimestamp.
* Use `create(VirtualTimestampSchema)` to create a new message.
*/
export declare const VirtualTimestampSchema: GenMessage<VirtualTimestamp>;
//# sourceMappingURL=ydb_common_pb.d.ts.map