@wundergraph/cosmo-connect 0.72.4 → 0.74.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.
@@ -551,6 +551,10 @@ export declare class CreateMonographRequest extends Message<CreateMonographReque
551
551
  * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 9;
552
552
  */
553
553
  websocketSubprotocol?: GraphQLWebsocketSubprotocol;
554
+ /**
555
+ * @generated from field: optional string admissionWebhookSecret = 10;
556
+ */
557
+ admissionWebhookSecret?: string;
554
558
  constructor(data?: PartialMessage<CreateMonographRequest>);
555
559
  static readonly runtime: typeof proto3;
556
560
  static readonly typeName = "wg.cosmo.platform.v1.CreateMonographRequest";
@@ -613,6 +617,10 @@ export declare class CreateFederatedGraphRequest extends Message<CreateFederated
613
617
  * @generated from field: string admissionWebhookURL = 6;
614
618
  */
615
619
  admissionWebhookURL: string;
620
+ /**
621
+ * @generated from field: optional string admissionWebhookSecret = 7;
622
+ */
623
+ admissionWebhookSecret?: string;
616
624
  constructor(data?: PartialMessage<CreateFederatedGraphRequest>);
617
625
  static readonly runtime: typeof proto3;
618
626
  static readonly typeName = "wg.cosmo.platform.v1.CreateFederatedGraphRequest";
@@ -635,9 +643,9 @@ export declare class CreateFederatedSubgraphRequest extends Message<CreateFedera
635
643
  /**
636
644
  * routing_url is the URL of the service which will be used to route the requests to the subgraph.
637
645
  *
638
- * @generated from field: string routing_url = 2;
646
+ * @generated from field: optional string routing_url = 2;
639
647
  */
640
- routingUrl: string;
648
+ routingUrl?: string;
641
649
  /**
642
650
  * labels are the labels of the services which will form the federated graph. If the proposed is not valid, the service will be rejected.
643
651
  *
@@ -670,6 +678,10 @@ export declare class CreateFederatedSubgraphRequest extends Message<CreateFedera
670
678
  * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 9;
671
679
  */
672
680
  websocketSubprotocol?: GraphQLWebsocketSubprotocol;
681
+ /**
682
+ * @generated from field: optional bool is_event_driven_graph = 10;
683
+ */
684
+ isEventDrivenGraph?: boolean;
673
685
  constructor(data?: PartialMessage<CreateFederatedSubgraphRequest>);
674
686
  static readonly runtime: typeof proto3;
675
687
  static readonly typeName = "wg.cosmo.platform.v1.CreateFederatedSubgraphRequest";
@@ -1400,6 +1412,10 @@ export declare class Subgraph extends Message<Subgraph> {
1400
1412
  * @generated from field: optional bool isV2Graph = 12;
1401
1413
  */
1402
1414
  isV2Graph?: boolean;
1415
+ /**
1416
+ * @generated from field: bool isEventDrivenGraph = 13;
1417
+ */
1418
+ isEventDrivenGraph: boolean;
1403
1419
  constructor(data?: PartialMessage<Subgraph>);
1404
1420
  static readonly runtime: typeof proto3;
1405
1421
  static readonly typeName = "wg.cosmo.platform.v1.Subgraph";
@@ -2219,9 +2235,9 @@ export declare class UpdateSubgraphRequest extends Message<UpdateSubgraphRequest
2219
2235
  */
2220
2236
  name: string;
2221
2237
  /**
2222
- * @generated from field: string routing_url = 2;
2238
+ * @generated from field: optional string routing_url = 2;
2223
2239
  */
2224
- routingUrl: string;
2240
+ routingUrl?: string;
2225
2241
  /**
2226
2242
  * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
2227
2243
  */
@@ -2324,6 +2340,10 @@ export declare class UpdateFederatedGraphRequest extends Message<UpdateFederated
2324
2340
  * @generated from field: optional string admissionWebhookURL = 7;
2325
2341
  */
2326
2342
  admissionWebhookURL?: string;
2343
+ /**
2344
+ * @generated from field: optional string admissionWebhookSecret = 8;
2345
+ */
2346
+ admissionWebhookSecret?: string;
2327
2347
  constructor(data?: PartialMessage<UpdateFederatedGraphRequest>);
2328
2348
  static readonly runtime: typeof proto3;
2329
2349
  static readonly typeName = "wg.cosmo.platform.v1.UpdateFederatedGraphRequest";
@@ -2394,6 +2414,14 @@ export declare class UpdateMonographRequest extends Message<UpdateMonographReque
2394
2414
  * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 8;
2395
2415
  */
2396
2416
  websocketSubprotocol?: GraphQLWebsocketSubprotocol;
2417
+ /**
2418
+ * @generated from field: optional string admissionWebhookURL = 9;
2419
+ */
2420
+ admissionWebhookURL?: string;
2421
+ /**
2422
+ * @generated from field: optional string admissionWebhookSecret = 10;
2423
+ */
2424
+ admissionWebhookSecret?: string;
2397
2425
  constructor(data?: PartialMessage<UpdateMonographRequest>);
2398
2426
  static readonly runtime: typeof proto3;
2399
2427
  static readonly typeName = "wg.cosmo.platform.v1.UpdateMonographRequest";
@@ -7995,6 +8023,10 @@ export declare class CreateContractRequest extends Message<CreateContractRequest
7995
8023
  * @generated from field: optional string readme = 7;
7996
8024
  */
7997
8025
  readme?: string;
8026
+ /**
8027
+ * @generated from field: optional string admission_webhook_secret = 8;
8028
+ */
8029
+ admissionWebhookSecret?: string;
7998
8030
  constructor(data?: PartialMessage<CreateContractRequest>);
7999
8031
  static readonly runtime: typeof proto3;
8000
8032
  static readonly typeName = "wg.cosmo.platform.v1.CreateContractRequest";
@@ -783,6 +783,10 @@ export class CreateMonographRequest extends Message {
783
783
  * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 9;
784
784
  */
785
785
  websocketSubprotocol;
786
+ /**
787
+ * @generated from field: optional string admissionWebhookSecret = 10;
788
+ */
789
+ admissionWebhookSecret;
786
790
  constructor(data) {
787
791
  super();
788
792
  proto3.util.initPartial(data, this);
@@ -799,6 +803,7 @@ export class CreateMonographRequest extends Message {
799
803
  { no: 7, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
800
804
  { no: 8, name: "admissionWebhookURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
801
805
  { no: 9, name: "websocket_subprotocol", kind: "enum", T: proto3.getEnumType(GraphQLWebsocketSubprotocol), opt: true },
806
+ { no: 10, name: "admissionWebhookSecret", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
802
807
  ]);
803
808
  static fromBinary(bytes, options) {
804
809
  return new CreateMonographRequest().fromBinary(bytes, options);
@@ -879,6 +884,10 @@ export class CreateFederatedGraphRequest extends Message {
879
884
  * @generated from field: string admissionWebhookURL = 6;
880
885
  */
881
886
  admissionWebhookURL = "";
887
+ /**
888
+ * @generated from field: optional string admissionWebhookSecret = 7;
889
+ */
890
+ admissionWebhookSecret;
882
891
  constructor(data) {
883
892
  super();
884
893
  proto3.util.initPartial(data, this);
@@ -892,6 +901,7 @@ export class CreateFederatedGraphRequest extends Message {
892
901
  { no: 4, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
893
902
  { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
894
903
  { no: 6, name: "admissionWebhookURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
904
+ { no: 7, name: "admissionWebhookSecret", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
895
905
  ]);
896
906
  static fromBinary(bytes, options) {
897
907
  return new CreateFederatedGraphRequest().fromBinary(bytes, options);
@@ -919,9 +929,9 @@ export class CreateFederatedSubgraphRequest extends Message {
919
929
  /**
920
930
  * routing_url is the URL of the service which will be used to route the requests to the subgraph.
921
931
  *
922
- * @generated from field: string routing_url = 2;
932
+ * @generated from field: optional string routing_url = 2;
923
933
  */
924
- routingUrl = "";
934
+ routingUrl;
925
935
  /**
926
936
  * labels are the labels of the services which will form the federated graph. If the proposed is not valid, the service will be rejected.
927
937
  *
@@ -954,6 +964,10 @@ export class CreateFederatedSubgraphRequest extends Message {
954
964
  * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 9;
955
965
  */
956
966
  websocketSubprotocol;
967
+ /**
968
+ * @generated from field: optional bool is_event_driven_graph = 10;
969
+ */
970
+ isEventDrivenGraph;
957
971
  constructor(data) {
958
972
  super();
959
973
  proto3.util.initPartial(data, this);
@@ -962,13 +976,14 @@ export class CreateFederatedSubgraphRequest extends Message {
962
976
  static typeName = "wg.cosmo.platform.v1.CreateFederatedSubgraphRequest";
963
977
  static fields = proto3.util.newFieldList(() => [
964
978
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
965
- { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
979
+ { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
966
980
  { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
967
981
  { no: 5, name: "subscription_protocol", kind: "enum", T: proto3.getEnumType(GraphQLSubscriptionProtocol), opt: true },
968
982
  { no: 6, name: "subscription_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
969
983
  { no: 7, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
970
984
  { no: 8, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
971
985
  { no: 9, name: "websocket_subprotocol", kind: "enum", T: proto3.getEnumType(GraphQLWebsocketSubprotocol), opt: true },
986
+ { no: 10, name: "is_event_driven_graph", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
972
987
  ]);
973
988
  static fromBinary(bytes, options) {
974
989
  return new CreateFederatedSubgraphRequest().fromBinary(bytes, options);
@@ -2080,6 +2095,10 @@ export class Subgraph extends Message {
2080
2095
  * @generated from field: optional bool isV2Graph = 12;
2081
2096
  */
2082
2097
  isV2Graph;
2098
+ /**
2099
+ * @generated from field: bool isEventDrivenGraph = 13;
2100
+ */
2101
+ isEventDrivenGraph = false;
2083
2102
  constructor(data) {
2084
2103
  super();
2085
2104
  proto3.util.initPartial(data, this);
@@ -2099,6 +2118,7 @@ export class Subgraph extends Message {
2099
2118
  { no: 10, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2100
2119
  { no: 11, name: "subscriptionProtocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2101
2120
  { no: 12, name: "isV2Graph", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
2121
+ { no: 13, name: "isEventDrivenGraph", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2102
2122
  ]);
2103
2123
  static fromBinary(bytes, options) {
2104
2124
  return new Subgraph().fromBinary(bytes, options);
@@ -3377,9 +3397,9 @@ export class UpdateSubgraphRequest extends Message {
3377
3397
  */
3378
3398
  name = "";
3379
3399
  /**
3380
- * @generated from field: string routing_url = 2;
3400
+ * @generated from field: optional string routing_url = 2;
3381
3401
  */
3382
- routingUrl = "";
3402
+ routingUrl;
3383
3403
  /**
3384
3404
  * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
3385
3405
  */
@@ -3424,7 +3444,7 @@ export class UpdateSubgraphRequest extends Message {
3424
3444
  static typeName = "wg.cosmo.platform.v1.UpdateSubgraphRequest";
3425
3445
  static fields = proto3.util.newFieldList(() => [
3426
3446
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3427
- { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3447
+ { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3428
3448
  { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
3429
3449
  { no: 4, name: "headers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3430
3450
  { no: 5, name: "subscription_protocol", kind: "enum", T: proto3.getEnumType(GraphQLSubscriptionProtocol), opt: true },
@@ -3519,6 +3539,10 @@ export class UpdateFederatedGraphRequest extends Message {
3519
3539
  * @generated from field: optional string admissionWebhookURL = 7;
3520
3540
  */
3521
3541
  admissionWebhookURL;
3542
+ /**
3543
+ * @generated from field: optional string admissionWebhookSecret = 8;
3544
+ */
3545
+ admissionWebhookSecret;
3522
3546
  constructor(data) {
3523
3547
  super();
3524
3548
  proto3.util.initPartial(data, this);
@@ -3533,6 +3557,7 @@ export class UpdateFederatedGraphRequest extends Message {
3533
3557
  { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3534
3558
  { no: 6, name: "unset_label_matchers", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
3535
3559
  { no: 7, name: "admissionWebhookURL", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3560
+ { no: 8, name: "admissionWebhookSecret", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3536
3561
  ]);
3537
3562
  static fromBinary(bytes, options) {
3538
3563
  return new UpdateFederatedGraphRequest().fromBinary(bytes, options);
@@ -3623,6 +3648,14 @@ export class UpdateMonographRequest extends Message {
3623
3648
  * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 8;
3624
3649
  */
3625
3650
  websocketSubprotocol;
3651
+ /**
3652
+ * @generated from field: optional string admissionWebhookURL = 9;
3653
+ */
3654
+ admissionWebhookURL;
3655
+ /**
3656
+ * @generated from field: optional string admissionWebhookSecret = 10;
3657
+ */
3658
+ admissionWebhookSecret;
3626
3659
  constructor(data) {
3627
3660
  super();
3628
3661
  proto3.util.initPartial(data, this);
@@ -3638,6 +3671,8 @@ export class UpdateMonographRequest extends Message {
3638
3671
  { no: 6, name: "subscription_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3639
3672
  { no: 7, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3640
3673
  { no: 8, name: "websocket_subprotocol", kind: "enum", T: proto3.getEnumType(GraphQLWebsocketSubprotocol), opt: true },
3674
+ { no: 9, name: "admissionWebhookURL", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3675
+ { no: 10, name: "admissionWebhookSecret", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3641
3676
  ]);
3642
3677
  static fromBinary(bytes, options) {
3643
3678
  return new UpdateMonographRequest().fromBinary(bytes, options);
@@ -12616,6 +12651,10 @@ export class CreateContractRequest extends Message {
12616
12651
  * @generated from field: optional string readme = 7;
12617
12652
  */
12618
12653
  readme;
12654
+ /**
12655
+ * @generated from field: optional string admission_webhook_secret = 8;
12656
+ */
12657
+ admissionWebhookSecret;
12619
12658
  constructor(data) {
12620
12659
  super();
12621
12660
  proto3.util.initPartial(data, this);
@@ -12630,6 +12669,7 @@ export class CreateContractRequest extends Message {
12630
12669
  { no: 5, name: "admission_webhook_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
12631
12670
  { no: 6, name: "exclude_tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
12632
12671
  { no: 7, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
12672
+ { no: 8, name: "admission_webhook_secret", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
12633
12673
  ]);
12634
12674
  static fromBinary(bytes, options) {
12635
12675
  return new CreateContractRequest().fromBinary(bytes, options);