@marleena/trb-proto 0.1.5 → 1.0.3
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/README.md +3 -3
- package/gen/js-ts/{clickhouse_manager → api/clickhouse}/ManagerServiceClientPb.ts +262 -262
- package/gen/js-ts/{clickhouse_manager → api/clickhouse}/manager_pb.d.ts +2 -2
- package/gen/js-ts/{clickhouse_manager → api/clickhouse}/manager_pb.js +3 -3
- package/gen/js-ts/{db_api/Db_apiServiceClientPb.ts → api/data/DataServiceClientPb.ts} +42 -42
- package/gen/js-ts/{db_api/db_api_pb.d.ts → api/data/data_pb.d.ts} +1 -1
- package/gen/js-ts/{db_api/db_api_pb.js → api/data/data_pb.js} +2 -2
- package/gen/js-ts/{nats → api/nats}/ManagerServiceClientPb.ts +232 -232
- package/gen/js-ts/{nats → api/nats}/manager_pb.d.ts +1 -1
- package/gen/js-ts/{nats → api/nats}/manager_pb.js +2 -2
- package/package.json +1 -1
- package/gen/js-ts/clickhouse/Clickhouse_grpcServiceClientPb.ts +0 -108
- package/gen/js-ts/clickhouse/clickhouse_grpc_pb.d.ts +0 -464
- package/gen/js-ts/clickhouse/clickhouse_grpc_pb.js +0 -3611
- package/gen/js-ts/example/ExampleServiceClientPb.ts +0 -108
- package/gen/js-ts/example/Example_pb.d.ts +0 -77
- package/gen/js-ts/example/Example_pb.js +0 -634
- package/gen/js-ts/manager_indicators/Manager_indicatorsServiceClientPb.ts +0 -86
- package/gen/js-ts/manager_indicators/manager_indicators_pb.d.ts +0 -190
- package/gen/js-ts/manager_indicators/manager_indicators_pb.js +0 -563
- package/gen/js-ts/moex/MoexServiceClientPb.ts +0 -86
- package/gen/js-ts/moex/moex_pb.d.ts +0 -53
- package/gen/js-ts/moex/moex_pb.js +0 -420
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as google_api_annotations_pb from '
|
|
4
|
-
import * as google_api_field_behavior_pb from '
|
|
3
|
+
import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
|
+
import * as google_api_field_behavior_pb from '../../google/api/field_behavior_pb'; // proto import: "google/api/field_behavior.proto"
|
|
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
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// source:
|
|
1
|
+
// source: api/clickhouse/manager.proto
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
@@ -21,9 +21,9 @@ var global =
|
|
|
21
21
|
(function () { return this; }).call(null) ||
|
|
22
22
|
Function('return this')();
|
|
23
23
|
|
|
24
|
-
var google_api_annotations_pb = require('
|
|
24
|
+
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
25
25
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
26
|
-
var google_api_field_behavior_pb = require('
|
|
26
|
+
var google_api_field_behavior_pb = require('../../google/api/field_behavior_pb.js');
|
|
27
27
|
goog.object.extend(proto, google_api_field_behavior_pb);
|
|
28
28
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
29
29
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// versions:
|
|
9
9
|
// protoc-gen-grpc-web v1.5.0
|
|
10
10
|
// protoc v7.34.1
|
|
11
|
-
// source:
|
|
11
|
+
// source: api/data/data.proto
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
/* eslint-disable */
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import * as grpcWeb from 'grpc-web';
|
|
19
19
|
|
|
20
|
-
import * as
|
|
20
|
+
import * as api_data_data_pb from '../../api/data/data_pb'; // proto import: "api/data/data.proto"
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
export class DbApiClient {
|
|
@@ -42,29 +42,29 @@ export class DbApiClient {
|
|
|
42
42
|
methodDescriptorListInstruments = new grpcWeb.MethodDescriptor(
|
|
43
43
|
'/trb.db.api.public.contract.v1.DbApi/ListInstruments',
|
|
44
44
|
grpcWeb.MethodType.UNARY,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
(request:
|
|
45
|
+
api_data_data_pb.ListInstrumentsRequest,
|
|
46
|
+
api_data_data_pb.ListInstrumentsResponse,
|
|
47
|
+
(request: api_data_data_pb.ListInstrumentsRequest) => {
|
|
48
48
|
return request.serializeBinary();
|
|
49
49
|
},
|
|
50
|
-
|
|
50
|
+
api_data_data_pb.ListInstrumentsResponse.deserializeBinary
|
|
51
51
|
);
|
|
52
52
|
|
|
53
53
|
listInstruments(
|
|
54
|
-
request:
|
|
55
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
54
|
+
request: api_data_data_pb.ListInstrumentsRequest,
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_data_data_pb.ListInstrumentsResponse>;
|
|
56
56
|
|
|
57
57
|
listInstruments(
|
|
58
|
-
request:
|
|
58
|
+
request: api_data_data_pb.ListInstrumentsRequest,
|
|
59
59
|
metadata: grpcWeb.Metadata | null,
|
|
60
60
|
callback: (err: grpcWeb.RpcError,
|
|
61
|
-
response:
|
|
61
|
+
response: api_data_data_pb.ListInstrumentsResponse) => void): grpcWeb.ClientReadableStream<api_data_data_pb.ListInstrumentsResponse>;
|
|
62
62
|
|
|
63
63
|
listInstruments(
|
|
64
|
-
request:
|
|
64
|
+
request: api_data_data_pb.ListInstrumentsRequest,
|
|
65
65
|
metadata?: grpcWeb.Metadata | null,
|
|
66
66
|
callback?: (err: grpcWeb.RpcError,
|
|
67
|
-
response:
|
|
67
|
+
response: api_data_data_pb.ListInstrumentsResponse) => void) {
|
|
68
68
|
if (callback !== undefined) {
|
|
69
69
|
return this.client_.rpcCall(
|
|
70
70
|
this.hostname_ +
|
|
@@ -85,29 +85,29 @@ export class DbApiClient {
|
|
|
85
85
|
methodDescriptorListSchedulerTargets = new grpcWeb.MethodDescriptor(
|
|
86
86
|
'/trb.db.api.public.contract.v1.DbApi/ListSchedulerTargets',
|
|
87
87
|
grpcWeb.MethodType.UNARY,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
(request:
|
|
88
|
+
api_data_data_pb.ListSchedulerTargetsRequest,
|
|
89
|
+
api_data_data_pb.ListSchedulerTargetsResponse,
|
|
90
|
+
(request: api_data_data_pb.ListSchedulerTargetsRequest) => {
|
|
91
91
|
return request.serializeBinary();
|
|
92
92
|
},
|
|
93
|
-
|
|
93
|
+
api_data_data_pb.ListSchedulerTargetsResponse.deserializeBinary
|
|
94
94
|
);
|
|
95
95
|
|
|
96
96
|
listSchedulerTargets(
|
|
97
|
-
request:
|
|
98
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
97
|
+
request: api_data_data_pb.ListSchedulerTargetsRequest,
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_data_data_pb.ListSchedulerTargetsResponse>;
|
|
99
99
|
|
|
100
100
|
listSchedulerTargets(
|
|
101
|
-
request:
|
|
101
|
+
request: api_data_data_pb.ListSchedulerTargetsRequest,
|
|
102
102
|
metadata: grpcWeb.Metadata | null,
|
|
103
103
|
callback: (err: grpcWeb.RpcError,
|
|
104
|
-
response:
|
|
104
|
+
response: api_data_data_pb.ListSchedulerTargetsResponse) => void): grpcWeb.ClientReadableStream<api_data_data_pb.ListSchedulerTargetsResponse>;
|
|
105
105
|
|
|
106
106
|
listSchedulerTargets(
|
|
107
|
-
request:
|
|
107
|
+
request: api_data_data_pb.ListSchedulerTargetsRequest,
|
|
108
108
|
metadata?: grpcWeb.Metadata | null,
|
|
109
109
|
callback?: (err: grpcWeb.RpcError,
|
|
110
|
-
response:
|
|
110
|
+
response: api_data_data_pb.ListSchedulerTargetsResponse) => void) {
|
|
111
111
|
if (callback !== undefined) {
|
|
112
112
|
return this.client_.rpcCall(
|
|
113
113
|
this.hostname_ +
|
|
@@ -128,29 +128,29 @@ export class DbApiClient {
|
|
|
128
128
|
methodDescriptorSyncSchedulerTargets = new grpcWeb.MethodDescriptor(
|
|
129
129
|
'/trb.db.api.public.contract.v1.DbApi/SyncSchedulerTargets',
|
|
130
130
|
grpcWeb.MethodType.UNARY,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
(request:
|
|
131
|
+
api_data_data_pb.SyncSchedulerTargetsRequest,
|
|
132
|
+
api_data_data_pb.SyncSchedulerTargetsResponse,
|
|
133
|
+
(request: api_data_data_pb.SyncSchedulerTargetsRequest) => {
|
|
134
134
|
return request.serializeBinary();
|
|
135
135
|
},
|
|
136
|
-
|
|
136
|
+
api_data_data_pb.SyncSchedulerTargetsResponse.deserializeBinary
|
|
137
137
|
);
|
|
138
138
|
|
|
139
139
|
syncSchedulerTargets(
|
|
140
|
-
request:
|
|
141
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
140
|
+
request: api_data_data_pb.SyncSchedulerTargetsRequest,
|
|
141
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_data_data_pb.SyncSchedulerTargetsResponse>;
|
|
142
142
|
|
|
143
143
|
syncSchedulerTargets(
|
|
144
|
-
request:
|
|
144
|
+
request: api_data_data_pb.SyncSchedulerTargetsRequest,
|
|
145
145
|
metadata: grpcWeb.Metadata | null,
|
|
146
146
|
callback: (err: grpcWeb.RpcError,
|
|
147
|
-
response:
|
|
147
|
+
response: api_data_data_pb.SyncSchedulerTargetsResponse) => void): grpcWeb.ClientReadableStream<api_data_data_pb.SyncSchedulerTargetsResponse>;
|
|
148
148
|
|
|
149
149
|
syncSchedulerTargets(
|
|
150
|
-
request:
|
|
150
|
+
request: api_data_data_pb.SyncSchedulerTargetsRequest,
|
|
151
151
|
metadata?: grpcWeb.Metadata | null,
|
|
152
152
|
callback?: (err: grpcWeb.RpcError,
|
|
153
|
-
response:
|
|
153
|
+
response: api_data_data_pb.SyncSchedulerTargetsResponse) => void) {
|
|
154
154
|
if (callback !== undefined) {
|
|
155
155
|
return this.client_.rpcCall(
|
|
156
156
|
this.hostname_ +
|
|
@@ -171,29 +171,29 @@ export class DbApiClient {
|
|
|
171
171
|
methodDescriptorListLastDownloads = new grpcWeb.MethodDescriptor(
|
|
172
172
|
'/trb.db.api.public.contract.v1.DbApi/ListLastDownloads',
|
|
173
173
|
grpcWeb.MethodType.UNARY,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
(request:
|
|
174
|
+
api_data_data_pb.ListLastDownloadsRequest,
|
|
175
|
+
api_data_data_pb.ListLastDownloadsResponse,
|
|
176
|
+
(request: api_data_data_pb.ListLastDownloadsRequest) => {
|
|
177
177
|
return request.serializeBinary();
|
|
178
178
|
},
|
|
179
|
-
|
|
179
|
+
api_data_data_pb.ListLastDownloadsResponse.deserializeBinary
|
|
180
180
|
);
|
|
181
181
|
|
|
182
182
|
listLastDownloads(
|
|
183
|
-
request:
|
|
184
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
183
|
+
request: api_data_data_pb.ListLastDownloadsRequest,
|
|
184
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_data_data_pb.ListLastDownloadsResponse>;
|
|
185
185
|
|
|
186
186
|
listLastDownloads(
|
|
187
|
-
request:
|
|
187
|
+
request: api_data_data_pb.ListLastDownloadsRequest,
|
|
188
188
|
metadata: grpcWeb.Metadata | null,
|
|
189
189
|
callback: (err: grpcWeb.RpcError,
|
|
190
|
-
response:
|
|
190
|
+
response: api_data_data_pb.ListLastDownloadsResponse) => void): grpcWeb.ClientReadableStream<api_data_data_pb.ListLastDownloadsResponse>;
|
|
191
191
|
|
|
192
192
|
listLastDownloads(
|
|
193
|
-
request:
|
|
193
|
+
request: api_data_data_pb.ListLastDownloadsRequest,
|
|
194
194
|
metadata?: grpcWeb.Metadata | null,
|
|
195
195
|
callback?: (err: grpcWeb.RpcError,
|
|
196
|
-
response:
|
|
196
|
+
response: api_data_data_pb.ListLastDownloadsResponse) => void) {
|
|
197
197
|
if (callback !== undefined) {
|
|
198
198
|
return this.client_.rpcCall(
|
|
199
199
|
this.hostname_ +
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as google_api_annotations_pb from '
|
|
3
|
+
import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
4
|
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
5
5
|
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// source:
|
|
1
|
+
// source: api/data/data.proto
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
@@ -21,7 +21,7 @@ var global =
|
|
|
21
21
|
(function () { return this; }).call(null) ||
|
|
22
22
|
Function('return this')();
|
|
23
23
|
|
|
24
|
-
var google_api_annotations_pb = require('
|
|
24
|
+
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
25
25
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
26
26
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
27
27
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|