@marleena/trb-proto 1.0.30 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gen/js-ts/clickhouse/AdminServiceClientPb.ts +43 -0
- package/gen/js-ts/clickhouse/ClickhouseServiceClientPb.ts +43 -0
- package/gen/js-ts/clickhouse/admin_pb.d.ts +64 -0
- package/gen/js-ts/clickhouse/admin_pb.js +547 -0
- package/gen/js-ts/clickhouse/clickhouse_pb.d.ts +114 -0
- package/gen/js-ts/clickhouse/clickhouse_pb.js +939 -0
- package/gen/js-ts/postgresql/AdminServiceClientPb.ts +43 -0
- package/gen/js-ts/postgresql/admin_pb.d.ts +64 -0
- package/gen/js-ts/postgresql/admin_pb.js +547 -0
- package/package.json +1 -1
|
@@ -1157,5 +1157,48 @@ export class ClickHouse_AdminClient {
|
|
|
1157
1157
|
this.methodDescriptorGetTableOptions);
|
|
1158
1158
|
}
|
|
1159
1159
|
|
|
1160
|
+
methodDescriptorListConnections = new grpcWeb.MethodDescriptor(
|
|
1161
|
+
'/trb.clickhouse.v1.ClickHouse_Admin/ListConnections',
|
|
1162
|
+
grpcWeb.MethodType.UNARY,
|
|
1163
|
+
clickhouse_admin_pb.ListConnectionsRequest,
|
|
1164
|
+
clickhouse_admin_pb.ConnectionList,
|
|
1165
|
+
(request: clickhouse_admin_pb.ListConnectionsRequest) => {
|
|
1166
|
+
return request.serializeBinary();
|
|
1167
|
+
},
|
|
1168
|
+
clickhouse_admin_pb.ConnectionList.deserializeBinary
|
|
1169
|
+
);
|
|
1170
|
+
|
|
1171
|
+
listConnections(
|
|
1172
|
+
request: clickhouse_admin_pb.ListConnectionsRequest,
|
|
1173
|
+
metadata?: grpcWeb.Metadata | null): Promise<clickhouse_admin_pb.ConnectionList>;
|
|
1174
|
+
|
|
1175
|
+
listConnections(
|
|
1176
|
+
request: clickhouse_admin_pb.ListConnectionsRequest,
|
|
1177
|
+
metadata: grpcWeb.Metadata | null,
|
|
1178
|
+
callback: (err: grpcWeb.RpcError,
|
|
1179
|
+
response: clickhouse_admin_pb.ConnectionList) => void): grpcWeb.ClientReadableStream<clickhouse_admin_pb.ConnectionList>;
|
|
1180
|
+
|
|
1181
|
+
listConnections(
|
|
1182
|
+
request: clickhouse_admin_pb.ListConnectionsRequest,
|
|
1183
|
+
metadata?: grpcWeb.Metadata | null,
|
|
1184
|
+
callback?: (err: grpcWeb.RpcError,
|
|
1185
|
+
response: clickhouse_admin_pb.ConnectionList) => void) {
|
|
1186
|
+
if (callback !== undefined) {
|
|
1187
|
+
return this.client_.rpcCall(
|
|
1188
|
+
this.hostname_ +
|
|
1189
|
+
'/trb.clickhouse.v1.ClickHouse_Admin/ListConnections',
|
|
1190
|
+
request,
|
|
1191
|
+
metadata || {},
|
|
1192
|
+
this.methodDescriptorListConnections,
|
|
1193
|
+
callback);
|
|
1194
|
+
}
|
|
1195
|
+
return this.client_.unaryCall(
|
|
1196
|
+
this.hostname_ +
|
|
1197
|
+
'/trb.clickhouse.v1.ClickHouse_Admin/ListConnections',
|
|
1198
|
+
request,
|
|
1199
|
+
metadata || {},
|
|
1200
|
+
this.methodDescriptorListConnections);
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1160
1203
|
}
|
|
1161
1204
|
|
|
@@ -212,5 +212,48 @@ export class ClickHouseClient {
|
|
|
212
212
|
this.methodDescriptorListLastDownloads);
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
+
methodDescriptorListCandles = new grpcWeb.MethodDescriptor(
|
|
216
|
+
'/trb.clickhouse.v1.ClickHouse/ListCandles',
|
|
217
|
+
grpcWeb.MethodType.UNARY,
|
|
218
|
+
clickhouse_clickhouse_pb.ListCandlesRequest,
|
|
219
|
+
clickhouse_clickhouse_pb.ListCandlesResponse,
|
|
220
|
+
(request: clickhouse_clickhouse_pb.ListCandlesRequest) => {
|
|
221
|
+
return request.serializeBinary();
|
|
222
|
+
},
|
|
223
|
+
clickhouse_clickhouse_pb.ListCandlesResponse.deserializeBinary
|
|
224
|
+
);
|
|
225
|
+
|
|
226
|
+
listCandles(
|
|
227
|
+
request: clickhouse_clickhouse_pb.ListCandlesRequest,
|
|
228
|
+
metadata?: grpcWeb.Metadata | null): Promise<clickhouse_clickhouse_pb.ListCandlesResponse>;
|
|
229
|
+
|
|
230
|
+
listCandles(
|
|
231
|
+
request: clickhouse_clickhouse_pb.ListCandlesRequest,
|
|
232
|
+
metadata: grpcWeb.Metadata | null,
|
|
233
|
+
callback: (err: grpcWeb.RpcError,
|
|
234
|
+
response: clickhouse_clickhouse_pb.ListCandlesResponse) => void): grpcWeb.ClientReadableStream<clickhouse_clickhouse_pb.ListCandlesResponse>;
|
|
235
|
+
|
|
236
|
+
listCandles(
|
|
237
|
+
request: clickhouse_clickhouse_pb.ListCandlesRequest,
|
|
238
|
+
metadata?: grpcWeb.Metadata | null,
|
|
239
|
+
callback?: (err: grpcWeb.RpcError,
|
|
240
|
+
response: clickhouse_clickhouse_pb.ListCandlesResponse) => void) {
|
|
241
|
+
if (callback !== undefined) {
|
|
242
|
+
return this.client_.rpcCall(
|
|
243
|
+
this.hostname_ +
|
|
244
|
+
'/trb.clickhouse.v1.ClickHouse/ListCandles',
|
|
245
|
+
request,
|
|
246
|
+
metadata || {},
|
|
247
|
+
this.methodDescriptorListCandles,
|
|
248
|
+
callback);
|
|
249
|
+
}
|
|
250
|
+
return this.client_.unaryCall(
|
|
251
|
+
this.hostname_ +
|
|
252
|
+
'/trb.clickhouse.v1.ClickHouse/ListCandles',
|
|
253
|
+
request,
|
|
254
|
+
metadata || {},
|
|
255
|
+
this.methodDescriptorListCandles);
|
|
256
|
+
}
|
|
257
|
+
|
|
215
258
|
}
|
|
216
259
|
|
|
@@ -5,6 +5,70 @@ import * as google_api_field_behavior_pb from '../google/api/field_behavior_pb';
|
|
|
5
5
|
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
export class Connection extends jspb.Message {
|
|
9
|
+
getName(): string;
|
|
10
|
+
setName(value: string): Connection;
|
|
11
|
+
|
|
12
|
+
getHost(): string;
|
|
13
|
+
setHost(value: string): Connection;
|
|
14
|
+
|
|
15
|
+
getDatabase(): string;
|
|
16
|
+
setDatabase(value: string): Connection;
|
|
17
|
+
|
|
18
|
+
getIsDefault(): boolean;
|
|
19
|
+
setIsDefault(value: boolean): Connection;
|
|
20
|
+
|
|
21
|
+
serializeBinary(): Uint8Array;
|
|
22
|
+
toObject(includeInstance?: boolean): Connection.AsObject;
|
|
23
|
+
static toObject(includeInstance: boolean, msg: Connection): Connection.AsObject;
|
|
24
|
+
static serializeBinaryToWriter(message: Connection, writer: jspb.BinaryWriter): void;
|
|
25
|
+
static deserializeBinary(bytes: Uint8Array): Connection;
|
|
26
|
+
static deserializeBinaryFromReader(message: Connection, reader: jspb.BinaryReader): Connection;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export namespace Connection {
|
|
30
|
+
export type AsObject = {
|
|
31
|
+
name: string,
|
|
32
|
+
host: string,
|
|
33
|
+
database: string,
|
|
34
|
+
isDefault: boolean,
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class ListConnectionsRequest extends jspb.Message {
|
|
39
|
+
serializeBinary(): Uint8Array;
|
|
40
|
+
toObject(includeInstance?: boolean): ListConnectionsRequest.AsObject;
|
|
41
|
+
static toObject(includeInstance: boolean, msg: ListConnectionsRequest): ListConnectionsRequest.AsObject;
|
|
42
|
+
static serializeBinaryToWriter(message: ListConnectionsRequest, writer: jspb.BinaryWriter): void;
|
|
43
|
+
static deserializeBinary(bytes: Uint8Array): ListConnectionsRequest;
|
|
44
|
+
static deserializeBinaryFromReader(message: ListConnectionsRequest, reader: jspb.BinaryReader): ListConnectionsRequest;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export namespace ListConnectionsRequest {
|
|
48
|
+
export type AsObject = {
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export class ConnectionList extends jspb.Message {
|
|
53
|
+
getItemsList(): Array<Connection>;
|
|
54
|
+
setItemsList(value: Array<Connection>): ConnectionList;
|
|
55
|
+
clearItemsList(): ConnectionList;
|
|
56
|
+
addItems(value?: Connection, index?: number): Connection;
|
|
57
|
+
|
|
58
|
+
serializeBinary(): Uint8Array;
|
|
59
|
+
toObject(includeInstance?: boolean): ConnectionList.AsObject;
|
|
60
|
+
static toObject(includeInstance: boolean, msg: ConnectionList): ConnectionList.AsObject;
|
|
61
|
+
static serializeBinaryToWriter(message: ConnectionList, writer: jspb.BinaryWriter): void;
|
|
62
|
+
static deserializeBinary(bytes: Uint8Array): ConnectionList;
|
|
63
|
+
static deserializeBinaryFromReader(message: ConnectionList, reader: jspb.BinaryReader): ConnectionList;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export namespace ConnectionList {
|
|
67
|
+
export type AsObject = {
|
|
68
|
+
itemsList: Array<Connection.AsObject>,
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
8
72
|
export class Status extends jspb.Message {
|
|
9
73
|
getSuccess(): boolean;
|
|
10
74
|
setSuccess(value: boolean): Status;
|