@wundergraph/cosmo-connect 0.101.0 → 0.102.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -600,6 +600,10 @@ export class PublishFederatedSubgraphResponse extends Message {
600
600
  * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 5;
601
601
  */
602
602
  compositionWarnings = [];
603
+ /**
604
+ * @generated from field: optional string proposalMatchMessage = 6;
605
+ */
606
+ proposalMatchMessage;
603
607
  constructor(data) {
604
608
  super();
605
609
  proto3.util.initPartial(data, this);
@@ -612,6 +616,7 @@ export class PublishFederatedSubgraphResponse extends Message {
612
616
  { no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
613
617
  { no: 4, name: "hasChanged", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
614
618
  { no: 5, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
619
+ { no: 6, name: "proposalMatchMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
615
620
  ]);
616
621
  static fromBinary(bytes, options) {
617
622
  return new PublishFederatedSubgraphResponse().fromBinary(bytes, options);
@@ -1713,6 +1718,10 @@ export class CheckSubgraphSchemaResponse extends Message {
1713
1718
  * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 13;
1714
1719
  */
1715
1720
  compositionWarnings = [];
1721
+ /**
1722
+ * @generated from field: optional string proposalMatchMessage = 14;
1723
+ */
1724
+ proposalMatchMessage;
1716
1725
  constructor(data) {
1717
1726
  super();
1718
1727
  proto3.util.initPartial(data, this);
@@ -1733,6 +1742,7 @@ export class CheckSubgraphSchemaResponse extends Message {
1733
1742
  { no: 11, name: "graphPruneErrors", kind: "message", T: GraphPruningIssue, repeated: true },
1734
1743
  { no: 12, name: "client_traffic_check_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1735
1744
  { no: 13, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
1745
+ { no: 14, name: "proposalMatchMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1736
1746
  ]);
1737
1747
  static fromBinary(bytes, options) {
1738
1748
  return new CheckSubgraphSchemaResponse().fromBinary(bytes, options);
@@ -1882,6 +1892,10 @@ export class DeleteFederatedSubgraphResponse extends Message {
1882
1892
  * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 4;
1883
1893
  */
1884
1894
  compositionWarnings = [];
1895
+ /**
1896
+ * @generated from field: optional string proposalMatchMessage = 5;
1897
+ */
1898
+ proposalMatchMessage;
1885
1899
  constructor(data) {
1886
1900
  super();
1887
1901
  proto3.util.initPartial(data, this);
@@ -1893,6 +1907,7 @@ export class DeleteFederatedSubgraphResponse extends Message {
1893
1907
  { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
1894
1908
  { no: 3, name: "deploymentErrors", kind: "message", T: DeploymentError, repeated: true },
1895
1909
  { no: 4, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
1910
+ { no: 5, name: "proposalMatchMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1896
1911
  ]);
1897
1912
  static fromBinary(bytes, options) {
1898
1913
  return new DeleteFederatedSubgraphResponse().fromBinary(bytes, options);
@@ -3022,6 +3037,22 @@ export class SchemaCheck extends Message {
3022
3037
  * @generated from field: repeated wg.cosmo.platform.v1.SchemaCheck.CheckedSubgraph checkedSubgraphs = 17;
3023
3038
  */
3024
3039
  checkedSubgraphs = [];
3040
+ /**
3041
+ * @generated from field: optional string proposalMatch = 18;
3042
+ */
3043
+ proposalMatch;
3044
+ /**
3045
+ * @generated from field: bool composition_skipped = 19;
3046
+ */
3047
+ compositionSkipped = false;
3048
+ /**
3049
+ * @generated from field: bool breaking_changes_skipped = 20;
3050
+ */
3051
+ breakingChangesSkipped = false;
3052
+ /**
3053
+ * @generated from field: optional string errorMessage = 21;
3054
+ */
3055
+ errorMessage;
3025
3056
  constructor(data) {
3026
3057
  super();
3027
3058
  proto3.util.initPartial(data, this);
@@ -3046,6 +3077,10 @@ export class SchemaCheck extends Message {
3046
3077
  { no: 15, name: "graph_pruning_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3047
3078
  { no: 16, name: "vcsContext", kind: "message", T: VCSContext, opt: true },
3048
3079
  { no: 17, name: "checkedSubgraphs", kind: "message", T: SchemaCheck_CheckedSubgraph, repeated: true },
3080
+ { no: 18, name: "proposalMatch", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3081
+ { no: 19, name: "composition_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3082
+ { no: 20, name: "breaking_changes_skipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3083
+ { no: 21, name: "errorMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3049
3084
  ]);
3050
3085
  static fromBinary(bytes, options) {
3051
3086
  return new SchemaCheck().fromBinary(bytes, options);
@@ -3170,10 +3205,6 @@ export class GetChecksByFederatedGraphNameResponse extends Message {
3170
3205
  * @generated from field: int32 checksCountBasedOnDateRange = 3;
3171
3206
  */
3172
3207
  checksCountBasedOnDateRange = 0;
3173
- /**
3174
- * @generated from field: int32 totalChecksCount = 4;
3175
- */
3176
- totalChecksCount = 0;
3177
3208
  constructor(data) {
3178
3209
  super();
3179
3210
  proto3.util.initPartial(data, this);
@@ -3184,7 +3215,6 @@ export class GetChecksByFederatedGraphNameResponse extends Message {
3184
3215
  { no: 1, name: "response", kind: "message", T: Response },
3185
3216
  { no: 2, name: "checks", kind: "message", T: SchemaCheck, repeated: true },
3186
3217
  { no: 3, name: "checksCountBasedOnDateRange", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
3187
- { no: 4, name: "totalChecksCount", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
3188
3218
  ]);
3189
3219
  static fromBinary(bytes, options) {
3190
3220
  return new GetChecksByFederatedGraphNameResponse().fromBinary(bytes, options);
@@ -3318,6 +3348,22 @@ export class GetCheckSummaryResponse extends Message {
3318
3348
  * @generated from field: repeated string compositionWarnings = 11;
3319
3349
  */
3320
3350
  compositionWarnings = [];
3351
+ /**
3352
+ * @generated from field: optional string proposalId = 12;
3353
+ */
3354
+ proposalId;
3355
+ /**
3356
+ * @generated from field: optional string proposalName = 13;
3357
+ */
3358
+ proposalName;
3359
+ /**
3360
+ * @generated from field: repeated wg.cosmo.platform.v1.GetCheckSummaryResponse.ProposalSchemaMatch proposalMatches = 14;
3361
+ */
3362
+ proposalMatches = [];
3363
+ /**
3364
+ * @generated from field: bool isProposalsEnabled = 15;
3365
+ */
3366
+ isProposalsEnabled = false;
3321
3367
  constructor(data) {
3322
3368
  super();
3323
3369
  proto3.util.initPartial(data, this);
@@ -3335,6 +3381,10 @@ export class GetCheckSummaryResponse extends Message {
3335
3381
  { no: 9, name: "lintIssues", kind: "message", T: LintIssue, repeated: true },
3336
3382
  { no: 10, name: "graphPruningIssues", kind: "message", T: GraphPruningIssue, repeated: true },
3337
3383
  { no: 11, name: "compositionWarnings", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3384
+ { no: 12, name: "proposalId", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3385
+ { no: 13, name: "proposalName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3386
+ { no: 14, name: "proposalMatches", kind: "message", T: GetCheckSummaryResponse_ProposalSchemaMatch, repeated: true },
3387
+ { no: 15, name: "isProposalsEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3338
3388
  ]);
3339
3389
  static fromBinary(bytes, options) {
3340
3390
  return new GetCheckSummaryResponse().fromBinary(bytes, options);
@@ -3394,6 +3444,46 @@ export class GetCheckSummaryResponse_AffectedGraph extends Message {
3394
3444
  return proto3.util.equals(GetCheckSummaryResponse_AffectedGraph, a, b);
3395
3445
  }
3396
3446
  }
3447
+ /**
3448
+ * @generated from message wg.cosmo.platform.v1.GetCheckSummaryResponse.ProposalSchemaMatch
3449
+ */
3450
+ export class GetCheckSummaryResponse_ProposalSchemaMatch extends Message {
3451
+ /**
3452
+ * @generated from field: string proposalId = 1;
3453
+ */
3454
+ proposalId = "";
3455
+ /**
3456
+ * @generated from field: string proposalName = 2;
3457
+ */
3458
+ proposalName = "";
3459
+ /**
3460
+ * @generated from field: bool proposalMatch = 3;
3461
+ */
3462
+ proposalMatch = false;
3463
+ constructor(data) {
3464
+ super();
3465
+ proto3.util.initPartial(data, this);
3466
+ }
3467
+ static runtime = proto3;
3468
+ static typeName = "wg.cosmo.platform.v1.GetCheckSummaryResponse.ProposalSchemaMatch";
3469
+ static fields = proto3.util.newFieldList(() => [
3470
+ { no: 1, name: "proposalId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3471
+ { no: 2, name: "proposalName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3472
+ { no: 3, name: "proposalMatch", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3473
+ ]);
3474
+ static fromBinary(bytes, options) {
3475
+ return new GetCheckSummaryResponse_ProposalSchemaMatch().fromBinary(bytes, options);
3476
+ }
3477
+ static fromJson(jsonValue, options) {
3478
+ return new GetCheckSummaryResponse_ProposalSchemaMatch().fromJson(jsonValue, options);
3479
+ }
3480
+ static fromJsonString(jsonString, options) {
3481
+ return new GetCheckSummaryResponse_ProposalSchemaMatch().fromJsonString(jsonString, options);
3482
+ }
3483
+ static equals(a, b) {
3484
+ return proto3.util.equals(GetCheckSummaryResponse_ProposalSchemaMatch, a, b);
3485
+ }
3486
+ }
3397
3487
  /**
3398
3488
  * @generated from message wg.cosmo.platform.v1.GetCheckOperationsRequest
3399
3489
  */
@@ -15970,183 +16060,307 @@ export class SetGraphRouterCompatibilityVersionResponse extends Message {
15970
16060
  }
15971
16061
  }
15972
16062
  /**
15973
- * @generated from message wg.cosmo.platform.v1.CheckSubgraphSchemasRequest
16063
+ * @generated from message wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphRequest
15974
16064
  */
15975
- export class CheckSubgraphSchemasRequest extends Message {
16065
+ export class GetProposedSchemaOfCheckedSubgraphRequest extends Message {
15976
16066
  /**
15977
- * @generated from field: string namespace = 1;
16067
+ * @generated from field: string checkId = 1;
15978
16068
  */
15979
- namespace = "";
16069
+ checkId = "";
16070
+ /**
16071
+ * @generated from field: string checkedSubgraphId = 2;
16072
+ */
16073
+ checkedSubgraphId = "";
16074
+ constructor(data) {
16075
+ super();
16076
+ proto3.util.initPartial(data, this);
16077
+ }
16078
+ static runtime = proto3;
16079
+ static typeName = "wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphRequest";
16080
+ static fields = proto3.util.newFieldList(() => [
16081
+ { no: 1, name: "checkId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16082
+ { no: 2, name: "checkedSubgraphId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16083
+ ]);
16084
+ static fromBinary(bytes, options) {
16085
+ return new GetProposedSchemaOfCheckedSubgraphRequest().fromBinary(bytes, options);
16086
+ }
16087
+ static fromJson(jsonValue, options) {
16088
+ return new GetProposedSchemaOfCheckedSubgraphRequest().fromJson(jsonValue, options);
16089
+ }
16090
+ static fromJsonString(jsonString, options) {
16091
+ return new GetProposedSchemaOfCheckedSubgraphRequest().fromJsonString(jsonString, options);
16092
+ }
16093
+ static equals(a, b) {
16094
+ return proto3.util.equals(GetProposedSchemaOfCheckedSubgraphRequest, a, b);
16095
+ }
16096
+ }
16097
+ /**
16098
+ * @generated from message wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphResponse
16099
+ */
16100
+ export class GetProposedSchemaOfCheckedSubgraphResponse extends Message {
16101
+ /**
16102
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
16103
+ */
16104
+ response;
16105
+ /**
16106
+ * @generated from field: string proposedSchema = 2;
16107
+ */
16108
+ proposedSchema = "";
16109
+ constructor(data) {
16110
+ super();
16111
+ proto3.util.initPartial(data, this);
16112
+ }
16113
+ static runtime = proto3;
16114
+ static typeName = "wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphResponse";
16115
+ static fields = proto3.util.newFieldList(() => [
16116
+ { no: 1, name: "response", kind: "message", T: Response },
16117
+ { no: 2, name: "proposedSchema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16118
+ ]);
16119
+ static fromBinary(bytes, options) {
16120
+ return new GetProposedSchemaOfCheckedSubgraphResponse().fromBinary(bytes, options);
16121
+ }
16122
+ static fromJson(jsonValue, options) {
16123
+ return new GetProposedSchemaOfCheckedSubgraphResponse().fromJson(jsonValue, options);
16124
+ }
16125
+ static fromJsonString(jsonString, options) {
16126
+ return new GetProposedSchemaOfCheckedSubgraphResponse().fromJsonString(jsonString, options);
16127
+ }
16128
+ static equals(a, b) {
16129
+ return proto3.util.equals(GetProposedSchemaOfCheckedSubgraphResponse, a, b);
16130
+ }
16131
+ }
16132
+ /**
16133
+ * @generated from message wg.cosmo.platform.v1.Proposal
16134
+ */
16135
+ export class Proposal extends Message {
16136
+ /**
16137
+ * @generated from field: string id = 1;
16138
+ */
16139
+ id = "";
16140
+ /**
16141
+ * @generated from field: string name = 2;
16142
+ */
16143
+ name = "";
15980
16144
  /**
15981
- * @generated from field: repeated wg.cosmo.platform.v1.CheckSubgraphSchemasRequest.CheckSubgraph subgraphs = 2;
16145
+ * @generated from field: string createdAt = 3;
16146
+ */
16147
+ createdAt = "";
16148
+ /**
16149
+ * @generated from field: string createdByEmail = 4;
16150
+ */
16151
+ createdByEmail = "";
16152
+ /**
16153
+ * @generated from field: string state = 5;
16154
+ */
16155
+ state = "";
16156
+ /**
16157
+ * @generated from field: string federatedGraphId = 6;
16158
+ */
16159
+ federatedGraphId = "";
16160
+ /**
16161
+ * @generated from field: string federatedGraphName = 7;
16162
+ */
16163
+ federatedGraphName = "";
16164
+ /**
16165
+ * @generated from field: repeated wg.cosmo.platform.v1.ProposalSubgraph subgraphs = 8;
15982
16166
  */
15983
16167
  subgraphs = [];
15984
16168
  /**
15985
- * @generated from field: wg.cosmo.platform.v1.GitInfo gitInfo = 3;
16169
+ * @generated from field: bool latestCheckSuccess = 9;
15986
16170
  */
15987
- gitInfo;
16171
+ latestCheckSuccess = false;
15988
16172
  /**
15989
- * @generated from field: optional wg.cosmo.platform.v1.VCSContext vcsContext = 4;
16173
+ * @generated from field: string latestCheckId = 10;
15990
16174
  */
15991
- vcsContext;
16175
+ latestCheckId = "";
15992
16176
  constructor(data) {
15993
16177
  super();
15994
16178
  proto3.util.initPartial(data, this);
15995
16179
  }
15996
16180
  static runtime = proto3;
15997
- static typeName = "wg.cosmo.platform.v1.CheckSubgraphSchemasRequest";
16181
+ static typeName = "wg.cosmo.platform.v1.Proposal";
15998
16182
  static fields = proto3.util.newFieldList(() => [
15999
- { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16000
- { no: 2, name: "subgraphs", kind: "message", T: CheckSubgraphSchemasRequest_CheckSubgraph, repeated: true },
16001
- { no: 3, name: "gitInfo", kind: "message", T: GitInfo },
16002
- { no: 4, name: "vcsContext", kind: "message", T: VCSContext, opt: true },
16183
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16184
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16185
+ { no: 3, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16186
+ { no: 4, name: "createdByEmail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16187
+ { no: 5, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16188
+ { no: 6, name: "federatedGraphId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16189
+ { no: 7, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16190
+ { no: 8, name: "subgraphs", kind: "message", T: ProposalSubgraph, repeated: true },
16191
+ { no: 9, name: "latestCheckSuccess", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
16192
+ { no: 10, name: "latestCheckId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16003
16193
  ]);
16004
16194
  static fromBinary(bytes, options) {
16005
- return new CheckSubgraphSchemasRequest().fromBinary(bytes, options);
16195
+ return new Proposal().fromBinary(bytes, options);
16006
16196
  }
16007
16197
  static fromJson(jsonValue, options) {
16008
- return new CheckSubgraphSchemasRequest().fromJson(jsonValue, options);
16198
+ return new Proposal().fromJson(jsonValue, options);
16009
16199
  }
16010
16200
  static fromJsonString(jsonString, options) {
16011
- return new CheckSubgraphSchemasRequest().fromJsonString(jsonString, options);
16201
+ return new Proposal().fromJsonString(jsonString, options);
16012
16202
  }
16013
16203
  static equals(a, b) {
16014
- return proto3.util.equals(CheckSubgraphSchemasRequest, a, b);
16204
+ return proto3.util.equals(Proposal, a, b);
16015
16205
  }
16016
16206
  }
16017
16207
  /**
16018
- * @generated from message wg.cosmo.platform.v1.CheckSubgraphSchemasRequest.CheckSubgraph
16208
+ * @generated from message wg.cosmo.platform.v1.ProposalSubgraph
16019
16209
  */
16020
- export class CheckSubgraphSchemasRequest_CheckSubgraph extends Message {
16210
+ export class ProposalSubgraph extends Message {
16021
16211
  /**
16022
16212
  * @generated from field: string name = 1;
16023
16213
  */
16024
16214
  name = "";
16025
16215
  /**
16026
- * @generated from field: string schema = 2;
16216
+ * @generated from field: string schemaSDL = 2;
16027
16217
  */
16028
- schema = "";
16218
+ schemaSDL = "";
16029
16219
  /**
16030
- * @generated from field: optional bool delete = 3;
16220
+ * @generated from field: bool isDeleted = 3;
16031
16221
  */
16032
- delete;
16222
+ isDeleted = false;
16223
+ /**
16224
+ * @generated from field: bool isNew = 4;
16225
+ */
16226
+ isNew = false;
16227
+ /**
16228
+ * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 5;
16229
+ */
16230
+ labels = [];
16033
16231
  constructor(data) {
16034
16232
  super();
16035
16233
  proto3.util.initPartial(data, this);
16036
16234
  }
16037
16235
  static runtime = proto3;
16038
- static typeName = "wg.cosmo.platform.v1.CheckSubgraphSchemasRequest.CheckSubgraph";
16236
+ static typeName = "wg.cosmo.platform.v1.ProposalSubgraph";
16039
16237
  static fields = proto3.util.newFieldList(() => [
16040
16238
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16041
- { no: 2, name: "schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16042
- { no: 3, name: "delete", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
16239
+ { no: 2, name: "schemaSDL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16240
+ { no: 3, name: "isDeleted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
16241
+ { no: 4, name: "isNew", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
16242
+ { no: 5, name: "labels", kind: "message", T: Label, repeated: true },
16043
16243
  ]);
16044
16244
  static fromBinary(bytes, options) {
16045
- return new CheckSubgraphSchemasRequest_CheckSubgraph().fromBinary(bytes, options);
16245
+ return new ProposalSubgraph().fromBinary(bytes, options);
16046
16246
  }
16047
16247
  static fromJson(jsonValue, options) {
16048
- return new CheckSubgraphSchemasRequest_CheckSubgraph().fromJson(jsonValue, options);
16248
+ return new ProposalSubgraph().fromJson(jsonValue, options);
16049
16249
  }
16050
16250
  static fromJsonString(jsonString, options) {
16051
- return new CheckSubgraphSchemasRequest_CheckSubgraph().fromJsonString(jsonString, options);
16251
+ return new ProposalSubgraph().fromJsonString(jsonString, options);
16052
16252
  }
16053
16253
  static equals(a, b) {
16054
- return proto3.util.equals(CheckSubgraphSchemasRequest_CheckSubgraph, a, b);
16254
+ return proto3.util.equals(ProposalSubgraph, a, b);
16055
16255
  }
16056
16256
  }
16057
16257
  /**
16058
- * @generated from message wg.cosmo.platform.v1.CheckOperationUsageStatsofSubgraph
16258
+ * @generated from message wg.cosmo.platform.v1.CreateProposalRequest
16059
16259
  */
16060
- export class CheckOperationUsageStatsofSubgraph extends Message {
16260
+ export class CreateProposalRequest extends Message {
16061
16261
  /**
16062
- * @generated from field: wg.cosmo.platform.v1.CheckOperationUsageStats operationUsageStats = 1;
16262
+ * @generated from field: string federatedGraphName = 1;
16063
16263
  */
16064
- operationUsageStats;
16264
+ federatedGraphName = "";
16065
16265
  /**
16066
- * @generated from field: string subgraphName = 2;
16266
+ * @generated from field: string namespace = 2;
16067
16267
  */
16068
- subgraphName = "";
16268
+ namespace = "";
16269
+ /**
16270
+ * @generated from field: string name = 3;
16271
+ */
16272
+ name = "";
16273
+ /**
16274
+ * @generated from field: repeated wg.cosmo.platform.v1.ProposalSubgraph subgraphs = 4;
16275
+ */
16276
+ subgraphs = [];
16069
16277
  constructor(data) {
16070
16278
  super();
16071
16279
  proto3.util.initPartial(data, this);
16072
16280
  }
16073
16281
  static runtime = proto3;
16074
- static typeName = "wg.cosmo.platform.v1.CheckOperationUsageStatsofSubgraph";
16282
+ static typeName = "wg.cosmo.platform.v1.CreateProposalRequest";
16075
16283
  static fields = proto3.util.newFieldList(() => [
16076
- { no: 1, name: "operationUsageStats", kind: "message", T: CheckOperationUsageStats },
16077
- { no: 2, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16284
+ { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16285
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16286
+ { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16287
+ { no: 4, name: "subgraphs", kind: "message", T: ProposalSubgraph, repeated: true },
16078
16288
  ]);
16079
16289
  static fromBinary(bytes, options) {
16080
- return new CheckOperationUsageStatsofSubgraph().fromBinary(bytes, options);
16290
+ return new CreateProposalRequest().fromBinary(bytes, options);
16081
16291
  }
16082
16292
  static fromJson(jsonValue, options) {
16083
- return new CheckOperationUsageStatsofSubgraph().fromJson(jsonValue, options);
16293
+ return new CreateProposalRequest().fromJson(jsonValue, options);
16084
16294
  }
16085
16295
  static fromJsonString(jsonString, options) {
16086
- return new CheckOperationUsageStatsofSubgraph().fromJsonString(jsonString, options);
16296
+ return new CreateProposalRequest().fromJsonString(jsonString, options);
16087
16297
  }
16088
16298
  static equals(a, b) {
16089
- return proto3.util.equals(CheckOperationUsageStatsofSubgraph, a, b);
16299
+ return proto3.util.equals(CreateProposalRequest, a, b);
16090
16300
  }
16091
16301
  }
16092
16302
  /**
16093
- * @generated from message wg.cosmo.platform.v1.CheckSubgraphSchemasResponse
16303
+ * @generated from message wg.cosmo.platform.v1.CreateProposalResponse
16094
16304
  */
16095
- export class CheckSubgraphSchemasResponse extends Message {
16305
+ export class CreateProposalResponse extends Message {
16096
16306
  /**
16097
16307
  * @generated from field: wg.cosmo.platform.v1.Response response = 1;
16098
16308
  */
16099
16309
  response;
16100
16310
  /**
16101
- * @generated from field: string checkId = 2;
16311
+ * @generated from field: string proposalId = 2;
16312
+ */
16313
+ proposalId = "";
16314
+ /**
16315
+ * @generated from field: string checkId = 3;
16102
16316
  */
16103
16317
  checkId = "";
16104
16318
  /**
16105
- * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange breakingChanges = 3;
16319
+ * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange breakingChanges = 4;
16106
16320
  */
16107
16321
  breakingChanges = [];
16108
16322
  /**
16109
- * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange nonBreakingChanges = 4;
16323
+ * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange nonBreakingChanges = 5;
16110
16324
  */
16111
16325
  nonBreakingChanges = [];
16112
16326
  /**
16113
- * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 5;
16327
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 6;
16114
16328
  */
16115
16329
  compositionErrors = [];
16116
16330
  /**
16117
- * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 6;
16331
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 7;
16118
16332
  */
16119
16333
  compositionWarnings = [];
16120
16334
  /**
16121
- * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintErrors = 7;
16335
+ * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintErrors = 8;
16122
16336
  */
16123
16337
  lintErrors = [];
16124
16338
  /**
16125
- * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintWarnings = 8;
16339
+ * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintWarnings = 9;
16126
16340
  */
16127
16341
  lintWarnings = [];
16128
16342
  /**
16129
- * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneErrors = 9;
16343
+ * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneErrors = 10;
16130
16344
  */
16131
16345
  graphPruneErrors = [];
16132
16346
  /**
16133
- * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneWarnings = 10;
16347
+ * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneWarnings = 11;
16134
16348
  */
16135
16349
  graphPruneWarnings = [];
16136
16350
  /**
16137
- * @generated from field: repeated wg.cosmo.platform.v1.CheckOperationUsageStatsofSubgraph operationUsageStats = 11;
16351
+ * @generated from field: wg.cosmo.platform.v1.CheckOperationUsageStats operationUsageStats = 12;
16138
16352
  */
16139
- operationUsageStats = [];
16353
+ operationUsageStats;
16140
16354
  /**
16141
- * @generated from field: bool lintingSkipped = 12;
16355
+ * @generated from field: bool lintingSkipped = 13;
16142
16356
  */
16143
16357
  lintingSkipped = false;
16144
16358
  /**
16145
- * @generated from field: bool graphPruningSkipped = 13;
16359
+ * @generated from field: bool graphPruningSkipped = 14;
16146
16360
  */
16147
16361
  graphPruningSkipped = false;
16148
16362
  /**
16149
- * @generated from field: string checkUrl = 14;
16363
+ * @generated from field: string checkUrl = 15;
16150
16364
  */
16151
16365
  checkUrl = "";
16152
16366
  constructor(data) {
@@ -16154,104 +16368,706 @@ export class CheckSubgraphSchemasResponse extends Message {
16154
16368
  proto3.util.initPartial(data, this);
16155
16369
  }
16156
16370
  static runtime = proto3;
16157
- static typeName = "wg.cosmo.platform.v1.CheckSubgraphSchemasResponse";
16371
+ static typeName = "wg.cosmo.platform.v1.CreateProposalResponse";
16158
16372
  static fields = proto3.util.newFieldList(() => [
16159
16373
  { no: 1, name: "response", kind: "message", T: Response },
16160
- { no: 2, name: "checkId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16161
- { no: 3, name: "breakingChanges", kind: "message", T: SchemaChange, repeated: true },
16162
- { no: 4, name: "nonBreakingChanges", kind: "message", T: SchemaChange, repeated: true },
16163
- { no: 5, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
16164
- { no: 6, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
16165
- { no: 7, name: "lintErrors", kind: "message", T: LintIssue, repeated: true },
16166
- { no: 8, name: "lintWarnings", kind: "message", T: LintIssue, repeated: true },
16167
- { no: 9, name: "graphPruneErrors", kind: "message", T: GraphPruningIssue, repeated: true },
16168
- { no: 10, name: "graphPruneWarnings", kind: "message", T: GraphPruningIssue, repeated: true },
16169
- { no: 11, name: "operationUsageStats", kind: "message", T: CheckOperationUsageStatsofSubgraph, repeated: true },
16170
- { no: 12, name: "lintingSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
16171
- { no: 13, name: "graphPruningSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
16172
- { no: 14, name: "checkUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16374
+ { no: 2, name: "proposalId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16375
+ { no: 3, name: "checkId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16376
+ { no: 4, name: "breakingChanges", kind: "message", T: SchemaChange, repeated: true },
16377
+ { no: 5, name: "nonBreakingChanges", kind: "message", T: SchemaChange, repeated: true },
16378
+ { no: 6, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
16379
+ { no: 7, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
16380
+ { no: 8, name: "lintErrors", kind: "message", T: LintIssue, repeated: true },
16381
+ { no: 9, name: "lintWarnings", kind: "message", T: LintIssue, repeated: true },
16382
+ { no: 10, name: "graphPruneErrors", kind: "message", T: GraphPruningIssue, repeated: true },
16383
+ { no: 11, name: "graphPruneWarnings", kind: "message", T: GraphPruningIssue, repeated: true },
16384
+ { no: 12, name: "operationUsageStats", kind: "message", T: CheckOperationUsageStats },
16385
+ { no: 13, name: "lintingSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
16386
+ { no: 14, name: "graphPruningSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
16387
+ { no: 15, name: "checkUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16173
16388
  ]);
16174
16389
  static fromBinary(bytes, options) {
16175
- return new CheckSubgraphSchemasResponse().fromBinary(bytes, options);
16390
+ return new CreateProposalResponse().fromBinary(bytes, options);
16176
16391
  }
16177
16392
  static fromJson(jsonValue, options) {
16178
- return new CheckSubgraphSchemasResponse().fromJson(jsonValue, options);
16393
+ return new CreateProposalResponse().fromJson(jsonValue, options);
16179
16394
  }
16180
16395
  static fromJsonString(jsonString, options) {
16181
- return new CheckSubgraphSchemasResponse().fromJsonString(jsonString, options);
16396
+ return new CreateProposalResponse().fromJsonString(jsonString, options);
16182
16397
  }
16183
16398
  static equals(a, b) {
16184
- return proto3.util.equals(CheckSubgraphSchemasResponse, a, b);
16399
+ return proto3.util.equals(CreateProposalResponse, a, b);
16185
16400
  }
16186
16401
  }
16187
16402
  /**
16188
- * @generated from message wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphRequest
16403
+ * @generated from message wg.cosmo.platform.v1.GetProposalRequest
16189
16404
  */
16190
- export class GetProposedSchemaOfCheckedSubgraphRequest extends Message {
16191
- /**
16192
- * @generated from field: string checkId = 1;
16193
- */
16194
- checkId = "";
16405
+ export class GetProposalRequest extends Message {
16195
16406
  /**
16196
- * @generated from field: string checkedSubgraphId = 2;
16407
+ * @generated from field: string proposalId = 1;
16197
16408
  */
16198
- checkedSubgraphId = "";
16409
+ proposalId = "";
16199
16410
  constructor(data) {
16200
16411
  super();
16201
16412
  proto3.util.initPartial(data, this);
16202
16413
  }
16203
16414
  static runtime = proto3;
16204
- static typeName = "wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphRequest";
16415
+ static typeName = "wg.cosmo.platform.v1.GetProposalRequest";
16205
16416
  static fields = proto3.util.newFieldList(() => [
16206
- { no: 1, name: "checkId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16207
- { no: 2, name: "checkedSubgraphId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16417
+ { no: 1, name: "proposalId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16208
16418
  ]);
16209
16419
  static fromBinary(bytes, options) {
16210
- return new GetProposedSchemaOfCheckedSubgraphRequest().fromBinary(bytes, options);
16420
+ return new GetProposalRequest().fromBinary(bytes, options);
16211
16421
  }
16212
16422
  static fromJson(jsonValue, options) {
16213
- return new GetProposedSchemaOfCheckedSubgraphRequest().fromJson(jsonValue, options);
16423
+ return new GetProposalRequest().fromJson(jsonValue, options);
16214
16424
  }
16215
16425
  static fromJsonString(jsonString, options) {
16216
- return new GetProposedSchemaOfCheckedSubgraphRequest().fromJsonString(jsonString, options);
16426
+ return new GetProposalRequest().fromJsonString(jsonString, options);
16217
16427
  }
16218
16428
  static equals(a, b) {
16219
- return proto3.util.equals(GetProposedSchemaOfCheckedSubgraphRequest, a, b);
16429
+ return proto3.util.equals(GetProposalRequest, a, b);
16220
16430
  }
16221
16431
  }
16222
16432
  /**
16223
- * @generated from message wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphResponse
16433
+ * @generated from message wg.cosmo.platform.v1.GetProposalResponse
16224
16434
  */
16225
- export class GetProposedSchemaOfCheckedSubgraphResponse extends Message {
16435
+ export class GetProposalResponse extends Message {
16226
16436
  /**
16227
16437
  * @generated from field: wg.cosmo.platform.v1.Response response = 1;
16228
16438
  */
16229
16439
  response;
16230
16440
  /**
16231
- * @generated from field: string proposedSchema = 2;
16441
+ * @generated from field: wg.cosmo.platform.v1.Proposal proposal = 2;
16232
16442
  */
16233
- proposedSchema = "";
16443
+ proposal;
16444
+ /**
16445
+ * @generated from field: repeated wg.cosmo.platform.v1.GetProposalResponse.CurrentSubgraph currentSubgraphs = 3;
16446
+ */
16447
+ currentSubgraphs = [];
16234
16448
  constructor(data) {
16235
16449
  super();
16236
16450
  proto3.util.initPartial(data, this);
16237
16451
  }
16238
16452
  static runtime = proto3;
16239
- static typeName = "wg.cosmo.platform.v1.GetProposedSchemaOfCheckedSubgraphResponse";
16453
+ static typeName = "wg.cosmo.platform.v1.GetProposalResponse";
16240
16454
  static fields = proto3.util.newFieldList(() => [
16241
16455
  { no: 1, name: "response", kind: "message", T: Response },
16242
- { no: 2, name: "proposedSchema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16456
+ { no: 2, name: "proposal", kind: "message", T: Proposal },
16457
+ { no: 3, name: "currentSubgraphs", kind: "message", T: GetProposalResponse_CurrentSubgraph, repeated: true },
16243
16458
  ]);
16244
16459
  static fromBinary(bytes, options) {
16245
- return new GetProposedSchemaOfCheckedSubgraphResponse().fromBinary(bytes, options);
16460
+ return new GetProposalResponse().fromBinary(bytes, options);
16246
16461
  }
16247
16462
  static fromJson(jsonValue, options) {
16248
- return new GetProposedSchemaOfCheckedSubgraphResponse().fromJson(jsonValue, options);
16463
+ return new GetProposalResponse().fromJson(jsonValue, options);
16249
16464
  }
16250
16465
  static fromJsonString(jsonString, options) {
16251
- return new GetProposedSchemaOfCheckedSubgraphResponse().fromJsonString(jsonString, options);
16466
+ return new GetProposalResponse().fromJsonString(jsonString, options);
16252
16467
  }
16253
16468
  static equals(a, b) {
16254
- return proto3.util.equals(GetProposedSchemaOfCheckedSubgraphResponse, a, b);
16469
+ return proto3.util.equals(GetProposalResponse, a, b);
16470
+ }
16471
+ }
16472
+ /**
16473
+ * @generated from message wg.cosmo.platform.v1.GetProposalResponse.CurrentSubgraph
16474
+ */
16475
+ export class GetProposalResponse_CurrentSubgraph extends Message {
16476
+ /**
16477
+ * @generated from field: string name = 1;
16478
+ */
16479
+ name = "";
16480
+ /**
16481
+ * @generated from field: string schemaSDL = 2;
16482
+ */
16483
+ schemaSDL = "";
16484
+ constructor(data) {
16485
+ super();
16486
+ proto3.util.initPartial(data, this);
16487
+ }
16488
+ static runtime = proto3;
16489
+ static typeName = "wg.cosmo.platform.v1.GetProposalResponse.CurrentSubgraph";
16490
+ static fields = proto3.util.newFieldList(() => [
16491
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16492
+ { no: 2, name: "schemaSDL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16493
+ ]);
16494
+ static fromBinary(bytes, options) {
16495
+ return new GetProposalResponse_CurrentSubgraph().fromBinary(bytes, options);
16496
+ }
16497
+ static fromJson(jsonValue, options) {
16498
+ return new GetProposalResponse_CurrentSubgraph().fromJson(jsonValue, options);
16499
+ }
16500
+ static fromJsonString(jsonString, options) {
16501
+ return new GetProposalResponse_CurrentSubgraph().fromJsonString(jsonString, options);
16502
+ }
16503
+ static equals(a, b) {
16504
+ return proto3.util.equals(GetProposalResponse_CurrentSubgraph, a, b);
16505
+ }
16506
+ }
16507
+ /**
16508
+ * @generated from message wg.cosmo.platform.v1.GetProposalsByFederatedGraphRequest
16509
+ */
16510
+ export class GetProposalsByFederatedGraphRequest extends Message {
16511
+ /**
16512
+ * @generated from field: string federatedGraphName = 1;
16513
+ */
16514
+ federatedGraphName = "";
16515
+ /**
16516
+ * @generated from field: string namespace = 2;
16517
+ */
16518
+ namespace = "";
16519
+ /**
16520
+ * @generated from field: string startDate = 3;
16521
+ */
16522
+ startDate = "";
16523
+ /**
16524
+ * @generated from field: string endDate = 4;
16525
+ */
16526
+ endDate = "";
16527
+ /**
16528
+ * @generated from field: int32 limit = 5;
16529
+ */
16530
+ limit = 0;
16531
+ /**
16532
+ * @generated from field: int32 offset = 6;
16533
+ */
16534
+ offset = 0;
16535
+ constructor(data) {
16536
+ super();
16537
+ proto3.util.initPartial(data, this);
16538
+ }
16539
+ static runtime = proto3;
16540
+ static typeName = "wg.cosmo.platform.v1.GetProposalsByFederatedGraphRequest";
16541
+ static fields = proto3.util.newFieldList(() => [
16542
+ { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16543
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16544
+ { no: 3, name: "startDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16545
+ { no: 4, name: "endDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16546
+ { no: 5, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
16547
+ { no: 6, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
16548
+ ]);
16549
+ static fromBinary(bytes, options) {
16550
+ return new GetProposalsByFederatedGraphRequest().fromBinary(bytes, options);
16551
+ }
16552
+ static fromJson(jsonValue, options) {
16553
+ return new GetProposalsByFederatedGraphRequest().fromJson(jsonValue, options);
16554
+ }
16555
+ static fromJsonString(jsonString, options) {
16556
+ return new GetProposalsByFederatedGraphRequest().fromJsonString(jsonString, options);
16557
+ }
16558
+ static equals(a, b) {
16559
+ return proto3.util.equals(GetProposalsByFederatedGraphRequest, a, b);
16560
+ }
16561
+ }
16562
+ /**
16563
+ * @generated from message wg.cosmo.platform.v1.GetProposalsByFederatedGraphResponse
16564
+ */
16565
+ export class GetProposalsByFederatedGraphResponse extends Message {
16566
+ /**
16567
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
16568
+ */
16569
+ response;
16570
+ /**
16571
+ * @generated from field: repeated wg.cosmo.platform.v1.Proposal proposals = 2;
16572
+ */
16573
+ proposals = [];
16574
+ /**
16575
+ * @generated from field: bool isProposalsEnabled = 3;
16576
+ */
16577
+ isProposalsEnabled = false;
16578
+ constructor(data) {
16579
+ super();
16580
+ proto3.util.initPartial(data, this);
16581
+ }
16582
+ static runtime = proto3;
16583
+ static typeName = "wg.cosmo.platform.v1.GetProposalsByFederatedGraphResponse";
16584
+ static fields = proto3.util.newFieldList(() => [
16585
+ { no: 1, name: "response", kind: "message", T: Response },
16586
+ { no: 2, name: "proposals", kind: "message", T: Proposal, repeated: true },
16587
+ { no: 3, name: "isProposalsEnabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
16588
+ ]);
16589
+ static fromBinary(bytes, options) {
16590
+ return new GetProposalsByFederatedGraphResponse().fromBinary(bytes, options);
16591
+ }
16592
+ static fromJson(jsonValue, options) {
16593
+ return new GetProposalsByFederatedGraphResponse().fromJson(jsonValue, options);
16594
+ }
16595
+ static fromJsonString(jsonString, options) {
16596
+ return new GetProposalsByFederatedGraphResponse().fromJsonString(jsonString, options);
16597
+ }
16598
+ static equals(a, b) {
16599
+ return proto3.util.equals(GetProposalsByFederatedGraphResponse, a, b);
16600
+ }
16601
+ }
16602
+ /**
16603
+ * @generated from message wg.cosmo.platform.v1.GetProposalChecksRequest
16604
+ */
16605
+ export class GetProposalChecksRequest extends Message {
16606
+ /**
16607
+ * @generated from field: string proposalId = 1;
16608
+ */
16609
+ proposalId = "";
16610
+ /**
16611
+ * @generated from field: int32 limit = 2;
16612
+ */
16613
+ limit = 0;
16614
+ /**
16615
+ * @generated from field: int32 offset = 3;
16616
+ */
16617
+ offset = 0;
16618
+ /**
16619
+ * @generated from field: string startDate = 4;
16620
+ */
16621
+ startDate = "";
16622
+ /**
16623
+ * @generated from field: string endDate = 5;
16624
+ */
16625
+ endDate = "";
16626
+ constructor(data) {
16627
+ super();
16628
+ proto3.util.initPartial(data, this);
16629
+ }
16630
+ static runtime = proto3;
16631
+ static typeName = "wg.cosmo.platform.v1.GetProposalChecksRequest";
16632
+ static fields = proto3.util.newFieldList(() => [
16633
+ { no: 1, name: "proposalId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16634
+ { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
16635
+ { no: 3, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
16636
+ { no: 4, name: "startDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16637
+ { no: 5, name: "endDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16638
+ ]);
16639
+ static fromBinary(bytes, options) {
16640
+ return new GetProposalChecksRequest().fromBinary(bytes, options);
16641
+ }
16642
+ static fromJson(jsonValue, options) {
16643
+ return new GetProposalChecksRequest().fromJson(jsonValue, options);
16644
+ }
16645
+ static fromJsonString(jsonString, options) {
16646
+ return new GetProposalChecksRequest().fromJsonString(jsonString, options);
16647
+ }
16648
+ static equals(a, b) {
16649
+ return proto3.util.equals(GetProposalChecksRequest, a, b);
16650
+ }
16651
+ }
16652
+ /**
16653
+ * @generated from message wg.cosmo.platform.v1.GetProposalChecksResponse
16654
+ */
16655
+ export class GetProposalChecksResponse extends Message {
16656
+ /**
16657
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
16658
+ */
16659
+ response;
16660
+ /**
16661
+ * @generated from field: repeated wg.cosmo.platform.v1.SchemaCheck checks = 2;
16662
+ */
16663
+ checks = [];
16664
+ /**
16665
+ * @generated from field: int32 totalChecksCount = 3;
16666
+ */
16667
+ totalChecksCount = 0;
16668
+ constructor(data) {
16669
+ super();
16670
+ proto3.util.initPartial(data, this);
16671
+ }
16672
+ static runtime = proto3;
16673
+ static typeName = "wg.cosmo.platform.v1.GetProposalChecksResponse";
16674
+ static fields = proto3.util.newFieldList(() => [
16675
+ { no: 1, name: "response", kind: "message", T: Response },
16676
+ { no: 2, name: "checks", kind: "message", T: SchemaCheck, repeated: true },
16677
+ { no: 3, name: "totalChecksCount", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
16678
+ ]);
16679
+ static fromBinary(bytes, options) {
16680
+ return new GetProposalChecksResponse().fromBinary(bytes, options);
16681
+ }
16682
+ static fromJson(jsonValue, options) {
16683
+ return new GetProposalChecksResponse().fromJson(jsonValue, options);
16684
+ }
16685
+ static fromJsonString(jsonString, options) {
16686
+ return new GetProposalChecksResponse().fromJsonString(jsonString, options);
16687
+ }
16688
+ static equals(a, b) {
16689
+ return proto3.util.equals(GetProposalChecksResponse, a, b);
16690
+ }
16691
+ }
16692
+ /**
16693
+ * @generated from message wg.cosmo.platform.v1.UpdateProposalRequest
16694
+ */
16695
+ export class UpdateProposalRequest extends Message {
16696
+ /**
16697
+ * @generated from field: string proposalName = 1;
16698
+ */
16699
+ proposalName = "";
16700
+ /**
16701
+ * @generated from field: string federatedGraphName = 2;
16702
+ */
16703
+ federatedGraphName = "";
16704
+ /**
16705
+ * @generated from oneof wg.cosmo.platform.v1.UpdateProposalRequest.update_action
16706
+ */
16707
+ updateAction = { case: undefined };
16708
+ /**
16709
+ * @generated from field: string namespace = 5;
16710
+ */
16711
+ namespace = "";
16712
+ constructor(data) {
16713
+ super();
16714
+ proto3.util.initPartial(data, this);
16715
+ }
16716
+ static runtime = proto3;
16717
+ static typeName = "wg.cosmo.platform.v1.UpdateProposalRequest";
16718
+ static fields = proto3.util.newFieldList(() => [
16719
+ { no: 1, name: "proposalName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16720
+ { no: 2, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16721
+ { no: 3, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "update_action" },
16722
+ { no: 4, name: "updatedSubgraphs", kind: "message", T: UpdateProposalRequest_UpdateProposalSubgraphs, oneof: "update_action" },
16723
+ { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16724
+ ]);
16725
+ static fromBinary(bytes, options) {
16726
+ return new UpdateProposalRequest().fromBinary(bytes, options);
16727
+ }
16728
+ static fromJson(jsonValue, options) {
16729
+ return new UpdateProposalRequest().fromJson(jsonValue, options);
16730
+ }
16731
+ static fromJsonString(jsonString, options) {
16732
+ return new UpdateProposalRequest().fromJsonString(jsonString, options);
16733
+ }
16734
+ static equals(a, b) {
16735
+ return proto3.util.equals(UpdateProposalRequest, a, b);
16736
+ }
16737
+ }
16738
+ /**
16739
+ * @generated from message wg.cosmo.platform.v1.UpdateProposalRequest.UpdateProposalSubgraphs
16740
+ */
16741
+ export class UpdateProposalRequest_UpdateProposalSubgraphs extends Message {
16742
+ /**
16743
+ * @generated from field: repeated wg.cosmo.platform.v1.ProposalSubgraph subgraphs = 1;
16744
+ */
16745
+ subgraphs = [];
16746
+ constructor(data) {
16747
+ super();
16748
+ proto3.util.initPartial(data, this);
16749
+ }
16750
+ static runtime = proto3;
16751
+ static typeName = "wg.cosmo.platform.v1.UpdateProposalRequest.UpdateProposalSubgraphs";
16752
+ static fields = proto3.util.newFieldList(() => [
16753
+ { no: 1, name: "subgraphs", kind: "message", T: ProposalSubgraph, repeated: true },
16754
+ ]);
16755
+ static fromBinary(bytes, options) {
16756
+ return new UpdateProposalRequest_UpdateProposalSubgraphs().fromBinary(bytes, options);
16757
+ }
16758
+ static fromJson(jsonValue, options) {
16759
+ return new UpdateProposalRequest_UpdateProposalSubgraphs().fromJson(jsonValue, options);
16760
+ }
16761
+ static fromJsonString(jsonString, options) {
16762
+ return new UpdateProposalRequest_UpdateProposalSubgraphs().fromJsonString(jsonString, options);
16763
+ }
16764
+ static equals(a, b) {
16765
+ return proto3.util.equals(UpdateProposalRequest_UpdateProposalSubgraphs, a, b);
16766
+ }
16767
+ }
16768
+ /**
16769
+ * @generated from message wg.cosmo.platform.v1.UpdateProposalResponse
16770
+ */
16771
+ export class UpdateProposalResponse extends Message {
16772
+ /**
16773
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
16774
+ */
16775
+ response;
16776
+ /**
16777
+ * @generated from field: string checkId = 2;
16778
+ */
16779
+ checkId = "";
16780
+ /**
16781
+ * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange breakingChanges = 3;
16782
+ */
16783
+ breakingChanges = [];
16784
+ /**
16785
+ * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange nonBreakingChanges = 4;
16786
+ */
16787
+ nonBreakingChanges = [];
16788
+ /**
16789
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 5;
16790
+ */
16791
+ compositionErrors = [];
16792
+ /**
16793
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionWarning compositionWarnings = 6;
16794
+ */
16795
+ compositionWarnings = [];
16796
+ /**
16797
+ * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintErrors = 7;
16798
+ */
16799
+ lintErrors = [];
16800
+ /**
16801
+ * @generated from field: repeated wg.cosmo.platform.v1.LintIssue lintWarnings = 8;
16802
+ */
16803
+ lintWarnings = [];
16804
+ /**
16805
+ * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneErrors = 9;
16806
+ */
16807
+ graphPruneErrors = [];
16808
+ /**
16809
+ * @generated from field: repeated wg.cosmo.platform.v1.GraphPruningIssue graphPruneWarnings = 10;
16810
+ */
16811
+ graphPruneWarnings = [];
16812
+ /**
16813
+ * @generated from field: wg.cosmo.platform.v1.CheckOperationUsageStats operationUsageStats = 11;
16814
+ */
16815
+ operationUsageStats;
16816
+ /**
16817
+ * @generated from field: bool lintingSkipped = 12;
16818
+ */
16819
+ lintingSkipped = false;
16820
+ /**
16821
+ * @generated from field: bool graphPruningSkipped = 13;
16822
+ */
16823
+ graphPruningSkipped = false;
16824
+ /**
16825
+ * @generated from field: string checkUrl = 14;
16826
+ */
16827
+ checkUrl = "";
16828
+ constructor(data) {
16829
+ super();
16830
+ proto3.util.initPartial(data, this);
16831
+ }
16832
+ static runtime = proto3;
16833
+ static typeName = "wg.cosmo.platform.v1.UpdateProposalResponse";
16834
+ static fields = proto3.util.newFieldList(() => [
16835
+ { no: 1, name: "response", kind: "message", T: Response },
16836
+ { no: 2, name: "checkId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16837
+ { no: 3, name: "breakingChanges", kind: "message", T: SchemaChange, repeated: true },
16838
+ { no: 4, name: "nonBreakingChanges", kind: "message", T: SchemaChange, repeated: true },
16839
+ { no: 5, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
16840
+ { no: 6, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
16841
+ { no: 7, name: "lintErrors", kind: "message", T: LintIssue, repeated: true },
16842
+ { no: 8, name: "lintWarnings", kind: "message", T: LintIssue, repeated: true },
16843
+ { no: 9, name: "graphPruneErrors", kind: "message", T: GraphPruningIssue, repeated: true },
16844
+ { no: 10, name: "graphPruneWarnings", kind: "message", T: GraphPruningIssue, repeated: true },
16845
+ { no: 11, name: "operationUsageStats", kind: "message", T: CheckOperationUsageStats },
16846
+ { no: 12, name: "lintingSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
16847
+ { no: 13, name: "graphPruningSkipped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
16848
+ { no: 14, name: "checkUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16849
+ ]);
16850
+ static fromBinary(bytes, options) {
16851
+ return new UpdateProposalResponse().fromBinary(bytes, options);
16852
+ }
16853
+ static fromJson(jsonValue, options) {
16854
+ return new UpdateProposalResponse().fromJson(jsonValue, options);
16855
+ }
16856
+ static fromJsonString(jsonString, options) {
16857
+ return new UpdateProposalResponse().fromJsonString(jsonString, options);
16858
+ }
16859
+ static equals(a, b) {
16860
+ return proto3.util.equals(UpdateProposalResponse, a, b);
16861
+ }
16862
+ }
16863
+ /**
16864
+ * @generated from message wg.cosmo.platform.v1.EnableProposalsForNamespaceRequest
16865
+ */
16866
+ export class EnableProposalsForNamespaceRequest extends Message {
16867
+ /**
16868
+ * @generated from field: string namespace = 1;
16869
+ */
16870
+ namespace = "";
16871
+ /**
16872
+ * @generated from field: bool enableProposals = 2;
16873
+ */
16874
+ enableProposals = false;
16875
+ constructor(data) {
16876
+ super();
16877
+ proto3.util.initPartial(data, this);
16878
+ }
16879
+ static runtime = proto3;
16880
+ static typeName = "wg.cosmo.platform.v1.EnableProposalsForNamespaceRequest";
16881
+ static fields = proto3.util.newFieldList(() => [
16882
+ { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16883
+ { no: 2, name: "enableProposals", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
16884
+ ]);
16885
+ static fromBinary(bytes, options) {
16886
+ return new EnableProposalsForNamespaceRequest().fromBinary(bytes, options);
16887
+ }
16888
+ static fromJson(jsonValue, options) {
16889
+ return new EnableProposalsForNamespaceRequest().fromJson(jsonValue, options);
16890
+ }
16891
+ static fromJsonString(jsonString, options) {
16892
+ return new EnableProposalsForNamespaceRequest().fromJsonString(jsonString, options);
16893
+ }
16894
+ static equals(a, b) {
16895
+ return proto3.util.equals(EnableProposalsForNamespaceRequest, a, b);
16896
+ }
16897
+ }
16898
+ /**
16899
+ * @generated from message wg.cosmo.platform.v1.EnableProposalsForNamespaceResponse
16900
+ */
16901
+ export class EnableProposalsForNamespaceResponse extends Message {
16902
+ /**
16903
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
16904
+ */
16905
+ response;
16906
+ constructor(data) {
16907
+ super();
16908
+ proto3.util.initPartial(data, this);
16909
+ }
16910
+ static runtime = proto3;
16911
+ static typeName = "wg.cosmo.platform.v1.EnableProposalsForNamespaceResponse";
16912
+ static fields = proto3.util.newFieldList(() => [
16913
+ { no: 1, name: "response", kind: "message", T: Response },
16914
+ ]);
16915
+ static fromBinary(bytes, options) {
16916
+ return new EnableProposalsForNamespaceResponse().fromBinary(bytes, options);
16917
+ }
16918
+ static fromJson(jsonValue, options) {
16919
+ return new EnableProposalsForNamespaceResponse().fromJson(jsonValue, options);
16920
+ }
16921
+ static fromJsonString(jsonString, options) {
16922
+ return new EnableProposalsForNamespaceResponse().fromJsonString(jsonString, options);
16923
+ }
16924
+ static equals(a, b) {
16925
+ return proto3.util.equals(EnableProposalsForNamespaceResponse, a, b);
16926
+ }
16927
+ }
16928
+ /**
16929
+ * @generated from message wg.cosmo.platform.v1.ConfigureNamespaceProposalConfigRequest
16930
+ */
16931
+ export class ConfigureNamespaceProposalConfigRequest extends Message {
16932
+ /**
16933
+ * @generated from field: string namespace = 1;
16934
+ */
16935
+ namespace = "";
16936
+ /**
16937
+ * @generated from field: wg.cosmo.platform.v1.LintSeverity checkSeverityLevel = 2;
16938
+ */
16939
+ checkSeverityLevel = LintSeverity.warn;
16940
+ /**
16941
+ * @generated from field: wg.cosmo.platform.v1.LintSeverity publishSeverityLevel = 3;
16942
+ */
16943
+ publishSeverityLevel = LintSeverity.warn;
16944
+ constructor(data) {
16945
+ super();
16946
+ proto3.util.initPartial(data, this);
16947
+ }
16948
+ static runtime = proto3;
16949
+ static typeName = "wg.cosmo.platform.v1.ConfigureNamespaceProposalConfigRequest";
16950
+ static fields = proto3.util.newFieldList(() => [
16951
+ { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16952
+ { no: 2, name: "checkSeverityLevel", kind: "enum", T: proto3.getEnumType(LintSeverity) },
16953
+ { no: 3, name: "publishSeverityLevel", kind: "enum", T: proto3.getEnumType(LintSeverity) },
16954
+ ]);
16955
+ static fromBinary(bytes, options) {
16956
+ return new ConfigureNamespaceProposalConfigRequest().fromBinary(bytes, options);
16957
+ }
16958
+ static fromJson(jsonValue, options) {
16959
+ return new ConfigureNamespaceProposalConfigRequest().fromJson(jsonValue, options);
16960
+ }
16961
+ static fromJsonString(jsonString, options) {
16962
+ return new ConfigureNamespaceProposalConfigRequest().fromJsonString(jsonString, options);
16963
+ }
16964
+ static equals(a, b) {
16965
+ return proto3.util.equals(ConfigureNamespaceProposalConfigRequest, a, b);
16966
+ }
16967
+ }
16968
+ /**
16969
+ * @generated from message wg.cosmo.platform.v1.ConfigureNamespaceProposalConfigResponse
16970
+ */
16971
+ export class ConfigureNamespaceProposalConfigResponse extends Message {
16972
+ /**
16973
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
16974
+ */
16975
+ response;
16976
+ constructor(data) {
16977
+ super();
16978
+ proto3.util.initPartial(data, this);
16979
+ }
16980
+ static runtime = proto3;
16981
+ static typeName = "wg.cosmo.platform.v1.ConfigureNamespaceProposalConfigResponse";
16982
+ static fields = proto3.util.newFieldList(() => [
16983
+ { no: 1, name: "response", kind: "message", T: Response },
16984
+ ]);
16985
+ static fromBinary(bytes, options) {
16986
+ return new ConfigureNamespaceProposalConfigResponse().fromBinary(bytes, options);
16987
+ }
16988
+ static fromJson(jsonValue, options) {
16989
+ return new ConfigureNamespaceProposalConfigResponse().fromJson(jsonValue, options);
16990
+ }
16991
+ static fromJsonString(jsonString, options) {
16992
+ return new ConfigureNamespaceProposalConfigResponse().fromJsonString(jsonString, options);
16993
+ }
16994
+ static equals(a, b) {
16995
+ return proto3.util.equals(ConfigureNamespaceProposalConfigResponse, a, b);
16996
+ }
16997
+ }
16998
+ /**
16999
+ * @generated from message wg.cosmo.platform.v1.GetNamespaceProposalConfigRequest
17000
+ */
17001
+ export class GetNamespaceProposalConfigRequest extends Message {
17002
+ /**
17003
+ * @generated from field: string namespace = 1;
17004
+ */
17005
+ namespace = "";
17006
+ constructor(data) {
17007
+ super();
17008
+ proto3.util.initPartial(data, this);
17009
+ }
17010
+ static runtime = proto3;
17011
+ static typeName = "wg.cosmo.platform.v1.GetNamespaceProposalConfigRequest";
17012
+ static fields = proto3.util.newFieldList(() => [
17013
+ { no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17014
+ ]);
17015
+ static fromBinary(bytes, options) {
17016
+ return new GetNamespaceProposalConfigRequest().fromBinary(bytes, options);
17017
+ }
17018
+ static fromJson(jsonValue, options) {
17019
+ return new GetNamespaceProposalConfigRequest().fromJson(jsonValue, options);
17020
+ }
17021
+ static fromJsonString(jsonString, options) {
17022
+ return new GetNamespaceProposalConfigRequest().fromJsonString(jsonString, options);
17023
+ }
17024
+ static equals(a, b) {
17025
+ return proto3.util.equals(GetNamespaceProposalConfigRequest, a, b);
17026
+ }
17027
+ }
17028
+ /**
17029
+ * @generated from message wg.cosmo.platform.v1.GetNamespaceProposalConfigResponse
17030
+ */
17031
+ export class GetNamespaceProposalConfigResponse extends Message {
17032
+ /**
17033
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
17034
+ */
17035
+ response;
17036
+ /**
17037
+ * @generated from field: bool enabled = 2;
17038
+ */
17039
+ enabled = false;
17040
+ /**
17041
+ * @generated from field: wg.cosmo.platform.v1.LintSeverity checkSeverityLevel = 3;
17042
+ */
17043
+ checkSeverityLevel = LintSeverity.warn;
17044
+ /**
17045
+ * @generated from field: wg.cosmo.platform.v1.LintSeverity publishSeverityLevel = 4;
17046
+ */
17047
+ publishSeverityLevel = LintSeverity.warn;
17048
+ constructor(data) {
17049
+ super();
17050
+ proto3.util.initPartial(data, this);
17051
+ }
17052
+ static runtime = proto3;
17053
+ static typeName = "wg.cosmo.platform.v1.GetNamespaceProposalConfigResponse";
17054
+ static fields = proto3.util.newFieldList(() => [
17055
+ { no: 1, name: "response", kind: "message", T: Response },
17056
+ { no: 2, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
17057
+ { no: 3, name: "checkSeverityLevel", kind: "enum", T: proto3.getEnumType(LintSeverity) },
17058
+ { no: 4, name: "publishSeverityLevel", kind: "enum", T: proto3.getEnumType(LintSeverity) },
17059
+ ]);
17060
+ static fromBinary(bytes, options) {
17061
+ return new GetNamespaceProposalConfigResponse().fromBinary(bytes, options);
17062
+ }
17063
+ static fromJson(jsonValue, options) {
17064
+ return new GetNamespaceProposalConfigResponse().fromJson(jsonValue, options);
17065
+ }
17066
+ static fromJsonString(jsonString, options) {
17067
+ return new GetNamespaceProposalConfigResponse().fromJsonString(jsonString, options);
17068
+ }
17069
+ static equals(a, b) {
17070
+ return proto3.util.equals(GetNamespaceProposalConfigResponse, a, b);
16255
17071
  }
16256
17072
  }
16257
17073
  //# sourceMappingURL=platform_pb.js.map