@bufbuild/protobuf 2.4.0 → 2.5.1
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/cjs/codegenv1/enum.d.ts +2 -10
- package/dist/cjs/codegenv1/enum.js +3 -12
- package/dist/cjs/codegenv1/file.d.ts +1 -7
- package/dist/cjs/codegenv1/file.js +3 -20
- package/dist/cjs/codegenv1/index.d.ts +3 -3
- package/dist/cjs/codegenv1/index.js +3 -3
- package/dist/cjs/codegenv1/symbols.d.ts +60 -60
- package/dist/cjs/codegenv1/symbols.js +5 -34
- package/dist/cjs/codegenv1/types.d.ts +2 -1
- package/dist/cjs/codegenv2/enum.d.ts +18 -0
- package/dist/cjs/codegenv2/enum.js +40 -0
- package/dist/cjs/codegenv2/extension.d.ts +9 -0
- package/dist/cjs/codegenv2/extension.js +28 -0
- package/dist/cjs/codegenv2/file.d.ts +7 -0
- package/dist/cjs/codegenv2/file.js +35 -0
- package/dist/cjs/codegenv2/index.d.ts +10 -0
- package/dist/cjs/codegenv2/index.js +39 -0
- package/dist/cjs/codegenv2/message.d.ts +15 -0
- package/dist/cjs/codegenv2/message.js +24 -0
- package/dist/cjs/codegenv2/service.d.ts +8 -0
- package/dist/cjs/codegenv2/service.js +27 -0
- package/dist/cjs/codegenv2/symbols.d.ts +135 -0
- package/dist/cjs/codegenv2/symbols.js +72 -0
- package/dist/cjs/codegenv2/types.d.ts +81 -0
- package/dist/cjs/codegenv2/types.js +22 -0
- package/dist/cjs/types.d.ts +25 -8
- package/dist/cjs/wkt/gen/google/protobuf/any_pb.d.ts +4 -2
- package/dist/cjs/wkt/gen/google/protobuf/any_pb.js +2 -2
- package/dist/cjs/wkt/gen/google/protobuf/api_pb.d.ts +10 -4
- package/dist/cjs/wkt/gen/google/protobuf/api_pb.js +2 -2
- package/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +13 -5
- package/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.js +3 -3
- package/dist/cjs/wkt/gen/google/protobuf/cpp_features_pb.d.ts +4 -2
- package/dist/cjs/wkt/gen/google/protobuf/cpp_features_pb.js +4 -4
- package/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.d.ts +100 -34
- package/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.js +3 -3
- package/dist/cjs/wkt/gen/google/protobuf/duration_pb.d.ts +4 -2
- package/dist/cjs/wkt/gen/google/protobuf/duration_pb.js +2 -2
- package/dist/cjs/wkt/gen/google/protobuf/empty_pb.d.ts +4 -2
- package/dist/cjs/wkt/gen/google/protobuf/empty_pb.js +2 -2
- package/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.d.ts +4 -2
- package/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.js +2 -2
- package/dist/cjs/wkt/gen/google/protobuf/go_features_pb.d.ts +4 -2
- package/dist/cjs/wkt/gen/google/protobuf/go_features_pb.js +4 -4
- package/dist/cjs/wkt/gen/google/protobuf/java_features_pb.d.ts +4 -2
- package/dist/cjs/wkt/gen/google/protobuf/java_features_pb.js +4 -4
- package/dist/cjs/wkt/gen/google/protobuf/source_context_pb.d.ts +4 -2
- package/dist/cjs/wkt/gen/google/protobuf/source_context_pb.js +2 -2
- package/dist/cjs/wkt/gen/google/protobuf/struct_pb.d.ts +10 -4
- package/dist/cjs/wkt/gen/google/protobuf/struct_pb.js +3 -3
- package/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.d.ts +4 -2
- package/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.js +2 -2
- package/dist/cjs/wkt/gen/google/protobuf/type_pb.d.ts +16 -6
- package/dist/cjs/wkt/gen/google/protobuf/type_pb.js +3 -3
- package/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.d.ts +28 -10
- package/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.js +2 -2
- package/dist/esm/codegenv1/enum.d.ts +2 -10
- package/dist/esm/codegenv1/enum.js +1 -11
- package/dist/esm/codegenv1/file.d.ts +1 -7
- package/dist/esm/codegenv1/file.js +1 -19
- package/dist/esm/codegenv1/index.d.ts +3 -3
- package/dist/esm/codegenv1/index.js +3 -3
- package/dist/esm/codegenv1/symbols.d.ts +60 -60
- package/dist/esm/codegenv1/symbols.js +5 -34
- package/dist/esm/codegenv1/types.d.ts +2 -1
- package/dist/esm/codegenv2/enum.d.ts +18 -0
- package/dist/esm/codegenv2/enum.js +36 -0
- package/dist/esm/codegenv2/extension.d.ts +9 -0
- package/dist/esm/codegenv2/extension.js +25 -0
- package/dist/esm/codegenv2/file.d.ts +7 -0
- package/dist/esm/codegenv2/file.js +32 -0
- package/dist/esm/codegenv2/index.d.ts +10 -0
- package/dist/esm/codegenv2/index.js +23 -0
- package/dist/esm/codegenv2/message.d.ts +15 -0
- package/dist/esm/codegenv2/message.js +21 -0
- package/dist/esm/codegenv2/service.d.ts +8 -0
- package/dist/esm/codegenv2/service.js +24 -0
- package/dist/esm/codegenv2/symbols.d.ts +135 -0
- package/dist/esm/codegenv2/symbols.js +69 -0
- package/dist/esm/codegenv2/types.d.ts +81 -0
- package/dist/esm/codegenv2/types.js +21 -0
- package/dist/esm/types.d.ts +25 -8
- package/dist/esm/wkt/gen/google/protobuf/any_pb.d.ts +4 -2
- package/dist/esm/wkt/gen/google/protobuf/any_pb.js +2 -2
- package/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts +10 -4
- package/dist/esm/wkt/gen/google/protobuf/api_pb.js +2 -2
- package/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +13 -5
- package/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +3 -3
- package/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.d.ts +4 -2
- package/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +4 -4
- package/dist/esm/wkt/gen/google/protobuf/descriptor_pb.d.ts +100 -34
- package/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +3 -3
- package/dist/esm/wkt/gen/google/protobuf/duration_pb.d.ts +4 -2
- package/dist/esm/wkt/gen/google/protobuf/duration_pb.js +2 -2
- package/dist/esm/wkt/gen/google/protobuf/empty_pb.d.ts +4 -2
- package/dist/esm/wkt/gen/google/protobuf/empty_pb.js +2 -2
- package/dist/esm/wkt/gen/google/protobuf/field_mask_pb.d.ts +4 -2
- package/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +2 -2
- package/dist/esm/wkt/gen/google/protobuf/go_features_pb.d.ts +4 -2
- package/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +4 -4
- package/dist/esm/wkt/gen/google/protobuf/java_features_pb.d.ts +4 -2
- package/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +4 -4
- package/dist/esm/wkt/gen/google/protobuf/source_context_pb.d.ts +4 -2
- package/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +2 -2
- package/dist/esm/wkt/gen/google/protobuf/struct_pb.d.ts +10 -4
- package/dist/esm/wkt/gen/google/protobuf/struct_pb.js +3 -3
- package/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts +4 -2
- package/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +2 -2
- package/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts +16 -6
- package/dist/esm/wkt/gen/google/protobuf/type_pb.js +3 -3
- package/dist/esm/wkt/gen/google/protobuf/wrappers_pb.d.ts +28 -10
- package/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +2 -2
- package/package.json +9 -2
- /package/dist/cjs/{codegenv1 → codegenv2}/boot.d.ts +0 -0
- /package/dist/cjs/{codegenv1 → codegenv2}/boot.js +0 -0
- /package/dist/cjs/{codegenv1 → codegenv2}/embed.d.ts +0 -0
- /package/dist/cjs/{codegenv1 → codegenv2}/embed.js +0 -0
- /package/dist/cjs/{codegenv1 → codegenv2}/restore-json-names.d.ts +0 -0
- /package/dist/cjs/{codegenv1 → codegenv2}/restore-json-names.js +0 -0
- /package/dist/cjs/{codegenv1 → codegenv2}/scalar.d.ts +0 -0
- /package/dist/cjs/{codegenv1 → codegenv2}/scalar.js +0 -0
- /package/dist/esm/{codegenv1 → codegenv2}/boot.d.ts +0 -0
- /package/dist/esm/{codegenv1 → codegenv2}/boot.js +0 -0
- /package/dist/esm/{codegenv1 → codegenv2}/embed.d.ts +0 -0
- /package/dist/esm/{codegenv1 → codegenv2}/embed.js +0 -0
- /package/dist/esm/{codegenv1 → codegenv2}/restore-json-names.d.ts +0 -0
- /package/dist/esm/{codegenv1 → codegenv2}/restore-json-names.js +0 -0
- /package/dist/esm/{codegenv1 → codegenv2}/scalar.d.ts +0 -0
- /package/dist/esm/{codegenv1 → codegenv2}/scalar.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenFile, GenMessage } from "../../../../
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "../../../../codegenv2/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file google/protobuf/descriptor.proto.
|
|
@@ -32,7 +32,9 @@ export type FileDescriptorSetJson = {
|
|
|
32
32
|
* Describes the message google.protobuf.FileDescriptorSet.
|
|
33
33
|
* Use `create(FileDescriptorSetSchema)` to create a new message.
|
|
34
34
|
*/
|
|
35
|
-
export declare const FileDescriptorSetSchema: GenMessage<FileDescriptorSet,
|
|
35
|
+
export declare const FileDescriptorSetSchema: GenMessage<FileDescriptorSet, {
|
|
36
|
+
jsonType: FileDescriptorSetJson;
|
|
37
|
+
}>;
|
|
36
38
|
/**
|
|
37
39
|
* Describes a complete .proto file.
|
|
38
40
|
*
|
|
@@ -217,7 +219,9 @@ export type FileDescriptorProtoJson = {
|
|
|
217
219
|
* Describes the message google.protobuf.FileDescriptorProto.
|
|
218
220
|
* Use `create(FileDescriptorProtoSchema)` to create a new message.
|
|
219
221
|
*/
|
|
220
|
-
export declare const FileDescriptorProtoSchema: GenMessage<FileDescriptorProto,
|
|
222
|
+
export declare const FileDescriptorProtoSchema: GenMessage<FileDescriptorProto, {
|
|
223
|
+
jsonType: FileDescriptorProtoJson;
|
|
224
|
+
}>;
|
|
221
225
|
/**
|
|
222
226
|
* Describes a message type.
|
|
223
227
|
*
|
|
@@ -322,7 +326,9 @@ export type DescriptorProtoJson = {
|
|
|
322
326
|
* Describes the message google.protobuf.DescriptorProto.
|
|
323
327
|
* Use `create(DescriptorProtoSchema)` to create a new message.
|
|
324
328
|
*/
|
|
325
|
-
export declare const DescriptorProtoSchema: GenMessage<DescriptorProto,
|
|
329
|
+
export declare const DescriptorProtoSchema: GenMessage<DescriptorProto, {
|
|
330
|
+
jsonType: DescriptorProtoJson;
|
|
331
|
+
}>;
|
|
326
332
|
/**
|
|
327
333
|
* @generated from message google.protobuf.DescriptorProto.ExtensionRange
|
|
328
334
|
*/
|
|
@@ -369,7 +375,9 @@ export type DescriptorProto_ExtensionRangeJson = {
|
|
|
369
375
|
* Describes the message google.protobuf.DescriptorProto.ExtensionRange.
|
|
370
376
|
* Use `create(DescriptorProto_ExtensionRangeSchema)` to create a new message.
|
|
371
377
|
*/
|
|
372
|
-
export declare const DescriptorProto_ExtensionRangeSchema: GenMessage<DescriptorProto_ExtensionRange,
|
|
378
|
+
export declare const DescriptorProto_ExtensionRangeSchema: GenMessage<DescriptorProto_ExtensionRange, {
|
|
379
|
+
jsonType: DescriptorProto_ExtensionRangeJson;
|
|
380
|
+
}>;
|
|
373
381
|
/**
|
|
374
382
|
* Range of reserved tag numbers. Reserved tag numbers may not be used by
|
|
375
383
|
* fields or extension ranges in the same message. Reserved ranges may
|
|
@@ -416,7 +424,9 @@ export type DescriptorProto_ReservedRangeJson = {
|
|
|
416
424
|
* Describes the message google.protobuf.DescriptorProto.ReservedRange.
|
|
417
425
|
* Use `create(DescriptorProto_ReservedRangeSchema)` to create a new message.
|
|
418
426
|
*/
|
|
419
|
-
export declare const DescriptorProto_ReservedRangeSchema: GenMessage<DescriptorProto_ReservedRange,
|
|
427
|
+
export declare const DescriptorProto_ReservedRangeSchema: GenMessage<DescriptorProto_ReservedRange, {
|
|
428
|
+
jsonType: DescriptorProto_ReservedRangeJson;
|
|
429
|
+
}>;
|
|
420
430
|
/**
|
|
421
431
|
* @generated from message google.protobuf.ExtensionRangeOptions
|
|
422
432
|
*/
|
|
@@ -487,7 +497,9 @@ export type ExtensionRangeOptionsJson = {
|
|
|
487
497
|
* Describes the message google.protobuf.ExtensionRangeOptions.
|
|
488
498
|
* Use `create(ExtensionRangeOptionsSchema)` to create a new message.
|
|
489
499
|
*/
|
|
490
|
-
export declare const ExtensionRangeOptionsSchema: GenMessage<ExtensionRangeOptions,
|
|
500
|
+
export declare const ExtensionRangeOptionsSchema: GenMessage<ExtensionRangeOptions, {
|
|
501
|
+
jsonType: ExtensionRangeOptionsJson;
|
|
502
|
+
}>;
|
|
491
503
|
/**
|
|
492
504
|
* @generated from message google.protobuf.ExtensionRangeOptions.Declaration
|
|
493
505
|
*/
|
|
@@ -574,7 +586,9 @@ export type ExtensionRangeOptions_DeclarationJson = {
|
|
|
574
586
|
* Describes the message google.protobuf.ExtensionRangeOptions.Declaration.
|
|
575
587
|
* Use `create(ExtensionRangeOptions_DeclarationSchema)` to create a new message.
|
|
576
588
|
*/
|
|
577
|
-
export declare const ExtensionRangeOptions_DeclarationSchema: GenMessage<ExtensionRangeOptions_Declaration,
|
|
589
|
+
export declare const ExtensionRangeOptions_DeclarationSchema: GenMessage<ExtensionRangeOptions_Declaration, {
|
|
590
|
+
jsonType: ExtensionRangeOptions_DeclarationJson;
|
|
591
|
+
}>;
|
|
578
592
|
/**
|
|
579
593
|
* The verification state of the extension range.
|
|
580
594
|
*
|
|
@@ -802,7 +816,9 @@ export type FieldDescriptorProtoJson = {
|
|
|
802
816
|
* Describes the message google.protobuf.FieldDescriptorProto.
|
|
803
817
|
* Use `create(FieldDescriptorProtoSchema)` to create a new message.
|
|
804
818
|
*/
|
|
805
|
-
export declare const FieldDescriptorProtoSchema: GenMessage<FieldDescriptorProto,
|
|
819
|
+
export declare const FieldDescriptorProtoSchema: GenMessage<FieldDescriptorProto, {
|
|
820
|
+
jsonType: FieldDescriptorProtoJson;
|
|
821
|
+
}>;
|
|
806
822
|
/**
|
|
807
823
|
* @generated from enum google.protobuf.FieldDescriptorProto.Type
|
|
808
824
|
*/
|
|
@@ -976,7 +992,9 @@ export type OneofDescriptorProtoJson = {
|
|
|
976
992
|
* Describes the message google.protobuf.OneofDescriptorProto.
|
|
977
993
|
* Use `create(OneofDescriptorProtoSchema)` to create a new message.
|
|
978
994
|
*/
|
|
979
|
-
export declare const OneofDescriptorProtoSchema: GenMessage<OneofDescriptorProto,
|
|
995
|
+
export declare const OneofDescriptorProtoSchema: GenMessage<OneofDescriptorProto, {
|
|
996
|
+
jsonType: OneofDescriptorProtoJson;
|
|
997
|
+
}>;
|
|
980
998
|
/**
|
|
981
999
|
* Describes an enum type.
|
|
982
1000
|
*
|
|
@@ -1049,7 +1067,9 @@ export type EnumDescriptorProtoJson = {
|
|
|
1049
1067
|
* Describes the message google.protobuf.EnumDescriptorProto.
|
|
1050
1068
|
* Use `create(EnumDescriptorProtoSchema)` to create a new message.
|
|
1051
1069
|
*/
|
|
1052
|
-
export declare const EnumDescriptorProtoSchema: GenMessage<EnumDescriptorProto,
|
|
1070
|
+
export declare const EnumDescriptorProtoSchema: GenMessage<EnumDescriptorProto, {
|
|
1071
|
+
jsonType: EnumDescriptorProtoJson;
|
|
1072
|
+
}>;
|
|
1053
1073
|
/**
|
|
1054
1074
|
* Range of reserved numeric values. Reserved values may not be used by
|
|
1055
1075
|
* entries in the same enum. Reserved ranges may not overlap.
|
|
@@ -1102,7 +1122,9 @@ export type EnumDescriptorProto_EnumReservedRangeJson = {
|
|
|
1102
1122
|
* Describes the message google.protobuf.EnumDescriptorProto.EnumReservedRange.
|
|
1103
1123
|
* Use `create(EnumDescriptorProto_EnumReservedRangeSchema)` to create a new message.
|
|
1104
1124
|
*/
|
|
1105
|
-
export declare const EnumDescriptorProto_EnumReservedRangeSchema: GenMessage<EnumDescriptorProto_EnumReservedRange,
|
|
1125
|
+
export declare const EnumDescriptorProto_EnumReservedRangeSchema: GenMessage<EnumDescriptorProto_EnumReservedRange, {
|
|
1126
|
+
jsonType: EnumDescriptorProto_EnumReservedRangeJson;
|
|
1127
|
+
}>;
|
|
1106
1128
|
/**
|
|
1107
1129
|
* Describes a value within an enum.
|
|
1108
1130
|
*
|
|
@@ -1145,7 +1167,9 @@ export type EnumValueDescriptorProtoJson = {
|
|
|
1145
1167
|
* Describes the message google.protobuf.EnumValueDescriptorProto.
|
|
1146
1168
|
* Use `create(EnumValueDescriptorProtoSchema)` to create a new message.
|
|
1147
1169
|
*/
|
|
1148
|
-
export declare const EnumValueDescriptorProtoSchema: GenMessage<EnumValueDescriptorProto,
|
|
1170
|
+
export declare const EnumValueDescriptorProtoSchema: GenMessage<EnumValueDescriptorProto, {
|
|
1171
|
+
jsonType: EnumValueDescriptorProtoJson;
|
|
1172
|
+
}>;
|
|
1149
1173
|
/**
|
|
1150
1174
|
* Describes a service.
|
|
1151
1175
|
*
|
|
@@ -1188,7 +1212,9 @@ export type ServiceDescriptorProtoJson = {
|
|
|
1188
1212
|
* Describes the message google.protobuf.ServiceDescriptorProto.
|
|
1189
1213
|
* Use `create(ServiceDescriptorProtoSchema)` to create a new message.
|
|
1190
1214
|
*/
|
|
1191
|
-
export declare const ServiceDescriptorProtoSchema: GenMessage<ServiceDescriptorProto,
|
|
1215
|
+
export declare const ServiceDescriptorProtoSchema: GenMessage<ServiceDescriptorProto, {
|
|
1216
|
+
jsonType: ServiceDescriptorProtoJson;
|
|
1217
|
+
}>;
|
|
1192
1218
|
/**
|
|
1193
1219
|
* Describes a method of a service.
|
|
1194
1220
|
*
|
|
@@ -1269,7 +1295,9 @@ export type MethodDescriptorProtoJson = {
|
|
|
1269
1295
|
* Describes the message google.protobuf.MethodDescriptorProto.
|
|
1270
1296
|
* Use `create(MethodDescriptorProtoSchema)` to create a new message.
|
|
1271
1297
|
*/
|
|
1272
|
-
export declare const MethodDescriptorProtoSchema: GenMessage<MethodDescriptorProto,
|
|
1298
|
+
export declare const MethodDescriptorProtoSchema: GenMessage<MethodDescriptorProto, {
|
|
1299
|
+
jsonType: MethodDescriptorProtoJson;
|
|
1300
|
+
}>;
|
|
1273
1301
|
/**
|
|
1274
1302
|
* @generated from message google.protobuf.FileOptions
|
|
1275
1303
|
*/
|
|
@@ -1632,7 +1660,9 @@ export type FileOptionsJson = {
|
|
|
1632
1660
|
* Describes the message google.protobuf.FileOptions.
|
|
1633
1661
|
* Use `create(FileOptionsSchema)` to create a new message.
|
|
1634
1662
|
*/
|
|
1635
|
-
export declare const FileOptionsSchema: GenMessage<FileOptions,
|
|
1663
|
+
export declare const FileOptionsSchema: GenMessage<FileOptions, {
|
|
1664
|
+
jsonType: FileOptionsJson;
|
|
1665
|
+
}>;
|
|
1636
1666
|
/**
|
|
1637
1667
|
* Generated classes can be optimized for speed or code size.
|
|
1638
1668
|
*
|
|
@@ -1878,7 +1908,9 @@ export type MessageOptionsJson = {
|
|
|
1878
1908
|
* Describes the message google.protobuf.MessageOptions.
|
|
1879
1909
|
* Use `create(MessageOptionsSchema)` to create a new message.
|
|
1880
1910
|
*/
|
|
1881
|
-
export declare const MessageOptionsSchema: GenMessage<MessageOptions,
|
|
1911
|
+
export declare const MessageOptionsSchema: GenMessage<MessageOptions, {
|
|
1912
|
+
jsonType: MessageOptionsJson;
|
|
1913
|
+
}>;
|
|
1882
1914
|
/**
|
|
1883
1915
|
* @generated from message google.protobuf.FieldOptions
|
|
1884
1916
|
*/
|
|
@@ -2149,7 +2181,9 @@ export type FieldOptionsJson = {
|
|
|
2149
2181
|
* Describes the message google.protobuf.FieldOptions.
|
|
2150
2182
|
* Use `create(FieldOptionsSchema)` to create a new message.
|
|
2151
2183
|
*/
|
|
2152
|
-
export declare const FieldOptionsSchema: GenMessage<FieldOptions,
|
|
2184
|
+
export declare const FieldOptionsSchema: GenMessage<FieldOptions, {
|
|
2185
|
+
jsonType: FieldOptionsJson;
|
|
2186
|
+
}>;
|
|
2153
2187
|
/**
|
|
2154
2188
|
* @generated from message google.protobuf.FieldOptions.EditionDefault
|
|
2155
2189
|
*/
|
|
@@ -2184,7 +2218,9 @@ export type FieldOptions_EditionDefaultJson = {
|
|
|
2184
2218
|
* Describes the message google.protobuf.FieldOptions.EditionDefault.
|
|
2185
2219
|
* Use `create(FieldOptions_EditionDefaultSchema)` to create a new message.
|
|
2186
2220
|
*/
|
|
2187
|
-
export declare const FieldOptions_EditionDefaultSchema: GenMessage<FieldOptions_EditionDefault,
|
|
2221
|
+
export declare const FieldOptions_EditionDefaultSchema: GenMessage<FieldOptions_EditionDefault, {
|
|
2222
|
+
jsonType: FieldOptions_EditionDefaultJson;
|
|
2223
|
+
}>;
|
|
2188
2224
|
/**
|
|
2189
2225
|
* Information about the support window of a feature.
|
|
2190
2226
|
*
|
|
@@ -2263,7 +2299,9 @@ export type FieldOptions_FeatureSupportJson = {
|
|
|
2263
2299
|
* Describes the message google.protobuf.FieldOptions.FeatureSupport.
|
|
2264
2300
|
* Use `create(FieldOptions_FeatureSupportSchema)` to create a new message.
|
|
2265
2301
|
*/
|
|
2266
|
-
export declare const FieldOptions_FeatureSupportSchema: GenMessage<FieldOptions_FeatureSupport,
|
|
2302
|
+
export declare const FieldOptions_FeatureSupportSchema: GenMessage<FieldOptions_FeatureSupport, {
|
|
2303
|
+
jsonType: FieldOptions_FeatureSupportJson;
|
|
2304
|
+
}>;
|
|
2267
2305
|
/**
|
|
2268
2306
|
* @generated from enum google.protobuf.FieldOptions.CType
|
|
2269
2307
|
*/
|
|
@@ -2463,7 +2501,9 @@ export type OneofOptionsJson = {
|
|
|
2463
2501
|
* Describes the message google.protobuf.OneofOptions.
|
|
2464
2502
|
* Use `create(OneofOptionsSchema)` to create a new message.
|
|
2465
2503
|
*/
|
|
2466
|
-
export declare const OneofOptionsSchema: GenMessage<OneofOptions,
|
|
2504
|
+
export declare const OneofOptionsSchema: GenMessage<OneofOptions, {
|
|
2505
|
+
jsonType: OneofOptionsJson;
|
|
2506
|
+
}>;
|
|
2467
2507
|
/**
|
|
2468
2508
|
* @generated from message google.protobuf.EnumOptions
|
|
2469
2509
|
*/
|
|
@@ -2564,7 +2604,9 @@ export type EnumOptionsJson = {
|
|
|
2564
2604
|
* Describes the message google.protobuf.EnumOptions.
|
|
2565
2605
|
* Use `create(EnumOptionsSchema)` to create a new message.
|
|
2566
2606
|
*/
|
|
2567
|
-
export declare const EnumOptionsSchema: GenMessage<EnumOptions,
|
|
2607
|
+
export declare const EnumOptionsSchema: GenMessage<EnumOptions, {
|
|
2608
|
+
jsonType: EnumOptionsJson;
|
|
2609
|
+
}>;
|
|
2568
2610
|
/**
|
|
2569
2611
|
* @generated from message google.protobuf.EnumValueOptions
|
|
2570
2612
|
*/
|
|
@@ -2655,7 +2697,9 @@ export type EnumValueOptionsJson = {
|
|
|
2655
2697
|
* Describes the message google.protobuf.EnumValueOptions.
|
|
2656
2698
|
* Use `create(EnumValueOptionsSchema)` to create a new message.
|
|
2657
2699
|
*/
|
|
2658
|
-
export declare const EnumValueOptionsSchema: GenMessage<EnumValueOptions,
|
|
2700
|
+
export declare const EnumValueOptionsSchema: GenMessage<EnumValueOptions, {
|
|
2701
|
+
jsonType: EnumValueOptionsJson;
|
|
2702
|
+
}>;
|
|
2659
2703
|
/**
|
|
2660
2704
|
* @generated from message google.protobuf.ServiceOptions
|
|
2661
2705
|
*/
|
|
@@ -2718,7 +2762,9 @@ export type ServiceOptionsJson = {
|
|
|
2718
2762
|
* Describes the message google.protobuf.ServiceOptions.
|
|
2719
2763
|
* Use `create(ServiceOptionsSchema)` to create a new message.
|
|
2720
2764
|
*/
|
|
2721
|
-
export declare const ServiceOptionsSchema: GenMessage<ServiceOptions,
|
|
2765
|
+
export declare const ServiceOptionsSchema: GenMessage<ServiceOptions, {
|
|
2766
|
+
jsonType: ServiceOptionsJson;
|
|
2767
|
+
}>;
|
|
2722
2768
|
/**
|
|
2723
2769
|
* @generated from message google.protobuf.MethodOptions
|
|
2724
2770
|
*/
|
|
@@ -2789,7 +2835,9 @@ export type MethodOptionsJson = {
|
|
|
2789
2835
|
* Describes the message google.protobuf.MethodOptions.
|
|
2790
2836
|
* Use `create(MethodOptionsSchema)` to create a new message.
|
|
2791
2837
|
*/
|
|
2792
|
-
export declare const MethodOptionsSchema: GenMessage<MethodOptions,
|
|
2838
|
+
export declare const MethodOptionsSchema: GenMessage<MethodOptions, {
|
|
2839
|
+
jsonType: MethodOptionsJson;
|
|
2840
|
+
}>;
|
|
2793
2841
|
/**
|
|
2794
2842
|
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
2795
2843
|
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
@@ -2917,7 +2965,9 @@ export type UninterpretedOptionJson = {
|
|
|
2917
2965
|
* Describes the message google.protobuf.UninterpretedOption.
|
|
2918
2966
|
* Use `create(UninterpretedOptionSchema)` to create a new message.
|
|
2919
2967
|
*/
|
|
2920
|
-
export declare const UninterpretedOptionSchema: GenMessage<UninterpretedOption,
|
|
2968
|
+
export declare const UninterpretedOptionSchema: GenMessage<UninterpretedOption, {
|
|
2969
|
+
jsonType: UninterpretedOptionJson;
|
|
2970
|
+
}>;
|
|
2921
2971
|
/**
|
|
2922
2972
|
* The name of the uninterpreted option. Each string represents a segment in
|
|
2923
2973
|
* a dot-separated name. is_extension is true iff a segment represents an
|
|
@@ -2960,7 +3010,9 @@ export type UninterpretedOption_NamePartJson = {
|
|
|
2960
3010
|
* Describes the message google.protobuf.UninterpretedOption.NamePart.
|
|
2961
3011
|
* Use `create(UninterpretedOption_NamePartSchema)` to create a new message.
|
|
2962
3012
|
*/
|
|
2963
|
-
export declare const UninterpretedOption_NamePartSchema: GenMessage<UninterpretedOption_NamePart,
|
|
3013
|
+
export declare const UninterpretedOption_NamePartSchema: GenMessage<UninterpretedOption_NamePart, {
|
|
3014
|
+
jsonType: UninterpretedOption_NamePartJson;
|
|
3015
|
+
}>;
|
|
2964
3016
|
/**
|
|
2965
3017
|
* TODO Enums in C++ gencode (and potentially other languages) are
|
|
2966
3018
|
* not well scoped. This means that each of the feature enums below can clash
|
|
@@ -3045,7 +3097,9 @@ export type FeatureSetJson = {
|
|
|
3045
3097
|
* Describes the message google.protobuf.FeatureSet.
|
|
3046
3098
|
* Use `create(FeatureSetSchema)` to create a new message.
|
|
3047
3099
|
*/
|
|
3048
|
-
export declare const FeatureSetSchema: GenMessage<FeatureSet,
|
|
3100
|
+
export declare const FeatureSetSchema: GenMessage<FeatureSet, {
|
|
3101
|
+
jsonType: FeatureSetJson;
|
|
3102
|
+
}>;
|
|
3049
3103
|
/**
|
|
3050
3104
|
* @generated from enum google.protobuf.FeatureSet.FieldPresence
|
|
3051
3105
|
*/
|
|
@@ -3285,7 +3339,9 @@ export type FeatureSetDefaultsJson = {
|
|
|
3285
3339
|
* Describes the message google.protobuf.FeatureSetDefaults.
|
|
3286
3340
|
* Use `create(FeatureSetDefaultsSchema)` to create a new message.
|
|
3287
3341
|
*/
|
|
3288
|
-
export declare const FeatureSetDefaultsSchema: GenMessage<FeatureSetDefaults,
|
|
3342
|
+
export declare const FeatureSetDefaultsSchema: GenMessage<FeatureSetDefaults, {
|
|
3343
|
+
jsonType: FeatureSetDefaultsJson;
|
|
3344
|
+
}>;
|
|
3289
3345
|
/**
|
|
3290
3346
|
* A map from every known edition with a unique set of defaults to its
|
|
3291
3347
|
* defaults. Not all editions may be contained here. For a given edition,
|
|
@@ -3342,7 +3398,9 @@ export type FeatureSetDefaults_FeatureSetEditionDefaultJson = {
|
|
|
3342
3398
|
* Describes the message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
|
|
3343
3399
|
* Use `create(FeatureSetDefaults_FeatureSetEditionDefaultSchema)` to create a new message.
|
|
3344
3400
|
*/
|
|
3345
|
-
export declare const FeatureSetDefaults_FeatureSetEditionDefaultSchema: GenMessage<FeatureSetDefaults_FeatureSetEditionDefault,
|
|
3401
|
+
export declare const FeatureSetDefaults_FeatureSetEditionDefaultSchema: GenMessage<FeatureSetDefaults_FeatureSetEditionDefault, {
|
|
3402
|
+
jsonType: FeatureSetDefaults_FeatureSetEditionDefaultJson;
|
|
3403
|
+
}>;
|
|
3346
3404
|
/**
|
|
3347
3405
|
* Encapsulates information about the original source file from which a
|
|
3348
3406
|
* FileDescriptorProto was generated.
|
|
@@ -3459,7 +3517,9 @@ export type SourceCodeInfoJson = {
|
|
|
3459
3517
|
* Describes the message google.protobuf.SourceCodeInfo.
|
|
3460
3518
|
* Use `create(SourceCodeInfoSchema)` to create a new message.
|
|
3461
3519
|
*/
|
|
3462
|
-
export declare const SourceCodeInfoSchema: GenMessage<SourceCodeInfo,
|
|
3520
|
+
export declare const SourceCodeInfoSchema: GenMessage<SourceCodeInfo, {
|
|
3521
|
+
jsonType: SourceCodeInfoJson;
|
|
3522
|
+
}>;
|
|
3463
3523
|
/**
|
|
3464
3524
|
* @generated from message google.protobuf.SourceCodeInfo.Location
|
|
3465
3525
|
*/
|
|
@@ -3670,7 +3730,9 @@ export type SourceCodeInfo_LocationJson = {
|
|
|
3670
3730
|
* Describes the message google.protobuf.SourceCodeInfo.Location.
|
|
3671
3731
|
* Use `create(SourceCodeInfo_LocationSchema)` to create a new message.
|
|
3672
3732
|
*/
|
|
3673
|
-
export declare const SourceCodeInfo_LocationSchema: GenMessage<SourceCodeInfo_Location,
|
|
3733
|
+
export declare const SourceCodeInfo_LocationSchema: GenMessage<SourceCodeInfo_Location, {
|
|
3734
|
+
jsonType: SourceCodeInfo_LocationJson;
|
|
3735
|
+
}>;
|
|
3674
3736
|
/**
|
|
3675
3737
|
* Describes the relationship between generated code and its original source
|
|
3676
3738
|
* file. A GeneratedCodeInfo message is associated with only one generated
|
|
@@ -3707,7 +3769,9 @@ export type GeneratedCodeInfoJson = {
|
|
|
3707
3769
|
* Describes the message google.protobuf.GeneratedCodeInfo.
|
|
3708
3770
|
* Use `create(GeneratedCodeInfoSchema)` to create a new message.
|
|
3709
3771
|
*/
|
|
3710
|
-
export declare const GeneratedCodeInfoSchema: GenMessage<GeneratedCodeInfo,
|
|
3772
|
+
export declare const GeneratedCodeInfoSchema: GenMessage<GeneratedCodeInfo, {
|
|
3773
|
+
jsonType: GeneratedCodeInfoJson;
|
|
3774
|
+
}>;
|
|
3711
3775
|
/**
|
|
3712
3776
|
* @generated from message google.protobuf.GeneratedCodeInfo.Annotation
|
|
3713
3777
|
*/
|
|
@@ -3786,7 +3850,9 @@ export type GeneratedCodeInfo_AnnotationJson = {
|
|
|
3786
3850
|
* Describes the message google.protobuf.GeneratedCodeInfo.Annotation.
|
|
3787
3851
|
* Use `create(GeneratedCodeInfo_AnnotationSchema)` to create a new message.
|
|
3788
3852
|
*/
|
|
3789
|
-
export declare const GeneratedCodeInfo_AnnotationSchema: GenMessage<GeneratedCodeInfo_Annotation,
|
|
3853
|
+
export declare const GeneratedCodeInfo_AnnotationSchema: GenMessage<GeneratedCodeInfo_Annotation, {
|
|
3854
|
+
jsonType: GeneratedCodeInfo_AnnotationJson;
|
|
3855
|
+
}>;
|
|
3790
3856
|
/**
|
|
3791
3857
|
* Represents the identified object's effect on the element in the original
|
|
3792
3858
|
* .proto file.
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { boot } from "../../../../
|
|
15
|
-
import { messageDesc } from "../../../../
|
|
16
|
-
import { enumDesc } from "../../../../
|
|
14
|
+
import { boot } from "../../../../codegenv2/boot.js";
|
|
15
|
+
import { messageDesc } from "../../../../codegenv2/message.js";
|
|
16
|
+
import { enumDesc } from "../../../../codegenv2/enum.js";
|
|
17
17
|
/**
|
|
18
18
|
* Describes the file google/protobuf/descriptor.proto.
|
|
19
19
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "../../../../
|
|
1
|
+
import type { GenFile, GenMessage } from "../../../../codegenv2/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file google/protobuf/duration.proto.
|
|
@@ -156,4 +156,6 @@ export type DurationJson = string;
|
|
|
156
156
|
* Describes the message google.protobuf.Duration.
|
|
157
157
|
* Use `create(DurationSchema)` to create a new message.
|
|
158
158
|
*/
|
|
159
|
-
export declare const DurationSchema: GenMessage<Duration,
|
|
159
|
+
export declare const DurationSchema: GenMessage<Duration, {
|
|
160
|
+
jsonType: DurationJson;
|
|
161
|
+
}>;
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { fileDesc } from "../../../../
|
|
15
|
-
import { messageDesc } from "../../../../
|
|
14
|
+
import { fileDesc } from "../../../../codegenv2/file.js";
|
|
15
|
+
import { messageDesc } from "../../../../codegenv2/message.js";
|
|
16
16
|
/**
|
|
17
17
|
* Describes the file google/protobuf/duration.proto.
|
|
18
18
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "../../../../
|
|
1
|
+
import type { GenFile, GenMessage } from "../../../../codegenv2/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file google/protobuf/empty.proto.
|
|
@@ -34,4 +34,6 @@ export type EmptyJson = Record<string, never>;
|
|
|
34
34
|
* Describes the message google.protobuf.Empty.
|
|
35
35
|
* Use `create(EmptySchema)` to create a new message.
|
|
36
36
|
*/
|
|
37
|
-
export declare const EmptySchema: GenMessage<Empty,
|
|
37
|
+
export declare const EmptySchema: GenMessage<Empty, {
|
|
38
|
+
jsonType: EmptyJson;
|
|
39
|
+
}>;
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { fileDesc } from "../../../../
|
|
15
|
-
import { messageDesc } from "../../../../
|
|
14
|
+
import { fileDesc } from "../../../../codegenv2/file.js";
|
|
15
|
+
import { messageDesc } from "../../../../codegenv2/message.js";
|
|
16
16
|
/**
|
|
17
17
|
* Describes the file google/protobuf/empty.proto.
|
|
18
18
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "../../../../
|
|
1
|
+
import type { GenFile, GenMessage } from "../../../../codegenv2/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file google/protobuf/field_mask.proto.
|
|
@@ -423,4 +423,6 @@ export type FieldMaskJson = string;
|
|
|
423
423
|
* Describes the message google.protobuf.FieldMask.
|
|
424
424
|
* Use `create(FieldMaskSchema)` to create a new message.
|
|
425
425
|
*/
|
|
426
|
-
export declare const FieldMaskSchema: GenMessage<FieldMask,
|
|
426
|
+
export declare const FieldMaskSchema: GenMessage<FieldMask, {
|
|
427
|
+
jsonType: FieldMaskJson;
|
|
428
|
+
}>;
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { fileDesc } from "../../../../
|
|
15
|
-
import { messageDesc } from "../../../../
|
|
14
|
+
import { fileDesc } from "../../../../codegenv2/file.js";
|
|
15
|
+
import { messageDesc } from "../../../../codegenv2/message.js";
|
|
16
16
|
/**
|
|
17
17
|
* Describes the file google/protobuf/field_mask.proto.
|
|
18
18
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenExtension, GenFile, GenMessage } from "../../../../
|
|
1
|
+
import type { GenEnum, GenExtension, GenFile, GenMessage } from "../../../../codegenv2/types.js";
|
|
2
2
|
import type { FeatureSet } from "./descriptor_pb.js";
|
|
3
3
|
import type { Message } from "../../../../types.js";
|
|
4
4
|
/**
|
|
@@ -53,7 +53,9 @@ export type GoFeaturesJson = {
|
|
|
53
53
|
* Describes the message pb.GoFeatures.
|
|
54
54
|
* Use `create(GoFeaturesSchema)` to create a new message.
|
|
55
55
|
*/
|
|
56
|
-
export declare const GoFeaturesSchema: GenMessage<GoFeatures,
|
|
56
|
+
export declare const GoFeaturesSchema: GenMessage<GoFeatures, {
|
|
57
|
+
jsonType: GoFeaturesJson;
|
|
58
|
+
}>;
|
|
57
59
|
/**
|
|
58
60
|
* @generated from enum pb.GoFeatures.APILevel
|
|
59
61
|
*/
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { fileDesc } from "../../../../
|
|
14
|
+
import { fileDesc } from "../../../../codegenv2/file.js";
|
|
15
15
|
import { file_google_protobuf_descriptor } from "./descriptor_pb.js";
|
|
16
|
-
import { messageDesc } from "../../../../
|
|
17
|
-
import { enumDesc } from "../../../../
|
|
18
|
-
import { extDesc } from "../../../../
|
|
16
|
+
import { messageDesc } from "../../../../codegenv2/message.js";
|
|
17
|
+
import { enumDesc } from "../../../../codegenv2/enum.js";
|
|
18
|
+
import { extDesc } from "../../../../codegenv2/extension.js";
|
|
19
19
|
/**
|
|
20
20
|
* Describes the file google/protobuf/go_features.proto.
|
|
21
21
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenExtension, GenFile, GenMessage } from "../../../../
|
|
1
|
+
import type { GenEnum, GenExtension, GenFile, GenMessage } from "../../../../codegenv2/types.js";
|
|
2
2
|
import type { FeatureSet } from "./descriptor_pb.js";
|
|
3
3
|
import type { Message } from "../../../../types.js";
|
|
4
4
|
/**
|
|
@@ -67,7 +67,9 @@ export type JavaFeaturesJson = {
|
|
|
67
67
|
* Describes the message pb.JavaFeatures.
|
|
68
68
|
* Use `create(JavaFeaturesSchema)` to create a new message.
|
|
69
69
|
*/
|
|
70
|
-
export declare const JavaFeaturesSchema: GenMessage<JavaFeatures,
|
|
70
|
+
export declare const JavaFeaturesSchema: GenMessage<JavaFeatures, {
|
|
71
|
+
jsonType: JavaFeaturesJson;
|
|
72
|
+
}>;
|
|
71
73
|
/**
|
|
72
74
|
* The UTF8 validation strategy to use. See go/editions-utf8-validation for
|
|
73
75
|
* more information on this feature.
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { fileDesc } from "../../../../
|
|
14
|
+
import { fileDesc } from "../../../../codegenv2/file.js";
|
|
15
15
|
import { file_google_protobuf_descriptor } from "./descriptor_pb.js";
|
|
16
|
-
import { messageDesc } from "../../../../
|
|
17
|
-
import { enumDesc } from "../../../../
|
|
18
|
-
import { extDesc } from "../../../../
|
|
16
|
+
import { messageDesc } from "../../../../codegenv2/message.js";
|
|
17
|
+
import { enumDesc } from "../../../../codegenv2/enum.js";
|
|
18
|
+
import { extDesc } from "../../../../codegenv2/extension.js";
|
|
19
19
|
/**
|
|
20
20
|
* Describes the file google/protobuf/java_features.proto.
|
|
21
21
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "../../../../
|
|
1
|
+
import type { GenFile, GenMessage } from "../../../../codegenv2/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file google/protobuf/source_context.proto.
|
|
@@ -38,4 +38,6 @@ export type SourceContextJson = {
|
|
|
38
38
|
* Describes the message google.protobuf.SourceContext.
|
|
39
39
|
* Use `create(SourceContextSchema)` to create a new message.
|
|
40
40
|
*/
|
|
41
|
-
export declare const SourceContextSchema: GenMessage<SourceContext,
|
|
41
|
+
export declare const SourceContextSchema: GenMessage<SourceContext, {
|
|
42
|
+
jsonType: SourceContextJson;
|
|
43
|
+
}>;
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { fileDesc } from "../../../../
|
|
15
|
-
import { messageDesc } from "../../../../
|
|
14
|
+
import { fileDesc } from "../../../../codegenv2/file.js";
|
|
15
|
+
import { messageDesc } from "../../../../codegenv2/message.js";
|
|
16
16
|
/**
|
|
17
17
|
* Describes the file google/protobuf/source_context.proto.
|
|
18
18
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenFile, GenMessage } from "../../../../
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "../../../../codegenv2/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
3
|
import type { JsonObject, JsonValue } from "../../../../json-value.js";
|
|
4
4
|
/**
|
|
@@ -44,7 +44,9 @@ export type StructJson = JsonObject;
|
|
|
44
44
|
* Describes the message google.protobuf.Struct.
|
|
45
45
|
* Use `create(StructSchema)` to create a new message.
|
|
46
46
|
*/
|
|
47
|
-
export declare const StructSchema: GenMessage<Struct,
|
|
47
|
+
export declare const StructSchema: GenMessage<Struct, {
|
|
48
|
+
jsonType: StructJson;
|
|
49
|
+
}>;
|
|
48
50
|
/**
|
|
49
51
|
* `Value` represents a dynamically typed value which can be either
|
|
50
52
|
* null, a number, a string, a boolean, a recursive struct value, or a
|
|
@@ -129,7 +131,9 @@ export type ValueJson = JsonValue;
|
|
|
129
131
|
* Describes the message google.protobuf.Value.
|
|
130
132
|
* Use `create(ValueSchema)` to create a new message.
|
|
131
133
|
*/
|
|
132
|
-
export declare const ValueSchema: GenMessage<Value,
|
|
134
|
+
export declare const ValueSchema: GenMessage<Value, {
|
|
135
|
+
jsonType: ValueJson;
|
|
136
|
+
}>;
|
|
133
137
|
/**
|
|
134
138
|
* `ListValue` is a wrapper around a repeated field of values.
|
|
135
139
|
*
|
|
@@ -157,7 +161,9 @@ export type ListValueJson = JsonValue[];
|
|
|
157
161
|
* Describes the message google.protobuf.ListValue.
|
|
158
162
|
* Use `create(ListValueSchema)` to create a new message.
|
|
159
163
|
*/
|
|
160
|
-
export declare const ListValueSchema: GenMessage<ListValue,
|
|
164
|
+
export declare const ListValueSchema: GenMessage<ListValue, {
|
|
165
|
+
jsonType: ListValueJson;
|
|
166
|
+
}>;
|
|
161
167
|
/**
|
|
162
168
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
163
169
|
* `Value` type union.
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { fileDesc } from "../../../../
|
|
15
|
-
import { messageDesc } from "../../../../
|
|
16
|
-
import { enumDesc } from "../../../../
|
|
14
|
+
import { fileDesc } from "../../../../codegenv2/file.js";
|
|
15
|
+
import { messageDesc } from "../../../../codegenv2/message.js";
|
|
16
|
+
import { enumDesc } from "../../../../codegenv2/enum.js";
|
|
17
17
|
/**
|
|
18
18
|
* Describes the file google/protobuf/struct.proto.
|
|
19
19
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "../../../../
|
|
1
|
+
import type { GenFile, GenMessage } from "../../../../codegenv2/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file google/protobuf/timestamp.proto.
|
|
@@ -216,4 +216,6 @@ export type TimestampJson = string;
|
|
|
216
216
|
* Describes the message google.protobuf.Timestamp.
|
|
217
217
|
* Use `create(TimestampSchema)` to create a new message.
|
|
218
218
|
*/
|
|
219
|
-
export declare const TimestampSchema: GenMessage<Timestamp,
|
|
219
|
+
export declare const TimestampSchema: GenMessage<Timestamp, {
|
|
220
|
+
jsonType: TimestampJson;
|
|
221
|
+
}>;
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { fileDesc } from "../../../../
|
|
15
|
-
import { messageDesc } from "../../../../
|
|
14
|
+
import { fileDesc } from "../../../../codegenv2/file.js";
|
|
15
|
+
import { messageDesc } from "../../../../codegenv2/message.js";
|
|
16
16
|
/**
|
|
17
17
|
* Describes the file google/protobuf/timestamp.proto.
|
|
18
18
|
*/
|