@rsdk/builtin-contract 5.7.0-next.6 → 6.0.0-next.1
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/dist/descriptor.d.ts +1 -1
- package/dist/google/protobuf/struct.js +53 -44
- package/dist/google/protobuf/struct.js.map +1 -1
- package/dist/grpc/error/v1/error.js +6 -5
- package/dist/grpc/error/v1/error.js.map +1 -1
- package/dist/grpc/health/v1/health.d.ts +4 -4
- package/dist/grpc/health/v1/health.js +6 -4
- package/dist/grpc/health/v1/health.js.map +1 -1
- package/dist/grpc/metrics/v1/metrics.d.ts +2 -2
- package/dist/grpc/metrics/v1/metrics.js +4 -3
- package/dist/grpc/metrics/v1/metrics.js.map +1 -1
- package/dist/grpc/reflection/v1/reflection.d.ts +2 -2
- package/dist/grpc/reflection/v1/reflection.js +78 -63
- package/dist/grpc/reflection/v1/reflection.js.map +1 -1
- package/dist/grpc/reflection/v1alpha/reflection.d.ts +2 -2
- package/dist/grpc/reflection/v1alpha/reflection.js +78 -63
- package/dist/grpc/reflection/v1alpha/reflection.js.map +1 -1
- package/dist/grpc.health.v1.d.ts +13 -13
- package/dist/grpc.metrics.v1.d.ts +5 -5
- package/dist/grpc.reflection.v1.d.ts +65 -65
- package/dist/grpc.reflection.v1.js +9 -9
- package/dist/grpc.reflection.v1.js.map +1 -1
- package/dist/grpc.reflection.v1alpha.d.ts +67 -67
- package/dist/grpc.reflection.v1alpha.js +9 -9
- package/dist/grpc.reflection.v1alpha.js.map +1 -1
- package/dist/index.google.js +17 -7
- package/dist/index.google.js.map +1 -1
- package/dist/index.grpc.error.js +17 -7
- package/dist/index.grpc.error.js.map +1 -1
- package/dist/index.grpc.health.js +17 -7
- package/dist/index.grpc.health.js.map +1 -1
- package/dist/index.grpc.js +17 -7
- package/dist/index.grpc.js.map +1 -1
- package/dist/index.grpc.metrics.js +17 -7
- package/dist/index.grpc.metrics.js.map +1 -1
- package/dist/index.grpc.reflection.js +17 -7
- package/dist/index.grpc.reflection.js.map +1 -1
- package/dist/index.js +17 -7
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.build.json +0 -12
|
@@ -4,14 +4,14 @@ import type { CallOptions, DefaultCallOptions } from 'nice-grpc';
|
|
|
4
4
|
import type { NormalizedServiceDefinition } from 'nice-grpc/lib/service-definitions';
|
|
5
5
|
import type { Observable } from 'rxjs';
|
|
6
6
|
import { ServerReflectionDefinition } from './grpc/reflection/v1/reflection';
|
|
7
|
-
import { ServerReflectionResponse } from './grpc/reflection/v1/reflection';
|
|
8
|
-
import { FileDescriptorResponse } from './grpc/reflection/v1/reflection';
|
|
9
|
-
import { ExtensionNumberResponse } from './grpc/reflection/v1/reflection';
|
|
10
7
|
import { ListServiceResponse } from './grpc/reflection/v1/reflection';
|
|
11
8
|
import { ServiceResponse } from './grpc/reflection/v1/reflection';
|
|
12
9
|
import { ErrorResponse } from './grpc/reflection/v1/reflection';
|
|
13
10
|
import { ServerReflectionRequest } from './grpc/reflection/v1/reflection';
|
|
14
11
|
import { ExtensionRequest } from './grpc/reflection/v1/reflection';
|
|
12
|
+
import { ServerReflectionResponse } from './grpc/reflection/v1/reflection';
|
|
13
|
+
import { FileDescriptorResponse } from './grpc/reflection/v1/reflection';
|
|
14
|
+
import { ExtensionNumberResponse } from './grpc/reflection/v1/reflection';
|
|
15
15
|
declare const _default: {
|
|
16
16
|
name: string;
|
|
17
17
|
definitions: {
|
|
@@ -21,9 +21,9 @@ declare const _default: {
|
|
|
21
21
|
readonly path: "/grpc.reflection.v1.ServerReflection/ServerReflectionInfo";
|
|
22
22
|
readonly requestStream: true;
|
|
23
23
|
readonly responseStream: true;
|
|
24
|
-
readonly requestSerialize: (value: ServerReflectionRequest) => Buffer
|
|
24
|
+
readonly requestSerialize: (value: ServerReflectionRequest) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
25
25
|
readonly requestDeserialize: (value: Buffer) => ServerReflectionRequest;
|
|
26
|
-
readonly responseSerialize: (value: ServerReflectionResponse) => Buffer
|
|
26
|
+
readonly responseSerialize: (value: ServerReflectionResponse) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
27
27
|
readonly responseDeserialize: (value: Buffer) => ServerReflectionResponse;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
@@ -42,55 +42,55 @@ declare const _default: {
|
|
|
42
42
|
fromJSON(object: any): ServerReflectionRequest;
|
|
43
43
|
toJSON(message: ServerReflectionRequest): unknown;
|
|
44
44
|
create(base?: {
|
|
45
|
-
readonly host?: string;
|
|
45
|
+
readonly host?: string | undefined;
|
|
46
46
|
readonly messageRequest?: ({
|
|
47
|
-
readonly fileByFilename?: string;
|
|
47
|
+
readonly fileByFilename?: string | undefined;
|
|
48
48
|
} & {
|
|
49
49
|
readonly $case: "fileByFilename";
|
|
50
50
|
}) | ({
|
|
51
|
-
readonly fileContainingSymbol?: string;
|
|
51
|
+
readonly fileContainingSymbol?: string | undefined;
|
|
52
52
|
} & {
|
|
53
53
|
readonly $case: "fileContainingSymbol";
|
|
54
54
|
}) | ({
|
|
55
55
|
readonly fileContainingExtension?: {
|
|
56
|
-
readonly containingType?: string;
|
|
57
|
-
readonly extensionNumber?: number;
|
|
58
|
-
};
|
|
56
|
+
readonly containingType?: string | undefined;
|
|
57
|
+
readonly extensionNumber?: number | undefined;
|
|
58
|
+
} | undefined;
|
|
59
59
|
} & {
|
|
60
60
|
readonly $case: "fileContainingExtension";
|
|
61
61
|
}) | ({
|
|
62
|
-
readonly allExtensionNumbersOfType?: string;
|
|
62
|
+
readonly allExtensionNumbersOfType?: string | undefined;
|
|
63
63
|
} & {
|
|
64
64
|
readonly $case: "allExtensionNumbersOfType";
|
|
65
65
|
}) | ({
|
|
66
|
-
readonly listServices?: string;
|
|
66
|
+
readonly listServices?: string | undefined;
|
|
67
67
|
} & {
|
|
68
68
|
readonly $case: "listServices";
|
|
69
69
|
}) | undefined;
|
|
70
70
|
}): ServerReflectionRequest;
|
|
71
71
|
fromPartial(object: {
|
|
72
|
-
readonly host?: string;
|
|
72
|
+
readonly host?: string | undefined;
|
|
73
73
|
readonly messageRequest?: ({
|
|
74
|
-
readonly fileByFilename?: string;
|
|
74
|
+
readonly fileByFilename?: string | undefined;
|
|
75
75
|
} & {
|
|
76
76
|
readonly $case: "fileByFilename";
|
|
77
77
|
}) | ({
|
|
78
|
-
readonly fileContainingSymbol?: string;
|
|
78
|
+
readonly fileContainingSymbol?: string | undefined;
|
|
79
79
|
} & {
|
|
80
80
|
readonly $case: "fileContainingSymbol";
|
|
81
81
|
}) | ({
|
|
82
82
|
readonly fileContainingExtension?: {
|
|
83
|
-
readonly containingType?: string;
|
|
84
|
-
readonly extensionNumber?: number;
|
|
85
|
-
};
|
|
83
|
+
readonly containingType?: string | undefined;
|
|
84
|
+
readonly extensionNumber?: number | undefined;
|
|
85
|
+
} | undefined;
|
|
86
86
|
} & {
|
|
87
87
|
readonly $case: "fileContainingExtension";
|
|
88
88
|
}) | ({
|
|
89
|
-
readonly allExtensionNumbersOfType?: string;
|
|
89
|
+
readonly allExtensionNumbersOfType?: string | undefined;
|
|
90
90
|
} & {
|
|
91
91
|
readonly $case: "allExtensionNumbersOfType";
|
|
92
92
|
}) | ({
|
|
93
|
-
readonly listServices?: string;
|
|
93
|
+
readonly listServices?: string | undefined;
|
|
94
94
|
} & {
|
|
95
95
|
readonly $case: "listServices";
|
|
96
96
|
}) | undefined;
|
|
@@ -104,119 +104,119 @@ declare const _default: {
|
|
|
104
104
|
fromJSON(object: any): ServerReflectionResponse;
|
|
105
105
|
toJSON(message: ServerReflectionResponse): unknown;
|
|
106
106
|
create(base?: {
|
|
107
|
-
readonly validHost?: string;
|
|
107
|
+
readonly validHost?: string | undefined;
|
|
108
108
|
readonly originalRequest?: {
|
|
109
|
-
readonly host?: string;
|
|
109
|
+
readonly host?: string | undefined;
|
|
110
110
|
readonly messageRequest?: ({
|
|
111
|
-
readonly fileByFilename?: string;
|
|
111
|
+
readonly fileByFilename?: string | undefined;
|
|
112
112
|
} & {
|
|
113
113
|
readonly $case: "fileByFilename";
|
|
114
114
|
}) | ({
|
|
115
|
-
readonly fileContainingSymbol?: string;
|
|
115
|
+
readonly fileContainingSymbol?: string | undefined;
|
|
116
116
|
} & {
|
|
117
117
|
readonly $case: "fileContainingSymbol";
|
|
118
118
|
}) | ({
|
|
119
119
|
readonly fileContainingExtension?: {
|
|
120
|
-
readonly containingType?: string;
|
|
121
|
-
readonly extensionNumber?: number;
|
|
122
|
-
};
|
|
120
|
+
readonly containingType?: string | undefined;
|
|
121
|
+
readonly extensionNumber?: number | undefined;
|
|
122
|
+
} | undefined;
|
|
123
123
|
} & {
|
|
124
124
|
readonly $case: "fileContainingExtension";
|
|
125
125
|
}) | ({
|
|
126
|
-
readonly allExtensionNumbersOfType?: string;
|
|
126
|
+
readonly allExtensionNumbersOfType?: string | undefined;
|
|
127
127
|
} & {
|
|
128
128
|
readonly $case: "allExtensionNumbersOfType";
|
|
129
129
|
}) | ({
|
|
130
|
-
readonly listServices?: string;
|
|
130
|
+
readonly listServices?: string | undefined;
|
|
131
131
|
} & {
|
|
132
132
|
readonly $case: "listServices";
|
|
133
133
|
}) | undefined;
|
|
134
134
|
} | undefined;
|
|
135
135
|
readonly messageResponse?: ({
|
|
136
136
|
readonly fileDescriptorResponse?: {
|
|
137
|
-
readonly fileDescriptorProto?: readonly Buffer[];
|
|
138
|
-
};
|
|
137
|
+
readonly fileDescriptorProto?: readonly Buffer<ArrayBufferLike>[] | undefined;
|
|
138
|
+
} | undefined;
|
|
139
139
|
} & {
|
|
140
140
|
readonly $case: "fileDescriptorResponse";
|
|
141
141
|
}) | ({
|
|
142
142
|
readonly allExtensionNumbersResponse?: {
|
|
143
|
-
readonly baseTypeName?: string;
|
|
144
|
-
readonly extensionNumber?: readonly number[];
|
|
145
|
-
};
|
|
143
|
+
readonly baseTypeName?: string | undefined;
|
|
144
|
+
readonly extensionNumber?: readonly number[] | undefined;
|
|
145
|
+
} | undefined;
|
|
146
146
|
} & {
|
|
147
147
|
readonly $case: "allExtensionNumbersResponse";
|
|
148
148
|
}) | ({
|
|
149
149
|
readonly listServicesResponse?: {
|
|
150
150
|
readonly service?: readonly {
|
|
151
|
-
readonly name?: string;
|
|
152
|
-
}[];
|
|
153
|
-
};
|
|
151
|
+
readonly name?: string | undefined;
|
|
152
|
+
}[] | undefined;
|
|
153
|
+
} | undefined;
|
|
154
154
|
} & {
|
|
155
155
|
readonly $case: "listServicesResponse";
|
|
156
156
|
}) | ({
|
|
157
157
|
readonly errorResponse?: {
|
|
158
|
-
readonly errorCode?: number;
|
|
159
|
-
readonly errorMessage?: string;
|
|
160
|
-
};
|
|
158
|
+
readonly errorCode?: number | undefined;
|
|
159
|
+
readonly errorMessage?: string | undefined;
|
|
160
|
+
} | undefined;
|
|
161
161
|
} & {
|
|
162
162
|
readonly $case: "errorResponse";
|
|
163
163
|
}) | undefined;
|
|
164
164
|
}): ServerReflectionResponse;
|
|
165
165
|
fromPartial(object: {
|
|
166
|
-
readonly validHost?: string;
|
|
166
|
+
readonly validHost?: string | undefined;
|
|
167
167
|
readonly originalRequest?: {
|
|
168
|
-
readonly host?: string;
|
|
168
|
+
readonly host?: string | undefined;
|
|
169
169
|
readonly messageRequest?: ({
|
|
170
|
-
readonly fileByFilename?: string;
|
|
170
|
+
readonly fileByFilename?: string | undefined;
|
|
171
171
|
} & {
|
|
172
172
|
readonly $case: "fileByFilename";
|
|
173
173
|
}) | ({
|
|
174
|
-
readonly fileContainingSymbol?: string;
|
|
174
|
+
readonly fileContainingSymbol?: string | undefined;
|
|
175
175
|
} & {
|
|
176
176
|
readonly $case: "fileContainingSymbol";
|
|
177
177
|
}) | ({
|
|
178
178
|
readonly fileContainingExtension?: {
|
|
179
|
-
readonly containingType?: string;
|
|
180
|
-
readonly extensionNumber?: number;
|
|
181
|
-
};
|
|
179
|
+
readonly containingType?: string | undefined;
|
|
180
|
+
readonly extensionNumber?: number | undefined;
|
|
181
|
+
} | undefined;
|
|
182
182
|
} & {
|
|
183
183
|
readonly $case: "fileContainingExtension";
|
|
184
184
|
}) | ({
|
|
185
|
-
readonly allExtensionNumbersOfType?: string;
|
|
185
|
+
readonly allExtensionNumbersOfType?: string | undefined;
|
|
186
186
|
} & {
|
|
187
187
|
readonly $case: "allExtensionNumbersOfType";
|
|
188
188
|
}) | ({
|
|
189
|
-
readonly listServices?: string;
|
|
189
|
+
readonly listServices?: string | undefined;
|
|
190
190
|
} & {
|
|
191
191
|
readonly $case: "listServices";
|
|
192
192
|
}) | undefined;
|
|
193
193
|
} | undefined;
|
|
194
194
|
readonly messageResponse?: ({
|
|
195
195
|
readonly fileDescriptorResponse?: {
|
|
196
|
-
readonly fileDescriptorProto?: readonly Buffer[];
|
|
197
|
-
};
|
|
196
|
+
readonly fileDescriptorProto?: readonly Buffer<ArrayBufferLike>[] | undefined;
|
|
197
|
+
} | undefined;
|
|
198
198
|
} & {
|
|
199
199
|
readonly $case: "fileDescriptorResponse";
|
|
200
200
|
}) | ({
|
|
201
201
|
readonly allExtensionNumbersResponse?: {
|
|
202
|
-
readonly baseTypeName?: string;
|
|
203
|
-
readonly extensionNumber?: readonly number[];
|
|
204
|
-
};
|
|
202
|
+
readonly baseTypeName?: string | undefined;
|
|
203
|
+
readonly extensionNumber?: readonly number[] | undefined;
|
|
204
|
+
} | undefined;
|
|
205
205
|
} & {
|
|
206
206
|
readonly $case: "allExtensionNumbersResponse";
|
|
207
207
|
}) | ({
|
|
208
208
|
readonly listServicesResponse?: {
|
|
209
209
|
readonly service?: readonly {
|
|
210
|
-
readonly name?: string;
|
|
211
|
-
}[];
|
|
212
|
-
};
|
|
210
|
+
readonly name?: string | undefined;
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
} | undefined;
|
|
213
213
|
} & {
|
|
214
214
|
readonly $case: "listServicesResponse";
|
|
215
215
|
}) | ({
|
|
216
216
|
readonly errorResponse?: {
|
|
217
|
-
readonly errorCode?: number;
|
|
218
|
-
readonly errorMessage?: string;
|
|
219
|
-
};
|
|
217
|
+
readonly errorCode?: number | undefined;
|
|
218
|
+
readonly errorMessage?: string | undefined;
|
|
219
|
+
} | undefined;
|
|
220
220
|
} & {
|
|
221
221
|
readonly $case: "errorResponse";
|
|
222
222
|
}) | undefined;
|
|
@@ -229,7 +229,7 @@ declare const _default: {
|
|
|
229
229
|
};
|
|
230
230
|
};
|
|
231
231
|
};
|
|
232
|
-
descriptor: Buffer
|
|
232
|
+
descriptor: Buffer<ArrayBuffer>;
|
|
233
233
|
};
|
|
234
234
|
export default _default;
|
|
235
235
|
export interface ServerReflectionGrpcController {
|
|
@@ -252,14 +252,14 @@ export interface ServerReflectionClient<CallOptionsExt = {}> {
|
|
|
252
252
|
* @see https://github.com/deeplay-io/nice-grpc/tree/master/packages/nice-grpc#client
|
|
253
253
|
*/
|
|
254
254
|
export declare function createServerReflectionClient<CallOptionsExt = {}>(channel: ChannelImplementation, defaultCallOptions?: DefaultCallOptions<NormalizedServiceDefinition<ServerReflectionDefinition>>): ServerReflectionClient<CallOptionsExt>;
|
|
255
|
-
export { ServerReflectionResponse };
|
|
256
|
-
export { FileDescriptorResponse };
|
|
257
|
-
export { ExtensionNumberResponse };
|
|
258
255
|
export { ListServiceResponse };
|
|
259
256
|
export { ServiceResponse };
|
|
260
257
|
export { ErrorResponse };
|
|
261
258
|
export { ServerReflectionRequest };
|
|
262
259
|
export { ExtensionRequest };
|
|
260
|
+
export { ServerReflectionResponse };
|
|
261
|
+
export { FileDescriptorResponse };
|
|
262
|
+
export { ExtensionNumberResponse };
|
|
263
263
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
264
264
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
265
265
|
$case: string;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ExtensionNumberResponse = exports.FileDescriptorResponse = exports.ServerReflectionResponse = exports.ExtensionRequest = exports.ServerReflectionRequest = exports.ErrorResponse = exports.ServiceResponse = exports.ListServiceResponse = void 0;
|
|
4
4
|
exports.ServerReflectionGrpcMethods = ServerReflectionGrpcMethods;
|
|
5
5
|
exports.createServerReflectionClient = createServerReflectionClient;
|
|
6
6
|
// *Service is definition from grpc-js (used for Nest.js gRPC transport)
|
|
7
7
|
// *Definition is generic definition (used for NiceGrpc clients)
|
|
8
8
|
const reflection_1 = require("./grpc/reflection/v1/reflection");
|
|
9
9
|
const reflection_2 = require("./grpc/reflection/v1/reflection");
|
|
10
|
-
Object.defineProperty(exports, "
|
|
10
|
+
Object.defineProperty(exports, "ListServiceResponse", { enumerable: true, get: function () { return reflection_2.ListServiceResponse; } });
|
|
11
11
|
const reflection_3 = require("./grpc/reflection/v1/reflection");
|
|
12
|
-
Object.defineProperty(exports, "
|
|
12
|
+
Object.defineProperty(exports, "ServiceResponse", { enumerable: true, get: function () { return reflection_3.ServiceResponse; } });
|
|
13
13
|
const reflection_4 = require("./grpc/reflection/v1/reflection");
|
|
14
|
-
Object.defineProperty(exports, "
|
|
14
|
+
Object.defineProperty(exports, "ErrorResponse", { enumerable: true, get: function () { return reflection_4.ErrorResponse; } });
|
|
15
15
|
const reflection_5 = require("./grpc/reflection/v1/reflection");
|
|
16
|
-
Object.defineProperty(exports, "
|
|
16
|
+
Object.defineProperty(exports, "ServerReflectionRequest", { enumerable: true, get: function () { return reflection_5.ServerReflectionRequest; } });
|
|
17
17
|
const reflection_6 = require("./grpc/reflection/v1/reflection");
|
|
18
|
-
Object.defineProperty(exports, "
|
|
18
|
+
Object.defineProperty(exports, "ExtensionRequest", { enumerable: true, get: function () { return reflection_6.ExtensionRequest; } });
|
|
19
19
|
const reflection_7 = require("./grpc/reflection/v1/reflection");
|
|
20
|
-
Object.defineProperty(exports, "
|
|
20
|
+
Object.defineProperty(exports, "ServerReflectionResponse", { enumerable: true, get: function () { return reflection_7.ServerReflectionResponse; } });
|
|
21
21
|
const reflection_8 = require("./grpc/reflection/v1/reflection");
|
|
22
|
-
Object.defineProperty(exports, "
|
|
22
|
+
Object.defineProperty(exports, "FileDescriptorResponse", { enumerable: true, get: function () { return reflection_8.FileDescriptorResponse; } });
|
|
23
23
|
const reflection_9 = require("./grpc/reflection/v1/reflection");
|
|
24
|
-
Object.defineProperty(exports, "
|
|
24
|
+
Object.defineProperty(exports, "ExtensionNumberResponse", { enumerable: true, get: function () { return reflection_9.ExtensionNumberResponse; } });
|
|
25
25
|
const descriptor_1 = require("./descriptor");
|
|
26
26
|
// Actual 'Package' meta information
|
|
27
27
|
// TODO type it with Package interface from @platform/grpc when it is deployed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grpc.reflection.v1.js","sourceRoot":"","sources":["../.generated/grpc.reflection.v1.ts"],"names":[],"mappings":";;;AA8DE,kEAmBC;AAYD,oEAGC;AA/ED,wEAAwE;AACxE,gEAAgE;AAC9D,gEAA0H;AAC1H,
|
|
1
|
+
{"version":3,"file":"grpc.reflection.v1.js","sourceRoot":"","sources":["../.generated/grpc.reflection.v1.ts"],"names":[],"mappings":";;;AA8DE,kEAmBC;AAYD,oEAGC;AA/ED,wEAAwE;AACxE,gEAAgE;AAC9D,gEAA0H;AAC1H,gEAAsE;AA6E7D,oGA7EA,gCAAmB,OA6EA;AA5E5B,gEAAkE;AA6EzD,gGA7EA,4BAAe,OA6EA;AA5ExB,gEAAgE;AA6EvD,8FA7EA,0BAAa,OA6EA;AA5EtB,gEAA0E;AA6EjE,wGA7EA,oCAAuB,OA6EA;AA5EhC,gEAAmE;AA6E1D,iGA7EA,6BAAgB,OA6EA;AA5EzB,gEAA2E;AA6ElE,yGA7EA,qCAAwB,OA6EA;AA5EjC,gEAAyE;AA6EhE,uGA7EA,mCAAsB,OA6EA;AA5E/B,gEAA0E;AA6EjE,wGA7EA,oCAAuB,OA6EA;AA5ElC,6CAA0C;AAE1C,oCAAoC;AACpC,8EAA8E;AAC9E,kBAAe;IACb,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE;QACX,SAAS,EAAE,EAAE,gBAAgB,EAAhB,oCAAgB,EAAE;QAC/B,SAAS,EAAE,EAAE,0BAA0B,EAA1B,uCAA0B,EAAE;KAC1C;IACD,UAAU,EAAE,uBAAU;CACvB,CAAC;AACF,qDAAqD;AACrD,SAAS,KAAK,CAAC,SAAmB,EAAE,WAAqB,EAAE,MAAc,EAAE,WAAmB;IAC5F,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CACtD,WAAW,CAAC,SAAS,EACrB,MAAM,CACP,CAAC;IACF,SAAS,CAAC,WAAW,EAAE,MAAM,CAAC,CAC5B,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAC7B,MAAM,EACN,UAAU,CACX,CAAC;AACJ,CAAC;AAKD;;;;;EAKE;AACF,SAAgB,2BAA2B;IACzC,MAAM,wBAAwB,GAAG,CAAC,SAAiB,EAAO,EAAE;QAC1D,IAAI,CAAC;YACH,+BAA+B;YAC/B,OAAO,OAAO,CAAC,SAAS,CAAC,CAAA;QAC3B,CAAC;QAAC,MAAM,CAAC;YACP,8CAA8C;YAC9C,qIAAqI;YACrI,OAAO,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;QACxE,CAAC;IACH,CAAC,CAAA;IACD,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,GAAG,wBAAwB,CAAC,gBAAgB,CAAC,CAAC;IACnF,MAAM,EAAE,UAAU,EAAE,gBAAgB,EAAE,GAAG,wBAAwB,CAAC,uBAAuB,CAAC,CAAC;IAC3F,OAAO,eAAe,CACpB,UAAU,EAAE,EACZ,UAAU,WAAqB;QAC3B,KAAK,CAAC,gBAAgB,EAAE,WAAW,EAAE,sBAAsB,EAAE,kBAAkB,CAAC,CAAC;IACrF,CAAC,CACF,CAAC;AACJ,CAAC;AAMD;;;;;GAKG;AACH,SAAgB,4BAA4B,CAAsB,OAA8B,EAAE,kBAAgG;IAChM,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;IAC9C,OAAO,YAAY,CAAC,uCAA0B,EAAE,OAAO,EAAE,kBAAkB,CAAC,CAAC;AAC/E,CAAC"}
|
|
@@ -4,14 +4,14 @@ import type { CallOptions, DefaultCallOptions } from 'nice-grpc';
|
|
|
4
4
|
import type { NormalizedServiceDefinition } from 'nice-grpc/lib/service-definitions';
|
|
5
5
|
import type { Observable } from 'rxjs';
|
|
6
6
|
import { ServerReflectionDefinition } from './grpc/reflection/v1alpha/reflection';
|
|
7
|
-
import { ExtensionRequest } from './grpc/reflection/v1alpha/reflection';
|
|
8
|
-
import { ServerReflectionResponse } from './grpc/reflection/v1alpha/reflection';
|
|
9
|
-
import { FileDescriptorResponse } from './grpc/reflection/v1alpha/reflection';
|
|
10
|
-
import { ExtensionNumberResponse } from './grpc/reflection/v1alpha/reflection';
|
|
11
7
|
import { ListServiceResponse } from './grpc/reflection/v1alpha/reflection';
|
|
12
8
|
import { ServiceResponse } from './grpc/reflection/v1alpha/reflection';
|
|
13
9
|
import { ErrorResponse } from './grpc/reflection/v1alpha/reflection';
|
|
14
10
|
import { ServerReflectionRequest } from './grpc/reflection/v1alpha/reflection';
|
|
11
|
+
import { ExtensionRequest } from './grpc/reflection/v1alpha/reflection';
|
|
12
|
+
import { ServerReflectionResponse } from './grpc/reflection/v1alpha/reflection';
|
|
13
|
+
import { FileDescriptorResponse } from './grpc/reflection/v1alpha/reflection';
|
|
14
|
+
import { ExtensionNumberResponse } from './grpc/reflection/v1alpha/reflection';
|
|
15
15
|
declare const _default: {
|
|
16
16
|
name: string;
|
|
17
17
|
definitions: {
|
|
@@ -21,9 +21,9 @@ declare const _default: {
|
|
|
21
21
|
readonly path: "/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo";
|
|
22
22
|
readonly requestStream: true;
|
|
23
23
|
readonly responseStream: true;
|
|
24
|
-
readonly requestSerialize: (value: ServerReflectionRequest) => Buffer
|
|
24
|
+
readonly requestSerialize: (value: ServerReflectionRequest) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
25
25
|
readonly requestDeserialize: (value: Buffer) => ServerReflectionRequest;
|
|
26
|
-
readonly responseSerialize: (value: ServerReflectionResponse) => Buffer
|
|
26
|
+
readonly responseSerialize: (value: ServerReflectionResponse) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
27
27
|
readonly responseDeserialize: (value: Buffer) => ServerReflectionResponse;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
@@ -42,55 +42,55 @@ declare const _default: {
|
|
|
42
42
|
fromJSON(object: any): ServerReflectionRequest;
|
|
43
43
|
toJSON(message: ServerReflectionRequest): unknown;
|
|
44
44
|
create(base?: {
|
|
45
|
-
readonly host?: string;
|
|
45
|
+
readonly host?: string | undefined;
|
|
46
46
|
readonly messageRequest?: ({
|
|
47
|
-
readonly fileByFilename?: string;
|
|
47
|
+
readonly fileByFilename?: string | undefined;
|
|
48
48
|
} & {
|
|
49
49
|
readonly $case: "fileByFilename";
|
|
50
50
|
}) | ({
|
|
51
|
-
readonly fileContainingSymbol?: string;
|
|
51
|
+
readonly fileContainingSymbol?: string | undefined;
|
|
52
52
|
} & {
|
|
53
53
|
readonly $case: "fileContainingSymbol";
|
|
54
54
|
}) | ({
|
|
55
55
|
readonly fileContainingExtension?: {
|
|
56
|
-
readonly containingType?: string;
|
|
57
|
-
readonly extensionNumber?: number;
|
|
58
|
-
};
|
|
56
|
+
readonly containingType?: string | undefined;
|
|
57
|
+
readonly extensionNumber?: number | undefined;
|
|
58
|
+
} | undefined;
|
|
59
59
|
} & {
|
|
60
60
|
readonly $case: "fileContainingExtension";
|
|
61
61
|
}) | ({
|
|
62
|
-
readonly allExtensionNumbersOfType?: string;
|
|
62
|
+
readonly allExtensionNumbersOfType?: string | undefined;
|
|
63
63
|
} & {
|
|
64
64
|
readonly $case: "allExtensionNumbersOfType";
|
|
65
65
|
}) | ({
|
|
66
|
-
readonly listServices?: string;
|
|
66
|
+
readonly listServices?: string | undefined;
|
|
67
67
|
} & {
|
|
68
68
|
readonly $case: "listServices";
|
|
69
69
|
}) | undefined;
|
|
70
70
|
}): ServerReflectionRequest;
|
|
71
71
|
fromPartial(object: {
|
|
72
|
-
readonly host?: string;
|
|
72
|
+
readonly host?: string | undefined;
|
|
73
73
|
readonly messageRequest?: ({
|
|
74
|
-
readonly fileByFilename?: string;
|
|
74
|
+
readonly fileByFilename?: string | undefined;
|
|
75
75
|
} & {
|
|
76
76
|
readonly $case: "fileByFilename";
|
|
77
77
|
}) | ({
|
|
78
|
-
readonly fileContainingSymbol?: string;
|
|
78
|
+
readonly fileContainingSymbol?: string | undefined;
|
|
79
79
|
} & {
|
|
80
80
|
readonly $case: "fileContainingSymbol";
|
|
81
81
|
}) | ({
|
|
82
82
|
readonly fileContainingExtension?: {
|
|
83
|
-
readonly containingType?: string;
|
|
84
|
-
readonly extensionNumber?: number;
|
|
85
|
-
};
|
|
83
|
+
readonly containingType?: string | undefined;
|
|
84
|
+
readonly extensionNumber?: number | undefined;
|
|
85
|
+
} | undefined;
|
|
86
86
|
} & {
|
|
87
87
|
readonly $case: "fileContainingExtension";
|
|
88
88
|
}) | ({
|
|
89
|
-
readonly allExtensionNumbersOfType?: string;
|
|
89
|
+
readonly allExtensionNumbersOfType?: string | undefined;
|
|
90
90
|
} & {
|
|
91
91
|
readonly $case: "allExtensionNumbersOfType";
|
|
92
92
|
}) | ({
|
|
93
|
-
readonly listServices?: string;
|
|
93
|
+
readonly listServices?: string | undefined;
|
|
94
94
|
} & {
|
|
95
95
|
readonly $case: "listServices";
|
|
96
96
|
}) | undefined;
|
|
@@ -104,119 +104,119 @@ declare const _default: {
|
|
|
104
104
|
fromJSON(object: any): ServerReflectionResponse;
|
|
105
105
|
toJSON(message: ServerReflectionResponse): unknown;
|
|
106
106
|
create(base?: {
|
|
107
|
-
readonly validHost?: string;
|
|
107
|
+
readonly validHost?: string | undefined;
|
|
108
108
|
readonly originalRequest?: {
|
|
109
|
-
readonly host?: string;
|
|
109
|
+
readonly host?: string | undefined;
|
|
110
110
|
readonly messageRequest?: ({
|
|
111
|
-
readonly fileByFilename?: string;
|
|
111
|
+
readonly fileByFilename?: string | undefined;
|
|
112
112
|
} & {
|
|
113
113
|
readonly $case: "fileByFilename";
|
|
114
114
|
}) | ({
|
|
115
|
-
readonly fileContainingSymbol?: string;
|
|
115
|
+
readonly fileContainingSymbol?: string | undefined;
|
|
116
116
|
} & {
|
|
117
117
|
readonly $case: "fileContainingSymbol";
|
|
118
118
|
}) | ({
|
|
119
119
|
readonly fileContainingExtension?: {
|
|
120
|
-
readonly containingType?: string;
|
|
121
|
-
readonly extensionNumber?: number;
|
|
122
|
-
};
|
|
120
|
+
readonly containingType?: string | undefined;
|
|
121
|
+
readonly extensionNumber?: number | undefined;
|
|
122
|
+
} | undefined;
|
|
123
123
|
} & {
|
|
124
124
|
readonly $case: "fileContainingExtension";
|
|
125
125
|
}) | ({
|
|
126
|
-
readonly allExtensionNumbersOfType?: string;
|
|
126
|
+
readonly allExtensionNumbersOfType?: string | undefined;
|
|
127
127
|
} & {
|
|
128
128
|
readonly $case: "allExtensionNumbersOfType";
|
|
129
129
|
}) | ({
|
|
130
|
-
readonly listServices?: string;
|
|
130
|
+
readonly listServices?: string | undefined;
|
|
131
131
|
} & {
|
|
132
132
|
readonly $case: "listServices";
|
|
133
133
|
}) | undefined;
|
|
134
134
|
} | undefined;
|
|
135
135
|
readonly messageResponse?: ({
|
|
136
136
|
readonly fileDescriptorResponse?: {
|
|
137
|
-
readonly fileDescriptorProto?: readonly Buffer[];
|
|
138
|
-
};
|
|
137
|
+
readonly fileDescriptorProto?: readonly Buffer<ArrayBufferLike>[] | undefined;
|
|
138
|
+
} | undefined;
|
|
139
139
|
} & {
|
|
140
140
|
readonly $case: "fileDescriptorResponse";
|
|
141
141
|
}) | ({
|
|
142
142
|
readonly allExtensionNumbersResponse?: {
|
|
143
|
-
readonly baseTypeName?: string;
|
|
144
|
-
readonly extensionNumber?: readonly number[];
|
|
145
|
-
};
|
|
143
|
+
readonly baseTypeName?: string | undefined;
|
|
144
|
+
readonly extensionNumber?: readonly number[] | undefined;
|
|
145
|
+
} | undefined;
|
|
146
146
|
} & {
|
|
147
147
|
readonly $case: "allExtensionNumbersResponse";
|
|
148
148
|
}) | ({
|
|
149
149
|
readonly listServicesResponse?: {
|
|
150
150
|
readonly service?: readonly {
|
|
151
|
-
readonly name?: string;
|
|
152
|
-
}[];
|
|
153
|
-
};
|
|
151
|
+
readonly name?: string | undefined;
|
|
152
|
+
}[] | undefined;
|
|
153
|
+
} | undefined;
|
|
154
154
|
} & {
|
|
155
155
|
readonly $case: "listServicesResponse";
|
|
156
156
|
}) | ({
|
|
157
157
|
readonly errorResponse?: {
|
|
158
|
-
readonly errorCode?: number;
|
|
159
|
-
readonly errorMessage?: string;
|
|
160
|
-
};
|
|
158
|
+
readonly errorCode?: number | undefined;
|
|
159
|
+
readonly errorMessage?: string | undefined;
|
|
160
|
+
} | undefined;
|
|
161
161
|
} & {
|
|
162
162
|
readonly $case: "errorResponse";
|
|
163
163
|
}) | undefined;
|
|
164
164
|
}): ServerReflectionResponse;
|
|
165
165
|
fromPartial(object: {
|
|
166
|
-
readonly validHost?: string;
|
|
166
|
+
readonly validHost?: string | undefined;
|
|
167
167
|
readonly originalRequest?: {
|
|
168
|
-
readonly host?: string;
|
|
168
|
+
readonly host?: string | undefined;
|
|
169
169
|
readonly messageRequest?: ({
|
|
170
|
-
readonly fileByFilename?: string;
|
|
170
|
+
readonly fileByFilename?: string | undefined;
|
|
171
171
|
} & {
|
|
172
172
|
readonly $case: "fileByFilename";
|
|
173
173
|
}) | ({
|
|
174
|
-
readonly fileContainingSymbol?: string;
|
|
174
|
+
readonly fileContainingSymbol?: string | undefined;
|
|
175
175
|
} & {
|
|
176
176
|
readonly $case: "fileContainingSymbol";
|
|
177
177
|
}) | ({
|
|
178
178
|
readonly fileContainingExtension?: {
|
|
179
|
-
readonly containingType?: string;
|
|
180
|
-
readonly extensionNumber?: number;
|
|
181
|
-
};
|
|
179
|
+
readonly containingType?: string | undefined;
|
|
180
|
+
readonly extensionNumber?: number | undefined;
|
|
181
|
+
} | undefined;
|
|
182
182
|
} & {
|
|
183
183
|
readonly $case: "fileContainingExtension";
|
|
184
184
|
}) | ({
|
|
185
|
-
readonly allExtensionNumbersOfType?: string;
|
|
185
|
+
readonly allExtensionNumbersOfType?: string | undefined;
|
|
186
186
|
} & {
|
|
187
187
|
readonly $case: "allExtensionNumbersOfType";
|
|
188
188
|
}) | ({
|
|
189
|
-
readonly listServices?: string;
|
|
189
|
+
readonly listServices?: string | undefined;
|
|
190
190
|
} & {
|
|
191
191
|
readonly $case: "listServices";
|
|
192
192
|
}) | undefined;
|
|
193
193
|
} | undefined;
|
|
194
194
|
readonly messageResponse?: ({
|
|
195
195
|
readonly fileDescriptorResponse?: {
|
|
196
|
-
readonly fileDescriptorProto?: readonly Buffer[];
|
|
197
|
-
};
|
|
196
|
+
readonly fileDescriptorProto?: readonly Buffer<ArrayBufferLike>[] | undefined;
|
|
197
|
+
} | undefined;
|
|
198
198
|
} & {
|
|
199
199
|
readonly $case: "fileDescriptorResponse";
|
|
200
200
|
}) | ({
|
|
201
201
|
readonly allExtensionNumbersResponse?: {
|
|
202
|
-
readonly baseTypeName?: string;
|
|
203
|
-
readonly extensionNumber?: readonly number[];
|
|
204
|
-
};
|
|
202
|
+
readonly baseTypeName?: string | undefined;
|
|
203
|
+
readonly extensionNumber?: readonly number[] | undefined;
|
|
204
|
+
} | undefined;
|
|
205
205
|
} & {
|
|
206
206
|
readonly $case: "allExtensionNumbersResponse";
|
|
207
207
|
}) | ({
|
|
208
208
|
readonly listServicesResponse?: {
|
|
209
209
|
readonly service?: readonly {
|
|
210
|
-
readonly name?: string;
|
|
211
|
-
}[];
|
|
212
|
-
};
|
|
210
|
+
readonly name?: string | undefined;
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
} | undefined;
|
|
213
213
|
} & {
|
|
214
214
|
readonly $case: "listServicesResponse";
|
|
215
215
|
}) | ({
|
|
216
216
|
readonly errorResponse?: {
|
|
217
|
-
readonly errorCode?: number;
|
|
218
|
-
readonly errorMessage?: string;
|
|
219
|
-
};
|
|
217
|
+
readonly errorCode?: number | undefined;
|
|
218
|
+
readonly errorMessage?: string | undefined;
|
|
219
|
+
} | undefined;
|
|
220
220
|
} & {
|
|
221
221
|
readonly $case: "errorResponse";
|
|
222
222
|
}) | undefined;
|
|
@@ -229,7 +229,7 @@ declare const _default: {
|
|
|
229
229
|
};
|
|
230
230
|
};
|
|
231
231
|
};
|
|
232
|
-
descriptor: Buffer
|
|
232
|
+
descriptor: Buffer<ArrayBuffer>;
|
|
233
233
|
};
|
|
234
234
|
export default _default;
|
|
235
235
|
export interface ServerReflectionGrpcController {
|
|
@@ -252,14 +252,14 @@ export interface ServerReflectionClient<CallOptionsExt = {}> {
|
|
|
252
252
|
* @see https://github.com/deeplay-io/nice-grpc/tree/master/packages/nice-grpc#client
|
|
253
253
|
*/
|
|
254
254
|
export declare function createServerReflectionClient<CallOptionsExt = {}>(channel: ChannelImplementation, defaultCallOptions?: DefaultCallOptions<NormalizedServiceDefinition<ServerReflectionDefinition>>): ServerReflectionClient<CallOptionsExt>;
|
|
255
|
-
export { ExtensionRequest };
|
|
256
|
-
export { ServerReflectionResponse };
|
|
257
|
-
export { FileDescriptorResponse };
|
|
258
|
-
export { ExtensionNumberResponse };
|
|
259
255
|
export { ListServiceResponse };
|
|
260
256
|
export { ServiceResponse };
|
|
261
257
|
export { ErrorResponse };
|
|
262
258
|
export { ServerReflectionRequest };
|
|
259
|
+
export { ExtensionRequest };
|
|
260
|
+
export { ServerReflectionResponse };
|
|
261
|
+
export { FileDescriptorResponse };
|
|
262
|
+
export { ExtensionNumberResponse };
|
|
263
263
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
264
264
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
265
265
|
$case: string;
|