@kurrent/kurrentdb-client 1.2.0-alpha.0 → 1.3.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/dist/Client/http.d.ts +7 -1
- package/dist/Client/http.js +51 -48
- package/dist/Client/http.js.map +1 -1
- package/dist/Client/index.d.ts +30 -6
- package/dist/Client/index.js +89 -11
- package/dist/Client/index.js.map +1 -1
- package/dist/Client/parseConnectionString.d.ts +2 -2
- package/dist/Client/parseConnectionString.js +0 -9
- package/dist/Client/parseConnectionString.js.map +1 -1
- package/dist/constants.d.ts +3 -0
- package/dist/constants.js +6 -1
- package/dist/constants.js.map +1 -1
- package/dist/events/binaryEvent.d.ts +1 -5
- package/dist/events/binaryEvent.js +2 -2
- package/dist/events/binaryEvent.js.map +1 -1
- package/dist/events/jsonEvent.js +2 -2
- package/dist/events/jsonEvent.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/projections/createProjection.d.ts +10 -1
- package/dist/projections/createProjection.js +13 -2
- package/dist/projections/createProjection.js.map +1 -1
- package/dist/streams/appendToStream/appendRecords.d.ts +3 -0
- package/dist/streams/appendToStream/appendRecords.js +132 -0
- package/dist/streams/appendToStream/appendRecords.js.map +1 -0
- package/dist/streams/appendToStream/batchAppend.js +2 -2
- package/dist/streams/appendToStream/batchAppend.js.map +1 -1
- package/dist/streams/appendToStream/index.d.ts +9 -1
- package/dist/streams/appendToStream/index.js +8 -0
- package/dist/streams/appendToStream/index.js.map +1 -1
- package/dist/streams/readAll.js +18 -18
- package/dist/streams/readAll.js.map +1 -1
- package/dist/streams/readStream.js +26 -34
- package/dist/streams/readStream.js.map +1 -1
- package/dist/types/index.d.ts +88 -2
- package/dist/types/index.js.map +1 -1
- package/dist/utils/CommandError.d.ts +9 -3
- package/dist/utils/CommandError.js +50 -1
- package/dist/utils/CommandError.js.map +1 -1
- package/dist/utils/convertBridgeError.d.ts +2 -1
- package/dist/utils/convertBridgeError.js +14 -24
- package/dist/utils/convertBridgeError.js.map +1 -1
- package/dist/utils/credentials.d.ts +19 -0
- package/dist/utils/credentials.js +31 -0
- package/dist/utils/credentials.js.map +1 -0
- package/dist/utils/grpcUUID.d.ts +1 -0
- package/dist/utils/grpcUUID.js +12 -12
- package/dist/utils/grpcUUID.js.map +1 -1
- package/generated/kurrentdb/protocols/v1/projectionmanagement_pb.d.ts +3 -0
- package/generated/kurrentdb/protocols/v1/projectionmanagement_pb.js +31 -1
- package/generated/kurrentdb/protocols/v2/core_pb.d.ts +188 -188
- package/generated/kurrentdb/protocols/v2/core_pb.js +1301 -1301
- package/generated/kurrentdb/protocols/v2/features/service_grpc_pb.d.ts +43 -43
- package/generated/kurrentdb/protocols/v2/features/service_grpc_pb.js +50 -50
- package/generated/kurrentdb/protocols/v2/features/service_pb.d.ts +227 -227
- package/generated/kurrentdb/protocols/v2/features/service_pb.js +1753 -1753
- package/generated/kurrentdb/protocols/v2/streams/errors_pb.d.ts +85 -0
- package/generated/kurrentdb/protocols/v2/streams/errors_pb.js +625 -1
- package/generated/kurrentdb/protocols/v2/streams/shared_pb.d.ts +218 -218
- package/generated/kurrentdb/protocols/v2/streams/shared_pb.js +1561 -1561
- package/generated/kurrentdb/protocols/v2/streams/streams_grpc_pb.d.ts +17 -0
- package/generated/kurrentdb/protocols/v2/streams/streams_grpc_pb.js +53 -0
- package/generated/kurrentdb/protocols/v2/streams/streams_pb.d.ts +134 -0
- package/generated/kurrentdb/protocols/v2/streams/streams_pb.js +1041 -1
- package/package.json +64 -66
- package/dist/schemaRegistry/checkSchemaCompatibility.d.ts +0 -12
- package/dist/schemaRegistry/checkSchemaCompatibility.js +0 -60
- package/dist/schemaRegistry/checkSchemaCompatibility.js.map +0 -1
- package/dist/schemaRegistry/createSchema.d.ts +0 -13
- package/dist/schemaRegistry/createSchema.js +0 -36
- package/dist/schemaRegistry/createSchema.js.map +0 -1
- package/dist/schemaRegistry/deleteSchema.d.ts +0 -11
- package/dist/schemaRegistry/deleteSchema.js +0 -23
- package/dist/schemaRegistry/deleteSchema.js.map +0 -1
- package/dist/schemaRegistry/deleteSchemaVersions.d.ts +0 -13
- package/dist/schemaRegistry/deleteSchemaVersions.js +0 -29
- package/dist/schemaRegistry/deleteSchemaVersions.js.map +0 -1
- package/dist/schemaRegistry/getSchema.d.ts +0 -12
- package/dist/schemaRegistry/getSchema.js +0 -28
- package/dist/schemaRegistry/getSchema.js.map +0 -1
- package/dist/schemaRegistry/getSchemaVersion.d.ts +0 -12
- package/dist/schemaRegistry/getSchemaVersion.js +0 -33
- package/dist/schemaRegistry/getSchemaVersion.js.map +0 -1
- package/dist/schemaRegistry/getSchemaVersionById.d.ts +0 -12
- package/dist/schemaRegistry/getSchemaVersionById.js +0 -28
- package/dist/schemaRegistry/getSchemaVersionById.js.map +0 -1
- package/dist/schemaRegistry/index.d.ts +0 -14
- package/dist/schemaRegistry/index.js +0 -35
- package/dist/schemaRegistry/index.js.map +0 -1
- package/dist/schemaRegistry/listRegisteredSchemas.d.ts +0 -11
- package/dist/schemaRegistry/listRegisteredSchemas.js +0 -41
- package/dist/schemaRegistry/listRegisteredSchemas.js.map +0 -1
- package/dist/schemaRegistry/listSchemaVersions.d.ts +0 -12
- package/dist/schemaRegistry/listSchemaVersions.js +0 -28
- package/dist/schemaRegistry/listSchemaVersions.js.map +0 -1
- package/dist/schemaRegistry/listSchemas.d.ts +0 -11
- package/dist/schemaRegistry/listSchemas.js +0 -35
- package/dist/schemaRegistry/listSchemas.js.map +0 -1
- package/dist/schemaRegistry/lookupSchemaName.d.ts +0 -12
- package/dist/schemaRegistry/lookupSchemaName.js +0 -23
- package/dist/schemaRegistry/lookupSchemaName.js.map +0 -1
- package/dist/schemaRegistry/registerSchemaVersion.d.ts +0 -13
- package/dist/schemaRegistry/registerSchemaVersion.js +0 -31
- package/dist/schemaRegistry/registerSchemaVersion.js.map +0 -1
- package/dist/schemaRegistry/types.d.ts +0 -347
- package/dist/schemaRegistry/types.js +0 -3
- package/dist/schemaRegistry/types.js.map +0 -1
- package/dist/schemaRegistry/updateSchema.d.ts +0 -11
- package/dist/schemaRegistry/updateSchema.js +0 -51
- package/dist/schemaRegistry/updateSchema.js.map +0 -1
- package/dist/schemaRegistry/utils/index.d.ts +0 -1
- package/dist/schemaRegistry/utils/index.js +0 -18
- package/dist/schemaRegistry/utils/index.js.map +0 -1
- package/dist/schemaRegistry/utils/mappers.d.ts +0 -24
- package/dist/schemaRegistry/utils/mappers.js +0 -198
- package/dist/schemaRegistry/utils/mappers.js.map +0 -1
- package/generated/kurrentdb/protocols/v2/registry/errors_grpc_pb.js +0 -1
- package/generated/kurrentdb/protocols/v2/registry/errors_pb.d.ts +0 -75
- package/generated/kurrentdb/protocols/v2/registry/errors_pb.js +0 -493
- package/generated/kurrentdb/protocols/v2/registry/events_grpc_pb.js +0 -1
- package/generated/kurrentdb/protocols/v2/registry/events_pb.d.ts +0 -255
- package/generated/kurrentdb/protocols/v2/registry/events_pb.js +0 -2057
- package/generated/kurrentdb/protocols/v2/registry/groups_grpc_pb.js +0 -1
- package/generated/kurrentdb/protocols/v2/registry/groups_pb.d.ts +0 -474
- package/generated/kurrentdb/protocols/v2/registry/groups_pb.js +0 -3593
- package/generated/kurrentdb/protocols/v2/registry/schemas_grpc_pb.js +0 -1
- package/generated/kurrentdb/protocols/v2/registry/schemas_pb.d.ts +0 -825
- package/generated/kurrentdb/protocols/v2/registry/schemas_pb.js +0 -6500
- package/generated/kurrentdb/protocols/v2/registry/service_grpc_pb.d.ts +0 -350
- package/generated/kurrentdb/protocols/v2/registry/service_grpc_pb.js +0 -654
- package/generated/kurrentdb/protocols/v2/registry/service_pb.d.ts +0 -10
- package/generated/kurrentdb/protocols/v2/registry/service_pb.js +0 -29
- package/generated/kurrentdb/protocols/v2/registry/shared_grpc_pb.js +0 -1
- package/generated/kurrentdb/protocols/v2/registry/shared_pb.d.ts +0 -26
- package/generated/kurrentdb/protocols/v2/registry/shared_pb.js +0 -51
- package/generated/kurrentdb/protocols/v2/registry/validation_grpc_pb.js +0 -1
- package/generated/kurrentdb/protocols/v2/registry/validation_pb.d.ts +0 -247
- package/generated/kurrentdb/protocols/v2/registry/validation_pb.js +0 -1789
|
@@ -1,654 +0,0 @@
|
|
|
1
|
-
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
-
|
|
3
|
-
'use strict';
|
|
4
|
-
var grpc = require('@grpc/grpc-js');
|
|
5
|
-
var kurrentdb_protocols_v2_registry_groups_pb = require('../../../../kurrentdb/protocols/v2/registry/groups_pb.js');
|
|
6
|
-
var kurrentdb_protocols_v2_registry_schemas_pb = require('../../../../kurrentdb/protocols/v2/registry/schemas_pb.js');
|
|
7
|
-
var kurrentdb_protocols_v2_registry_validation_pb = require('../../../../kurrentdb/protocols/v2/registry/validation_pb.js');
|
|
8
|
-
|
|
9
|
-
function serialize_kurrentdb_protocol_registry_v2_BulkRegisterSchemasRequest(arg) {
|
|
10
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.BulkRegisterSchemasRequest)) {
|
|
11
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.BulkRegisterSchemasRequest');
|
|
12
|
-
}
|
|
13
|
-
return Buffer.from(arg.serializeBinary());
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function deserialize_kurrentdb_protocol_registry_v2_BulkRegisterSchemasRequest(buffer_arg) {
|
|
17
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.BulkRegisterSchemasRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function serialize_kurrentdb_protocol_registry_v2_BulkRegisterSchemasResponse(arg) {
|
|
21
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.BulkRegisterSchemasResponse)) {
|
|
22
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.BulkRegisterSchemasResponse');
|
|
23
|
-
}
|
|
24
|
-
return Buffer.from(arg.serializeBinary());
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function deserialize_kurrentdb_protocol_registry_v2_BulkRegisterSchemasResponse(buffer_arg) {
|
|
28
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.BulkRegisterSchemasResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function serialize_kurrentdb_protocol_registry_v2_CheckSchemaCompatibilityRequest(arg) {
|
|
32
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_validation_pb.CheckSchemaCompatibilityRequest)) {
|
|
33
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.CheckSchemaCompatibilityRequest');
|
|
34
|
-
}
|
|
35
|
-
return Buffer.from(arg.serializeBinary());
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
function deserialize_kurrentdb_protocol_registry_v2_CheckSchemaCompatibilityRequest(buffer_arg) {
|
|
39
|
-
return kurrentdb_protocols_v2_registry_validation_pb.CheckSchemaCompatibilityRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
function serialize_kurrentdb_protocol_registry_v2_CheckSchemaCompatibilityResponse(arg) {
|
|
43
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_validation_pb.CheckSchemaCompatibilityResponse)) {
|
|
44
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.CheckSchemaCompatibilityResponse');
|
|
45
|
-
}
|
|
46
|
-
return Buffer.from(arg.serializeBinary());
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function deserialize_kurrentdb_protocol_registry_v2_CheckSchemaCompatibilityResponse(buffer_arg) {
|
|
50
|
-
return kurrentdb_protocols_v2_registry_validation_pb.CheckSchemaCompatibilityResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
function serialize_kurrentdb_protocol_registry_v2_CreateSchemaGroupRequest(arg) {
|
|
54
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_groups_pb.CreateSchemaGroupRequest)) {
|
|
55
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.CreateSchemaGroupRequest');
|
|
56
|
-
}
|
|
57
|
-
return Buffer.from(arg.serializeBinary());
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
function deserialize_kurrentdb_protocol_registry_v2_CreateSchemaGroupRequest(buffer_arg) {
|
|
61
|
-
return kurrentdb_protocols_v2_registry_groups_pb.CreateSchemaGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
function serialize_kurrentdb_protocol_registry_v2_CreateSchemaGroupResponse(arg) {
|
|
65
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_groups_pb.CreateSchemaGroupResponse)) {
|
|
66
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.CreateSchemaGroupResponse');
|
|
67
|
-
}
|
|
68
|
-
return Buffer.from(arg.serializeBinary());
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
function deserialize_kurrentdb_protocol_registry_v2_CreateSchemaGroupResponse(buffer_arg) {
|
|
72
|
-
return kurrentdb_protocols_v2_registry_groups_pb.CreateSchemaGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function serialize_kurrentdb_protocol_registry_v2_CreateSchemaRequest(arg) {
|
|
76
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.CreateSchemaRequest)) {
|
|
77
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.CreateSchemaRequest');
|
|
78
|
-
}
|
|
79
|
-
return Buffer.from(arg.serializeBinary());
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
function deserialize_kurrentdb_protocol_registry_v2_CreateSchemaRequest(buffer_arg) {
|
|
83
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.CreateSchemaRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
function serialize_kurrentdb_protocol_registry_v2_CreateSchemaResponse(arg) {
|
|
87
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.CreateSchemaResponse)) {
|
|
88
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.CreateSchemaResponse');
|
|
89
|
-
}
|
|
90
|
-
return Buffer.from(arg.serializeBinary());
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
function deserialize_kurrentdb_protocol_registry_v2_CreateSchemaResponse(buffer_arg) {
|
|
94
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.CreateSchemaResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
function serialize_kurrentdb_protocol_registry_v2_DeleteSchemaGroupRequest(arg) {
|
|
98
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_groups_pb.DeleteSchemaGroupRequest)) {
|
|
99
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.DeleteSchemaGroupRequest');
|
|
100
|
-
}
|
|
101
|
-
return Buffer.from(arg.serializeBinary());
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
function deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaGroupRequest(buffer_arg) {
|
|
105
|
-
return kurrentdb_protocols_v2_registry_groups_pb.DeleteSchemaGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
function serialize_kurrentdb_protocol_registry_v2_DeleteSchemaGroupResponse(arg) {
|
|
109
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_groups_pb.DeleteSchemaGroupResponse)) {
|
|
110
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.DeleteSchemaGroupResponse');
|
|
111
|
-
}
|
|
112
|
-
return Buffer.from(arg.serializeBinary());
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
function deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaGroupResponse(buffer_arg) {
|
|
116
|
-
return kurrentdb_protocols_v2_registry_groups_pb.DeleteSchemaGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
function serialize_kurrentdb_protocol_registry_v2_DeleteSchemaRequest(arg) {
|
|
120
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaRequest)) {
|
|
121
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.DeleteSchemaRequest');
|
|
122
|
-
}
|
|
123
|
-
return Buffer.from(arg.serializeBinary());
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
function deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaRequest(buffer_arg) {
|
|
127
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
function serialize_kurrentdb_protocol_registry_v2_DeleteSchemaResponse(arg) {
|
|
131
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaResponse)) {
|
|
132
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.DeleteSchemaResponse');
|
|
133
|
-
}
|
|
134
|
-
return Buffer.from(arg.serializeBinary());
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
function deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaResponse(buffer_arg) {
|
|
138
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
function serialize_kurrentdb_protocol_registry_v2_DeleteSchemaVersionsRequest(arg) {
|
|
142
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaVersionsRequest)) {
|
|
143
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.DeleteSchemaVersionsRequest');
|
|
144
|
-
}
|
|
145
|
-
return Buffer.from(arg.serializeBinary());
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
function deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaVersionsRequest(buffer_arg) {
|
|
149
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaVersionsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
function serialize_kurrentdb_protocol_registry_v2_DeleteSchemaVersionsResponse(arg) {
|
|
153
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaVersionsResponse)) {
|
|
154
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.DeleteSchemaVersionsResponse');
|
|
155
|
-
}
|
|
156
|
-
return Buffer.from(arg.serializeBinary());
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
function deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaVersionsResponse(buffer_arg) {
|
|
160
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaVersionsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
function serialize_kurrentdb_protocol_registry_v2_GetSchemaGroupRequest(arg) {
|
|
164
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_groups_pb.GetSchemaGroupRequest)) {
|
|
165
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.GetSchemaGroupRequest');
|
|
166
|
-
}
|
|
167
|
-
return Buffer.from(arg.serializeBinary());
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
function deserialize_kurrentdb_protocol_registry_v2_GetSchemaGroupRequest(buffer_arg) {
|
|
171
|
-
return kurrentdb_protocols_v2_registry_groups_pb.GetSchemaGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
function serialize_kurrentdb_protocol_registry_v2_GetSchemaGroupResponse(arg) {
|
|
175
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_groups_pb.GetSchemaGroupResponse)) {
|
|
176
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.GetSchemaGroupResponse');
|
|
177
|
-
}
|
|
178
|
-
return Buffer.from(arg.serializeBinary());
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
function deserialize_kurrentdb_protocol_registry_v2_GetSchemaGroupResponse(buffer_arg) {
|
|
182
|
-
return kurrentdb_protocols_v2_registry_groups_pb.GetSchemaGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
function serialize_kurrentdb_protocol_registry_v2_GetSchemaRequest(arg) {
|
|
186
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaRequest)) {
|
|
187
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.GetSchemaRequest');
|
|
188
|
-
}
|
|
189
|
-
return Buffer.from(arg.serializeBinary());
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
function deserialize_kurrentdb_protocol_registry_v2_GetSchemaRequest(buffer_arg) {
|
|
193
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
function serialize_kurrentdb_protocol_registry_v2_GetSchemaResponse(arg) {
|
|
197
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaResponse)) {
|
|
198
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.GetSchemaResponse');
|
|
199
|
-
}
|
|
200
|
-
return Buffer.from(arg.serializeBinary());
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
function deserialize_kurrentdb_protocol_registry_v2_GetSchemaResponse(buffer_arg) {
|
|
204
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
function serialize_kurrentdb_protocol_registry_v2_GetSchemaVersionByIdRequest(arg) {
|
|
208
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionByIdRequest)) {
|
|
209
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.GetSchemaVersionByIdRequest');
|
|
210
|
-
}
|
|
211
|
-
return Buffer.from(arg.serializeBinary());
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
function deserialize_kurrentdb_protocol_registry_v2_GetSchemaVersionByIdRequest(buffer_arg) {
|
|
215
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
function serialize_kurrentdb_protocol_registry_v2_GetSchemaVersionByIdResponse(arg) {
|
|
219
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionByIdResponse)) {
|
|
220
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.GetSchemaVersionByIdResponse');
|
|
221
|
-
}
|
|
222
|
-
return Buffer.from(arg.serializeBinary());
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
function deserialize_kurrentdb_protocol_registry_v2_GetSchemaVersionByIdResponse(buffer_arg) {
|
|
226
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
function serialize_kurrentdb_protocol_registry_v2_GetSchemaVersionRequest(arg) {
|
|
230
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionRequest)) {
|
|
231
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.GetSchemaVersionRequest');
|
|
232
|
-
}
|
|
233
|
-
return Buffer.from(arg.serializeBinary());
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
function deserialize_kurrentdb_protocol_registry_v2_GetSchemaVersionRequest(buffer_arg) {
|
|
237
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
function serialize_kurrentdb_protocol_registry_v2_GetSchemaVersionResponse(arg) {
|
|
241
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionResponse)) {
|
|
242
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.GetSchemaVersionResponse');
|
|
243
|
-
}
|
|
244
|
-
return Buffer.from(arg.serializeBinary());
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
function deserialize_kurrentdb_protocol_registry_v2_GetSchemaVersionResponse(buffer_arg) {
|
|
248
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
function serialize_kurrentdb_protocol_registry_v2_ListRegisteredSchemasRequest(arg) {
|
|
252
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.ListRegisteredSchemasRequest)) {
|
|
253
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.ListRegisteredSchemasRequest');
|
|
254
|
-
}
|
|
255
|
-
return Buffer.from(arg.serializeBinary());
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
function deserialize_kurrentdb_protocol_registry_v2_ListRegisteredSchemasRequest(buffer_arg) {
|
|
259
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.ListRegisteredSchemasRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
function serialize_kurrentdb_protocol_registry_v2_ListRegisteredSchemasResponse(arg) {
|
|
263
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.ListRegisteredSchemasResponse)) {
|
|
264
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.ListRegisteredSchemasResponse');
|
|
265
|
-
}
|
|
266
|
-
return Buffer.from(arg.serializeBinary());
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
function deserialize_kurrentdb_protocol_registry_v2_ListRegisteredSchemasResponse(buffer_arg) {
|
|
270
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.ListRegisteredSchemasResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
function serialize_kurrentdb_protocol_registry_v2_ListSchemaGroupsRequest(arg) {
|
|
274
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_groups_pb.ListSchemaGroupsRequest)) {
|
|
275
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.ListSchemaGroupsRequest');
|
|
276
|
-
}
|
|
277
|
-
return Buffer.from(arg.serializeBinary());
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
function deserialize_kurrentdb_protocol_registry_v2_ListSchemaGroupsRequest(buffer_arg) {
|
|
281
|
-
return kurrentdb_protocols_v2_registry_groups_pb.ListSchemaGroupsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
function serialize_kurrentdb_protocol_registry_v2_ListSchemaGroupsResponse(arg) {
|
|
285
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_groups_pb.ListSchemaGroupsResponse)) {
|
|
286
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.ListSchemaGroupsResponse');
|
|
287
|
-
}
|
|
288
|
-
return Buffer.from(arg.serializeBinary());
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
function deserialize_kurrentdb_protocol_registry_v2_ListSchemaGroupsResponse(buffer_arg) {
|
|
292
|
-
return kurrentdb_protocols_v2_registry_groups_pb.ListSchemaGroupsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
function serialize_kurrentdb_protocol_registry_v2_ListSchemaVersionsRequest(arg) {
|
|
296
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.ListSchemaVersionsRequest)) {
|
|
297
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.ListSchemaVersionsRequest');
|
|
298
|
-
}
|
|
299
|
-
return Buffer.from(arg.serializeBinary());
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
function deserialize_kurrentdb_protocol_registry_v2_ListSchemaVersionsRequest(buffer_arg) {
|
|
303
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.ListSchemaVersionsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
function serialize_kurrentdb_protocol_registry_v2_ListSchemaVersionsResponse(arg) {
|
|
307
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.ListSchemaVersionsResponse)) {
|
|
308
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.ListSchemaVersionsResponse');
|
|
309
|
-
}
|
|
310
|
-
return Buffer.from(arg.serializeBinary());
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
function deserialize_kurrentdb_protocol_registry_v2_ListSchemaVersionsResponse(buffer_arg) {
|
|
314
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.ListSchemaVersionsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
function serialize_kurrentdb_protocol_registry_v2_ListSchemasRequest(arg) {
|
|
318
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.ListSchemasRequest)) {
|
|
319
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.ListSchemasRequest');
|
|
320
|
-
}
|
|
321
|
-
return Buffer.from(arg.serializeBinary());
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
function deserialize_kurrentdb_protocol_registry_v2_ListSchemasRequest(buffer_arg) {
|
|
325
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.ListSchemasRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
function serialize_kurrentdb_protocol_registry_v2_ListSchemasResponse(arg) {
|
|
329
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.ListSchemasResponse)) {
|
|
330
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.ListSchemasResponse');
|
|
331
|
-
}
|
|
332
|
-
return Buffer.from(arg.serializeBinary());
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
function deserialize_kurrentdb_protocol_registry_v2_ListSchemasResponse(buffer_arg) {
|
|
336
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.ListSchemasResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
function serialize_kurrentdb_protocol_registry_v2_LookupSchemaNameRequest(arg) {
|
|
340
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.LookupSchemaNameRequest)) {
|
|
341
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.LookupSchemaNameRequest');
|
|
342
|
-
}
|
|
343
|
-
return Buffer.from(arg.serializeBinary());
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
function deserialize_kurrentdb_protocol_registry_v2_LookupSchemaNameRequest(buffer_arg) {
|
|
347
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.LookupSchemaNameRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
function serialize_kurrentdb_protocol_registry_v2_LookupSchemaNameResponse(arg) {
|
|
351
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.LookupSchemaNameResponse)) {
|
|
352
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.LookupSchemaNameResponse');
|
|
353
|
-
}
|
|
354
|
-
return Buffer.from(arg.serializeBinary());
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
function deserialize_kurrentdb_protocol_registry_v2_LookupSchemaNameResponse(buffer_arg) {
|
|
358
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.LookupSchemaNameResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
function serialize_kurrentdb_protocol_registry_v2_RegisterSchemaVersionRequest(arg) {
|
|
362
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.RegisterSchemaVersionRequest)) {
|
|
363
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.RegisterSchemaVersionRequest');
|
|
364
|
-
}
|
|
365
|
-
return Buffer.from(arg.serializeBinary());
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
function deserialize_kurrentdb_protocol_registry_v2_RegisterSchemaVersionRequest(buffer_arg) {
|
|
369
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.RegisterSchemaVersionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
function serialize_kurrentdb_protocol_registry_v2_RegisterSchemaVersionResponse(arg) {
|
|
373
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.RegisterSchemaVersionResponse)) {
|
|
374
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.RegisterSchemaVersionResponse');
|
|
375
|
-
}
|
|
376
|
-
return Buffer.from(arg.serializeBinary());
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
function deserialize_kurrentdb_protocol_registry_v2_RegisterSchemaVersionResponse(buffer_arg) {
|
|
380
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.RegisterSchemaVersionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
function serialize_kurrentdb_protocol_registry_v2_UpdateSchemaGroupRequest(arg) {
|
|
384
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_groups_pb.UpdateSchemaGroupRequest)) {
|
|
385
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.UpdateSchemaGroupRequest');
|
|
386
|
-
}
|
|
387
|
-
return Buffer.from(arg.serializeBinary());
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
function deserialize_kurrentdb_protocol_registry_v2_UpdateSchemaGroupRequest(buffer_arg) {
|
|
391
|
-
return kurrentdb_protocols_v2_registry_groups_pb.UpdateSchemaGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
function serialize_kurrentdb_protocol_registry_v2_UpdateSchemaGroupResponse(arg) {
|
|
395
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_groups_pb.UpdateSchemaGroupResponse)) {
|
|
396
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.UpdateSchemaGroupResponse');
|
|
397
|
-
}
|
|
398
|
-
return Buffer.from(arg.serializeBinary());
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
function deserialize_kurrentdb_protocol_registry_v2_UpdateSchemaGroupResponse(buffer_arg) {
|
|
402
|
-
return kurrentdb_protocols_v2_registry_groups_pb.UpdateSchemaGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
function serialize_kurrentdb_protocol_registry_v2_UpdateSchemaRequest(arg) {
|
|
406
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.UpdateSchemaRequest)) {
|
|
407
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.UpdateSchemaRequest');
|
|
408
|
-
}
|
|
409
|
-
return Buffer.from(arg.serializeBinary());
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
function deserialize_kurrentdb_protocol_registry_v2_UpdateSchemaRequest(buffer_arg) {
|
|
413
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.UpdateSchemaRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
function serialize_kurrentdb_protocol_registry_v2_UpdateSchemaResponse(arg) {
|
|
417
|
-
if (!(arg instanceof kurrentdb_protocols_v2_registry_schemas_pb.UpdateSchemaResponse)) {
|
|
418
|
-
throw new Error('Expected argument of type kurrentdb.protocol.registry.v2.UpdateSchemaResponse');
|
|
419
|
-
}
|
|
420
|
-
return Buffer.from(arg.serializeBinary());
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
function deserialize_kurrentdb_protocol_registry_v2_UpdateSchemaResponse(buffer_arg) {
|
|
424
|
-
return kurrentdb_protocols_v2_registry_schemas_pb.UpdateSchemaResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
var SchemaRegistryServiceService = exports.SchemaRegistryServiceService = {
|
|
429
|
-
createSchemaGroup: {
|
|
430
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/CreateSchemaGroup',
|
|
431
|
-
requestStream: false,
|
|
432
|
-
responseStream: false,
|
|
433
|
-
requestType: kurrentdb_protocols_v2_registry_groups_pb.CreateSchemaGroupRequest,
|
|
434
|
-
responseType: kurrentdb_protocols_v2_registry_groups_pb.CreateSchemaGroupResponse,
|
|
435
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_CreateSchemaGroupRequest,
|
|
436
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_CreateSchemaGroupRequest,
|
|
437
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_CreateSchemaGroupResponse,
|
|
438
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_CreateSchemaGroupResponse,
|
|
439
|
-
},
|
|
440
|
-
updateSchemaGroup: {
|
|
441
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/UpdateSchemaGroup',
|
|
442
|
-
requestStream: false,
|
|
443
|
-
responseStream: false,
|
|
444
|
-
requestType: kurrentdb_protocols_v2_registry_groups_pb.UpdateSchemaGroupRequest,
|
|
445
|
-
responseType: kurrentdb_protocols_v2_registry_groups_pb.UpdateSchemaGroupResponse,
|
|
446
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_UpdateSchemaGroupRequest,
|
|
447
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_UpdateSchemaGroupRequest,
|
|
448
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_UpdateSchemaGroupResponse,
|
|
449
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_UpdateSchemaGroupResponse,
|
|
450
|
-
},
|
|
451
|
-
deleteSchemaGroup: {
|
|
452
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/DeleteSchemaGroup',
|
|
453
|
-
requestStream: false,
|
|
454
|
-
responseStream: false,
|
|
455
|
-
requestType: kurrentdb_protocols_v2_registry_groups_pb.DeleteSchemaGroupRequest,
|
|
456
|
-
responseType: kurrentdb_protocols_v2_registry_groups_pb.DeleteSchemaGroupResponse,
|
|
457
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_DeleteSchemaGroupRequest,
|
|
458
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaGroupRequest,
|
|
459
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_DeleteSchemaGroupResponse,
|
|
460
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaGroupResponse,
|
|
461
|
-
},
|
|
462
|
-
getSchemaGroup: {
|
|
463
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/GetSchemaGroup',
|
|
464
|
-
requestStream: false,
|
|
465
|
-
responseStream: false,
|
|
466
|
-
requestType: kurrentdb_protocols_v2_registry_groups_pb.GetSchemaGroupRequest,
|
|
467
|
-
responseType: kurrentdb_protocols_v2_registry_groups_pb.GetSchemaGroupResponse,
|
|
468
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_GetSchemaGroupRequest,
|
|
469
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_GetSchemaGroupRequest,
|
|
470
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_GetSchemaGroupResponse,
|
|
471
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_GetSchemaGroupResponse,
|
|
472
|
-
},
|
|
473
|
-
listSchemaGroups: {
|
|
474
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/ListSchemaGroups',
|
|
475
|
-
requestStream: false,
|
|
476
|
-
responseStream: false,
|
|
477
|
-
requestType: kurrentdb_protocols_v2_registry_groups_pb.ListSchemaGroupsRequest,
|
|
478
|
-
responseType: kurrentdb_protocols_v2_registry_groups_pb.ListSchemaGroupsResponse,
|
|
479
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_ListSchemaGroupsRequest,
|
|
480
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_ListSchemaGroupsRequest,
|
|
481
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_ListSchemaGroupsResponse,
|
|
482
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_ListSchemaGroupsResponse,
|
|
483
|
-
},
|
|
484
|
-
// ===================================================================
|
|
485
|
-
// Schema Management
|
|
486
|
-
// ===================================================================
|
|
487
|
-
//
|
|
488
|
-
createSchema: {
|
|
489
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/CreateSchema',
|
|
490
|
-
requestStream: false,
|
|
491
|
-
responseStream: false,
|
|
492
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.CreateSchemaRequest,
|
|
493
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.CreateSchemaResponse,
|
|
494
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_CreateSchemaRequest,
|
|
495
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_CreateSchemaRequest,
|
|
496
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_CreateSchemaResponse,
|
|
497
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_CreateSchemaResponse,
|
|
498
|
-
},
|
|
499
|
-
// produce
|
|
500
|
-
updateSchema: {
|
|
501
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/UpdateSchema',
|
|
502
|
-
requestStream: false,
|
|
503
|
-
responseStream: false,
|
|
504
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.UpdateSchemaRequest,
|
|
505
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.UpdateSchemaResponse,
|
|
506
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_UpdateSchemaRequest,
|
|
507
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_UpdateSchemaRequest,
|
|
508
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_UpdateSchemaResponse,
|
|
509
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_UpdateSchemaResponse,
|
|
510
|
-
},
|
|
511
|
-
deleteSchema: {
|
|
512
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/DeleteSchema',
|
|
513
|
-
requestStream: false,
|
|
514
|
-
responseStream: false,
|
|
515
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaRequest,
|
|
516
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaResponse,
|
|
517
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_DeleteSchemaRequest,
|
|
518
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaRequest,
|
|
519
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_DeleteSchemaResponse,
|
|
520
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaResponse,
|
|
521
|
-
},
|
|
522
|
-
getSchema: {
|
|
523
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/GetSchema',
|
|
524
|
-
requestStream: false,
|
|
525
|
-
responseStream: false,
|
|
526
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaRequest,
|
|
527
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaResponse,
|
|
528
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_GetSchemaRequest,
|
|
529
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_GetSchemaRequest,
|
|
530
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_GetSchemaResponse,
|
|
531
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_GetSchemaResponse,
|
|
532
|
-
},
|
|
533
|
-
listSchemas: {
|
|
534
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/ListSchemas',
|
|
535
|
-
requestStream: false,
|
|
536
|
-
responseStream: false,
|
|
537
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.ListSchemasRequest,
|
|
538
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.ListSchemasResponse,
|
|
539
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_ListSchemasRequest,
|
|
540
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_ListSchemasRequest,
|
|
541
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_ListSchemasResponse,
|
|
542
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_ListSchemasResponse,
|
|
543
|
-
},
|
|
544
|
-
lookupSchemaName: {
|
|
545
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/LookupSchemaName',
|
|
546
|
-
requestStream: false,
|
|
547
|
-
responseStream: false,
|
|
548
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.LookupSchemaNameRequest,
|
|
549
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.LookupSchemaNameResponse,
|
|
550
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_LookupSchemaNameRequest,
|
|
551
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_LookupSchemaNameRequest,
|
|
552
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_LookupSchemaNameResponse,
|
|
553
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_LookupSchemaNameResponse,
|
|
554
|
-
},
|
|
555
|
-
registerSchemaVersion: {
|
|
556
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/RegisterSchemaVersion',
|
|
557
|
-
requestStream: false,
|
|
558
|
-
responseStream: false,
|
|
559
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.RegisterSchemaVersionRequest,
|
|
560
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.RegisterSchemaVersionResponse,
|
|
561
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_RegisterSchemaVersionRequest,
|
|
562
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_RegisterSchemaVersionRequest,
|
|
563
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_RegisterSchemaVersionResponse,
|
|
564
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_RegisterSchemaVersionResponse,
|
|
565
|
-
},
|
|
566
|
-
deleteSchemaVersions: {
|
|
567
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/DeleteSchemaVersions',
|
|
568
|
-
requestStream: false,
|
|
569
|
-
responseStream: false,
|
|
570
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaVersionsRequest,
|
|
571
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.DeleteSchemaVersionsResponse,
|
|
572
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_DeleteSchemaVersionsRequest,
|
|
573
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaVersionsRequest,
|
|
574
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_DeleteSchemaVersionsResponse,
|
|
575
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_DeleteSchemaVersionsResponse,
|
|
576
|
-
},
|
|
577
|
-
getSchemaVersion: {
|
|
578
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/GetSchemaVersion',
|
|
579
|
-
requestStream: false,
|
|
580
|
-
responseStream: false,
|
|
581
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionRequest,
|
|
582
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionResponse,
|
|
583
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_GetSchemaVersionRequest,
|
|
584
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_GetSchemaVersionRequest,
|
|
585
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_GetSchemaVersionResponse,
|
|
586
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_GetSchemaVersionResponse,
|
|
587
|
-
},
|
|
588
|
-
// produce
|
|
589
|
-
getSchemaVersionById: {
|
|
590
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/GetSchemaVersionById',
|
|
591
|
-
requestStream: false,
|
|
592
|
-
responseStream: false,
|
|
593
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionByIdRequest,
|
|
594
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.GetSchemaVersionByIdResponse,
|
|
595
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_GetSchemaVersionByIdRequest,
|
|
596
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_GetSchemaVersionByIdRequest,
|
|
597
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_GetSchemaVersionByIdResponse,
|
|
598
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_GetSchemaVersionByIdResponse,
|
|
599
|
-
},
|
|
600
|
-
listSchemaVersions: {
|
|
601
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/ListSchemaVersions',
|
|
602
|
-
requestStream: false,
|
|
603
|
-
responseStream: false,
|
|
604
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.ListSchemaVersionsRequest,
|
|
605
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.ListSchemaVersionsResponse,
|
|
606
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_ListSchemaVersionsRequest,
|
|
607
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_ListSchemaVersionsRequest,
|
|
608
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_ListSchemaVersionsResponse,
|
|
609
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_ListSchemaVersionsResponse,
|
|
610
|
-
},
|
|
611
|
-
listRegisteredSchemas: {
|
|
612
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/ListRegisteredSchemas',
|
|
613
|
-
requestStream: false,
|
|
614
|
-
responseStream: false,
|
|
615
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.ListRegisteredSchemasRequest,
|
|
616
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.ListRegisteredSchemasResponse,
|
|
617
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_ListRegisteredSchemasRequest,
|
|
618
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_ListRegisteredSchemasRequest,
|
|
619
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_ListRegisteredSchemasResponse,
|
|
620
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_ListRegisteredSchemasResponse,
|
|
621
|
-
},
|
|
622
|
-
bulkRegisterSchemas: {
|
|
623
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/BulkRegisterSchemas',
|
|
624
|
-
requestStream: false,
|
|
625
|
-
responseStream: false,
|
|
626
|
-
requestType: kurrentdb_protocols_v2_registry_schemas_pb.BulkRegisterSchemasRequest,
|
|
627
|
-
responseType: kurrentdb_protocols_v2_registry_schemas_pb.BulkRegisterSchemasResponse,
|
|
628
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_BulkRegisterSchemasRequest,
|
|
629
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_BulkRegisterSchemasRequest,
|
|
630
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_BulkRegisterSchemasResponse,
|
|
631
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_BulkRegisterSchemasResponse,
|
|
632
|
-
},
|
|
633
|
-
// ===================================================================
|
|
634
|
-
// Schema Compatibility & Validation
|
|
635
|
-
// ===================================================================
|
|
636
|
-
//
|
|
637
|
-
checkSchemaCompatibility: {
|
|
638
|
-
path: '/kurrentdb.protocol.registry.v2.SchemaRegistryService/CheckSchemaCompatibility',
|
|
639
|
-
requestStream: false,
|
|
640
|
-
responseStream: false,
|
|
641
|
-
requestType: kurrentdb_protocols_v2_registry_validation_pb.CheckSchemaCompatibilityRequest,
|
|
642
|
-
responseType: kurrentdb_protocols_v2_registry_validation_pb.CheckSchemaCompatibilityResponse,
|
|
643
|
-
requestSerialize: serialize_kurrentdb_protocol_registry_v2_CheckSchemaCompatibilityRequest,
|
|
644
|
-
requestDeserialize: deserialize_kurrentdb_protocol_registry_v2_CheckSchemaCompatibilityRequest,
|
|
645
|
-
responseSerialize: serialize_kurrentdb_protocol_registry_v2_CheckSchemaCompatibilityResponse,
|
|
646
|
-
responseDeserialize: deserialize_kurrentdb_protocol_registry_v2_CheckSchemaCompatibilityResponse,
|
|
647
|
-
},
|
|
648
|
-
// consume
|
|
649
|
-
};
|
|
650
|
-
|
|
651
|
-
exports.SchemaRegistryServiceClient = grpc.makeGenericClientConstructor(SchemaRegistryServiceService, 'SchemaRegistryService');
|
|
652
|
-
// ===================================================================
|
|
653
|
-
// Schema Group Management
|
|
654
|
-
// ===================================================================
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// package: kurrentdb.protocol.registry.v2
|
|
2
|
-
// file: kurrentdb/protocols/v2/registry/service.proto
|
|
3
|
-
|
|
4
|
-
/* tslint:disable */
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
|
|
7
|
-
import * as jspb from "google-protobuf";
|
|
8
|
-
import * as kurrentdb_protocols_v2_registry_groups_pb from "../../../../kurrentdb/protocols/v2/registry/groups_pb";
|
|
9
|
-
import * as kurrentdb_protocols_v2_registry_schemas_pb from "../../../../kurrentdb/protocols/v2/registry/schemas_pb";
|
|
10
|
-
import * as kurrentdb_protocols_v2_registry_validation_pb from "../../../../kurrentdb/protocols/v2/registry/validation_pb";
|