@wundergraph/cosmo-connect 0.73.0 → 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.
@@ -643,9 +643,9 @@ export declare class CreateFederatedSubgraphRequest extends Message<CreateFedera
643
643
  /**
644
644
  * routing_url is the URL of the service which will be used to route the requests to the subgraph.
645
645
  *
646
- * @generated from field: string routing_url = 2;
646
+ * @generated from field: optional string routing_url = 2;
647
647
  */
648
- routingUrl: string;
648
+ routingUrl?: string;
649
649
  /**
650
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.
651
651
  *
@@ -678,6 +678,10 @@ export declare class CreateFederatedSubgraphRequest extends Message<CreateFedera
678
678
  * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 9;
679
679
  */
680
680
  websocketSubprotocol?: GraphQLWebsocketSubprotocol;
681
+ /**
682
+ * @generated from field: optional bool is_event_driven_graph = 10;
683
+ */
684
+ isEventDrivenGraph?: boolean;
681
685
  constructor(data?: PartialMessage<CreateFederatedSubgraphRequest>);
682
686
  static readonly runtime: typeof proto3;
683
687
  static readonly typeName = "wg.cosmo.platform.v1.CreateFederatedSubgraphRequest";
@@ -1408,6 +1412,10 @@ export declare class Subgraph extends Message<Subgraph> {
1408
1412
  * @generated from field: optional bool isV2Graph = 12;
1409
1413
  */
1410
1414
  isV2Graph?: boolean;
1415
+ /**
1416
+ * @generated from field: bool isEventDrivenGraph = 13;
1417
+ */
1418
+ isEventDrivenGraph: boolean;
1411
1419
  constructor(data?: PartialMessage<Subgraph>);
1412
1420
  static readonly runtime: typeof proto3;
1413
1421
  static readonly typeName = "wg.cosmo.platform.v1.Subgraph";
@@ -2227,9 +2235,9 @@ export declare class UpdateSubgraphRequest extends Message<UpdateSubgraphRequest
2227
2235
  */
2228
2236
  name: string;
2229
2237
  /**
2230
- * @generated from field: string routing_url = 2;
2238
+ * @generated from field: optional string routing_url = 2;
2231
2239
  */
2232
- routingUrl: string;
2240
+ routingUrl?: string;
2233
2241
  /**
2234
2242
  * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
2235
2243
  */
@@ -929,9 +929,9 @@ export class CreateFederatedSubgraphRequest extends Message {
929
929
  /**
930
930
  * routing_url is the URL of the service which will be used to route the requests to the subgraph.
931
931
  *
932
- * @generated from field: string routing_url = 2;
932
+ * @generated from field: optional string routing_url = 2;
933
933
  */
934
- routingUrl = "";
934
+ routingUrl;
935
935
  /**
936
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.
937
937
  *
@@ -964,6 +964,10 @@ export class CreateFederatedSubgraphRequest extends Message {
964
964
  * @generated from field: optional wg.cosmo.common.GraphQLWebsocketSubprotocol websocket_subprotocol = 9;
965
965
  */
966
966
  websocketSubprotocol;
967
+ /**
968
+ * @generated from field: optional bool is_event_driven_graph = 10;
969
+ */
970
+ isEventDrivenGraph;
967
971
  constructor(data) {
968
972
  super();
969
973
  proto3.util.initPartial(data, this);
@@ -972,13 +976,14 @@ export class CreateFederatedSubgraphRequest extends Message {
972
976
  static typeName = "wg.cosmo.platform.v1.CreateFederatedSubgraphRequest";
973
977
  static fields = proto3.util.newFieldList(() => [
974
978
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
975
- { 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 },
976
980
  { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
977
981
  { no: 5, name: "subscription_protocol", kind: "enum", T: proto3.getEnumType(GraphQLSubscriptionProtocol), opt: true },
978
982
  { no: 6, name: "subscription_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
979
983
  { no: 7, name: "readme", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
980
984
  { no: 8, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
981
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 },
982
987
  ]);
983
988
  static fromBinary(bytes, options) {
984
989
  return new CreateFederatedSubgraphRequest().fromBinary(bytes, options);
@@ -2090,6 +2095,10 @@ export class Subgraph extends Message {
2090
2095
  * @generated from field: optional bool isV2Graph = 12;
2091
2096
  */
2092
2097
  isV2Graph;
2098
+ /**
2099
+ * @generated from field: bool isEventDrivenGraph = 13;
2100
+ */
2101
+ isEventDrivenGraph = false;
2093
2102
  constructor(data) {
2094
2103
  super();
2095
2104
  proto3.util.initPartial(data, this);
@@ -2109,6 +2118,7 @@ export class Subgraph extends Message {
2109
2118
  { no: 10, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2110
2119
  { no: 11, name: "subscriptionProtocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2111
2120
  { no: 12, name: "isV2Graph", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
2121
+ { no: 13, name: "isEventDrivenGraph", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2112
2122
  ]);
2113
2123
  static fromBinary(bytes, options) {
2114
2124
  return new Subgraph().fromBinary(bytes, options);
@@ -3387,9 +3397,9 @@ export class UpdateSubgraphRequest extends Message {
3387
3397
  */
3388
3398
  name = "";
3389
3399
  /**
3390
- * @generated from field: string routing_url = 2;
3400
+ * @generated from field: optional string routing_url = 2;
3391
3401
  */
3392
- routingUrl = "";
3402
+ routingUrl;
3393
3403
  /**
3394
3404
  * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
3395
3405
  */
@@ -3434,7 +3444,7 @@ export class UpdateSubgraphRequest extends Message {
3434
3444
  static typeName = "wg.cosmo.platform.v1.UpdateSubgraphRequest";
3435
3445
  static fields = proto3.util.newFieldList(() => [
3436
3446
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3437
- { 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 },
3438
3448
  { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
3439
3449
  { no: 4, name: "headers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3440
3450
  { no: 5, name: "subscription_protocol", kind: "enum", T: proto3.getEnumType(GraphQLSubscriptionProtocol), opt: true },