@wundergraph/cosmo-connect 0.104.0 → 0.106.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 +376 -0
- package/dist/node/v1/node_pb.js +551 -0
- package/dist/node/v1/node_pb.js.map +1 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.d.ts +99 -38
- package/dist/platform/v1/platform-PlatformService_connectquery.js +99 -38
- package/dist/platform/v1/platform-PlatformService_connectquery.js.map +1 -1
- package/dist/platform/v1/platform_connect.d.ts +74 -29
- package/dist/platform/v1/platform_connect.js +74 -29
- package/dist/platform/v1/platform_connect.js.map +1 -1
- package/dist/platform/v1/platform_pb.d.ts +526 -133
- package/dist/platform/v1/platform_pb.js +810 -171
- package/dist/platform/v1/platform_pb.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/node/v1/node_pb.js
CHANGED
|
@@ -71,6 +71,43 @@ 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 GraphQL operation
|
|
76
|
+
*
|
|
77
|
+
* @generated from enum wg.cosmo.node.v1.OperationType
|
|
78
|
+
*/
|
|
79
|
+
export var OperationType;
|
|
80
|
+
(function (OperationType) {
|
|
81
|
+
/**
|
|
82
|
+
* @generated from enum value: OPERATION_TYPE_UNSPECIFIED = 0;
|
|
83
|
+
*/
|
|
84
|
+
OperationType[OperationType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
85
|
+
/**
|
|
86
|
+
* Query operation
|
|
87
|
+
*
|
|
88
|
+
* @generated from enum value: OPERATION_TYPE_QUERY = 1;
|
|
89
|
+
*/
|
|
90
|
+
OperationType[OperationType["QUERY"] = 1] = "QUERY";
|
|
91
|
+
/**
|
|
92
|
+
* Mutation operation
|
|
93
|
+
*
|
|
94
|
+
* @generated from enum value: OPERATION_TYPE_MUTATION = 2;
|
|
95
|
+
*/
|
|
96
|
+
OperationType[OperationType["MUTATION"] = 2] = "MUTATION";
|
|
97
|
+
/**
|
|
98
|
+
* Subscription operation
|
|
99
|
+
*
|
|
100
|
+
* @generated from enum value: OPERATION_TYPE_SUBSCRIPTION = 3;
|
|
101
|
+
*/
|
|
102
|
+
OperationType[OperationType["SUBSCRIPTION"] = 3] = "SUBSCRIPTION";
|
|
103
|
+
})(OperationType || (OperationType = {}));
|
|
104
|
+
// Retrieve enum metadata with: proto3.getEnumType(OperationType)
|
|
105
|
+
proto3.util.setEnumType(OperationType, "wg.cosmo.node.v1.OperationType", [
|
|
106
|
+
{ no: 0, name: "OPERATION_TYPE_UNSPECIFIED" },
|
|
107
|
+
{ no: 1, name: "OPERATION_TYPE_QUERY" },
|
|
108
|
+
{ no: 2, name: "OPERATION_TYPE_MUTATION" },
|
|
109
|
+
{ no: 3, name: "OPERATION_TYPE_SUBSCRIPTION" },
|
|
110
|
+
]);
|
|
74
111
|
/**
|
|
75
112
|
* @generated from enum wg.cosmo.node.v1.EventType
|
|
76
113
|
*/
|
|
@@ -1208,6 +1245,10 @@ export class DataSourceCustom_GraphQL extends Message {
|
|
|
1208
1245
|
* @generated from field: repeated wg.cosmo.node.v1.SingleTypeField custom_scalar_type_fields = 6;
|
|
1209
1246
|
*/
|
|
1210
1247
|
customScalarTypeFields = [];
|
|
1248
|
+
/**
|
|
1249
|
+
* @generated from field: wg.cosmo.node.v1.GRPCConfiguration grpc = 7;
|
|
1250
|
+
*/
|
|
1251
|
+
grpc;
|
|
1211
1252
|
constructor(data) {
|
|
1212
1253
|
super();
|
|
1213
1254
|
proto3.util.initPartial(data, this);
|
|
@@ -1220,6 +1261,7 @@ export class DataSourceCustom_GraphQL extends Message {
|
|
|
1220
1261
|
{ no: 3, name: "federation", kind: "message", T: GraphQLFederationConfiguration },
|
|
1221
1262
|
{ no: 4, name: "upstream_schema", kind: "message", T: InternedString },
|
|
1222
1263
|
{ no: 6, name: "custom_scalar_type_fields", kind: "message", T: SingleTypeField, repeated: true },
|
|
1264
|
+
{ no: 7, name: "grpc", kind: "message", T: GRPCConfiguration },
|
|
1223
1265
|
]);
|
|
1224
1266
|
static fromBinary(bytes, options) {
|
|
1225
1267
|
return new DataSourceCustom_GraphQL().fromBinary(bytes, options);
|
|
@@ -1234,6 +1276,515 @@ export class DataSourceCustom_GraphQL extends Message {
|
|
|
1234
1276
|
return proto3.util.equals(DataSourceCustom_GraphQL, a, b);
|
|
1235
1277
|
}
|
|
1236
1278
|
}
|
|
1279
|
+
/**
|
|
1280
|
+
* @generated from message wg.cosmo.node.v1.GRPCConfiguration
|
|
1281
|
+
*/
|
|
1282
|
+
export class GRPCConfiguration extends Message {
|
|
1283
|
+
/**
|
|
1284
|
+
* @generated from field: wg.cosmo.node.v1.GRPCMapping mapping = 1;
|
|
1285
|
+
*/
|
|
1286
|
+
mapping;
|
|
1287
|
+
/**
|
|
1288
|
+
* @generated from field: string proto_schema = 2;
|
|
1289
|
+
*/
|
|
1290
|
+
protoSchema = "";
|
|
1291
|
+
/**
|
|
1292
|
+
* @generated from field: wg.cosmo.node.v1.PluginConfiguration plugin = 3;
|
|
1293
|
+
*/
|
|
1294
|
+
plugin;
|
|
1295
|
+
constructor(data) {
|
|
1296
|
+
super();
|
|
1297
|
+
proto3.util.initPartial(data, this);
|
|
1298
|
+
}
|
|
1299
|
+
static runtime = proto3;
|
|
1300
|
+
static typeName = "wg.cosmo.node.v1.GRPCConfiguration";
|
|
1301
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1302
|
+
{ no: 1, name: "mapping", kind: "message", T: GRPCMapping },
|
|
1303
|
+
{ no: 2, name: "proto_schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1304
|
+
{ no: 3, name: "plugin", kind: "message", T: PluginConfiguration },
|
|
1305
|
+
]);
|
|
1306
|
+
static fromBinary(bytes, options) {
|
|
1307
|
+
return new GRPCConfiguration().fromBinary(bytes, options);
|
|
1308
|
+
}
|
|
1309
|
+
static fromJson(jsonValue, options) {
|
|
1310
|
+
return new GRPCConfiguration().fromJson(jsonValue, options);
|
|
1311
|
+
}
|
|
1312
|
+
static fromJsonString(jsonString, options) {
|
|
1313
|
+
return new GRPCConfiguration().fromJsonString(jsonString, options);
|
|
1314
|
+
}
|
|
1315
|
+
static equals(a, b) {
|
|
1316
|
+
return proto3.util.equals(GRPCConfiguration, a, b);
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
/**
|
|
1320
|
+
* @generated from message wg.cosmo.node.v1.PluginConfiguration
|
|
1321
|
+
*/
|
|
1322
|
+
export class PluginConfiguration extends Message {
|
|
1323
|
+
/**
|
|
1324
|
+
* Plugin name
|
|
1325
|
+
*
|
|
1326
|
+
* @generated from field: string name = 1;
|
|
1327
|
+
*/
|
|
1328
|
+
name = "";
|
|
1329
|
+
/**
|
|
1330
|
+
* Plugin version
|
|
1331
|
+
*
|
|
1332
|
+
* @generated from field: string version = 2;
|
|
1333
|
+
*/
|
|
1334
|
+
version = "";
|
|
1335
|
+
constructor(data) {
|
|
1336
|
+
super();
|
|
1337
|
+
proto3.util.initPartial(data, this);
|
|
1338
|
+
}
|
|
1339
|
+
static runtime = proto3;
|
|
1340
|
+
static typeName = "wg.cosmo.node.v1.PluginConfiguration";
|
|
1341
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1342
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1343
|
+
{ no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1344
|
+
]);
|
|
1345
|
+
static fromBinary(bytes, options) {
|
|
1346
|
+
return new PluginConfiguration().fromBinary(bytes, options);
|
|
1347
|
+
}
|
|
1348
|
+
static fromJson(jsonValue, options) {
|
|
1349
|
+
return new PluginConfiguration().fromJson(jsonValue, options);
|
|
1350
|
+
}
|
|
1351
|
+
static fromJsonString(jsonString, options) {
|
|
1352
|
+
return new PluginConfiguration().fromJsonString(jsonString, options);
|
|
1353
|
+
}
|
|
1354
|
+
static equals(a, b) {
|
|
1355
|
+
return proto3.util.equals(PluginConfiguration, a, b);
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
/**
|
|
1359
|
+
* @generated from message wg.cosmo.node.v1.SSLConfiguration
|
|
1360
|
+
*/
|
|
1361
|
+
export class SSLConfiguration extends Message {
|
|
1362
|
+
/**
|
|
1363
|
+
* Whether SSL is enabled
|
|
1364
|
+
*
|
|
1365
|
+
* @generated from field: bool enabled = 1;
|
|
1366
|
+
*/
|
|
1367
|
+
enabled = false;
|
|
1368
|
+
constructor(data) {
|
|
1369
|
+
super();
|
|
1370
|
+
proto3.util.initPartial(data, this);
|
|
1371
|
+
}
|
|
1372
|
+
static runtime = proto3;
|
|
1373
|
+
static typeName = "wg.cosmo.node.v1.SSLConfiguration";
|
|
1374
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1375
|
+
{ no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1376
|
+
]);
|
|
1377
|
+
static fromBinary(bytes, options) {
|
|
1378
|
+
return new SSLConfiguration().fromBinary(bytes, options);
|
|
1379
|
+
}
|
|
1380
|
+
static fromJson(jsonValue, options) {
|
|
1381
|
+
return new SSLConfiguration().fromJson(jsonValue, options);
|
|
1382
|
+
}
|
|
1383
|
+
static fromJsonString(jsonString, options) {
|
|
1384
|
+
return new SSLConfiguration().fromJsonString(jsonString, options);
|
|
1385
|
+
}
|
|
1386
|
+
static equals(a, b) {
|
|
1387
|
+
return proto3.util.equals(SSLConfiguration, a, b);
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
/**
|
|
1391
|
+
* @generated from message wg.cosmo.node.v1.GRPCMapping
|
|
1392
|
+
*/
|
|
1393
|
+
export class GRPCMapping extends Message {
|
|
1394
|
+
/**
|
|
1395
|
+
* Version of the mapping format
|
|
1396
|
+
*
|
|
1397
|
+
* @generated from field: int32 version = 1;
|
|
1398
|
+
*/
|
|
1399
|
+
version = 0;
|
|
1400
|
+
/**
|
|
1401
|
+
* The main gRPC service name
|
|
1402
|
+
*
|
|
1403
|
+
* @generated from field: string service = 2;
|
|
1404
|
+
*/
|
|
1405
|
+
service = "";
|
|
1406
|
+
/**
|
|
1407
|
+
* Mappings for GraphQL operations to gRPC RPCs
|
|
1408
|
+
*
|
|
1409
|
+
* @generated from field: repeated wg.cosmo.node.v1.OperationMapping operation_mappings = 3;
|
|
1410
|
+
*/
|
|
1411
|
+
operationMappings = [];
|
|
1412
|
+
/**
|
|
1413
|
+
* Mappings for GraphQL entities to gRPC service methods
|
|
1414
|
+
*
|
|
1415
|
+
* @generated from field: repeated wg.cosmo.node.v1.EntityMapping entity_mappings = 4;
|
|
1416
|
+
*/
|
|
1417
|
+
entityMappings = [];
|
|
1418
|
+
/**
|
|
1419
|
+
* Mappings for GraphQL type fields to gRPC message fields
|
|
1420
|
+
*
|
|
1421
|
+
* @generated from field: repeated wg.cosmo.node.v1.TypeFieldMapping type_field_mappings = 5;
|
|
1422
|
+
*/
|
|
1423
|
+
typeFieldMappings = [];
|
|
1424
|
+
/**
|
|
1425
|
+
* Mappings for GraphQL enum values to gRPC enum values
|
|
1426
|
+
*
|
|
1427
|
+
* @generated from field: repeated wg.cosmo.node.v1.EnumMapping enum_mappings = 6;
|
|
1428
|
+
*/
|
|
1429
|
+
enumMappings = [];
|
|
1430
|
+
constructor(data) {
|
|
1431
|
+
super();
|
|
1432
|
+
proto3.util.initPartial(data, this);
|
|
1433
|
+
}
|
|
1434
|
+
static runtime = proto3;
|
|
1435
|
+
static typeName = "wg.cosmo.node.v1.GRPCMapping";
|
|
1436
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1437
|
+
{ no: 1, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1438
|
+
{ no: 2, name: "service", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1439
|
+
{ no: 3, name: "operation_mappings", kind: "message", T: OperationMapping, repeated: true },
|
|
1440
|
+
{ no: 4, name: "entity_mappings", kind: "message", T: EntityMapping, repeated: true },
|
|
1441
|
+
{ no: 5, name: "type_field_mappings", kind: "message", T: TypeFieldMapping, repeated: true },
|
|
1442
|
+
{ no: 6, name: "enum_mappings", kind: "message", T: EnumMapping, repeated: true },
|
|
1443
|
+
]);
|
|
1444
|
+
static fromBinary(bytes, options) {
|
|
1445
|
+
return new GRPCMapping().fromBinary(bytes, options);
|
|
1446
|
+
}
|
|
1447
|
+
static fromJson(jsonValue, options) {
|
|
1448
|
+
return new GRPCMapping().fromJson(jsonValue, options);
|
|
1449
|
+
}
|
|
1450
|
+
static fromJsonString(jsonString, options) {
|
|
1451
|
+
return new GRPCMapping().fromJsonString(jsonString, options);
|
|
1452
|
+
}
|
|
1453
|
+
static equals(a, b) {
|
|
1454
|
+
return proto3.util.equals(GRPCMapping, a, b);
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* Defines mapping between a GraphQL operation and a gRPC method
|
|
1459
|
+
*
|
|
1460
|
+
* @generated from message wg.cosmo.node.v1.OperationMapping
|
|
1461
|
+
*/
|
|
1462
|
+
export class OperationMapping extends Message {
|
|
1463
|
+
/**
|
|
1464
|
+
* GraphQL operation type: Query, Mutation, or Subscription
|
|
1465
|
+
*
|
|
1466
|
+
* @generated from field: wg.cosmo.node.v1.OperationType type = 1;
|
|
1467
|
+
*/
|
|
1468
|
+
type = OperationType.UNSPECIFIED;
|
|
1469
|
+
/**
|
|
1470
|
+
* Original GraphQL field name
|
|
1471
|
+
*
|
|
1472
|
+
* @generated from field: string original = 2;
|
|
1473
|
+
*/
|
|
1474
|
+
original = "";
|
|
1475
|
+
/**
|
|
1476
|
+
* Mapped gRPC method name
|
|
1477
|
+
*
|
|
1478
|
+
* @generated from field: string mapped = 3;
|
|
1479
|
+
*/
|
|
1480
|
+
mapped = "";
|
|
1481
|
+
/**
|
|
1482
|
+
* gRPC request message type name
|
|
1483
|
+
*
|
|
1484
|
+
* @generated from field: string request = 4;
|
|
1485
|
+
*/
|
|
1486
|
+
request = "";
|
|
1487
|
+
/**
|
|
1488
|
+
* gRPC response message type name
|
|
1489
|
+
*
|
|
1490
|
+
* @generated from field: string response = 5;
|
|
1491
|
+
*/
|
|
1492
|
+
response = "";
|
|
1493
|
+
constructor(data) {
|
|
1494
|
+
super();
|
|
1495
|
+
proto3.util.initPartial(data, this);
|
|
1496
|
+
}
|
|
1497
|
+
static runtime = proto3;
|
|
1498
|
+
static typeName = "wg.cosmo.node.v1.OperationMapping";
|
|
1499
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1500
|
+
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(OperationType) },
|
|
1501
|
+
{ no: 2, name: "original", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1502
|
+
{ no: 3, name: "mapped", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1503
|
+
{ no: 4, name: "request", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1504
|
+
{ no: 5, name: "response", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1505
|
+
]);
|
|
1506
|
+
static fromBinary(bytes, options) {
|
|
1507
|
+
return new OperationMapping().fromBinary(bytes, options);
|
|
1508
|
+
}
|
|
1509
|
+
static fromJson(jsonValue, options) {
|
|
1510
|
+
return new OperationMapping().fromJson(jsonValue, options);
|
|
1511
|
+
}
|
|
1512
|
+
static fromJsonString(jsonString, options) {
|
|
1513
|
+
return new OperationMapping().fromJsonString(jsonString, options);
|
|
1514
|
+
}
|
|
1515
|
+
static equals(a, b) {
|
|
1516
|
+
return proto3.util.equals(OperationMapping, a, b);
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
/**
|
|
1520
|
+
* Defines mapping for entity resolution
|
|
1521
|
+
*
|
|
1522
|
+
* @generated from message wg.cosmo.node.v1.EntityMapping
|
|
1523
|
+
*/
|
|
1524
|
+
export class EntityMapping extends Message {
|
|
1525
|
+
/**
|
|
1526
|
+
* GraphQL type name
|
|
1527
|
+
*
|
|
1528
|
+
* @generated from field: string type_name = 1;
|
|
1529
|
+
*/
|
|
1530
|
+
typeName = "";
|
|
1531
|
+
/**
|
|
1532
|
+
* Kind of entity mapping: "entity", "requires", or "with_arguments"
|
|
1533
|
+
*
|
|
1534
|
+
* @generated from field: string kind = 2;
|
|
1535
|
+
*/
|
|
1536
|
+
kind = "";
|
|
1537
|
+
/**
|
|
1538
|
+
* Key field that uniquely identifies the entity
|
|
1539
|
+
*
|
|
1540
|
+
* @generated from field: string key = 3;
|
|
1541
|
+
*/
|
|
1542
|
+
key = "";
|
|
1543
|
+
/**
|
|
1544
|
+
* gRPC method name for entity resolution
|
|
1545
|
+
*
|
|
1546
|
+
* @generated from field: string rpc = 4;
|
|
1547
|
+
*/
|
|
1548
|
+
rpc = "";
|
|
1549
|
+
/**
|
|
1550
|
+
* gRPC request message type name
|
|
1551
|
+
*
|
|
1552
|
+
* @generated from field: string request = 5;
|
|
1553
|
+
*/
|
|
1554
|
+
request = "";
|
|
1555
|
+
/**
|
|
1556
|
+
* gRPC response message type name
|
|
1557
|
+
*
|
|
1558
|
+
* @generated from field: string response = 6;
|
|
1559
|
+
*/
|
|
1560
|
+
response = "";
|
|
1561
|
+
constructor(data) {
|
|
1562
|
+
super();
|
|
1563
|
+
proto3.util.initPartial(data, this);
|
|
1564
|
+
}
|
|
1565
|
+
static runtime = proto3;
|
|
1566
|
+
static typeName = "wg.cosmo.node.v1.EntityMapping";
|
|
1567
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1568
|
+
{ no: 1, name: "type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1569
|
+
{ no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1570
|
+
{ no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1571
|
+
{ no: 4, name: "rpc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1572
|
+
{ no: 5, name: "request", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1573
|
+
{ no: 6, name: "response", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1574
|
+
]);
|
|
1575
|
+
static fromBinary(bytes, options) {
|
|
1576
|
+
return new EntityMapping().fromBinary(bytes, options);
|
|
1577
|
+
}
|
|
1578
|
+
static fromJson(jsonValue, options) {
|
|
1579
|
+
return new EntityMapping().fromJson(jsonValue, options);
|
|
1580
|
+
}
|
|
1581
|
+
static fromJsonString(jsonString, options) {
|
|
1582
|
+
return new EntityMapping().fromJsonString(jsonString, options);
|
|
1583
|
+
}
|
|
1584
|
+
static equals(a, b) {
|
|
1585
|
+
return proto3.util.equals(EntityMapping, a, b);
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
/**
|
|
1589
|
+
* Defines mapping between GraphQL type fields and gRPC message fields
|
|
1590
|
+
*
|
|
1591
|
+
* @generated from message wg.cosmo.node.v1.TypeFieldMapping
|
|
1592
|
+
*/
|
|
1593
|
+
export class TypeFieldMapping extends Message {
|
|
1594
|
+
/**
|
|
1595
|
+
* GraphQL type name
|
|
1596
|
+
*
|
|
1597
|
+
* @generated from field: string type = 1;
|
|
1598
|
+
*/
|
|
1599
|
+
type = "";
|
|
1600
|
+
/**
|
|
1601
|
+
* Mappings for each field in the type
|
|
1602
|
+
*
|
|
1603
|
+
* @generated from field: repeated wg.cosmo.node.v1.FieldMapping field_mappings = 2;
|
|
1604
|
+
*/
|
|
1605
|
+
fieldMappings = [];
|
|
1606
|
+
constructor(data) {
|
|
1607
|
+
super();
|
|
1608
|
+
proto3.util.initPartial(data, this);
|
|
1609
|
+
}
|
|
1610
|
+
static runtime = proto3;
|
|
1611
|
+
static typeName = "wg.cosmo.node.v1.TypeFieldMapping";
|
|
1612
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1613
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1614
|
+
{ no: 2, name: "field_mappings", kind: "message", T: FieldMapping, repeated: true },
|
|
1615
|
+
]);
|
|
1616
|
+
static fromBinary(bytes, options) {
|
|
1617
|
+
return new TypeFieldMapping().fromBinary(bytes, options);
|
|
1618
|
+
}
|
|
1619
|
+
static fromJson(jsonValue, options) {
|
|
1620
|
+
return new TypeFieldMapping().fromJson(jsonValue, options);
|
|
1621
|
+
}
|
|
1622
|
+
static fromJsonString(jsonString, options) {
|
|
1623
|
+
return new TypeFieldMapping().fromJsonString(jsonString, options);
|
|
1624
|
+
}
|
|
1625
|
+
static equals(a, b) {
|
|
1626
|
+
return proto3.util.equals(TypeFieldMapping, a, b);
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
/**
|
|
1630
|
+
* Defines mapping for a single field
|
|
1631
|
+
*
|
|
1632
|
+
* @generated from message wg.cosmo.node.v1.FieldMapping
|
|
1633
|
+
*/
|
|
1634
|
+
export class FieldMapping extends Message {
|
|
1635
|
+
/**
|
|
1636
|
+
* Original GraphQL field name
|
|
1637
|
+
*
|
|
1638
|
+
* @generated from field: string original = 1;
|
|
1639
|
+
*/
|
|
1640
|
+
original = "";
|
|
1641
|
+
/**
|
|
1642
|
+
* Mapped gRPC field name
|
|
1643
|
+
*
|
|
1644
|
+
* @generated from field: string mapped = 2;
|
|
1645
|
+
*/
|
|
1646
|
+
mapped = "";
|
|
1647
|
+
/**
|
|
1648
|
+
* Mappings for field arguments
|
|
1649
|
+
*
|
|
1650
|
+
* @generated from field: repeated wg.cosmo.node.v1.ArgumentMapping argument_mappings = 3;
|
|
1651
|
+
*/
|
|
1652
|
+
argumentMappings = [];
|
|
1653
|
+
constructor(data) {
|
|
1654
|
+
super();
|
|
1655
|
+
proto3.util.initPartial(data, this);
|
|
1656
|
+
}
|
|
1657
|
+
static runtime = proto3;
|
|
1658
|
+
static typeName = "wg.cosmo.node.v1.FieldMapping";
|
|
1659
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1660
|
+
{ no: 1, name: "original", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1661
|
+
{ no: 2, name: "mapped", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1662
|
+
{ no: 3, name: "argument_mappings", kind: "message", T: ArgumentMapping, repeated: true },
|
|
1663
|
+
]);
|
|
1664
|
+
static fromBinary(bytes, options) {
|
|
1665
|
+
return new FieldMapping().fromBinary(bytes, options);
|
|
1666
|
+
}
|
|
1667
|
+
static fromJson(jsonValue, options) {
|
|
1668
|
+
return new FieldMapping().fromJson(jsonValue, options);
|
|
1669
|
+
}
|
|
1670
|
+
static fromJsonString(jsonString, options) {
|
|
1671
|
+
return new FieldMapping().fromJsonString(jsonString, options);
|
|
1672
|
+
}
|
|
1673
|
+
static equals(a, b) {
|
|
1674
|
+
return proto3.util.equals(FieldMapping, a, b);
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
/**
|
|
1678
|
+
* Defines mapping for a field argument
|
|
1679
|
+
*
|
|
1680
|
+
* @generated from message wg.cosmo.node.v1.ArgumentMapping
|
|
1681
|
+
*/
|
|
1682
|
+
export class ArgumentMapping extends Message {
|
|
1683
|
+
/**
|
|
1684
|
+
* Original GraphQL argument name
|
|
1685
|
+
*
|
|
1686
|
+
* @generated from field: string original = 1;
|
|
1687
|
+
*/
|
|
1688
|
+
original = "";
|
|
1689
|
+
/**
|
|
1690
|
+
* Mapped gRPC field name
|
|
1691
|
+
*
|
|
1692
|
+
* @generated from field: string mapped = 2;
|
|
1693
|
+
*/
|
|
1694
|
+
mapped = "";
|
|
1695
|
+
constructor(data) {
|
|
1696
|
+
super();
|
|
1697
|
+
proto3.util.initPartial(data, this);
|
|
1698
|
+
}
|
|
1699
|
+
static runtime = proto3;
|
|
1700
|
+
static typeName = "wg.cosmo.node.v1.ArgumentMapping";
|
|
1701
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1702
|
+
{ no: 1, name: "original", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1703
|
+
{ no: 2, name: "mapped", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1704
|
+
]);
|
|
1705
|
+
static fromBinary(bytes, options) {
|
|
1706
|
+
return new ArgumentMapping().fromBinary(bytes, options);
|
|
1707
|
+
}
|
|
1708
|
+
static fromJson(jsonValue, options) {
|
|
1709
|
+
return new ArgumentMapping().fromJson(jsonValue, options);
|
|
1710
|
+
}
|
|
1711
|
+
static fromJsonString(jsonString, options) {
|
|
1712
|
+
return new ArgumentMapping().fromJsonString(jsonString, options);
|
|
1713
|
+
}
|
|
1714
|
+
static equals(a, b) {
|
|
1715
|
+
return proto3.util.equals(ArgumentMapping, a, b);
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
/**
|
|
1719
|
+
* @generated from message wg.cosmo.node.v1.EnumMapping
|
|
1720
|
+
*/
|
|
1721
|
+
export class EnumMapping extends Message {
|
|
1722
|
+
/**
|
|
1723
|
+
* @generated from field: string type = 1;
|
|
1724
|
+
*/
|
|
1725
|
+
type = "";
|
|
1726
|
+
/**
|
|
1727
|
+
* @generated from field: repeated wg.cosmo.node.v1.EnumValueMapping values = 2;
|
|
1728
|
+
*/
|
|
1729
|
+
values = [];
|
|
1730
|
+
constructor(data) {
|
|
1731
|
+
super();
|
|
1732
|
+
proto3.util.initPartial(data, this);
|
|
1733
|
+
}
|
|
1734
|
+
static runtime = proto3;
|
|
1735
|
+
static typeName = "wg.cosmo.node.v1.EnumMapping";
|
|
1736
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1737
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1738
|
+
{ no: 2, name: "values", kind: "message", T: EnumValueMapping, repeated: true },
|
|
1739
|
+
]);
|
|
1740
|
+
static fromBinary(bytes, options) {
|
|
1741
|
+
return new EnumMapping().fromBinary(bytes, options);
|
|
1742
|
+
}
|
|
1743
|
+
static fromJson(jsonValue, options) {
|
|
1744
|
+
return new EnumMapping().fromJson(jsonValue, options);
|
|
1745
|
+
}
|
|
1746
|
+
static fromJsonString(jsonString, options) {
|
|
1747
|
+
return new EnumMapping().fromJsonString(jsonString, options);
|
|
1748
|
+
}
|
|
1749
|
+
static equals(a, b) {
|
|
1750
|
+
return proto3.util.equals(EnumMapping, a, b);
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
/**
|
|
1754
|
+
* @generated from message wg.cosmo.node.v1.EnumValueMapping
|
|
1755
|
+
*/
|
|
1756
|
+
export class EnumValueMapping extends Message {
|
|
1757
|
+
/**
|
|
1758
|
+
* @generated from field: string original = 1;
|
|
1759
|
+
*/
|
|
1760
|
+
original = "";
|
|
1761
|
+
/**
|
|
1762
|
+
* @generated from field: string mapped = 2;
|
|
1763
|
+
*/
|
|
1764
|
+
mapped = "";
|
|
1765
|
+
constructor(data) {
|
|
1766
|
+
super();
|
|
1767
|
+
proto3.util.initPartial(data, this);
|
|
1768
|
+
}
|
|
1769
|
+
static runtime = proto3;
|
|
1770
|
+
static typeName = "wg.cosmo.node.v1.EnumValueMapping";
|
|
1771
|
+
static fields = proto3.util.newFieldList(() => [
|
|
1772
|
+
{ no: 1, name: "original", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1773
|
+
{ no: 2, name: "mapped", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1774
|
+
]);
|
|
1775
|
+
static fromBinary(bytes, options) {
|
|
1776
|
+
return new EnumValueMapping().fromBinary(bytes, options);
|
|
1777
|
+
}
|
|
1778
|
+
static fromJson(jsonValue, options) {
|
|
1779
|
+
return new EnumValueMapping().fromJson(jsonValue, options);
|
|
1780
|
+
}
|
|
1781
|
+
static fromJsonString(jsonString, options) {
|
|
1782
|
+
return new EnumValueMapping().fromJsonString(jsonString, options);
|
|
1783
|
+
}
|
|
1784
|
+
static equals(a, b) {
|
|
1785
|
+
return proto3.util.equals(EnumValueMapping, a, b);
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1237
1788
|
/**
|
|
1238
1789
|
* @generated from message wg.cosmo.node.v1.NatsStreamConfiguration
|
|
1239
1790
|
*/
|