@wundergraph/cosmo-connect 0.104.0 → 0.105.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.
@@ -48,6 +48,35 @@ export declare enum DataSourceKind {
48
48
  */
49
49
  PUBSUB = 2
50
50
  }
51
+ /**
52
+ * Defines the type of GraphQL operation
53
+ *
54
+ * @generated from enum wg.cosmo.node.v1.OperationType
55
+ */
56
+ export declare enum OperationType {
57
+ /**
58
+ * @generated from enum value: OPERATION_TYPE_UNSPECIFIED = 0;
59
+ */
60
+ UNSPECIFIED = 0,
61
+ /**
62
+ * Query operation
63
+ *
64
+ * @generated from enum value: OPERATION_TYPE_QUERY = 1;
65
+ */
66
+ QUERY = 1,
67
+ /**
68
+ * Mutation operation
69
+ *
70
+ * @generated from enum value: OPERATION_TYPE_MUTATION = 2;
71
+ */
72
+ MUTATION = 2,
73
+ /**
74
+ * Subscription operation
75
+ *
76
+ * @generated from enum value: OPERATION_TYPE_SUBSCRIPTION = 3;
77
+ */
78
+ SUBSCRIPTION = 3
79
+ }
51
80
  /**
52
81
  * @generated from enum wg.cosmo.node.v1.EventType
53
82
  */
@@ -798,6 +827,10 @@ export declare class DataSourceCustom_GraphQL extends Message<DataSourceCustom_G
798
827
  * @generated from field: repeated wg.cosmo.node.v1.SingleTypeField custom_scalar_type_fields = 6;
799
828
  */
800
829
  customScalarTypeFields: SingleTypeField[];
830
+ /**
831
+ * @generated from field: wg.cosmo.node.v1.GRPCConfiguration grpc = 7;
832
+ */
833
+ grpc?: GRPCConfiguration;
801
834
  constructor(data?: PartialMessage<DataSourceCustom_GraphQL>);
802
835
  static readonly runtime: typeof proto3;
803
836
  static readonly typeName = "wg.cosmo.node.v1.DataSourceCustom_GraphQL";
@@ -807,6 +840,349 @@ export declare class DataSourceCustom_GraphQL extends Message<DataSourceCustom_G
807
840
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataSourceCustom_GraphQL;
808
841
  static equals(a: DataSourceCustom_GraphQL | PlainMessage<DataSourceCustom_GraphQL> | undefined, b: DataSourceCustom_GraphQL | PlainMessage<DataSourceCustom_GraphQL> | undefined): boolean;
809
842
  }
843
+ /**
844
+ * @generated from message wg.cosmo.node.v1.GRPCConfiguration
845
+ */
846
+ export declare class GRPCConfiguration extends Message<GRPCConfiguration> {
847
+ /**
848
+ * @generated from field: wg.cosmo.node.v1.GRPCMapping mapping = 1;
849
+ */
850
+ mapping?: GRPCMapping;
851
+ /**
852
+ * @generated from field: string proto_schema = 2;
853
+ */
854
+ protoSchema: string;
855
+ /**
856
+ * @generated from field: wg.cosmo.node.v1.PluginConfiguration plugin = 3;
857
+ */
858
+ plugin?: PluginConfiguration;
859
+ constructor(data?: PartialMessage<GRPCConfiguration>);
860
+ static readonly runtime: typeof proto3;
861
+ static readonly typeName = "wg.cosmo.node.v1.GRPCConfiguration";
862
+ static readonly fields: FieldList;
863
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GRPCConfiguration;
864
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GRPCConfiguration;
865
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GRPCConfiguration;
866
+ static equals(a: GRPCConfiguration | PlainMessage<GRPCConfiguration> | undefined, b: GRPCConfiguration | PlainMessage<GRPCConfiguration> | undefined): boolean;
867
+ }
868
+ /**
869
+ * @generated from message wg.cosmo.node.v1.PluginConfiguration
870
+ */
871
+ export declare class PluginConfiguration extends Message<PluginConfiguration> {
872
+ /**
873
+ * Plugin name
874
+ *
875
+ * @generated from field: string name = 1;
876
+ */
877
+ name: string;
878
+ /**
879
+ * Plugin version
880
+ *
881
+ * @generated from field: string version = 2;
882
+ */
883
+ version: string;
884
+ constructor(data?: PartialMessage<PluginConfiguration>);
885
+ static readonly runtime: typeof proto3;
886
+ static readonly typeName = "wg.cosmo.node.v1.PluginConfiguration";
887
+ static readonly fields: FieldList;
888
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PluginConfiguration;
889
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PluginConfiguration;
890
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PluginConfiguration;
891
+ static equals(a: PluginConfiguration | PlainMessage<PluginConfiguration> | undefined, b: PluginConfiguration | PlainMessage<PluginConfiguration> | undefined): boolean;
892
+ }
893
+ /**
894
+ * @generated from message wg.cosmo.node.v1.SSLConfiguration
895
+ */
896
+ export declare class SSLConfiguration extends Message<SSLConfiguration> {
897
+ /**
898
+ * Whether SSL is enabled
899
+ *
900
+ * @generated from field: bool enabled = 1;
901
+ */
902
+ enabled: boolean;
903
+ constructor(data?: PartialMessage<SSLConfiguration>);
904
+ static readonly runtime: typeof proto3;
905
+ static readonly typeName = "wg.cosmo.node.v1.SSLConfiguration";
906
+ static readonly fields: FieldList;
907
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SSLConfiguration;
908
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SSLConfiguration;
909
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SSLConfiguration;
910
+ static equals(a: SSLConfiguration | PlainMessage<SSLConfiguration> | undefined, b: SSLConfiguration | PlainMessage<SSLConfiguration> | undefined): boolean;
911
+ }
912
+ /**
913
+ * @generated from message wg.cosmo.node.v1.GRPCMapping
914
+ */
915
+ export declare class GRPCMapping extends Message<GRPCMapping> {
916
+ /**
917
+ * Version of the mapping format
918
+ *
919
+ * @generated from field: int32 version = 1;
920
+ */
921
+ version: number;
922
+ /**
923
+ * The main gRPC service name
924
+ *
925
+ * @generated from field: string service = 2;
926
+ */
927
+ service: string;
928
+ /**
929
+ * Mappings for GraphQL operations to gRPC RPCs
930
+ *
931
+ * @generated from field: repeated wg.cosmo.node.v1.OperationMapping operation_mappings = 3;
932
+ */
933
+ operationMappings: OperationMapping[];
934
+ /**
935
+ * Mappings for GraphQL entities to gRPC service methods
936
+ *
937
+ * @generated from field: repeated wg.cosmo.node.v1.EntityMapping entity_mappings = 4;
938
+ */
939
+ entityMappings: EntityMapping[];
940
+ /**
941
+ * Mappings for GraphQL type fields to gRPC message fields
942
+ *
943
+ * @generated from field: repeated wg.cosmo.node.v1.TypeFieldMapping type_field_mappings = 5;
944
+ */
945
+ typeFieldMappings: TypeFieldMapping[];
946
+ /**
947
+ * Mappings for GraphQL enum values to gRPC enum values
948
+ *
949
+ * @generated from field: repeated wg.cosmo.node.v1.EnumMapping enum_mappings = 6;
950
+ */
951
+ enumMappings: EnumMapping[];
952
+ constructor(data?: PartialMessage<GRPCMapping>);
953
+ static readonly runtime: typeof proto3;
954
+ static readonly typeName = "wg.cosmo.node.v1.GRPCMapping";
955
+ static readonly fields: FieldList;
956
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GRPCMapping;
957
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GRPCMapping;
958
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GRPCMapping;
959
+ static equals(a: GRPCMapping | PlainMessage<GRPCMapping> | undefined, b: GRPCMapping | PlainMessage<GRPCMapping> | undefined): boolean;
960
+ }
961
+ /**
962
+ * Defines mapping between a GraphQL operation and a gRPC method
963
+ *
964
+ * @generated from message wg.cosmo.node.v1.OperationMapping
965
+ */
966
+ export declare class OperationMapping extends Message<OperationMapping> {
967
+ /**
968
+ * GraphQL operation type: Query, Mutation, or Subscription
969
+ *
970
+ * @generated from field: wg.cosmo.node.v1.OperationType type = 1;
971
+ */
972
+ type: OperationType;
973
+ /**
974
+ * Original GraphQL field name
975
+ *
976
+ * @generated from field: string original = 2;
977
+ */
978
+ original: string;
979
+ /**
980
+ * Mapped gRPC method name
981
+ *
982
+ * @generated from field: string mapped = 3;
983
+ */
984
+ mapped: string;
985
+ /**
986
+ * gRPC request message type name
987
+ *
988
+ * @generated from field: string request = 4;
989
+ */
990
+ request: string;
991
+ /**
992
+ * gRPC response message type name
993
+ *
994
+ * @generated from field: string response = 5;
995
+ */
996
+ response: string;
997
+ constructor(data?: PartialMessage<OperationMapping>);
998
+ static readonly runtime: typeof proto3;
999
+ static readonly typeName = "wg.cosmo.node.v1.OperationMapping";
1000
+ static readonly fields: FieldList;
1001
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OperationMapping;
1002
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OperationMapping;
1003
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OperationMapping;
1004
+ static equals(a: OperationMapping | PlainMessage<OperationMapping> | undefined, b: OperationMapping | PlainMessage<OperationMapping> | undefined): boolean;
1005
+ }
1006
+ /**
1007
+ * Defines mapping for entity resolution
1008
+ *
1009
+ * @generated from message wg.cosmo.node.v1.EntityMapping
1010
+ */
1011
+ export declare class EntityMapping extends Message<EntityMapping> {
1012
+ /**
1013
+ * GraphQL type name
1014
+ *
1015
+ * @generated from field: string type_name = 1;
1016
+ */
1017
+ typeName: string;
1018
+ /**
1019
+ * Kind of entity mapping: "entity", "requires", or "with_arguments"
1020
+ *
1021
+ * @generated from field: string kind = 2;
1022
+ */
1023
+ kind: string;
1024
+ /**
1025
+ * Key field that uniquely identifies the entity
1026
+ *
1027
+ * @generated from field: string key = 3;
1028
+ */
1029
+ key: string;
1030
+ /**
1031
+ * gRPC method name for entity resolution
1032
+ *
1033
+ * @generated from field: string rpc = 4;
1034
+ */
1035
+ rpc: string;
1036
+ /**
1037
+ * gRPC request message type name
1038
+ *
1039
+ * @generated from field: string request = 5;
1040
+ */
1041
+ request: string;
1042
+ /**
1043
+ * gRPC response message type name
1044
+ *
1045
+ * @generated from field: string response = 6;
1046
+ */
1047
+ response: string;
1048
+ constructor(data?: PartialMessage<EntityMapping>);
1049
+ static readonly runtime: typeof proto3;
1050
+ static readonly typeName = "wg.cosmo.node.v1.EntityMapping";
1051
+ static readonly fields: FieldList;
1052
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EntityMapping;
1053
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EntityMapping;
1054
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EntityMapping;
1055
+ static equals(a: EntityMapping | PlainMessage<EntityMapping> | undefined, b: EntityMapping | PlainMessage<EntityMapping> | undefined): boolean;
1056
+ }
1057
+ /**
1058
+ * Defines mapping between GraphQL type fields and gRPC message fields
1059
+ *
1060
+ * @generated from message wg.cosmo.node.v1.TypeFieldMapping
1061
+ */
1062
+ export declare class TypeFieldMapping extends Message<TypeFieldMapping> {
1063
+ /**
1064
+ * GraphQL type name
1065
+ *
1066
+ * @generated from field: string type = 1;
1067
+ */
1068
+ type: string;
1069
+ /**
1070
+ * Mappings for each field in the type
1071
+ *
1072
+ * @generated from field: repeated wg.cosmo.node.v1.FieldMapping field_mappings = 2;
1073
+ */
1074
+ fieldMappings: FieldMapping[];
1075
+ constructor(data?: PartialMessage<TypeFieldMapping>);
1076
+ static readonly runtime: typeof proto3;
1077
+ static readonly typeName = "wg.cosmo.node.v1.TypeFieldMapping";
1078
+ static readonly fields: FieldList;
1079
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TypeFieldMapping;
1080
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TypeFieldMapping;
1081
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TypeFieldMapping;
1082
+ static equals(a: TypeFieldMapping | PlainMessage<TypeFieldMapping> | undefined, b: TypeFieldMapping | PlainMessage<TypeFieldMapping> | undefined): boolean;
1083
+ }
1084
+ /**
1085
+ * Defines mapping for a single field
1086
+ *
1087
+ * @generated from message wg.cosmo.node.v1.FieldMapping
1088
+ */
1089
+ export declare class FieldMapping extends Message<FieldMapping> {
1090
+ /**
1091
+ * Original GraphQL field name
1092
+ *
1093
+ * @generated from field: string original = 1;
1094
+ */
1095
+ original: string;
1096
+ /**
1097
+ * Mapped gRPC field name
1098
+ *
1099
+ * @generated from field: string mapped = 2;
1100
+ */
1101
+ mapped: string;
1102
+ /**
1103
+ * Mappings for field arguments
1104
+ *
1105
+ * @generated from field: repeated wg.cosmo.node.v1.ArgumentMapping argument_mappings = 3;
1106
+ */
1107
+ argumentMappings: ArgumentMapping[];
1108
+ constructor(data?: PartialMessage<FieldMapping>);
1109
+ static readonly runtime: typeof proto3;
1110
+ static readonly typeName = "wg.cosmo.node.v1.FieldMapping";
1111
+ static readonly fields: FieldList;
1112
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldMapping;
1113
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldMapping;
1114
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldMapping;
1115
+ static equals(a: FieldMapping | PlainMessage<FieldMapping> | undefined, b: FieldMapping | PlainMessage<FieldMapping> | undefined): boolean;
1116
+ }
1117
+ /**
1118
+ * Defines mapping for a field argument
1119
+ *
1120
+ * @generated from message wg.cosmo.node.v1.ArgumentMapping
1121
+ */
1122
+ export declare class ArgumentMapping extends Message<ArgumentMapping> {
1123
+ /**
1124
+ * Original GraphQL argument name
1125
+ *
1126
+ * @generated from field: string original = 1;
1127
+ */
1128
+ original: string;
1129
+ /**
1130
+ * Mapped gRPC field name
1131
+ *
1132
+ * @generated from field: string mapped = 2;
1133
+ */
1134
+ mapped: string;
1135
+ constructor(data?: PartialMessage<ArgumentMapping>);
1136
+ static readonly runtime: typeof proto3;
1137
+ static readonly typeName = "wg.cosmo.node.v1.ArgumentMapping";
1138
+ static readonly fields: FieldList;
1139
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ArgumentMapping;
1140
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ArgumentMapping;
1141
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ArgumentMapping;
1142
+ static equals(a: ArgumentMapping | PlainMessage<ArgumentMapping> | undefined, b: ArgumentMapping | PlainMessage<ArgumentMapping> | undefined): boolean;
1143
+ }
1144
+ /**
1145
+ * @generated from message wg.cosmo.node.v1.EnumMapping
1146
+ */
1147
+ export declare class EnumMapping extends Message<EnumMapping> {
1148
+ /**
1149
+ * @generated from field: string type = 1;
1150
+ */
1151
+ type: string;
1152
+ /**
1153
+ * @generated from field: repeated wg.cosmo.node.v1.EnumValueMapping values = 2;
1154
+ */
1155
+ values: EnumValueMapping[];
1156
+ constructor(data?: PartialMessage<EnumMapping>);
1157
+ static readonly runtime: typeof proto3;
1158
+ static readonly typeName = "wg.cosmo.node.v1.EnumMapping";
1159
+ static readonly fields: FieldList;
1160
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumMapping;
1161
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumMapping;
1162
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumMapping;
1163
+ static equals(a: EnumMapping | PlainMessage<EnumMapping> | undefined, b: EnumMapping | PlainMessage<EnumMapping> | undefined): boolean;
1164
+ }
1165
+ /**
1166
+ * @generated from message wg.cosmo.node.v1.EnumValueMapping
1167
+ */
1168
+ export declare class EnumValueMapping extends Message<EnumValueMapping> {
1169
+ /**
1170
+ * @generated from field: string original = 1;
1171
+ */
1172
+ original: string;
1173
+ /**
1174
+ * @generated from field: string mapped = 2;
1175
+ */
1176
+ mapped: string;
1177
+ constructor(data?: PartialMessage<EnumValueMapping>);
1178
+ static readonly runtime: typeof proto3;
1179
+ static readonly typeName = "wg.cosmo.node.v1.EnumValueMapping";
1180
+ static readonly fields: FieldList;
1181
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumValueMapping;
1182
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumValueMapping;
1183
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumValueMapping;
1184
+ static equals(a: EnumValueMapping | PlainMessage<EnumValueMapping> | undefined, b: EnumValueMapping | PlainMessage<EnumValueMapping> | undefined): boolean;
1185
+ }
810
1186
  /**
811
1187
  * @generated from message wg.cosmo.node.v1.NatsStreamConfiguration
812
1188
  */