@rsdk/builtin-contract 5.11.0-next.9 → 5.12.0-next.0
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/CHANGELOG.md +4 -0
- package/dist/descriptor.d.ts +1 -1
- package/dist/grpc/health/v1/health.d.ts +4 -4
- package/dist/grpc/metrics/v1/metrics.d.ts +2 -2
- package/dist/grpc/reflection/v1/reflection.d.ts +2 -2
- package/dist/grpc/reflection/v1alpha/reflection.d.ts +2 -2
- package/dist/grpc.error.v1.js +1 -1
- package/dist/grpc.health.v1.d.ts +9 -95
- package/dist/grpc.health.v1.js +2 -3
- package/dist/grpc.health.v1.js.map +1 -1
- package/dist/grpc.metrics.v1.d.ts +9 -50
- package/dist/grpc.metrics.v1.js +2 -3
- package/dist/grpc.metrics.v1.js.map +1 -1
- package/dist/grpc.reflection.v1.d.ts +9 -214
- package/dist/grpc.reflection.v1.js +2 -3
- package/dist/grpc.reflection.v1.js.map +1 -1
- package/dist/grpc.reflection.v1alpha.d.ts +9 -214
- package/dist/grpc.reflection.v1alpha.js +2 -3
- 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/ppm.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.11.0](https://github.com/R-Vision/rsdk/compare/v5.11.0-next.10...v5.11.0) (2025-12-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rsdk/builtin-contract
|
|
9
|
+
|
|
6
10
|
## [5.10.0](https://github.com/R-Vision/rsdk/compare/v5.10.0-next.2...v5.10.0) (2025-10-16)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @rsdk/builtin-contract
|
package/dist/descriptor.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const descriptor: Buffer
|
|
1
|
+
export declare const descriptor: Buffer<ArrayBuffer>;
|
|
@@ -142,9 +142,9 @@ export declare const HealthService: {
|
|
|
142
142
|
readonly path: "/grpc.health.v1.Health/Check";
|
|
143
143
|
readonly requestStream: false;
|
|
144
144
|
readonly responseStream: false;
|
|
145
|
-
readonly requestSerialize: (value: HealthCheckRequest) => Buffer
|
|
145
|
+
readonly requestSerialize: (value: HealthCheckRequest) => Buffer<ArrayBuffer>;
|
|
146
146
|
readonly requestDeserialize: (value: Buffer) => HealthCheckRequest;
|
|
147
|
-
readonly responseSerialize: (value: HealthCheckResponse) => Buffer
|
|
147
|
+
readonly responseSerialize: (value: HealthCheckResponse) => Buffer<ArrayBuffer>;
|
|
148
148
|
readonly responseDeserialize: (value: Buffer) => HealthCheckResponse;
|
|
149
149
|
};
|
|
150
150
|
/**
|
|
@@ -157,9 +157,9 @@ export declare const HealthService: {
|
|
|
157
157
|
readonly path: "/grpc.health.v1.Health/Watch";
|
|
158
158
|
readonly requestStream: false;
|
|
159
159
|
readonly responseStream: true;
|
|
160
|
-
readonly requestSerialize: (value: HealthCheckRequest) => Buffer
|
|
160
|
+
readonly requestSerialize: (value: HealthCheckRequest) => Buffer<ArrayBuffer>;
|
|
161
161
|
readonly requestDeserialize: (value: Buffer) => HealthCheckRequest;
|
|
162
|
-
readonly responseSerialize: (value: HealthCheckResponse) => Buffer
|
|
162
|
+
readonly responseSerialize: (value: HealthCheckResponse) => Buffer<ArrayBuffer>;
|
|
163
163
|
readonly responseDeserialize: (value: Buffer) => HealthCheckResponse;
|
|
164
164
|
};
|
|
165
165
|
};
|
|
@@ -74,9 +74,9 @@ export declare const MetricsService: {
|
|
|
74
74
|
readonly path: "/grpc.metrics.v1.Metrics/Get";
|
|
75
75
|
readonly requestStream: false;
|
|
76
76
|
readonly responseStream: false;
|
|
77
|
-
readonly requestSerialize: (value: GetRequest) => Buffer
|
|
77
|
+
readonly requestSerialize: (value: GetRequest) => Buffer<ArrayBuffer>;
|
|
78
78
|
readonly requestDeserialize: (value: Buffer) => GetRequest;
|
|
79
|
-
readonly responseSerialize: (value: GetResponse) => Buffer
|
|
79
|
+
readonly responseSerialize: (value: GetResponse) => Buffer<ArrayBuffer>;
|
|
80
80
|
readonly responseDeserialize: (value: Buffer) => GetResponse;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
@@ -232,9 +232,9 @@ export declare const ServerReflectionService: {
|
|
|
232
232
|
readonly path: "/grpc.reflection.v1.ServerReflection/ServerReflectionInfo";
|
|
233
233
|
readonly requestStream: true;
|
|
234
234
|
readonly responseStream: true;
|
|
235
|
-
readonly requestSerialize: (value: ServerReflectionRequest) => Buffer
|
|
235
|
+
readonly requestSerialize: (value: ServerReflectionRequest) => Buffer<ArrayBuffer>;
|
|
236
236
|
readonly requestDeserialize: (value: Buffer) => ServerReflectionRequest;
|
|
237
|
-
readonly responseSerialize: (value: ServerReflectionResponse) => Buffer
|
|
237
|
+
readonly responseSerialize: (value: ServerReflectionResponse) => Buffer<ArrayBuffer>;
|
|
238
238
|
readonly responseDeserialize: (value: Buffer) => ServerReflectionResponse;
|
|
239
239
|
};
|
|
240
240
|
};
|
|
@@ -232,9 +232,9 @@ export declare const ServerReflectionService: {
|
|
|
232
232
|
readonly path: "/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo";
|
|
233
233
|
readonly requestStream: true;
|
|
234
234
|
readonly responseStream: true;
|
|
235
|
-
readonly requestSerialize: (value: ServerReflectionRequest) => Buffer
|
|
235
|
+
readonly requestSerialize: (value: ServerReflectionRequest) => Buffer<ArrayBuffer>;
|
|
236
236
|
readonly requestDeserialize: (value: Buffer) => ServerReflectionRequest;
|
|
237
|
-
readonly responseSerialize: (value: ServerReflectionResponse) => Buffer
|
|
237
|
+
readonly responseSerialize: (value: ServerReflectionResponse) => Buffer<ArrayBuffer>;
|
|
238
238
|
readonly responseDeserialize: (value: Buffer) => ServerReflectionResponse;
|
|
239
239
|
};
|
|
240
240
|
};
|
package/dist/grpc.error.v1.js
CHANGED
package/dist/grpc.health.v1.d.ts
CHANGED
|
@@ -3,111 +3,25 @@ import type { ChannelImplementation } from '@grpc/grpc-js/build/src/channel';
|
|
|
3
3
|
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
|
-
import { HealthDefinition } from './grpc/health/v1/health';
|
|
6
|
+
import { HealthService as Health, HealthDefinition } from './grpc/health/v1/health';
|
|
7
7
|
import { HealthCheckRequest } from './grpc/health/v1/health';
|
|
8
8
|
import { HealthCheckResponse } from './grpc/health/v1/health';
|
|
9
9
|
import { HealthCheckResponseServingStatus } from './grpc/health/v1/health';
|
|
10
|
-
|
|
10
|
+
import { descriptor } from './descriptor';
|
|
11
|
+
type PackageMeta = {
|
|
11
12
|
name: string;
|
|
12
13
|
definitions: {
|
|
13
14
|
'grpc-js': {
|
|
14
|
-
Health:
|
|
15
|
-
readonly check: {
|
|
16
|
-
readonly path: "/grpc.health.v1.Health/Check";
|
|
17
|
-
readonly requestStream: false;
|
|
18
|
-
readonly responseStream: false;
|
|
19
|
-
readonly requestSerialize: (value: HealthCheckRequest) => Buffer;
|
|
20
|
-
readonly requestDeserialize: (value: Buffer) => HealthCheckRequest;
|
|
21
|
-
readonly responseSerialize: (value: HealthCheckResponse) => Buffer;
|
|
22
|
-
readonly responseDeserialize: (value: Buffer) => HealthCheckResponse;
|
|
23
|
-
};
|
|
24
|
-
readonly watch: {
|
|
25
|
-
readonly path: "/grpc.health.v1.Health/Watch";
|
|
26
|
-
readonly requestStream: false;
|
|
27
|
-
readonly responseStream: true;
|
|
28
|
-
readonly requestSerialize: (value: HealthCheckRequest) => Buffer;
|
|
29
|
-
readonly requestDeserialize: (value: Buffer) => HealthCheckRequest;
|
|
30
|
-
readonly responseSerialize: (value: HealthCheckResponse) => Buffer;
|
|
31
|
-
readonly responseDeserialize: (value: Buffer) => HealthCheckResponse;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
15
|
+
Health: typeof Health;
|
|
34
16
|
};
|
|
35
|
-
generic: {
|
|
36
|
-
HealthDefinition:
|
|
37
|
-
readonly name: "Health";
|
|
38
|
-
readonly fullName: "grpc.health.v1.Health";
|
|
39
|
-
readonly methods: {
|
|
40
|
-
readonly check: {
|
|
41
|
-
readonly name: "Check";
|
|
42
|
-
readonly requestType: {
|
|
43
|
-
$type: "grpc.health.v1.HealthCheckRequest";
|
|
44
|
-
encode(message: HealthCheckRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
45
|
-
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): HealthCheckRequest;
|
|
46
|
-
fromJSON(object: any): HealthCheckRequest;
|
|
47
|
-
toJSON<I = unknown>(message: HealthCheckRequest): I;
|
|
48
|
-
create(base?: {
|
|
49
|
-
readonly service?: string;
|
|
50
|
-
}): HealthCheckRequest;
|
|
51
|
-
fromPartial(object: {
|
|
52
|
-
readonly service?: string;
|
|
53
|
-
}): HealthCheckRequest;
|
|
54
|
-
};
|
|
55
|
-
readonly requestStream: false;
|
|
56
|
-
readonly responseType: {
|
|
57
|
-
$type: "grpc.health.v1.HealthCheckResponse";
|
|
58
|
-
encode(message: HealthCheckResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
59
|
-
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): HealthCheckResponse;
|
|
60
|
-
fromJSON(object: any): HealthCheckResponse;
|
|
61
|
-
toJSON<I = unknown>(message: HealthCheckResponse): I;
|
|
62
|
-
create(base?: {
|
|
63
|
-
readonly status?: HealthCheckResponseServingStatus;
|
|
64
|
-
}): HealthCheckResponse;
|
|
65
|
-
fromPartial(object: {
|
|
66
|
-
readonly status?: HealthCheckResponseServingStatus;
|
|
67
|
-
}): HealthCheckResponse;
|
|
68
|
-
};
|
|
69
|
-
readonly responseStream: false;
|
|
70
|
-
readonly options: {};
|
|
71
|
-
};
|
|
72
|
-
readonly watch: {
|
|
73
|
-
readonly name: "Watch";
|
|
74
|
-
readonly requestType: {
|
|
75
|
-
$type: "grpc.health.v1.HealthCheckRequest";
|
|
76
|
-
encode(message: HealthCheckRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
77
|
-
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): HealthCheckRequest;
|
|
78
|
-
fromJSON(object: any): HealthCheckRequest;
|
|
79
|
-
toJSON<I = unknown>(message: HealthCheckRequest): I;
|
|
80
|
-
create(base?: {
|
|
81
|
-
readonly service?: string;
|
|
82
|
-
}): HealthCheckRequest;
|
|
83
|
-
fromPartial(object: {
|
|
84
|
-
readonly service?: string;
|
|
85
|
-
}): HealthCheckRequest;
|
|
86
|
-
};
|
|
87
|
-
readonly requestStream: false;
|
|
88
|
-
readonly responseType: {
|
|
89
|
-
$type: "grpc.health.v1.HealthCheckResponse";
|
|
90
|
-
encode(message: HealthCheckResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
91
|
-
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): HealthCheckResponse;
|
|
92
|
-
fromJSON(object: any): HealthCheckResponse;
|
|
93
|
-
toJSON<I = unknown>(message: HealthCheckResponse): I;
|
|
94
|
-
create(base?: {
|
|
95
|
-
readonly status?: HealthCheckResponseServingStatus;
|
|
96
|
-
}): HealthCheckResponse;
|
|
97
|
-
fromPartial(object: {
|
|
98
|
-
readonly status?: HealthCheckResponseServingStatus;
|
|
99
|
-
}): HealthCheckResponse;
|
|
100
|
-
};
|
|
101
|
-
readonly responseStream: true;
|
|
102
|
-
readonly options: {};
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
};
|
|
17
|
+
'generic': {
|
|
18
|
+
HealthDefinition: typeof HealthDefinition;
|
|
106
19
|
};
|
|
107
20
|
};
|
|
108
|
-
descriptor:
|
|
21
|
+
descriptor: typeof descriptor;
|
|
109
22
|
};
|
|
110
|
-
|
|
23
|
+
declare const pkg: PackageMeta;
|
|
24
|
+
export default pkg;
|
|
111
25
|
export interface IHealthController {
|
|
112
26
|
check(request: HealthCheckRequest, metadata?: Metadata): HealthCheckResponse | Promise<HealthCheckResponse> | Observable<HealthCheckResponse>;
|
|
113
27
|
watch(request: HealthCheckRequest, metadata?: Metadata): Observable<HealthCheckResponse>;
|
package/dist/grpc.health.v1.js
CHANGED
|
@@ -14,9 +14,7 @@ Object.defineProperty(exports, "HealthCheckResponse", { enumerable: true, get: f
|
|
|
14
14
|
const health_4 = require("./grpc/health/v1/health");
|
|
15
15
|
Object.defineProperty(exports, "HealthCheckResponseServingStatus", { enumerable: true, get: function () { return health_4.HealthCheckResponseServingStatus; } });
|
|
16
16
|
const descriptor_1 = require("./descriptor");
|
|
17
|
-
|
|
18
|
-
// TODO type it with Package interface from @platform/grpc when it is deployed
|
|
19
|
-
exports.default = {
|
|
17
|
+
const pkg = {
|
|
20
18
|
name: 'grpc.health.v1',
|
|
21
19
|
definitions: {
|
|
22
20
|
'grpc-js': { Health: health_1.HealthService },
|
|
@@ -24,6 +22,7 @@ exports.default = {
|
|
|
24
22
|
},
|
|
25
23
|
descriptor: descriptor_1.descriptor,
|
|
26
24
|
};
|
|
25
|
+
exports.default = pkg;
|
|
27
26
|
// Just helper function to ease decorators generation
|
|
28
27
|
function apply(decorator, constructor, method, serviceName) {
|
|
29
28
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grpc.health.v1.js","sourceRoot":"","sources":["../.generated/grpc.health.v1.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"grpc.health.v1.js","sourceRoot":"","sources":["../.generated/grpc.health.v1.ts"],"names":[],"mappings":";;;AA2GE,8CAUC;AAcD,8CAUC;AAaD,gDAGC;AA5ID,wEAAwE;AACxE,gEAAgE;AAC9D,oDAAoF;AACpF,oDAA6D;AA0IpD,mGA1IA,2BAAkB,OA0IA;AAzI3B,oDAA8D;AA0IrD,oGA1IA,4BAAmB,OA0IA;AAzI5B,oDAA2E;AA0IlE,iHA1IA,yCAAgC,OA0IA;AAzI3C,6CAA0C;AAgB1C,MAAM,GAAG,GAAgB;IACvB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE;QACX,SAAS,EAAE,EAAE,MAAM,EAAN,sBAAM,EAAE;QACrB,SAAS,EAAE,EAAE,gBAAgB,EAAhB,yBAAgB,EAAE;KAChC;IACD,UAAU,EAAE,uBAAU;CACvB,CAAC;AACF,kBAAe,GAAG,CAAC;AACnB,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;IAEF,IAAI,UAAU,EAAE,CAAC;QACf,SAAS,CAAC,WAAW,EAAE,MAAM,CAAC,CAC5B,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAC7B,MAAM,EACN,UAAU,CACX,CAAC;QAEF;;;;;;;;WAQG;QACH,MAAM,CAAC,cAAc,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;IACnE,CAAC;AACH,CAAC;AAED,SAAS,YAAY,CAAC,SAAmB,EAAE,WAAqB,EAAE,MAAc,EAAE,OAAY,EAAE,QAAa;I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AAO,eAAe,CACpB,UAAU,EAAE,EACZ,UAAU,WAAqB;QAC3B,KAAK,CAAC,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;QAClD,KAAK,CAAC,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;IACtD,CAAC,CACF,CAAC;AACJ,CAAC;AAOD;;;;;GAKG;AACH,SAAgB,kBAAkB,CAAsB,OAA8B,EAAE,kBAAsF;IAC5K,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;IAC9C,OAAO,YAAY,CAAC,yBAAgB,EAAE,OAAO,EAAE,kBAAkB,CAAC,CAAC;AACrE,CAAC"}
|
|
@@ -3,65 +3,24 @@ import type { ChannelImplementation } from '@grpc/grpc-js/build/src/channel';
|
|
|
3
3
|
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
|
-
import { MetricsDefinition } from './grpc/metrics/v1/metrics';
|
|
6
|
+
import { MetricsService as Metrics, MetricsDefinition } from './grpc/metrics/v1/metrics';
|
|
7
7
|
import { GetRequest } from './grpc/metrics/v1/metrics';
|
|
8
8
|
import { GetResponse } from './grpc/metrics/v1/metrics';
|
|
9
|
-
|
|
9
|
+
import { descriptor } from './descriptor';
|
|
10
|
+
type PackageMeta = {
|
|
10
11
|
name: string;
|
|
11
12
|
definitions: {
|
|
12
13
|
'grpc-js': {
|
|
13
|
-
Metrics:
|
|
14
|
-
readonly get: {
|
|
15
|
-
readonly path: "/grpc.metrics.v1.Metrics/Get";
|
|
16
|
-
readonly requestStream: false;
|
|
17
|
-
readonly responseStream: false;
|
|
18
|
-
readonly requestSerialize: (value: GetRequest) => Buffer;
|
|
19
|
-
readonly requestDeserialize: (value: Buffer) => GetRequest;
|
|
20
|
-
readonly responseSerialize: (value: GetResponse) => Buffer;
|
|
21
|
-
readonly responseDeserialize: (value: Buffer) => GetResponse;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
14
|
+
Metrics: typeof Metrics;
|
|
24
15
|
};
|
|
25
|
-
generic: {
|
|
26
|
-
MetricsDefinition:
|
|
27
|
-
readonly name: "Metrics";
|
|
28
|
-
readonly fullName: "grpc.metrics.v1.Metrics";
|
|
29
|
-
readonly methods: {
|
|
30
|
-
readonly get: {
|
|
31
|
-
readonly name: "Get";
|
|
32
|
-
readonly requestType: {
|
|
33
|
-
$type: "grpc.metrics.v1.GetRequest";
|
|
34
|
-
encode(_: GetRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
35
|
-
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): GetRequest;
|
|
36
|
-
fromJSON(_: any): GetRequest;
|
|
37
|
-
toJSON<I = unknown>(_: GetRequest): I;
|
|
38
|
-
create(base?: {}): GetRequest;
|
|
39
|
-
fromPartial(_: {}): GetRequest;
|
|
40
|
-
};
|
|
41
|
-
readonly requestStream: false;
|
|
42
|
-
readonly responseType: {
|
|
43
|
-
$type: "grpc.metrics.v1.GetResponse";
|
|
44
|
-
encode(message: GetResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
45
|
-
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): GetResponse;
|
|
46
|
-
fromJSON(object: any): GetResponse;
|
|
47
|
-
toJSON<I = unknown>(message: GetResponse): I;
|
|
48
|
-
create(base?: {
|
|
49
|
-
readonly metrics?: string;
|
|
50
|
-
}): GetResponse;
|
|
51
|
-
fromPartial(object: {
|
|
52
|
-
readonly metrics?: string;
|
|
53
|
-
}): GetResponse;
|
|
54
|
-
};
|
|
55
|
-
readonly responseStream: false;
|
|
56
|
-
readonly options: {};
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
16
|
+
'generic': {
|
|
17
|
+
MetricsDefinition: typeof MetricsDefinition;
|
|
60
18
|
};
|
|
61
19
|
};
|
|
62
|
-
descriptor:
|
|
20
|
+
descriptor: typeof descriptor;
|
|
63
21
|
};
|
|
64
|
-
|
|
22
|
+
declare const pkg: PackageMeta;
|
|
23
|
+
export default pkg;
|
|
65
24
|
export interface IMetricsController {
|
|
66
25
|
get(request: GetRequest, metadata?: Metadata): GetResponse | Promise<GetResponse> | Observable<GetResponse>;
|
|
67
26
|
}
|
package/dist/grpc.metrics.v1.js
CHANGED
|
@@ -12,9 +12,7 @@ Object.defineProperty(exports, "GetRequest", { enumerable: true, get: function (
|
|
|
12
12
|
const metrics_3 = require("./grpc/metrics/v1/metrics");
|
|
13
13
|
Object.defineProperty(exports, "GetResponse", { enumerable: true, get: function () { return metrics_3.GetResponse; } });
|
|
14
14
|
const descriptor_1 = require("./descriptor");
|
|
15
|
-
|
|
16
|
-
// TODO type it with Package interface from @platform/grpc when it is deployed
|
|
17
|
-
exports.default = {
|
|
15
|
+
const pkg = {
|
|
18
16
|
name: 'grpc.metrics.v1',
|
|
19
17
|
definitions: {
|
|
20
18
|
'grpc-js': { Metrics: metrics_1.MetricsService },
|
|
@@ -22,6 +20,7 @@ exports.default = {
|
|
|
22
20
|
},
|
|
23
21
|
descriptor: descriptor_1.descriptor,
|
|
24
22
|
};
|
|
23
|
+
exports.default = pkg;
|
|
25
24
|
// Just helper function to ease decorators generation
|
|
26
25
|
function apply(decorator, constructor, method, serviceName) {
|
|
27
26
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grpc.metrics.v1.js","sourceRoot":"","sources":["../.generated/grpc.metrics.v1.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"grpc.metrics.v1.js","sourceRoot":"","sources":["../.generated/grpc.metrics.v1.ts"],"names":[],"mappings":";;;AAyGE,gDASC;AAaD,gDASC;AAYD,kDAGC;AAtID,wEAAwE;AACxE,gEAAgE;AAC9D,uDAAyF;AACzF,uDAAuD;AAoI9C,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aultCallOptions } from 'nice-grpc';
|
|
4
4
|
import type { NormalizedServiceDefinition } from 'nice-grpc/lib/service-definitions';
|
|
5
5
|
import type { Observable } from 'rxjs';
|
|
6
|
-
import { ServerReflectionDefinition } from './grpc/reflection/v1/reflection';
|
|
6
|
+
import { ServerReflectionService as ServerReflection, ServerReflectionDefinition } from './grpc/reflection/v1/reflection';
|
|
7
7
|
import { ErrorResponse } from './grpc/reflection/v1/reflection';
|
|
8
8
|
import { ExtensionNumberResponse } from './grpc/reflection/v1/reflection';
|
|
9
9
|
import { ExtensionRequest } from './grpc/reflection/v1/reflection';
|
|
@@ -12,226 +12,21 @@ import { ListServiceResponse } from './grpc/reflection/v1/reflection';
|
|
|
12
12
|
import { ServerReflectionRequest } from './grpc/reflection/v1/reflection';
|
|
13
13
|
import { ServerReflectionResponse } from './grpc/reflection/v1/reflection';
|
|
14
14
|
import { ServiceResponse } from './grpc/reflection/v1/reflection';
|
|
15
|
-
|
|
15
|
+
import { descriptor } from './descriptor';
|
|
16
|
+
type PackageMeta = {
|
|
16
17
|
name: string;
|
|
17
18
|
definitions: {
|
|
18
19
|
'grpc-js': {
|
|
19
|
-
ServerReflection:
|
|
20
|
-
readonly serverReflectionInfo: {
|
|
21
|
-
readonly path: "/grpc.reflection.v1.ServerReflection/ServerReflectionInfo";
|
|
22
|
-
readonly requestStream: true;
|
|
23
|
-
readonly responseStream: true;
|
|
24
|
-
readonly requestSerialize: (value: ServerReflectionRequest) => Buffer;
|
|
25
|
-
readonly requestDeserialize: (value: Buffer) => ServerReflectionRequest;
|
|
26
|
-
readonly responseSerialize: (value: ServerReflectionResponse) => Buffer;
|
|
27
|
-
readonly responseDeserialize: (value: Buffer) => ServerReflectionResponse;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
20
|
+
ServerReflection: typeof ServerReflection;
|
|
30
21
|
};
|
|
31
|
-
generic: {
|
|
32
|
-
ServerReflectionDefinition:
|
|
33
|
-
readonly name: "ServerReflection";
|
|
34
|
-
readonly fullName: "grpc.reflection.v1.ServerReflection";
|
|
35
|
-
readonly methods: {
|
|
36
|
-
readonly serverReflectionInfo: {
|
|
37
|
-
readonly name: "ServerReflectionInfo";
|
|
38
|
-
readonly requestType: {
|
|
39
|
-
$type: "grpc.reflection.v1.ServerReflectionRequest";
|
|
40
|
-
encode(message: ServerReflectionRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
41
|
-
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): ServerReflectionRequest;
|
|
42
|
-
fromJSON(object: any): ServerReflectionRequest;
|
|
43
|
-
toJSON<I = unknown>(message: ServerReflectionRequest): I;
|
|
44
|
-
create(base?: {
|
|
45
|
-
readonly host?: string;
|
|
46
|
-
readonly messageRequest?: ({
|
|
47
|
-
readonly fileByFilename?: string;
|
|
48
|
-
} & {
|
|
49
|
-
readonly $case: "fileByFilename";
|
|
50
|
-
}) | ({
|
|
51
|
-
readonly fileContainingSymbol?: string;
|
|
52
|
-
} & {
|
|
53
|
-
readonly $case: "fileContainingSymbol";
|
|
54
|
-
}) | ({
|
|
55
|
-
readonly fileContainingExtension?: {
|
|
56
|
-
readonly containingType?: string;
|
|
57
|
-
readonly extensionNumber?: number;
|
|
58
|
-
};
|
|
59
|
-
} & {
|
|
60
|
-
readonly $case: "fileContainingExtension";
|
|
61
|
-
}) | ({
|
|
62
|
-
readonly allExtensionNumbersOfType?: string;
|
|
63
|
-
} & {
|
|
64
|
-
readonly $case: "allExtensionNumbersOfType";
|
|
65
|
-
}) | ({
|
|
66
|
-
readonly listServices?: string;
|
|
67
|
-
} & {
|
|
68
|
-
readonly $case: "listServices";
|
|
69
|
-
}) | undefined;
|
|
70
|
-
}): ServerReflectionRequest;
|
|
71
|
-
fromPartial(object: {
|
|
72
|
-
readonly host?: string;
|
|
73
|
-
readonly messageRequest?: ({
|
|
74
|
-
readonly fileByFilename?: string;
|
|
75
|
-
} & {
|
|
76
|
-
readonly $case: "fileByFilename";
|
|
77
|
-
}) | ({
|
|
78
|
-
readonly fileContainingSymbol?: string;
|
|
79
|
-
} & {
|
|
80
|
-
readonly $case: "fileContainingSymbol";
|
|
81
|
-
}) | ({
|
|
82
|
-
readonly fileContainingExtension?: {
|
|
83
|
-
readonly containingType?: string;
|
|
84
|
-
readonly extensionNumber?: number;
|
|
85
|
-
};
|
|
86
|
-
} & {
|
|
87
|
-
readonly $case: "fileContainingExtension";
|
|
88
|
-
}) | ({
|
|
89
|
-
readonly allExtensionNumbersOfType?: string;
|
|
90
|
-
} & {
|
|
91
|
-
readonly $case: "allExtensionNumbersOfType";
|
|
92
|
-
}) | ({
|
|
93
|
-
readonly listServices?: string;
|
|
94
|
-
} & {
|
|
95
|
-
readonly $case: "listServices";
|
|
96
|
-
}) | undefined;
|
|
97
|
-
}): ServerReflectionRequest;
|
|
98
|
-
};
|
|
99
|
-
readonly requestStream: true;
|
|
100
|
-
readonly responseType: {
|
|
101
|
-
$type: "grpc.reflection.v1.ServerReflectionResponse";
|
|
102
|
-
encode(message: ServerReflectionResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
103
|
-
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): ServerReflectionResponse;
|
|
104
|
-
fromJSON(object: any): ServerReflectionResponse;
|
|
105
|
-
toJSON<I = unknown>(message: ServerReflectionResponse): I;
|
|
106
|
-
create(base?: {
|
|
107
|
-
readonly validHost?: string;
|
|
108
|
-
readonly originalRequest?: {
|
|
109
|
-
readonly host?: string;
|
|
110
|
-
readonly messageRequest?: ({
|
|
111
|
-
readonly fileByFilename?: string;
|
|
112
|
-
} & {
|
|
113
|
-
readonly $case: "fileByFilename";
|
|
114
|
-
}) | ({
|
|
115
|
-
readonly fileContainingSymbol?: string;
|
|
116
|
-
} & {
|
|
117
|
-
readonly $case: "fileContainingSymbol";
|
|
118
|
-
}) | ({
|
|
119
|
-
readonly fileContainingExtension?: {
|
|
120
|
-
readonly containingType?: string;
|
|
121
|
-
readonly extensionNumber?: number;
|
|
122
|
-
};
|
|
123
|
-
} & {
|
|
124
|
-
readonly $case: "fileContainingExtension";
|
|
125
|
-
}) | ({
|
|
126
|
-
readonly allExtensionNumbersOfType?: string;
|
|
127
|
-
} & {
|
|
128
|
-
readonly $case: "allExtensionNumbersOfType";
|
|
129
|
-
}) | ({
|
|
130
|
-
readonly listServices?: string;
|
|
131
|
-
} & {
|
|
132
|
-
readonly $case: "listServices";
|
|
133
|
-
}) | undefined;
|
|
134
|
-
} | undefined;
|
|
135
|
-
readonly messageResponse?: ({
|
|
136
|
-
readonly fileDescriptorResponse?: {
|
|
137
|
-
readonly fileDescriptorProto?: readonly Buffer[];
|
|
138
|
-
};
|
|
139
|
-
} & {
|
|
140
|
-
readonly $case: "fileDescriptorResponse";
|
|
141
|
-
}) | ({
|
|
142
|
-
readonly allExtensionNumbersResponse?: {
|
|
143
|
-
readonly baseTypeName?: string;
|
|
144
|
-
readonly extensionNumber?: readonly number[];
|
|
145
|
-
};
|
|
146
|
-
} & {
|
|
147
|
-
readonly $case: "allExtensionNumbersResponse";
|
|
148
|
-
}) | ({
|
|
149
|
-
readonly listServicesResponse?: {
|
|
150
|
-
readonly service?: readonly {
|
|
151
|
-
readonly name?: string;
|
|
152
|
-
}[];
|
|
153
|
-
};
|
|
154
|
-
} & {
|
|
155
|
-
readonly $case: "listServicesResponse";
|
|
156
|
-
}) | ({
|
|
157
|
-
readonly errorResponse?: {
|
|
158
|
-
readonly errorCode?: number;
|
|
159
|
-
readonly errorMessage?: string;
|
|
160
|
-
};
|
|
161
|
-
} & {
|
|
162
|
-
readonly $case: "errorResponse";
|
|
163
|
-
}) | undefined;
|
|
164
|
-
}): ServerReflectionResponse;
|
|
165
|
-
fromPartial(object: {
|
|
166
|
-
readonly validHost?: string;
|
|
167
|
-
readonly originalRequest?: {
|
|
168
|
-
readonly host?: string;
|
|
169
|
-
readonly messageRequest?: ({
|
|
170
|
-
readonly fileByFilename?: string;
|
|
171
|
-
} & {
|
|
172
|
-
readonly $case: "fileByFilename";
|
|
173
|
-
}) | ({
|
|
174
|
-
readonly fileContainingSymbol?: string;
|
|
175
|
-
} & {
|
|
176
|
-
readonly $case: "fileContainingSymbol";
|
|
177
|
-
}) | ({
|
|
178
|
-
readonly fileContainingExtension?: {
|
|
179
|
-
readonly containingType?: string;
|
|
180
|
-
readonly extensionNumber?: number;
|
|
181
|
-
};
|
|
182
|
-
} & {
|
|
183
|
-
readonly $case: "fileContainingExtension";
|
|
184
|
-
}) | ({
|
|
185
|
-
readonly allExtensionNumbersOfType?: string;
|
|
186
|
-
} & {
|
|
187
|
-
readonly $case: "allExtensionNumbersOfType";
|
|
188
|
-
}) | ({
|
|
189
|
-
readonly listServices?: string;
|
|
190
|
-
} & {
|
|
191
|
-
readonly $case: "listServices";
|
|
192
|
-
}) | undefined;
|
|
193
|
-
} | undefined;
|
|
194
|
-
readonly messageResponse?: ({
|
|
195
|
-
readonly fileDescriptorResponse?: {
|
|
196
|
-
readonly fileDescriptorProto?: readonly Buffer[];
|
|
197
|
-
};
|
|
198
|
-
} & {
|
|
199
|
-
readonly $case: "fileDescriptorResponse";
|
|
200
|
-
}) | ({
|
|
201
|
-
readonly allExtensionNumbersResponse?: {
|
|
202
|
-
readonly baseTypeName?: string;
|
|
203
|
-
readonly extensionNumber?: readonly number[];
|
|
204
|
-
};
|
|
205
|
-
} & {
|
|
206
|
-
readonly $case: "allExtensionNumbersResponse";
|
|
207
|
-
}) | ({
|
|
208
|
-
readonly listServicesResponse?: {
|
|
209
|
-
readonly service?: readonly {
|
|
210
|
-
readonly name?: string;
|
|
211
|
-
}[];
|
|
212
|
-
};
|
|
213
|
-
} & {
|
|
214
|
-
readonly $case: "listServicesResponse";
|
|
215
|
-
}) | ({
|
|
216
|
-
readonly errorResponse?: {
|
|
217
|
-
readonly errorCode?: number;
|
|
218
|
-
readonly errorMessage?: string;
|
|
219
|
-
};
|
|
220
|
-
} & {
|
|
221
|
-
readonly $case: "errorResponse";
|
|
222
|
-
}) | undefined;
|
|
223
|
-
}): ServerReflectionResponse;
|
|
224
|
-
};
|
|
225
|
-
readonly responseStream: true;
|
|
226
|
-
readonly options: {};
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
};
|
|
22
|
+
'generic': {
|
|
23
|
+
ServerReflectionDefinition: typeof ServerReflectionDefinition;
|
|
230
24
|
};
|
|
231
25
|
};
|
|
232
|
-
descriptor:
|
|
26
|
+
descriptor: typeof descriptor;
|
|
233
27
|
};
|
|
234
|
-
|
|
28
|
+
declare const pkg: PackageMeta;
|
|
29
|
+
export default pkg;
|
|
235
30
|
export interface IServerReflectionController {
|
|
236
31
|
serverReflectionInfo(request: Observable<ServerReflectionRequest>, metadata?: Metadata): Observable<ServerReflectionResponse>;
|
|
237
32
|
}
|
|
@@ -24,9 +24,7 @@ Object.defineProperty(exports, "ServerReflectionResponse", { enumerable: true, g
|
|
|
24
24
|
const reflection_9 = require("./grpc/reflection/v1/reflection");
|
|
25
25
|
Object.defineProperty(exports, "ServiceResponse", { enumerable: true, get: function () { return reflection_9.ServiceResponse; } });
|
|
26
26
|
const descriptor_1 = require("./descriptor");
|
|
27
|
-
|
|
28
|
-
// TODO type it with Package interface from @platform/grpc when it is deployed
|
|
29
|
-
exports.default = {
|
|
27
|
+
const pkg = {
|
|
30
28
|
name: 'grpc.reflection.v1',
|
|
31
29
|
definitions: {
|
|
32
30
|
'grpc-js': { ServerReflection: reflection_1.ServerReflectionService },
|
|
@@ -34,6 +32,7 @@ exports.default = {
|
|
|
34
32
|
},
|
|
35
33
|
descriptor: descriptor_1.descriptor,
|
|
36
34
|
};
|
|
35
|
+
exports.default = pkg;
|
|
37
36
|
// Just helper function to ease decorators generation
|
|
38
37
|
function apply(decorator, constructor, method, serviceName) {
|
|
39
38
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grpc.reflection.v1.js","sourceRoot":"","sources":["../.generated/grpc.reflection.v1.ts"],"names":[],"mappings":";;;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AAG,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"}
|
|
@@ -3,7 +3,7 @@ import type { ChannelImplementation } from '@grpc/grpc-js/build/src/channel';
|
|
|
3
3
|
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
|
-
import { ServerReflectionDefinition } from './grpc/reflection/v1alpha/reflection';
|
|
6
|
+
import { ServerReflectionService as ServerReflection, ServerReflectionDefinition } from './grpc/reflection/v1alpha/reflection';
|
|
7
7
|
import { ErrorResponse } from './grpc/reflection/v1alpha/reflection';
|
|
8
8
|
import { ExtensionNumberResponse } from './grpc/reflection/v1alpha/reflection';
|
|
9
9
|
import { ExtensionRequest } from './grpc/reflection/v1alpha/reflection';
|
|
@@ -12,226 +12,21 @@ import { ListServiceResponse } from './grpc/reflection/v1alpha/reflection';
|
|
|
12
12
|
import { ServerReflectionRequest } from './grpc/reflection/v1alpha/reflection';
|
|
13
13
|
import { ServerReflectionResponse } from './grpc/reflection/v1alpha/reflection';
|
|
14
14
|
import { ServiceResponse } from './grpc/reflection/v1alpha/reflection';
|
|
15
|
-
|
|
15
|
+
import { descriptor } from './descriptor';
|
|
16
|
+
type PackageMeta = {
|
|
16
17
|
name: string;
|
|
17
18
|
definitions: {
|
|
18
19
|
'grpc-js': {
|
|
19
|
-
ServerReflection:
|
|
20
|
-
readonly serverReflectionInfo: {
|
|
21
|
-
readonly path: "/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo";
|
|
22
|
-
readonly requestStream: true;
|
|
23
|
-
readonly responseStream: true;
|
|
24
|
-
readonly requestSerialize: (value: ServerReflectionRequest) => Buffer;
|
|
25
|
-
readonly requestDeserialize: (value: Buffer) => ServerReflectionRequest;
|
|
26
|
-
readonly responseSerialize: (value: ServerReflectionResponse) => Buffer;
|
|
27
|
-
readonly responseDeserialize: (value: Buffer) => ServerReflectionResponse;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
20
|
+
ServerReflection: typeof ServerReflection;
|
|
30
21
|
};
|
|
31
|
-
generic: {
|
|
32
|
-
ServerReflectionDefinition:
|
|
33
|
-
readonly name: "ServerReflection";
|
|
34
|
-
readonly fullName: "grpc.reflection.v1alpha.ServerReflection";
|
|
35
|
-
readonly methods: {
|
|
36
|
-
readonly serverReflectionInfo: {
|
|
37
|
-
readonly name: "ServerReflectionInfo";
|
|
38
|
-
readonly requestType: {
|
|
39
|
-
$type: "grpc.reflection.v1alpha.ServerReflectionRequest";
|
|
40
|
-
encode(message: ServerReflectionRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
41
|
-
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): ServerReflectionRequest;
|
|
42
|
-
fromJSON(object: any): ServerReflectionRequest;
|
|
43
|
-
toJSON<I = unknown>(message: ServerReflectionRequest): I;
|
|
44
|
-
create(base?: {
|
|
45
|
-
readonly host?: string;
|
|
46
|
-
readonly messageRequest?: ({
|
|
47
|
-
readonly fileByFilename?: string;
|
|
48
|
-
} & {
|
|
49
|
-
readonly $case: "fileByFilename";
|
|
50
|
-
}) | ({
|
|
51
|
-
readonly fileContainingSymbol?: string;
|
|
52
|
-
} & {
|
|
53
|
-
readonly $case: "fileContainingSymbol";
|
|
54
|
-
}) | ({
|
|
55
|
-
readonly fileContainingExtension?: {
|
|
56
|
-
readonly containingType?: string;
|
|
57
|
-
readonly extensionNumber?: number;
|
|
58
|
-
};
|
|
59
|
-
} & {
|
|
60
|
-
readonly $case: "fileContainingExtension";
|
|
61
|
-
}) | ({
|
|
62
|
-
readonly allExtensionNumbersOfType?: string;
|
|
63
|
-
} & {
|
|
64
|
-
readonly $case: "allExtensionNumbersOfType";
|
|
65
|
-
}) | ({
|
|
66
|
-
readonly listServices?: string;
|
|
67
|
-
} & {
|
|
68
|
-
readonly $case: "listServices";
|
|
69
|
-
}) | undefined;
|
|
70
|
-
}): ServerReflectionRequest;
|
|
71
|
-
fromPartial(object: {
|
|
72
|
-
readonly host?: string;
|
|
73
|
-
readonly messageRequest?: ({
|
|
74
|
-
readonly fileByFilename?: string;
|
|
75
|
-
} & {
|
|
76
|
-
readonly $case: "fileByFilename";
|
|
77
|
-
}) | ({
|
|
78
|
-
readonly fileContainingSymbol?: string;
|
|
79
|
-
} & {
|
|
80
|
-
readonly $case: "fileContainingSymbol";
|
|
81
|
-
}) | ({
|
|
82
|
-
readonly fileContainingExtension?: {
|
|
83
|
-
readonly containingType?: string;
|
|
84
|
-
readonly extensionNumber?: number;
|
|
85
|
-
};
|
|
86
|
-
} & {
|
|
87
|
-
readonly $case: "fileContainingExtension";
|
|
88
|
-
}) | ({
|
|
89
|
-
readonly allExtensionNumbersOfType?: string;
|
|
90
|
-
} & {
|
|
91
|
-
readonly $case: "allExtensionNumbersOfType";
|
|
92
|
-
}) | ({
|
|
93
|
-
readonly listServices?: string;
|
|
94
|
-
} & {
|
|
95
|
-
readonly $case: "listServices";
|
|
96
|
-
}) | undefined;
|
|
97
|
-
}): ServerReflectionRequest;
|
|
98
|
-
};
|
|
99
|
-
readonly requestStream: true;
|
|
100
|
-
readonly responseType: {
|
|
101
|
-
$type: "grpc.reflection.v1alpha.ServerReflectionResponse";
|
|
102
|
-
encode(message: ServerReflectionResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
|
103
|
-
decode(input: import("protobufjs").Reader | Uint8Array, length?: number): ServerReflectionResponse;
|
|
104
|
-
fromJSON(object: any): ServerReflectionResponse;
|
|
105
|
-
toJSON<I = unknown>(message: ServerReflectionResponse): I;
|
|
106
|
-
create(base?: {
|
|
107
|
-
readonly validHost?: string;
|
|
108
|
-
readonly originalRequest?: {
|
|
109
|
-
readonly host?: string;
|
|
110
|
-
readonly messageRequest?: ({
|
|
111
|
-
readonly fileByFilename?: string;
|
|
112
|
-
} & {
|
|
113
|
-
readonly $case: "fileByFilename";
|
|
114
|
-
}) | ({
|
|
115
|
-
readonly fileContainingSymbol?: string;
|
|
116
|
-
} & {
|
|
117
|
-
readonly $case: "fileContainingSymbol";
|
|
118
|
-
}) | ({
|
|
119
|
-
readonly fileContainingExtension?: {
|
|
120
|
-
readonly containingType?: string;
|
|
121
|
-
readonly extensionNumber?: number;
|
|
122
|
-
};
|
|
123
|
-
} & {
|
|
124
|
-
readonly $case: "fileContainingExtension";
|
|
125
|
-
}) | ({
|
|
126
|
-
readonly allExtensionNumbersOfType?: string;
|
|
127
|
-
} & {
|
|
128
|
-
readonly $case: "allExtensionNumbersOfType";
|
|
129
|
-
}) | ({
|
|
130
|
-
readonly listServices?: string;
|
|
131
|
-
} & {
|
|
132
|
-
readonly $case: "listServices";
|
|
133
|
-
}) | undefined;
|
|
134
|
-
} | undefined;
|
|
135
|
-
readonly messageResponse?: ({
|
|
136
|
-
readonly fileDescriptorResponse?: {
|
|
137
|
-
readonly fileDescriptorProto?: readonly Buffer[];
|
|
138
|
-
};
|
|
139
|
-
} & {
|
|
140
|
-
readonly $case: "fileDescriptorResponse";
|
|
141
|
-
}) | ({
|
|
142
|
-
readonly allExtensionNumbersResponse?: {
|
|
143
|
-
readonly baseTypeName?: string;
|
|
144
|
-
readonly extensionNumber?: readonly number[];
|
|
145
|
-
};
|
|
146
|
-
} & {
|
|
147
|
-
readonly $case: "allExtensionNumbersResponse";
|
|
148
|
-
}) | ({
|
|
149
|
-
readonly listServicesResponse?: {
|
|
150
|
-
readonly service?: readonly {
|
|
151
|
-
readonly name?: string;
|
|
152
|
-
}[];
|
|
153
|
-
};
|
|
154
|
-
} & {
|
|
155
|
-
readonly $case: "listServicesResponse";
|
|
156
|
-
}) | ({
|
|
157
|
-
readonly errorResponse?: {
|
|
158
|
-
readonly errorCode?: number;
|
|
159
|
-
readonly errorMessage?: string;
|
|
160
|
-
};
|
|
161
|
-
} & {
|
|
162
|
-
readonly $case: "errorResponse";
|
|
163
|
-
}) | undefined;
|
|
164
|
-
}): ServerReflectionResponse;
|
|
165
|
-
fromPartial(object: {
|
|
166
|
-
readonly validHost?: string;
|
|
167
|
-
readonly originalRequest?: {
|
|
168
|
-
readonly host?: string;
|
|
169
|
-
readonly messageRequest?: ({
|
|
170
|
-
readonly fileByFilename?: string;
|
|
171
|
-
} & {
|
|
172
|
-
readonly $case: "fileByFilename";
|
|
173
|
-
}) | ({
|
|
174
|
-
readonly fileContainingSymbol?: string;
|
|
175
|
-
} & {
|
|
176
|
-
readonly $case: "fileContainingSymbol";
|
|
177
|
-
}) | ({
|
|
178
|
-
readonly fileContainingExtension?: {
|
|
179
|
-
readonly containingType?: string;
|
|
180
|
-
readonly extensionNumber?: number;
|
|
181
|
-
};
|
|
182
|
-
} & {
|
|
183
|
-
readonly $case: "fileContainingExtension";
|
|
184
|
-
}) | ({
|
|
185
|
-
readonly allExtensionNumbersOfType?: string;
|
|
186
|
-
} & {
|
|
187
|
-
readonly $case: "allExtensionNumbersOfType";
|
|
188
|
-
}) | ({
|
|
189
|
-
readonly listServices?: string;
|
|
190
|
-
} & {
|
|
191
|
-
readonly $case: "listServices";
|
|
192
|
-
}) | undefined;
|
|
193
|
-
} | undefined;
|
|
194
|
-
readonly messageResponse?: ({
|
|
195
|
-
readonly fileDescriptorResponse?: {
|
|
196
|
-
readonly fileDescriptorProto?: readonly Buffer[];
|
|
197
|
-
};
|
|
198
|
-
} & {
|
|
199
|
-
readonly $case: "fileDescriptorResponse";
|
|
200
|
-
}) | ({
|
|
201
|
-
readonly allExtensionNumbersResponse?: {
|
|
202
|
-
readonly baseTypeName?: string;
|
|
203
|
-
readonly extensionNumber?: readonly number[];
|
|
204
|
-
};
|
|
205
|
-
} & {
|
|
206
|
-
readonly $case: "allExtensionNumbersResponse";
|
|
207
|
-
}) | ({
|
|
208
|
-
readonly listServicesResponse?: {
|
|
209
|
-
readonly service?: readonly {
|
|
210
|
-
readonly name?: string;
|
|
211
|
-
}[];
|
|
212
|
-
};
|
|
213
|
-
} & {
|
|
214
|
-
readonly $case: "listServicesResponse";
|
|
215
|
-
}) | ({
|
|
216
|
-
readonly errorResponse?: {
|
|
217
|
-
readonly errorCode?: number;
|
|
218
|
-
readonly errorMessage?: string;
|
|
219
|
-
};
|
|
220
|
-
} & {
|
|
221
|
-
readonly $case: "errorResponse";
|
|
222
|
-
}) | undefined;
|
|
223
|
-
}): ServerReflectionResponse;
|
|
224
|
-
};
|
|
225
|
-
readonly responseStream: true;
|
|
226
|
-
readonly options: {};
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
};
|
|
22
|
+
'generic': {
|
|
23
|
+
ServerReflectionDefinition: typeof ServerReflectionDefinition;
|
|
230
24
|
};
|
|
231
25
|
};
|
|
232
|
-
descriptor:
|
|
26
|
+
descriptor: typeof descriptor;
|
|
233
27
|
};
|
|
234
|
-
|
|
28
|
+
declare const pkg: PackageMeta;
|
|
29
|
+
export default pkg;
|
|
235
30
|
export interface IServerReflectionController {
|
|
236
31
|
serverReflectionInfo(request: Observable<ServerReflectionRequest>, metadata?: Metadata): Observable<ServerReflectionResponse>;
|
|
237
32
|
}
|
|
@@ -24,9 +24,7 @@ Object.defineProperty(exports, "ServerReflectionResponse", { enumerable: true, g
|
|
|
24
24
|
const reflection_9 = require("./grpc/reflection/v1alpha/reflection");
|
|
25
25
|
Object.defineProperty(exports, "ServiceResponse", { enumerable: true, get: function () { return reflection_9.ServiceResponse; } });
|
|
26
26
|
const descriptor_1 = require("./descriptor");
|
|
27
|
-
|
|
28
|
-
// TODO type it with Package interface from @platform/grpc when it is deployed
|
|
29
|
-
exports.default = {
|
|
27
|
+
const pkg = {
|
|
30
28
|
name: 'grpc.reflection.v1alpha',
|
|
31
29
|
definitions: {
|
|
32
30
|
'grpc-js': { ServerReflection: reflection_1.ServerReflectionService },
|
|
@@ -34,6 +32,7 @@ exports.default = {
|
|
|
34
32
|
},
|
|
35
33
|
descriptor: descriptor_1.descriptor,
|
|
36
34
|
};
|
|
35
|
+
exports.default = pkg;
|
|
37
36
|
// Just helper function to ease decorators generation
|
|
38
37
|
function apply(decorator, constructor, method, serviceName) {
|
|
39
38
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grpc.reflection.v1alpha.js","sourceRoot":"","sources":["../.generated/grpc.reflection.v1alpha.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"grpc.reflection.v1alpha.js","sourceRoot":"","sources":["../.generated/grpc.reflection.v1alpha.ts"],"names":[],"mappings":";;;AA+GE,kEASC;AAaD,kEASC;AAYD,oEAGC;AA5ID,wEAAwE;AACxE,gEAAgE;AAC9D,qEAA+H;AAC/H,qEAAqE;AA0I5D,8FA1IA,0BAAa,OA0IA;AAzItB,qEAA+E;AA0ItE,wGA1IA,oCAAuB,OA0IA;AAzIhC,qEAAwE;AA0I/D,iGA1IA,6BAAgB,OA0IA;AAzIzB,qEAA8E;AA0IrE,uGA1IA,mCAAsB,OA0IA;AAzI/B,qEAA2E;AA0IlE,oGA1IA,gCAAmB,OA0IA;AAzI5B,qEAA+E;AA0ItE,wGA1IA,oCAAuB,OA0IA;AAzIhC,qEAAgF;AA0IvE,yGA1IA,qCAAwB,OA0IA;AAzIjC,qEAAuE;AA0I9D,gGA1IA,4BAAe,OA0IA;AAzI1B,6CAA0C;AAgB1C,MAAM,GAAG,GAAgB;IACvB,IAAI,EAAE,yBAAyB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AAC,EAAE,CAAC,CAAC,CAAA;IACxE,CAAC;AACH,CAAC;AAKD;;;;EAIE;AACF,SAAgB,2BAA2B;IACzC,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,GAAG,wBAAwB,CAAC,gBAAgB,CAAC,CAAC;IACnF,MAAM,EAAE,cAAc,EAAE,GAAG,wBAAwB,CAAC,sBAAsB,CAAC,CAAC;IAC5E,OAAO,eAAe,CACpB,UAAU,EAAE,EACZ,UAAU,WAAqB;QAC3B,YAAY,CAAC,cAAc,EAAE,WAAW,EAAE,sBAAsB,EAAE,oCAAuB,EAAE,qCAAwB,CAAC,CAAC;IACzH,CAAC,CACF,CAAC;AACJ,CAAC;AAOD;;;;;EAKE;AACF,SAAgB,2BAA2B;IACzC,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"}
|
package/dist/index.google.js
CHANGED
|
@@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
16
16
|
}) : function(o, v) {
|
|
17
17
|
o["default"] = v;
|
|
18
18
|
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || function (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
26
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
37
|
exports.protobuf = void 0;
|
|
28
38
|
/* eslint-disable */
|
package/dist/index.google.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.google.js","sourceRoot":"","sources":["../.generated/index.google.ts"],"names":[],"mappings":";AAAA,sDAAsD
|
|
1
|
+
{"version":3,"file":"index.google.js","sourceRoot":"","sources":["../.generated/index.google.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,oBAAoB;AAEpB,oEAAoD"}
|
package/dist/index.grpc.error.js
CHANGED
|
@@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
16
16
|
}) : function(o, v) {
|
|
17
17
|
o["default"] = v;
|
|
18
18
|
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || function (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
26
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
37
|
exports.v1 = void 0;
|
|
28
38
|
/* eslint-disable */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.grpc.error.js","sourceRoot":"","sources":["../.generated/index.grpc.error.ts"],"names":[],"mappings":";AAAA,sDAAsD
|
|
1
|
+
{"version":3,"file":"index.grpc.error.js","sourceRoot":"","sources":["../.generated/index.grpc.error.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,oBAAoB;AAEpB,4DAA4C"}
|
|
@@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
16
16
|
}) : function(o, v) {
|
|
17
17
|
o["default"] = v;
|
|
18
18
|
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || function (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
26
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
37
|
exports.v1 = void 0;
|
|
28
38
|
/* eslint-disable */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.grpc.health.js","sourceRoot":"","sources":["../.generated/index.grpc.health.ts"],"names":[],"mappings":";AAAA,sDAAsD
|
|
1
|
+
{"version":3,"file":"index.grpc.health.js","sourceRoot":"","sources":["../.generated/index.grpc.health.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,oBAAoB;AAEpB,6DAA6C"}
|
package/dist/index.grpc.js
CHANGED
|
@@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
16
16
|
}) : function(o, v) {
|
|
17
17
|
o["default"] = v;
|
|
18
18
|
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || function (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
26
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
37
|
exports.reflection = exports.metrics = exports.health = exports.error = void 0;
|
|
28
38
|
/* eslint-disable */
|
package/dist/index.grpc.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.grpc.js","sourceRoot":"","sources":["../.generated/index.grpc.ts"],"names":[],"mappings":";AAAA,sDAAsD
|
|
1
|
+
{"version":3,"file":"index.grpc.js","sourceRoot":"","sources":["../.generated/index.grpc.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,oBAAoB;AAEpB,4DAA4C;AAC5C,8DAA8C;AAC9C,gEAAgD;AAChD,sEAAsD"}
|
|
@@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
16
16
|
}) : function(o, v) {
|
|
17
17
|
o["default"] = v;
|
|
18
18
|
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || function (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
26
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
37
|
exports.v1 = void 0;
|
|
28
38
|
/* eslint-disable */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.grpc.metrics.js","sourceRoot":"","sources":["../.generated/index.grpc.metrics.ts"],"names":[],"mappings":";AAAA,sDAAsD
|
|
1
|
+
{"version":3,"file":"index.grpc.metrics.js","sourceRoot":"","sources":["../.generated/index.grpc.metrics.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,oBAAoB;AAEpB,8DAA8C"}
|
|
@@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
16
16
|
}) : function(o, v) {
|
|
17
17
|
o["default"] = v;
|
|
18
18
|
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || function (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
26
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
37
|
exports.v1alpha = exports.v1 = void 0;
|
|
28
38
|
/* eslint-disable */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.grpc.reflection.js","sourceRoot":"","sources":["../.generated/index.grpc.reflection.ts"],"names":[],"mappings":";AAAA,sDAAsD
|
|
1
|
+
{"version":3,"file":"index.grpc.reflection.js","sourceRoot":"","sources":["../.generated/index.grpc.reflection.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,oBAAoB;AAEpB,iEAAiD;AACjD,2EAA2D"}
|
package/dist/index.js
CHANGED
|
@@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
16
16
|
}) : function(o, v) {
|
|
17
17
|
o["default"] = v;
|
|
18
18
|
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || function (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
26
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
37
|
exports.grpc = exports.google = void 0;
|
|
28
38
|
/* eslint-disable */
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../.generated/index.ts"],"names":[],"mappings":";AAAA,sDAAsD
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../.generated/index.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,oBAAoB;AAEpB,yDAAyC;AACzC,qDAAqC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/builtin-contract",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.0-next.0",
|
|
4
4
|
"license": "Apache License 2.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@grpc/grpc-js": "^1.10.11"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "412cd0e0b03008a91b357e076024ee3c81586eb7"
|
|
19
19
|
}
|