@wundergraph/cosmo-connect 0.75.2 → 0.76.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.
@@ -968,6 +968,14 @@ export class CreateFederatedSubgraphRequest extends Message {
968
968
  * @generated from field: optional bool is_event_driven_graph = 10;
969
969
  */
970
970
  isEventDrivenGraph;
971
+ /**
972
+ * @generated from field: optional bool is_feature_subgraph = 11;
973
+ */
974
+ isFeatureSubgraph;
975
+ /**
976
+ * @generated from field: optional string base_subgraph_name = 12;
977
+ */
978
+ baseSubgraphName;
971
979
  constructor(data) {
972
980
  super();
973
981
  proto3.util.initPartial(data, this);
@@ -984,6 +992,8 @@ export class CreateFederatedSubgraphRequest extends Message {
984
992
  { no: 8, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
985
993
  { no: 9, name: "websocket_subprotocol", kind: "enum", T: proto3.getEnumType(GraphQLWebsocketSubprotocol), opt: true },
986
994
  { no: 10, name: "is_event_driven_graph", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
995
+ { no: 11, name: "is_feature_subgraph", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
996
+ { no: 12, name: "base_subgraph_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
987
997
  ]);
988
998
  static fromBinary(bytes, options) {
989
999
  return new CreateFederatedSubgraphRequest().fromBinary(bytes, options);
@@ -1201,6 +1211,10 @@ export class CompositionError extends Message {
1201
1211
  * @generated from field: string namespace = 3;
1202
1212
  */
1203
1213
  namespace = "";
1214
+ /**
1215
+ * @generated from field: string featureFlag = 4;
1216
+ */
1217
+ featureFlag = "";
1204
1218
  constructor(data) {
1205
1219
  super();
1206
1220
  proto3.util.initPartial(data, this);
@@ -1211,6 +1225,7 @@ export class CompositionError extends Message {
1211
1225
  { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1212
1226
  { no: 2, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1213
1227
  { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1228
+ { no: 4, name: "featureFlag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1214
1229
  ]);
1215
1230
  static fromBinary(bytes, options) {
1216
1231
  return new CompositionError().fromBinary(bytes, options);
@@ -2017,6 +2032,10 @@ export class GetSubgraphsRequest extends Message {
2017
2032
  * @generated from field: optional string query = 4;
2018
2033
  */
2019
2034
  query;
2035
+ /**
2036
+ * @generated from field: bool exclude_feature_subgraphs = 5;
2037
+ */
2038
+ excludeFeatureSubgraphs = false;
2020
2039
  constructor(data) {
2021
2040
  super();
2022
2041
  proto3.util.initPartial(data, this);
@@ -2028,6 +2047,7 @@ export class GetSubgraphsRequest extends Message {
2028
2047
  { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2029
2048
  { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2030
2049
  { no: 4, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2050
+ { no: 5, name: "exclude_feature_subgraphs", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2031
2051
  ]);
2032
2052
  static fromBinary(bytes, options) {
2033
2053
  return new GetSubgraphsRequest().fromBinary(bytes, options);
@@ -2102,6 +2122,18 @@ export class Subgraph extends Message {
2102
2122
  * @generated from field: string websocketSubprotocol = 14;
2103
2123
  */
2104
2124
  websocketSubprotocol = "";
2125
+ /**
2126
+ * @generated from field: bool isFeatureSubgraph = 15;
2127
+ */
2128
+ isFeatureSubgraph = false;
2129
+ /**
2130
+ * @generated from field: optional string baseSubgraphName = 16;
2131
+ */
2132
+ baseSubgraphName;
2133
+ /**
2134
+ * @generated from field: optional string baseSubgraphId = 17;
2135
+ */
2136
+ baseSubgraphId;
2105
2137
  constructor(data) {
2106
2138
  super();
2107
2139
  proto3.util.initPartial(data, this);
@@ -2123,6 +2155,9 @@ export class Subgraph extends Message {
2123
2155
  { no: 12, name: "isV2Graph", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
2124
2156
  { no: 13, name: "isEventDrivenGraph", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2125
2157
  { no: 14, name: "websocketSubprotocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2158
+ { no: 15, name: "isFeatureSubgraph", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2159
+ { no: 16, name: "baseSubgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2160
+ { no: 17, name: "baseSubgraphId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2126
2161
  ]);
2127
2162
  static fromBinary(bytes, options) {
2128
2163
  return new Subgraph().fromBinary(bytes, options);
@@ -2237,6 +2272,17 @@ export class GetFederatedGraphByNameResponse extends Message {
2237
2272
  * @generated from field: string graphRequestToken = 4;
2238
2273
  */
2239
2274
  graphRequestToken = "";
2275
+ /**
2276
+ * @generated from field: repeated wg.cosmo.platform.v1.FeatureFlag featureFlagsInLatestValidComposition = 5;
2277
+ */
2278
+ featureFlagsInLatestValidComposition = [];
2279
+ /**
2280
+ * includes all the feature subgraphs that are part of the federated graph,
2281
+ * even the ones that are not part of the latest composition
2282
+ *
2283
+ * @generated from field: repeated wg.cosmo.platform.v1.Subgraph featureSubgraphs = 6;
2284
+ */
2285
+ featureSubgraphs = [];
2240
2286
  constructor(data) {
2241
2287
  super();
2242
2288
  proto3.util.initPartial(data, this);
@@ -2248,6 +2294,8 @@ export class GetFederatedGraphByNameResponse extends Message {
2248
2294
  { no: 2, name: "graph", kind: "message", T: FederatedGraph },
2249
2295
  { no: 3, name: "subgraphs", kind: "message", T: Subgraph, repeated: true },
2250
2296
  { no: 4, name: "graphRequestToken", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2297
+ { no: 5, name: "featureFlagsInLatestValidComposition", kind: "message", T: FeatureFlag, repeated: true },
2298
+ { no: 6, name: "featureSubgraphs", kind: "message", T: Subgraph, repeated: true },
2251
2299
  ]);
2252
2300
  static fromBinary(bytes, options) {
2253
2301
  return new GetFederatedGraphByNameResponse().fromBinary(bytes, options);
@@ -2274,6 +2322,10 @@ export class GetFederatedGraphSDLByNameRequest extends Message {
2274
2322
  * @generated from field: string namespace = 2;
2275
2323
  */
2276
2324
  namespace = "";
2325
+ /**
2326
+ * @generated from field: optional string feature_flag_name = 3;
2327
+ */
2328
+ featureFlagName;
2277
2329
  constructor(data) {
2278
2330
  super();
2279
2331
  proto3.util.initPartial(data, this);
@@ -2283,6 +2335,7 @@ export class GetFederatedGraphSDLByNameRequest extends Message {
2283
2335
  static fields = proto3.util.newFieldList(() => [
2284
2336
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2285
2337
  { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2338
+ { no: 3, name: "feature_flag_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2286
2339
  ]);
2287
2340
  static fromBinary(bytes, options) {
2288
2341
  return new GetFederatedGraphSDLByNameRequest().fromBinary(bytes, options);
@@ -9796,6 +9849,10 @@ export class GraphCompositionSubgraph extends Message {
9796
9849
  * @generated from field: string target_id = 4;
9797
9850
  */
9798
9851
  targetId = "";
9852
+ /**
9853
+ * @generated from field: bool isFeatureSubgraph = 5;
9854
+ */
9855
+ isFeatureSubgraph = false;
9799
9856
  constructor(data) {
9800
9857
  super();
9801
9858
  proto3.util.initPartial(data, this);
@@ -9807,6 +9864,7 @@ export class GraphCompositionSubgraph extends Message {
9807
9864
  { no: 2, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9808
9865
  { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9809
9866
  { no: 4, name: "target_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9867
+ { no: 5, name: "isFeatureSubgraph", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
9810
9868
  ]);
9811
9869
  static fromBinary(bytes, options) {
9812
9870
  return new GraphCompositionSubgraph().fromBinary(bytes, options);
@@ -9849,6 +9907,10 @@ export class GetCompositionsRequest extends Message {
9849
9907
  * @generated from field: string namespace = 6;
9850
9908
  */
9851
9909
  namespace = "";
9910
+ /**
9911
+ * @generated from field: bool excludeFeatureFlagCompositions = 7;
9912
+ */
9913
+ excludeFeatureFlagCompositions = false;
9852
9914
  constructor(data) {
9853
9915
  super();
9854
9916
  proto3.util.initPartial(data, this);
@@ -9862,6 +9924,7 @@ export class GetCompositionsRequest extends Message {
9862
9924
  { no: 4, name: "startDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9863
9925
  { no: 5, name: "endDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9864
9926
  { no: 6, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9927
+ { no: 7, name: "excludeFeatureFlagCompositions", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
9865
9928
  ]);
9866
9929
  static fromBinary(bytes, options) {
9867
9930
  return new GetCompositionsRequest().fromBinary(bytes, options);
@@ -9924,6 +9987,10 @@ export class GetCompositionDetailsRequest extends Message {
9924
9987
  * @generated from field: string compositionId = 1;
9925
9988
  */
9926
9989
  compositionId = "";
9990
+ /**
9991
+ * @generated from field: string namespace = 2;
9992
+ */
9993
+ namespace = "";
9927
9994
  constructor(data) {
9928
9995
  super();
9929
9996
  proto3.util.initPartial(data, this);
@@ -9932,6 +9999,7 @@ export class GetCompositionDetailsRequest extends Message {
9932
9999
  static typeName = "wg.cosmo.platform.v1.GetCompositionDetailsRequest";
9933
10000
  static fields = proto3.util.newFieldList(() => [
9934
10001
  { no: 1, name: "compositionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10002
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9935
10003
  ]);
9936
10004
  static fromBinary(bytes, options) {
9937
10005
  return new GetCompositionDetailsRequest().fromBinary(bytes, options);
@@ -9946,6 +10014,81 @@ export class GetCompositionDetailsRequest extends Message {
9946
10014
  return proto3.util.equals(GetCompositionDetailsRequest, a, b);
9947
10015
  }
9948
10016
  }
10017
+ /**
10018
+ * @generated from message wg.cosmo.platform.v1.FeatureFlagComposition
10019
+ */
10020
+ export class FeatureFlagComposition extends Message {
10021
+ /**
10022
+ * @generated from field: string id = 1;
10023
+ */
10024
+ id = "";
10025
+ /**
10026
+ * @generated from field: string schemaVersionId = 2;
10027
+ */
10028
+ schemaVersionId = "";
10029
+ /**
10030
+ * @generated from field: string createdAt = 3;
10031
+ */
10032
+ createdAt = "";
10033
+ /**
10034
+ * @generated from field: bool isComposable = 4;
10035
+ */
10036
+ isComposable = false;
10037
+ /**
10038
+ * @generated from field: optional string compositionErrors = 5;
10039
+ */
10040
+ compositionErrors;
10041
+ /**
10042
+ * @generated from field: optional string createdBy = 6;
10043
+ */
10044
+ createdBy;
10045
+ /**
10046
+ * @generated from field: optional string routerConfigSignature = 7;
10047
+ */
10048
+ routerConfigSignature;
10049
+ /**
10050
+ * @generated from field: optional string admissionError = 8;
10051
+ */
10052
+ admissionError;
10053
+ /**
10054
+ * @generated from field: optional string deploymentError = 9;
10055
+ */
10056
+ deploymentError;
10057
+ /**
10058
+ * @generated from field: string featureFlagName = 10;
10059
+ */
10060
+ featureFlagName = "";
10061
+ constructor(data) {
10062
+ super();
10063
+ proto3.util.initPartial(data, this);
10064
+ }
10065
+ static runtime = proto3;
10066
+ static typeName = "wg.cosmo.platform.v1.FeatureFlagComposition";
10067
+ static fields = proto3.util.newFieldList(() => [
10068
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10069
+ { no: 2, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10070
+ { no: 3, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10071
+ { no: 4, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
10072
+ { no: 5, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10073
+ { no: 6, name: "createdBy", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10074
+ { no: 7, name: "routerConfigSignature", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10075
+ { no: 8, name: "admissionError", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10076
+ { no: 9, name: "deploymentError", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10077
+ { no: 10, name: "featureFlagName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10078
+ ]);
10079
+ static fromBinary(bytes, options) {
10080
+ return new FeatureFlagComposition().fromBinary(bytes, options);
10081
+ }
10082
+ static fromJson(jsonValue, options) {
10083
+ return new FeatureFlagComposition().fromJson(jsonValue, options);
10084
+ }
10085
+ static fromJsonString(jsonString, options) {
10086
+ return new FeatureFlagComposition().fromJsonString(jsonString, options);
10087
+ }
10088
+ static equals(a, b) {
10089
+ return proto3.util.equals(FeatureFlagComposition, a, b);
10090
+ }
10091
+ }
9949
10092
  /**
9950
10093
  * @generated from message wg.cosmo.platform.v1.GetCompositionDetailsResponse
9951
10094
  */
@@ -9966,6 +10109,10 @@ export class GetCompositionDetailsResponse extends Message {
9966
10109
  * @generated from field: wg.cosmo.platform.v1.ChangeCounts changeCounts = 4;
9967
10110
  */
9968
10111
  changeCounts;
10112
+ /**
10113
+ * @generated from field: repeated wg.cosmo.platform.v1.FeatureFlagComposition featureFlagCompositions = 5;
10114
+ */
10115
+ featureFlagCompositions = [];
9969
10116
  constructor(data) {
9970
10117
  super();
9971
10118
  proto3.util.initPartial(data, this);
@@ -9977,6 +10124,7 @@ export class GetCompositionDetailsResponse extends Message {
9977
10124
  { no: 2, name: "composition", kind: "message", T: GraphComposition },
9978
10125
  { no: 3, name: "compositionSubgraphs", kind: "message", T: GraphCompositionSubgraph, repeated: true },
9979
10126
  { no: 4, name: "changeCounts", kind: "message", T: ChangeCounts },
10127
+ { no: 5, name: "featureFlagCompositions", kind: "message", T: FeatureFlagComposition, repeated: true },
9980
10128
  ]);
9981
10129
  static fromBinary(bytes, options) {
9982
10130
  return new GetCompositionDetailsResponse().fromBinary(bytes, options);
@@ -10942,6 +11090,10 @@ export class GetFieldUsageRequest extends Message {
10942
11090
  * @generated from field: string namespace = 7;
10943
11091
  */
10944
11092
  namespace = "";
11093
+ /**
11094
+ * @generated from field: optional string feature_flag_name = 8;
11095
+ */
11096
+ featureFlagName;
10945
11097
  constructor(data) {
10946
11098
  super();
10947
11099
  proto3.util.initPartial(data, this);
@@ -10956,6 +11108,7 @@ export class GetFieldUsageRequest extends Message {
10956
11108
  { no: 5, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
10957
11109
  { no: 6, name: "dateRange", kind: "message", T: DateRange },
10958
11110
  { no: 7, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11111
+ { no: 8, name: "feature_flag_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
10959
11112
  ]);
10960
11113
  static fromBinary(bytes, options) {
10961
11114
  return new GetFieldUsageRequest().fromBinary(bytes, options);
@@ -11840,41 +11993,6 @@ export class SetDiscussionResolutionResponse extends Message {
11840
11993
  return proto3.util.equals(SetDiscussionResolutionResponse, a, b);
11841
11994
  }
11842
11995
  }
11843
- /**
11844
- * @generated from message wg.cosmo.platform.v1.GetConfigRequest
11845
- */
11846
- export class GetConfigRequest extends Message {
11847
- /**
11848
- * @generated from field: string graph_name = 1;
11849
- */
11850
- graphName = "";
11851
- /**
11852
- * @generated from field: string namespace = 2;
11853
- */
11854
- namespace = "";
11855
- constructor(data) {
11856
- super();
11857
- proto3.util.initPartial(data, this);
11858
- }
11859
- static runtime = proto3;
11860
- static typeName = "wg.cosmo.platform.v1.GetConfigRequest";
11861
- static fields = proto3.util.newFieldList(() => [
11862
- { no: 1, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11863
- { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11864
- ]);
11865
- static fromBinary(bytes, options) {
11866
- return new GetConfigRequest().fromBinary(bytes, options);
11867
- }
11868
- static fromJson(jsonValue, options) {
11869
- return new GetConfigRequest().fromJson(jsonValue, options);
11870
- }
11871
- static fromJsonString(jsonString, options) {
11872
- return new GetConfigRequest().fromJsonString(jsonString, options);
11873
- }
11874
- static equals(a, b) {
11875
- return proto3.util.equals(GetConfigRequest, a, b);
11876
- }
11877
- }
11878
11996
  /**
11879
11997
  * @generated from message wg.cosmo.platform.v1.CreateNamespaceRequest
11880
11998
  */
@@ -12877,4 +12995,854 @@ export class IsMemberLimitReachedResponse extends Message {
12877
12995
  return proto3.util.equals(IsMemberLimitReachedResponse, a, b);
12878
12996
  }
12879
12997
  }
12998
+ /**
12999
+ * @generated from message wg.cosmo.platform.v1.CreateFeatureFlagRequest
13000
+ */
13001
+ export class CreateFeatureFlagRequest extends Message {
13002
+ /**
13003
+ * @generated from field: string name = 1;
13004
+ */
13005
+ name = "";
13006
+ /**
13007
+ * @generated from field: string namespace = 2;
13008
+ */
13009
+ namespace = "";
13010
+ /**
13011
+ * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
13012
+ */
13013
+ labels = [];
13014
+ /**
13015
+ * @generated from field: repeated string feature_subgraph_names = 4;
13016
+ */
13017
+ featureSubgraphNames = [];
13018
+ /**
13019
+ * @generated from field: bool is_enabled = 5;
13020
+ */
13021
+ isEnabled = false;
13022
+ constructor(data) {
13023
+ super();
13024
+ proto3.util.initPartial(data, this);
13025
+ }
13026
+ static runtime = proto3;
13027
+ static typeName = "wg.cosmo.platform.v1.CreateFeatureFlagRequest";
13028
+ static fields = proto3.util.newFieldList(() => [
13029
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13030
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13031
+ { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
13032
+ { no: 4, name: "feature_subgraph_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
13033
+ { no: 5, name: "is_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
13034
+ ]);
13035
+ static fromBinary(bytes, options) {
13036
+ return new CreateFeatureFlagRequest().fromBinary(bytes, options);
13037
+ }
13038
+ static fromJson(jsonValue, options) {
13039
+ return new CreateFeatureFlagRequest().fromJson(jsonValue, options);
13040
+ }
13041
+ static fromJsonString(jsonString, options) {
13042
+ return new CreateFeatureFlagRequest().fromJsonString(jsonString, options);
13043
+ }
13044
+ static equals(a, b) {
13045
+ return proto3.util.equals(CreateFeatureFlagRequest, a, b);
13046
+ }
13047
+ }
13048
+ /**
13049
+ * @generated from message wg.cosmo.platform.v1.CreateFeatureFlagResponse
13050
+ */
13051
+ export class CreateFeatureFlagResponse extends Message {
13052
+ /**
13053
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13054
+ */
13055
+ response;
13056
+ /**
13057
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError composition_errors = 2;
13058
+ */
13059
+ compositionErrors = [];
13060
+ /**
13061
+ * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deployment_errors = 3;
13062
+ */
13063
+ deploymentErrors = [];
13064
+ constructor(data) {
13065
+ super();
13066
+ proto3.util.initPartial(data, this);
13067
+ }
13068
+ static runtime = proto3;
13069
+ static typeName = "wg.cosmo.platform.v1.CreateFeatureFlagResponse";
13070
+ static fields = proto3.util.newFieldList(() => [
13071
+ { no: 1, name: "response", kind: "message", T: Response },
13072
+ { no: 2, name: "composition_errors", kind: "message", T: CompositionError, repeated: true },
13073
+ { no: 3, name: "deployment_errors", kind: "message", T: DeploymentError, repeated: true },
13074
+ ]);
13075
+ static fromBinary(bytes, options) {
13076
+ return new CreateFeatureFlagResponse().fromBinary(bytes, options);
13077
+ }
13078
+ static fromJson(jsonValue, options) {
13079
+ return new CreateFeatureFlagResponse().fromJson(jsonValue, options);
13080
+ }
13081
+ static fromJsonString(jsonString, options) {
13082
+ return new CreateFeatureFlagResponse().fromJsonString(jsonString, options);
13083
+ }
13084
+ static equals(a, b) {
13085
+ return proto3.util.equals(CreateFeatureFlagResponse, a, b);
13086
+ }
13087
+ }
13088
+ /**
13089
+ * @generated from message wg.cosmo.platform.v1.UpdateFeatureFlagRequest
13090
+ */
13091
+ export class UpdateFeatureFlagRequest extends Message {
13092
+ /**
13093
+ * @generated from field: string name = 1;
13094
+ */
13095
+ name = "";
13096
+ /**
13097
+ * @generated from field: string namespace = 2;
13098
+ */
13099
+ namespace = "";
13100
+ /**
13101
+ * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
13102
+ */
13103
+ labels = [];
13104
+ /**
13105
+ * @generated from field: repeated string feature_subgraph_names = 4;
13106
+ */
13107
+ featureSubgraphNames = [];
13108
+ /**
13109
+ * @generated from field: bool unset_labels = 5;
13110
+ */
13111
+ unsetLabels = false;
13112
+ constructor(data) {
13113
+ super();
13114
+ proto3.util.initPartial(data, this);
13115
+ }
13116
+ static runtime = proto3;
13117
+ static typeName = "wg.cosmo.platform.v1.UpdateFeatureFlagRequest";
13118
+ static fields = proto3.util.newFieldList(() => [
13119
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13120
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13121
+ { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
13122
+ { no: 4, name: "feature_subgraph_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
13123
+ { no: 5, name: "unset_labels", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
13124
+ ]);
13125
+ static fromBinary(bytes, options) {
13126
+ return new UpdateFeatureFlagRequest().fromBinary(bytes, options);
13127
+ }
13128
+ static fromJson(jsonValue, options) {
13129
+ return new UpdateFeatureFlagRequest().fromJson(jsonValue, options);
13130
+ }
13131
+ static fromJsonString(jsonString, options) {
13132
+ return new UpdateFeatureFlagRequest().fromJsonString(jsonString, options);
13133
+ }
13134
+ static equals(a, b) {
13135
+ return proto3.util.equals(UpdateFeatureFlagRequest, a, b);
13136
+ }
13137
+ }
13138
+ /**
13139
+ * @generated from message wg.cosmo.platform.v1.UpdateFeatureFlagResponse
13140
+ */
13141
+ export class UpdateFeatureFlagResponse extends Message {
13142
+ /**
13143
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13144
+ */
13145
+ response;
13146
+ /**
13147
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError composition_errors = 2;
13148
+ */
13149
+ compositionErrors = [];
13150
+ /**
13151
+ * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deployment_errors = 3;
13152
+ */
13153
+ deploymentErrors = [];
13154
+ constructor(data) {
13155
+ super();
13156
+ proto3.util.initPartial(data, this);
13157
+ }
13158
+ static runtime = proto3;
13159
+ static typeName = "wg.cosmo.platform.v1.UpdateFeatureFlagResponse";
13160
+ static fields = proto3.util.newFieldList(() => [
13161
+ { no: 1, name: "response", kind: "message", T: Response },
13162
+ { no: 2, name: "composition_errors", kind: "message", T: CompositionError, repeated: true },
13163
+ { no: 3, name: "deployment_errors", kind: "message", T: DeploymentError, repeated: true },
13164
+ ]);
13165
+ static fromBinary(bytes, options) {
13166
+ return new UpdateFeatureFlagResponse().fromBinary(bytes, options);
13167
+ }
13168
+ static fromJson(jsonValue, options) {
13169
+ return new UpdateFeatureFlagResponse().fromJson(jsonValue, options);
13170
+ }
13171
+ static fromJsonString(jsonString, options) {
13172
+ return new UpdateFeatureFlagResponse().fromJsonString(jsonString, options);
13173
+ }
13174
+ static equals(a, b) {
13175
+ return proto3.util.equals(UpdateFeatureFlagResponse, a, b);
13176
+ }
13177
+ }
13178
+ /**
13179
+ * @generated from message wg.cosmo.platform.v1.EnableFeatureFlagRequest
13180
+ */
13181
+ export class EnableFeatureFlagRequest extends Message {
13182
+ /**
13183
+ * @generated from field: string name = 1;
13184
+ */
13185
+ name = "";
13186
+ /**
13187
+ * @generated from field: string namespace = 2;
13188
+ */
13189
+ namespace = "";
13190
+ /**
13191
+ * @generated from field: bool enabled = 3;
13192
+ */
13193
+ enabled = false;
13194
+ constructor(data) {
13195
+ super();
13196
+ proto3.util.initPartial(data, this);
13197
+ }
13198
+ static runtime = proto3;
13199
+ static typeName = "wg.cosmo.platform.v1.EnableFeatureFlagRequest";
13200
+ static fields = proto3.util.newFieldList(() => [
13201
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13202
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13203
+ { no: 3, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
13204
+ ]);
13205
+ static fromBinary(bytes, options) {
13206
+ return new EnableFeatureFlagRequest().fromBinary(bytes, options);
13207
+ }
13208
+ static fromJson(jsonValue, options) {
13209
+ return new EnableFeatureFlagRequest().fromJson(jsonValue, options);
13210
+ }
13211
+ static fromJsonString(jsonString, options) {
13212
+ return new EnableFeatureFlagRequest().fromJsonString(jsonString, options);
13213
+ }
13214
+ static equals(a, b) {
13215
+ return proto3.util.equals(EnableFeatureFlagRequest, a, b);
13216
+ }
13217
+ }
13218
+ /**
13219
+ * @generated from message wg.cosmo.platform.v1.EnableFeatureFlagResponse
13220
+ */
13221
+ export class EnableFeatureFlagResponse extends Message {
13222
+ /**
13223
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13224
+ */
13225
+ response;
13226
+ /**
13227
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError composition_errors = 2;
13228
+ */
13229
+ compositionErrors = [];
13230
+ /**
13231
+ * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deployment_errors = 3;
13232
+ */
13233
+ deploymentErrors = [];
13234
+ /**
13235
+ * @generated from field: optional bool has_changed = 4;
13236
+ */
13237
+ hasChanged;
13238
+ constructor(data) {
13239
+ super();
13240
+ proto3.util.initPartial(data, this);
13241
+ }
13242
+ static runtime = proto3;
13243
+ static typeName = "wg.cosmo.platform.v1.EnableFeatureFlagResponse";
13244
+ static fields = proto3.util.newFieldList(() => [
13245
+ { no: 1, name: "response", kind: "message", T: Response },
13246
+ { no: 2, name: "composition_errors", kind: "message", T: CompositionError, repeated: true },
13247
+ { no: 3, name: "deployment_errors", kind: "message", T: DeploymentError, repeated: true },
13248
+ { no: 4, name: "has_changed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
13249
+ ]);
13250
+ static fromBinary(bytes, options) {
13251
+ return new EnableFeatureFlagResponse().fromBinary(bytes, options);
13252
+ }
13253
+ static fromJson(jsonValue, options) {
13254
+ return new EnableFeatureFlagResponse().fromJson(jsonValue, options);
13255
+ }
13256
+ static fromJsonString(jsonString, options) {
13257
+ return new EnableFeatureFlagResponse().fromJsonString(jsonString, options);
13258
+ }
13259
+ static equals(a, b) {
13260
+ return proto3.util.equals(EnableFeatureFlagResponse, a, b);
13261
+ }
13262
+ }
13263
+ /**
13264
+ * @generated from message wg.cosmo.platform.v1.DeleteFeatureFlagRequest
13265
+ */
13266
+ export class DeleteFeatureFlagRequest extends Message {
13267
+ /**
13268
+ * @generated from field: string name = 1;
13269
+ */
13270
+ name = "";
13271
+ /**
13272
+ * @generated from field: string namespace = 2;
13273
+ */
13274
+ namespace = "";
13275
+ constructor(data) {
13276
+ super();
13277
+ proto3.util.initPartial(data, this);
13278
+ }
13279
+ static runtime = proto3;
13280
+ static typeName = "wg.cosmo.platform.v1.DeleteFeatureFlagRequest";
13281
+ static fields = proto3.util.newFieldList(() => [
13282
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13283
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13284
+ ]);
13285
+ static fromBinary(bytes, options) {
13286
+ return new DeleteFeatureFlagRequest().fromBinary(bytes, options);
13287
+ }
13288
+ static fromJson(jsonValue, options) {
13289
+ return new DeleteFeatureFlagRequest().fromJson(jsonValue, options);
13290
+ }
13291
+ static fromJsonString(jsonString, options) {
13292
+ return new DeleteFeatureFlagRequest().fromJsonString(jsonString, options);
13293
+ }
13294
+ static equals(a, b) {
13295
+ return proto3.util.equals(DeleteFeatureFlagRequest, a, b);
13296
+ }
13297
+ }
13298
+ /**
13299
+ * @generated from message wg.cosmo.platform.v1.DeleteFeatureFlagResponse
13300
+ */
13301
+ export class DeleteFeatureFlagResponse extends Message {
13302
+ /**
13303
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13304
+ */
13305
+ response;
13306
+ /**
13307
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError composition_errors = 2;
13308
+ */
13309
+ compositionErrors = [];
13310
+ /**
13311
+ * @generated from field: repeated wg.cosmo.platform.v1.DeploymentError deployment_errors = 3;
13312
+ */
13313
+ deploymentErrors = [];
13314
+ constructor(data) {
13315
+ super();
13316
+ proto3.util.initPartial(data, this);
13317
+ }
13318
+ static runtime = proto3;
13319
+ static typeName = "wg.cosmo.platform.v1.DeleteFeatureFlagResponse";
13320
+ static fields = proto3.util.newFieldList(() => [
13321
+ { no: 1, name: "response", kind: "message", T: Response },
13322
+ { no: 2, name: "composition_errors", kind: "message", T: CompositionError, repeated: true },
13323
+ { no: 3, name: "deployment_errors", kind: "message", T: DeploymentError, repeated: true },
13324
+ ]);
13325
+ static fromBinary(bytes, options) {
13326
+ return new DeleteFeatureFlagResponse().fromBinary(bytes, options);
13327
+ }
13328
+ static fromJson(jsonValue, options) {
13329
+ return new DeleteFeatureFlagResponse().fromJson(jsonValue, options);
13330
+ }
13331
+ static fromJsonString(jsonString, options) {
13332
+ return new DeleteFeatureFlagResponse().fromJsonString(jsonString, options);
13333
+ }
13334
+ static equals(a, b) {
13335
+ return proto3.util.equals(DeleteFeatureFlagResponse, a, b);
13336
+ }
13337
+ }
13338
+ /**
13339
+ * @generated from message wg.cosmo.platform.v1.FeatureFlag
13340
+ */
13341
+ export class FeatureFlag extends Message {
13342
+ /**
13343
+ * @generated from field: string id = 1;
13344
+ */
13345
+ id = "";
13346
+ /**
13347
+ * @generated from field: string name = 2;
13348
+ */
13349
+ name = "";
13350
+ /**
13351
+ * @generated from field: string namespace = 3;
13352
+ */
13353
+ namespace = "";
13354
+ /**
13355
+ * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 4;
13356
+ */
13357
+ labels = [];
13358
+ /**
13359
+ * @generated from field: bool is_enabled = 5;
13360
+ */
13361
+ isEnabled = false;
13362
+ /**
13363
+ * @generated from field: string created_by = 6;
13364
+ */
13365
+ createdBy = "";
13366
+ /**
13367
+ * @generated from field: string created_at = 7;
13368
+ */
13369
+ createdAt = "";
13370
+ /**
13371
+ * @generated from field: string updated_at = 8;
13372
+ */
13373
+ updatedAt = "";
13374
+ constructor(data) {
13375
+ super();
13376
+ proto3.util.initPartial(data, this);
13377
+ }
13378
+ static runtime = proto3;
13379
+ static typeName = "wg.cosmo.platform.v1.FeatureFlag";
13380
+ static fields = proto3.util.newFieldList(() => [
13381
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13382
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13383
+ { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13384
+ { no: 4, name: "labels", kind: "message", T: Label, repeated: true },
13385
+ { no: 5, name: "is_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
13386
+ { no: 6, name: "created_by", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13387
+ { no: 7, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13388
+ { no: 8, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13389
+ ]);
13390
+ static fromBinary(bytes, options) {
13391
+ return new FeatureFlag().fromBinary(bytes, options);
13392
+ }
13393
+ static fromJson(jsonValue, options) {
13394
+ return new FeatureFlag().fromJson(jsonValue, options);
13395
+ }
13396
+ static fromJsonString(jsonString, options) {
13397
+ return new FeatureFlag().fromJsonString(jsonString, options);
13398
+ }
13399
+ static equals(a, b) {
13400
+ return proto3.util.equals(FeatureFlag, a, b);
13401
+ }
13402
+ }
13403
+ /**
13404
+ * @generated from message wg.cosmo.platform.v1.GetFeatureFlagsRequest
13405
+ */
13406
+ export class GetFeatureFlagsRequest extends Message {
13407
+ /**
13408
+ * @generated from field: int32 limit = 1;
13409
+ */
13410
+ limit = 0;
13411
+ /**
13412
+ * @generated from field: int32 offset = 2;
13413
+ */
13414
+ offset = 0;
13415
+ /**
13416
+ * @generated from field: string namespace = 3;
13417
+ */
13418
+ namespace = "";
13419
+ /**
13420
+ * @generated from field: optional string query = 4;
13421
+ */
13422
+ query;
13423
+ constructor(data) {
13424
+ super();
13425
+ proto3.util.initPartial(data, this);
13426
+ }
13427
+ static runtime = proto3;
13428
+ static typeName = "wg.cosmo.platform.v1.GetFeatureFlagsRequest";
13429
+ static fields = proto3.util.newFieldList(() => [
13430
+ { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
13431
+ { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
13432
+ { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13433
+ { no: 4, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
13434
+ ]);
13435
+ static fromBinary(bytes, options) {
13436
+ return new GetFeatureFlagsRequest().fromBinary(bytes, options);
13437
+ }
13438
+ static fromJson(jsonValue, options) {
13439
+ return new GetFeatureFlagsRequest().fromJson(jsonValue, options);
13440
+ }
13441
+ static fromJsonString(jsonString, options) {
13442
+ return new GetFeatureFlagsRequest().fromJsonString(jsonString, options);
13443
+ }
13444
+ static equals(a, b) {
13445
+ return proto3.util.equals(GetFeatureFlagsRequest, a, b);
13446
+ }
13447
+ }
13448
+ /**
13449
+ * @generated from message wg.cosmo.platform.v1.GetFeatureFlagsResponse
13450
+ */
13451
+ export class GetFeatureFlagsResponse extends Message {
13452
+ /**
13453
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13454
+ */
13455
+ response;
13456
+ /**
13457
+ * @generated from field: repeated wg.cosmo.platform.v1.FeatureFlag feature_flags = 2;
13458
+ */
13459
+ featureFlags = [];
13460
+ /**
13461
+ * @generated from field: int32 total_count = 3;
13462
+ */
13463
+ totalCount = 0;
13464
+ constructor(data) {
13465
+ super();
13466
+ proto3.util.initPartial(data, this);
13467
+ }
13468
+ static runtime = proto3;
13469
+ static typeName = "wg.cosmo.platform.v1.GetFeatureFlagsResponse";
13470
+ static fields = proto3.util.newFieldList(() => [
13471
+ { no: 1, name: "response", kind: "message", T: Response },
13472
+ { no: 2, name: "feature_flags", kind: "message", T: FeatureFlag, repeated: true },
13473
+ { no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
13474
+ ]);
13475
+ static fromBinary(bytes, options) {
13476
+ return new GetFeatureFlagsResponse().fromBinary(bytes, options);
13477
+ }
13478
+ static fromJson(jsonValue, options) {
13479
+ return new GetFeatureFlagsResponse().fromJson(jsonValue, options);
13480
+ }
13481
+ static fromJsonString(jsonString, options) {
13482
+ return new GetFeatureFlagsResponse().fromJsonString(jsonString, options);
13483
+ }
13484
+ static equals(a, b) {
13485
+ return proto3.util.equals(GetFeatureFlagsResponse, a, b);
13486
+ }
13487
+ }
13488
+ /**
13489
+ * @generated from message wg.cosmo.platform.v1.GetFeatureFlagByNameRequest
13490
+ */
13491
+ export class GetFeatureFlagByNameRequest extends Message {
13492
+ /**
13493
+ * @generated from field: string name = 1;
13494
+ */
13495
+ name = "";
13496
+ /**
13497
+ * @generated from field: string namespace = 2;
13498
+ */
13499
+ namespace = "";
13500
+ constructor(data) {
13501
+ super();
13502
+ proto3.util.initPartial(data, this);
13503
+ }
13504
+ static runtime = proto3;
13505
+ static typeName = "wg.cosmo.platform.v1.GetFeatureFlagByNameRequest";
13506
+ static fields = proto3.util.newFieldList(() => [
13507
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13508
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13509
+ ]);
13510
+ static fromBinary(bytes, options) {
13511
+ return new GetFeatureFlagByNameRequest().fromBinary(bytes, options);
13512
+ }
13513
+ static fromJson(jsonValue, options) {
13514
+ return new GetFeatureFlagByNameRequest().fromJson(jsonValue, options);
13515
+ }
13516
+ static fromJsonString(jsonString, options) {
13517
+ return new GetFeatureFlagByNameRequest().fromJsonString(jsonString, options);
13518
+ }
13519
+ static equals(a, b) {
13520
+ return proto3.util.equals(GetFeatureFlagByNameRequest, a, b);
13521
+ }
13522
+ }
13523
+ /**
13524
+ * @generated from message wg.cosmo.platform.v1.GetFeatureFlagByNameResponse
13525
+ */
13526
+ export class GetFeatureFlagByNameResponse extends Message {
13527
+ /**
13528
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13529
+ */
13530
+ response;
13531
+ /**
13532
+ * @generated from field: wg.cosmo.platform.v1.FeatureFlag feature_flag = 2;
13533
+ */
13534
+ featureFlag;
13535
+ /**
13536
+ * @generated from field: repeated wg.cosmo.platform.v1.GetFeatureFlagByNameResponse.FfFederatedGraph federated_graphs = 3;
13537
+ */
13538
+ federatedGraphs = [];
13539
+ /**
13540
+ * @generated from field: repeated wg.cosmo.platform.v1.Subgraph feature_subgraphs = 4;
13541
+ */
13542
+ featureSubgraphs = [];
13543
+ constructor(data) {
13544
+ super();
13545
+ proto3.util.initPartial(data, this);
13546
+ }
13547
+ static runtime = proto3;
13548
+ static typeName = "wg.cosmo.platform.v1.GetFeatureFlagByNameResponse";
13549
+ static fields = proto3.util.newFieldList(() => [
13550
+ { no: 1, name: "response", kind: "message", T: Response },
13551
+ { no: 2, name: "feature_flag", kind: "message", T: FeatureFlag },
13552
+ { no: 3, name: "federated_graphs", kind: "message", T: GetFeatureFlagByNameResponse_FfFederatedGraph, repeated: true },
13553
+ { no: 4, name: "feature_subgraphs", kind: "message", T: Subgraph, repeated: true },
13554
+ ]);
13555
+ static fromBinary(bytes, options) {
13556
+ return new GetFeatureFlagByNameResponse().fromBinary(bytes, options);
13557
+ }
13558
+ static fromJson(jsonValue, options) {
13559
+ return new GetFeatureFlagByNameResponse().fromJson(jsonValue, options);
13560
+ }
13561
+ static fromJsonString(jsonString, options) {
13562
+ return new GetFeatureFlagByNameResponse().fromJsonString(jsonString, options);
13563
+ }
13564
+ static equals(a, b) {
13565
+ return proto3.util.equals(GetFeatureFlagByNameResponse, a, b);
13566
+ }
13567
+ }
13568
+ /**
13569
+ * @generated from message wg.cosmo.platform.v1.GetFeatureFlagByNameResponse.FfFederatedGraph
13570
+ */
13571
+ export class GetFeatureFlagByNameResponse_FfFederatedGraph extends Message {
13572
+ /**
13573
+ * @generated from field: wg.cosmo.platform.v1.FederatedGraph federated_graph = 1;
13574
+ */
13575
+ federatedGraph;
13576
+ /**
13577
+ * @generated from field: bool is_connected = 2;
13578
+ */
13579
+ isConnected = false;
13580
+ constructor(data) {
13581
+ super();
13582
+ proto3.util.initPartial(data, this);
13583
+ }
13584
+ static runtime = proto3;
13585
+ static typeName = "wg.cosmo.platform.v1.GetFeatureFlagByNameResponse.FfFederatedGraph";
13586
+ static fields = proto3.util.newFieldList(() => [
13587
+ { no: 1, name: "federated_graph", kind: "message", T: FederatedGraph },
13588
+ { no: 2, name: "is_connected", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
13589
+ ]);
13590
+ static fromBinary(bytes, options) {
13591
+ return new GetFeatureFlagByNameResponse_FfFederatedGraph().fromBinary(bytes, options);
13592
+ }
13593
+ static fromJson(jsonValue, options) {
13594
+ return new GetFeatureFlagByNameResponse_FfFederatedGraph().fromJson(jsonValue, options);
13595
+ }
13596
+ static fromJsonString(jsonString, options) {
13597
+ return new GetFeatureFlagByNameResponse_FfFederatedGraph().fromJsonString(jsonString, options);
13598
+ }
13599
+ static equals(a, b) {
13600
+ return proto3.util.equals(GetFeatureFlagByNameResponse_FfFederatedGraph, a, b);
13601
+ }
13602
+ }
13603
+ /**
13604
+ * @generated from message wg.cosmo.platform.v1.GetFeatureSubgraphsByFeatureFlagRequest
13605
+ */
13606
+ export class GetFeatureSubgraphsByFeatureFlagRequest extends Message {
13607
+ /**
13608
+ * @generated from field: string feature_flag_name = 1;
13609
+ */
13610
+ featureFlagName = "";
13611
+ /**
13612
+ * @generated from field: string namespace = 2;
13613
+ */
13614
+ namespace = "";
13615
+ constructor(data) {
13616
+ super();
13617
+ proto3.util.initPartial(data, this);
13618
+ }
13619
+ static runtime = proto3;
13620
+ static typeName = "wg.cosmo.platform.v1.GetFeatureSubgraphsByFeatureFlagRequest";
13621
+ static fields = proto3.util.newFieldList(() => [
13622
+ { no: 1, name: "feature_flag_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13623
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13624
+ ]);
13625
+ static fromBinary(bytes, options) {
13626
+ return new GetFeatureSubgraphsByFeatureFlagRequest().fromBinary(bytes, options);
13627
+ }
13628
+ static fromJson(jsonValue, options) {
13629
+ return new GetFeatureSubgraphsByFeatureFlagRequest().fromJson(jsonValue, options);
13630
+ }
13631
+ static fromJsonString(jsonString, options) {
13632
+ return new GetFeatureSubgraphsByFeatureFlagRequest().fromJsonString(jsonString, options);
13633
+ }
13634
+ static equals(a, b) {
13635
+ return proto3.util.equals(GetFeatureSubgraphsByFeatureFlagRequest, a, b);
13636
+ }
13637
+ }
13638
+ /**
13639
+ * @generated from message wg.cosmo.platform.v1.GetFeatureSubgraphsByFeatureFlagResponse
13640
+ */
13641
+ export class GetFeatureSubgraphsByFeatureFlagResponse extends Message {
13642
+ /**
13643
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13644
+ */
13645
+ response;
13646
+ /**
13647
+ * @generated from field: repeated wg.cosmo.platform.v1.Subgraph feature_subgraphs = 2;
13648
+ */
13649
+ featureSubgraphs = [];
13650
+ constructor(data) {
13651
+ super();
13652
+ proto3.util.initPartial(data, this);
13653
+ }
13654
+ static runtime = proto3;
13655
+ static typeName = "wg.cosmo.platform.v1.GetFeatureSubgraphsByFeatureFlagResponse";
13656
+ static fields = proto3.util.newFieldList(() => [
13657
+ { no: 1, name: "response", kind: "message", T: Response },
13658
+ { no: 2, name: "feature_subgraphs", kind: "message", T: Subgraph, repeated: true },
13659
+ ]);
13660
+ static fromBinary(bytes, options) {
13661
+ return new GetFeatureSubgraphsByFeatureFlagResponse().fromBinary(bytes, options);
13662
+ }
13663
+ static fromJson(jsonValue, options) {
13664
+ return new GetFeatureSubgraphsByFeatureFlagResponse().fromJson(jsonValue, options);
13665
+ }
13666
+ static fromJsonString(jsonString, options) {
13667
+ return new GetFeatureSubgraphsByFeatureFlagResponse().fromJsonString(jsonString, options);
13668
+ }
13669
+ static equals(a, b) {
13670
+ return proto3.util.equals(GetFeatureSubgraphsByFeatureFlagResponse, a, b);
13671
+ }
13672
+ }
13673
+ /**
13674
+ * @generated from message wg.cosmo.platform.v1.GetFeatureSubgraphsRequest
13675
+ */
13676
+ export class GetFeatureSubgraphsRequest extends Message {
13677
+ /**
13678
+ * @generated from field: int32 limit = 1;
13679
+ */
13680
+ limit = 0;
13681
+ /**
13682
+ * @generated from field: int32 offset = 2;
13683
+ */
13684
+ offset = 0;
13685
+ /**
13686
+ * @generated from field: string namespace = 3;
13687
+ */
13688
+ namespace = "";
13689
+ /**
13690
+ * @generated from field: optional string query = 4;
13691
+ */
13692
+ query;
13693
+ constructor(data) {
13694
+ super();
13695
+ proto3.util.initPartial(data, this);
13696
+ }
13697
+ static runtime = proto3;
13698
+ static typeName = "wg.cosmo.platform.v1.GetFeatureSubgraphsRequest";
13699
+ static fields = proto3.util.newFieldList(() => [
13700
+ { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
13701
+ { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
13702
+ { no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13703
+ { no: 4, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
13704
+ ]);
13705
+ static fromBinary(bytes, options) {
13706
+ return new GetFeatureSubgraphsRequest().fromBinary(bytes, options);
13707
+ }
13708
+ static fromJson(jsonValue, options) {
13709
+ return new GetFeatureSubgraphsRequest().fromJson(jsonValue, options);
13710
+ }
13711
+ static fromJsonString(jsonString, options) {
13712
+ return new GetFeatureSubgraphsRequest().fromJsonString(jsonString, options);
13713
+ }
13714
+ static equals(a, b) {
13715
+ return proto3.util.equals(GetFeatureSubgraphsRequest, a, b);
13716
+ }
13717
+ }
13718
+ /**
13719
+ * @generated from message wg.cosmo.platform.v1.GetFeatureSubgraphsResponse
13720
+ */
13721
+ export class GetFeatureSubgraphsResponse extends Message {
13722
+ /**
13723
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13724
+ */
13725
+ response;
13726
+ /**
13727
+ * @generated from field: repeated wg.cosmo.platform.v1.Subgraph feature_subgraphs = 2;
13728
+ */
13729
+ featureSubgraphs = [];
13730
+ /**
13731
+ * @generated from field: int32 count = 3;
13732
+ */
13733
+ count = 0;
13734
+ constructor(data) {
13735
+ super();
13736
+ proto3.util.initPartial(data, this);
13737
+ }
13738
+ static runtime = proto3;
13739
+ static typeName = "wg.cosmo.platform.v1.GetFeatureSubgraphsResponse";
13740
+ static fields = proto3.util.newFieldList(() => [
13741
+ { no: 1, name: "response", kind: "message", T: Response },
13742
+ { no: 2, name: "feature_subgraphs", kind: "message", T: Subgraph, repeated: true },
13743
+ { no: 3, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
13744
+ ]);
13745
+ static fromBinary(bytes, options) {
13746
+ return new GetFeatureSubgraphsResponse().fromBinary(bytes, options);
13747
+ }
13748
+ static fromJson(jsonValue, options) {
13749
+ return new GetFeatureSubgraphsResponse().fromJson(jsonValue, options);
13750
+ }
13751
+ static fromJsonString(jsonString, options) {
13752
+ return new GetFeatureSubgraphsResponse().fromJsonString(jsonString, options);
13753
+ }
13754
+ static equals(a, b) {
13755
+ return proto3.util.equals(GetFeatureSubgraphsResponse, a, b);
13756
+ }
13757
+ }
13758
+ /**
13759
+ * @generated from message wg.cosmo.platform.v1.GetFeatureFlagsByFederatedGraphRequest
13760
+ */
13761
+ export class GetFeatureFlagsByFederatedGraphRequest extends Message {
13762
+ /**
13763
+ * @generated from field: string federated_graph_name = 1;
13764
+ */
13765
+ federatedGraphName = "";
13766
+ /**
13767
+ * @generated from field: int32 limit = 2;
13768
+ */
13769
+ limit = 0;
13770
+ /**
13771
+ * @generated from field: int32 offset = 3;
13772
+ */
13773
+ offset = 0;
13774
+ /**
13775
+ * @generated from field: string namespace = 4;
13776
+ */
13777
+ namespace = "";
13778
+ /**
13779
+ * @generated from field: optional string query = 5;
13780
+ */
13781
+ query;
13782
+ constructor(data) {
13783
+ super();
13784
+ proto3.util.initPartial(data, this);
13785
+ }
13786
+ static runtime = proto3;
13787
+ static typeName = "wg.cosmo.platform.v1.GetFeatureFlagsByFederatedGraphRequest";
13788
+ static fields = proto3.util.newFieldList(() => [
13789
+ { no: 1, name: "federated_graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13790
+ { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
13791
+ { no: 3, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
13792
+ { no: 4, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13793
+ { no: 5, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
13794
+ ]);
13795
+ static fromBinary(bytes, options) {
13796
+ return new GetFeatureFlagsByFederatedGraphRequest().fromBinary(bytes, options);
13797
+ }
13798
+ static fromJson(jsonValue, options) {
13799
+ return new GetFeatureFlagsByFederatedGraphRequest().fromJson(jsonValue, options);
13800
+ }
13801
+ static fromJsonString(jsonString, options) {
13802
+ return new GetFeatureFlagsByFederatedGraphRequest().fromJsonString(jsonString, options);
13803
+ }
13804
+ static equals(a, b) {
13805
+ return proto3.util.equals(GetFeatureFlagsByFederatedGraphRequest, a, b);
13806
+ }
13807
+ }
13808
+ /**
13809
+ * @generated from message wg.cosmo.platform.v1.GetFeatureFlagsByFederatedGraphResponse
13810
+ */
13811
+ export class GetFeatureFlagsByFederatedGraphResponse extends Message {
13812
+ /**
13813
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
13814
+ */
13815
+ response;
13816
+ /**
13817
+ * @generated from field: repeated wg.cosmo.platform.v1.FeatureFlag feature_flags = 2;
13818
+ */
13819
+ featureFlags = [];
13820
+ /**
13821
+ * @generated from field: int32 total_count = 3;
13822
+ */
13823
+ totalCount = 0;
13824
+ constructor(data) {
13825
+ super();
13826
+ proto3.util.initPartial(data, this);
13827
+ }
13828
+ static runtime = proto3;
13829
+ static typeName = "wg.cosmo.platform.v1.GetFeatureFlagsByFederatedGraphResponse";
13830
+ static fields = proto3.util.newFieldList(() => [
13831
+ { no: 1, name: "response", kind: "message", T: Response },
13832
+ { no: 2, name: "feature_flags", kind: "message", T: FeatureFlag, repeated: true },
13833
+ { no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
13834
+ ]);
13835
+ static fromBinary(bytes, options) {
13836
+ return new GetFeatureFlagsByFederatedGraphResponse().fromBinary(bytes, options);
13837
+ }
13838
+ static fromJson(jsonValue, options) {
13839
+ return new GetFeatureFlagsByFederatedGraphResponse().fromJson(jsonValue, options);
13840
+ }
13841
+ static fromJsonString(jsonString, options) {
13842
+ return new GetFeatureFlagsByFederatedGraphResponse().fromJsonString(jsonString, options);
13843
+ }
13844
+ static equals(a, b) {
13845
+ return proto3.util.equals(GetFeatureFlagsByFederatedGraphResponse, a, b);
13846
+ }
13847
+ }
12880
13848
  //# sourceMappingURL=platform_pb.js.map