@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.
@@ -1,7 +1,7 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
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"
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: clickhouse_manager/manager.proto
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('../google/api/annotations_pb.js');
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('../google/api/field_behavior_pb.js');
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: db_api/db_api.proto
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 db_api_db_api_pb from '../db_api/db_api_pb'; // proto import: "db_api/db_api.proto"
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
- db_api_db_api_pb.ListInstrumentsRequest,
46
- db_api_db_api_pb.ListInstrumentsResponse,
47
- (request: db_api_db_api_pb.ListInstrumentsRequest) => {
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
- db_api_db_api_pb.ListInstrumentsResponse.deserializeBinary
50
+ api_data_data_pb.ListInstrumentsResponse.deserializeBinary
51
51
  );
52
52
 
53
53
  listInstruments(
54
- request: db_api_db_api_pb.ListInstrumentsRequest,
55
- metadata?: grpcWeb.Metadata | null): Promise<db_api_db_api_pb.ListInstrumentsResponse>;
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: db_api_db_api_pb.ListInstrumentsRequest,
58
+ request: api_data_data_pb.ListInstrumentsRequest,
59
59
  metadata: grpcWeb.Metadata | null,
60
60
  callback: (err: grpcWeb.RpcError,
61
- response: db_api_db_api_pb.ListInstrumentsResponse) => void): grpcWeb.ClientReadableStream<db_api_db_api_pb.ListInstrumentsResponse>;
61
+ response: api_data_data_pb.ListInstrumentsResponse) => void): grpcWeb.ClientReadableStream<api_data_data_pb.ListInstrumentsResponse>;
62
62
 
63
63
  listInstruments(
64
- request: db_api_db_api_pb.ListInstrumentsRequest,
64
+ request: api_data_data_pb.ListInstrumentsRequest,
65
65
  metadata?: grpcWeb.Metadata | null,
66
66
  callback?: (err: grpcWeb.RpcError,
67
- response: db_api_db_api_pb.ListInstrumentsResponse) => void) {
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
- db_api_db_api_pb.ListSchedulerTargetsRequest,
89
- db_api_db_api_pb.ListSchedulerTargetsResponse,
90
- (request: db_api_db_api_pb.ListSchedulerTargetsRequest) => {
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
- db_api_db_api_pb.ListSchedulerTargetsResponse.deserializeBinary
93
+ api_data_data_pb.ListSchedulerTargetsResponse.deserializeBinary
94
94
  );
95
95
 
96
96
  listSchedulerTargets(
97
- request: db_api_db_api_pb.ListSchedulerTargetsRequest,
98
- metadata?: grpcWeb.Metadata | null): Promise<db_api_db_api_pb.ListSchedulerTargetsResponse>;
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: db_api_db_api_pb.ListSchedulerTargetsRequest,
101
+ request: api_data_data_pb.ListSchedulerTargetsRequest,
102
102
  metadata: grpcWeb.Metadata | null,
103
103
  callback: (err: grpcWeb.RpcError,
104
- response: db_api_db_api_pb.ListSchedulerTargetsResponse) => void): grpcWeb.ClientReadableStream<db_api_db_api_pb.ListSchedulerTargetsResponse>;
104
+ response: api_data_data_pb.ListSchedulerTargetsResponse) => void): grpcWeb.ClientReadableStream<api_data_data_pb.ListSchedulerTargetsResponse>;
105
105
 
106
106
  listSchedulerTargets(
107
- request: db_api_db_api_pb.ListSchedulerTargetsRequest,
107
+ request: api_data_data_pb.ListSchedulerTargetsRequest,
108
108
  metadata?: grpcWeb.Metadata | null,
109
109
  callback?: (err: grpcWeb.RpcError,
110
- response: db_api_db_api_pb.ListSchedulerTargetsResponse) => void) {
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
- db_api_db_api_pb.SyncSchedulerTargetsRequest,
132
- db_api_db_api_pb.SyncSchedulerTargetsResponse,
133
- (request: db_api_db_api_pb.SyncSchedulerTargetsRequest) => {
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
- db_api_db_api_pb.SyncSchedulerTargetsResponse.deserializeBinary
136
+ api_data_data_pb.SyncSchedulerTargetsResponse.deserializeBinary
137
137
  );
138
138
 
139
139
  syncSchedulerTargets(
140
- request: db_api_db_api_pb.SyncSchedulerTargetsRequest,
141
- metadata?: grpcWeb.Metadata | null): Promise<db_api_db_api_pb.SyncSchedulerTargetsResponse>;
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: db_api_db_api_pb.SyncSchedulerTargetsRequest,
144
+ request: api_data_data_pb.SyncSchedulerTargetsRequest,
145
145
  metadata: grpcWeb.Metadata | null,
146
146
  callback: (err: grpcWeb.RpcError,
147
- response: db_api_db_api_pb.SyncSchedulerTargetsResponse) => void): grpcWeb.ClientReadableStream<db_api_db_api_pb.SyncSchedulerTargetsResponse>;
147
+ response: api_data_data_pb.SyncSchedulerTargetsResponse) => void): grpcWeb.ClientReadableStream<api_data_data_pb.SyncSchedulerTargetsResponse>;
148
148
 
149
149
  syncSchedulerTargets(
150
- request: db_api_db_api_pb.SyncSchedulerTargetsRequest,
150
+ request: api_data_data_pb.SyncSchedulerTargetsRequest,
151
151
  metadata?: grpcWeb.Metadata | null,
152
152
  callback?: (err: grpcWeb.RpcError,
153
- response: db_api_db_api_pb.SyncSchedulerTargetsResponse) => void) {
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
- db_api_db_api_pb.ListLastDownloadsRequest,
175
- db_api_db_api_pb.ListLastDownloadsResponse,
176
- (request: db_api_db_api_pb.ListLastDownloadsRequest) => {
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
- db_api_db_api_pb.ListLastDownloadsResponse.deserializeBinary
179
+ api_data_data_pb.ListLastDownloadsResponse.deserializeBinary
180
180
  );
181
181
 
182
182
  listLastDownloads(
183
- request: db_api_db_api_pb.ListLastDownloadsRequest,
184
- metadata?: grpcWeb.Metadata | null): Promise<db_api_db_api_pb.ListLastDownloadsResponse>;
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: db_api_db_api_pb.ListLastDownloadsRequest,
187
+ request: api_data_data_pb.ListLastDownloadsRequest,
188
188
  metadata: grpcWeb.Metadata | null,
189
189
  callback: (err: grpcWeb.RpcError,
190
- response: db_api_db_api_pb.ListLastDownloadsResponse) => void): grpcWeb.ClientReadableStream<db_api_db_api_pb.ListLastDownloadsResponse>;
190
+ response: api_data_data_pb.ListLastDownloadsResponse) => void): grpcWeb.ClientReadableStream<api_data_data_pb.ListLastDownloadsResponse>;
191
191
 
192
192
  listLastDownloads(
193
- request: db_api_db_api_pb.ListLastDownloadsRequest,
193
+ request: api_data_data_pb.ListLastDownloadsRequest,
194
194
  metadata?: grpcWeb.Metadata | null,
195
195
  callback?: (err: grpcWeb.RpcError,
196
- response: db_api_db_api_pb.ListLastDownloadsResponse) => void) {
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 '../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
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: db_api/db_api.proto
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('../google/api/annotations_pb.js');
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);