@wundergraph/cosmo-connect 0.75.2 → 0.77.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/node/v1/node-NodeService_connectquery.d.ts +1 -15
- package/dist/node/v1/node-NodeService_connectquery.js +1 -15
- package/dist/node/v1/node-NodeService_connectquery.js.map +1 -1
- package/dist/node/v1/node_connect.d.ts +1 -11
- package/dist/node/v1/node_connect.js +1 -11
- package/dist/node/v1/node_connect.js.map +1 -1
- package/dist/node/v1/node_pb.d.ts +50 -52
- package/dist/node/v1/node_pb.js +77 -80
- package/dist/node/v1/node_pb.js.map +1 -1
- package/dist/notifications/events_pb.d.ts +5 -1
- package/dist/notifications/events_pb.js +5 -0
- package/dist/notifications/events_pb.js.map +1 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.d.ts +152 -18
- package/dist/platform/v1/platform-PlatformService_connectquery.js +152 -18
- package/dist/platform/v1/platform-PlatformService_connectquery.js.map +1 -1
- package/dist/platform/v1/platform_connect.d.ts +112 -14
- package/dist/platform/v1/platform_connect.js +112 -14
- package/dist/platform/v1/platform_connect.js.map +1 -1
- package/dist/platform/v1/platform_pb.d.ts +692 -27
- package/dist/platform/v1/platform_pb.js +1066 -44
- package/dist/platform/v1/platform_pb.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import {
|
|
3
|
-
/**
|
|
4
|
-
* @generated from rpc wg.cosmo.node.v1.NodeService.GetLatestValidRouterConfig
|
|
5
|
-
* @deprecated
|
|
6
|
-
*/
|
|
7
|
-
export declare const getLatestValidRouterConfig: {
|
|
8
|
-
readonly localName: "getLatestValidRouterConfig";
|
|
9
|
-
readonly name: "GetLatestValidRouterConfig";
|
|
10
|
-
readonly kind: MethodKind.Unary;
|
|
11
|
-
readonly I: typeof GetConfigRequest;
|
|
12
|
-
readonly O: typeof GetConfigResponse;
|
|
13
|
-
readonly service: {
|
|
14
|
-
readonly typeName: "wg.cosmo.node.v1.NodeService";
|
|
15
|
-
};
|
|
16
|
-
};
|
|
2
|
+
import { SelfRegisterRequest, SelfRegisterResponse } from "./node_pb.js";
|
|
17
3
|
/**
|
|
18
4
|
* @generated from rpc wg.cosmo.node.v1.NodeService.SelfRegister
|
|
19
5
|
*/
|
|
@@ -3,21 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import {
|
|
7
|
-
/**
|
|
8
|
-
* @generated from rpc wg.cosmo.node.v1.NodeService.GetLatestValidRouterConfig
|
|
9
|
-
* @deprecated
|
|
10
|
-
*/
|
|
11
|
-
export const getLatestValidRouterConfig = {
|
|
12
|
-
localName: "getLatestValidRouterConfig",
|
|
13
|
-
name: "GetLatestValidRouterConfig",
|
|
14
|
-
kind: MethodKind.Unary,
|
|
15
|
-
I: GetConfigRequest,
|
|
16
|
-
O: GetConfigResponse,
|
|
17
|
-
service: {
|
|
18
|
-
typeName: "wg.cosmo.node.v1.NodeService"
|
|
19
|
-
}
|
|
20
|
-
};
|
|
6
|
+
import { SelfRegisterRequest, SelfRegisterResponse } from "./node_pb.js";
|
|
21
7
|
/**
|
|
22
8
|
* @generated from rpc wg.cosmo.node.v1.NodeService.SelfRegister
|
|
23
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-NodeService_connectquery.js","sourceRoot":"","sources":["../../../src/wg/cosmo/node/v1/node-NodeService_connectquery.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,6FAA6F;AAC7F,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"node-NodeService_connectquery.js","sourceRoot":"","sources":["../../../src/wg/cosmo/node/v1/node-NodeService_connectquery.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,6FAA6F;AAC7F,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEzE;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,SAAS,EAAE,cAAc;IACzB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,UAAU,CAAC,KAAK;IACtB,CAAC,EAAE,mBAAmB;IACtB,CAAC,EAAE,oBAAoB;IACvB,OAAO,EAAE;QACP,QAAQ,EAAE,8BAA8B;KACzC;CACO,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SelfRegisterRequest, SelfRegisterResponse } from "./node_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service wg.cosmo.node.v1.NodeService
|
|
@@ -6,16 +6,6 @@ import { MethodKind } from "@bufbuild/protobuf";
|
|
|
6
6
|
export declare const NodeService: {
|
|
7
7
|
readonly typeName: "wg.cosmo.node.v1.NodeService";
|
|
8
8
|
readonly methods: {
|
|
9
|
-
/**
|
|
10
|
-
* @generated from rpc wg.cosmo.node.v1.NodeService.GetLatestValidRouterConfig
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
readonly getLatestValidRouterConfig: {
|
|
14
|
-
readonly name: "GetLatestValidRouterConfig";
|
|
15
|
-
readonly I: typeof GetConfigRequest;
|
|
16
|
-
readonly O: typeof GetConfigResponse;
|
|
17
|
-
readonly kind: MethodKind.Unary;
|
|
18
|
-
};
|
|
19
9
|
/**
|
|
20
10
|
* @generated from rpc wg.cosmo.node.v1.NodeService.SelfRegister
|
|
21
11
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file wg/cosmo/node/v1/node.proto (package wg.cosmo.node.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import {
|
|
5
|
+
import { SelfRegisterRequest, SelfRegisterResponse } from "./node_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service wg.cosmo.node.v1.NodeService
|
|
@@ -10,16 +10,6 @@ import { MethodKind } from "@bufbuild/protobuf";
|
|
|
10
10
|
export const NodeService = {
|
|
11
11
|
typeName: "wg.cosmo.node.v1.NodeService",
|
|
12
12
|
methods: {
|
|
13
|
-
/**
|
|
14
|
-
* @generated from rpc wg.cosmo.node.v1.NodeService.GetLatestValidRouterConfig
|
|
15
|
-
* @deprecated
|
|
16
|
-
*/
|
|
17
|
-
getLatestValidRouterConfig: {
|
|
18
|
-
name: "GetLatestValidRouterConfig",
|
|
19
|
-
I: GetConfigRequest,
|
|
20
|
-
O: GetConfigResponse,
|
|
21
|
-
kind: MethodKind.Unary,
|
|
22
|
-
},
|
|
23
13
|
/**
|
|
24
14
|
* @generated from rpc wg.cosmo.node.v1.NodeService.SelfRegister
|
|
25
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node_connect.js","sourceRoot":"","sources":["../../../src/wg/cosmo/node/v1/node_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,6FAA6F;AAC7F,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"node_connect.js","sourceRoot":"","sources":["../../../src/wg/cosmo/node/v1/node_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,6FAA6F;AAC7F,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE,8BAA8B;IACxC,OAAO,EAAE;QACP;;WAEG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,mBAAmB;YACtB,CAAC,EAAE,oBAAoB;YACvB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -132,6 +132,50 @@ export declare class Subgraph extends Message<Subgraph> {
|
|
|
132
132
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Subgraph;
|
|
133
133
|
static equals(a: Subgraph | PlainMessage<Subgraph> | undefined, b: Subgraph | PlainMessage<Subgraph> | undefined): boolean;
|
|
134
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* @generated from message wg.cosmo.node.v1.FeatureFlagRouterExecutionConfigs
|
|
137
|
+
*/
|
|
138
|
+
export declare class FeatureFlagRouterExecutionConfigs extends Message<FeatureFlagRouterExecutionConfigs> {
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: map<string, wg.cosmo.node.v1.FeatureFlagRouterExecutionConfig> config_by_feature_flag_name = 1;
|
|
141
|
+
*/
|
|
142
|
+
configByFeatureFlagName: {
|
|
143
|
+
[key: string]: FeatureFlagRouterExecutionConfig;
|
|
144
|
+
};
|
|
145
|
+
constructor(data?: PartialMessage<FeatureFlagRouterExecutionConfigs>);
|
|
146
|
+
static readonly runtime: typeof proto3;
|
|
147
|
+
static readonly typeName = "wg.cosmo.node.v1.FeatureFlagRouterExecutionConfigs";
|
|
148
|
+
static readonly fields: FieldList;
|
|
149
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureFlagRouterExecutionConfigs;
|
|
150
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureFlagRouterExecutionConfigs;
|
|
151
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureFlagRouterExecutionConfigs;
|
|
152
|
+
static equals(a: FeatureFlagRouterExecutionConfigs | PlainMessage<FeatureFlagRouterExecutionConfigs> | undefined, b: FeatureFlagRouterExecutionConfigs | PlainMessage<FeatureFlagRouterExecutionConfigs> | undefined): boolean;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @generated from message wg.cosmo.node.v1.FeatureFlagRouterExecutionConfig
|
|
156
|
+
*/
|
|
157
|
+
export declare class FeatureFlagRouterExecutionConfig extends Message<FeatureFlagRouterExecutionConfig> {
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: wg.cosmo.node.v1.EngineConfiguration engine_config = 1;
|
|
160
|
+
*/
|
|
161
|
+
engineConfig?: EngineConfiguration;
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: string version = 2;
|
|
164
|
+
*/
|
|
165
|
+
version: string;
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: repeated wg.cosmo.node.v1.Subgraph subgraphs = 3;
|
|
168
|
+
*/
|
|
169
|
+
subgraphs: Subgraph[];
|
|
170
|
+
constructor(data?: PartialMessage<FeatureFlagRouterExecutionConfig>);
|
|
171
|
+
static readonly runtime: typeof proto3;
|
|
172
|
+
static readonly typeName = "wg.cosmo.node.v1.FeatureFlagRouterExecutionConfig";
|
|
173
|
+
static readonly fields: FieldList;
|
|
174
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureFlagRouterExecutionConfig;
|
|
175
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureFlagRouterExecutionConfig;
|
|
176
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureFlagRouterExecutionConfig;
|
|
177
|
+
static equals(a: FeatureFlagRouterExecutionConfig | PlainMessage<FeatureFlagRouterExecutionConfig> | undefined, b: FeatureFlagRouterExecutionConfig | PlainMessage<FeatureFlagRouterExecutionConfig> | undefined): boolean;
|
|
178
|
+
}
|
|
135
179
|
/**
|
|
136
180
|
* @generated from message wg.cosmo.node.v1.RouterConfig
|
|
137
181
|
*/
|
|
@@ -148,6 +192,12 @@ export declare class RouterConfig extends Message<RouterConfig> {
|
|
|
148
192
|
* @generated from field: repeated wg.cosmo.node.v1.Subgraph subgraphs = 3;
|
|
149
193
|
*/
|
|
150
194
|
subgraphs: Subgraph[];
|
|
195
|
+
/**
|
|
196
|
+
* The map of feature flag router execution configs requires a wrapper to be non-breaking
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: optional wg.cosmo.node.v1.FeatureFlagRouterExecutionConfigs feature_flag_configs = 4;
|
|
199
|
+
*/
|
|
200
|
+
featureFlagConfigs?: FeatureFlagRouterExecutionConfigs;
|
|
151
201
|
constructor(data?: PartialMessage<RouterConfig>);
|
|
152
202
|
static readonly runtime: typeof proto3;
|
|
153
203
|
static readonly typeName = "wg.cosmo.node.v1.RouterConfig";
|
|
@@ -201,58 +251,6 @@ export declare class ResponseStatus extends Message<ResponseStatus> {
|
|
|
201
251
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResponseStatus;
|
|
202
252
|
static equals(a: ResponseStatus | PlainMessage<ResponseStatus> | undefined, b: ResponseStatus | PlainMessage<ResponseStatus> | undefined): boolean;
|
|
203
253
|
}
|
|
204
|
-
/**
|
|
205
|
-
* @generated from message wg.cosmo.node.v1.GetConfigRequest
|
|
206
|
-
*/
|
|
207
|
-
export declare class GetConfigRequest extends Message<GetConfigRequest> {
|
|
208
|
-
/**
|
|
209
|
-
* With the introduction of namespaces, we no longer need the graph name. We keep it for backwards compatibility.
|
|
210
|
-
* The FQDN of the graph to get the config for e.g. "wg.production"
|
|
211
|
-
*
|
|
212
|
-
* @generated from field: string graph_name = 1 [deprecated = true];
|
|
213
|
-
* @deprecated
|
|
214
|
-
*/
|
|
215
|
-
graphName: string;
|
|
216
|
-
/**
|
|
217
|
-
* The version to check for. If the version is not specified, the latest router config version will be returned.
|
|
218
|
-
* Otherwise, the version will be used to check if a newer version of the router config is available.
|
|
219
|
-
* That allow us to not send the router config if the version is the same.
|
|
220
|
-
*
|
|
221
|
-
* @generated from field: optional string version = 2;
|
|
222
|
-
*/
|
|
223
|
-
version?: string;
|
|
224
|
-
constructor(data?: PartialMessage<GetConfigRequest>);
|
|
225
|
-
static readonly runtime: typeof proto3;
|
|
226
|
-
static readonly typeName = "wg.cosmo.node.v1.GetConfigRequest";
|
|
227
|
-
static readonly fields: FieldList;
|
|
228
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConfigRequest;
|
|
229
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConfigRequest;
|
|
230
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConfigRequest;
|
|
231
|
-
static equals(a: GetConfigRequest | PlainMessage<GetConfigRequest> | undefined, b: GetConfigRequest | PlainMessage<GetConfigRequest> | undefined): boolean;
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* @generated from message wg.cosmo.node.v1.GetConfigResponse
|
|
235
|
-
*/
|
|
236
|
-
export declare class GetConfigResponse extends Message<GetConfigResponse> {
|
|
237
|
-
/**
|
|
238
|
-
* @generated from field: wg.cosmo.node.v1.Response response = 1;
|
|
239
|
-
*/
|
|
240
|
-
response?: Response;
|
|
241
|
-
/**
|
|
242
|
-
* RouterConfig is the router config for the graph. It can be nil when a version is specified and the version is the same as the latest version.
|
|
243
|
-
*
|
|
244
|
-
* @generated from field: optional wg.cosmo.node.v1.RouterConfig config = 2;
|
|
245
|
-
*/
|
|
246
|
-
config?: RouterConfig;
|
|
247
|
-
constructor(data?: PartialMessage<GetConfigResponse>);
|
|
248
|
-
static readonly runtime: typeof proto3;
|
|
249
|
-
static readonly typeName = "wg.cosmo.node.v1.GetConfigResponse";
|
|
250
|
-
static readonly fields: FieldList;
|
|
251
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConfigResponse;
|
|
252
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConfigResponse;
|
|
253
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConfigResponse;
|
|
254
|
-
static equals(a: GetConfigResponse | PlainMessage<GetConfigResponse> | undefined, b: GetConfigResponse | PlainMessage<GetConfigResponse> | undefined): boolean;
|
|
255
|
-
}
|
|
256
254
|
/**
|
|
257
255
|
* @generated from message wg.cosmo.node.v1.RegistrationInfo
|
|
258
256
|
*/
|
package/dist/node/v1/node_pb.js
CHANGED
|
@@ -193,6 +193,76 @@ export class Subgraph extends Message {
|
|
|
193
193
|
return proto3.util.equals(Subgraph, a, b);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* @generated from message wg.cosmo.node.v1.FeatureFlagRouterExecutionConfigs
|
|
198
|
+
*/
|
|
199
|
+
export class FeatureFlagRouterExecutionConfigs extends Message {
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: map<string, wg.cosmo.node.v1.FeatureFlagRouterExecutionConfig> config_by_feature_flag_name = 1;
|
|
202
|
+
*/
|
|
203
|
+
configByFeatureFlagName = {};
|
|
204
|
+
constructor(data) {
|
|
205
|
+
super();
|
|
206
|
+
proto3.util.initPartial(data, this);
|
|
207
|
+
}
|
|
208
|
+
static runtime = proto3;
|
|
209
|
+
static typeName = "wg.cosmo.node.v1.FeatureFlagRouterExecutionConfigs";
|
|
210
|
+
static fields = proto3.util.newFieldList(() => [
|
|
211
|
+
{ no: 1, name: "config_by_feature_flag_name", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: FeatureFlagRouterExecutionConfig } },
|
|
212
|
+
]);
|
|
213
|
+
static fromBinary(bytes, options) {
|
|
214
|
+
return new FeatureFlagRouterExecutionConfigs().fromBinary(bytes, options);
|
|
215
|
+
}
|
|
216
|
+
static fromJson(jsonValue, options) {
|
|
217
|
+
return new FeatureFlagRouterExecutionConfigs().fromJson(jsonValue, options);
|
|
218
|
+
}
|
|
219
|
+
static fromJsonString(jsonString, options) {
|
|
220
|
+
return new FeatureFlagRouterExecutionConfigs().fromJsonString(jsonString, options);
|
|
221
|
+
}
|
|
222
|
+
static equals(a, b) {
|
|
223
|
+
return proto3.util.equals(FeatureFlagRouterExecutionConfigs, a, b);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* @generated from message wg.cosmo.node.v1.FeatureFlagRouterExecutionConfig
|
|
228
|
+
*/
|
|
229
|
+
export class FeatureFlagRouterExecutionConfig extends Message {
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: wg.cosmo.node.v1.EngineConfiguration engine_config = 1;
|
|
232
|
+
*/
|
|
233
|
+
engineConfig;
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: string version = 2;
|
|
236
|
+
*/
|
|
237
|
+
version = "";
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: repeated wg.cosmo.node.v1.Subgraph subgraphs = 3;
|
|
240
|
+
*/
|
|
241
|
+
subgraphs = [];
|
|
242
|
+
constructor(data) {
|
|
243
|
+
super();
|
|
244
|
+
proto3.util.initPartial(data, this);
|
|
245
|
+
}
|
|
246
|
+
static runtime = proto3;
|
|
247
|
+
static typeName = "wg.cosmo.node.v1.FeatureFlagRouterExecutionConfig";
|
|
248
|
+
static fields = proto3.util.newFieldList(() => [
|
|
249
|
+
{ no: 1, name: "engine_config", kind: "message", T: EngineConfiguration },
|
|
250
|
+
{ no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
251
|
+
{ no: 3, name: "subgraphs", kind: "message", T: Subgraph, repeated: true },
|
|
252
|
+
]);
|
|
253
|
+
static fromBinary(bytes, options) {
|
|
254
|
+
return new FeatureFlagRouterExecutionConfig().fromBinary(bytes, options);
|
|
255
|
+
}
|
|
256
|
+
static fromJson(jsonValue, options) {
|
|
257
|
+
return new FeatureFlagRouterExecutionConfig().fromJson(jsonValue, options);
|
|
258
|
+
}
|
|
259
|
+
static fromJsonString(jsonString, options) {
|
|
260
|
+
return new FeatureFlagRouterExecutionConfig().fromJsonString(jsonString, options);
|
|
261
|
+
}
|
|
262
|
+
static equals(a, b) {
|
|
263
|
+
return proto3.util.equals(FeatureFlagRouterExecutionConfig, a, b);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
196
266
|
/**
|
|
197
267
|
* @generated from message wg.cosmo.node.v1.RouterConfig
|
|
198
268
|
*/
|
|
@@ -209,6 +279,12 @@ export class RouterConfig extends Message {
|
|
|
209
279
|
* @generated from field: repeated wg.cosmo.node.v1.Subgraph subgraphs = 3;
|
|
210
280
|
*/
|
|
211
281
|
subgraphs = [];
|
|
282
|
+
/**
|
|
283
|
+
* The map of feature flag router execution configs requires a wrapper to be non-breaking
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: optional wg.cosmo.node.v1.FeatureFlagRouterExecutionConfigs feature_flag_configs = 4;
|
|
286
|
+
*/
|
|
287
|
+
featureFlagConfigs;
|
|
212
288
|
constructor(data) {
|
|
213
289
|
super();
|
|
214
290
|
proto3.util.initPartial(data, this);
|
|
@@ -219,6 +295,7 @@ export class RouterConfig extends Message {
|
|
|
219
295
|
{ no: 1, name: "engine_config", kind: "message", T: EngineConfiguration },
|
|
220
296
|
{ no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
221
297
|
{ no: 3, name: "subgraphs", kind: "message", T: Subgraph, repeated: true },
|
|
298
|
+
{ no: 4, name: "feature_flag_configs", kind: "message", T: FeatureFlagRouterExecutionConfigs, opt: true },
|
|
222
299
|
]);
|
|
223
300
|
static fromBinary(bytes, options) {
|
|
224
301
|
return new RouterConfig().fromBinary(bytes, options);
|
|
@@ -305,86 +382,6 @@ export class ResponseStatus extends Message {
|
|
|
305
382
|
return proto3.util.equals(ResponseStatus, a, b);
|
|
306
383
|
}
|
|
307
384
|
}
|
|
308
|
-
/**
|
|
309
|
-
* @generated from message wg.cosmo.node.v1.GetConfigRequest
|
|
310
|
-
*/
|
|
311
|
-
export class GetConfigRequest extends Message {
|
|
312
|
-
/**
|
|
313
|
-
* With the introduction of namespaces, we no longer need the graph name. We keep it for backwards compatibility.
|
|
314
|
-
* The FQDN of the graph to get the config for e.g. "wg.production"
|
|
315
|
-
*
|
|
316
|
-
* @generated from field: string graph_name = 1 [deprecated = true];
|
|
317
|
-
* @deprecated
|
|
318
|
-
*/
|
|
319
|
-
graphName = "";
|
|
320
|
-
/**
|
|
321
|
-
* The version to check for. If the version is not specified, the latest router config version will be returned.
|
|
322
|
-
* Otherwise, the version will be used to check if a newer version of the router config is available.
|
|
323
|
-
* That allow us to not send the router config if the version is the same.
|
|
324
|
-
*
|
|
325
|
-
* @generated from field: optional string version = 2;
|
|
326
|
-
*/
|
|
327
|
-
version;
|
|
328
|
-
constructor(data) {
|
|
329
|
-
super();
|
|
330
|
-
proto3.util.initPartial(data, this);
|
|
331
|
-
}
|
|
332
|
-
static runtime = proto3;
|
|
333
|
-
static typeName = "wg.cosmo.node.v1.GetConfigRequest";
|
|
334
|
-
static fields = proto3.util.newFieldList(() => [
|
|
335
|
-
{ no: 1, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
336
|
-
{ no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
337
|
-
]);
|
|
338
|
-
static fromBinary(bytes, options) {
|
|
339
|
-
return new GetConfigRequest().fromBinary(bytes, options);
|
|
340
|
-
}
|
|
341
|
-
static fromJson(jsonValue, options) {
|
|
342
|
-
return new GetConfigRequest().fromJson(jsonValue, options);
|
|
343
|
-
}
|
|
344
|
-
static fromJsonString(jsonString, options) {
|
|
345
|
-
return new GetConfigRequest().fromJsonString(jsonString, options);
|
|
346
|
-
}
|
|
347
|
-
static equals(a, b) {
|
|
348
|
-
return proto3.util.equals(GetConfigRequest, a, b);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
/**
|
|
352
|
-
* @generated from message wg.cosmo.node.v1.GetConfigResponse
|
|
353
|
-
*/
|
|
354
|
-
export class GetConfigResponse extends Message {
|
|
355
|
-
/**
|
|
356
|
-
* @generated from field: wg.cosmo.node.v1.Response response = 1;
|
|
357
|
-
*/
|
|
358
|
-
response;
|
|
359
|
-
/**
|
|
360
|
-
* RouterConfig is the router config for the graph. It can be nil when a version is specified and the version is the same as the latest version.
|
|
361
|
-
*
|
|
362
|
-
* @generated from field: optional wg.cosmo.node.v1.RouterConfig config = 2;
|
|
363
|
-
*/
|
|
364
|
-
config;
|
|
365
|
-
constructor(data) {
|
|
366
|
-
super();
|
|
367
|
-
proto3.util.initPartial(data, this);
|
|
368
|
-
}
|
|
369
|
-
static runtime = proto3;
|
|
370
|
-
static typeName = "wg.cosmo.node.v1.GetConfigResponse";
|
|
371
|
-
static fields = proto3.util.newFieldList(() => [
|
|
372
|
-
{ no: 1, name: "response", kind: "message", T: Response },
|
|
373
|
-
{ no: 2, name: "config", kind: "message", T: RouterConfig, opt: true },
|
|
374
|
-
]);
|
|
375
|
-
static fromBinary(bytes, options) {
|
|
376
|
-
return new GetConfigResponse().fromBinary(bytes, options);
|
|
377
|
-
}
|
|
378
|
-
static fromJson(jsonValue, options) {
|
|
379
|
-
return new GetConfigResponse().fromJson(jsonValue, options);
|
|
380
|
-
}
|
|
381
|
-
static fromJsonString(jsonString, options) {
|
|
382
|
-
return new GetConfigResponse().fromJsonString(jsonString, options);
|
|
383
|
-
}
|
|
384
|
-
static equals(a, b) {
|
|
385
|
-
return proto3.util.equals(GetConfigResponse, a, b);
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
385
|
/**
|
|
389
386
|
* @generated from message wg.cosmo.node.v1.RegistrationInfo
|
|
390
387
|
*/
|