@wundergraph/cosmo-connect 0.122.0 → 0.124.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.
- package/dist/node/v1/node_pb.d.ts +105 -0
- package/dist/node/v1/node_pb.js +144 -0
- package/dist/node/v1/node_pb.js.map +1 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.d.ts +31 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.js +31 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.js.map +1 -1
- package/dist/platform/v1/platform_connect.d.ts +23 -1
- package/dist/platform/v1/platform_connect.js +23 -1
- package/dist/platform/v1/platform_connect.js.map +1 -1
- package/dist/platform/v1/platform_pb.d.ts +310 -9
- package/dist/platform/v1/platform_pb.js +416 -12
- package/dist/platform/v1/platform_pb.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -48,6 +48,31 @@ export declare enum DataSourceKind {
|
|
|
48
48
|
*/
|
|
49
49
|
PUBSUB = 2
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Defines the type of lookup operation
|
|
53
|
+
*
|
|
54
|
+
* @generated from enum wg.cosmo.node.v1.LookupType
|
|
55
|
+
*/
|
|
56
|
+
export declare enum LookupType {
|
|
57
|
+
/**
|
|
58
|
+
* Unspecified lookup type
|
|
59
|
+
*
|
|
60
|
+
* @generated from enum value: LOOKUP_TYPE_UNSPECIFIED = 0;
|
|
61
|
+
*/
|
|
62
|
+
UNSPECIFIED = 0,
|
|
63
|
+
/**
|
|
64
|
+
* Lookup type for field resolution
|
|
65
|
+
*
|
|
66
|
+
* @generated from enum value: LOOKUP_TYPE_RESOLVE = 1;
|
|
67
|
+
*/
|
|
68
|
+
RESOLVE = 1,
|
|
69
|
+
/**
|
|
70
|
+
* Lookup type for the @requires directive
|
|
71
|
+
*
|
|
72
|
+
* @generated from enum value: LOOKUP_TYPE_REQUIRES = 2;
|
|
73
|
+
*/
|
|
74
|
+
REQUIRES = 2
|
|
75
|
+
}
|
|
51
76
|
/**
|
|
52
77
|
* Defines the type of GraphQL operation
|
|
53
78
|
*
|
|
@@ -943,6 +968,8 @@ export declare class SSLConfiguration extends Message<SSLConfiguration> {
|
|
|
943
968
|
static equals(a: SSLConfiguration | PlainMessage<SSLConfiguration> | undefined, b: SSLConfiguration | PlainMessage<SSLConfiguration> | undefined): boolean;
|
|
944
969
|
}
|
|
945
970
|
/**
|
|
971
|
+
* Defines mapping for a gRPC service
|
|
972
|
+
*
|
|
946
973
|
* @generated from message wg.cosmo.node.v1.GRPCMapping
|
|
947
974
|
*/
|
|
948
975
|
export declare class GRPCMapping extends Message<GRPCMapping> {
|
|
@@ -982,6 +1009,12 @@ export declare class GRPCMapping extends Message<GRPCMapping> {
|
|
|
982
1009
|
* @generated from field: repeated wg.cosmo.node.v1.EnumMapping enum_mappings = 6;
|
|
983
1010
|
*/
|
|
984
1011
|
enumMappings: EnumMapping[];
|
|
1012
|
+
/**
|
|
1013
|
+
* Mappings for GraphQL resolve operations to gRPC service methods
|
|
1014
|
+
*
|
|
1015
|
+
* @generated from field: repeated wg.cosmo.node.v1.LookupMapping resolve_mappings = 7;
|
|
1016
|
+
*/
|
|
1017
|
+
resolveMappings: LookupMapping[];
|
|
985
1018
|
constructor(data?: PartialMessage<GRPCMapping>);
|
|
986
1019
|
static readonly runtime: typeof proto3;
|
|
987
1020
|
static readonly typeName = "wg.cosmo.node.v1.GRPCMapping";
|
|
@@ -991,6 +1024,78 @@ export declare class GRPCMapping extends Message<GRPCMapping> {
|
|
|
991
1024
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GRPCMapping;
|
|
992
1025
|
static equals(a: GRPCMapping | PlainMessage<GRPCMapping> | undefined, b: GRPCMapping | PlainMessage<GRPCMapping> | undefined): boolean;
|
|
993
1026
|
}
|
|
1027
|
+
/**
|
|
1028
|
+
* Defines mapping for a lookup operation
|
|
1029
|
+
*
|
|
1030
|
+
* @generated from message wg.cosmo.node.v1.LookupMapping
|
|
1031
|
+
*/
|
|
1032
|
+
export declare class LookupMapping extends Message<LookupMapping> {
|
|
1033
|
+
/**
|
|
1034
|
+
* Type of lookup operation
|
|
1035
|
+
*
|
|
1036
|
+
* @generated from field: wg.cosmo.node.v1.LookupType type = 1;
|
|
1037
|
+
*/
|
|
1038
|
+
type: LookupType;
|
|
1039
|
+
/**
|
|
1040
|
+
* Mappings for GraphQL type fields to gRPC message fields
|
|
1041
|
+
*
|
|
1042
|
+
* @generated from field: wg.cosmo.node.v1.LookupFieldMapping lookup_mapping = 2;
|
|
1043
|
+
*/
|
|
1044
|
+
lookupMapping?: LookupFieldMapping;
|
|
1045
|
+
/**
|
|
1046
|
+
* Mapped gRPC method name
|
|
1047
|
+
*
|
|
1048
|
+
* @generated from field: string rpc = 3;
|
|
1049
|
+
*/
|
|
1050
|
+
rpc: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Mapped gRPC request message type name
|
|
1053
|
+
*
|
|
1054
|
+
* @generated from field: string request = 4;
|
|
1055
|
+
*/
|
|
1056
|
+
request: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* Mapped gRPC response message type name
|
|
1059
|
+
*
|
|
1060
|
+
* @generated from field: string response = 5;
|
|
1061
|
+
*/
|
|
1062
|
+
response: string;
|
|
1063
|
+
constructor(data?: PartialMessage<LookupMapping>);
|
|
1064
|
+
static readonly runtime: typeof proto3;
|
|
1065
|
+
static readonly typeName = "wg.cosmo.node.v1.LookupMapping";
|
|
1066
|
+
static readonly fields: FieldList;
|
|
1067
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LookupMapping;
|
|
1068
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LookupMapping;
|
|
1069
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LookupMapping;
|
|
1070
|
+
static equals(a: LookupMapping | PlainMessage<LookupMapping> | undefined, b: LookupMapping | PlainMessage<LookupMapping> | undefined): boolean;
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
* Defines mapping for a lookup field
|
|
1074
|
+
*
|
|
1075
|
+
* @generated from message wg.cosmo.node.v1.LookupFieldMapping
|
|
1076
|
+
*/
|
|
1077
|
+
export declare class LookupFieldMapping extends Message<LookupFieldMapping> {
|
|
1078
|
+
/**
|
|
1079
|
+
* GraphQL type name
|
|
1080
|
+
*
|
|
1081
|
+
* @generated from field: string type = 1;
|
|
1082
|
+
*/
|
|
1083
|
+
type: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* Mapping for the lookup field
|
|
1086
|
+
*
|
|
1087
|
+
* @generated from field: wg.cosmo.node.v1.FieldMapping field_mapping = 2;
|
|
1088
|
+
*/
|
|
1089
|
+
fieldMapping?: FieldMapping;
|
|
1090
|
+
constructor(data?: PartialMessage<LookupFieldMapping>);
|
|
1091
|
+
static readonly runtime: typeof proto3;
|
|
1092
|
+
static readonly typeName = "wg.cosmo.node.v1.LookupFieldMapping";
|
|
1093
|
+
static readonly fields: FieldList;
|
|
1094
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LookupFieldMapping;
|
|
1095
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LookupFieldMapping;
|
|
1096
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LookupFieldMapping;
|
|
1097
|
+
static equals(a: LookupFieldMapping | PlainMessage<LookupFieldMapping> | undefined, b: LookupFieldMapping | PlainMessage<LookupFieldMapping> | undefined): boolean;
|
|
1098
|
+
}
|
|
994
1099
|
/**
|
|
995
1100
|
* Defines mapping between a GraphQL operation and a gRPC method
|
|
996
1101
|
*
|
package/dist/node/v1/node_pb.js
CHANGED
|
@@ -71,6 +71,38 @@ proto3.util.setEnumType(DataSourceKind, "wg.cosmo.node.v1.DataSourceKind", [
|
|
|
71
71
|
{ no: 1, name: "GRAPHQL" },
|
|
72
72
|
{ no: 2, name: "PUBSUB" },
|
|
73
73
|
]);
|
|
74
|
+
/**
|
|
75
|
+
* Defines the type of lookup operation
|
|
76
|
+
*
|
|
77
|
+
* @generated from enum wg.cosmo.node.v1.LookupType
|
|
78
|
+
*/
|
|
79
|
+
export var LookupType;
|
|
80
|
+
(function (LookupType) {
|
|
81
|
+
/**
|
|
82
|
+
* Unspecified lookup type
|
|
83
|
+
*
|
|
84
|
+
* @generated from enum value: LOOKUP_TYPE_UNSPECIFIED = 0;
|
|
85
|
+
*/
|
|
86
|
+
LookupType[LookupType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
87
|
+
/**
|
|
88
|
+
* Lookup type for field resolution
|
|
89
|
+
*
|
|
90
|
+
* @generated from enum value: LOOKUP_TYPE_RESOLVE = 1;
|
|
91
|
+
*/
|
|
92
|
+
LookupType[LookupType["RESOLVE"] = 1] = "RESOLVE";
|
|
93
|
+
/**
|
|
94
|
+
* Lookup type for the @requires directive
|
|
95
|
+
*
|
|
96
|
+
* @generated from enum value: LOOKUP_TYPE_REQUIRES = 2;
|
|
97
|
+
*/
|
|
98
|
+
LookupType[LookupType["REQUIRES"] = 2] = "REQUIRES";
|
|
99
|
+
})(LookupType || (LookupType = {}));
|
|
100
|
+
// Retrieve enum metadata with: proto3.getEnumType(LookupType)
|
|
101
|
+
proto3.util.setEnumType(LookupType, "wg.cosmo.node.v1.LookupType", [
|
|
102
|
+
{ no: 0, name: "LOOKUP_TYPE_UNSPECIFIED" },
|
|
103
|
+
{ no: 1, name: "LOOKUP_TYPE_RESOLVE" },
|
|
104
|
+
{ no: 2, name: "LOOKUP_TYPE_REQUIRES" },
|
|
105
|
+
]);
|
|
74
106
|
/**
|
|
75
107
|
* Defines the type of GraphQL operation
|
|
76
108
|
*
|
|
@@ -1437,6 +1469,8 @@ export class SSLConfiguration extends Message {
|
|
|
1437
1469
|
}
|
|
1438
1470
|
}
|
|
1439
1471
|
/**
|
|
1472
|
+
* Defines mapping for a gRPC service
|
|
1473
|
+
*
|
|
1440
1474
|
* @generated from message wg.cosmo.node.v1.GRPCMapping
|
|
1441
1475
|
*/
|
|
1442
1476
|
export class GRPCMapping extends Message {
|
|
@@ -1476,6 +1510,12 @@ export class GRPCMapping extends Message {
|
|
|
1476
1510
|
* @generated from field: repeated wg.cosmo.node.v1.EnumMapping enum_mappings = 6;
|
|
1477
1511
|
*/
|
|
1478
1512
|
enumMappings = [];
|
|
1513
|
+
/**
|
|
1514
|
+
* Mappings for GraphQL resolve operations to gRPC service methods
|
|
1515
|
+
*
|
|
1516
|
+
* @generated from field: repeated wg.cosmo.node.v1.LookupMapping resolve_mappings = 7;
|
|
1517
|
+
*/
|
|
1518
|
+
resolveMappings = [];
|
|
1479
1519
|
constructor(data) {
|
|
1480
1520
|
super();
|
|
1481
1521
|
proto3.util.initPartial(data, this);
|
|
@@ -1489,6 +1529,7 @@ export class GRPCMapping extends Message {
|
|
|
1489
1529
|
{ no: 4, name: "entity_mappings", kind: "message", T: EntityMapping, repeated: true },
|
|
1490
1530
|
{ no: 5, name: "type_field_mappings", kind: "message", T: TypeFieldMapping, repeated: true },
|
|
1491
1531
|
{ no: 6, name: "enum_mappings", kind: "message", T: EnumMapping, repeated: true },
|
|
1532
|
+
{ no: 7, name: "resolve_mappings", kind: "message", T: LookupMapping, repeated: true },
|
|
1492
1533
|
]);
|
|
1493
1534
|
static fromBinary(bytes, options) {
|
|
1494
1535
|
return new GRPCMapping().fromBinary(bytes, options);
|
|
@@ -1503,6 +1544,109 @@ export class GRPCMapping extends Message {
|
|
|
1503
1544
|
return proto3.util.equals(GRPCMapping, a, b);
|
|
1504
1545
|
}
|
|
1505
1546
|
}
|
|
1547
|
+
/**
|
|
1548
|
+
* Defines mapping for a lookup operation
|
|
1549
|
+
*
|
|
1550
|
+
* @generated from message wg.cosmo.node.v1.LookupMapping
|
|
1551
|
+
*/
|
|
1552
|
+
export class LookupMapping extends Message {
|
|
1553
|
+
/**
|
|
1554
|
+
* Type of lookup operation
|
|
1555
|
+
*
|
|
1556
|
+
* @generated from field: wg.cosmo.node.v1.LookupType type = 1;
|
|
1557
|
+
*/
|
|
1558
|
+
type = LookupType.UNSPECIFIED;
|
|
1559
|
+
/**
|
|
1560
|
+
* Mappings for GraphQL type fields to gRPC message fields
|
|
1561
|
+
*
|
|
1562
|
+
* @generated from field: wg.cosmo.node.v1.LookupFieldMapping lookup_mapping = 2;
|
|
1563
|
+
*/
|
|
1564
|
+
lookupMapping;
|
|
1565
|
+
/**
|
|
1566
|
+
* Mapped gRPC method name
|
|
1567
|
+
*
|
|
1568
|
+
* @generated from field: string rpc = 3;
|
|
1569
|
+
*/
|
|
1570
|
+
rpc = "";
|
|
1571
|
+
/**
|
|
1572
|
+
* Mapped gRPC request message type name
|
|
1573
|
+
*
|
|
1574
|
+
* @generated from field: string request = 4;
|
|
1575
|
+
*/
|
|
1576
|
+
request = "";
|
|
1577
|
+
/**
|
|
1578
|
+
* Mapped gRPC response message type name
|
|
1579
|
+
*
|
|
1580
|
+
* @generated from field: string response = 5;
|
|
1581
|
+
*/
|
|
1582
|
+
response = "";
|
|
1583
|
+
constructor(data) {
|
|
1584
|
+
super();
|
|
1585
|
+
proto3.util.initPartial(data, this);
|
|
1586
|
+
}
|
|
1587
|
+
static runtime = proto3;
|
|
1588
|
+
static typeName = "wg.cosmo.node.v1.LookupMapping";
|
|
1589
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1590
|
+
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(LookupType) },
|
|
1591
|
+
{ no: 2, name: "lookup_mapping", kind: "message", T: LookupFieldMapping },
|
|
1592
|
+
{ no: 3, name: "rpc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1593
|
+
{ no: 4, name: "request", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1594
|
+
{ no: 5, name: "response", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1595
|
+
]);
|
|
1596
|
+
static fromBinary(bytes, options) {
|
|
1597
|
+
return new LookupMapping().fromBinary(bytes, options);
|
|
1598
|
+
}
|
|
1599
|
+
static fromJson(jsonValue, options) {
|
|
1600
|
+
return new LookupMapping().fromJson(jsonValue, options);
|
|
1601
|
+
}
|
|
1602
|
+
static fromJsonString(jsonString, options) {
|
|
1603
|
+
return new LookupMapping().fromJsonString(jsonString, options);
|
|
1604
|
+
}
|
|
1605
|
+
static equals(a, b) {
|
|
1606
|
+
return proto3.util.equals(LookupMapping, a, b);
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
/**
|
|
1610
|
+
* Defines mapping for a lookup field
|
|
1611
|
+
*
|
|
1612
|
+
* @generated from message wg.cosmo.node.v1.LookupFieldMapping
|
|
1613
|
+
*/
|
|
1614
|
+
export class LookupFieldMapping extends Message {
|
|
1615
|
+
/**
|
|
1616
|
+
* GraphQL type name
|
|
1617
|
+
*
|
|
1618
|
+
* @generated from field: string type = 1;
|
|
1619
|
+
*/
|
|
1620
|
+
type = "";
|
|
1621
|
+
/**
|
|
1622
|
+
* Mapping for the lookup field
|
|
1623
|
+
*
|
|
1624
|
+
* @generated from field: wg.cosmo.node.v1.FieldMapping field_mapping = 2;
|
|
1625
|
+
*/
|
|
1626
|
+
fieldMapping;
|
|
1627
|
+
constructor(data) {
|
|
1628
|
+
super();
|
|
1629
|
+
proto3.util.initPartial(data, this);
|
|
1630
|
+
}
|
|
1631
|
+
static runtime = proto3;
|
|
1632
|
+
static typeName = "wg.cosmo.node.v1.LookupFieldMapping";
|
|
1633
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1634
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1635
|
+
{ no: 2, name: "field_mapping", kind: "message", T: FieldMapping },
|
|
1636
|
+
]);
|
|
1637
|
+
static fromBinary(bytes, options) {
|
|
1638
|
+
return new LookupFieldMapping().fromBinary(bytes, options);
|
|
1639
|
+
}
|
|
1640
|
+
static fromJson(jsonValue, options) {
|
|
1641
|
+
return new LookupFieldMapping().fromJson(jsonValue, options);
|
|
1642
|
+
}
|
|
1643
|
+
static fromJsonString(jsonString, options) {
|
|
1644
|
+
return new LookupFieldMapping().fromJsonString(jsonString, options);
|
|
1645
|
+
}
|
|
1646
|
+
static equals(a, b) {
|
|
1647
|
+
return proto3.util.equals(LookupFieldMapping, a, b);
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1506
1650
|
/**
|
|
1507
1651
|
* Defines mapping between a GraphQL operation and a gRPC method
|
|
1508
1652
|
*
|