@wundergraph/cosmo-connect 0.134.0 → 0.135.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.
@@ -516,6 +516,12 @@ export declare class PublishFederatedSubgraphRequest extends Message<PublishFede
516
516
  * @generated from field: optional wg.cosmo.platform.v1.ProtoInput proto = 14;
517
517
  */
518
518
  proto?: ProtoInput;
519
+ /**
520
+ * Optional limit for the number of errors/warnings returned
521
+ *
522
+ * @generated from field: optional int32 limit = 15;
523
+ */
524
+ limit?: number;
519
525
  constructor(data?: PartialMessage<PublishFederatedSubgraphRequest>);
520
526
  static readonly runtime: typeof proto3;
521
527
  static readonly typeName = "wg.cosmo.platform.v1.PublishFederatedSubgraphRequest";
@@ -553,6 +559,10 @@ export declare class PublishFederatedSubgraphResponse extends Message<PublishFed
553
559
  * @generated from field: optional string proposalMatchMessage = 6;
554
560
  */
555
561
  proposalMatchMessage?: string;
562
+ /**
563
+ * @generated from field: optional wg.cosmo.platform.v1.SubgraphPublishStats counts = 7;
564
+ */
565
+ counts?: SubgraphPublishStats;
556
566
  constructor(data?: PartialMessage<PublishFederatedSubgraphResponse>);
557
567
  static readonly runtime: typeof proto3;
558
568
  static readonly typeName = "wg.cosmo.platform.v1.PublishFederatedSubgraphResponse";
@@ -562,6 +572,31 @@ export declare class PublishFederatedSubgraphResponse extends Message<PublishFed
562
572
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishFederatedSubgraphResponse;
563
573
  static equals(a: PublishFederatedSubgraphResponse | PlainMessage<PublishFederatedSubgraphResponse> | undefined, b: PublishFederatedSubgraphResponse | PlainMessage<PublishFederatedSubgraphResponse> | undefined): boolean;
564
574
  }
575
+ /**
576
+ * @generated from message wg.cosmo.platform.v1.SubgraphPublishStats
577
+ */
578
+ export declare class SubgraphPublishStats extends Message<SubgraphPublishStats> {
579
+ /**
580
+ * @generated from field: int32 compositionErrors = 1;
581
+ */
582
+ compositionErrors: number;
583
+ /**
584
+ * @generated from field: int32 compositionWarnings = 2;
585
+ */
586
+ compositionWarnings: number;
587
+ /**
588
+ * @generated from field: int32 deploymentErrors = 3;
589
+ */
590
+ deploymentErrors: number;
591
+ constructor(data?: PartialMessage<SubgraphPublishStats>);
592
+ static readonly runtime: typeof proto3;
593
+ static readonly typeName = "wg.cosmo.platform.v1.SubgraphPublishStats";
594
+ static readonly fields: FieldList;
595
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubgraphPublishStats;
596
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubgraphPublishStats;
597
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubgraphPublishStats;
598
+ static equals(a: SubgraphPublishStats | PlainMessage<SubgraphPublishStats> | undefined, b: SubgraphPublishStats | PlainMessage<SubgraphPublishStats> | undefined): boolean;
599
+ }
565
600
  /**
566
601
  * @generated from message wg.cosmo.platform.v1.GitInfo
567
602
  */
@@ -11825,6 +11860,10 @@ export declare class CreateProposalResponse extends Message<CreateProposalRespon
11825
11860
  * @generated from field: optional bool hasLinkedSchemaChecks = 20;
11826
11861
  */
11827
11862
  hasLinkedSchemaChecks?: boolean;
11863
+ /**
11864
+ * @generated from field: repeated wg.cosmo.platform.v1.FederatedGraphSchemaChange composedSchemaBreakingChanges = 21;
11865
+ */
11866
+ composedSchemaBreakingChanges: FederatedGraphSchemaChange[];
11828
11867
  constructor(data?: PartialMessage<CreateProposalResponse>);
11829
11868
  static readonly runtime: typeof proto3;
11830
11869
  static readonly typeName = "wg.cosmo.platform.v1.CreateProposalResponse";
@@ -717,6 +717,12 @@ export class PublishFederatedSubgraphRequest extends Message {
717
717
  * @generated from field: optional wg.cosmo.platform.v1.ProtoInput proto = 14;
718
718
  */
719
719
  proto;
720
+ /**
721
+ * Optional limit for the number of errors/warnings returned
722
+ *
723
+ * @generated from field: optional int32 limit = 15;
724
+ */
725
+ limit;
720
726
  constructor(data) {
721
727
  super();
722
728
  proto3.util.initPartial(data, this);
@@ -737,6 +743,7 @@ export class PublishFederatedSubgraphRequest extends Message {
737
743
  { no: 12, name: "disable_resolvability_validation", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
738
744
  { no: 13, name: "type", kind: "enum", T: proto3.getEnumType(SubgraphType), opt: true },
739
745
  { no: 14, name: "proto", kind: "message", T: ProtoInput, opt: true },
746
+ { no: 15, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
740
747
  ]);
741
748
  static fromBinary(bytes, options) {
742
749
  return new PublishFederatedSubgraphRequest().fromBinary(bytes, options);
@@ -779,6 +786,10 @@ export class PublishFederatedSubgraphResponse extends Message {
779
786
  * @generated from field: optional string proposalMatchMessage = 6;
780
787
  */
781
788
  proposalMatchMessage;
789
+ /**
790
+ * @generated from field: optional wg.cosmo.platform.v1.SubgraphPublishStats counts = 7;
791
+ */
792
+ counts;
782
793
  constructor(data) {
783
794
  super();
784
795
  proto3.util.initPartial(data, this);
@@ -792,6 +803,7 @@ export class PublishFederatedSubgraphResponse extends Message {
792
803
  { no: 4, name: "hasChanged", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
793
804
  { no: 5, name: "compositionWarnings", kind: "message", T: CompositionWarning, repeated: true },
794
805
  { no: 6, name: "proposalMatchMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
806
+ { no: 7, name: "counts", kind: "message", T: SubgraphPublishStats, opt: true },
795
807
  ]);
796
808
  static fromBinary(bytes, options) {
797
809
  return new PublishFederatedSubgraphResponse().fromBinary(bytes, options);
@@ -806,6 +818,46 @@ export class PublishFederatedSubgraphResponse extends Message {
806
818
  return proto3.util.equals(PublishFederatedSubgraphResponse, a, b);
807
819
  }
808
820
  }
821
+ /**
822
+ * @generated from message wg.cosmo.platform.v1.SubgraphPublishStats
823
+ */
824
+ export class SubgraphPublishStats extends Message {
825
+ /**
826
+ * @generated from field: int32 compositionErrors = 1;
827
+ */
828
+ compositionErrors = 0;
829
+ /**
830
+ * @generated from field: int32 compositionWarnings = 2;
831
+ */
832
+ compositionWarnings = 0;
833
+ /**
834
+ * @generated from field: int32 deploymentErrors = 3;
835
+ */
836
+ deploymentErrors = 0;
837
+ constructor(data) {
838
+ super();
839
+ proto3.util.initPartial(data, this);
840
+ }
841
+ static runtime = proto3;
842
+ static typeName = "wg.cosmo.platform.v1.SubgraphPublishStats";
843
+ static fields = proto3.util.newFieldList(() => [
844
+ { no: 1, name: "compositionErrors", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
845
+ { no: 2, name: "compositionWarnings", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
846
+ { no: 3, name: "deploymentErrors", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
847
+ ]);
848
+ static fromBinary(bytes, options) {
849
+ return new SubgraphPublishStats().fromBinary(bytes, options);
850
+ }
851
+ static fromJson(jsonValue, options) {
852
+ return new SubgraphPublishStats().fromJson(jsonValue, options);
853
+ }
854
+ static fromJsonString(jsonString, options) {
855
+ return new SubgraphPublishStats().fromJsonString(jsonString, options);
856
+ }
857
+ static equals(a, b) {
858
+ return proto3.util.equals(SubgraphPublishStats, a, b);
859
+ }
860
+ }
809
861
  /**
810
862
  * @generated from message wg.cosmo.platform.v1.GitInfo
811
863
  */
@@ -18426,6 +18478,10 @@ export class CreateProposalResponse extends Message {
18426
18478
  * @generated from field: optional bool hasLinkedSchemaChecks = 20;
18427
18479
  */
18428
18480
  hasLinkedSchemaChecks;
18481
+ /**
18482
+ * @generated from field: repeated wg.cosmo.platform.v1.FederatedGraphSchemaChange composedSchemaBreakingChanges = 21;
18483
+ */
18484
+ composedSchemaBreakingChanges = [];
18429
18485
  constructor(data) {
18430
18486
  super();
18431
18487
  proto3.util.initPartial(data, this);
@@ -18453,6 +18509,7 @@ export class CreateProposalResponse extends Message {
18453
18509
  { no: 18, name: "isLinkedTrafficCheckFailed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
18454
18510
  { no: 19, name: "isLinkedPruningCheckFailed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
18455
18511
  { no: 20, name: "hasLinkedSchemaChecks", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
18512
+ { no: 21, name: "composedSchemaBreakingChanges", kind: "message", T: FederatedGraphSchemaChange, repeated: true },
18456
18513
  ]);
18457
18514
  static fromBinary(bytes, options) {
18458
18515
  return new CreateProposalResponse().fromBinary(bytes, options);