From 53d67995526770213ecf91c15645b9c74e7e5bd4 Mon Sep 17 00:00:00 2001 From: Luke Alvoeiro Date: Tue, 14 May 2024 06:19:34 +0800 Subject: [PATCH] feat: optionally output versions used to generate files (#1040) ### Description - Add the `annotateFilesWithVersion` option so that changes are correctly captured in CI (eliminating noise on each file) - Added this option to the README --- README.markdown | 6 +++--- integration/angular/simple-message.ts | 3 --- .../async-iterable-services-abort-signal/simple.ts | 3 --- integration/async-iterable-services/simple.ts | 3 --- integration/avoid-import-conflicts-folder-name/ui.ts | 3 --- .../avoid-import-conflicts-folder-name/ui/simple.ts | 3 --- .../avoid-import-conflicts-types-only/simple.ts | 3 --- .../avoid-import-conflicts-types-only/simple2.ts | 3 --- integration/avoid-import-conflicts/simple.ts | 3 --- integration/avoid-import-conflicts/simple2.ts | 3 --- integration/barrel-imports/bar.ts | 3 --- integration/barrel-imports/foo.ts | 3 --- .../batching-with-context-esModuleInterop/batching.ts | 3 --- integration/batching-with-context/batching.ts | 3 --- integration/batching/batching.ts | 3 --- integration/before-after-request-streaming/example.ts | 3 --- .../google/protobuf/wrappers.ts | 3 --- integration/before-after-request/simple.ts | 3 --- integration/before-after-request/simple2.ts | 3 --- integration/bytes-as-base64-browser/message.ts | 3 --- integration/bytes-as-base64-node/message.ts | 3 --- integration/bytes-as-base64/message.ts | 3 --- integration/bytes-node/google/protobuf/wrappers.ts | 3 --- integration/bytes-node/point.ts | 3 --- integration/codegen.ts | 10 ++++++++++ integration/const-enum/const-enum.ts | 3 --- .../default-with-custom-metadata.ts | 3 --- .../default-with-metadata/default-with-metadata.ts | 3 --- .../google/protobuf/timestamp.ts | 3 --- integration/emit-default-values-json/test.ts | 3 --- .../enums-as-literals-with-string-enums.ts | 3 --- integration/enums-as-literals/enums-as-literals.ts | 3 --- .../enums-with-unrecognized-name-value/test.ts | 3 --- integration/extensions/test.ts | 3 --- .../fieldmask-optional-all/fieldmask-optional.ts | 3 --- .../google/protobuf/field_mask.ts | 3 --- integration/fieldmask/fieldmask.ts | 3 --- integration/fieldmask/google/protobuf/field_mask.ts | 3 --- .../fieldoption-jstype-with-forcelong-bigint.ts | 3 --- .../fieldoption-jstype-with-forcelong-long.ts | 3 --- .../fieldoption-jstype-with-forcelong-number.ts | 3 --- .../fieldoption-jstype-with-forcelong-string.ts | 3 --- integration/fieldoption-jstype/fieldoption-jstype.ts | 3 --- integration/file-suffix/child.pb.ts | 3 --- .../file-suffix/google/protobuf/timestamp.pb.ts | 3 --- integration/file-suffix/parent.pb.ts | 3 --- integration/from-partial-no-initialize/test.ts | 3 --- integration/fromJson-enums/from-json.ts | 3 --- integration/generic-metadata/hero.ts | 3 --- .../simple.ts | 3 --- integration/generic-service-definitions/simple.ts | 3 --- integration/global-this/global-this.ts | 3 --- integration/groups/test.ts | 3 --- .../google/protobuf/timestamp.ts | 3 --- .../grpc-js-use-date-false/grpc-js-use-date-false.ts | 3 --- .../google/protobuf/timestamp.ts | 3 --- .../grpc-js-use-date-string-nano.ts | 3 --- .../google/protobuf/timestamp.ts | 3 --- .../grpc-js-use-date-string.ts | 3 --- .../google/protobuf/timestamp.ts | 3 --- .../grpc-js-use-date-true/grpc-js-use-date-true.ts | 3 --- integration/grpc-js/google/protobuf/empty.ts | 3 --- integration/grpc-js/google/protobuf/struct.ts | 3 --- integration/grpc-js/google/protobuf/timestamp.ts | 3 --- integration/grpc-js/google/protobuf/wrappers.ts | 3 --- integration/grpc-js/simple.ts | 3 --- integration/grpc-web-abort-signal/example.ts | 3 --- integration/grpc-web-go-server/example.ts | 3 --- .../grpc-web-no-streaming-observable/example.ts | 3 --- integration/grpc-web-no-streaming/example.ts | 3 --- integration/grpc-web/example.ts | 3 --- integration/grpc-web/google/protobuf/wrappers.ts | 3 --- integration/handle-error-in-default-service/simple.ts | 3 --- .../handle-error-with-after-response/simple.ts | 3 --- .../import-mapping/google/protobuf/timestamp.ts | 3 --- integration/import-mapping/mapping.ts | 3 --- integration/import-suffix/child.pb.ts | 3 --- .../import-suffix/google/protobuf/timestamp.pb.ts | 3 --- integration/import-suffix/parent.pb.ts | 3 --- integration/lower-case-svc-methods/math.ts | 3 --- integration/map-bigint-optional/test.ts | 3 --- integration/map-long-optional/test.ts | 3 --- integration/map-longstring-optional/test.ts | 3 --- integration/meta-typings/google/protobuf/timestamp.ts | 3 --- integration/meta-typings/google/protobuf/wrappers.ts | 3 --- integration/meta-typings/google/type/date.ts | 3 --- integration/meta-typings/import_dir/thing.ts | 3 --- integration/meta-typings/simple.ts | 3 --- integration/nestjs-metadata-grpc-js/hero.ts | 3 --- integration/nestjs-metadata-observables/hero.ts | 3 --- integration/nestjs-metadata-restparameters/hero.ts | 3 --- integration/nestjs-metadata/hero.ts | 3 --- integration/nestjs-restparameters/hero.ts | 3 --- integration/nestjs-simple-observables/hero.ts | 3 --- .../google/protobuf/empty.ts | 3 --- integration/nestjs-simple-restparameters/hero.ts | 3 --- .../nestjs-simple-usedate/google/protobuf/empty.ts | 3 --- .../google/protobuf/timestamp.ts | 3 --- integration/nestjs-simple-usedate/hero.ts | 3 --- integration/nestjs-simple/google/protobuf/empty.ts | 3 --- integration/nestjs-simple/google/protobuf/struct.ts | 3 --- .../nestjs-simple/google/protobuf/timestamp.ts | 3 --- integration/nestjs-simple/hero.ts | 3 --- integration/nice-grpc/google/protobuf/empty.ts | 3 --- integration/nice-grpc/google/protobuf/struct.ts | 3 --- integration/nice-grpc/google/protobuf/timestamp.ts | 3 --- integration/nice-grpc/google/protobuf/wrappers.ts | 3 --- integration/nice-grpc/simple.ts | 3 --- integration/no-comments/simple.ts | 3 --- integration/no-proto-package/no-proto-package.ts | 3 --- integration/omit-optionals/simple.ts | 3 --- integration/oneof-properties/oneof.ts | 3 --- .../oneof-unions-snake/google/protobuf/struct.ts | 3 --- integration/oneof-unions-snake/simple.ts | 3 --- integration/oneof-unions/google/protobuf/struct.ts | 3 --- integration/oneof-unions/oneof.ts | 3 --- .../only-types-grpc-metadata.ts | 3 --- integration/only-types/google/protobuf/any.ts | 3 --- integration/only-types/google/protobuf/timestamp.ts | 3 --- integration/only-types/reservation.ts | 3 --- .../optional-long/google/protobuf/timestamp.ts | 3 --- integration/optional-long/test.ts | 3 --- integration/optional-type-definitions/simple.ts | 3 --- integration/options/google/protobuf/descriptor.ts | 3 --- integration/options/options.ts | 3 --- integration/options/something/something.ts | 3 --- integration/output-decode-only/encode.ts | 3 --- .../output-decode-only/google/protobuf/wrappers.ts | 3 --- .../output-encode-no-creation-methods/encode.ts | 3 --- .../google/protobuf/wrappers.ts | 3 --- integration/output-encode-only/encode.ts | 3 --- .../output-encode-only/google/protobuf/wrappers.ts | 3 --- integration/output-fromJSON-only/decode.ts | 3 --- .../output-fromJSON-only/google/protobuf/wrappers.ts | 3 --- integration/output-index/a.ts | 3 --- integration/output-index/index.base.ts | 3 --- integration/output-index/index.ts | 3 --- integration/output-toJSON-only/encode.ts | 3 --- .../output-toJSON-only/google/protobuf/wrappers.ts | 3 --- integration/point/point.ts | 3 --- integration/proto2-long/simple.ts | 3 --- integration/proto2-no-default-vals/simple.ts | 3 --- integration/proto2-no-optionals/simple.ts | 3 --- integration/proto2/simple.ts | 3 --- .../remove-enum-prefix-string-enums.ts | 3 --- integration/remove-enum-prefix/remove-enum-prefix.ts | 3 --- integration/reserved-words/reserved-words.ts | 3 --- integration/return-observable/observable.ts | 3 --- integration/simple-deprecated-fields/simple.ts | 3 --- integration/simple-esmodule-interop/empty.ts | 3 --- integration/simple-esmodule-interop/simple.ts | 3 --- .../simple-json-name/google/protobuf/timestamp.ts | 3 --- integration/simple-json-name/simple.ts | 3 --- .../simple-long-bigint/google/protobuf/timestamp.ts | 3 --- .../simple-long-bigint/google/protobuf/wrappers.ts | 3 --- integration/simple-long-bigint/simple.ts | 3 --- .../simple-long-string/google/protobuf/timestamp.ts | 3 --- .../simple-long-string/google/protobuf/wrappers.ts | 3 --- integration/simple-long-string/simple.ts | 3 --- integration/simple-long/google/protobuf/wrappers.ts | 3 --- integration/simple-long/simple.ts | 3 --- .../simple-optionals/google/protobuf/timestamp.ts | 3 --- .../simple-optionals/google/protobuf/wrappers.ts | 3 --- integration/simple-optionals/import_dir/thing.ts | 3 --- integration/simple-optionals/simple.ts | 3 --- integration/simple-optionals/thing.ts | 3 --- integration/simple-proto2/simple.ts | 3 --- .../google/protobuf/timestamp.ts | 3 --- .../google/protobuf/wrappers.ts | 3 --- .../simple-prototype-defaults/google/type/date.ts | 3 --- .../simple-prototype-defaults/import_dir/thing.ts | 3 --- integration/simple-prototype-defaults/simple.ts | 3 --- integration/simple-snake/google/protobuf/struct.ts | 3 --- integration/simple-snake/google/protobuf/timestamp.ts | 3 --- integration/simple-snake/google/protobuf/wrappers.ts | 3 --- integration/simple-snake/import_dir/thing.ts | 3 --- integration/simple-snake/simple.ts | 3 --- .../simple-string-enums/google/protobuf/struct.ts | 3 --- integration/simple-string-enums/simple.ts | 3 --- .../google/protobuf/timestamp.ts | 3 --- .../google/protobuf/wrappers.ts | 3 --- .../simple-unrecognized-enum/import_dir/thing.ts | 3 --- integration/simple-unrecognized-enum/simple.ts | 3 --- integration/simple/google/protobuf/timestamp.ts | 3 --- integration/simple/google/protobuf/wrappers.ts | 3 --- integration/simple/google/type/date.ts | 3 --- integration/simple/import_dir/thing.ts | 3 --- integration/simple/simple.ts | 3 --- integration/static-only-type-registry/bar/bar.ts | 3 --- integration/static-only-type-registry/foo.ts | 3 --- .../google/protobuf/struct.ts | 3 --- .../google/protobuf/timestamp.ts | 3 --- integration/static-only-type-registry/typeRegistry.ts | 3 --- integration/static-only/bar/bar.ts | 3 --- integration/static-only/foo.ts | 3 --- integration/static-only/google/protobuf/struct.ts | 3 --- integration/static-only/google/protobuf/timestamp.ts | 3 --- integration/struct/google/protobuf/struct.ts | 3 --- integration/struct/struct.ts | 3 --- integration/type-annotations/bar/bar.ts | 3 --- integration/type-annotations/foo.ts | 3 --- .../type-annotations/google/protobuf/struct.ts | 3 --- .../type-annotations/google/protobuf/timestamp.ts | 3 --- integration/type-registry/bar/bar.ts | 3 --- integration/type-registry/foo.ts | 3 --- integration/type-registry/google/protobuf/struct.ts | 3 --- .../type-registry/google/protobuf/timestamp.ts | 3 --- integration/type-registry/typeRegistry.ts | 3 --- integration/types-with-underscores/file.ts | 3 --- .../unknown-fields/google/protobuf/compiler/plugin.ts | 3 --- .../unknown-fields/google/protobuf/descriptor.ts | 3 --- integration/unknown-fields/options.ts | 3 --- integration/unknown-fields/something/something.ts | 3 --- .../use-date-false/google/protobuf/timestamp.ts | 3 --- integration/use-date-false/metadata.ts | 3 --- .../use-date-string/google/protobuf/timestamp.ts | 3 --- integration/use-date-string/use-date-string.ts | 3 --- integration/use-date-true/google/protobuf/empty.ts | 3 --- .../use-date-true/google/protobuf/timestamp.ts | 3 --- integration/use-date-true/use-date-true.ts | 3 --- integration/use-exact-types-false/foo.ts | 3 --- .../use-json-name/google/protobuf/timestamp.ts | 3 --- integration/use-json-name/use-json-name.ts | 3 --- .../google/protobuf/timestamp.ts | 3 --- integration/use-json-timestamp-raw/metadata.ts | 3 --- .../use-json-wire-format/google/protobuf/duration.ts | 3 --- .../google/protobuf/field_mask.ts | 3 --- .../use-json-wire-format/google/protobuf/timestamp.ts | 3 --- .../use-json-wire-format/use-json-wire-format.ts | 3 --- integration/use-map-type/google/protobuf/struct.ts | 3 --- integration/use-map-type/google/protobuf/timestamp.ts | 3 --- integration/use-map-type/use-map-type.ts | 3 --- .../use-null-as-optional/use-null-as-optional.ts | 3 --- .../use-null-nestjs-simple/google/protobuf/empty.ts | 3 --- integration/use-null-nestjs-simple/user.ts | 3 --- .../use-numeric-enum-json/google/protobuf/struct.ts | 3 --- integration/use-numeric-enum-json/simple.ts | 3 --- .../objectid/objectid.ts | 3 --- .../use-objectid-true.ts | 3 --- .../use-optionals-all/google/protobuf/struct.ts | 3 --- .../use-optionals-all/google/protobuf/timestamp.ts | 3 --- integration/use-optionals-all/test.ts | 3 --- integration/use-optionals-deprecated-only/test.ts | 3 --- .../google/protobuf/struct.ts | 3 --- integration/use-optionals-no-undefined/test.ts | 3 --- .../use-readonly-types/google/protobuf/field_mask.ts | 3 --- .../use-readonly-types/google/protobuf/struct.ts | 3 --- integration/use-readonly-types/use-readonly-types.ts | 3 --- integration/value/google/protobuf/struct.ts | 3 --- integration/value/google/protobuf/wrappers.ts | 3 --- integration/value/value.ts | 3 --- integration/vector-tile/vector_tile.ts | 3 --- .../wrappers-regression/google/protobuf/empty.ts | 3 --- .../wrappers-regression/google/protobuf/timestamp.ts | 3 --- .../wrappers-regression/google/protobuf/wrappers.ts | 3 --- .../wrappers-regression/wrappers-regression.ts | 3 --- src/options.ts | 11 +++++++++-- tests/options-test.ts | 1 + 258 files changed, 23 insertions(+), 767 deletions(-) diff --git a/README.markdown b/README.markdown index 7fe36872b..07c84c659 100644 --- a/README.markdown +++ b/README.markdown @@ -432,6 +432,8 @@ Generated code will be placed in the Gradle build directory. - With `--ts_proto_opt=useMongoObjectId=true`, fields of a type called ObjectId where the message is constructed to have on field called value that is a string will be mapped to type `mongodb.ObjectId` in the generated types. This will require your project to install the mongodb npm package. See [ObjectId](#objectid) for more details. +- With `--ts_proto_opt=annotateFilesWithVersion=false`, the generated files will not contain the versions of `protoc` and `ts-proto` used to generate the file. This option is normally set to `true`, such that files list the versions used. + - With `--ts_proto_opt=outputSchema=true`, meta typings will be generated that can later be used in other code generators. - With `--ts_proto_opt=outputTypeAnnotations=true`, each message will be given a `$type` field containing its fully-qualified name. You can use `--ts_proto_opt=outputTypeAnnotations=static-only` to omit it from the `interface` declaration, or `--ts_proto_opt=outputTypeAnnotations=optional` to make it an optional property on the `interface` definition. The latter option may be useful if you want to use the `$type` field for runtime type checking on responses from a server. @@ -787,9 +789,7 @@ The following helper types may make it easier to work with the types generated f type OneOfCases = T extends { $case: infer U extends string } ? U : never; /** Extracts a union of all the value types from a oneOf field */ -type OneOfValues = T extends { $case: infer U extends string; [key: string]: unknown } - ? T[U] - : never; +type OneOfValues = T extends { $case: infer U extends string; [key: string]: unknown } ? T[U] : never; /** Extracts the specific type of a oneOf case based on its field name */ type OneOfCase> = T extends { diff --git a/integration/angular/simple-message.ts b/integration/angular/simple-message.ts index c199d432c..ced8744d7 100644 --- a/integration/angular/simple-message.ts +++ b/integration/angular/simple-message.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple-message.proto /* eslint-disable */ diff --git a/integration/async-iterable-services-abort-signal/simple.ts b/integration/async-iterable-services-abort-signal/simple.ts index 028d5156b..262a90ff3 100644 --- a/integration/async-iterable-services-abort-signal/simple.ts +++ b/integration/async-iterable-services-abort-signal/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/async-iterable-services/simple.ts b/integration/async-iterable-services/simple.ts index 1d3c2eddc..778d0d358 100644 --- a/integration/async-iterable-services/simple.ts +++ b/integration/async-iterable-services/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/avoid-import-conflicts-folder-name/ui.ts b/integration/avoid-import-conflicts-folder-name/ui.ts index e540b4f53..a21ef4481 100644 --- a/integration/avoid-import-conflicts-folder-name/ui.ts +++ b/integration/avoid-import-conflicts-folder-name/ui.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: ui.proto /* eslint-disable */ diff --git a/integration/avoid-import-conflicts-folder-name/ui/simple.ts b/integration/avoid-import-conflicts-folder-name/ui/simple.ts index 853fad2ca..6c78adf93 100644 --- a/integration/avoid-import-conflicts-folder-name/ui/simple.ts +++ b/integration/avoid-import-conflicts-folder-name/ui/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: ui/simple.proto /* eslint-disable */ diff --git a/integration/avoid-import-conflicts-types-only/simple.ts b/integration/avoid-import-conflicts-types-only/simple.ts index 1601e5328..c39854158 100644 --- a/integration/avoid-import-conflicts-types-only/simple.ts +++ b/integration/avoid-import-conflicts-types-only/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/avoid-import-conflicts-types-only/simple2.ts b/integration/avoid-import-conflicts-types-only/simple2.ts index c9aa26b63..2750c8588 100644 --- a/integration/avoid-import-conflicts-types-only/simple2.ts +++ b/integration/avoid-import-conflicts-types-only/simple2.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple2.proto /* eslint-disable */ diff --git a/integration/avoid-import-conflicts/simple.ts b/integration/avoid-import-conflicts/simple.ts index e359f97fd..874442f9c 100644 --- a/integration/avoid-import-conflicts/simple.ts +++ b/integration/avoid-import-conflicts/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/avoid-import-conflicts/simple2.ts b/integration/avoid-import-conflicts/simple2.ts index fbbdee77d..2551dc401 100644 --- a/integration/avoid-import-conflicts/simple2.ts +++ b/integration/avoid-import-conflicts/simple2.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple2.proto /* eslint-disable */ diff --git a/integration/barrel-imports/bar.ts b/integration/barrel-imports/bar.ts index 8f5bf172e..25079c634 100644 --- a/integration/barrel-imports/bar.ts +++ b/integration/barrel-imports/bar.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: bar.proto /* eslint-disable */ diff --git a/integration/barrel-imports/foo.ts b/integration/barrel-imports/foo.ts index 289b95332..d66970007 100644 --- a/integration/barrel-imports/foo.ts +++ b/integration/barrel-imports/foo.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: foo.proto /* eslint-disable */ diff --git a/integration/batching-with-context-esModuleInterop/batching.ts b/integration/batching-with-context-esModuleInterop/batching.ts index a9751aa69..ab4d868f0 100644 --- a/integration/batching-with-context-esModuleInterop/batching.ts +++ b/integration/batching-with-context-esModuleInterop/batching.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: batching.proto /* eslint-disable */ diff --git a/integration/batching-with-context/batching.ts b/integration/batching-with-context/batching.ts index 6cfef064f..f76ac3bed 100644 --- a/integration/batching-with-context/batching.ts +++ b/integration/batching-with-context/batching.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: batching.proto /* eslint-disable */ diff --git a/integration/batching/batching.ts b/integration/batching/batching.ts index 9045190fd..5b68015eb 100644 --- a/integration/batching/batching.ts +++ b/integration/batching/batching.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: batching.proto /* eslint-disable */ diff --git a/integration/before-after-request-streaming/example.ts b/integration/before-after-request-streaming/example.ts index 1f75445fd..a442d91fb 100644 --- a/integration/before-after-request-streaming/example.ts +++ b/integration/before-after-request-streaming/example.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: example.proto /* eslint-disable */ diff --git a/integration/before-after-request-streaming/google/protobuf/wrappers.ts b/integration/before-after-request-streaming/google/protobuf/wrappers.ts index 6159c1b46..f7516ba9a 100644 --- a/integration/before-after-request-streaming/google/protobuf/wrappers.ts +++ b/integration/before-after-request-streaming/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/before-after-request/simple.ts b/integration/before-after-request/simple.ts index acb3188ca..3306eafc0 100644 --- a/integration/before-after-request/simple.ts +++ b/integration/before-after-request/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/before-after-request/simple2.ts b/integration/before-after-request/simple2.ts index fbbdee77d..2551dc401 100644 --- a/integration/before-after-request/simple2.ts +++ b/integration/before-after-request/simple2.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple2.proto /* eslint-disable */ diff --git a/integration/bytes-as-base64-browser/message.ts b/integration/bytes-as-base64-browser/message.ts index b0d3cd51e..f525e87dc 100644 --- a/integration/bytes-as-base64-browser/message.ts +++ b/integration/bytes-as-base64-browser/message.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: message.proto /* eslint-disable */ diff --git a/integration/bytes-as-base64-node/message.ts b/integration/bytes-as-base64-node/message.ts index f464f96e5..b1c8248c3 100644 --- a/integration/bytes-as-base64-node/message.ts +++ b/integration/bytes-as-base64-node/message.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: message.proto /* eslint-disable */ diff --git a/integration/bytes-as-base64/message.ts b/integration/bytes-as-base64/message.ts index fb1932c73..eadf1a346 100644 --- a/integration/bytes-as-base64/message.ts +++ b/integration/bytes-as-base64/message.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: message.proto /* eslint-disable */ diff --git a/integration/bytes-node/google/protobuf/wrappers.ts b/integration/bytes-node/google/protobuf/wrappers.ts index 79e4d941a..4f87f7983 100644 --- a/integration/bytes-node/google/protobuf/wrappers.ts +++ b/integration/bytes-node/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/bytes-node/point.ts b/integration/bytes-node/point.ts index b6c48b558..7baa7f7ce 100644 --- a/integration/bytes-node/point.ts +++ b/integration/bytes-node/point.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: point.proto /* eslint-disable */ diff --git a/integration/codegen.ts b/integration/codegen.ts index f531cbc93..71312b593 100644 --- a/integration/codegen.ts +++ b/integration/codegen.ts @@ -31,6 +31,16 @@ async function generate(binFile: string, baseDir: string, parameter: string) { const { protocVersion, tsProtoVersion } = await getVersions(request); const options = optionsFromParameter(parameter || ""); + + // we have to check for the parameter as a string here because the + // default value of the parameter is true. + if (parameter.includes("annotateFilesWithVersion=true")) { + options.annotateFilesWithVersion = true; + } else { + // we practically always want to not annotate files with version in tests + // as this will make snapshots fail on every version bump + options.annotateFilesWithVersion = false; + } const typeMap = createTypeMap(request, options); for (let file of request.protoFile) { diff --git a/integration/const-enum/const-enum.ts b/integration/const-enum/const-enum.ts index 5fdb2a634..2c73f9be9 100644 --- a/integration/const-enum/const-enum.ts +++ b/integration/const-enum/const-enum.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: const-enum.proto /* eslint-disable */ diff --git a/integration/default-with-custom-metadata/default-with-custom-metadata.ts b/integration/default-with-custom-metadata/default-with-custom-metadata.ts index 0970df7f7..289ea45a4 100644 --- a/integration/default-with-custom-metadata/default-with-custom-metadata.ts +++ b/integration/default-with-custom-metadata/default-with-custom-metadata.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: default-with-custom-metadata.proto /* eslint-disable */ diff --git a/integration/default-with-metadata/default-with-metadata.ts b/integration/default-with-metadata/default-with-metadata.ts index 1e29437da..e920fb533 100644 --- a/integration/default-with-metadata/default-with-metadata.ts +++ b/integration/default-with-metadata/default-with-metadata.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: default-with-metadata.proto /* eslint-disable */ diff --git a/integration/emit-default-values-json/google/protobuf/timestamp.ts b/integration/emit-default-values-json/google/protobuf/timestamp.ts index 2f859c4c9..8b52fafe9 100644 --- a/integration/emit-default-values-json/google/protobuf/timestamp.ts +++ b/integration/emit-default-values-json/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/emit-default-values-json/test.ts b/integration/emit-default-values-json/test.ts index 09ba19137..7228938e5 100644 --- a/integration/emit-default-values-json/test.ts +++ b/integration/emit-default-values-json/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/enums-as-literals-with-string-enums/enums-as-literals-with-string-enums.ts b/integration/enums-as-literals-with-string-enums/enums-as-literals-with-string-enums.ts index 9886183cb..9ac5512a2 100644 --- a/integration/enums-as-literals-with-string-enums/enums-as-literals-with-string-enums.ts +++ b/integration/enums-as-literals-with-string-enums/enums-as-literals-with-string-enums.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: enums-as-literals-with-string-enums.proto /* eslint-disable */ diff --git a/integration/enums-as-literals/enums-as-literals.ts b/integration/enums-as-literals/enums-as-literals.ts index 81796eb24..addcfe3e9 100644 --- a/integration/enums-as-literals/enums-as-literals.ts +++ b/integration/enums-as-literals/enums-as-literals.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: enums-as-literals.proto /* eslint-disable */ diff --git a/integration/enums-with-unrecognized-name-value/test.ts b/integration/enums-with-unrecognized-name-value/test.ts index d034088cb..37512449b 100644 --- a/integration/enums-with-unrecognized-name-value/test.ts +++ b/integration/enums-with-unrecognized-name-value/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/extensions/test.ts b/integration/extensions/test.ts index 40ed0e4cc..4915cb8e7 100644 --- a/integration/extensions/test.ts +++ b/integration/extensions/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/fieldmask-optional-all/fieldmask-optional.ts b/integration/fieldmask-optional-all/fieldmask-optional.ts index 56ce0d4a8..58a4d9c50 100644 --- a/integration/fieldmask-optional-all/fieldmask-optional.ts +++ b/integration/fieldmask-optional-all/fieldmask-optional.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: fieldmask-optional.proto /* eslint-disable */ diff --git a/integration/fieldmask-optional-all/google/protobuf/field_mask.ts b/integration/fieldmask-optional-all/google/protobuf/field_mask.ts index 2b8645d2f..e56f93d84 100644 --- a/integration/fieldmask-optional-all/google/protobuf/field_mask.ts +++ b/integration/fieldmask-optional-all/google/protobuf/field_mask.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/field_mask.proto /* eslint-disable */ diff --git a/integration/fieldmask/fieldmask.ts b/integration/fieldmask/fieldmask.ts index 86972954e..5cf3a8a1f 100644 --- a/integration/fieldmask/fieldmask.ts +++ b/integration/fieldmask/fieldmask.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: fieldmask.proto /* eslint-disable */ diff --git a/integration/fieldmask/google/protobuf/field_mask.ts b/integration/fieldmask/google/protobuf/field_mask.ts index a74cfa991..f949705dc 100644 --- a/integration/fieldmask/google/protobuf/field_mask.ts +++ b/integration/fieldmask/google/protobuf/field_mask.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/field_mask.proto /* eslint-disable */ diff --git a/integration/fieldoption-jstype-with-forcelong-bigint/fieldoption-jstype-with-forcelong-bigint.ts b/integration/fieldoption-jstype-with-forcelong-bigint/fieldoption-jstype-with-forcelong-bigint.ts index 212b11064..b2f152b83 100644 --- a/integration/fieldoption-jstype-with-forcelong-bigint/fieldoption-jstype-with-forcelong-bigint.ts +++ b/integration/fieldoption-jstype-with-forcelong-bigint/fieldoption-jstype-with-forcelong-bigint.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: fieldoption-jstype-with-forcelong-bigint.proto /* eslint-disable */ diff --git a/integration/fieldoption-jstype-with-forcelong-long/fieldoption-jstype-with-forcelong-long.ts b/integration/fieldoption-jstype-with-forcelong-long/fieldoption-jstype-with-forcelong-long.ts index 59b97df54..45eee1cc7 100644 --- a/integration/fieldoption-jstype-with-forcelong-long/fieldoption-jstype-with-forcelong-long.ts +++ b/integration/fieldoption-jstype-with-forcelong-long/fieldoption-jstype-with-forcelong-long.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: fieldoption-jstype-with-forcelong-long.proto /* eslint-disable */ diff --git a/integration/fieldoption-jstype-with-forcelong-number/fieldoption-jstype-with-forcelong-number.ts b/integration/fieldoption-jstype-with-forcelong-number/fieldoption-jstype-with-forcelong-number.ts index a286ac401..7d2d080f7 100644 --- a/integration/fieldoption-jstype-with-forcelong-number/fieldoption-jstype-with-forcelong-number.ts +++ b/integration/fieldoption-jstype-with-forcelong-number/fieldoption-jstype-with-forcelong-number.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: fieldoption-jstype-with-forcelong-number.proto /* eslint-disable */ diff --git a/integration/fieldoption-jstype-with-forcelong-string/fieldoption-jstype-with-forcelong-string.ts b/integration/fieldoption-jstype-with-forcelong-string/fieldoption-jstype-with-forcelong-string.ts index 3382c0d9a..53ee01a6d 100644 --- a/integration/fieldoption-jstype-with-forcelong-string/fieldoption-jstype-with-forcelong-string.ts +++ b/integration/fieldoption-jstype-with-forcelong-string/fieldoption-jstype-with-forcelong-string.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: fieldoption-jstype-with-forcelong-string.proto /* eslint-disable */ diff --git a/integration/fieldoption-jstype/fieldoption-jstype.ts b/integration/fieldoption-jstype/fieldoption-jstype.ts index 67cb3c9f6..9daccd4ce 100644 --- a/integration/fieldoption-jstype/fieldoption-jstype.ts +++ b/integration/fieldoption-jstype/fieldoption-jstype.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: fieldoption-jstype.proto /* eslint-disable */ diff --git a/integration/file-suffix/child.pb.ts b/integration/file-suffix/child.pb.ts index 3713b2cc4..26a04b03e 100644 --- a/integration/file-suffix/child.pb.ts +++ b/integration/file-suffix/child.pb.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: child.proto /* eslint-disable */ diff --git a/integration/file-suffix/google/protobuf/timestamp.pb.ts b/integration/file-suffix/google/protobuf/timestamp.pb.ts index 835f3f187..150d84f33 100644 --- a/integration/file-suffix/google/protobuf/timestamp.pb.ts +++ b/integration/file-suffix/google/protobuf/timestamp.pb.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/file-suffix/parent.pb.ts b/integration/file-suffix/parent.pb.ts index fca471e3c..158bc701e 100644 --- a/integration/file-suffix/parent.pb.ts +++ b/integration/file-suffix/parent.pb.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: parent.proto /* eslint-disable */ diff --git a/integration/from-partial-no-initialize/test.ts b/integration/from-partial-no-initialize/test.ts index a34b5648f..fef0c3fe4 100644 --- a/integration/from-partial-no-initialize/test.ts +++ b/integration/from-partial-no-initialize/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/fromJson-enums/from-json.ts b/integration/fromJson-enums/from-json.ts index 25fbbe609..bdbeaeb28 100644 --- a/integration/fromJson-enums/from-json.ts +++ b/integration/fromJson-enums/from-json.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: from-json.proto /* eslint-disable */ diff --git a/integration/generic-metadata/hero.ts b/integration/generic-metadata/hero.ts index 0d7f13b33..ff70e637a 100644 --- a/integration/generic-metadata/hero.ts +++ b/integration/generic-metadata/hero.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: hero.proto /* eslint-disable */ diff --git a/integration/generic-service-definitions-and-services/simple.ts b/integration/generic-service-definitions-and-services/simple.ts index 6adbda5f0..7b93fdc6d 100644 --- a/integration/generic-service-definitions-and-services/simple.ts +++ b/integration/generic-service-definitions-and-services/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/generic-service-definitions/simple.ts b/integration/generic-service-definitions/simple.ts index 6adbda5f0..7b93fdc6d 100644 --- a/integration/generic-service-definitions/simple.ts +++ b/integration/generic-service-definitions/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/global-this/global-this.ts b/integration/global-this/global-this.ts index 67b76a04b..058ce33ad 100644 --- a/integration/global-this/global-this.ts +++ b/integration/global-this/global-this.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: global-this.proto /* eslint-disable */ diff --git a/integration/groups/test.ts b/integration/groups/test.ts index bb3e0b142..530a53c02 100644 --- a/integration/groups/test.ts +++ b/integration/groups/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/grpc-js-use-date-false/google/protobuf/timestamp.ts b/integration/grpc-js-use-date-false/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/grpc-js-use-date-false/google/protobuf/timestamp.ts +++ b/integration/grpc-js-use-date-false/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/grpc-js-use-date-false/grpc-js-use-date-false.ts b/integration/grpc-js-use-date-false/grpc-js-use-date-false.ts index 4e9e2d3c9..59b66b953 100644 --- a/integration/grpc-js-use-date-false/grpc-js-use-date-false.ts +++ b/integration/grpc-js-use-date-false/grpc-js-use-date-false.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: grpc-js-use-date-false.proto /* eslint-disable */ diff --git a/integration/grpc-js-use-date-string-nano/google/protobuf/timestamp.ts b/integration/grpc-js-use-date-string-nano/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/grpc-js-use-date-string-nano/google/protobuf/timestamp.ts +++ b/integration/grpc-js-use-date-string-nano/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/grpc-js-use-date-string-nano/grpc-js-use-date-string-nano.ts b/integration/grpc-js-use-date-string-nano/grpc-js-use-date-string-nano.ts index f1cd2c35f..486a2d8b1 100644 --- a/integration/grpc-js-use-date-string-nano/grpc-js-use-date-string-nano.ts +++ b/integration/grpc-js-use-date-string-nano/grpc-js-use-date-string-nano.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: grpc-js-use-date-string-nano.proto /* eslint-disable */ diff --git a/integration/grpc-js-use-date-string/google/protobuf/timestamp.ts b/integration/grpc-js-use-date-string/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/grpc-js-use-date-string/google/protobuf/timestamp.ts +++ b/integration/grpc-js-use-date-string/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/grpc-js-use-date-string/grpc-js-use-date-string.ts b/integration/grpc-js-use-date-string/grpc-js-use-date-string.ts index cf74ba653..61f03fde2 100644 --- a/integration/grpc-js-use-date-string/grpc-js-use-date-string.ts +++ b/integration/grpc-js-use-date-string/grpc-js-use-date-string.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: grpc-js-use-date-string.proto /* eslint-disable */ diff --git a/integration/grpc-js-use-date-true/google/protobuf/timestamp.ts b/integration/grpc-js-use-date-true/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/grpc-js-use-date-true/google/protobuf/timestamp.ts +++ b/integration/grpc-js-use-date-true/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/grpc-js-use-date-true/grpc-js-use-date-true.ts b/integration/grpc-js-use-date-true/grpc-js-use-date-true.ts index 3969c3a39..8bea123ab 100644 --- a/integration/grpc-js-use-date-true/grpc-js-use-date-true.ts +++ b/integration/grpc-js-use-date-true/grpc-js-use-date-true.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: grpc-js-use-date-true.proto /* eslint-disable */ diff --git a/integration/grpc-js/google/protobuf/empty.ts b/integration/grpc-js/google/protobuf/empty.ts index 2c276461a..6264973e7 100644 --- a/integration/grpc-js/google/protobuf/empty.ts +++ b/integration/grpc-js/google/protobuf/empty.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/empty.proto /* eslint-disable */ diff --git a/integration/grpc-js/google/protobuf/struct.ts b/integration/grpc-js/google/protobuf/struct.ts index 48c8311c0..b8047720b 100644 --- a/integration/grpc-js/google/protobuf/struct.ts +++ b/integration/grpc-js/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/grpc-js/google/protobuf/timestamp.ts b/integration/grpc-js/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/grpc-js/google/protobuf/timestamp.ts +++ b/integration/grpc-js/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/grpc-js/google/protobuf/wrappers.ts b/integration/grpc-js/google/protobuf/wrappers.ts index 6159c1b46..f7516ba9a 100644 --- a/integration/grpc-js/google/protobuf/wrappers.ts +++ b/integration/grpc-js/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/grpc-js/simple.ts b/integration/grpc-js/simple.ts index 9667cd583..23748d118 100644 --- a/integration/grpc-js/simple.ts +++ b/integration/grpc-js/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/grpc-web-abort-signal/example.ts b/integration/grpc-web-abort-signal/example.ts index f3487df28..e11aa1d19 100644 --- a/integration/grpc-web-abort-signal/example.ts +++ b/integration/grpc-web-abort-signal/example.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: example.proto /* eslint-disable */ diff --git a/integration/grpc-web-go-server/example.ts b/integration/grpc-web-go-server/example.ts index d900d7434..d13126d6a 100644 --- a/integration/grpc-web-go-server/example.ts +++ b/integration/grpc-web-go-server/example.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: example.proto /* eslint-disable */ diff --git a/integration/grpc-web-no-streaming-observable/example.ts b/integration/grpc-web-no-streaming-observable/example.ts index 3c1cca451..9ddf1b418 100644 --- a/integration/grpc-web-no-streaming-observable/example.ts +++ b/integration/grpc-web-no-streaming-observable/example.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: example.proto /* eslint-disable */ diff --git a/integration/grpc-web-no-streaming/example.ts b/integration/grpc-web-no-streaming/example.ts index 422b9c362..9bceac0bf 100644 --- a/integration/grpc-web-no-streaming/example.ts +++ b/integration/grpc-web-no-streaming/example.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: example.proto /* eslint-disable */ diff --git a/integration/grpc-web/example.ts b/integration/grpc-web/example.ts index b6f9828b6..041db8347 100644 --- a/integration/grpc-web/example.ts +++ b/integration/grpc-web/example.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: example.proto /* eslint-disable */ diff --git a/integration/grpc-web/google/protobuf/wrappers.ts b/integration/grpc-web/google/protobuf/wrappers.ts index 6159c1b46..f7516ba9a 100644 --- a/integration/grpc-web/google/protobuf/wrappers.ts +++ b/integration/grpc-web/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/handle-error-in-default-service/simple.ts b/integration/handle-error-in-default-service/simple.ts index 7958d5088..e75c8ddf4 100644 --- a/integration/handle-error-in-default-service/simple.ts +++ b/integration/handle-error-in-default-service/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/handle-error-with-after-response/simple.ts b/integration/handle-error-with-after-response/simple.ts index 3520ddf46..f7224df62 100644 --- a/integration/handle-error-with-after-response/simple.ts +++ b/integration/handle-error-with-after-response/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/import-mapping/google/protobuf/timestamp.ts b/integration/import-mapping/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/import-mapping/google/protobuf/timestamp.ts +++ b/integration/import-mapping/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/import-mapping/mapping.ts b/integration/import-mapping/mapping.ts index b5124fc6a..167392955 100644 --- a/integration/import-mapping/mapping.ts +++ b/integration/import-mapping/mapping.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: mapping.proto /* eslint-disable */ diff --git a/integration/import-suffix/child.pb.ts b/integration/import-suffix/child.pb.ts index e91f5784e..2cf861416 100644 --- a/integration/import-suffix/child.pb.ts +++ b/integration/import-suffix/child.pb.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: child.proto /* eslint-disable */ diff --git a/integration/import-suffix/google/protobuf/timestamp.pb.ts b/integration/import-suffix/google/protobuf/timestamp.pb.ts index 48e7003ff..0bc22a518 100644 --- a/integration/import-suffix/google/protobuf/timestamp.pb.ts +++ b/integration/import-suffix/google/protobuf/timestamp.pb.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/import-suffix/parent.pb.ts b/integration/import-suffix/parent.pb.ts index 578dc0a29..fc7f73143 100644 --- a/integration/import-suffix/parent.pb.ts +++ b/integration/import-suffix/parent.pb.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: parent.proto /* eslint-disable */ diff --git a/integration/lower-case-svc-methods/math.ts b/integration/lower-case-svc-methods/math.ts index d49a19227..c917b42ed 100644 --- a/integration/lower-case-svc-methods/math.ts +++ b/integration/lower-case-svc-methods/math.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: math.proto /* eslint-disable */ diff --git a/integration/map-bigint-optional/test.ts b/integration/map-bigint-optional/test.ts index 832929534..7a3b541d8 100644 --- a/integration/map-bigint-optional/test.ts +++ b/integration/map-bigint-optional/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/map-long-optional/test.ts b/integration/map-long-optional/test.ts index b0d5c822e..ead0bf04d 100644 --- a/integration/map-long-optional/test.ts +++ b/integration/map-long-optional/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/map-longstring-optional/test.ts b/integration/map-longstring-optional/test.ts index 58f4a99dc..05ee48ef8 100644 --- a/integration/map-longstring-optional/test.ts +++ b/integration/map-longstring-optional/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/meta-typings/google/protobuf/timestamp.ts b/integration/meta-typings/google/protobuf/timestamp.ts index f5c64d397..f0abd8f16 100644 --- a/integration/meta-typings/google/protobuf/timestamp.ts +++ b/integration/meta-typings/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/meta-typings/google/protobuf/wrappers.ts b/integration/meta-typings/google/protobuf/wrappers.ts index eff223512..47ab03de0 100644 --- a/integration/meta-typings/google/protobuf/wrappers.ts +++ b/integration/meta-typings/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/meta-typings/google/type/date.ts b/integration/meta-typings/google/type/date.ts index bc7cf4999..b2fd9fc8e 100644 --- a/integration/meta-typings/google/type/date.ts +++ b/integration/meta-typings/google/type/date.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/type/date.proto /* eslint-disable */ diff --git a/integration/meta-typings/import_dir/thing.ts b/integration/meta-typings/import_dir/thing.ts index 5edeb36c1..f22df454b 100644 --- a/integration/meta-typings/import_dir/thing.ts +++ b/integration/meta-typings/import_dir/thing.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: import_dir/thing.proto /* eslint-disable */ diff --git a/integration/meta-typings/simple.ts b/integration/meta-typings/simple.ts index 2f4b35db8..3d20affc2 100644 --- a/integration/meta-typings/simple.ts +++ b/integration/meta-typings/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/nestjs-metadata-grpc-js/hero.ts b/integration/nestjs-metadata-grpc-js/hero.ts index 42676706e..4f9fd2c78 100644 --- a/integration/nestjs-metadata-grpc-js/hero.ts +++ b/integration/nestjs-metadata-grpc-js/hero.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: hero.proto /* eslint-disable */ diff --git a/integration/nestjs-metadata-observables/hero.ts b/integration/nestjs-metadata-observables/hero.ts index 70412b645..3bbf6ca69 100644 --- a/integration/nestjs-metadata-observables/hero.ts +++ b/integration/nestjs-metadata-observables/hero.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: hero.proto /* eslint-disable */ diff --git a/integration/nestjs-metadata-restparameters/hero.ts b/integration/nestjs-metadata-restparameters/hero.ts index 14bc93d02..ae9a35d2b 100644 --- a/integration/nestjs-metadata-restparameters/hero.ts +++ b/integration/nestjs-metadata-restparameters/hero.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: hero.proto /* eslint-disable */ diff --git a/integration/nestjs-metadata/hero.ts b/integration/nestjs-metadata/hero.ts index 3204f8947..b0b4cfbfd 100644 --- a/integration/nestjs-metadata/hero.ts +++ b/integration/nestjs-metadata/hero.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: hero.proto /* eslint-disable */ diff --git a/integration/nestjs-restparameters/hero.ts b/integration/nestjs-restparameters/hero.ts index 81aa6a4e6..073a718ab 100644 --- a/integration/nestjs-restparameters/hero.ts +++ b/integration/nestjs-restparameters/hero.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: hero.proto /* eslint-disable */ diff --git a/integration/nestjs-simple-observables/hero.ts b/integration/nestjs-simple-observables/hero.ts index b9a352bca..9ca7756d3 100644 --- a/integration/nestjs-simple-observables/hero.ts +++ b/integration/nestjs-simple-observables/hero.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: hero.proto /* eslint-disable */ diff --git a/integration/nestjs-simple-restparameters/google/protobuf/empty.ts b/integration/nestjs-simple-restparameters/google/protobuf/empty.ts index 48d25a195..edaa68430 100644 --- a/integration/nestjs-simple-restparameters/google/protobuf/empty.ts +++ b/integration/nestjs-simple-restparameters/google/protobuf/empty.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/empty.proto /* eslint-disable */ diff --git a/integration/nestjs-simple-restparameters/hero.ts b/integration/nestjs-simple-restparameters/hero.ts index 82970a0e1..93e7f6dad 100644 --- a/integration/nestjs-simple-restparameters/hero.ts +++ b/integration/nestjs-simple-restparameters/hero.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: hero.proto /* eslint-disable */ diff --git a/integration/nestjs-simple-usedate/google/protobuf/empty.ts b/integration/nestjs-simple-usedate/google/protobuf/empty.ts index 48d25a195..edaa68430 100644 --- a/integration/nestjs-simple-usedate/google/protobuf/empty.ts +++ b/integration/nestjs-simple-usedate/google/protobuf/empty.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/empty.proto /* eslint-disable */ diff --git a/integration/nestjs-simple-usedate/google/protobuf/timestamp.ts b/integration/nestjs-simple-usedate/google/protobuf/timestamp.ts index a11b3e549..f318b72b5 100644 --- a/integration/nestjs-simple-usedate/google/protobuf/timestamp.ts +++ b/integration/nestjs-simple-usedate/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/nestjs-simple-usedate/hero.ts b/integration/nestjs-simple-usedate/hero.ts index 61a2de974..e4a815580 100644 --- a/integration/nestjs-simple-usedate/hero.ts +++ b/integration/nestjs-simple-usedate/hero.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: hero.proto /* eslint-disable */ diff --git a/integration/nestjs-simple/google/protobuf/empty.ts b/integration/nestjs-simple/google/protobuf/empty.ts index 48d25a195..edaa68430 100644 --- a/integration/nestjs-simple/google/protobuf/empty.ts +++ b/integration/nestjs-simple/google/protobuf/empty.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/empty.proto /* eslint-disable */ diff --git a/integration/nestjs-simple/google/protobuf/struct.ts b/integration/nestjs-simple/google/protobuf/struct.ts index 7a839ecbe..5d837581d 100644 --- a/integration/nestjs-simple/google/protobuf/struct.ts +++ b/integration/nestjs-simple/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/nestjs-simple/google/protobuf/timestamp.ts b/integration/nestjs-simple/google/protobuf/timestamp.ts index 3b4f18469..20e07e5d5 100644 --- a/integration/nestjs-simple/google/protobuf/timestamp.ts +++ b/integration/nestjs-simple/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/nestjs-simple/hero.ts b/integration/nestjs-simple/hero.ts index 39dc689f2..bad14959a 100644 --- a/integration/nestjs-simple/hero.ts +++ b/integration/nestjs-simple/hero.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: hero.proto /* eslint-disable */ diff --git a/integration/nice-grpc/google/protobuf/empty.ts b/integration/nice-grpc/google/protobuf/empty.ts index b5e06f41e..45124417a 100644 --- a/integration/nice-grpc/google/protobuf/empty.ts +++ b/integration/nice-grpc/google/protobuf/empty.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/empty.proto /* eslint-disable */ diff --git a/integration/nice-grpc/google/protobuf/struct.ts b/integration/nice-grpc/google/protobuf/struct.ts index 301efda6a..ef6bde9f5 100644 --- a/integration/nice-grpc/google/protobuf/struct.ts +++ b/integration/nice-grpc/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/nice-grpc/google/protobuf/timestamp.ts b/integration/nice-grpc/google/protobuf/timestamp.ts index db61d802a..62599cfa5 100644 --- a/integration/nice-grpc/google/protobuf/timestamp.ts +++ b/integration/nice-grpc/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/nice-grpc/google/protobuf/wrappers.ts b/integration/nice-grpc/google/protobuf/wrappers.ts index 898e5b104..f947bfa2d 100644 --- a/integration/nice-grpc/google/protobuf/wrappers.ts +++ b/integration/nice-grpc/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/nice-grpc/simple.ts b/integration/nice-grpc/simple.ts index 273be1b44..2f1b018ed 100644 --- a/integration/nice-grpc/simple.ts +++ b/integration/nice-grpc/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/no-comments/simple.ts b/integration/no-comments/simple.ts index daadcba06..faaf85a7d 100644 --- a/integration/no-comments/simple.ts +++ b/integration/no-comments/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/no-proto-package/no-proto-package.ts b/integration/no-proto-package/no-proto-package.ts index 9e8de5794..c65513813 100644 --- a/integration/no-proto-package/no-proto-package.ts +++ b/integration/no-proto-package/no-proto-package.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: no-proto-package.proto /* eslint-disable */ diff --git a/integration/omit-optionals/simple.ts b/integration/omit-optionals/simple.ts index ffd1a0551..7536132dc 100644 --- a/integration/omit-optionals/simple.ts +++ b/integration/omit-optionals/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/oneof-properties/oneof.ts b/integration/oneof-properties/oneof.ts index 3b39e5394..241260b61 100644 --- a/integration/oneof-properties/oneof.ts +++ b/integration/oneof-properties/oneof.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: oneof.proto /* eslint-disable */ diff --git a/integration/oneof-unions-snake/google/protobuf/struct.ts b/integration/oneof-unions-snake/google/protobuf/struct.ts index a018129b2..00add9167 100644 --- a/integration/oneof-unions-snake/google/protobuf/struct.ts +++ b/integration/oneof-unions-snake/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/oneof-unions-snake/simple.ts b/integration/oneof-unions-snake/simple.ts index 800de2d66..39f8acae7 100644 --- a/integration/oneof-unions-snake/simple.ts +++ b/integration/oneof-unions-snake/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/oneof-unions/google/protobuf/struct.ts b/integration/oneof-unions/google/protobuf/struct.ts index f296b811f..5127d462f 100644 --- a/integration/oneof-unions/google/protobuf/struct.ts +++ b/integration/oneof-unions/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/oneof-unions/oneof.ts b/integration/oneof-unions/oneof.ts index dd30a7c3d..168d3a34e 100644 --- a/integration/oneof-unions/oneof.ts +++ b/integration/oneof-unions/oneof.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: oneof.proto /* eslint-disable */ diff --git a/integration/only-types-grpc-metadata/only-types-grpc-metadata.ts b/integration/only-types-grpc-metadata/only-types-grpc-metadata.ts index 169efc3d9..678a48b26 100644 --- a/integration/only-types-grpc-metadata/only-types-grpc-metadata.ts +++ b/integration/only-types-grpc-metadata/only-types-grpc-metadata.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: only-types-grpc-metadata.proto /* eslint-disable */ diff --git a/integration/only-types/google/protobuf/any.ts b/integration/only-types/google/protobuf/any.ts index dadb04680..4903598d0 100644 --- a/integration/only-types/google/protobuf/any.ts +++ b/integration/only-types/google/protobuf/any.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/any.proto /* eslint-disable */ diff --git a/integration/only-types/google/protobuf/timestamp.ts b/integration/only-types/google/protobuf/timestamp.ts index 58aeb6a07..9dd046402 100644 --- a/integration/only-types/google/protobuf/timestamp.ts +++ b/integration/only-types/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/only-types/reservation.ts b/integration/only-types/reservation.ts index 3e5a2aa80..d4ea3c5e2 100644 --- a/integration/only-types/reservation.ts +++ b/integration/only-types/reservation.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: reservation.proto /* eslint-disable */ diff --git a/integration/optional-long/google/protobuf/timestamp.ts b/integration/optional-long/google/protobuf/timestamp.ts index a91a5d15f..4546e531f 100644 --- a/integration/optional-long/google/protobuf/timestamp.ts +++ b/integration/optional-long/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/optional-long/test.ts b/integration/optional-long/test.ts index d163eec05..3d2aa95fb 100644 --- a/integration/optional-long/test.ts +++ b/integration/optional-long/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/optional-type-definitions/simple.ts b/integration/optional-type-definitions/simple.ts index e28589f06..11309bf31 100644 --- a/integration/optional-type-definitions/simple.ts +++ b/integration/optional-type-definitions/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/options/google/protobuf/descriptor.ts b/integration/options/google/protobuf/descriptor.ts index f997cad93..659a41d14 100644 --- a/integration/options/google/protobuf/descriptor.ts +++ b/integration/options/google/protobuf/descriptor.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/descriptor.proto /* eslint-disable */ diff --git a/integration/options/options.ts b/integration/options/options.ts index 04da3b0ca..e9d412a90 100644 --- a/integration/options/options.ts +++ b/integration/options/options.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: options.proto /* eslint-disable */ diff --git a/integration/options/something/something.ts b/integration/options/something/something.ts index 439217a3b..f8527dbb1 100644 --- a/integration/options/something/something.ts +++ b/integration/options/something/something.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: something/something.proto /* eslint-disable */ diff --git a/integration/output-decode-only/encode.ts b/integration/output-decode-only/encode.ts index 5e750e60a..4518d05a3 100644 --- a/integration/output-decode-only/encode.ts +++ b/integration/output-decode-only/encode.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: encode.proto /* eslint-disable */ diff --git a/integration/output-decode-only/google/protobuf/wrappers.ts b/integration/output-decode-only/google/protobuf/wrappers.ts index 7a9df04c1..e440a56e4 100644 --- a/integration/output-decode-only/google/protobuf/wrappers.ts +++ b/integration/output-decode-only/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/output-encode-no-creation-methods/encode.ts b/integration/output-encode-no-creation-methods/encode.ts index c567e8118..1bc3c4041 100644 --- a/integration/output-encode-no-creation-methods/encode.ts +++ b/integration/output-encode-no-creation-methods/encode.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: encode.proto /* eslint-disable */ diff --git a/integration/output-encode-no-creation-methods/google/protobuf/wrappers.ts b/integration/output-encode-no-creation-methods/google/protobuf/wrappers.ts index 39159a59f..875c260dd 100644 --- a/integration/output-encode-no-creation-methods/google/protobuf/wrappers.ts +++ b/integration/output-encode-no-creation-methods/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/output-encode-only/encode.ts b/integration/output-encode-only/encode.ts index a29ac991e..ac1af218b 100644 --- a/integration/output-encode-only/encode.ts +++ b/integration/output-encode-only/encode.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: encode.proto /* eslint-disable */ diff --git a/integration/output-encode-only/google/protobuf/wrappers.ts b/integration/output-encode-only/google/protobuf/wrappers.ts index 0aff0748a..ee27d0bec 100644 --- a/integration/output-encode-only/google/protobuf/wrappers.ts +++ b/integration/output-encode-only/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/output-fromJSON-only/decode.ts b/integration/output-fromJSON-only/decode.ts index 7182a9ecb..cd2b88023 100644 --- a/integration/output-fromJSON-only/decode.ts +++ b/integration/output-fromJSON-only/decode.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: decode.proto /* eslint-disable */ diff --git a/integration/output-fromJSON-only/google/protobuf/wrappers.ts b/integration/output-fromJSON-only/google/protobuf/wrappers.ts index e5150d998..d79ede9b6 100644 --- a/integration/output-fromJSON-only/google/protobuf/wrappers.ts +++ b/integration/output-fromJSON-only/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/output-index/a.ts b/integration/output-index/a.ts index 6063787cb..9b8833fc5 100644 --- a/integration/output-index/a.ts +++ b/integration/output-index/a.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: a.proto /* eslint-disable */ diff --git a/integration/output-index/index.base.ts b/integration/output-index/index.base.ts index 1fdd1888b..4be1c1f57 100644 --- a/integration/output-index/index.base.ts +++ b/integration/output-index/index.base.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 /* eslint-disable */ diff --git a/integration/output-index/index.ts b/integration/output-index/index.ts index 9d2ecb930..bc9555e1e 100644 --- a/integration/output-index/index.ts +++ b/integration/output-index/index.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 /* eslint-disable */ diff --git a/integration/output-toJSON-only/encode.ts b/integration/output-toJSON-only/encode.ts index 24ffc140c..e2c5342f6 100644 --- a/integration/output-toJSON-only/encode.ts +++ b/integration/output-toJSON-only/encode.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: encode.proto /* eslint-disable */ diff --git a/integration/output-toJSON-only/google/protobuf/wrappers.ts b/integration/output-toJSON-only/google/protobuf/wrappers.ts index 07e760cfc..dc314bc8b 100644 --- a/integration/output-toJSON-only/google/protobuf/wrappers.ts +++ b/integration/output-toJSON-only/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/point/point.ts b/integration/point/point.ts index 1b27e6816..393e46d89 100644 --- a/integration/point/point.ts +++ b/integration/point/point.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: point.proto /* eslint-disable */ diff --git a/integration/proto2-long/simple.ts b/integration/proto2-long/simple.ts index db6a1a189..11e1807c1 100644 --- a/integration/proto2-long/simple.ts +++ b/integration/proto2-long/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/proto2-no-default-vals/simple.ts b/integration/proto2-no-default-vals/simple.ts index c29b07d73..0af1a7dbe 100644 --- a/integration/proto2-no-default-vals/simple.ts +++ b/integration/proto2-no-default-vals/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/proto2-no-optionals/simple.ts b/integration/proto2-no-optionals/simple.ts index a73fa800d..cce545031 100644 --- a/integration/proto2-no-optionals/simple.ts +++ b/integration/proto2-no-optionals/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/proto2/simple.ts b/integration/proto2/simple.ts index 88c86c299..48ca11fe9 100644 --- a/integration/proto2/simple.ts +++ b/integration/proto2/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/remove-enum-prefix-string-enums/remove-enum-prefix-string-enums.ts b/integration/remove-enum-prefix-string-enums/remove-enum-prefix-string-enums.ts index d2c0a9ab1..8b1ded6f5 100644 --- a/integration/remove-enum-prefix-string-enums/remove-enum-prefix-string-enums.ts +++ b/integration/remove-enum-prefix-string-enums/remove-enum-prefix-string-enums.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: remove-enum-prefix-string-enums.proto /* eslint-disable */ diff --git a/integration/remove-enum-prefix/remove-enum-prefix.ts b/integration/remove-enum-prefix/remove-enum-prefix.ts index ff6c6ce3a..51a04f6d4 100644 --- a/integration/remove-enum-prefix/remove-enum-prefix.ts +++ b/integration/remove-enum-prefix/remove-enum-prefix.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: remove-enum-prefix.proto /* eslint-disable */ diff --git a/integration/reserved-words/reserved-words.ts b/integration/reserved-words/reserved-words.ts index 3c4005159..64e8e8d7b 100644 --- a/integration/reserved-words/reserved-words.ts +++ b/integration/reserved-words/reserved-words.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: reserved-words.proto /* eslint-disable */ diff --git a/integration/return-observable/observable.ts b/integration/return-observable/observable.ts index 943b07da4..76f132ebf 100644 --- a/integration/return-observable/observable.ts +++ b/integration/return-observable/observable.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: observable.proto /* eslint-disable */ diff --git a/integration/simple-deprecated-fields/simple.ts b/integration/simple-deprecated-fields/simple.ts index d01693e28..2217edebc 100644 --- a/integration/simple-deprecated-fields/simple.ts +++ b/integration/simple-deprecated-fields/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple-esmodule-interop/empty.ts b/integration/simple-esmodule-interop/empty.ts index aedecce13..11425c47e 100644 --- a/integration/simple-esmodule-interop/empty.ts +++ b/integration/simple-esmodule-interop/empty.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: empty.proto /* eslint-disable */ diff --git a/integration/simple-esmodule-interop/simple.ts b/integration/simple-esmodule-interop/simple.ts index 4e2688ac3..979b9cf64 100644 --- a/integration/simple-esmodule-interop/simple.ts +++ b/integration/simple-esmodule-interop/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple-json-name/google/protobuf/timestamp.ts b/integration/simple-json-name/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/simple-json-name/google/protobuf/timestamp.ts +++ b/integration/simple-json-name/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/simple-json-name/simple.ts b/integration/simple-json-name/simple.ts index ce0e6f082..b7a96c1ef 100644 --- a/integration/simple-json-name/simple.ts +++ b/integration/simple-json-name/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple-long-bigint/google/protobuf/timestamp.ts b/integration/simple-long-bigint/google/protobuf/timestamp.ts index 123b0bad0..1760585bb 100644 --- a/integration/simple-long-bigint/google/protobuf/timestamp.ts +++ b/integration/simple-long-bigint/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/simple-long-bigint/google/protobuf/wrappers.ts b/integration/simple-long-bigint/google/protobuf/wrappers.ts index 8154688f4..97fd120cc 100644 --- a/integration/simple-long-bigint/google/protobuf/wrappers.ts +++ b/integration/simple-long-bigint/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/simple-long-bigint/simple.ts b/integration/simple-long-bigint/simple.ts index 1970c6449..8e2cd6273 100644 --- a/integration/simple-long-bigint/simple.ts +++ b/integration/simple-long-bigint/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple-long-string/google/protobuf/timestamp.ts b/integration/simple-long-string/google/protobuf/timestamp.ts index 4b3e10672..5c2531703 100644 --- a/integration/simple-long-string/google/protobuf/timestamp.ts +++ b/integration/simple-long-string/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/simple-long-string/google/protobuf/wrappers.ts b/integration/simple-long-string/google/protobuf/wrappers.ts index 15dceeabb..2c5c38b6c 100644 --- a/integration/simple-long-string/google/protobuf/wrappers.ts +++ b/integration/simple-long-string/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/simple-long-string/simple.ts b/integration/simple-long-string/simple.ts index fc526acb5..3d72a2503 100644 --- a/integration/simple-long-string/simple.ts +++ b/integration/simple-long-string/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple-long/google/protobuf/wrappers.ts b/integration/simple-long/google/protobuf/wrappers.ts index 314825951..804df9e23 100644 --- a/integration/simple-long/google/protobuf/wrappers.ts +++ b/integration/simple-long/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/simple-long/simple.ts b/integration/simple-long/simple.ts index c121f8253..3e64ca9ae 100644 --- a/integration/simple-long/simple.ts +++ b/integration/simple-long/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple-optionals/google/protobuf/timestamp.ts b/integration/simple-optionals/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/simple-optionals/google/protobuf/timestamp.ts +++ b/integration/simple-optionals/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/simple-optionals/google/protobuf/wrappers.ts b/integration/simple-optionals/google/protobuf/wrappers.ts index 6159c1b46..f7516ba9a 100644 --- a/integration/simple-optionals/google/protobuf/wrappers.ts +++ b/integration/simple-optionals/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/simple-optionals/import_dir/thing.ts b/integration/simple-optionals/import_dir/thing.ts index 0326d2e54..abc9ab397 100644 --- a/integration/simple-optionals/import_dir/thing.ts +++ b/integration/simple-optionals/import_dir/thing.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: import_dir/thing.proto /* eslint-disable */ diff --git a/integration/simple-optionals/simple.ts b/integration/simple-optionals/simple.ts index c8a7ce874..2c0d94e3a 100644 --- a/integration/simple-optionals/simple.ts +++ b/integration/simple-optionals/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple-optionals/thing.ts b/integration/simple-optionals/thing.ts index 11078f83e..935ea8129 100644 --- a/integration/simple-optionals/thing.ts +++ b/integration/simple-optionals/thing.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: thing.proto /* eslint-disable */ diff --git a/integration/simple-proto2/simple.ts b/integration/simple-proto2/simple.ts index 9756e8bfb..2580f3e52 100644 --- a/integration/simple-proto2/simple.ts +++ b/integration/simple-proto2/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple-prototype-defaults/google/protobuf/timestamp.ts b/integration/simple-prototype-defaults/google/protobuf/timestamp.ts index 835129168..d7dcadacd 100644 --- a/integration/simple-prototype-defaults/google/protobuf/timestamp.ts +++ b/integration/simple-prototype-defaults/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/simple-prototype-defaults/google/protobuf/wrappers.ts b/integration/simple-prototype-defaults/google/protobuf/wrappers.ts index b180a1c12..f0601fcea 100644 --- a/integration/simple-prototype-defaults/google/protobuf/wrappers.ts +++ b/integration/simple-prototype-defaults/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/simple-prototype-defaults/google/type/date.ts b/integration/simple-prototype-defaults/google/type/date.ts index 9ba0e2f42..6a6a679be 100644 --- a/integration/simple-prototype-defaults/google/type/date.ts +++ b/integration/simple-prototype-defaults/google/type/date.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/type/date.proto /* eslint-disable */ diff --git a/integration/simple-prototype-defaults/import_dir/thing.ts b/integration/simple-prototype-defaults/import_dir/thing.ts index 79cbc625e..a73ee12ae 100644 --- a/integration/simple-prototype-defaults/import_dir/thing.ts +++ b/integration/simple-prototype-defaults/import_dir/thing.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: import_dir/thing.proto /* eslint-disable */ diff --git a/integration/simple-prototype-defaults/simple.ts b/integration/simple-prototype-defaults/simple.ts index 9e8cf3cc8..0e3fbe31b 100644 --- a/integration/simple-prototype-defaults/simple.ts +++ b/integration/simple-prototype-defaults/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple-snake/google/protobuf/struct.ts b/integration/simple-snake/google/protobuf/struct.ts index 38401a8a3..ea5d85627 100644 --- a/integration/simple-snake/google/protobuf/struct.ts +++ b/integration/simple-snake/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/simple-snake/google/protobuf/timestamp.ts b/integration/simple-snake/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/simple-snake/google/protobuf/timestamp.ts +++ b/integration/simple-snake/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/simple-snake/google/protobuf/wrappers.ts b/integration/simple-snake/google/protobuf/wrappers.ts index 6159c1b46..f7516ba9a 100644 --- a/integration/simple-snake/google/protobuf/wrappers.ts +++ b/integration/simple-snake/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/simple-snake/import_dir/thing.ts b/integration/simple-snake/import_dir/thing.ts index c34a89050..36bcff768 100644 --- a/integration/simple-snake/import_dir/thing.ts +++ b/integration/simple-snake/import_dir/thing.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: import_dir/thing.proto /* eslint-disable */ diff --git a/integration/simple-snake/simple.ts b/integration/simple-snake/simple.ts index 508d1e619..719bd2800 100644 --- a/integration/simple-snake/simple.ts +++ b/integration/simple-snake/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple-string-enums/google/protobuf/struct.ts b/integration/simple-string-enums/google/protobuf/struct.ts index 6ccda2481..b7f27c1d3 100644 --- a/integration/simple-string-enums/google/protobuf/struct.ts +++ b/integration/simple-string-enums/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/simple-string-enums/simple.ts b/integration/simple-string-enums/simple.ts index 220ca16d4..1f86aeed0 100644 --- a/integration/simple-string-enums/simple.ts +++ b/integration/simple-string-enums/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple-unrecognized-enum/google/protobuf/timestamp.ts b/integration/simple-unrecognized-enum/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/simple-unrecognized-enum/google/protobuf/timestamp.ts +++ b/integration/simple-unrecognized-enum/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/simple-unrecognized-enum/google/protobuf/wrappers.ts b/integration/simple-unrecognized-enum/google/protobuf/wrappers.ts index 6159c1b46..f7516ba9a 100644 --- a/integration/simple-unrecognized-enum/google/protobuf/wrappers.ts +++ b/integration/simple-unrecognized-enum/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/simple-unrecognized-enum/import_dir/thing.ts b/integration/simple-unrecognized-enum/import_dir/thing.ts index 18146e9fa..71c5f6cae 100644 --- a/integration/simple-unrecognized-enum/import_dir/thing.ts +++ b/integration/simple-unrecognized-enum/import_dir/thing.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: import_dir/thing.proto /* eslint-disable */ diff --git a/integration/simple-unrecognized-enum/simple.ts b/integration/simple-unrecognized-enum/simple.ts index e8e1b9313..4747ba475 100644 --- a/integration/simple-unrecognized-enum/simple.ts +++ b/integration/simple-unrecognized-enum/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/simple/google/protobuf/timestamp.ts b/integration/simple/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/simple/google/protobuf/timestamp.ts +++ b/integration/simple/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/simple/google/protobuf/wrappers.ts b/integration/simple/google/protobuf/wrappers.ts index 6159c1b46..f7516ba9a 100644 --- a/integration/simple/google/protobuf/wrappers.ts +++ b/integration/simple/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/simple/google/type/date.ts b/integration/simple/google/type/date.ts index a2b003440..4b5eb3f8f 100644 --- a/integration/simple/google/type/date.ts +++ b/integration/simple/google/type/date.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/type/date.proto /* eslint-disable */ diff --git a/integration/simple/import_dir/thing.ts b/integration/simple/import_dir/thing.ts index 18146e9fa..71c5f6cae 100644 --- a/integration/simple/import_dir/thing.ts +++ b/integration/simple/import_dir/thing.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: import_dir/thing.proto /* eslint-disable */ diff --git a/integration/simple/simple.ts b/integration/simple/simple.ts index e433aca21..957d00ab2 100644 --- a/integration/simple/simple.ts +++ b/integration/simple/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/static-only-type-registry/bar/bar.ts b/integration/static-only-type-registry/bar/bar.ts index eb020ac81..2784023b6 100644 --- a/integration/static-only-type-registry/bar/bar.ts +++ b/integration/static-only-type-registry/bar/bar.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: bar/bar.proto /* eslint-disable */ diff --git a/integration/static-only-type-registry/foo.ts b/integration/static-only-type-registry/foo.ts index 4e44c439d..6b6b5286e 100644 --- a/integration/static-only-type-registry/foo.ts +++ b/integration/static-only-type-registry/foo.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: foo.proto /* eslint-disable */ diff --git a/integration/static-only-type-registry/google/protobuf/struct.ts b/integration/static-only-type-registry/google/protobuf/struct.ts index 48c428192..693c4c9dc 100644 --- a/integration/static-only-type-registry/google/protobuf/struct.ts +++ b/integration/static-only-type-registry/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/static-only-type-registry/google/protobuf/timestamp.ts b/integration/static-only-type-registry/google/protobuf/timestamp.ts index 221a2282d..6a9471ac8 100644 --- a/integration/static-only-type-registry/google/protobuf/timestamp.ts +++ b/integration/static-only-type-registry/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/static-only-type-registry/typeRegistry.ts b/integration/static-only-type-registry/typeRegistry.ts index 4b8608c2d..12476563f 100644 --- a/integration/static-only-type-registry/typeRegistry.ts +++ b/integration/static-only-type-registry/typeRegistry.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 /* eslint-disable */ import * as _m0 from "protobufjs/minimal"; diff --git a/integration/static-only/bar/bar.ts b/integration/static-only/bar/bar.ts index 9c6fc820d..0648118c4 100644 --- a/integration/static-only/bar/bar.ts +++ b/integration/static-only/bar/bar.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: bar/bar.proto /* eslint-disable */ diff --git a/integration/static-only/foo.ts b/integration/static-only/foo.ts index 972cd8c15..e6a303659 100644 --- a/integration/static-only/foo.ts +++ b/integration/static-only/foo.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: foo.proto /* eslint-disable */ diff --git a/integration/static-only/google/protobuf/struct.ts b/integration/static-only/google/protobuf/struct.ts index e4e46a15d..979f04e8d 100644 --- a/integration/static-only/google/protobuf/struct.ts +++ b/integration/static-only/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/static-only/google/protobuf/timestamp.ts b/integration/static-only/google/protobuf/timestamp.ts index b088f57a7..f058013a6 100644 --- a/integration/static-only/google/protobuf/timestamp.ts +++ b/integration/static-only/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/struct/google/protobuf/struct.ts b/integration/struct/google/protobuf/struct.ts index 48c8311c0..b8047720b 100644 --- a/integration/struct/google/protobuf/struct.ts +++ b/integration/struct/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/struct/struct.ts b/integration/struct/struct.ts index aeb68161e..1ee8b6c1c 100644 --- a/integration/struct/struct.ts +++ b/integration/struct/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: struct.proto /* eslint-disable */ diff --git a/integration/type-annotations/bar/bar.ts b/integration/type-annotations/bar/bar.ts index 8c8eef1b4..66185307a 100644 --- a/integration/type-annotations/bar/bar.ts +++ b/integration/type-annotations/bar/bar.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: bar/bar.proto /* eslint-disable */ diff --git a/integration/type-annotations/foo.ts b/integration/type-annotations/foo.ts index 464a50edb..a17d998cc 100644 --- a/integration/type-annotations/foo.ts +++ b/integration/type-annotations/foo.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: foo.proto /* eslint-disable */ diff --git a/integration/type-annotations/google/protobuf/struct.ts b/integration/type-annotations/google/protobuf/struct.ts index 5d9ff6907..ed4d7382f 100644 --- a/integration/type-annotations/google/protobuf/struct.ts +++ b/integration/type-annotations/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/type-annotations/google/protobuf/timestamp.ts b/integration/type-annotations/google/protobuf/timestamp.ts index c85b82add..91118336d 100644 --- a/integration/type-annotations/google/protobuf/timestamp.ts +++ b/integration/type-annotations/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/type-registry/bar/bar.ts b/integration/type-registry/bar/bar.ts index 7e5f7d155..f489846fc 100644 --- a/integration/type-registry/bar/bar.ts +++ b/integration/type-registry/bar/bar.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: bar/bar.proto /* eslint-disable */ diff --git a/integration/type-registry/foo.ts b/integration/type-registry/foo.ts index 8a9448fad..2fd59561b 100644 --- a/integration/type-registry/foo.ts +++ b/integration/type-registry/foo.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: foo.proto /* eslint-disable */ diff --git a/integration/type-registry/google/protobuf/struct.ts b/integration/type-registry/google/protobuf/struct.ts index 0f2451293..b79e5daae 100644 --- a/integration/type-registry/google/protobuf/struct.ts +++ b/integration/type-registry/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/type-registry/google/protobuf/timestamp.ts b/integration/type-registry/google/protobuf/timestamp.ts index 7f67f09e8..824026942 100644 --- a/integration/type-registry/google/protobuf/timestamp.ts +++ b/integration/type-registry/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/type-registry/typeRegistry.ts b/integration/type-registry/typeRegistry.ts index 81f268f81..83d298f68 100644 --- a/integration/type-registry/typeRegistry.ts +++ b/integration/type-registry/typeRegistry.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 /* eslint-disable */ import * as _m0 from "protobufjs/minimal"; diff --git a/integration/types-with-underscores/file.ts b/integration/types-with-underscores/file.ts index eab83f816..f424bf916 100644 --- a/integration/types-with-underscores/file.ts +++ b/integration/types-with-underscores/file.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: file.proto /* eslint-disable */ diff --git a/integration/unknown-fields/google/protobuf/compiler/plugin.ts b/integration/unknown-fields/google/protobuf/compiler/plugin.ts index c7af20d68..e450011d4 100644 --- a/integration/unknown-fields/google/protobuf/compiler/plugin.ts +++ b/integration/unknown-fields/google/protobuf/compiler/plugin.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/compiler/plugin.proto /* eslint-disable */ diff --git a/integration/unknown-fields/google/protobuf/descriptor.ts b/integration/unknown-fields/google/protobuf/descriptor.ts index 5c3fea5ec..719a457bf 100644 --- a/integration/unknown-fields/google/protobuf/descriptor.ts +++ b/integration/unknown-fields/google/protobuf/descriptor.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/descriptor.proto /* eslint-disable */ diff --git a/integration/unknown-fields/options.ts b/integration/unknown-fields/options.ts index 593c84482..24262e335 100644 --- a/integration/unknown-fields/options.ts +++ b/integration/unknown-fields/options.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: options.proto /* eslint-disable */ diff --git a/integration/unknown-fields/something/something.ts b/integration/unknown-fields/something/something.ts index 9e924be09..48ecf87e6 100644 --- a/integration/unknown-fields/something/something.ts +++ b/integration/unknown-fields/something/something.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: something/something.proto /* eslint-disable */ diff --git a/integration/use-date-false/google/protobuf/timestamp.ts b/integration/use-date-false/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/use-date-false/google/protobuf/timestamp.ts +++ b/integration/use-date-false/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/use-date-false/metadata.ts b/integration/use-date-false/metadata.ts index 47971f34c..3b4e46f9c 100644 --- a/integration/use-date-false/metadata.ts +++ b/integration/use-date-false/metadata.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: metadata.proto /* eslint-disable */ diff --git a/integration/use-date-string/google/protobuf/timestamp.ts b/integration/use-date-string/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/use-date-string/google/protobuf/timestamp.ts +++ b/integration/use-date-string/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/use-date-string/use-date-string.ts b/integration/use-date-string/use-date-string.ts index 609289a46..c2c43e3ec 100644 --- a/integration/use-date-string/use-date-string.ts +++ b/integration/use-date-string/use-date-string.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: use-date-string.proto /* eslint-disable */ diff --git a/integration/use-date-true/google/protobuf/empty.ts b/integration/use-date-true/google/protobuf/empty.ts index 2c276461a..6264973e7 100644 --- a/integration/use-date-true/google/protobuf/empty.ts +++ b/integration/use-date-true/google/protobuf/empty.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/empty.proto /* eslint-disable */ diff --git a/integration/use-date-true/google/protobuf/timestamp.ts b/integration/use-date-true/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/use-date-true/google/protobuf/timestamp.ts +++ b/integration/use-date-true/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/use-date-true/use-date-true.ts b/integration/use-date-true/use-date-true.ts index 837454a91..8f207c31a 100644 --- a/integration/use-date-true/use-date-true.ts +++ b/integration/use-date-true/use-date-true.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: use-date-true.proto /* eslint-disable */ diff --git a/integration/use-exact-types-false/foo.ts b/integration/use-exact-types-false/foo.ts index c5722a17e..0bc8650a2 100644 --- a/integration/use-exact-types-false/foo.ts +++ b/integration/use-exact-types-false/foo.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: foo.proto /* eslint-disable */ diff --git a/integration/use-json-name/google/protobuf/timestamp.ts b/integration/use-json-name/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/use-json-name/google/protobuf/timestamp.ts +++ b/integration/use-json-name/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/use-json-name/use-json-name.ts b/integration/use-json-name/use-json-name.ts index 7605db92c..c3c57779e 100644 --- a/integration/use-json-name/use-json-name.ts +++ b/integration/use-json-name/use-json-name.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: use-json-name.proto /* eslint-disable */ diff --git a/integration/use-json-timestamp-raw/google/protobuf/timestamp.ts b/integration/use-json-timestamp-raw/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/use-json-timestamp-raw/google/protobuf/timestamp.ts +++ b/integration/use-json-timestamp-raw/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/use-json-timestamp-raw/metadata.ts b/integration/use-json-timestamp-raw/metadata.ts index 0ed5b0619..0cc421958 100644 --- a/integration/use-json-timestamp-raw/metadata.ts +++ b/integration/use-json-timestamp-raw/metadata.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: metadata.proto /* eslint-disable */ diff --git a/integration/use-json-wire-format/google/protobuf/duration.ts b/integration/use-json-wire-format/google/protobuf/duration.ts index 8cf10aff2..d9f1e3bdb 100644 --- a/integration/use-json-wire-format/google/protobuf/duration.ts +++ b/integration/use-json-wire-format/google/protobuf/duration.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/duration.proto /* eslint-disable */ diff --git a/integration/use-json-wire-format/google/protobuf/field_mask.ts b/integration/use-json-wire-format/google/protobuf/field_mask.ts index f41f5699d..e589e11b0 100644 --- a/integration/use-json-wire-format/google/protobuf/field_mask.ts +++ b/integration/use-json-wire-format/google/protobuf/field_mask.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/field_mask.proto /* eslint-disable */ diff --git a/integration/use-json-wire-format/google/protobuf/timestamp.ts b/integration/use-json-wire-format/google/protobuf/timestamp.ts index 2b989ac17..3bcae79c4 100644 --- a/integration/use-json-wire-format/google/protobuf/timestamp.ts +++ b/integration/use-json-wire-format/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/use-json-wire-format/use-json-wire-format.ts b/integration/use-json-wire-format/use-json-wire-format.ts index cebcd2d27..83b240d01 100644 --- a/integration/use-json-wire-format/use-json-wire-format.ts +++ b/integration/use-json-wire-format/use-json-wire-format.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: use-json-wire-format.proto /* eslint-disable */ diff --git a/integration/use-map-type/google/protobuf/struct.ts b/integration/use-map-type/google/protobuf/struct.ts index 8461925da..039d74d69 100644 --- a/integration/use-map-type/google/protobuf/struct.ts +++ b/integration/use-map-type/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/use-map-type/google/protobuf/timestamp.ts b/integration/use-map-type/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/use-map-type/google/protobuf/timestamp.ts +++ b/integration/use-map-type/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/use-map-type/use-map-type.ts b/integration/use-map-type/use-map-type.ts index 6a099f171..718fc25c1 100644 --- a/integration/use-map-type/use-map-type.ts +++ b/integration/use-map-type/use-map-type.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: use-map-type.proto /* eslint-disable */ diff --git a/integration/use-null-as-optional/use-null-as-optional.ts b/integration/use-null-as-optional/use-null-as-optional.ts index d10d74f2a..d64ad3cd7 100644 --- a/integration/use-null-as-optional/use-null-as-optional.ts +++ b/integration/use-null-as-optional/use-null-as-optional.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: use-null-as-optional.proto /* eslint-disable */ diff --git a/integration/use-null-nestjs-simple/google/protobuf/empty.ts b/integration/use-null-nestjs-simple/google/protobuf/empty.ts index 48d25a195..edaa68430 100644 --- a/integration/use-null-nestjs-simple/google/protobuf/empty.ts +++ b/integration/use-null-nestjs-simple/google/protobuf/empty.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/empty.proto /* eslint-disable */ diff --git a/integration/use-null-nestjs-simple/user.ts b/integration/use-null-nestjs-simple/user.ts index 2cbe16a39..564c18e35 100644 --- a/integration/use-null-nestjs-simple/user.ts +++ b/integration/use-null-nestjs-simple/user.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: user.proto /* eslint-disable */ diff --git a/integration/use-numeric-enum-json/google/protobuf/struct.ts b/integration/use-numeric-enum-json/google/protobuf/struct.ts index e82ceb4fb..cbfa5191c 100644 --- a/integration/use-numeric-enum-json/google/protobuf/struct.ts +++ b/integration/use-numeric-enum-json/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/use-numeric-enum-json/simple.ts b/integration/use-numeric-enum-json/simple.ts index c659d0944..e714b0c24 100644 --- a/integration/use-numeric-enum-json/simple.ts +++ b/integration/use-numeric-enum-json/simple.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: simple.proto /* eslint-disable */ diff --git a/integration/use-objectid-true-external-import/objectid/objectid.ts b/integration/use-objectid-true-external-import/objectid/objectid.ts index f2837719c..889ca62b5 100644 --- a/integration/use-objectid-true-external-import/objectid/objectid.ts +++ b/integration/use-objectid-true-external-import/objectid/objectid.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: objectid/objectid.proto /* eslint-disable */ diff --git a/integration/use-objectid-true-external-import/use-objectid-true.ts b/integration/use-objectid-true-external-import/use-objectid-true.ts index cc97145d3..d9d0d4fd2 100644 --- a/integration/use-objectid-true-external-import/use-objectid-true.ts +++ b/integration/use-objectid-true-external-import/use-objectid-true.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: use-objectid-true.proto /* eslint-disable */ diff --git a/integration/use-optionals-all/google/protobuf/struct.ts b/integration/use-optionals-all/google/protobuf/struct.ts index c9b24a2b8..16b580e7e 100644 --- a/integration/use-optionals-all/google/protobuf/struct.ts +++ b/integration/use-optionals-all/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/use-optionals-all/google/protobuf/timestamp.ts b/integration/use-optionals-all/google/protobuf/timestamp.ts index a37e650e3..4608ed247 100644 --- a/integration/use-optionals-all/google/protobuf/timestamp.ts +++ b/integration/use-optionals-all/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/use-optionals-all/test.ts b/integration/use-optionals-all/test.ts index 37635b969..09106efa1 100644 --- a/integration/use-optionals-all/test.ts +++ b/integration/use-optionals-all/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/use-optionals-deprecated-only/test.ts b/integration/use-optionals-deprecated-only/test.ts index 958836e62..52c573ab8 100644 --- a/integration/use-optionals-deprecated-only/test.ts +++ b/integration/use-optionals-deprecated-only/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/use-optionals-no-undefined/google/protobuf/struct.ts b/integration/use-optionals-no-undefined/google/protobuf/struct.ts index b043bf185..ab27eb7e0 100644 --- a/integration/use-optionals-no-undefined/google/protobuf/struct.ts +++ b/integration/use-optionals-no-undefined/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/use-optionals-no-undefined/test.ts b/integration/use-optionals-no-undefined/test.ts index 17b535ff5..110ee73ef 100644 --- a/integration/use-optionals-no-undefined/test.ts +++ b/integration/use-optionals-no-undefined/test.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: test.proto /* eslint-disable */ diff --git a/integration/use-readonly-types/google/protobuf/field_mask.ts b/integration/use-readonly-types/google/protobuf/field_mask.ts index 74c714c9a..168205b62 100644 --- a/integration/use-readonly-types/google/protobuf/field_mask.ts +++ b/integration/use-readonly-types/google/protobuf/field_mask.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/field_mask.proto /* eslint-disable */ diff --git a/integration/use-readonly-types/google/protobuf/struct.ts b/integration/use-readonly-types/google/protobuf/struct.ts index 95de394c3..b3c4ae2d8 100644 --- a/integration/use-readonly-types/google/protobuf/struct.ts +++ b/integration/use-readonly-types/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/use-readonly-types/use-readonly-types.ts b/integration/use-readonly-types/use-readonly-types.ts index b7783cba1..960777814 100644 --- a/integration/use-readonly-types/use-readonly-types.ts +++ b/integration/use-readonly-types/use-readonly-types.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: use-readonly-types.proto /* eslint-disable */ diff --git a/integration/value/google/protobuf/struct.ts b/integration/value/google/protobuf/struct.ts index 48c8311c0..b8047720b 100644 --- a/integration/value/google/protobuf/struct.ts +++ b/integration/value/google/protobuf/struct.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/struct.proto /* eslint-disable */ diff --git a/integration/value/google/protobuf/wrappers.ts b/integration/value/google/protobuf/wrappers.ts index 6159c1b46..f7516ba9a 100644 --- a/integration/value/google/protobuf/wrappers.ts +++ b/integration/value/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/value/value.ts b/integration/value/value.ts index 876ca6899..fa420ed44 100644 --- a/integration/value/value.ts +++ b/integration/value/value.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: value.proto /* eslint-disable */ diff --git a/integration/vector-tile/vector_tile.ts b/integration/vector-tile/vector_tile.ts index 479942d16..7d46fd60f 100644 --- a/integration/vector-tile/vector_tile.ts +++ b/integration/vector-tile/vector_tile.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: vector_tile.proto /* eslint-disable */ diff --git a/integration/wrappers-regression/google/protobuf/empty.ts b/integration/wrappers-regression/google/protobuf/empty.ts index 2c276461a..6264973e7 100644 --- a/integration/wrappers-regression/google/protobuf/empty.ts +++ b/integration/wrappers-regression/google/protobuf/empty.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/empty.proto /* eslint-disable */ diff --git a/integration/wrappers-regression/google/protobuf/timestamp.ts b/integration/wrappers-regression/google/protobuf/timestamp.ts index 835f3f187..150d84f33 100644 --- a/integration/wrappers-regression/google/protobuf/timestamp.ts +++ b/integration/wrappers-regression/google/protobuf/timestamp.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/timestamp.proto /* eslint-disable */ diff --git a/integration/wrappers-regression/google/protobuf/wrappers.ts b/integration/wrappers-regression/google/protobuf/wrappers.ts index 6159c1b46..f7516ba9a 100644 --- a/integration/wrappers-regression/google/protobuf/wrappers.ts +++ b/integration/wrappers-regression/google/protobuf/wrappers.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: google/protobuf/wrappers.proto /* eslint-disable */ diff --git a/integration/wrappers-regression/wrappers-regression.ts b/integration/wrappers-regression/wrappers-regression.ts index e8efb57a6..e2372be6f 100644 --- a/integration/wrappers-regression/wrappers-regression.ts +++ b/integration/wrappers-regression/wrappers-regression.ts @@ -1,7 +1,4 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. -// versions: -// protoc-gen-ts_proto v1.173.0 -// protoc v3.19.1 // source: wrappers-regression.proto /* eslint-disable */ diff --git a/src/options.ts b/src/options.ts index f47fd7742..4998e3448 100644 --- a/src/options.ts +++ b/src/options.ts @@ -100,6 +100,7 @@ export type Options = { disableProto2Optionals: boolean; disableProto2DefaultValues: boolean; useNullAsOptional: boolean; + annotateFilesWithVersion: boolean; }; export function defaultOptions(): Options { @@ -165,6 +166,7 @@ export function defaultOptions(): Options { disableProto2Optionals: false, disableProto2DefaultValues: false, useNullAsOptional: false, + annotateFilesWithVersion: true, }; } @@ -324,14 +326,19 @@ export function getTsPoetOpts( ): ToStringOpts { const { importSuffix, esModuleInterop } = options; const pbjs = "protobufjs/minimal" + importSuffix; + return { // Comment block at the top of every source file, since these comments require specific // syntax incompatible with ts-poet, we will hard-code the string and prepend to the // generator output. - prefix: `// Code generated by protoc-gen-ts_proto. DO NOT EDIT. + prefix: `// Code generated by protoc-gen-ts_proto. DO NOT EDIT.${ + options.annotateFilesWithVersion + ? ` // versions: // protoc-gen-ts_proto ${tsProtoVersion} -// protoc ${protocVersion} +// protoc ${protocVersion}` + : "" + } ${fileName ? `// source: ${fileName}` : ""} /* eslint-disable */`, diff --git a/tests/options-test.ts b/tests/options-test.ts index 4db6fc333..ffaea66c4 100644 --- a/tests/options-test.ts +++ b/tests/options-test.ts @@ -7,6 +7,7 @@ describe("options", () => { "M": {}, "addGrpcMetadata": false, "addNestjsRestParameter": false, + "annotateFilesWithVersion": true, "comments": true, "constEnums": false, "context": false,