From 0e2c0c93bdac1c223d51d3528e1e146d81b08f36 Mon Sep 17 00:00:00 2001 From: dogun-anduril Date: Thu, 21 Nov 2024 09:36:29 -0800 Subject: [PATCH] feat: auto-release infrastructure --- .github/workflows/automerge.yml | 32 - .../workflows/npm-publish-github-packages.yml | 39 - .github/workflows/release.yml | 36 + .gitignore | 1 + LICENSE.txt | 0 node_modules/.package-lock.json | 13 - node_modules/@bufbuild/protobuf/README.md | 44 - .../@bufbuild/protobuf/dist/cjs/clone.d.ts | 6 - .../@bufbuild/protobuf/dist/cjs/clone.js | 68 - .../protobuf/dist/cjs/codegenv1/boot.d.ts | 63 - .../protobuf/dist/cjs/codegenv1/boot.js | 99 - .../protobuf/dist/cjs/codegenv1/embed.d.ts | 43 - .../protobuf/dist/cjs/codegenv1/embed.js | 242 - .../protobuf/dist/cjs/codegenv1/enum.d.ts | 18 - .../protobuf/dist/cjs/codegenv1/enum.js | 40 - .../dist/cjs/codegenv1/extension.d.ts | 9 - .../protobuf/dist/cjs/codegenv1/extension.js | 28 - .../protobuf/dist/cjs/codegenv1/file.d.ts | 7 - .../protobuf/dist/cjs/codegenv1/file.js | 35 - .../protobuf/dist/cjs/codegenv1/index.d.ts | 10 - .../protobuf/dist/cjs/codegenv1/index.js | 39 - .../protobuf/dist/cjs/codegenv1/message.d.ts | 10 - .../protobuf/dist/cjs/codegenv1/message.js | 24 - .../cjs/codegenv1/restore-json-names.d.ts | 5 - .../dist/cjs/codegenv1/restore-json-names.js | 29 - .../protobuf/dist/cjs/codegenv1/scalar.d.ts | 9 - .../protobuf/dist/cjs/codegenv1/scalar.js | 67 - .../protobuf/dist/cjs/codegenv1/service.d.ts | 8 - .../protobuf/dist/cjs/codegenv1/service.js | 27 - .../protobuf/dist/cjs/codegenv1/symbols.d.ts | 135 - .../protobuf/dist/cjs/codegenv1/symbols.js | 69 - .../protobuf/dist/cjs/codegenv1/types.d.ts | 74 - .../protobuf/dist/cjs/codegenv1/types.js | 22 - .../@bufbuild/protobuf/dist/cjs/create.d.ts | 9 - .../@bufbuild/protobuf/dist/cjs/create.js | 260 - .../protobuf/dist/cjs/descriptors.d.ts | 627 - .../protobuf/dist/cjs/descriptors.js | 53 - .../@bufbuild/protobuf/dist/cjs/equals.d.ts | 9 - .../@bufbuild/protobuf/dist/cjs/equals.js | 125 - .../protobuf/dist/cjs/extensions.d.ts | 59 - .../@bufbuild/protobuf/dist/cjs/extensions.js | 169 - .../@bufbuild/protobuf/dist/cjs/fields.d.ts | 23 - .../@bufbuild/protobuf/dist/cjs/fields.js | 45 - .../protobuf/dist/cjs/from-binary.d.ts | 34 - .../protobuf/dist/cjs/from-binary.js | 213 - .../protobuf/dist/cjs/from-json.d.ts | 56 - .../@bufbuild/protobuf/dist/cjs/from-json.js | 624 - .../@bufbuild/protobuf/dist/cjs/index.d.ts | 17 - .../@bufbuild/protobuf/dist/cjs/index.js | 53 - .../protobuf/dist/cjs/is-message.d.ts | 7 - .../@bufbuild/protobuf/dist/cjs/is-message.js | 33 - .../protobuf/dist/cjs/json-value.d.ts | 16 - .../@bufbuild/protobuf/dist/cjs/json-value.js | 15 - .../@bufbuild/protobuf/dist/cjs/package.json | 1 - .../protobuf/dist/cjs/proto-int64.d.ts | 98 - .../protobuf/dist/cjs/proto-int64.js | 126 - .../protobuf/dist/cjs/reflect/error.d.ts | 9 - .../protobuf/dist/cjs/reflect/error.js | 36 - .../protobuf/dist/cjs/reflect/guard.d.ts | 20 - .../protobuf/dist/cjs/reflect/guard.js | 77 - .../protobuf/dist/cjs/reflect/index.d.ts | 7 - .../protobuf/dist/cjs/reflect/index.js | 40 - .../protobuf/dist/cjs/reflect/names.d.ts | 11 - .../protobuf/dist/cjs/reflect/names.js | 73 - .../dist/cjs/reflect/nested-types.d.ts | 12 - .../protobuf/dist/cjs/reflect/nested-types.js | 70 - .../dist/cjs/reflect/reflect-check.d.ts | 19 - .../dist/cjs/reflect/reflect-check.js | 266 - .../dist/cjs/reflect/reflect-types.d.ts | 217 - .../dist/cjs/reflect/reflect-types.js | 16 - .../protobuf/dist/cjs/reflect/reflect.d.ts | 43 - .../protobuf/dist/cjs/reflect/reflect.js | 539 - .../protobuf/dist/cjs/reflect/scalar.d.ts | 21 - .../protobuf/dist/cjs/reflect/scalar.js | 103 - .../protobuf/dist/cjs/reflect/unsafe.d.ts | 42 - .../protobuf/dist/cjs/reflect/unsafe.js | 148 - .../@bufbuild/protobuf/dist/cjs/registry.d.ts | 98 - .../@bufbuild/protobuf/dist/cjs/registry.js | 911 -- .../protobuf/dist/cjs/to-binary.d.ts | 24 - .../@bufbuild/protobuf/dist/cjs/to-binary.js | 191 - .../@bufbuild/protobuf/dist/cjs/to-json.d.ts | 61 - .../@bufbuild/protobuf/dist/cjs/to-json.js | 389 - .../@bufbuild/protobuf/dist/cjs/types.d.ts | 77 - .../@bufbuild/protobuf/dist/cjs/types.js | 15 - .../dist/cjs/wire/base64-encoding.d.ts | 23 - .../protobuf/dist/cjs/wire/base64-encoding.js | 155 - .../dist/cjs/wire/binary-encoding.d.ts | 264 - .../protobuf/dist/cjs/wire/binary-encoding.js | 511 - .../protobuf/dist/cjs/wire/index.d.ts | 5 - .../@bufbuild/protobuf/dist/cjs/wire/index.js | 34 - .../dist/cjs/wire/size-delimited.d.ts | 51 - .../protobuf/dist/cjs/wire/size-delimited.js | 153 - .../protobuf/dist/cjs/wire/text-encoding.d.ts | 26 - .../protobuf/dist/cjs/wire/text-encoding.js | 54 - .../protobuf/dist/cjs/wire/text-format.d.ts | 13 - .../protobuf/dist/cjs/wire/text-format.js | 200 - .../protobuf/dist/cjs/wire/varint.d.ts | 70 - .../protobuf/dist/cjs/wire/varint.js | 323 - .../@bufbuild/protobuf/dist/cjs/wkt/any.d.ts | 38 - .../@bufbuild/protobuf/dist/cjs/wkt/any.js | 75 - .../cjs/wkt/gen/google/protobuf/any_pb.d.ts | 149 - .../cjs/wkt/gen/google/protobuf/any_pb.js | 27 - .../cjs/wkt/gen/google/protobuf/api_pb.d.ts | 326 - .../cjs/wkt/gen/google/protobuf/api_pb.js | 39 - .../google/protobuf/compiler/plugin_pb.d.ts | 359 - .../gen/google/protobuf/compiler/plugin_pb.js | 68 - .../gen/google/protobuf/descriptor_pb.d.ts | 3159 ----- .../wkt/gen/google/protobuf/descriptor_pb.js | 794 -- .../wkt/gen/google/protobuf/duration_pb.d.ts | 99 - .../wkt/gen/google/protobuf/duration_pb.js | 27 - .../cjs/wkt/gen/google/protobuf/empty_pb.d.ts | 28 - .../cjs/wkt/gen/google/protobuf/empty_pb.js | 27 - .../gen/google/protobuf/field_mask_pb.d.ts | 226 - .../wkt/gen/google/protobuf/field_mask_pb.js | 27 - .../google/protobuf/source_context_pb.d.ts | 35 - .../gen/google/protobuf/source_context_pb.js | 27 - .../wkt/gen/google/protobuf/struct_pb.d.ts | 164 - .../cjs/wkt/gen/google/protobuf/struct_pb.js | 59 - .../wkt/gen/google/protobuf/timestamp_pb.d.ts | 128 - .../wkt/gen/google/protobuf/timestamp_pb.js | 27 - .../cjs/wkt/gen/google/protobuf/type_pb.d.ts | 583 - .../cjs/wkt/gen/google/protobuf/type_pb.js | 242 - .../wkt/gen/google/protobuf/wrappers_pb.d.ts | 222 - .../wkt/gen/google/protobuf/wrappers_pb.js | 67 - .../protobuf/dist/cjs/wkt/index.d.ts | 15 - .../@bufbuild/protobuf/dist/cjs/wkt/index.js | 44 - .../protobuf/dist/cjs/wkt/timestamp.d.ts | 21 - .../protobuf/dist/cjs/wkt/timestamp.js | 56 - .../protobuf/dist/cjs/wkt/wrappers.d.ts | 15 - .../protobuf/dist/cjs/wkt/wrappers.js | 42 - .../@bufbuild/protobuf/dist/esm/clone.d.ts | 6 - .../@bufbuild/protobuf/dist/esm/clone.js | 65 - .../protobuf/dist/esm/codegenv1/boot.d.ts | 63 - .../protobuf/dist/esm/codegenv1/boot.js | 95 - .../protobuf/dist/esm/codegenv1/embed.d.ts | 43 - .../protobuf/dist/esm/codegenv1/embed.js | 237 - .../protobuf/dist/esm/codegenv1/enum.d.ts | 18 - .../protobuf/dist/esm/codegenv1/enum.js | 36 - .../dist/esm/codegenv1/extension.d.ts | 9 - .../protobuf/dist/esm/codegenv1/extension.js | 25 - .../protobuf/dist/esm/codegenv1/file.d.ts | 7 - .../protobuf/dist/esm/codegenv1/file.js | 32 - .../protobuf/dist/esm/codegenv1/index.d.ts | 10 - .../protobuf/dist/esm/codegenv1/index.js | 23 - .../protobuf/dist/esm/codegenv1/message.d.ts | 10 - .../protobuf/dist/esm/codegenv1/message.js | 21 - .../esm/codegenv1/restore-json-names.d.ts | 5 - .../dist/esm/codegenv1/restore-json-names.js | 26 - .../protobuf/dist/esm/codegenv1/scalar.d.ts | 9 - .../protobuf/dist/esm/codegenv1/scalar.js | 63 - .../protobuf/dist/esm/codegenv1/service.d.ts | 8 - .../protobuf/dist/esm/codegenv1/service.js | 24 - .../protobuf/dist/esm/codegenv1/symbols.d.ts | 135 - .../protobuf/dist/esm/codegenv1/symbols.js | 66 - .../protobuf/dist/esm/codegenv1/types.d.ts | 74 - .../protobuf/dist/esm/codegenv1/types.js | 21 - .../@bufbuild/protobuf/dist/esm/create.d.ts | 9 - .../@bufbuild/protobuf/dist/esm/create.js | 258 - .../protobuf/dist/esm/descriptors.d.ts | 627 - .../protobuf/dist/esm/descriptors.js | 50 - .../@bufbuild/protobuf/dist/esm/equals.d.ts | 9 - .../@bufbuild/protobuf/dist/esm/equals.js | 122 - .../protobuf/dist/esm/extensions.d.ts | 59 - .../@bufbuild/protobuf/dist/esm/extensions.js | 160 - .../@bufbuild/protobuf/dist/esm/fields.d.ts | 23 - .../@bufbuild/protobuf/dist/esm/fields.js | 41 - .../protobuf/dist/esm/from-binary.d.ts | 34 - .../protobuf/dist/esm/from-binary.js | 208 - .../protobuf/dist/esm/from-json.d.ts | 56 - .../@bufbuild/protobuf/dist/esm/from-json.js | 616 - .../@bufbuild/protobuf/dist/esm/index.d.ts | 17 - .../@bufbuild/protobuf/dist/esm/index.js | 27 - .../protobuf/dist/esm/is-message.d.ts | 7 - .../@bufbuild/protobuf/dist/esm/is-message.js | 30 - .../protobuf/dist/esm/json-value.d.ts | 16 - .../@bufbuild/protobuf/dist/esm/json-value.js | 14 - .../protobuf/dist/esm/proto-int64.d.ts | 98 - .../protobuf/dist/esm/proto-int64.js | 123 - .../protobuf/dist/esm/reflect/error.d.ts | 9 - .../protobuf/dist/esm/reflect/error.js | 31 - .../protobuf/dist/esm/reflect/guard.d.ts | 20 - .../protobuf/dist/esm/reflect/guard.js | 70 - .../protobuf/dist/esm/reflect/index.d.ts | 7 - .../protobuf/dist/esm/reflect/index.js | 20 - .../protobuf/dist/esm/reflect/names.d.ts | 11 - .../protobuf/dist/esm/reflect/names.js | 69 - .../dist/esm/reflect/nested-types.d.ts | 12 - .../protobuf/dist/esm/reflect/nested-types.js | 66 - .../dist/esm/reflect/reflect-check.d.ts | 19 - .../dist/esm/reflect/reflect-check.js | 260 - .../dist/esm/reflect/reflect-types.d.ts | 217 - .../dist/esm/reflect/reflect-types.js | 15 - .../protobuf/dist/esm/reflect/reflect.d.ts | 43 - .../protobuf/dist/esm/reflect/reflect.js | 534 - .../protobuf/dist/esm/reflect/scalar.d.ts | 21 - .../protobuf/dist/esm/reflect/scalar.js | 98 - .../protobuf/dist/esm/reflect/unsafe.d.ts | 42 - .../protobuf/dist/esm/reflect/unsafe.js | 139 - .../@bufbuild/protobuf/dist/esm/registry.d.ts | 98 - .../@bufbuild/protobuf/dist/esm/registry.js | 905 -- .../protobuf/dist/esm/to-binary.d.ts | 24 - .../@bufbuild/protobuf/dist/esm/to-binary.js | 187 - .../@bufbuild/protobuf/dist/esm/to-json.d.ts | 61 - .../@bufbuild/protobuf/dist/esm/to-json.js | 384 - .../@bufbuild/protobuf/dist/esm/types.d.ts | 77 - .../@bufbuild/protobuf/dist/esm/types.js | 14 - .../dist/esm/wire/base64-encoding.d.ts | 23 - .../protobuf/dist/esm/wire/base64-encoding.js | 151 - .../dist/esm/wire/binary-encoding.d.ts | 264 - .../protobuf/dist/esm/wire/binary-encoding.js | 506 - .../protobuf/dist/esm/wire/index.d.ts | 5 - .../@bufbuild/protobuf/dist/esm/wire/index.js | 18 - .../dist/esm/wire/size-delimited.d.ts | 51 - .../protobuf/dist/esm/wire/size-delimited.js | 148 - .../protobuf/dist/esm/wire/text-encoding.d.ts | 26 - .../protobuf/dist/esm/wire/text-encoding.js | 50 - .../protobuf/dist/esm/wire/text-format.d.ts | 13 - .../protobuf/dist/esm/wire/text-format.js | 196 - .../protobuf/dist/esm/wire/varint.d.ts | 70 - .../protobuf/dist/esm/wire/varint.js | 314 - .../@bufbuild/protobuf/dist/esm/wkt/any.d.ts | 38 - .../@bufbuild/protobuf/dist/esm/wkt/any.js | 69 - .../esm/wkt/gen/google/protobuf/any_pb.d.ts | 149 - .../esm/wkt/gen/google/protobuf/any_pb.js | 24 - .../esm/wkt/gen/google/protobuf/api_pb.d.ts | 326 - .../esm/wkt/gen/google/protobuf/api_pb.js | 36 - .../google/protobuf/compiler/plugin_pb.d.ts | 359 - .../gen/google/protobuf/compiler/plugin_pb.js | 65 - .../gen/google/protobuf/descriptor_pb.d.ts | 3159 ----- .../wkt/gen/google/protobuf/descriptor_pb.js | 790 -- .../wkt/gen/google/protobuf/duration_pb.d.ts | 99 - .../wkt/gen/google/protobuf/duration_pb.js | 24 - .../esm/wkt/gen/google/protobuf/empty_pb.d.ts | 28 - .../esm/wkt/gen/google/protobuf/empty_pb.js | 24 - .../gen/google/protobuf/field_mask_pb.d.ts | 226 - .../wkt/gen/google/protobuf/field_mask_pb.js | 24 - .../google/protobuf/source_context_pb.d.ts | 35 - .../gen/google/protobuf/source_context_pb.js | 24 - .../wkt/gen/google/protobuf/struct_pb.d.ts | 164 - .../esm/wkt/gen/google/protobuf/struct_pb.js | 56 - .../wkt/gen/google/protobuf/timestamp_pb.d.ts | 128 - .../wkt/gen/google/protobuf/timestamp_pb.js | 24 - .../esm/wkt/gen/google/protobuf/type_pb.d.ts | 583 - .../esm/wkt/gen/google/protobuf/type_pb.js | 239 - .../wkt/gen/google/protobuf/wrappers_pb.d.ts | 222 - .../wkt/gen/google/protobuf/wrappers_pb.js | 64 - .../protobuf/dist/esm/wkt/index.d.ts | 15 - .../@bufbuild/protobuf/dist/esm/wkt/index.js | 28 - .../protobuf/dist/esm/wkt/timestamp.d.ts | 21 - .../protobuf/dist/esm/wkt/timestamp.js | 49 - .../protobuf/dist/esm/wkt/wrappers.d.ts | 15 - .../protobuf/dist/esm/wkt/wrappers.js | 38 - node_modules/@bufbuild/protobuf/package.json | 76 - package-lock.json | 11117 +++++++++++++++- package.json | 11 +- 255 files changed, 11149 insertions(+), 32878 deletions(-) delete mode 100644 .github/workflows/automerge.yml delete mode 100644 .github/workflows/npm-publish-github-packages.yml create mode 100644 .github/workflows/release.yml create mode 100644 .gitignore create mode 100644 LICENSE.txt delete mode 100644 node_modules/.package-lock.json delete mode 100644 node_modules/@bufbuild/protobuf/README.md delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/clone.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/clone.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/boot.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/boot.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/embed.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/embed.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/restore-json-names.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/restore-json-names.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/scalar.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/scalar.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/create.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/create.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/descriptors.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/descriptors.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/equals.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/equals.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/extensions.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/extensions.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/fields.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/fields.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/from-binary.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/from-binary.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/from-json.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/from-json.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/index.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/is-message.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/json-value.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/json-value.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/package.json delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/registry.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/registry.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/to-binary.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/to-binary.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/to-json.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/to-json.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/types.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/types.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/index.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/index.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/clone.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/clone.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/embed.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/embed.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/restore-json-names.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/restore-json-names.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/scalar.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/scalar.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/create.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/create.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/descriptors.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/descriptors.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/equals.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/equals.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/extensions.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/extensions.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/fields.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/fields.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/from-binary.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/from-binary.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/from-json.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/from-json.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/index.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/index.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/is-message.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/json-value.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/json-value.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/error.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/index.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/index.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/names.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/registry.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/registry.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/to-binary.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/to-binary.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/to-json.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/to-json.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/types.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/types.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/index.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/index.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/varint.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/any.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/index.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.d.ts delete mode 100644 node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js delete mode 100644 node_modules/@bufbuild/protobuf/package.json diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml deleted file mode 100644 index 32bb231..0000000 --- a/.github/workflows/automerge.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: automerge -on: - pull_request: - types: - - labeled - - unlabeled - - synchronize - - opened - - edited - - ready_for_review - - reopened - - unlocked - pull_request_review: - types: - - submitted - check_suite: - types: - - completed - status: {} -permissions: - contents: write - pull-requests: write - -jobs: - automerge: - runs-on: ubuntu-latest - steps: - - id: automerge - name: automerge - uses: "pascalgn/automerge-action@v0.16.3" - env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml deleted file mode 100644 index f9d173a..0000000 --- a/.github/workflows/npm-publish-github-packages.yml +++ /dev/null @@ -1,39 +0,0 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages - -name: Node.js Package - -on: - push: - branches: [master] - workflow_dispatch: {} - -jobs: - bump-version: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: actions/checkout@v4 - - name: Automated Version Bump - uses: phips28/gh-action-bump-version@v11.0.7 - with: - skip-tag: true - publish: - runs-on: ubuntu-latest - needs: bump-version - permissions: - contents: read - packages: write - steps: - - uses: actions/checkout@v4 - with: - ref: ${{ github.ref_name }} - - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://npm.pkg.github.com/ - - run: npm ci - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..de8dc45 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,36 @@ +name: Release +on: + push: + branches: + - master + +permissions: + contents: read + +jobs: + release: + name: Release + runs-on: ubuntu-latest + permissions: + contents: write # to be able to publish a GitHub release + issues: write # to be able to comment on released issues + pull-requests: write # to be able to comment on released pull requests + id-token: write # to enable use of OIDC for npm provenance + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "lts/*" + - name: Install dependencies + run: npm clean-install + - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies + run: npm audit signatures + - name: Release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npx semantic-release \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..40b878d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/ \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json deleted file mode 100644 index eda14e7..0000000 --- a/node_modules/.package-lock.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "@anduril/anduril-javascript", - "version": "1.0.3", - "lockfileVersion": 2, - "requires": true, - "packages": { - "node_modules/@bufbuild/protobuf": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz", - "integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==" - } - } -} diff --git a/node_modules/@bufbuild/protobuf/README.md b/node_modules/@bufbuild/protobuf/README.md deleted file mode 100644 index 52883a3..0000000 --- a/node_modules/@bufbuild/protobuf/README.md +++ /dev/null @@ -1,44 +0,0 @@ -# @bufbuild/protobuf - -This package provides the runtime library for the [protoc-gen-es](https://www.npmjs.com/package/@bufbuild/protoc-gen-es) -code generator plugin. - -## Protocol Buffers for ECMAScript - -A complete implementation of [Protocol Buffers](https://protobuf.dev/) in TypeScript, -suitable for web browsers and Node.js, created by [Buf](https://buf.build). - -**Protobuf-ES** is a solid, modern alternative to existing Protobuf implementations for the JavaScript ecosystem. It's -the first project in this space to provide a comprehensive plugin framework and decouple the base types from RPC -functionality. - -Some additional features that set it apart from the others: - -- ECMAScript module support -- First-class TypeScript support -- Generation of idiomatic JavaScript and TypeScript code -- Generation of [much smaller bundles](https://github.com/bufbuild/protobuf-es/tree/main/packages/bundle-size/) -- Implementation of all proto3 features, including the [canonical JSON format](https://protobuf.dev/programming-guides/proto3/#json) -- Implementation of all proto2 features, except for extensions and the text format -- Usage of standard JavaScript APIs instead of the [Closure Library](http://googlecode.blogspot.com/2009/11/introducing-closure-tools.html) -- Compatibility is covered by the Protocol Buffers [conformance tests](https://github.com/bufbuild/protobuf-es/tree/main/packages/protobuf-conformance/) -- Descriptor and reflection support - -## Installation - -```bash -npm install @bufbuild/protobuf -``` - -## Documentation - -To learn how to work with `@bufbuild/protobuf`, check out the docs for the [Runtime API](https://github.com/bufbuild/protobuf-es/tree/main/MANUAL.md#working-with-messages) -and the [generated code](https://github.com/bufbuild/protobuf-es/tree/main/MANUAL.md#generated-code). - -Official documentation for the Protobuf-ES project can be found at [github.com/bufbuild/protobuf-es](https://github.com/bufbuild/protobuf-es). - -For more information on Buf, check out the official [Buf documentation](https://buf.build/docs/). - -## Examples - -A complete code example can be found in the **Protobuf-ES** repo [here](https://github.com/bufbuild/protobuf-es/tree/main/packages/protobuf-example). diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/clone.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/clone.d.ts deleted file mode 100644 index 1bb50b6..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/clone.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { MessageShape } from "./types.js"; -import { type DescMessage } from "./descriptors.js"; -/** - * Create a deep copy of a message, including extensions and unknown fields. - */ -export declare function clone(schema: Desc, message: MessageShape): MessageShape; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/clone.js b/node_modules/@bufbuild/protobuf/dist/cjs/clone.js deleted file mode 100644 index edb9580..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/clone.js +++ /dev/null @@ -1,68 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.clone = clone; -const descriptors_js_1 = require("./descriptors.js"); -const reflect_js_1 = require("./reflect/reflect.js"); -const guard_js_1 = require("./reflect/guard.js"); -/** - * Create a deep copy of a message, including extensions and unknown fields. - */ -function clone(schema, message) { - return cloneReflect((0, reflect_js_1.reflect)(schema, message)).message; -} -function cloneReflect(i) { - const o = (0, reflect_js_1.reflect)(i.desc); - for (const f of i.fields) { - if (!i.isSet(f)) { - continue; - } - switch (f.fieldKind) { - default: { - o.set(f, cloneSingular(f, i.get(f))); - break; - } - case "list": - // eslint-disable-next-line no-case-declarations - const list = o.get(f); - for (const item of i.get(f)) { - list.add(cloneSingular(f, item)); - } - break; - case "map": - // eslint-disable-next-line no-case-declarations - const map = o.get(f); - for (const entry of i.get(f).entries()) { - map.set(entry[0], cloneSingular(f, entry[1])); - } - break; - } - } - const unknown = i.getUnknown(); - if (unknown && unknown.length > 0) { - o.setUnknown([...unknown]); - } - return o; -} -function cloneSingular(field, value) { - if (field.message !== undefined && (0, guard_js_1.isReflectMessage)(value)) { - return cloneReflect(value); - } - if (field.scalar == descriptors_js_1.ScalarType.BYTES && value instanceof Uint8Array) { - // @ts-expect-error T cannot extend Uint8Array in practice - return value.slice(); - } - return value; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/boot.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/boot.d.ts deleted file mode 100644 index 3edbb6c..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/boot.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -import type { DescriptorProto_ExtensionRange, FieldDescriptorProto_Label, FieldDescriptorProto_Type, FieldOptions_OptionRetention, FieldOptions_OptionTargetType, FieldOptions_EditionDefault, EnumValueDescriptorProto, FileDescriptorProto } from "../wkt/gen/google/protobuf/descriptor_pb.js"; -import type { DescFile } from "../descriptors.js"; -/** - * Hydrate a file descriptor for google/protobuf/descriptor.proto from a plain - * object. - * - * See createFileDescriptorProtoBoot() for details. - * - * @private - */ -export declare function boot(boot: FileDescriptorProtoBoot): DescFile; -/** - * An object literal for initializing the message google.protobuf.FileDescriptorProto - * for google/protobuf/descriptor.proto. - * - * See createFileDescriptorProtoBoot() for details. - * - * @private - */ -export type FileDescriptorProtoBoot = { - name: "google/protobuf/descriptor.proto"; - package: "google.protobuf"; - messageType: DescriptorProtoBoot[]; - enumType: EnumDescriptorProtoBoot[]; -}; -export type DescriptorProtoBoot = { - name: string; - field?: FieldDescriptorProtoBoot[]; - nestedType?: DescriptorProtoBoot[]; - enumType?: EnumDescriptorProtoBoot[]; - extensionRange?: Pick[]; -}; -export type FieldDescriptorProtoBoot = { - name: string; - number: number; - label?: FieldDescriptorProto_Label; - type: FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - options?: FieldOptionsBoot; -}; -export type FieldOptionsBoot = { - packed?: boolean; - deprecated?: boolean; - retention?: FieldOptions_OptionRetention; - targets?: FieldOptions_OptionTargetType[]; - editionDefaults?: FieldOptions_EditionDefaultBoot[]; -}; -export type FieldOptions_EditionDefaultBoot = Pick; -export type EnumDescriptorProtoBoot = { - name: string; - value: EnumValueDescriptorProtoBoot[]; -}; -export type EnumValueDescriptorProtoBoot = Pick; -/** - * Creates the message google.protobuf.FileDescriptorProto from an object literal. - * - * See createFileDescriptorProtoBoot() for details. - * - * @private - */ -export declare function bootFileDescriptorProto(init: FileDescriptorProtoBoot): FileDescriptorProto; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/boot.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/boot.js deleted file mode 100644 index 93b51e5..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/boot.js +++ /dev/null @@ -1,99 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.boot = boot; -exports.bootFileDescriptorProto = bootFileDescriptorProto; -const restore_json_names_js_1 = require("./restore-json-names.js"); -const registry_js_1 = require("../registry.js"); -/** - * Hydrate a file descriptor for google/protobuf/descriptor.proto from a plain - * object. - * - * See createFileDescriptorProtoBoot() for details. - * - * @private - */ -function boot(boot) { - const root = bootFileDescriptorProto(boot); - root.messageType.forEach(restore_json_names_js_1.restoreJsonNames); - const reg = (0, registry_js_1.createFileRegistry)(root, () => undefined); - // non-null assertion because we just created the registry from the file we look up - return reg.getFile(root.name); -} -/** - * Creates the message google.protobuf.FileDescriptorProto from an object literal. - * - * See createFileDescriptorProtoBoot() for details. - * - * @private - */ -function bootFileDescriptorProto(init) { - const proto = Object.create({ - syntax: "", - edition: 0, - }); - return Object.assign(proto, Object.assign(Object.assign({ $typeName: "google.protobuf.FileDescriptorProto", dependency: [], publicDependency: [], weakDependency: [], service: [], extension: [] }, init), { messageType: init.messageType.map(bootDescriptorProto), enumType: init.enumType.map(bootEnumDescriptorProto) })); -} -function bootDescriptorProto(init) { - var _a, _b, _c, _d, _e, _f, _g, _h; - return { - $typeName: "google.protobuf.DescriptorProto", - name: init.name, - field: (_b = (_a = init.field) === null || _a === void 0 ? void 0 : _a.map(bootFieldDescriptorProto)) !== null && _b !== void 0 ? _b : [], - extension: [], - nestedType: (_d = (_c = init.nestedType) === null || _c === void 0 ? void 0 : _c.map(bootDescriptorProto)) !== null && _d !== void 0 ? _d : [], - enumType: (_f = (_e = init.enumType) === null || _e === void 0 ? void 0 : _e.map(bootEnumDescriptorProto)) !== null && _f !== void 0 ? _f : [], - extensionRange: (_h = (_g = init.extensionRange) === null || _g === void 0 ? void 0 : _g.map((e) => (Object.assign({ $typeName: "google.protobuf.DescriptorProto.ExtensionRange" }, e)))) !== null && _h !== void 0 ? _h : [], - oneofDecl: [], - reservedRange: [], - reservedName: [], - }; -} -function bootFieldDescriptorProto(init) { - const proto = Object.create({ - label: 1, - typeName: "", - extendee: "", - defaultValue: "", - oneofIndex: 0, - jsonName: "", - proto3Optional: false, - }); - return Object.assign(proto, Object.assign(Object.assign({ $typeName: "google.protobuf.FieldDescriptorProto" }, init), { options: init.options ? bootFieldOptions(init.options) : undefined })); -} -function bootFieldOptions(init) { - var _a, _b, _c; - const proto = Object.create({ - ctype: 0, - packed: false, - jstype: 0, - lazy: false, - unverifiedLazy: false, - deprecated: false, - weak: false, - debugRedact: false, - retention: 0, - }); - return Object.assign(proto, Object.assign(Object.assign({ $typeName: "google.protobuf.FieldOptions" }, init), { targets: (_a = init.targets) !== null && _a !== void 0 ? _a : [], editionDefaults: (_c = (_b = init.editionDefaults) === null || _b === void 0 ? void 0 : _b.map((e) => (Object.assign({ $typeName: "google.protobuf.FieldOptions.EditionDefault" }, e)))) !== null && _c !== void 0 ? _c : [], uninterpretedOption: [] })); -} -function bootEnumDescriptorProto(init) { - return { - $typeName: "google.protobuf.EnumDescriptorProto", - name: init.name, - reservedName: [], - reservedRange: [], - value: init.value.map((e) => (Object.assign({ $typeName: "google.protobuf.EnumValueDescriptorProto" }, e))), - }; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/embed.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/embed.d.ts deleted file mode 100644 index 65671c5..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/embed.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import type { DescEnum, DescExtension, DescMessage, DescService } from "../descriptors.js"; -import type { FileDescriptorProto } from "../wkt/gen/google/protobuf/descriptor_pb.js"; -import type { FileDescriptorProtoBoot } from "./boot.js"; -type EmbedUnknown = { - bootable: false; - proto(): FileDescriptorProto; - base64(): string; -}; -type EmbedDescriptorProto = Omit & { - bootable: true; - boot(): FileDescriptorProtoBoot; -}; -/** - * Create necessary information to embed a file descriptor in - * generated code. - * - * @private - */ -export declare function embedFileDesc(file: FileDescriptorProto): EmbedUnknown | EmbedDescriptorProto; -/** - * Compute the path to a message, enumeration, extension, or service in a - * file descriptor. - * - * @private - */ -export declare function pathInFileDesc(desc: DescMessage | DescEnum | DescExtension | DescService): number[]; -/** - * The file descriptor for google/protobuf/descriptor.proto cannot be embedded - * in serialized form, since it is required to parse itself. - * - * This function takes an instance of the message, and returns a plain object - * that can be hydrated to the message again via bootFileDescriptorProto(). - * - * This function only works with a message google.protobuf.FileDescriptorProto - * for google/protobuf/descriptor.proto, and only supports features that are - * relevant for the specific use case. For example, it discards file options, - * reserved ranges and reserved names, and field options that are unused in - * descriptor.proto. - * - * @private - */ -export declare function createFileDescriptorProtoBoot(proto: FileDescriptorProto): FileDescriptorProtoBoot; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/embed.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/embed.js deleted file mode 100644 index 17e29d5..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/embed.js +++ /dev/null @@ -1,242 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.embedFileDesc = embedFileDesc; -exports.pathInFileDesc = pathInFileDesc; -exports.createFileDescriptorProtoBoot = createFileDescriptorProtoBoot; -const names_js_1 = require("../reflect/names.js"); -const fields_js_1 = require("../fields.js"); -const base64_encoding_js_1 = require("../wire/base64-encoding.js"); -const to_binary_js_1 = require("../to-binary.js"); -const clone_js_1 = require("../clone.js"); -const descriptor_pb_js_1 = require("../wkt/gen/google/protobuf/descriptor_pb.js"); -/** - * Create necessary information to embed a file descriptor in - * generated code. - * - * @private - */ -function embedFileDesc(file) { - const embed = { - bootable: false, - proto() { - const stripped = (0, clone_js_1.clone)(descriptor_pb_js_1.FileDescriptorProtoSchema, file); - (0, fields_js_1.clearField)(stripped, descriptor_pb_js_1.FileDescriptorProtoSchema.field.dependency); - (0, fields_js_1.clearField)(stripped, descriptor_pb_js_1.FileDescriptorProtoSchema.field.sourceCodeInfo); - stripped.messageType.map(stripJsonNames); - return stripped; - }, - base64() { - const bytes = (0, to_binary_js_1.toBinary)(descriptor_pb_js_1.FileDescriptorProtoSchema, this.proto()); - return (0, base64_encoding_js_1.base64Encode)(bytes, "std_raw"); - }, - }; - return file.name == "google/protobuf/descriptor.proto" - ? Object.assign(Object.assign({}, embed), { bootable: true, boot() { - return createFileDescriptorProtoBoot(this.proto()); - } }) : embed; -} -function stripJsonNames(d) { - for (const f of d.field) { - if (f.jsonName === (0, names_js_1.protoCamelCase)(f.name)) { - (0, fields_js_1.clearField)(f, descriptor_pb_js_1.FieldDescriptorProtoSchema.field.jsonName); - } - } - for (const n of d.nestedType) { - stripJsonNames(n); - } -} -/** - * Compute the path to a message, enumeration, extension, or service in a - * file descriptor. - * - * @private - */ -function pathInFileDesc(desc) { - if (desc.kind == "service") { - return [desc.file.services.indexOf(desc)]; - } - const parent = desc.parent; - if (parent == undefined) { - switch (desc.kind) { - case "enum": - return [desc.file.enums.indexOf(desc)]; - case "message": - return [desc.file.messages.indexOf(desc)]; - case "extension": - return [desc.file.extensions.indexOf(desc)]; - } - } - function findPath(cur) { - const nested = []; - for (let parent = cur.parent; parent;) { - const idx = parent.nestedMessages.indexOf(cur); - nested.unshift(idx); - cur = parent; - parent = cur.parent; - } - nested.unshift(cur.file.messages.indexOf(cur)); - return nested; - } - const path = findPath(parent); - switch (desc.kind) { - case "extension": - return [...path, parent.nestedExtensions.indexOf(desc)]; - case "message": - return [...path, parent.nestedMessages.indexOf(desc)]; - case "enum": - return [...path, parent.nestedEnums.indexOf(desc)]; - } -} -/** - * The file descriptor for google/protobuf/descriptor.proto cannot be embedded - * in serialized form, since it is required to parse itself. - * - * This function takes an instance of the message, and returns a plain object - * that can be hydrated to the message again via bootFileDescriptorProto(). - * - * This function only works with a message google.protobuf.FileDescriptorProto - * for google/protobuf/descriptor.proto, and only supports features that are - * relevant for the specific use case. For example, it discards file options, - * reserved ranges and reserved names, and field options that are unused in - * descriptor.proto. - * - * @private - */ -function createFileDescriptorProtoBoot(proto) { - var _a; - assert(proto.name == "google/protobuf/descriptor.proto"); - assert(proto.package == "google.protobuf"); - assert(!proto.dependency.length); - assert(!proto.publicDependency.length); - assert(!proto.weakDependency.length); - assert(!proto.service.length); - assert(!proto.extension.length); - assert(proto.sourceCodeInfo === undefined); - assert(proto.syntax == "" || proto.syntax == "proto2"); - assert(!((_a = proto.options) === null || _a === void 0 ? void 0 : _a.features)); // we're dropping file options - assert(proto.edition === descriptor_pb_js_1.Edition.EDITION_UNKNOWN); - return { - name: proto.name, - package: proto.package, - messageType: proto.messageType.map(createDescriptorBoot), - enumType: proto.enumType.map(createEnumDescriptorBoot), - }; -} -function createDescriptorBoot(proto) { - assert(proto.extension.length == 0); - assert(!proto.oneofDecl.length); - assert(!proto.options); - const b = { - name: proto.name, - }; - if (proto.field.length) { - b.field = proto.field.map(createFieldDescriptorBoot); - } - if (proto.nestedType.length) { - b.nestedType = proto.nestedType.map(createDescriptorBoot); - } - if (proto.enumType.length) { - b.enumType = proto.enumType.map(createEnumDescriptorBoot); - } - if (proto.extensionRange.length) { - b.extensionRange = proto.extensionRange.map((r) => { - assert(!r.options); - return { start: r.start, end: r.end }; - }); - } - return b; -} -function createFieldDescriptorBoot(proto) { - assert((0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldDescriptorProtoSchema.field.name)); - assert((0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldDescriptorProtoSchema.field.number)); - assert((0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldDescriptorProtoSchema.field.type)); - assert(!(0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldDescriptorProtoSchema.field.oneofIndex)); - assert(!(0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldDescriptorProtoSchema.field.jsonName) || - proto.jsonName === (0, names_js_1.protoCamelCase)(proto.name)); - const b = { - name: proto.name, - number: proto.number, - type: proto.type, - }; - if ((0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldDescriptorProtoSchema.field.label)) { - b.label = proto.label; - } - if ((0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldDescriptorProtoSchema.field.typeName)) { - b.typeName = proto.typeName; - } - if ((0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldDescriptorProtoSchema.field.extendee)) { - b.extendee = proto.extendee; - } - if ((0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldDescriptorProtoSchema.field.defaultValue)) { - b.defaultValue = proto.defaultValue; - } - if (proto.options) { - b.options = createFieldOptionsBoot(proto.options); - } - return b; -} -function createFieldOptionsBoot(proto) { - const b = {}; - assert(!(0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldOptionsSchema.field.ctype)); - if ((0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldOptionsSchema.field.packed)) { - b.packed = proto.packed; - } - assert(!(0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldOptionsSchema.field.jstype)); - assert(!(0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldOptionsSchema.field.lazy)); - assert(!(0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldOptionsSchema.field.unverifiedLazy)); - if ((0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldOptionsSchema.field.deprecated)) { - b.deprecated = proto.deprecated; - } - assert(!(0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldOptionsSchema.field.weak)); - assert(!(0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldOptionsSchema.field.debugRedact)); - if ((0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldOptionsSchema.field.retention)) { - b.retention = proto.retention; - } - if (proto.targets.length) { - b.targets = proto.targets; - } - if (proto.editionDefaults.length) { - b.editionDefaults = proto.editionDefaults.map((d) => ({ - value: d.value, - edition: d.edition, - })); - } - assert(!(0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldOptionsSchema.field.features)); - assert(!(0, fields_js_1.isFieldSet)(proto, descriptor_pb_js_1.FieldOptionsSchema.field.uninterpretedOption)); - return b; -} -function createEnumDescriptorBoot(proto) { - assert(!proto.options); - return { - name: proto.name, - value: proto.value.map((v) => { - assert(!v.options); - return { - name: v.name, - number: v.number, - }; - }), - }; -} -/** - * Assert that condition is truthy or throw error. - */ -function assert(condition) { - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions -- we want the implicit conversion to boolean - if (!condition) { - throw new Error(); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.d.ts deleted file mode 100644 index e77b8fe..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import type { DescEnum, DescFile } from "../descriptors.js"; -import type { GenEnum } from "./types.js"; -import type { JsonValue } from "../json-value.js"; -/** - * Hydrate an enum descriptor. - * - * @private - */ -export declare function enumDesc(file: DescFile, path: number, ...paths: number[]): GenEnum; -/** - * Construct a TypeScript enum object at runtime from a descriptor. - */ -export declare function tsEnum(desc: DescEnum): enumObject; -type enumObject = { - [key: number]: string; - [k: string]: number | string; -}; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.js deleted file mode 100644 index 9f0a022..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.enumDesc = enumDesc; -exports.tsEnum = tsEnum; -/** - * Hydrate an enum descriptor. - * - * @private - */ -function enumDesc(file, path, ...paths) { - if (paths.length == 0) { - return file.enums[path]; - } - const e = paths.pop(); // we checked length above - return paths.reduce((acc, cur) => acc.nestedMessages[cur], file.messages[path]).nestedEnums[e]; -} -/** - * Construct a TypeScript enum object at runtime from a descriptor. - */ -function tsEnum(desc) { - const enumObject = {}; - for (const value of desc.values) { - enumObject[value.localName] = value.number; - enumObject[value.number] = value.localName; - } - return enumObject; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.d.ts deleted file mode 100644 index 7d6374b..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { Message } from "../types.js"; -import type { DescFile } from "../descriptors.js"; -import type { GenExtension } from "./types.js"; -/** - * Hydrate an extension descriptor. - * - * @private - */ -export declare function extDesc(file: DescFile, path: number, ...paths: number[]): GenExtension; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.js deleted file mode 100644 index c551fc3..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.js +++ /dev/null @@ -1,28 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.extDesc = extDesc; -/** - * Hydrate an extension descriptor. - * - * @private - */ -function extDesc(file, path, ...paths) { - if (paths.length == 0) { - return file.extensions[path]; - } - const e = paths.pop(); // we checked length above - return paths.reduce((acc, cur) => acc.nestedMessages[cur], file.messages[path]).nestedExtensions[e]; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.d.ts deleted file mode 100644 index 4d9853f..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { DescFile } from "../descriptors.js"; -/** - * Hydrate a file descriptor. - * - * @private - */ -export declare function fileDesc(b64: string, imports?: DescFile[]): DescFile; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.js deleted file mode 100644 index 61e269f..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fileDesc = fileDesc; -const base64_encoding_js_1 = require("../wire/base64-encoding.js"); -const descriptor_pb_js_1 = require("../wkt/gen/google/protobuf/descriptor_pb.js"); -const registry_js_1 = require("../registry.js"); -const restore_json_names_js_1 = require("./restore-json-names.js"); -const from_binary_js_1 = require("../from-binary.js"); -/** - * Hydrate a file descriptor. - * - * @private - */ -function fileDesc(b64, imports) { - var _a; - const root = (0, from_binary_js_1.fromBinary)(descriptor_pb_js_1.FileDescriptorProtoSchema, (0, base64_encoding_js_1.base64Decode)(b64)); - root.messageType.forEach(restore_json_names_js_1.restoreJsonNames); - root.dependency = (_a = imports === null || imports === void 0 ? void 0 : imports.map((f) => f.proto.name)) !== null && _a !== void 0 ? _a : []; - const reg = (0, registry_js_1.createFileRegistry)(root, (protoFileName) => imports === null || imports === void 0 ? void 0 : imports.find((f) => f.proto.name === protoFileName)); - // non-null assertion because we just created the registry from the file we look up - return reg.getFile(root.name); -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.d.ts deleted file mode 100644 index b74cd36..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export * from "./boot.js"; -export * from "./embed.js"; -export * from "./enum.js"; -export * from "./extension.js"; -export * from "./file.js"; -export * from "./message.js"; -export * from "./service.js"; -export * from "./symbols.js"; -export * from "./scalar.js"; -export * from "./types.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.js deleted file mode 100644 index c714111..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.js +++ /dev/null @@ -1,39 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./boot.js"), exports); -__exportStar(require("./embed.js"), exports); -__exportStar(require("./enum.js"), exports); -__exportStar(require("./extension.js"), exports); -__exportStar(require("./file.js"), exports); -__exportStar(require("./message.js"), exports); -__exportStar(require("./service.js"), exports); -__exportStar(require("./symbols.js"), exports); -__exportStar(require("./scalar.js"), exports); -__exportStar(require("./types.js"), exports); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.d.ts deleted file mode 100644 index 46ad4ad..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { Message } from "../types.js"; -import type { DescFile } from "../descriptors.js"; -import type { GenMessage } from "./types.js"; -import type { JsonValue } from "../json-value.js"; -/** - * Hydrate a message descriptor. - * - * @private - */ -export declare function messageDesc(file: DescFile, path: number, ...paths: number[]): GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.js deleted file mode 100644 index a2314fd..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.js +++ /dev/null @@ -1,24 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.messageDesc = messageDesc; -/** - * Hydrate a message descriptor. - * - * @private - */ -function messageDesc(file, path, ...paths) { - return paths.reduce((acc, cur) => acc.nestedMessages[cur], file.messages[path]); -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/restore-json-names.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/restore-json-names.d.ts deleted file mode 100644 index d83d94d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/restore-json-names.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { DescriptorProto } from "../wkt/gen/google/protobuf/descriptor_pb.js"; -/** - * @private - */ -export declare function restoreJsonNames(message: DescriptorProto): void; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/restore-json-names.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/restore-json-names.js deleted file mode 100644 index 665c74e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/restore-json-names.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.restoreJsonNames = restoreJsonNames; -const names_js_1 = require("../reflect/names.js"); -const unsafe_js_1 = require("../reflect/unsafe.js"); -/** - * @private - */ -function restoreJsonNames(message) { - for (const f of message.field) { - if (!(0, unsafe_js_1.unsafeIsSetExplicit)(f, "jsonName")) { - f.jsonName = (0, names_js_1.protoCamelCase)(f.name); - } - } - message.nestedType.forEach(restoreJsonNames); -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/scalar.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/scalar.d.ts deleted file mode 100644 index 5c48fce..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/scalar.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ScalarType } from "../descriptors.js"; -/** - * Return the TypeScript type (as a string) for the given scalar type. - */ -export declare function scalarTypeScriptType(scalar: ScalarType, longAsString: boolean): "string" | "boolean" | "bigint" | "bigint | string" | "Uint8Array" | "number"; -/** - * Return the JSON type (as a string) for the given scalar type. - */ -export declare function scalarJsonType(scalar: ScalarType): "string" | "boolean" | "number" | `number | "NaN" | "Infinity" | "-Infinity"`; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/scalar.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/scalar.js deleted file mode 100644 index e3f0367..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/scalar.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.scalarTypeScriptType = scalarTypeScriptType; -exports.scalarJsonType = scalarJsonType; -const descriptors_js_1 = require("../descriptors.js"); -/** - * Return the TypeScript type (as a string) for the given scalar type. - */ -function scalarTypeScriptType(scalar, longAsString) { - switch (scalar) { - case descriptors_js_1.ScalarType.STRING: - return "string"; - case descriptors_js_1.ScalarType.BOOL: - return "boolean"; - case descriptors_js_1.ScalarType.UINT64: - case descriptors_js_1.ScalarType.SFIXED64: - case descriptors_js_1.ScalarType.FIXED64: - case descriptors_js_1.ScalarType.SINT64: - case descriptors_js_1.ScalarType.INT64: - return longAsString ? "string" : "bigint"; - case descriptors_js_1.ScalarType.BYTES: - return "Uint8Array"; - default: - return "number"; - } -} -/** - * Return the JSON type (as a string) for the given scalar type. - */ -function scalarJsonType(scalar) { - switch (scalar) { - case descriptors_js_1.ScalarType.DOUBLE: - case descriptors_js_1.ScalarType.FLOAT: - return `number | "NaN" | "Infinity" | "-Infinity"`; - case descriptors_js_1.ScalarType.UINT64: - case descriptors_js_1.ScalarType.SFIXED64: - case descriptors_js_1.ScalarType.FIXED64: - case descriptors_js_1.ScalarType.SINT64: - case descriptors_js_1.ScalarType.INT64: - return "string"; - case descriptors_js_1.ScalarType.INT32: - case descriptors_js_1.ScalarType.FIXED32: - case descriptors_js_1.ScalarType.UINT32: - case descriptors_js_1.ScalarType.SFIXED32: - case descriptors_js_1.ScalarType.SINT32: - return "number"; - case descriptors_js_1.ScalarType.STRING: - return "string"; - case descriptors_js_1.ScalarType.BOOL: - return "boolean"; - case descriptors_js_1.ScalarType.BYTES: - return "string"; - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.d.ts deleted file mode 100644 index 5818f75..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { GenService, GenServiceMethods } from "./types.js"; -import type { DescFile } from "../descriptors.js"; -/** - * Hydrate a service descriptor. - * - * @private - */ -export declare function serviceDesc(file: DescFile, path: number, ...paths: number[]): GenService; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.js deleted file mode 100644 index d485541..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.serviceDesc = serviceDesc; -/** - * Hydrate a service descriptor. - * - * @private - */ -function serviceDesc(file, path, ...paths) { - if (paths.length > 0) { - throw new Error(); - } - return file.services[path]; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.d.ts deleted file mode 100644 index dab4116..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.d.ts +++ /dev/null @@ -1,135 +0,0 @@ -/** - * @private - */ -export declare const packageName = "@bufbuild/protobuf"; -/** - * @private - */ -export declare const wktPublicImportPaths: Readonly>; -/** - * @private - */ -export declare const symbols: { - readonly isMessage: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../is-message.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly Message: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../types.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly create: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../create.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly fromJson: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../from-json.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly fromJsonString: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../from-json.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly fromBinary: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../from-binary.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly toBinary: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../to-binary.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly toJson: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../to-json.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly toJsonString: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../to-json.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly protoInt64: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../proto-int64.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly JsonValue: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../json-value.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly JsonObject: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../json-value.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly codegen: { - readonly boot: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/boot.js"; - readonly from: string; - }; - readonly fileDesc: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/file.js"; - readonly from: string; - }; - readonly enumDesc: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/enum.js"; - readonly from: string; - }; - readonly extDesc: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/extension.js"; - readonly from: string; - }; - readonly messageDesc: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/message.js"; - readonly from: string; - }; - readonly serviceDesc: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/service.js"; - readonly from: string; - }; - readonly tsEnum: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/enum.js"; - readonly from: string; - }; - readonly GenFile: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../codegenv1/types.js"; - readonly from: string; - }; - readonly GenEnum: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../codegenv1/types.js"; - readonly from: string; - }; - readonly GenExtension: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../codegenv1/types.js"; - readonly from: string; - }; - readonly GenMessage: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../codegenv1/types.js"; - readonly from: string; - }; - readonly GenService: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../codegenv1/types.js"; - readonly from: string; - }; - }; -}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.js deleted file mode 100644 index 1392143..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.js +++ /dev/null @@ -1,69 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.symbols = exports.wktPublicImportPaths = exports.packageName = void 0; -/** - * @private - */ -exports.packageName = "@bufbuild/protobuf"; -/** - * @private - */ -exports.wktPublicImportPaths = { - "google/protobuf/compiler/plugin.proto": exports.packageName + "/wkt", - "google/protobuf/any.proto": exports.packageName + "/wkt", - "google/protobuf/api.proto": exports.packageName + "/wkt", - "google/protobuf/descriptor.proto": exports.packageName + "/wkt", - "google/protobuf/duration.proto": exports.packageName + "/wkt", - "google/protobuf/empty.proto": exports.packageName + "/wkt", - "google/protobuf/field_mask.proto": exports.packageName + "/wkt", - "google/protobuf/source_context.proto": exports.packageName + "/wkt", - "google/protobuf/struct.proto": exports.packageName + "/wkt", - "google/protobuf/timestamp.proto": exports.packageName + "/wkt", - "google/protobuf/type.proto": exports.packageName + "/wkt", - "google/protobuf/wrappers.proto": exports.packageName + "/wkt", -}; -/** - * @private - */ -// prettier-ignore -exports.symbols = { - isMessage: { typeOnly: false, bootstrapWktFrom: "../../is-message.js", from: exports.packageName }, - Message: { typeOnly: true, bootstrapWktFrom: "../../types.js", from: exports.packageName }, - create: { typeOnly: false, bootstrapWktFrom: "../../create.js", from: exports.packageName }, - fromJson: { typeOnly: false, bootstrapWktFrom: "../../from-json.js", from: exports.packageName }, - fromJsonString: { typeOnly: false, bootstrapWktFrom: "../../from-json.js", from: exports.packageName }, - fromBinary: { typeOnly: false, bootstrapWktFrom: "../../from-binary.js", from: exports.packageName }, - toBinary: { typeOnly: false, bootstrapWktFrom: "../../to-binary.js", from: exports.packageName }, - toJson: { typeOnly: false, bootstrapWktFrom: "../../to-json.js", from: exports.packageName }, - toJsonString: { typeOnly: false, bootstrapWktFrom: "../../to-json.js", from: exports.packageName }, - protoInt64: { typeOnly: false, bootstrapWktFrom: "../../proto-int64.js", from: exports.packageName }, - JsonValue: { typeOnly: true, bootstrapWktFrom: "../../json-value.js", from: exports.packageName }, - JsonObject: { typeOnly: true, bootstrapWktFrom: "../../json-value.js", from: exports.packageName }, - codegen: { - boot: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/boot.js", from: exports.packageName + "/codegenv1" }, - fileDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/file.js", from: exports.packageName + "/codegenv1" }, - enumDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/enum.js", from: exports.packageName + "/codegenv1" }, - extDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/extension.js", from: exports.packageName + "/codegenv1" }, - messageDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/message.js", from: exports.packageName + "/codegenv1" }, - serviceDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/service.js", from: exports.packageName + "/codegenv1" }, - tsEnum: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/enum.js", from: exports.packageName + "/codegenv1" }, - GenFile: { typeOnly: true, bootstrapWktFrom: "../../codegenv1/types.js", from: exports.packageName + "/codegenv1" }, - GenEnum: { typeOnly: true, bootstrapWktFrom: "../../codegenv1/types.js", from: exports.packageName + "/codegenv1" }, - GenExtension: { typeOnly: true, bootstrapWktFrom: "../../codegenv1/types.js", from: exports.packageName + "/codegenv1" }, - GenMessage: { typeOnly: true, bootstrapWktFrom: "../../codegenv1/types.js", from: exports.packageName + "/codegenv1" }, - GenService: { typeOnly: true, bootstrapWktFrom: "../../codegenv1/types.js", from: exports.packageName + "/codegenv1" }, - }, -}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.d.ts deleted file mode 100644 index 0d67310..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import type { Message } from "../types.js"; -import type { DescEnum, DescEnumValue, DescExtension, DescField, DescFile, DescMessage, DescMethod, DescService } from "../descriptors.js"; -import type { JsonValue } from "../json-value.js"; -/** - * Describes a protobuf source file. - * - * @private - */ -export type GenFile = DescFile; -/** - * Describes a message declaration in a protobuf source file. - * - * This type is identical to DescMessage, but carries additional type - * information. - * - * @private - */ -export type GenMessage = Omit & { - field: Record, DescField>; -} & brandv1; -/** - * Describes an enumeration in a protobuf source file. - * - * This type is identical to DescEnum, but carries additional type - * information. - * - * @private - */ -export type GenEnum = Omit & { - value: Record; -} & brandv1; -/** - * Describes an extension in a protobuf source file. - * - * This type is identical to DescExtension, but carries additional type - * information. - * - * @private - */ -export type GenExtension = DescExtension & brandv1; -/** - * Describes a service declaration in a protobuf source file. - * - * This type is identical to DescService, but carries additional type - * information. - * - * @private - */ -export type GenService = Omit & { - method: { - [K in keyof RuntimeShape]: RuntimeShape[K] & DescMethod; - }; -}; -/** - * @private - */ -export type GenServiceMethods = Record>; -declare class brandv1 { - protected v: "codegenv1"; - protected a: A | boolean; - protected b: B | boolean; -} -/** - * Union of the property names of all fields, including oneof members. - * For an anonymous message (no generated message shape), it's simply a string. - */ -type MessageFieldNames = Message extends T ? string : Exclude ? K : P]-?: true; -}, number | symbol>; -type Oneof = { - case: K | undefined; - value?: unknown; -}; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.js b/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.js deleted file mode 100644 index 639e7c0..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -class brandv1 { - constructor() { - this.v = "codegenv1"; - this.a = false; - this.b = false; - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/create.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/create.d.ts deleted file mode 100644 index 0f86a36..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/create.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { type DescMessage } from "./descriptors.js"; -import type { MessageInitShape, MessageShape } from "./types.js"; -/** - * Create a new message instance. - * - * The second argument is an optional initializer object, where all fields are - * optional. - */ -export declare function create(schema: Desc, init?: MessageInitShape): MessageShape; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/create.js b/node_modules/@bufbuild/protobuf/dist/cjs/create.js deleted file mode 100644 index f53c8fb..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/create.js +++ /dev/null @@ -1,260 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.create = create; -const is_message_js_1 = require("./is-message.js"); -const descriptors_js_1 = require("./descriptors.js"); -const scalar_js_1 = require("./reflect/scalar.js"); -const guard_js_1 = require("./reflect/guard.js"); -const unsafe_js_1 = require("./reflect/unsafe.js"); -const wrappers_js_1 = require("./wkt/wrappers.js"); -// bootstrap-inject google.protobuf.Edition.EDITION_PROTO3: const $name: Edition.$localName = $number; -const EDITION_PROTO3 = 999; -// bootstrap-inject google.protobuf.Edition.EDITION_PROTO2: const $name: Edition.$localName = $number; -const EDITION_PROTO2 = 998; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.IMPLICIT: const $name: FeatureSet_FieldPresence.$localName = $number; -const IMPLICIT = 2; -/** - * Create a new message instance. - * - * The second argument is an optional initializer object, where all fields are - * optional. - */ -function create(schema, init) { - if ((0, is_message_js_1.isMessage)(init, schema)) { - return init; - } - const message = createZeroMessage(schema); - if (init !== undefined) { - initMessage(schema, message, init); - } - return message; -} -/** - * Sets field values from a MessageInitShape on a zero message. - */ -function initMessage(messageDesc, message, init) { - for (const member of messageDesc.members) { - let value = init[member.localName]; - if (value == null) { - // intentionally ignore undefined and null - continue; - } - let field; - if (member.kind == "oneof") { - const oneofField = (0, unsafe_js_1.unsafeOneofCase)(init, member); - if (!oneofField) { - continue; - } - field = oneofField; - value = (0, unsafe_js_1.unsafeGet)(init, oneofField); - } - else { - field = member; - } - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check -- no need to convert enum - switch (field.fieldKind) { - case "message": - value = toMessage(field, value); - break; - case "scalar": - value = initScalar(field, value); - break; - case "list": - value = initList(field, value); - break; - case "map": - value = initMap(field, value); - break; - } - (0, unsafe_js_1.unsafeSet)(message, field, value); - } - return message; -} -function initScalar(field, value) { - if (field.scalar == descriptors_js_1.ScalarType.BYTES) { - return toU8Arr(value); - } - return value; -} -function initMap(field, value) { - if ((0, guard_js_1.isObject)(value)) { - if (field.scalar == descriptors_js_1.ScalarType.BYTES) { - return convertObjectValues(value, toU8Arr); - } - if (field.mapKind == "message") { - return convertObjectValues(value, (val) => toMessage(field, val)); - } - } - return value; -} -function initList(field, value) { - if (Array.isArray(value)) { - if (field.scalar == descriptors_js_1.ScalarType.BYTES) { - return value.map(toU8Arr); - } - if (field.listKind == "message") { - return value.map((item) => toMessage(field, item)); - } - } - return value; -} -function toMessage(field, value) { - if (field.fieldKind == "message" && - !field.oneof && - (0, wrappers_js_1.isWrapperDesc)(field.message)) { - // Types from google/protobuf/wrappers.proto are unwrapped when used in - // a singular field that is not part of a oneof group. - return initScalar(field.message.fields[0], value); - } - if ((0, guard_js_1.isObject)(value)) { - if (field.message.typeName == "google.protobuf.Struct" && - field.parent.typeName !== "google.protobuf.Value") { - // google.protobuf.Struct is represented with JsonObject when used in a - // field, except when used in google.protobuf.Value. - return value; - } - if (!(0, is_message_js_1.isMessage)(value, field.message)) { - return create(field.message, value); - } - } - return value; -} -// converts any ArrayLike to Uint8Array if necessary. -function toU8Arr(value) { - return Array.isArray(value) ? new Uint8Array(value) : value; -} -function convertObjectValues(obj, fn) { - const ret = {}; - for (const entry of Object.entries(obj)) { - ret[entry[0]] = fn(entry[1]); - } - return ret; -} -const tokenZeroMessageField = Symbol(); -const messagePrototypes = new WeakMap(); -/** - * Create a zero message. - */ -function createZeroMessage(desc) { - let msg; - if (!needsPrototypeChain(desc)) { - msg = { - $typeName: desc.typeName, - }; - for (const member of desc.members) { - if (member.kind == "oneof" || member.presence == IMPLICIT) { - msg[member.localName] = createZeroField(member); - } - } - } - else { - // Support default values and track presence via the prototype chain - const cached = messagePrototypes.get(desc); - let prototype; - let members; - if (cached) { - ({ prototype, members } = cached); - } - else { - prototype = {}; - members = new Set(); - for (const member of desc.members) { - if (member.kind == "oneof") { - // we can only put immutable values on the prototype, - // oneof ADTs are mutable - continue; - } - if (member.fieldKind != "scalar" && member.fieldKind != "enum") { - // only scalar and enum values are immutable, map, list, and message - // are not - continue; - } - if (member.presence == IMPLICIT) { - // implicit presence tracks field presence by zero values - e.g. 0, false, "", are unset, 1, true, "x" are set. - // message, map, list fields are mutable, and also have IMPLICIT presence. - continue; - } - members.add(member); - prototype[member.localName] = createZeroField(member); - } - messagePrototypes.set(desc, { prototype, members }); - } - msg = Object.create(prototype); - msg.$typeName = desc.typeName; - for (const member of desc.members) { - if (members.has(member)) { - continue; - } - if (member.kind == "field") { - if (member.fieldKind == "message") { - continue; - } - if (member.fieldKind == "scalar" || member.fieldKind == "enum") { - if (member.presence != IMPLICIT) { - continue; - } - } - } - msg[member.localName] = createZeroField(member); - } - } - return msg; -} -/** - * Do we need the prototype chain to track field presence? - */ -function needsPrototypeChain(desc) { - switch (desc.file.edition) { - case EDITION_PROTO3: - // proto3 always uses implicit presence, we never need the prototype chain. - return false; - case EDITION_PROTO2: - // proto2 never uses implicit presence, we always need the prototype chain. - return true; - default: - // If a message uses scalar or enum fields with explicit presence, we need - // the prototype chain to track presence. This rule does not apply to fields - // in a oneof group - they use a different mechanism to track presence. - return desc.fields.some((f) => f.presence != IMPLICIT && f.fieldKind != "message" && !f.oneof); - } -} -/** - * Returns a zero value for oneof groups, and for every field kind except - * messages. Scalar and enum fields can have default values. - */ -function createZeroField(field) { - if (field.kind == "oneof") { - return { case: undefined }; - } - if (field.fieldKind == "list") { - return []; - } - if (field.fieldKind == "map") { - return {}; // Object.create(null) would be desirable here, but is unsupported by react https://react.dev/reference/react/use-server#serializable-parameters-and-return-values - } - if (field.fieldKind == "message") { - return tokenZeroMessageField; - } - const defaultValue = field.getDefaultValue(); - if (defaultValue !== undefined) { - return field.fieldKind == "scalar" && field.longAsString - ? defaultValue.toString() - : defaultValue; - } - return field.fieldKind == "scalar" - ? (0, scalar_js_1.scalarZeroValue)(field.scalar, field.longAsString) - : field.enum.values[0].number; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/descriptors.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/descriptors.d.ts deleted file mode 100644 index 98e0c41..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/descriptors.d.ts +++ /dev/null @@ -1,627 +0,0 @@ -import type { DescriptorProto, Edition, EnumDescriptorProto, EnumValueDescriptorProto, FeatureSet_FieldPresence, FieldDescriptorProto, FileDescriptorProto, MethodDescriptorProto, MethodOptions_IdempotencyLevel, OneofDescriptorProto, ServiceDescriptorProto } from "./wkt/gen/google/protobuf/descriptor_pb.js"; -import type { ScalarValue } from "./reflect/scalar.js"; -export type SupportedEdition = Extract; -type SupportedFieldPresence = Extract; -/** - * Scalar value types. This is a subset of field types declared by protobuf - * enum google.protobuf.FieldDescriptorProto.Type The types GROUP and MESSAGE - * are omitted, but the numerical values are identical. - */ -export declare enum ScalarType { - DOUBLE = 1, - FLOAT = 2, - INT64 = 3, - UINT64 = 4, - INT32 = 5, - FIXED64 = 6, - FIXED32 = 7, - BOOL = 8, - STRING = 9, - BYTES = 12, - UINT32 = 13, - SFIXED32 = 15, - SFIXED64 = 16, - SINT32 = 17,// Uses ZigZag encoding. - SINT64 = 18 -} -/** - * A union of all descriptors, discriminated by a `kind` property. - */ -export type AnyDesc = DescFile | DescEnum | DescEnumValue | DescMessage | DescField | DescExtension | DescOneof | DescService | DescMethod; -/** - * Describes a protobuf source file. - */ -export interface DescFile { - readonly kind: "file"; - /** - * The edition of the protobuf file. Will be EDITION_PROTO2 for syntax="proto2", - * EDITION_PROTO3 for syntax="proto3"; - */ - readonly edition: SupportedEdition; - /** - * The name of the file, excluding the .proto suffix. - * For a protobuf file `foo/bar.proto`, this is `foo/bar`. - */ - readonly name: string; - /** - * Files imported by this file. - */ - readonly dependencies: DescFile[]; - /** - * Top-level enumerations declared in this file. - * Note that more enumerations might be declared within message declarations. - */ - readonly enums: DescEnum[]; - /** - * Top-level messages declared in this file. - * Note that more messages might be declared within message declarations. - */ - readonly messages: DescMessage[]; - /** - * Top-level extensions declared in this file. - * Note that more extensions might be declared within message declarations. - */ - readonly extensions: DescExtension[]; - /** - * Services declared in this file. - */ - readonly services: DescService[]; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: FileDescriptorProto; - toString(): string; -} -/** - * Describes an enumeration in a protobuf source file. - */ -export interface DescEnum { - readonly kind: "enum"; - /** - * The fully qualified name of the enumeration. (We omit the leading dot.) - */ - readonly typeName: string; - /** - * The name of the enumeration, as declared in the protobuf source. - */ - readonly name: string; - /** - * The file this enumeration was declared in. - */ - readonly file: DescFile; - /** - * The parent message, if this enumeration was declared inside a message declaration. - */ - readonly parent: DescMessage | undefined; - /** - * Enumerations can be open or closed. - * See https://protobuf.dev/programming-guides/enum/ - */ - readonly open: boolean; - /** - * Values declared for this enumeration. - */ - readonly values: DescEnumValue[]; - /** - * All values of this enum by their number. - */ - readonly value: Record; - /** - * A prefix shared by all enum values. - * For example, `my_enum_` for `enum MyEnum {MY_ENUM_A=0; MY_ENUM_B=1;}` - */ - readonly sharedPrefix?: string; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: EnumDescriptorProto; - toString(): string; -} -/** - * Describes an individual value of an enumeration in a protobuf source file. - */ -export interface DescEnumValue { - readonly kind: "enum_value"; - /** - * The name of the enumeration value, as specified in the protobuf source. - */ - readonly name: string; - /** - * A safe and idiomatic name for the value in a TypeScript enum. - */ - readonly localName: string; - /** - * The enumeration this value belongs to. - */ - readonly parent: DescEnum; - /** - * The numeric enumeration value, as specified in the protobuf source. - */ - readonly number: number; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: EnumValueDescriptorProto; - toString(): string; -} -/** - * Describes a message declaration in a protobuf source file. - */ -export interface DescMessage { - readonly kind: "message"; - /** - * The fully qualified name of the message. (We omit the leading dot.) - */ - readonly typeName: string; - /** - * The name of the message, as specified in the protobuf source. - */ - readonly name: string; - /** - * The file this message was declared in. - */ - readonly file: DescFile; - /** - * The parent message, if this message was declared inside a message declaration. - */ - readonly parent: DescMessage | undefined; - /** - * Fields declared for this message, including fields declared in a oneof - * group. - */ - readonly fields: DescField[]; - /** - * All fields of this message by their "localName". - */ - readonly field: Record; - /** - * Oneof groups declared for this message. - * This does not include synthetic oneofs for proto3 optionals. - */ - readonly oneofs: DescOneof[]; - /** - * Fields and oneof groups for this message, ordered by their appearance in the - * protobuf source. - */ - readonly members: (DescField | DescOneof)[]; - /** - * Enumerations declared within the message, if any. - */ - readonly nestedEnums: DescEnum[]; - /** - * Messages declared within the message, if any. - * This does not include synthetic messages like map entries. - */ - readonly nestedMessages: DescMessage[]; - /** - * Extensions declared within the message, if any. - */ - readonly nestedExtensions: DescExtension[]; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: DescriptorProto; - toString(): string; -} -/** - * Describes a field declaration in a protobuf source file. - */ -export type DescField = (descFieldScalar & descFieldCommon) | (descFieldList & descFieldCommon) | (descFieldMessage & descFieldCommon) | (descFieldEnum & descFieldCommon) | (descFieldMap & descFieldCommon); -type descFieldCommon = descFieldAndExtensionShared & { - readonly kind: "field"; - /** - * The message this field is declared on. - */ - readonly parent: DescMessage; - /** - * A safe and idiomatic name for the field as a property in ECMAScript. - */ - readonly localName: string; -}; -/** - * Describes an extension in a protobuf source file. - */ -export type DescExtension = (Omit & descExtensionCommon) | (Omit & descExtensionCommon) | (Omit & descExtensionCommon) | (descFieldList & descExtensionCommon); -type descExtensionCommon = descFieldAndExtensionShared & { - readonly kind: "extension"; - /** - * The fully qualified name of the extension. - */ - readonly typeName: string; - /** - * The file this extension was declared in. - */ - readonly file: DescFile; - /** - * The parent message, if this extension was declared inside a message declaration. - */ - readonly parent: DescMessage | undefined; - /** - * The message that this extension extends. - */ - readonly extendee: DescMessage; - /** - * The `oneof` group this field belongs to, if any. - */ - readonly oneof: undefined; -}; -interface descFieldAndExtensionShared { - /** - * The field name, as specified in the protobuf source - */ - readonly name: string; - /** - * The field number, as specified in the protobuf source. - */ - readonly number: number; - /** - * The field name in JSON. - */ - readonly jsonName: string; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * Presence of the field. - * See https://protobuf.dev/programming-guides/field_presence/ - */ - readonly presence: SupportedFieldPresence; - /** - * The compiler-generated descriptor. - */ - readonly proto: FieldDescriptorProto; - /** - * Get the edition features for this protobuf element. - */ - toString(): string; -} -type descFieldSingularCommon = { - /** - * The `oneof` group this field belongs to, if any. - * - * This does not include synthetic oneofs for proto3 optionals. - */ - readonly oneof: DescOneof | undefined; -}; -type descFieldScalar = T extends T ? { - readonly fieldKind: "scalar"; - /** - * Scalar type, if it is a scalar field. - */ - readonly scalar: T; - /** - * By default, 64-bit integral types (int64, uint64, sint64, fixed64, - * sfixed64) are represented with BigInt. - * - * If the field option `jstype = JS_STRING` is set, this property - * is true, and 64-bit integral types are represented with String. - */ - readonly longAsString: boolean; - /** - * The message type, if it is a message field. - */ - readonly message: undefined; - /** - * The enum type, if it is an enum field. - */ - readonly enum: undefined; - /** - * Return the default value specified in the protobuf source. - */ - getDefaultValue(): ScalarValue | undefined; -} & descFieldSingularCommon : never; -type descFieldMessage = { - readonly fieldKind: "message"; - /** - * Scalar type, if it is a scalar field. - */ - readonly scalar: undefined; - /** - * The message type, if it is a message field. - */ - readonly message: DescMessage; - /** - * Encode the message delimited (a.k.a. proto2 group encoding), or - * length-prefixed? - */ - readonly delimitedEncoding: boolean; - /** - * The enum type, if it is an enum field. - */ - readonly enum: undefined; - /** - * Return the default value specified in the protobuf source. - */ - getDefaultValue(): undefined; -} & descFieldSingularCommon; -type descFieldEnum = { - readonly fieldKind: "enum"; - /** - * Scalar type, if it is a scalar field. - */ - readonly scalar: undefined; - /** - * The message type, if it is a message field. - */ - readonly message: undefined; - /** - * The enum type, if it is an enum field. - */ - readonly enum: DescEnum; - /** - * Return the default value specified in the protobuf source. - */ - getDefaultValue(): number | undefined; -} & descFieldSingularCommon; -type descFieldList = (descFieldListScalar & descFieldListCommon) | (descFieldListEnum & descFieldListCommon) | (descFieldListMessage & descFieldListCommon); -type descFieldListCommon = { - readonly fieldKind: "list"; - /** - * Pack this repeated field? Only valid for repeated enum fields, and - * for repeated scalar fields except BYTES and STRING. - */ - readonly packed: boolean; - /** - * The `oneof` group this field belongs to, if any. - */ - readonly oneof: undefined; -}; -type descFieldListScalar = T extends T ? { - readonly listKind: "scalar"; - /** - * The enum list element type. - */ - readonly enum: undefined; - /** - * The message list element type. - */ - readonly message: undefined; - /** - * Scalar list element type. - */ - readonly scalar: T; - /** - * By default, 64-bit integral types (int64, uint64, sint64, fixed64, - * sfixed64) are represented with BigInt. - * - * If the field option `jstype = JS_STRING` is set, this property - * is true, and 64-bit integral types are represented with String. - */ - readonly longAsString: boolean; -} : never; -type descFieldListEnum = { - readonly listKind: "enum"; - /** - * The enum list element type. - */ - readonly enum: DescEnum; - /** - * The message list element type. - */ - readonly message: undefined; - /** - * Scalar list element type. - */ - readonly scalar: undefined; -}; -type descFieldListMessage = { - readonly listKind: "message"; - /** - * The enum list element type. - */ - readonly enum: undefined; - /** - * The message list element type. - */ - readonly message: DescMessage; - /** - * Scalar list element type. - */ - readonly scalar: undefined; - /** - * Encode the message delimited (a.k.a. proto2 group encoding), or - * length-prefixed? - */ - readonly delimitedEncoding: boolean; -}; -type descFieldMap = (descFieldMapScalar & descFieldMapCommon) | (descFieldMapEnum & descFieldMapCommon) | (descFieldMapMessage & descFieldMapCommon); -type descFieldMapCommon = T extends Exclude ? { - readonly fieldKind: "map"; - /** - * The scalar map key type. - */ - readonly mapKey: T; - /** - * The `oneof` group this field belongs to, if any. - */ - readonly oneof: undefined; - /** - * Encode the map entry message delimited (a.k.a. proto2 group encoding), - * or length-prefixed? As of Edition 2023, this is always false for map fields, - * and also applies to map values, if they are messages. - */ - readonly delimitedEncoding: false; -} : never; -type descFieldMapScalar = T extends T ? { - readonly mapKind: "scalar"; - /** - * The enum map value type. - */ - readonly enum: undefined; - /** - * The message map value type. - */ - readonly message: undefined; - /** - * Scalar map value type. - */ - readonly scalar: T; -} : never; -type descFieldMapEnum = { - readonly mapKind: "enum"; - /** - * The enum map value type. - */ - readonly enum: DescEnum; - /** - * The message map value type. - */ - readonly message: undefined; - /** - * Scalar map value type. - */ - readonly scalar: undefined; -}; -type descFieldMapMessage = { - readonly mapKind: "message"; - /** - * The enum map value type. - */ - readonly enum: undefined; - /** - * The message map value type. - */ - readonly message: DescMessage; - /** - * Scalar map value type. - */ - readonly scalar: undefined; -}; -/** - * Describes a oneof group in a protobuf source file. - */ -export interface DescOneof { - readonly kind: "oneof"; - /** - * The name of the oneof group, as specified in the protobuf source. - */ - readonly name: string; - /** - * A safe and idiomatic name for the oneof group as a property in ECMAScript. - */ - readonly localName: string; - /** - * The message this oneof group was declared in. - */ - readonly parent: DescMessage; - /** - * The fields declared in this oneof group. - */ - readonly fields: DescField[]; - /** - * Marked as deprecated in the protobuf source. - * Note that oneof groups cannot be marked as deprecated, this property - * only exists for consistency and will always be false. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: OneofDescriptorProto; - toString(): string; -} -/** - * Describes a service declaration in a protobuf source file. - */ -export interface DescService { - readonly kind: "service"; - /** - * The fully qualified name of the service. (We omit the leading dot.) - */ - readonly typeName: string; - /** - * The name of the service, as specified in the protobuf source. - */ - readonly name: string; - /** - * The file this service was declared in. - */ - readonly file: DescFile; - /** - * The RPCs this service declares. - */ - readonly methods: DescMethod[]; - /** - * All methods of this service by their "localName". - */ - readonly method: Record; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: ServiceDescriptorProto; - toString(): string; -} -/** - * Describes an RPC declaration in a protobuf source file. - */ -export interface DescMethod { - readonly kind: "rpc"; - /** - * The name of the RPC, as specified in the protobuf source. - */ - readonly name: string; - /** - * A safe and idiomatic name for the RPC as a method in ECMAScript. - */ - readonly localName: string; - /** - * The parent service. - */ - readonly parent: DescService; - /** - * One of the four available method types. - */ - readonly methodKind: "unary" | "server_streaming" | "client_streaming" | "bidi_streaming"; - /** - * The message type for requests. - */ - readonly input: DescMessage; - /** - * The message type for responses. - */ - readonly output: DescMessage; - /** - * The idempotency level declared in the protobuf source, if any. - */ - readonly idempotency: MethodOptions_IdempotencyLevel; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: MethodDescriptorProto; - toString(): string; -} -/** - * Comments on an element in a protobuf source file. - */ -export interface DescComments { - readonly leadingDetached: readonly string[]; - readonly leading?: string; - readonly trailing?: string; - readonly sourcePath: readonly number[]; -} -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/descriptors.js b/node_modules/@bufbuild/protobuf/dist/cjs/descriptors.js deleted file mode 100644 index 53060cb..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/descriptors.js +++ /dev/null @@ -1,53 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ScalarType = void 0; -/** - * Scalar value types. This is a subset of field types declared by protobuf - * enum google.protobuf.FieldDescriptorProto.Type The types GROUP and MESSAGE - * are omitted, but the numerical values are identical. - */ -var ScalarType; -(function (ScalarType) { - // 0 is reserved for errors. - // Order is weird for historical reasons. - ScalarType[ScalarType["DOUBLE"] = 1] = "DOUBLE"; - ScalarType[ScalarType["FLOAT"] = 2] = "FLOAT"; - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - // negative values are likely. - ScalarType[ScalarType["INT64"] = 3] = "INT64"; - ScalarType[ScalarType["UINT64"] = 4] = "UINT64"; - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - // negative values are likely. - ScalarType[ScalarType["INT32"] = 5] = "INT32"; - ScalarType[ScalarType["FIXED64"] = 6] = "FIXED64"; - ScalarType[ScalarType["FIXED32"] = 7] = "FIXED32"; - ScalarType[ScalarType["BOOL"] = 8] = "BOOL"; - ScalarType[ScalarType["STRING"] = 9] = "STRING"; - // Tag-delimited aggregate. - // Group type is deprecated and not supported in proto3. However, Proto3 - // implementations should still be able to parse the group wire format and - // treat group fields as unknown fields. - // TYPE_GROUP = 10, - // TYPE_MESSAGE = 11, // Length-delimited aggregate. - // New in version 2. - ScalarType[ScalarType["BYTES"] = 12] = "BYTES"; - ScalarType[ScalarType["UINT32"] = 13] = "UINT32"; - // TYPE_ENUM = 14, - ScalarType[ScalarType["SFIXED32"] = 15] = "SFIXED32"; - ScalarType[ScalarType["SFIXED64"] = 16] = "SFIXED64"; - ScalarType[ScalarType["SINT32"] = 17] = "SINT32"; - ScalarType[ScalarType["SINT64"] = 18] = "SINT64"; -})(ScalarType || (exports.ScalarType = ScalarType = {})); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/equals.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/equals.d.ts deleted file mode 100644 index 5de9d77..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/equals.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { MessageShape } from "./types.js"; -import type { DescMessage } from "./descriptors.js"; -/** - * Compare two messages of the same type. - * - * Note that this function disregards extensions and unknown fields, and that - * NaN is not equal NaN, following the IEEE standard. - */ -export declare function equals(schema: Desc, a: MessageShape, b: MessageShape): boolean; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/equals.js b/node_modules/@bufbuild/protobuf/dist/cjs/equals.js deleted file mode 100644 index b5f1835..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/equals.js +++ /dev/null @@ -1,125 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.equals = equals; -const scalar_js_1 = require("./reflect/scalar.js"); -const reflect_js_1 = require("./reflect/reflect.js"); -/** - * Compare two messages of the same type. - * - * Note that this function disregards extensions and unknown fields, and that - * NaN is not equal NaN, following the IEEE standard. - */ -function equals(schema, a, b) { - if (a.$typeName != schema.typeName || b.$typeName != schema.typeName) { - return false; - } - if (a === b) { - return true; - } - return reflectEquals((0, reflect_js_1.reflect)(schema, a), (0, reflect_js_1.reflect)(schema, b)); -} -function reflectEquals(a, b) { - for (const f of a.fields) { - if (!fieldEquals(f, a, b)) { - return false; - } - } - return true; -} -function fieldEquals(f, a, b) { - if (!a.isSet(f) && !b.isSet(f)) { - return true; - } - if (!a.isSet(f) || !b.isSet(f)) { - return false; - } - switch (f.fieldKind) { - case "scalar": - return (0, scalar_js_1.scalarEquals)(f.scalar, a.get(f), b.get(f)); - case "enum": - return a.get(f) === b.get(f); - case "message": - return reflectEquals(a.get(f), b.get(f)); - case "map": { - const ma = a.get(f); - const mb = b.get(f); - const keysA = []; - for (const k of ma.keys()) { - if (!mb.has(k)) { - return false; - } - keysA.push(k); - } - for (const k of mb.keys()) { - if (!ma.has(k)) { - return false; - } - } - for (const key of keysA) { - const va = ma.get(key); - const vb = mb.get(key); - if (va === vb) { - continue; - } - switch (f.mapKind) { - case "enum": - return false; - case "message": - if (!reflectEquals(va, vb)) { - return false; - } - break; - case "scalar": - if (!(0, scalar_js_1.scalarEquals)(f.scalar, va, vb)) { - return false; - } - break; - } - } - break; - } - case "list": { - const la = a.get(f); - const lb = b.get(f); - if (la.size != lb.size) { - return false; - } - for (let i = 0; i < la.size; i++) { - const va = la.get(i); - const vb = lb.get(i); - if (va === vb) { - continue; - } - switch (f.listKind) { - case "enum": - return false; - case "message": - if (!reflectEquals(va, vb)) { - return false; - } - break; - case "scalar": - if (!(0, scalar_js_1.scalarEquals)(f.scalar, va, vb)) { - return false; - } - break; - } - } - break; - } - } - return true; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/extensions.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/extensions.d.ts deleted file mode 100644 index 8336447..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/extensions.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import type { AnyDesc, DescEnum, DescEnumValue, DescExtension, DescField, DescFile, DescMessage, DescMethod, DescOneof, DescService } from "./descriptors.js"; -import type { ReflectMessage } from "./reflect/reflect-types.js"; -import type { Extendee, ExtensionValueShape } from "./types.js"; -import type { EnumOptions, EnumValueOptions, FieldOptions, FileOptions, MessageOptions, MethodOptions, OneofOptions, ServiceOptions } from "./wkt/gen/google/protobuf/descriptor_pb.js"; -/** - * Retrieve an extension value from a message. - * - * The function never returns undefined. Use hasExtension() to check whether an - * extension is set. If the extension is not set, this function returns the - * default value (if one was specified in the protobuf source), or the zero value - * (for example `0` for numeric types, `[]` for repeated extension fields, and - * an empty message instance for message fields). - * - * Extensions are stored as unknown fields on a message. To mutate an extension - * value, make sure to store the new value with setExtension() after mutating. - * - * If the extension does not extend the given message, an error is raised. - */ -export declare function getExtension(message: Extendee, extension: Desc): ExtensionValueShape; -/** - * Set an extension value on a message. If the message already has a value for - * this extension, the value is replaced. - * - * If the extension does not extend the given message, an error is raised. - */ -export declare function setExtension(message: Extendee, extension: Desc, value: ExtensionValueShape): void; -/** - * Remove an extension value from a message. - * - * If the extension does not extend the given message, an error is raised. - */ -export declare function clearExtension(message: Extendee, extension: Desc): void; -/** - * Check whether an extension is set on a message. - */ -export declare function hasExtension(message: Extendee, extension: Desc): boolean; -/** - * Check whether an option is set on a descriptor. - * - * Options are extensions to the `google.protobuf.*Options` messages defined in - * google/protobuf/descriptor.proto. This function gets the option message from - * the descriptor, and calls hasExtension(). - */ -export declare function hasOption>(element: Desc, option: Ext): boolean; -/** - * Retrieve an option value from a descriptor. - * - * Options are extensions to the `google.protobuf.*Options` messages defined in - * google/protobuf/descriptor.proto. This function gets the option message from - * the descriptor, and calls getExtension(). Same as getExtension(), this - * function never returns undefined. - */ -export declare function getOption>(element: Desc, option: Ext): ExtensionValueShape; -type DescForOptionExtension = Extendee extends FileOptions ? DescFile : Extendee extends EnumOptions ? DescEnum : Extendee extends EnumValueOptions ? DescEnumValue : Extendee extends MessageOptions ? DescMessage : Extendee extends MessageOptions ? DescEnum : Extendee extends FieldOptions ? DescField | DescExtension : Extendee extends OneofOptions ? DescOneof : Extendee extends ServiceOptions ? DescService : Extendee extends EnumOptions ? DescEnum : Extendee extends MethodOptions ? DescMethod : AnyDesc; -/** - * @private - */ -export declare function createExtensionContainer(extension: Desc, value?: ExtensionValueShape): [ReflectMessage, DescField, () => ExtensionValueShape]; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/extensions.js b/node_modules/@bufbuild/protobuf/dist/cjs/extensions.js deleted file mode 100644 index 4e17960..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/extensions.js +++ /dev/null @@ -1,169 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getExtension = getExtension; -exports.setExtension = setExtension; -exports.clearExtension = clearExtension; -exports.hasExtension = hasExtension; -exports.hasOption = hasOption; -exports.getOption = getOption; -exports.createExtensionContainer = createExtensionContainer; -const create_js_1 = require("./create.js"); -const from_binary_js_1 = require("./from-binary.js"); -const reflect_js_1 = require("./reflect/reflect.js"); -const scalar_js_1 = require("./reflect/scalar.js"); -const to_binary_js_1 = require("./to-binary.js"); -const binary_encoding_js_1 = require("./wire/binary-encoding.js"); -const wrappers_js_1 = require("./wkt/wrappers.js"); -/** - * Retrieve an extension value from a message. - * - * The function never returns undefined. Use hasExtension() to check whether an - * extension is set. If the extension is not set, this function returns the - * default value (if one was specified in the protobuf source), or the zero value - * (for example `0` for numeric types, `[]` for repeated extension fields, and - * an empty message instance for message fields). - * - * Extensions are stored as unknown fields on a message. To mutate an extension - * value, make sure to store the new value with setExtension() after mutating. - * - * If the extension does not extend the given message, an error is raised. - */ -function getExtension(message, extension) { - assertExtendee(extension, message); - const ufs = filterUnknownFields(message.$unknown, extension); - const [container, field, get] = createExtensionContainer(extension); - for (const uf of ufs) { - (0, from_binary_js_1.readField)(container, new binary_encoding_js_1.BinaryReader(uf.data), field, uf.wireType, { - readUnknownFields: false, - }); - } - return get(); -} -/** - * Set an extension value on a message. If the message already has a value for - * this extension, the value is replaced. - * - * If the extension does not extend the given message, an error is raised. - */ -function setExtension(message, extension, value) { - var _a; - assertExtendee(extension, message); - const ufs = ((_a = message.$unknown) !== null && _a !== void 0 ? _a : []).filter((uf) => uf.no !== extension.number); - const [container, field] = createExtensionContainer(extension, value); - const writer = new binary_encoding_js_1.BinaryWriter(); - (0, to_binary_js_1.writeField)(writer, { writeUnknownFields: false }, container, field); - const reader = new binary_encoding_js_1.BinaryReader(writer.finish()); - while (reader.pos < reader.len) { - const [no, wireType] = reader.tag(); - const data = reader.skip(wireType, no); - ufs.push({ no, wireType, data }); - } - message.$unknown = ufs; -} -/** - * Remove an extension value from a message. - * - * If the extension does not extend the given message, an error is raised. - */ -function clearExtension(message, extension) { - assertExtendee(extension, message); - if (message.$unknown === undefined) { - return; - } - message.$unknown = message.$unknown.filter((uf) => uf.no !== extension.number); -} -/** - * Check whether an extension is set on a message. - */ -function hasExtension(message, extension) { - var _a; - return (extension.extendee.typeName === message.$typeName && - !!((_a = message.$unknown) === null || _a === void 0 ? void 0 : _a.find((uf) => uf.no === extension.number))); -} -/** - * Check whether an option is set on a descriptor. - * - * Options are extensions to the `google.protobuf.*Options` messages defined in - * google/protobuf/descriptor.proto. This function gets the option message from - * the descriptor, and calls hasExtension(). - */ -function hasOption(element, option) { - const message = element.proto.options; - if (!message) { - return false; - } - return hasExtension(message, option); -} -/** - * Retrieve an option value from a descriptor. - * - * Options are extensions to the `google.protobuf.*Options` messages defined in - * google/protobuf/descriptor.proto. This function gets the option message from - * the descriptor, and calls getExtension(). Same as getExtension(), this - * function never returns undefined. - */ -function getOption(element, option) { - const message = element.proto.options; - if (!message) { - const [, , get] = createExtensionContainer(option); - return get(); - } - return getExtension(message, option); -} -function filterUnknownFields(unknownFields, extension) { - if (unknownFields === undefined) - return []; - if (extension.fieldKind === "enum" || extension.fieldKind === "scalar") { - // singular scalar fields do not merge, we pick the last - for (let i = unknownFields.length - 1; i >= 0; --i) { - if (unknownFields[i].no == extension.number) { - return [unknownFields[i]]; - } - } - return []; - } - return unknownFields.filter((uf) => uf.no === extension.number); -} -/** - * @private - */ -function createExtensionContainer(extension, value) { - const localName = extension.typeName; - const field = Object.assign(Object.assign({}, extension), { kind: "field", parent: extension.extendee, localName }); - const desc = Object.assign(Object.assign({}, extension.extendee), { fields: [field], members: [field], oneofs: [] }); - const container = (0, create_js_1.create)(desc, value !== undefined ? { [localName]: value } : undefined); - return [ - (0, reflect_js_1.reflect)(desc, container), - field, - () => { - const value = container[localName]; - if (value === undefined) { - // Only message fields are undefined, rest will have a zero value. - const desc = extension.message; - if ((0, wrappers_js_1.isWrapperDesc)(desc)) { - return (0, scalar_js_1.scalarZeroValue)(desc.fields[0].scalar, desc.fields[0].longAsString); - } - return (0, create_js_1.create)(desc); - } - return value; - }, - ]; -} -function assertExtendee(extension, message) { - if (extension.extendee.typeName != message.$typeName) { - throw new Error(`extension ${extension.typeName} can only be applied to message ${extension.extendee.typeName}`); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/fields.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/fields.d.ts deleted file mode 100644 index a44a0c8..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/fields.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { MessageShape } from "./types.js"; -import type { DescField, DescMessage } from "./descriptors.js"; -/** - * Returns true if the field is set. - * - * - Scalar and enum fields with implicit presence (proto3): - * Set if not a zero value. - * - * - Scalar and enum fields with explicit presence (proto2, oneof): - * Set if a value was set when creating or parsing the message, or when a - * value was assigned to the field's property. - * - * - Message fields: - * Set if the property is not undefined. - * - * - List and map fields: - * Set if not empty. - */ -export declare function isFieldSet(message: MessageShape, field: DescField): boolean; -/** - * Resets the field, so that isFieldSet() will return false. - */ -export declare function clearField(message: MessageShape, field: DescField): void; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/fields.js b/node_modules/@bufbuild/protobuf/dist/cjs/fields.js deleted file mode 100644 index 6ea2c7a..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/fields.js +++ /dev/null @@ -1,45 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.isFieldSet = isFieldSet; -exports.clearField = clearField; -const unsafe_js_1 = require("./reflect/unsafe.js"); -/** - * Returns true if the field is set. - * - * - Scalar and enum fields with implicit presence (proto3): - * Set if not a zero value. - * - * - Scalar and enum fields with explicit presence (proto2, oneof): - * Set if a value was set when creating or parsing the message, or when a - * value was assigned to the field's property. - * - * - Message fields: - * Set if the property is not undefined. - * - * - List and map fields: - * Set if not empty. - */ -function isFieldSet(message, field) { - return (field.parent.typeName == message.$typeName && (0, unsafe_js_1.unsafeIsSet)(message, field)); -} -/** - * Resets the field, so that isFieldSet() will return false. - */ -function clearField(message, field) { - if (field.parent.typeName == message.$typeName) { - (0, unsafe_js_1.unsafeClear)(message, field); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.d.ts deleted file mode 100644 index b04a9d3..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { type DescField, type DescMessage } from "./descriptors.js"; -import type { MessageShape } from "./types.js"; -import type { ReflectMessage } from "./reflect/index.js"; -import { BinaryReader, WireType } from "./wire/binary-encoding.js"; -/** - * Options for parsing binary data. - */ -export interface BinaryReadOptions { - /** - * Retain unknown fields during parsing? The default behavior is to retain - * unknown fields and include them in the serialized output. - * - * For more details see https://developers.google.com/protocol-buffers/docs/proto3#unknowns - */ - readUnknownFields: boolean; -} -/** - * Parse serialized binary data. - */ -export declare function fromBinary(schema: Desc, bytes: Uint8Array, options?: Partial): MessageShape; -/** - * Parse from binary data, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -export declare function mergeFromBinary(schema: Desc, target: MessageShape, bytes: Uint8Array, options?: Partial): MessageShape; -/** - * @private - */ -export declare function readField(message: ReflectMessage, reader: BinaryReader, field: DescField, wireType: WireType, options: BinaryReadOptions): void; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.js b/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.js deleted file mode 100644 index bfa3884..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.js +++ /dev/null @@ -1,213 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fromBinary = fromBinary; -exports.mergeFromBinary = mergeFromBinary; -exports.readField = readField; -const descriptors_js_1 = require("./descriptors.js"); -const scalar_js_1 = require("./reflect/scalar.js"); -const reflect_js_1 = require("./reflect/reflect.js"); -const binary_encoding_js_1 = require("./wire/binary-encoding.js"); -// Default options for parsing binary data. -const readDefaults = { - readUnknownFields: true, -}; -function makeReadOptions(options) { - return options ? Object.assign(Object.assign({}, readDefaults), options) : readDefaults; -} -/** - * Parse serialized binary data. - */ -function fromBinary(schema, bytes, options) { - const msg = (0, reflect_js_1.reflect)(schema, undefined, false); - readMessage(msg, new binary_encoding_js_1.BinaryReader(bytes), makeReadOptions(options), false, bytes.byteLength); - return msg.message; -} -/** - * Parse from binary data, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -function mergeFromBinary(schema, target, bytes, options) { - readMessage((0, reflect_js_1.reflect)(schema, target, false), new binary_encoding_js_1.BinaryReader(bytes), makeReadOptions(options), false, bytes.byteLength); - return target; -} -/** - * If `delimited` is false, read the length given in `lengthOrDelimitedFieldNo`. - * - * If `delimited` is true, read until an EndGroup tag. `lengthOrDelimitedFieldNo` - * is the expected field number. - * - * @private - */ -function readMessage(message, reader, options, delimited, lengthOrDelimitedFieldNo) { - var _a; - const end = delimited ? reader.len : reader.pos + lengthOrDelimitedFieldNo; - let fieldNo, wireType; - const unknownFields = (_a = message.getUnknown()) !== null && _a !== void 0 ? _a : []; - while (reader.pos < end) { - [fieldNo, wireType] = reader.tag(); - if (delimited && wireType == binary_encoding_js_1.WireType.EndGroup) { - break; - } - const field = message.findNumber(fieldNo); - if (!field) { - const data = reader.skip(wireType, fieldNo); - if (options.readUnknownFields) { - unknownFields.push({ no: fieldNo, wireType, data }); - } - continue; - } - readField(message, reader, field, wireType, options); - } - if (delimited) { - if (wireType != binary_encoding_js_1.WireType.EndGroup || fieldNo !== lengthOrDelimitedFieldNo) { - throw new Error(`invalid end group tag`); - } - } - if (unknownFields.length > 0) { - message.setUnknown(unknownFields); - } -} -/** - * @private - */ -function readField(message, reader, field, wireType, options) { - switch (field.fieldKind) { - case "scalar": - message.set(field, readScalar(reader, field.scalar)); - break; - case "enum": - message.set(field, readScalar(reader, descriptors_js_1.ScalarType.INT32)); - break; - case "message": - message.set(field, readMessageField(reader, options, field, message.get(field))); - break; - case "list": - readListField(reader, wireType, message.get(field), options); - break; - case "map": - readMapEntry(reader, message.get(field), options); - break; - } -} -// Read a map field, expecting key field = 1, value field = 2 -function readMapEntry(reader, map, options) { - const field = map.field(); - let key, val; - const end = reader.pos + reader.uint32(); - while (reader.pos < end) { - const [fieldNo] = reader.tag(); - switch (fieldNo) { - case 1: - key = readScalar(reader, field.mapKey); - break; - case 2: - switch (field.mapKind) { - case "scalar": - val = readScalar(reader, field.scalar); - break; - case "enum": - val = reader.int32(); - break; - case "message": - val = readMessageField(reader, options, field); - break; - } - break; - } - } - if (key === undefined) { - key = (0, scalar_js_1.scalarZeroValue)(field.mapKey, false); - } - if (val === undefined) { - switch (field.mapKind) { - case "scalar": - val = (0, scalar_js_1.scalarZeroValue)(field.scalar, false); - break; - case "enum": - val = field.enum.values[0].number; - break; - case "message": - val = (0, reflect_js_1.reflect)(field.message, undefined, false); - break; - } - } - map.set(key, val); -} -function readListField(reader, wireType, list, options) { - var _a; - const field = list.field(); - if (field.listKind === "message") { - list.add(readMessageField(reader, options, field)); - return; - } - const scalarType = (_a = field.scalar) !== null && _a !== void 0 ? _a : descriptors_js_1.ScalarType.INT32; - const packed = wireType == binary_encoding_js_1.WireType.LengthDelimited && - scalarType != descriptors_js_1.ScalarType.STRING && - scalarType != descriptors_js_1.ScalarType.BYTES; - if (!packed) { - list.add(readScalar(reader, scalarType)); - return; - } - const e = reader.uint32() + reader.pos; - while (reader.pos < e) { - list.add(readScalar(reader, scalarType)); - } -} -function readMessageField(reader, options, field, mergeMessage) { - const delimited = field.delimitedEncoding; - const message = mergeMessage !== null && mergeMessage !== void 0 ? mergeMessage : (0, reflect_js_1.reflect)(field.message, undefined, false); - readMessage(message, reader, options, delimited, delimited ? field.number : reader.uint32()); - return message; -} -function readScalar(reader, type) { - switch (type) { - case descriptors_js_1.ScalarType.STRING: - return reader.string(); - case descriptors_js_1.ScalarType.BOOL: - return reader.bool(); - case descriptors_js_1.ScalarType.DOUBLE: - return reader.double(); - case descriptors_js_1.ScalarType.FLOAT: - return reader.float(); - case descriptors_js_1.ScalarType.INT32: - return reader.int32(); - case descriptors_js_1.ScalarType.INT64: - return reader.int64(); - case descriptors_js_1.ScalarType.UINT64: - return reader.uint64(); - case descriptors_js_1.ScalarType.FIXED64: - return reader.fixed64(); - case descriptors_js_1.ScalarType.BYTES: - return reader.bytes(); - case descriptors_js_1.ScalarType.FIXED32: - return reader.fixed32(); - case descriptors_js_1.ScalarType.SFIXED32: - return reader.sfixed32(); - case descriptors_js_1.ScalarType.SFIXED64: - return reader.sfixed64(); - case descriptors_js_1.ScalarType.SINT64: - return reader.sint64(); - case descriptors_js_1.ScalarType.UINT32: - return reader.uint32(); - case descriptors_js_1.ScalarType.SINT32: - return reader.sint32(); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/from-json.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/from-json.d.ts deleted file mode 100644 index 06f4d6c..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/from-json.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { type DescEnum, type DescMessage } from "./descriptors.js"; -import type { JsonValue } from "./json-value.js"; -import type { Registry } from "./registry.js"; -import type { EnumJsonType, EnumShape, MessageShape } from "./types.js"; -/** - * Options for parsing JSON data. - */ -export interface JsonReadOptions { - /** - * Ignore unknown fields: Proto3 JSON parser should reject unknown fields - * by default. This option ignores unknown fields in parsing, as well as - * unrecognized enum string representations. - */ - ignoreUnknownFields: boolean; - /** - * This option is required to read `google.protobuf.Any` and extensions - * from JSON format. - */ - registry?: Registry; -} -/** - * Parse a message from a JSON string. - */ -export declare function fromJsonString(schema: Desc, json: string, options?: Partial): MessageShape; -/** - * Parse a message from a JSON string, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -export declare function mergeFromJsonString(schema: Desc, target: MessageShape, json: string, options?: Partial): MessageShape; -/** - * Parse a message from a JSON value. - */ -export declare function fromJson(schema: Desc, json: JsonValue, options?: Partial): MessageShape; -/** - * Parse a message from a JSON value, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -export declare function mergeFromJson(schema: Desc, target: MessageShape, json: JsonValue, options?: Partial): MessageShape; -/** - * Parses an enum value from JSON. - */ -export declare function enumFromJson(descEnum: Desc, json: EnumJsonType): EnumShape; -/** - * Is the given value a JSON enum value? - */ -export declare function isEnumJson(descEnum: Desc, value: unknown): value is EnumJsonType; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/from-json.js b/node_modules/@bufbuild/protobuf/dist/cjs/from-json.js deleted file mode 100644 index 2d83151..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/from-json.js +++ /dev/null @@ -1,624 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fromJsonString = fromJsonString; -exports.mergeFromJsonString = mergeFromJsonString; -exports.fromJson = fromJson; -exports.mergeFromJson = mergeFromJson; -exports.enumFromJson = enumFromJson; -exports.isEnumJson = isEnumJson; -/* eslint-disable no-case-declarations,@typescript-eslint/restrict-template-expressions */ -const descriptors_js_1 = require("./descriptors.js"); -const proto_int64_js_1 = require("./proto-int64.js"); -const create_js_1 = require("./create.js"); -const reflect_js_1 = require("./reflect/reflect.js"); -const error_js_1 = require("./reflect/error.js"); -const reflect_check_js_1 = require("./reflect/reflect-check.js"); -const scalar_js_1 = require("./reflect/scalar.js"); -const base64_encoding_js_1 = require("./wire/base64-encoding.js"); -const index_js_1 = require("./wkt/index.js"); -const extensions_js_1 = require("./extensions.js"); -// Default options for parsing JSON. -const jsonReadDefaults = { - ignoreUnknownFields: false, -}; -function makeReadOptions(options) { - return options ? Object.assign(Object.assign({}, jsonReadDefaults), options) : jsonReadDefaults; -} -/** - * Parse a message from a JSON string. - */ -function fromJsonString(schema, json, options) { - return fromJson(schema, parseJsonString(json, schema.typeName), options); -} -/** - * Parse a message from a JSON string, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -function mergeFromJsonString(schema, target, json, options) { - return mergeFromJson(schema, target, parseJsonString(json, schema.typeName), options); -} -/** - * Parse a message from a JSON value. - */ -function fromJson(schema, json, options) { - const msg = (0, reflect_js_1.reflect)(schema); - try { - readMessage(msg, json, makeReadOptions(options)); - } - catch (e) { - if ((0, error_js_1.isFieldError)(e)) { - // @ts-expect-error we use the ES2022 error CTOR option "cause" for better stack traces - throw new Error(`cannot decode ${e.field()} from JSON: ${e.message}`, { - cause: e, - }); - } - throw e; - } - return msg.message; -} -/** - * Parse a message from a JSON value, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -function mergeFromJson(schema, target, json, options) { - try { - readMessage((0, reflect_js_1.reflect)(schema, target), json, makeReadOptions(options)); - } - catch (e) { - if ((0, error_js_1.isFieldError)(e)) { - // @ts-expect-error we use the ES2022 error CTOR option "cause" for better stack traces - throw new Error(`cannot decode ${e.field()} from JSON: ${e.message}`, { - cause: e, - }); - } - throw e; - } - return target; -} -/** - * Parses an enum value from JSON. - */ -function enumFromJson(descEnum, json) { - const val = readEnum(descEnum, json, false, false); - if (val === tokenIgnoredUnknownEnum) { - throw new Error(`cannot decode ${String(descEnum)} from JSON: ${(0, reflect_check_js_1.formatVal)(json)}`); - } - return val; -} -/** - * Is the given value a JSON enum value? - */ -function isEnumJson(descEnum, value) { - return undefined !== descEnum.values.find((v) => v.name === value); -} -function readMessage(msg, json, opts) { - var _a; - if (tryWktFromJson(msg, json, opts)) { - return; - } - if (json == null || Array.isArray(json) || typeof json != "object") { - throw new Error(`cannot decode ${msg.desc} from JSON: ${(0, reflect_check_js_1.formatVal)(json)}`); - } - const oneofSeen = new Map(); - const jsonNames = new Map(); - for (const field of msg.desc.fields) { - jsonNames.set(field.name, field).set(field.jsonName, field); - } - for (const [jsonKey, jsonValue] of Object.entries(json)) { - const field = jsonNames.get(jsonKey); - if (field) { - if (field.oneof) { - if (jsonValue === null && field.fieldKind == "scalar") { - // see conformance test Required.Proto3.JsonInput.OneofFieldNull{First,Second} - continue; - } - const seen = oneofSeen.get(field.oneof); - if (seen !== undefined) { - throw new error_js_1.FieldError(field.oneof, `oneof set multiple times by ${seen.name} and ${field.name}`); - } - oneofSeen.set(field.oneof, field); - } - readField(msg, field, jsonValue, opts); - } - else { - let extension = undefined; - if (jsonKey.startsWith("[") && - jsonKey.endsWith("]") && - (extension = (_a = opts.registry) === null || _a === void 0 ? void 0 : _a.getExtension(jsonKey.substring(1, jsonKey.length - 1))) && - extension.extendee.typeName === msg.desc.typeName) { - const [container, field, get] = (0, extensions_js_1.createExtensionContainer)(extension); - readField(container, field, jsonValue, opts); - (0, extensions_js_1.setExtension)(msg.message, extension, get()); - } - if (!extension && !opts.ignoreUnknownFields) { - throw new Error(`cannot decode ${msg.desc} from JSON: key "${jsonKey}" is unknown`); - } - } - } -} -function readField(msg, field, json, opts) { - switch (field.fieldKind) { - case "scalar": - readScalarField(msg, field, json); - break; - case "enum": - readEnumField(msg, field, json, opts); - break; - case "message": - readMessageField(msg, field, json, opts); - break; - case "list": - readListField(msg.get(field), json, opts); - break; - case "map": - readMapField(msg.get(field), json, opts); - break; - } -} -function readMapField(map, json, opts) { - if (json === null) { - return; - } - const field = map.field(); - if (typeof json != "object" || Array.isArray(json)) { - throw new error_js_1.FieldError(field, "expected object, got " + (0, reflect_check_js_1.formatVal)(json)); - } - for (const [jsonMapKey, jsonMapValue] of Object.entries(json)) { - if (jsonMapValue === null) { - throw new error_js_1.FieldError(field, "map value must not be null"); - } - let value; - switch (field.mapKind) { - case "message": - const msgValue = (0, reflect_js_1.reflect)(field.message); - readMessage(msgValue, jsonMapValue, opts); - value = msgValue; - break; - case "enum": - value = readEnum(field.enum, jsonMapValue, opts.ignoreUnknownFields, true); - if (value === tokenIgnoredUnknownEnum) { - return; - } - break; - case "scalar": - value = scalarFromJson(field, jsonMapValue, true); - break; - } - const key = mapKeyFromJson(field.mapKey, jsonMapKey); - map.set(key, value); - } -} -function readListField(list, json, opts) { - if (json === null) { - return; - } - const field = list.field(); - if (!Array.isArray(json)) { - throw new error_js_1.FieldError(field, "expected Array, got " + (0, reflect_check_js_1.formatVal)(json)); - } - for (const jsonItem of json) { - if (jsonItem === null) { - throw new error_js_1.FieldError(field, "list item must not be null"); - } - switch (field.listKind) { - case "message": - const msgValue = (0, reflect_js_1.reflect)(field.message); - readMessage(msgValue, jsonItem, opts); - list.add(msgValue); - break; - case "enum": - const enumValue = readEnum(field.enum, jsonItem, opts.ignoreUnknownFields, true); - if (enumValue !== tokenIgnoredUnknownEnum) { - list.add(enumValue); - } - break; - case "scalar": - list.add(scalarFromJson(field, jsonItem, true)); - break; - } - } -} -function readMessageField(msg, field, json, opts) { - if (json === null && field.message.typeName != "google.protobuf.Value") { - msg.clear(field); - return; - } - const msgValue = msg.isSet(field) ? msg.get(field) : (0, reflect_js_1.reflect)(field.message); - readMessage(msgValue, json, opts); - msg.set(field, msgValue); -} -function readEnumField(msg, field, json, opts) { - const enumValue = readEnum(field.enum, json, opts.ignoreUnknownFields, false); - if (enumValue === tokenNull) { - msg.clear(field); - } - else if (enumValue !== tokenIgnoredUnknownEnum) { - msg.set(field, enumValue); - } -} -function readScalarField(msg, field, json) { - const scalarValue = scalarFromJson(field, json, false); - if (scalarValue === tokenNull) { - msg.clear(field); - } - else { - msg.set(field, scalarValue); - } -} -const tokenIgnoredUnknownEnum = Symbol(); -function readEnum(desc, json, ignoreUnknownFields, nullAsZeroValue) { - if (json === null) { - if (desc.typeName == "google.protobuf.NullValue") { - return 0; // google.protobuf.NullValue.NULL_VALUE = 0 - } - return nullAsZeroValue ? desc.values[0].number : tokenNull; - } - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (typeof json) { - case "number": - if (Number.isInteger(json)) { - return json; - } - break; - case "string": - const value = desc.values.find((ev) => ev.name === json); - if (value !== undefined) { - return value.number; - } - if (ignoreUnknownFields) { - return tokenIgnoredUnknownEnum; - } - break; - } - throw new Error(`cannot decode ${desc} from JSON: ${(0, reflect_check_js_1.formatVal)(json)}`); -} -const tokenNull = Symbol(); -function scalarFromJson(field, json, nullAsZeroValue) { - if (json === null) { - if (nullAsZeroValue) { - return (0, scalar_js_1.scalarZeroValue)(field.scalar, false); - } - return tokenNull; - } - // int64, sfixed64, sint64, fixed64, uint64: Reflect supports string and number. - // string, bool: Supported by reflect. - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (field.scalar) { - // float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity". - // Either numbers or strings are accepted. Exponent notation is also accepted. - case descriptors_js_1.ScalarType.DOUBLE: - case descriptors_js_1.ScalarType.FLOAT: - if (json === "NaN") - return NaN; - if (json === "Infinity") - return Number.POSITIVE_INFINITY; - if (json === "-Infinity") - return Number.NEGATIVE_INFINITY; - if (typeof json == "number") { - if (isNaN(json)) { - // NaN must be encoded with string constants - throw new error_js_1.FieldError(field, "unexpected NaN number"); - } - if (!isFinite(json)) { - // Infinity must be encoded with string constants - throw new error_js_1.FieldError(field, "unexpected infinite number"); - } - break; - } - if (typeof json == "string") { - if (json === "") { - // empty string is not a number - break; - } - if (json.trim().length !== json.length) { - // extra whitespace - break; - } - const float = Number(json); - if (!isFinite(float)) { - // Infinity and NaN must be encoded with string constants - break; - } - return float; - } - break; - // int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted. - case descriptors_js_1.ScalarType.INT32: - case descriptors_js_1.ScalarType.FIXED32: - case descriptors_js_1.ScalarType.SFIXED32: - case descriptors_js_1.ScalarType.SINT32: - case descriptors_js_1.ScalarType.UINT32: - return int32FromJson(json); - // bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings. - // Either standard or URL-safe base64 encoding with/without paddings are accepted. - case descriptors_js_1.ScalarType.BYTES: - if (typeof json == "string") { - if (json === "") { - return new Uint8Array(0); - } - try { - return (0, base64_encoding_js_1.base64Decode)(json); - } - catch (e) { - const message = e instanceof Error ? e.message : String(e); - throw new error_js_1.FieldError(field, message); - } - } - break; - } - return json; -} -/** - * Try to parse a JSON value to a map key for the reflect API. - * - * Returns the input if the JSON value cannot be converted. - */ -function mapKeyFromJson(type, json) { - switch (type) { - case descriptors_js_1.ScalarType.BOOL: - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (json) { - case "true": - return true; - case "false": - return false; - } - return json; - case descriptors_js_1.ScalarType.INT32: - case descriptors_js_1.ScalarType.FIXED32: - case descriptors_js_1.ScalarType.UINT32: - case descriptors_js_1.ScalarType.SFIXED32: - case descriptors_js_1.ScalarType.SINT32: - return int32FromJson(json); - default: - return json; - } -} -/** - * Try to parse a JSON value to a 32-bit integer for the reflect API. - * - * Returns the input if the JSON value cannot be converted. - */ -function int32FromJson(json) { - if (typeof json == "string") { - if (json === "") { - // empty string is not a number - return json; - } - if (json.trim().length !== json.length) { - // extra whitespace - return json; - } - const num = Number(json); - if (Number.isNaN(num)) { - // not a number - return json; - } - return num; - } - return json; -} -function parseJsonString(jsonString, typeName) { - try { - return JSON.parse(jsonString); - } - catch (e) { - const message = e instanceof Error ? e.message : String(e); - throw new Error(`cannot decode message ${typeName} from JSON: ${message}`, - // @ts-expect-error we use the ES2022 error CTOR option "cause" for better stack traces - { cause: e }); - } -} -function tryWktFromJson(msg, jsonValue, opts) { - if (!msg.desc.typeName.startsWith("google.protobuf.")) { - return false; - } - switch (msg.desc.typeName) { - case "google.protobuf.Any": - anyFromJson(msg.message, jsonValue, opts); - return true; - case "google.protobuf.Timestamp": - timestampFromJson(msg.message, jsonValue); - return true; - case "google.protobuf.Duration": - durationFromJson(msg.message, jsonValue); - return true; - case "google.protobuf.FieldMask": - fieldMaskFromJson(msg.message, jsonValue); - return true; - case "google.protobuf.Struct": - structFromJson(msg.message, jsonValue); - return true; - case "google.protobuf.Value": - valueFromJson(msg.message, jsonValue); - return true; - case "google.protobuf.ListValue": - listValueFromJson(msg.message, jsonValue); - return true; - default: - if ((0, index_js_1.isWrapperDesc)(msg.desc)) { - const valueField = msg.desc.fields[0]; - if (jsonValue === null) { - msg.clear(valueField); - } - else { - msg.set(valueField, scalarFromJson(valueField, jsonValue, true)); - } - return true; - } - return false; - } -} -function anyFromJson(any, json, opts) { - var _a; - if (json === null || Array.isArray(json) || typeof json != "object") { - throw new Error(`cannot decode message ${any.$typeName} from JSON: expected object but got ${(0, reflect_check_js_1.formatVal)(json)}`); - } - if (Object.keys(json).length == 0) { - return; - } - const typeUrl = json["@type"]; - if (typeof typeUrl != "string" || typeUrl == "") { - throw new Error(`cannot decode message ${any.$typeName} from JSON: "@type" is empty`); - } - const typeName = typeUrl.includes("/") - ? typeUrl.substring(typeUrl.lastIndexOf("/") + 1) - : typeUrl; - if (!typeName.length) { - throw new Error(`cannot decode message ${any.$typeName} from JSON: "@type" is invalid`); - } - const desc = (_a = opts.registry) === null || _a === void 0 ? void 0 : _a.getMessage(typeName); - if (!desc) { - throw new Error(`cannot decode message ${any.$typeName} from JSON: ${typeUrl} is not in the type registry`); - } - const msg = (0, reflect_js_1.reflect)(desc); - if (typeName.startsWith("google.protobuf.") && - Object.prototype.hasOwnProperty.call(json, "value")) { - const value = json["value"]; - readMessage(msg, value, opts); - } - else { - const copy = Object.assign({}, json); - delete copy["@type"]; - readMessage(msg, copy, opts); - } - (0, index_js_1.anyPack)(msg.desc, msg.message, any); -} -function timestampFromJson(timestamp, json) { - if (typeof json !== "string") { - throw new Error(`cannot decode message ${timestamp.$typeName} from JSON: ${(0, reflect_check_js_1.formatVal)(json)}`); - } - const matches = json.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/); - if (!matches) { - throw new Error(`cannot decode message ${timestamp.$typeName} from JSON: invalid RFC 3339 string`); - } - const ms = Date.parse( - //prettier-ignore - matches[1] + "-" + matches[2] + "-" + matches[3] + "T" + matches[4] + ":" + matches[5] + ":" + matches[6] + (matches[8] ? matches[8] : "Z")); - if (Number.isNaN(ms)) { - throw new Error(`cannot decode message ${timestamp.$typeName} from JSON: invalid RFC 3339 string`); - } - if (ms < Date.parse("0001-01-01T00:00:00Z") || - ms > Date.parse("9999-12-31T23:59:59Z")) { - throw new Error(`cannot decode message ${timestamp.$typeName} from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`); - } - timestamp.seconds = proto_int64_js_1.protoInt64.parse(ms / 1000); - timestamp.nanos = 0; - if (matches[7]) { - timestamp.nanos = - parseInt("1" + matches[7] + "0".repeat(9 - matches[7].length)) - - 1000000000; - } -} -function durationFromJson(duration, json) { - if (typeof json !== "string") { - throw new Error(`cannot decode message ${duration.$typeName} from JSON: ${(0, reflect_check_js_1.formatVal)(json)}`); - } - const match = json.match(/^(-?[0-9]+)(?:\.([0-9]+))?s/); - if (match === null) { - throw new Error(`cannot decode message ${duration.$typeName} from JSON: ${(0, reflect_check_js_1.formatVal)(json)}`); - } - const longSeconds = Number(match[1]); - if (longSeconds > 315576000000 || longSeconds < -315576000000) { - throw new Error(`cannot decode message ${duration.$typeName} from JSON: ${(0, reflect_check_js_1.formatVal)(json)}`); - } - duration.seconds = proto_int64_js_1.protoInt64.parse(longSeconds); - if (typeof match[2] !== "string") { - return; - } - const nanosStr = match[2] + "0".repeat(9 - match[2].length); - duration.nanos = parseInt(nanosStr); - if (longSeconds < 0 || Object.is(longSeconds, -0)) { - duration.nanos = -duration.nanos; - } -} -function fieldMaskFromJson(fieldMask, json) { - if (typeof json !== "string") { - throw new Error(`cannot decode message ${fieldMask.$typeName} from JSON: ${(0, reflect_check_js_1.formatVal)(json)}`); - } - if (json === "") { - return; - } - function camelToSnake(str) { - if (str.includes("_")) { - throw new Error(`cannot decode message ${fieldMask.$typeName} from JSON: path names must be lowerCamelCase`); - } - const sc = str.replace(/[A-Z]/g, (letter) => "_" + letter.toLowerCase()); - return sc[0] === "_" ? sc.substring(1) : sc; - } - fieldMask.paths = json.split(",").map(camelToSnake); -} -function structFromJson(struct, json) { - if (typeof json != "object" || json == null || Array.isArray(json)) { - throw new Error(`cannot decode message ${struct.$typeName} from JSON ${(0, reflect_check_js_1.formatVal)(json)}`); - } - for (const [k, v] of Object.entries(json)) { - const parsedV = (0, create_js_1.create)(index_js_1.ValueSchema); - valueFromJson(parsedV, v); - struct.fields[k] = parsedV; - } -} -function valueFromJson(value, json) { - switch (typeof json) { - case "number": - value.kind = { case: "numberValue", value: json }; - break; - case "string": - value.kind = { case: "stringValue", value: json }; - break; - case "boolean": - value.kind = { case: "boolValue", value: json }; - break; - case "object": - if (json === null) { - value.kind = { case: "nullValue", value: index_js_1.NullValue.NULL_VALUE }; - } - else if (Array.isArray(json)) { - const listValue = (0, create_js_1.create)(index_js_1.ListValueSchema); - listValueFromJson(listValue, json); - value.kind = { case: "listValue", value: listValue }; - } - else { - const struct = (0, create_js_1.create)(index_js_1.StructSchema); - structFromJson(struct, json); - value.kind = { case: "structValue", value: struct }; - } - break; - default: - throw new Error(`cannot decode message ${value.$typeName} from JSON ${(0, reflect_check_js_1.formatVal)(json)}`); - } - return value; -} -function listValueFromJson(listValue, json) { - if (!Array.isArray(json)) { - throw new Error(`cannot decode message ${listValue.$typeName} from JSON ${(0, reflect_check_js_1.formatVal)(json)}`); - } - for (const e of json) { - const value = (0, create_js_1.create)(index_js_1.ValueSchema); - valueFromJson(value, e); - listValue.values.push(value); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts deleted file mode 100644 index 2206b71..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export * from "./types.js"; -export * from "./is-message.js"; -export * from "./create.js"; -export * from "./clone.js"; -export * from "./descriptors.js"; -export * from "./equals.js"; -export * from "./fields.js"; -export * from "./registry.js"; -export type { JsonValue, JsonObject } from "./json-value.js"; -export { toBinary } from "./to-binary.js"; -export type { BinaryWriteOptions } from "./to-binary.js"; -export { fromBinary, mergeFromBinary } from "./from-binary.js"; -export type { BinaryReadOptions } from "./from-binary.js"; -export * from "./to-json.js"; -export * from "./from-json.js"; -export { hasExtension, getExtension, setExtension, clearExtension, hasOption, getOption, } from "./extensions.js"; -export * from "./proto-int64.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/index.js b/node_modules/@bufbuild/protobuf/dist/cjs/index.js deleted file mode 100644 index c023506..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/index.js +++ /dev/null @@ -1,53 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getOption = exports.hasOption = exports.clearExtension = exports.setExtension = exports.getExtension = exports.hasExtension = exports.mergeFromBinary = exports.fromBinary = exports.toBinary = void 0; -__exportStar(require("./types.js"), exports); -__exportStar(require("./is-message.js"), exports); -__exportStar(require("./create.js"), exports); -__exportStar(require("./clone.js"), exports); -__exportStar(require("./descriptors.js"), exports); -__exportStar(require("./equals.js"), exports); -__exportStar(require("./fields.js"), exports); -__exportStar(require("./registry.js"), exports); -var to_binary_js_1 = require("./to-binary.js"); -Object.defineProperty(exports, "toBinary", { enumerable: true, get: function () { return to_binary_js_1.toBinary; } }); -var from_binary_js_1 = require("./from-binary.js"); -Object.defineProperty(exports, "fromBinary", { enumerable: true, get: function () { return from_binary_js_1.fromBinary; } }); -Object.defineProperty(exports, "mergeFromBinary", { enumerable: true, get: function () { return from_binary_js_1.mergeFromBinary; } }); -__exportStar(require("./to-json.js"), exports); -__exportStar(require("./from-json.js"), exports); -var extensions_js_1 = require("./extensions.js"); -Object.defineProperty(exports, "hasExtension", { enumerable: true, get: function () { return extensions_js_1.hasExtension; } }); -Object.defineProperty(exports, "getExtension", { enumerable: true, get: function () { return extensions_js_1.getExtension; } }); -Object.defineProperty(exports, "setExtension", { enumerable: true, get: function () { return extensions_js_1.setExtension; } }); -Object.defineProperty(exports, "clearExtension", { enumerable: true, get: function () { return extensions_js_1.clearExtension; } }); -Object.defineProperty(exports, "hasOption", { enumerable: true, get: function () { return extensions_js_1.hasOption; } }); -Object.defineProperty(exports, "getOption", { enumerable: true, get: function () { return extensions_js_1.getOption; } }); -__exportStar(require("./proto-int64.js"), exports); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts deleted file mode 100644 index 085782d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { MessageShape } from "./types.js"; -import type { DescMessage } from "./descriptors.js"; -/** - * Determine whether the given `arg` is a message. - * If `desc` is set, determine whether `arg` is this specific message. - */ -export declare function isMessage(arg: unknown, schema?: Desc): arg is MessageShape; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js b/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js deleted file mode 100644 index a4c29e6..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js +++ /dev/null @@ -1,33 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.isMessage = isMessage; -/** - * Determine whether the given `arg` is a message. - * If `desc` is set, determine whether `arg` is this specific message. - */ -function isMessage(arg, schema) { - const isMessage = arg !== null && - typeof arg == "object" && - "$typeName" in arg && - typeof arg.$typeName == "string"; - if (!isMessage) { - return false; - } - if (schema === undefined) { - return true; - } - return schema.typeName === arg.$typeName; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/json-value.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/json-value.d.ts deleted file mode 100644 index 3857eb8..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/json-value.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Represents any possible JSON value: - * - number - * - string - * - boolean - * - null - * - object (with any JSON value as property) - * - array (with any JSON value as element) - */ -export type JsonValue = number | string | boolean | null | JsonObject | JsonValue[]; -/** - * Represents a JSON object. - */ -export type JsonObject = { - [k: string]: JsonValue; -}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/json-value.js b/node_modules/@bufbuild/protobuf/dist/cjs/json-value.js deleted file mode 100644 index d03a43b..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/json-value.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/package.json b/node_modules/@bufbuild/protobuf/dist/cjs/package.json deleted file mode 100644 index 729ac4d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/package.json +++ /dev/null @@ -1 +0,0 @@ -{"type":"commonjs"} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts deleted file mode 100644 index 3eaf231..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -/** - * Int64Support for the current environment. - */ -export declare const protoInt64: Int64Support; -/** - * We use the `bigint` primitive to represent 64-bit integral types. If bigint - * is unavailable, we fall back to a string representation, which means that - * all values typed as `bigint` will actually be strings. - * - * If your code is intended to run in an environment where bigint may be - * unavailable, it must handle both the bigint and the string representation. - * For presenting values, this is straight-forward with implicit or explicit - * conversion to string: - * - * ```ts - * let el = document.createElement("span"); - * el.innerText = message.int64Field; // assuming a protobuf int64 field - * - * console.log(`int64: ${message.int64Field}`); - * - * let str: string = message.int64Field.toString(); - * ``` - * - * If you need to manipulate 64-bit integral values and are sure the values - * can be safely represented as an IEEE-754 double precision number, you can - * convert to a JavaScript Number: - * - * ```ts - * console.log(message.int64Field.toString()) - * let num = Number(message.int64Field); - * num = num + 1; - * message.int64Field = protoInt64.parse(num); - * ``` - * - * If you need to manipulate 64-bit integral values that are outside the - * range of safe representation as a JavaScript Number, we recommend you - * use a third party library, for example the npm package "long": - * - * ```ts - * // convert the field value to a Long - * const bits = protoInt64.enc(message.int64Field); - * const longValue = Long.fromBits(bits.lo, bits.hi); - * - * // perform arithmetic - * const longResult = longValue.subtract(1); - * - * // set the result in the field - * message.int64Field = protoInt64.dec(longResult.low, longResult.high); - * - * // Assuming int64Field contains 9223372036854775807: - * console.log(message.int64Field); // 9223372036854775806 - * ``` - */ -interface Int64Support { - /** - * 0n if bigint is available, "0" if unavailable. - */ - readonly zero: bigint; - /** - * Is bigint available? - */ - readonly supported: boolean; - /** - * Parse a signed 64-bit integer. - * Returns a bigint if available, a string otherwise. - */ - parse(value: string | number | bigint): bigint; - /** - * Parse an unsigned 64-bit integer. - * Returns a bigint if available, a string otherwise. - */ - uParse(value: string | number | bigint): bigint; - /** - * Convert a signed 64-bit integral value to a two's complement. - */ - enc(value: string | number | bigint): { - lo: number; - hi: number; - }; - /** - * Convert an unsigned 64-bit integral value to a two's complement. - */ - uEnc(value: string | number | bigint): { - lo: number; - hi: number; - }; - /** - * Convert a two's complement to a signed 64-bit integral value. - * Returns a bigint if available, a string otherwise. - */ - dec(lo: number, hi: number): bigint; - /** - * Convert a two's complement to an unsigned 64-bit integral value. - * Returns a bigint if available, a string otherwise. - */ - uDec(lo: number, hi: number): bigint; -} -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js b/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js deleted file mode 100644 index e67c6aa..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js +++ /dev/null @@ -1,126 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.protoInt64 = void 0; -const varint_js_1 = require("./wire/varint.js"); -/** - * Int64Support for the current environment. - */ -exports.protoInt64 = makeInt64Support(); -function makeInt64Support() { - const dv = new DataView(new ArrayBuffer(8)); - // note that Safari 14 implements BigInt, but not the DataView methods - const ok = typeof BigInt === "function" && - typeof dv.getBigInt64 === "function" && - typeof dv.getBigUint64 === "function" && - typeof dv.setBigInt64 === "function" && - typeof dv.setBigUint64 === "function" && - (typeof process != "object" || - typeof process.env != "object" || - process.env.BUF_BIGINT_DISABLE !== "1"); - if (ok) { - const MIN = BigInt("-9223372036854775808"), MAX = BigInt("9223372036854775807"), UMIN = BigInt("0"), UMAX = BigInt("18446744073709551615"); - return { - zero: BigInt(0), - supported: true, - parse(value) { - const bi = typeof value == "bigint" ? value : BigInt(value); - if (bi > MAX || bi < MIN) { - throw new Error(`invalid int64: ${value}`); - } - return bi; - }, - uParse(value) { - const bi = typeof value == "bigint" ? value : BigInt(value); - if (bi > UMAX || bi < UMIN) { - throw new Error(`invalid uint64: ${value}`); - } - return bi; - }, - enc(value) { - dv.setBigInt64(0, this.parse(value), true); - return { - lo: dv.getInt32(0, true), - hi: dv.getInt32(4, true), - }; - }, - uEnc(value) { - dv.setBigInt64(0, this.uParse(value), true); - return { - lo: dv.getInt32(0, true), - hi: dv.getInt32(4, true), - }; - }, - dec(lo, hi) { - dv.setInt32(0, lo, true); - dv.setInt32(4, hi, true); - return dv.getBigInt64(0, true); - }, - uDec(lo, hi) { - dv.setInt32(0, lo, true); - dv.setInt32(4, hi, true); - return dv.getBigUint64(0, true); - }, - }; - } - return { - zero: "0", - supported: false, - parse(value) { - if (typeof value != "string") { - value = value.toString(); - } - assertInt64String(value); - return value; - }, - uParse(value) { - if (typeof value != "string") { - value = value.toString(); - } - assertUInt64String(value); - return value; - }, - enc(value) { - if (typeof value != "string") { - value = value.toString(); - } - assertInt64String(value); - return (0, varint_js_1.int64FromString)(value); - }, - uEnc(value) { - if (typeof value != "string") { - value = value.toString(); - } - assertUInt64String(value); - return (0, varint_js_1.int64FromString)(value); - }, - dec(lo, hi) { - return (0, varint_js_1.int64ToString)(lo, hi); - }, - uDec(lo, hi) { - return (0, varint_js_1.uInt64ToString)(lo, hi); - }, - }; -} -function assertInt64String(value) { - if (!/^-?[0-9]+$/.test(value)) { - throw new Error("invalid int64: " + value); - } -} -function assertUInt64String(value) { - if (!/^[0-9]+$/.test(value)) { - throw new Error("invalid uint64: " + value); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.d.ts deleted file mode 100644 index c6bf1db..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { DescField, DescOneof } from "../descriptors.js"; -declare const errorNames: string[]; -export declare class FieldError extends Error { - readonly name: (typeof errorNames)[number]; - constructor(fieldOrOneof: DescField | DescOneof, message: string, name?: (typeof errorNames)[number]); - readonly field: () => DescField | DescOneof; -} -export declare function isFieldError(arg: unknown): arg is FieldError; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.js b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.js deleted file mode 100644 index a07141c..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.FieldError = void 0; -exports.isFieldError = isFieldError; -const errorNames = [ - "FieldValueInvalidError", - "FieldListRangeError", - "ForeignFieldError", -]; -class FieldError extends Error { - constructor(fieldOrOneof, message, name = "FieldValueInvalidError") { - super(message); - this.name = name; - this.field = () => fieldOrOneof; - } -} -exports.FieldError = FieldError; -function isFieldError(arg) { - return (arg instanceof Error && - errorNames.includes(arg.name) && - "field" in arg && - typeof arg.field == "function"); -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.d.ts deleted file mode 100644 index c53aeb2..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import type { Message } from "../types.js"; -import type { ScalarValue } from "./scalar.js"; -import type { ReflectList, ReflectMap, ReflectMessage } from "./reflect-types.js"; -import type { DescField, DescMessage } from "../descriptors.js"; -export declare function isObject(arg: unknown): arg is Record; -export declare function isOneofADT(arg: unknown): arg is OneofADT; -export type OneofADT = { - case: undefined; - value?: undefined; -} | { - case: string; - value: Message | ScalarValue; -}; -export declare function isReflectList(arg: unknown, field?: DescField & { - fieldKind: "list"; -}): arg is ReflectList; -export declare function isReflectMap(arg: unknown, field?: DescField & { - fieldKind: "map"; -}): arg is ReflectMap; -export declare function isReflectMessage(arg: unknown, messageDesc?: DescMessage): arg is ReflectMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.js b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.js deleted file mode 100644 index 78901a0..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.js +++ /dev/null @@ -1,77 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.isObject = isObject; -exports.isOneofADT = isOneofADT; -exports.isReflectList = isReflectList; -exports.isReflectMap = isReflectMap; -exports.isReflectMessage = isReflectMessage; -const unsafe_js_1 = require("./unsafe.js"); -function isObject(arg) { - return arg !== null && typeof arg == "object" && !Array.isArray(arg); -} -function isOneofADT(arg) { - return (arg !== null && - typeof arg == "object" && - "case" in arg && - ((typeof arg.case == "string" && "value" in arg && arg.value != null) || - (arg.case === undefined && - (!("value" in arg) || arg.value === undefined)))); -} -function isReflectList(arg, field) { - var _a, _b, _c, _d; - if (isObject(arg) && - unsafe_js_1.unsafeLocal in arg && - "add" in arg && - "field" in arg && - typeof arg.field == "function") { - if (field !== undefined) { - const a = field, b = arg.field(); - return (a.listKind == b.listKind && - a.scalar === b.scalar && - ((_a = a.message) === null || _a === void 0 ? void 0 : _a.typeName) === ((_b = b.message) === null || _b === void 0 ? void 0 : _b.typeName) && - ((_c = a.enum) === null || _c === void 0 ? void 0 : _c.typeName) === ((_d = b.enum) === null || _d === void 0 ? void 0 : _d.typeName)); - } - return true; - } - return false; -} -function isReflectMap(arg, field) { - var _a, _b, _c, _d; - if (isObject(arg) && - unsafe_js_1.unsafeLocal in arg && - "has" in arg && - "field" in arg && - typeof arg.field == "function") { - if (field !== undefined) { - const a = field, b = arg.field(); - return (a.mapKey === b.mapKey && - a.mapKind == b.mapKind && - a.scalar === b.scalar && - ((_a = a.message) === null || _a === void 0 ? void 0 : _a.typeName) === ((_b = b.message) === null || _b === void 0 ? void 0 : _b.typeName) && - ((_c = a.enum) === null || _c === void 0 ? void 0 : _c.typeName) === ((_d = b.enum) === null || _d === void 0 ? void 0 : _d.typeName)); - } - return true; - } - return false; -} -function isReflectMessage(arg, messageDesc) { - return (isObject(arg) && - unsafe_js_1.unsafeLocal in arg && - "desc" in arg && - isObject(arg.desc) && - arg.desc.kind === "message" && - (messageDesc === undefined || arg.desc.typeName == messageDesc.typeName)); -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.d.ts deleted file mode 100644 index 7e104ad..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from "./error.js"; -export * from "./names.js"; -export * from "./nested-types.js"; -export * from "./reflect.js"; -export * from "./reflect-types.js"; -export * from "./scalar.js"; -export { isReflectList, isReflectMap, isReflectMessage } from "./guard.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.js b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.js deleted file mode 100644 index 092c136..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.isReflectMessage = exports.isReflectMap = exports.isReflectList = void 0; -__exportStar(require("./error.js"), exports); -__exportStar(require("./names.js"), exports); -__exportStar(require("./nested-types.js"), exports); -__exportStar(require("./reflect.js"), exports); -__exportStar(require("./reflect-types.js"), exports); -__exportStar(require("./scalar.js"), exports); -var guard_js_1 = require("./guard.js"); -Object.defineProperty(exports, "isReflectList", { enumerable: true, get: function () { return guard_js_1.isReflectList; } }); -Object.defineProperty(exports, "isReflectMap", { enumerable: true, get: function () { return guard_js_1.isReflectMap; } }); -Object.defineProperty(exports, "isReflectMessage", { enumerable: true, get: function () { return guard_js_1.isReflectMessage; } }); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.d.ts deleted file mode 100644 index 7b075d9..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Converts snake_case to protoCamelCase according to the convention - * used by protoc to convert a field name to a JSON name. - */ -export declare function protoCamelCase(snakeCase: string): string; -/** - * Escapes names that are reserved for ECMAScript built-in object properties. - * - * Also see safeIdentifier() from @bufbuild/protoplugin. - */ -export declare function safeObjectProperty(name: string): string; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.js b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.js deleted file mode 100644 index 0d11df0..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.js +++ /dev/null @@ -1,73 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.protoCamelCase = protoCamelCase; -exports.safeObjectProperty = safeObjectProperty; -/** - * Converts snake_case to protoCamelCase according to the convention - * used by protoc to convert a field name to a JSON name. - */ -function protoCamelCase(snakeCase) { - let capNext = false; - const b = []; - for (let i = 0; i < snakeCase.length; i++) { - let c = snakeCase.charAt(i); - switch (c) { - case "_": - capNext = true; - break; - case "0": - case "1": - case "2": - case "3": - case "4": - case "5": - case "6": - case "7": - case "8": - case "9": - b.push(c); - capNext = false; - break; - default: - if (capNext) { - capNext = false; - c = c.toUpperCase(); - } - b.push(c); - break; - } - } - return b.join(""); -} -/** - * Names that cannot be used for object properties because they are reserved - * by built-in JavaScript properties. - */ -const reservedObjectProperties = new Set([ - // names reserved by JavaScript - "constructor", - "toString", - "toJSON", - "valueOf", -]); -/** - * Escapes names that are reserved for ECMAScript built-in object properties. - * - * Also see safeIdentifier() from @bufbuild/protoplugin. - */ -function safeObjectProperty(name) { - return reservedObjectProperties.has(name) ? name + "$" : name; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.d.ts deleted file mode 100644 index d5e234e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { AnyDesc, DescEnum, DescExtension, DescFile, DescMessage, DescService } from "../descriptors.js"; -/** - * Iterate over all types - enumerations, extensions, services, messages - - * and enumerations, extensions and messages nested in messages. - */ -export declare function nestedTypes(desc: DescFile | DescMessage): Iterable; -/** - * Returns the ancestors of a given Protobuf element, up to the file. - */ -export declare function parentTypes(desc: AnyDesc): Parent[]; -type Parent = DescFile | DescEnum | DescMessage | DescService; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.js b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.js deleted file mode 100644 index 991c407..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.js +++ /dev/null @@ -1,70 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.nestedTypes = nestedTypes; -exports.parentTypes = parentTypes; -/** - * Iterate over all types - enumerations, extensions, services, messages - - * and enumerations, extensions and messages nested in messages. - */ -function* nestedTypes(desc) { - switch (desc.kind) { - case "file": - for (const message of desc.messages) { - yield message; - yield* nestedTypes(message); - } - yield* desc.enums; - yield* desc.services; - yield* desc.extensions; - break; - case "message": - for (const message of desc.nestedMessages) { - yield message; - yield* nestedTypes(message); - } - yield* desc.nestedEnums; - yield* desc.nestedExtensions; - break; - } -} -/** - * Returns the ancestors of a given Protobuf element, up to the file. - */ -function parentTypes(desc) { - const parents = []; - while (desc.kind !== "file") { - const p = parent(desc); - desc = p; - parents.push(p); - } - return parents; -} -function parent(desc) { - var _a; - switch (desc.kind) { - case "enum_value": - case "field": - case "oneof": - case "rpc": - return desc.parent; - case "service": - return desc.file; - case "extension": - case "enum": - case "message": - return (_a = desc.parent) !== null && _a !== void 0 ? _a : desc.file; - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.d.ts deleted file mode 100644 index 63f27b9..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { type DescField } from "../descriptors.js"; -import { FieldError } from "./error.js"; -/** - * Check whether the given field value is valid for the reflect API. - */ -export declare function checkField(field: DescField, value: unknown): FieldError | undefined; -/** - * Check whether the given list item is valid for the reflect API. - */ -export declare function checkListItem(field: DescField & { - fieldKind: "list"; -}, index: number, value: unknown): FieldError | undefined; -/** - * Check whether the given map key and value are valid for the reflect API. - */ -export declare function checkMapEntry(field: DescField & { - fieldKind: "map"; -}, key: unknown, value: unknown): FieldError | undefined; -export declare function formatVal(val: unknown): string; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.js b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.js deleted file mode 100644 index 602c911..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.js +++ /dev/null @@ -1,266 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.checkField = checkField; -exports.checkListItem = checkListItem; -exports.checkMapEntry = checkMapEntry; -exports.formatVal = formatVal; -const descriptors_js_1 = require("../descriptors.js"); -const is_message_js_1 = require("../is-message.js"); -const error_js_1 = require("./error.js"); -const guard_js_1 = require("./guard.js"); -const binary_encoding_js_1 = require("../wire/binary-encoding.js"); -const text_encoding_js_1 = require("../wire/text-encoding.js"); -const proto_int64_js_1 = require("../proto-int64.js"); -/** - * Check whether the given field value is valid for the reflect API. - */ -function checkField(field, value) { - const check = field.fieldKind == "list" - ? (0, guard_js_1.isReflectList)(value, field) - : field.fieldKind == "map" - ? (0, guard_js_1.isReflectMap)(value, field) - : checkSingular(field, value); - if (check === true) { - return undefined; - } - let reason; - switch (field.fieldKind) { - case "list": - reason = `expected ${formatReflectList(field)}, got ${formatVal(value)}`; - break; - case "map": - reason = `expected ${formatReflectMap(field)}, got ${formatVal(value)}`; - break; - default: { - reason = reasonSingular(field, value, check); - } - } - return new error_js_1.FieldError(field, reason); -} -/** - * Check whether the given list item is valid for the reflect API. - */ -function checkListItem(field, index, value) { - const check = checkSingular(field, value); - if (check !== true) { - return new error_js_1.FieldError(field, `list item #${index + 1}: ${reasonSingular(field, value, check)}`); - } - return undefined; -} -/** - * Check whether the given map key and value are valid for the reflect API. - */ -function checkMapEntry(field, key, value) { - const checkKey = checkScalarValue(key, field.mapKey); - if (checkKey !== true) { - return new error_js_1.FieldError(field, `invalid map key: ${reasonSingular({ scalar: field.mapKey }, key, checkKey)}`); - } - const checkVal = checkSingular(field, value); - if (checkVal !== true) { - return new error_js_1.FieldError(field, `map entry ${formatVal(key)}: ${reasonSingular(field, value, checkVal)}`); - } - return undefined; -} -function checkSingular(field, value) { - if (field.scalar !== undefined) { - return checkScalarValue(value, field.scalar); - } - if (field.enum !== undefined) { - if (field.enum.open) { - return Number.isInteger(value); - } - return field.enum.values.some((v) => v.number === value); - } - return (0, guard_js_1.isReflectMessage)(value, field.message); -} -function checkScalarValue(value, scalar) { - switch (scalar) { - case descriptors_js_1.ScalarType.DOUBLE: - return typeof value == "number"; - case descriptors_js_1.ScalarType.FLOAT: - if (typeof value != "number") { - return false; - } - if (Number.isNaN(value) || !Number.isFinite(value)) { - return true; - } - if (value > binary_encoding_js_1.FLOAT32_MAX || value < binary_encoding_js_1.FLOAT32_MIN) { - return `${value.toFixed()} out of range`; - } - return true; - case descriptors_js_1.ScalarType.INT32: - case descriptors_js_1.ScalarType.SFIXED32: - case descriptors_js_1.ScalarType.SINT32: - // signed - if (typeof value !== "number" || !Number.isInteger(value)) { - return false; - } - if (value > binary_encoding_js_1.INT32_MAX || value < binary_encoding_js_1.INT32_MIN) { - return `${value.toFixed()} out of range`; - } - return true; - case descriptors_js_1.ScalarType.FIXED32: - case descriptors_js_1.ScalarType.UINT32: - // unsigned - if (typeof value !== "number" || !Number.isInteger(value)) { - return false; - } - if (value > binary_encoding_js_1.UINT32_MAX || value < 0) { - return `${value.toFixed()} out of range`; - } - return true; - case descriptors_js_1.ScalarType.BOOL: - return typeof value == "boolean"; - case descriptors_js_1.ScalarType.STRING: - if (typeof value != "string") { - return false; - } - return (0, text_encoding_js_1.getTextEncoding)().checkUtf8(value) || "invalid UTF8"; - case descriptors_js_1.ScalarType.BYTES: - return value instanceof Uint8Array; - case descriptors_js_1.ScalarType.INT64: - case descriptors_js_1.ScalarType.SFIXED64: - case descriptors_js_1.ScalarType.SINT64: - // signed - if (typeof value != "string" && - typeof value !== "bigint" && - typeof value !== "number") { - return false; - } - try { - proto_int64_js_1.protoInt64.parse(value); - } - catch (e) { - return `${value} out of range`; - } - return true; - case descriptors_js_1.ScalarType.FIXED64: - case descriptors_js_1.ScalarType.UINT64: - // unsigned - if (typeof value != "string" && - typeof value !== "bigint" && - typeof value !== "number") { - return false; - } - try { - proto_int64_js_1.protoInt64.uParse(value); - } - catch (e) { - return `${value} out of range`; - } - return true; - } -} -function reasonSingular(field, val, details) { - details = - typeof details == "string" ? `: ${details}` : `, got ${formatVal(val)}`; - if (field.scalar !== undefined) { - return `expected ${scalarTypeDescription(field.scalar)}` + details; - } - else if (field.enum !== undefined) { - return `expected ${field.enum.toString()}` + details; - } - return `expected ${formatReflectMessage(field.message)}` + details; -} -function formatVal(val) { - switch (typeof val) { - case "object": - if (val === null) { - return "null"; - } - if (val instanceof Uint8Array) { - return `Uint8Array(${val.length})`; - } - if (Array.isArray(val)) { - return `Array(${val.length})`; - } - if ((0, guard_js_1.isReflectList)(val)) { - return formatReflectList(val.field()); - } - if ((0, guard_js_1.isReflectMap)(val)) { - return formatReflectMap(val.field()); - } - if ((0, guard_js_1.isReflectMessage)(val)) { - return formatReflectMessage(val.desc); - } - if ((0, is_message_js_1.isMessage)(val)) { - return `message ${val.$typeName}`; - } - return "object"; - case "string": - return val.length > 30 ? "string" : `"${val.split('"').join('\\"')}"`; - case "boolean": - return String(val); - case "number": - return String(val); - case "bigint": - return String(val) + "n"; - default: - // "symbol" | "undefined" | "object" | "function" - return typeof val; - } -} -function formatReflectMessage(desc) { - return `ReflectMessage (${desc.typeName})`; -} -function formatReflectList(field) { - switch (field.listKind) { - case "message": - return `ReflectList (${field.message.toString()})`; - case "enum": - return `ReflectList (${field.enum.toString()})`; - case "scalar": - return `ReflectList (${descriptors_js_1.ScalarType[field.scalar]})`; - } -} -function formatReflectMap(field) { - switch (field.mapKind) { - case "message": - return `ReflectMap (${descriptors_js_1.ScalarType[field.mapKey]}, ${field.message.toString()})`; - case "enum": - return `ReflectMap (${descriptors_js_1.ScalarType[field.mapKey]}, ${field.enum.toString()})`; - case "scalar": - return `ReflectMap (${descriptors_js_1.ScalarType[field.mapKey]}, ${descriptors_js_1.ScalarType[field.scalar]})`; - } -} -function scalarTypeDescription(scalar) { - switch (scalar) { - case descriptors_js_1.ScalarType.STRING: - return "string"; - case descriptors_js_1.ScalarType.BOOL: - return "boolean"; - case descriptors_js_1.ScalarType.INT64: - case descriptors_js_1.ScalarType.SINT64: - case descriptors_js_1.ScalarType.SFIXED64: - return "bigint (int64)"; - case descriptors_js_1.ScalarType.UINT64: - case descriptors_js_1.ScalarType.FIXED64: - return "bigint (uint64)"; - case descriptors_js_1.ScalarType.BYTES: - return "Uint8Array"; - case descriptors_js_1.ScalarType.DOUBLE: - return "number (float64)"; - case descriptors_js_1.ScalarType.FLOAT: - return "number (float32)"; - case descriptors_js_1.ScalarType.FIXED32: - case descriptors_js_1.ScalarType.UINT32: - return "number (uint32)"; - case descriptors_js_1.ScalarType.INT32: - case descriptors_js_1.ScalarType.SFIXED32: - case descriptors_js_1.ScalarType.SINT32: - return "number (int32)"; - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.d.ts deleted file mode 100644 index 2a40b92..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.d.ts +++ /dev/null @@ -1,217 +0,0 @@ -import { type DescField, type DescMessage, type DescOneof } from "../descriptors.js"; -import { unsafeLocal } from "./unsafe.js"; -import type { Message, UnknownField } from "../types.js"; -import type { ScalarValue } from "./scalar.js"; -/** - * ReflectMessage provides dynamic access and manipulation of a message. - */ -export interface ReflectMessage { - /** - * The underlying message instance. - */ - readonly message: Message; - /** - * The descriptor for the message. - */ - readonly desc: DescMessage; - /** - * The fields of the message. This is a shortcut to message.fields. - */ - readonly fields: readonly DescField[]; - /** - * The fields of the message, sorted by field number ascending. - */ - readonly sortedFields: readonly DescField[]; - /** - * Oneof groups of the message. This is a shortcut to message.oneofs. - */ - readonly oneofs: readonly DescOneof[]; - /** - * Fields and oneof groups for this message. This is a shortcut to message.members. - */ - readonly members: readonly (DescField | DescOneof)[]; - /** - * Find a field by number. - */ - findNumber(number: number): DescField | undefined; - /** - * Returns true if the field is set. - * - * - Scalar and enum fields with implicit presence (proto3): - * Set if not a zero value. - * - * - Scalar and enum fields with explicit presence (proto2, oneof): - * Set if a value was set when creating or parsing the message, or when a - * value was assigned to the field's property. - * - * - Message fields: - * Set if the property is not undefined. - * - * - List and map fields: - * Set if not empty. - */ - isSet(field: DescField): boolean; - /** - * Resets the field, so that isSet() will return false. - */ - clear(field: DescField): void; - /** - * Return the selected field of a oneof group. - */ - oneofCase(oneof: DescOneof): DescField | undefined; - /** - * Returns the field value. Values are converted or wrapped to make it easier - * to manipulate messages. - * - * - Scalar fields: - * Returns the value, but converts 64-bit integer fields with the option - * `jstype=JS_STRING` to a bigint value. - * If the field is not set, the default value is returned. If no default - * value is set, the zero value is returned. - * - * - Enum fields: - * Returns the numeric value. If the field is not set, the default value is - * returned. If no default value is set, the zero value is returned. - * - * - Message fields: - * Returns a ReflectMessage. If the field is not set, a new message is - * returned, but not set on the field. - * - * - List fields: - * Returns a ReflectList object. - * - * - Map fields: - * Returns a ReflectMap object. - * - * Note that get() never returns `undefined`. To determine whether a field is - * set, use isSet(). - */ - get(field: Field): ReflectMessageGet; - /** - * Set a field value. - * - * Expects values in the same form that get() returns: - * - * - Scalar fields: - * 64-bit integer fields with the option `jstype=JS_STRING` as a bigint value. - * - * - Message fields: - * ReflectMessage. - * - * - List fields: - * ReflectList. - * - * - Map fields: - * ReflectMap. - * - * Throws an error if the value is invalid for the field. `undefined` is not - * a valid value. To reset a field, use clear(). - */ - set(field: Field, value: unknown): void; - /** - * Returns the unknown fields of the message. - */ - getUnknown(): UnknownField[] | undefined; - /** - * Sets the unknown fields of the message, overwriting any previous values. - */ - setUnknown(value: UnknownField[]): void; - [unsafeLocal]: Message; -} -/** - * ReflectList provides dynamic access and manipulation of a list field on a - * message. - * - * ReflectList is iterable - you can loop through all items with a for...of loop. - * - * Values are converted or wrapped to make it easier to manipulate them: - * - Scalar 64-bit integer fields with the option `jstype=JS_STRING` are - * converted to bigint. - * - Messages are wrapped in a ReflectMessage. - */ -export interface ReflectList extends Iterable { - /** - * Returns the list field. - */ - field(): DescField & { - fieldKind: "list"; - }; - /** - * The size of the list. - */ - readonly size: number; - /** - * Retrieves the item at the specified index, or undefined if the index - * is out of range. - */ - get(index: number): V | undefined; - /** - * Adds an item at the end of the list. - * Throws an error if an item is invalid for this list. - */ - add(item: V): void; - /** - * Replaces the item at the specified index with the specified item. - * Throws an error if the index is out of range (index < 0 || index >= size). - * Throws an error if the item is invalid for this list. - */ - set(index: number, item: V): void; - /** - * Removes all items from the list. - */ - clear(): void; - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, V]>; - keys(): IterableIterator; - values(): IterableIterator; - [unsafeLocal]: unknown[]; -} -/** - * ReflectMap provides dynamic access and manipulation of a map field on a - * message. - * - * ReflectMap is iterable - you can loop through all entries with a for...of loop. - * - * Keys and values are converted or wrapped to make it easier to manipulate them: - * - A map field is a record object on a message, where keys are always strings. - * ReflectMap converts keys to their closest possible type in TypeScript. - * - Messages are wrapped in a ReflectMessage. - */ -export interface ReflectMap extends ReadonlyMap { - /** - * Returns the map field. - */ - field(): DescField & { - fieldKind: "map"; - }; - /** - * Removes the entry for the specified key. - * Returns false if the key is unknown. - */ - delete(key: K): boolean; - /** - * Sets or replaces the item at the specified key with the specified value. - * Throws an error if the key or value is invalid for this map. - */ - set(key: K, value: V): this; - /** - * Removes all entries from the map. - */ - clear(): void; - [unsafeLocal]: Record; -} -/** - * The return type of ReflectMessage.get() - */ -export type ReflectMessageGet = (Field extends { - fieldKind: "map"; -} ? ReflectMap : Field extends { - fieldKind: "list"; -} ? ReflectList : Field extends { - fieldKind: "enum"; -} ? number : Field extends { - fieldKind: "message"; -} ? ReflectMessage : Field extends { - fieldKind: "scalar"; - scalar: infer T; -} ? ScalarValue : never); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.js b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.js deleted file mode 100644 index 0085971..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -const unsafe_js_1 = require("./unsafe.js"); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.d.ts deleted file mode 100644 index 3bfb1ad..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { type DescField, type DescMessage } from "../descriptors.js"; -import type { MessageShape } from "../types.js"; -import type { ReflectList, ReflectMap, ReflectMessage } from "./reflect-types.js"; -/** - * Create a ReflectMessage. - */ -export declare function reflect(messageDesc: Desc, message?: MessageShape, -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check?: boolean): ReflectMessage; -/** - * Create a ReflectList. - */ -export declare function reflectList(field: DescField & { - fieldKind: "list"; -}, unsafeInput?: unknown[], -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check?: boolean): ReflectList; -/** - * Create a ReflectMap. - */ -export declare function reflectMap(field: DescField & { - fieldKind: "map"; -}, unsafeInput?: Record, -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check?: boolean): ReflectMap; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.js b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.js deleted file mode 100644 index ace06d4..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.js +++ /dev/null @@ -1,539 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.reflect = reflect; -exports.reflectList = reflectList; -exports.reflectMap = reflectMap; -const descriptors_js_1 = require("../descriptors.js"); -const reflect_check_js_1 = require("./reflect-check.js"); -const error_js_1 = require("./error.js"); -const unsafe_js_1 = require("./unsafe.js"); -const create_js_1 = require("../create.js"); -const wrappers_js_1 = require("../wkt/wrappers.js"); -const scalar_js_1 = require("./scalar.js"); -const proto_int64_js_1 = require("../proto-int64.js"); -const guard_js_1 = require("./guard.js"); -/** - * Create a ReflectMessage. - */ -function reflect(messageDesc, message, -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check = true) { - return new ReflectMessageImpl(messageDesc, message, check); -} -class ReflectMessageImpl { - get sortedFields() { - var _a; - return ((_a = this._sortedFields) !== null && _a !== void 0 ? _a : (this._sortedFields = this.desc.fields - .concat() - .sort((a, b) => a.number - b.number))); - } - constructor(messageDesc, message, check = true) { - this.lists = new Map(); - this.maps = new Map(); - this.check = check; - this.desc = messageDesc; - this.message = this[unsafe_js_1.unsafeLocal] = message !== null && message !== void 0 ? message : (0, create_js_1.create)(messageDesc); - this.fields = messageDesc.fields; - this.oneofs = messageDesc.oneofs; - this.members = messageDesc.members; - } - findNumber(number) { - if (!this._fieldsByNumber) { - this._fieldsByNumber = new Map(this.desc.fields.map((f) => [f.number, f])); - } - return this._fieldsByNumber.get(number); - } - oneofCase(oneof) { - assertOwn(this.message, oneof); - return (0, unsafe_js_1.unsafeOneofCase)(this.message, oneof); - } - isSet(field) { - assertOwn(this.message, field); - return (0, unsafe_js_1.unsafeIsSet)(this.message, field); - } - clear(field) { - assertOwn(this.message, field); - (0, unsafe_js_1.unsafeClear)(this.message, field); - } - get(field) { - assertOwn(this.message, field); - const value = (0, unsafe_js_1.unsafeGet)(this.message, field); - switch (field.fieldKind) { - case "list": - // eslint-disable-next-line no-case-declarations - let list = this.lists.get(field); - if (!list || list[unsafe_js_1.unsafeLocal] !== value) { - this.lists.set(field, (list = new ReflectListImpl(field, value, this.check))); - } - return list; - case "map": - // eslint-disable-next-line no-case-declarations - let map = this.maps.get(field); - if (!map || map[unsafe_js_1.unsafeLocal] !== value) { - this.maps.set(field, (map = new ReflectMapImpl(field, value, this.check))); - } - return map; - case "message": - return messageToReflect(field, value, this.check); - case "scalar": - return (value === undefined - ? (0, scalar_js_1.scalarZeroValue)(field.scalar, false) - : longToReflect(field, value)); - case "enum": - return (value !== null && value !== void 0 ? value : field.enum.values[0].number); - } - } - set(field, value) { - assertOwn(this.message, field); - if (this.check) { - const err = (0, reflect_check_js_1.checkField)(field, value); - if (err) { - throw err; - } - } - let local; - if (field.fieldKind == "message") { - local = messageToLocal(field, value); - } - else if ((0, guard_js_1.isReflectMap)(value) || (0, guard_js_1.isReflectList)(value)) { - local = value[unsafe_js_1.unsafeLocal]; - } - else { - local = longToLocal(field, value); - } - (0, unsafe_js_1.unsafeSet)(this.message, field, local); - } - getUnknown() { - return this.message.$unknown; - } - setUnknown(value) { - this.message.$unknown = value; - } -} -function assertOwn(owner, member) { - if (member.parent.typeName !== owner.$typeName) { - throw new error_js_1.FieldError(member, `cannot use ${member.toString()} with message ${owner.$typeName}`, "ForeignFieldError"); - } -} -/** - * Create a ReflectList. - */ -function reflectList(field, unsafeInput, -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check = true) { - return new ReflectListImpl(field, unsafeInput !== null && unsafeInput !== void 0 ? unsafeInput : [], check); -} -class ReflectListImpl { - field() { - return this._field; - } - get size() { - return this._arr.length; - } - constructor(field, unsafeInput, check) { - this._field = field; - this._arr = this[unsafe_js_1.unsafeLocal] = unsafeInput; - this.check = check; - } - get(index) { - const item = this._arr[index]; - return item === undefined - ? undefined - : listItemToReflect(this._field, item, this.check); - } - set(index, item) { - if (index < 0 || index >= this._arr.length) { - throw new error_js_1.FieldError(this._field, `list item #${index + 1}: out of range`); - } - if (this.check) { - const err = (0, reflect_check_js_1.checkListItem)(this._field, index, item); - if (err) { - throw err; - } - } - this._arr[index] = listItemToLocal(this._field, item); - } - add(item) { - if (this.check) { - const err = (0, reflect_check_js_1.checkListItem)(this._field, this._arr.length, item); - if (err) { - throw err; - } - } - this._arr.push(listItemToLocal(this._field, item)); - return undefined; - } - clear() { - this._arr.splice(0, this._arr.length); - } - [Symbol.iterator]() { - return this.values(); - } - keys() { - return this._arr.keys(); - } - *values() { - for (const item of this._arr) { - yield listItemToReflect(this._field, item, this.check); - } - } - *entries() { - for (let i = 0; i < this._arr.length; i++) { - yield [i, listItemToReflect(this._field, this._arr[i], this.check)]; - } - } -} -/** - * Create a ReflectMap. - */ -function reflectMap(field, unsafeInput, -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check = true) { - return new ReflectMapImpl(field, unsafeInput, check); -} -class ReflectMapImpl { - constructor(field, unsafeInput, check = true) { - this.obj = this[unsafe_js_1.unsafeLocal] = unsafeInput !== null && unsafeInput !== void 0 ? unsafeInput : {}; - this.check = check; - this._field = field; - } - field() { - return this._field; - } - set(key, value) { - if (this.check) { - const err = (0, reflect_check_js_1.checkMapEntry)(this._field, key, value); - if (err) { - throw err; - } - } - this.obj[mapKeyToLocal(key)] = mapValueToLocal(this._field, value); - return this; - } - delete(key) { - const k = mapKeyToLocal(key); - const has = Object.prototype.hasOwnProperty.call(this.obj, k); - if (has) { - delete this.obj[k]; - } - return has; - } - clear() { - for (const key of Object.keys(this.obj)) { - delete this.obj[key]; - } - } - get(key) { - let val = this.obj[mapKeyToLocal(key)]; - if (val !== undefined) { - val = mapValueToReflect(this._field, val, this.check); - } - return val; - } - has(key) { - return Object.prototype.hasOwnProperty.call(this.obj, mapKeyToLocal(key)); - } - *keys() { - for (const objKey of Object.keys(this.obj)) { - yield mapKeyToReflect(objKey, this._field.mapKey); - } - } - *entries() { - for (const objEntry of Object.entries(this.obj)) { - yield [ - mapKeyToReflect(objEntry[0], this._field.mapKey), - mapValueToReflect(this._field, objEntry[1], this.check), - ]; - } - } - [Symbol.iterator]() { - return this.entries(); - } - get size() { - return Object.keys(this.obj).length; - } - *values() { - for (const val of Object.values(this.obj)) { - yield mapValueToReflect(this._field, val, this.check); - } - } - forEach(callbackfn, thisArg) { - for (const mapEntry of this.entries()) { - callbackfn.call(thisArg, mapEntry[1], mapEntry[0], this); - } - } -} -function messageToLocal(field, value) { - if (!(0, guard_js_1.isReflectMessage)(value)) { - return value; - } - if ((0, wrappers_js_1.isWrapper)(value.message) && - !field.oneof && - field.fieldKind == "message") { - // Types from google/protobuf/wrappers.proto are unwrapped when used in - // a singular field that is not part of a oneof group. - return value.message.value; - } - if (value.desc.typeName == "google.protobuf.Struct" && - field.parent.typeName != "google.protobuf.Value") { - // google.protobuf.Struct is represented with JsonObject when used in a - // field, except when used in google.protobuf.Value. - return wktStructToLocal(value.message); - } - return value.message; -} -function messageToReflect(field, value, check) { - if (value !== undefined) { - if ((0, wrappers_js_1.isWrapperDesc)(field.message) && - !field.oneof && - field.fieldKind == "message") { - // Types from google/protobuf/wrappers.proto are unwrapped when used in - // a singular field that is not part of a oneof group. - value = { - $typeName: field.message.typeName, - value: longToReflect(field.message.fields[0], value), - }; - } - else if (field.message.typeName == "google.protobuf.Struct" && - field.parent.typeName != "google.protobuf.Value" && - (0, guard_js_1.isObject)(value)) { - // google.protobuf.Struct is represented with JsonObject when used in a - // field, except when used in google.protobuf.Value. - value = wktStructToReflect(value); - } - } - return new ReflectMessageImpl(field.message, value, check); -} -function listItemToLocal(field, value) { - if (field.listKind == "message") { - return messageToLocal(field, value); - } - return longToLocal(field, value); -} -function listItemToReflect(field, value, check) { - if (field.listKind == "message") { - return messageToReflect(field, value, check); - } - return longToReflect(field, value); -} -function mapValueToLocal(field, value) { - if (field.mapKind == "message") { - return messageToLocal(field, value); - } - return longToLocal(field, value); -} -function mapValueToReflect(field, value, check) { - if (field.mapKind == "message") { - return messageToReflect(field, value, check); - } - return value; -} -function mapKeyToLocal(key) { - return typeof key == "string" || typeof key == "number" ? key : String(key); -} -/** - * Converts a map key (any scalar value except float, double, or bytes) from its - * representation in a message (string or number, the only possible object key - * types) to the closest possible type in ECMAScript. - */ -function mapKeyToReflect(key, type) { - switch (type) { - case descriptors_js_1.ScalarType.STRING: - return key; - case descriptors_js_1.ScalarType.INT32: - case descriptors_js_1.ScalarType.FIXED32: - case descriptors_js_1.ScalarType.UINT32: - case descriptors_js_1.ScalarType.SFIXED32: - case descriptors_js_1.ScalarType.SINT32: { - const n = Number.parseInt(key); - if (Number.isFinite(n)) { - return n; - } - break; - } - case descriptors_js_1.ScalarType.BOOL: - switch (key) { - case "true": - return true; - case "false": - return false; - } - break; - case descriptors_js_1.ScalarType.UINT64: - case descriptors_js_1.ScalarType.FIXED64: - try { - return proto_int64_js_1.protoInt64.uParse(key); - } - catch (_a) { - // - } - break; - default: - // INT64, SFIXED64, SINT64 - try { - return proto_int64_js_1.protoInt64.parse(key); - } - catch (_b) { - // - } - break; - } - return key; -} -function longToReflect(field, value) { - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (field.scalar) { - case descriptors_js_1.ScalarType.INT64: - case descriptors_js_1.ScalarType.SFIXED64: - case descriptors_js_1.ScalarType.SINT64: - if ("longAsString" in field && - field.longAsString && - typeof value == "string") { - value = proto_int64_js_1.protoInt64.parse(value); - } - break; - case descriptors_js_1.ScalarType.FIXED64: - case descriptors_js_1.ScalarType.UINT64: - if ("longAsString" in field && - field.longAsString && - typeof value == "string") { - value = proto_int64_js_1.protoInt64.uParse(value); - } - break; - } - return value; -} -function longToLocal(field, value) { - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (field.scalar) { - case descriptors_js_1.ScalarType.INT64: - case descriptors_js_1.ScalarType.SFIXED64: - case descriptors_js_1.ScalarType.SINT64: - if ("longAsString" in field && field.longAsString) { - value = String(value); - } - else if (typeof value == "string" || typeof value == "number") { - value = proto_int64_js_1.protoInt64.parse(value); - } - break; - case descriptors_js_1.ScalarType.FIXED64: - case descriptors_js_1.ScalarType.UINT64: - if ("longAsString" in field && field.longAsString) { - value = String(value); - } - else if (typeof value == "string" || typeof value == "number") { - value = proto_int64_js_1.protoInt64.uParse(value); - } - break; - } - return value; -} -function wktStructToReflect(json) { - const struct = { - $typeName: "google.protobuf.Struct", - fields: {}, - }; - if ((0, guard_js_1.isObject)(json)) { - for (const [k, v] of Object.entries(json)) { - struct.fields[k] = wktValueToReflect(v); - } - } - return struct; -} -function wktStructToLocal(val) { - const json = {}; - for (const [k, v] of Object.entries(val.fields)) { - json[k] = wktValueToLocal(v); - } - return json; -} -function wktValueToLocal(val) { - switch (val.kind.case) { - case "structValue": - return wktStructToLocal(val.kind.value); - case "listValue": - return val.kind.value.values.map(wktValueToLocal); - case "nullValue": - case undefined: - return null; - default: - return val.kind.value; - } -} -function wktValueToReflect(json) { - const value = { - $typeName: "google.protobuf.Value", - kind: { case: undefined }, - }; - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check -- invalid input is unselected kind - switch (typeof json) { - case "number": - value.kind = { case: "numberValue", value: json }; - break; - case "string": - value.kind = { case: "stringValue", value: json }; - break; - case "boolean": - value.kind = { case: "boolValue", value: json }; - break; - case "object": - if (json === null) { - const nullValue = 0; - value.kind = { case: "nullValue", value: nullValue }; - } - else if (Array.isArray(json)) { - const listValue = { - $typeName: "google.protobuf.ListValue", - values: [], - }; - if (Array.isArray(json)) { - for (const e of json) { - listValue.values.push(wktValueToReflect(e)); - } - } - value.kind = { - case: "listValue", - value: listValue, - }; - } - else { - value.kind = { - case: "structValue", - value: wktStructToReflect(json), - }; - } - break; - } - return value; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.d.ts deleted file mode 100644 index 16ac91f..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { ScalarType } from "../descriptors.js"; -/** - * ScalarValue maps from a scalar field type to a TypeScript value type. - */ -export type ScalarValue = T extends ScalarType.STRING ? string : T extends ScalarType.INT32 ? number : T extends ScalarType.UINT32 ? number : T extends ScalarType.SINT32 ? number : T extends ScalarType.FIXED32 ? number : T extends ScalarType.SFIXED32 ? number : T extends ScalarType.FLOAT ? number : T extends ScalarType.DOUBLE ? number : T extends ScalarType.INT64 ? LongAsString extends true ? string : bigint : T extends ScalarType.SINT64 ? LongAsString extends true ? string : bigint : T extends ScalarType.SFIXED64 ? LongAsString extends true ? string : bigint : T extends ScalarType.UINT64 ? LongAsString extends true ? string : bigint : T extends ScalarType.FIXED64 ? LongAsString extends true ? string : bigint : T extends ScalarType.BOOL ? boolean : T extends ScalarType.BYTES ? Uint8Array : never; -/** - * Returns true if both scalar values are equal. - */ -export declare function scalarEquals(type: ScalarType, a: ScalarValue | undefined, b: ScalarValue | undefined): boolean; -/** - * Returns the zero value for the given scalar type. - */ -export declare function scalarZeroValue(type: T, longAsString: LongAsString): ScalarValue; -/** - * Returns true for a zero-value. For example, an integer has the zero-value `0`, - * a boolean is `false`, a string is `""`, and bytes is an empty Uint8Array. - * - * In proto3, zero-values are not written to the wire, unless the field is - * optional or repeated. - */ -export declare function isScalarZeroValue(type: ScalarType, value: unknown): boolean; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.js b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.js deleted file mode 100644 index 7043953..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.js +++ /dev/null @@ -1,103 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.scalarEquals = scalarEquals; -exports.scalarZeroValue = scalarZeroValue; -exports.isScalarZeroValue = isScalarZeroValue; -const proto_int64_js_1 = require("../proto-int64.js"); -const descriptors_js_1 = require("../descriptors.js"); -/** - * Returns true if both scalar values are equal. - */ -function scalarEquals(type, a, b) { - if (a === b) { - // This correctly matches equal values except BYTES and (possibly) 64-bit integers. - return true; - } - // Special case BYTES - we need to compare each byte individually - if (type == descriptors_js_1.ScalarType.BYTES) { - if (!(a instanceof Uint8Array) || !(b instanceof Uint8Array)) { - return false; - } - if (a.length !== b.length) { - return false; - } - for (let i = 0; i < a.length; i++) { - if (a[i] !== b[i]) { - return false; - } - } - return true; - } - // Special case 64-bit integers - we support number, string and bigint representation. - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (type) { - case descriptors_js_1.ScalarType.UINT64: - case descriptors_js_1.ScalarType.FIXED64: - case descriptors_js_1.ScalarType.INT64: - case descriptors_js_1.ScalarType.SFIXED64: - case descriptors_js_1.ScalarType.SINT64: - // Loose comparison will match between 0n, 0 and "0". - return a == b; - } - // Anything that hasn't been caught by strict comparison or special cased - // BYTES and 64-bit integers is not equal. - return false; -} -/** - * Returns the zero value for the given scalar type. - */ -function scalarZeroValue(type, longAsString) { - switch (type) { - case descriptors_js_1.ScalarType.STRING: - return ""; - case descriptors_js_1.ScalarType.BOOL: - return false; - default: - // Handles INT32, UINT32, SINT32, FIXED32, SFIXED32. - // We do not use individual cases to save a few bytes code size. - return 0; - case descriptors_js_1.ScalarType.DOUBLE: - case descriptors_js_1.ScalarType.FLOAT: - return 0.0; - case descriptors_js_1.ScalarType.INT64: - case descriptors_js_1.ScalarType.UINT64: - case descriptors_js_1.ScalarType.SFIXED64: - case descriptors_js_1.ScalarType.FIXED64: - case descriptors_js_1.ScalarType.SINT64: - return (longAsString ? "0" : proto_int64_js_1.protoInt64.zero); - case descriptors_js_1.ScalarType.BYTES: - return new Uint8Array(0); - } -} -/** - * Returns true for a zero-value. For example, an integer has the zero-value `0`, - * a boolean is `false`, a string is `""`, and bytes is an empty Uint8Array. - * - * In proto3, zero-values are not written to the wire, unless the field is - * optional or repeated. - */ -function isScalarZeroValue(type, value) { - switch (type) { - case descriptors_js_1.ScalarType.BOOL: - return value === false; - case descriptors_js_1.ScalarType.STRING: - return value === ""; - case descriptors_js_1.ScalarType.BYTES: - return value instanceof Uint8Array && !value.byteLength; - default: - return value == 0; // Loose comparison matches 0n, 0 and "0" - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.d.ts deleted file mode 100644 index 4c97a8c..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { DescField, DescOneof } from "../descriptors.js"; -export declare const unsafeLocal: unique symbol; -/** - * Return the selected field of a oneof group. - * - * @private - */ -export declare function unsafeOneofCase(target: Record, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -oneof: DescOneof): DescField | undefined; -/** - * Returns true if the field is set. - * - * @private - */ -export declare function unsafeIsSet(target: Record, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -field: DescField): boolean; -/** - * Returns true if the field is set, but only for singular fields with explicit - * presence (proto2). - * - * @private - */ -export declare function unsafeIsSetExplicit(target: object, localName: string): boolean; -/** - * Return a field value, respecting oneof groups. - * - * @private - */ -export declare function unsafeGet(target: Record, field: DescField): unknown; -/** - * Set a field value, respecting oneof groups. - * - * @private - */ -export declare function unsafeSet(target: Record, field: DescField, value: unknown): void; -/** - * Resets the field, so that unsafeIsSet() will return false. - * - * @private - */ -export declare function unsafeClear(target: Record, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -field: DescField): void; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.js b/node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.js deleted file mode 100644 index 70833fa..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.js +++ /dev/null @@ -1,148 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.unsafeLocal = void 0; -exports.unsafeOneofCase = unsafeOneofCase; -exports.unsafeIsSet = unsafeIsSet; -exports.unsafeIsSetExplicit = unsafeIsSetExplicit; -exports.unsafeGet = unsafeGet; -exports.unsafeSet = unsafeSet; -exports.unsafeClear = unsafeClear; -const scalar_js_1 = require("./scalar.js"); -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.IMPLICIT: const $name: FeatureSet_FieldPresence.$localName = $number; -const IMPLICIT = 2; -exports.unsafeLocal = Symbol.for("reflect unsafe local"); -/** - * Return the selected field of a oneof group. - * - * @private - */ -function unsafeOneofCase(target, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -oneof) { - const c = target[oneof.localName].case; - if (c === undefined) { - return c; - } - return oneof.fields.find((f) => f.localName === c); -} -/** - * Returns true if the field is set. - * - * @private - */ -function unsafeIsSet(target, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -field) { - const name = field.localName; - if (field.oneof) { - return target[field.oneof.localName].case === name; // eslint-disable-line @typescript-eslint/no-unsafe-member-access - } - if (field.presence != IMPLICIT) { - // Fields with explicit presence have properties on the prototype chain - // for default / zero values (except for proto3). - return (target[name] !== undefined && - Object.prototype.hasOwnProperty.call(target, name)); - } - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (field.fieldKind) { - case "list": - return target[name].length > 0; - case "map": - return Object.keys(target[name]).length > 0; // eslint-disable-line @typescript-eslint/no-unsafe-argument - case "scalar": - return !(0, scalar_js_1.isScalarZeroValue)(field.scalar, target[name]); - case "enum": - return target[name] !== field.enum.values[0].number; - } - throw new Error("message field with implicit presence"); -} -/** - * Returns true if the field is set, but only for singular fields with explicit - * presence (proto2). - * - * @private - */ -function unsafeIsSetExplicit(target, localName) { - return (Object.prototype.hasOwnProperty.call(target, localName) && - target[localName] !== undefined); -} -/** - * Return a field value, respecting oneof groups. - * - * @private - */ -function unsafeGet(target, field) { - if (field.oneof) { - const oneof = target[field.oneof.localName]; - if (oneof.case === field.localName) { - return oneof.value; - } - return undefined; - } - return target[field.localName]; -} -/** - * Set a field value, respecting oneof groups. - * - * @private - */ -function unsafeSet(target, field, value) { - if (field.oneof) { - target[field.oneof.localName] = { - case: field.localName, - value: value, - }; - } - else { - target[field.localName] = value; - } -} -/** - * Resets the field, so that unsafeIsSet() will return false. - * - * @private - */ -function unsafeClear(target, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -field) { - const name = field.localName; - if (field.oneof) { - const oneofLocalName = field.oneof.localName; - if (target[oneofLocalName].case === name) { - target[oneofLocalName] = { case: undefined }; - } - } - else if (field.presence != IMPLICIT) { - // Fields with explicit presence have properties on the prototype chain - // for default / zero values (except for proto3). By deleting their own - // property, the field is reset. - delete target[name]; - } - else { - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (field.fieldKind) { - case "map": - target[name] = {}; - break; - case "list": - target[name] = []; - break; - case "enum": - target[name] = field.enum.values[0].number; - break; - case "scalar": - target[name] = (0, scalar_js_1.scalarZeroValue)(field.scalar, field.longAsString); - break; - } - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/registry.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/registry.d.ts deleted file mode 100644 index 4a1b5ae..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/registry.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -import type { FileDescriptorProto, FileDescriptorSet } from "./wkt/gen/google/protobuf/descriptor_pb.js"; -import { type DescEnum, type DescExtension, type DescFile, type DescMessage, type DescService, type SupportedEdition } from "./descriptors.js"; -/** - * A set of descriptors for messages, enumerations, extensions, - * and services. - */ -export interface Registry { - readonly kind: "registry"; - /** - * All types (message, enumeration, extension, or service) contained - * in this registry. - */ - [Symbol.iterator](): IterableIterator; - /** - * Look up a type (message, enumeration, extension, or service) by - * its fully qualified name. - */ - get(typeName: string): DescMessage | DescEnum | DescExtension | DescService | undefined; - /** - * Look up a message descriptor by its fully qualified name. - */ - getMessage(typeName: string): DescMessage | undefined; - /** - * Look up an enumeration descriptor by its fully qualified name. - */ - getEnum(typeName: string): DescEnum | undefined; - /** - * Look up an extension descriptor by its fully qualified name. - */ - getExtension(typeName: string): DescExtension | undefined; - /** - * Look up an extension by the extendee - the message it extends - and - * the extension number. - */ - getExtensionFor(extendee: DescMessage, no: number): DescExtension | undefined; - /** - * Look up a service descriptor by its fully qualified name. - */ - getService(typeName: string): DescService | undefined; -} -/** - * A registry that allows adding and removing descriptors. - */ -export interface MutableRegistry extends Registry { - /** - * Adds the given descriptor - but not types nested within - to the registry. - */ - add(desc: DescMessage | DescEnum | DescExtension | DescService): void; - /** - * Remove the given descriptor - but not types nested within - from the registry. - */ - remove(desc: DescMessage | DescEnum | DescExtension | DescService): void; -} -/** - * A registry that includes files. - */ -export interface FileRegistry extends Registry { - /** - * All files in this registry. - */ - readonly files: Iterable; - /** - * Look up a file descriptor by file name. - */ - getFile(fileName: string): DescFile | undefined; -} -/** - * Create a registry from the given inputs. - * - * An input can be: - * - Any message, enum, service, or extension descriptor, which adds just the - * descriptor for this type. - * - A file descriptor, which adds all typed defined in this file. - * - A registry, which adds all types from the registry. - * - * For duplicate descriptors (same type name), the one given last wins. - */ -export declare function createRegistry(...input: (Registry | DescFile | DescMessage | DescEnum | DescExtension | DescService)[]): Registry; -/** - * Create a registry that allows adding and removing descriptors. - */ -export declare function createMutableRegistry(...input: (Registry | DescFile | DescMessage | DescEnum | DescExtension | DescService)[]): MutableRegistry; -/** - * Create a registry (including file descriptors) from a google.protobuf.FileDescriptorSet - * message. - */ -export declare function createFileRegistry(fileDescriptorSet: FileDescriptorSet): FileRegistry; -/** - * Create a registry (including file descriptors) from a google.protobuf.FileDescriptorProto - * message. For every import, the given resolver function is called. - */ -export declare function createFileRegistry(fileDescriptorProto: FileDescriptorProto, resolve: (protoFileName: string) => FileDescriptorProto | DescFile | undefined): FileRegistry; -/** - * Create a registry (including file descriptors) from one or more registries, - * merging them. - */ -export declare function createFileRegistry(...registries: FileRegistry[]): FileRegistry; -export declare const minimumEdition: SupportedEdition, maximumEdition: SupportedEdition; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/registry.js b/node_modules/@bufbuild/protobuf/dist/cjs/registry.js deleted file mode 100644 index 1596bee..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/registry.js +++ /dev/null @@ -1,911 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.maximumEdition = exports.minimumEdition = void 0; -exports.createRegistry = createRegistry; -exports.createMutableRegistry = createMutableRegistry; -exports.createFileRegistry = createFileRegistry; -const descriptors_js_1 = require("./descriptors.js"); -const text_format_js_1 = require("./wire/text-format.js"); -const nested_types_js_1 = require("./reflect/nested-types.js"); -const unsafe_js_1 = require("./reflect/unsafe.js"); -const names_js_1 = require("./reflect/names.js"); -/** - * Create a registry from the given inputs. - * - * An input can be: - * - Any message, enum, service, or extension descriptor, which adds just the - * descriptor for this type. - * - A file descriptor, which adds all typed defined in this file. - * - A registry, which adds all types from the registry. - * - * For duplicate descriptors (same type name), the one given last wins. - */ -function createRegistry(...input) { - return initBaseRegistry(input); -} -/** - * Create a registry that allows adding and removing descriptors. - */ -function createMutableRegistry(...input) { - const reg = initBaseRegistry(input); - return Object.assign(Object.assign({}, reg), { remove(desc) { - var _a; - if (desc.kind == "extension") { - (_a = reg.extendees.get(desc.extendee.typeName)) === null || _a === void 0 ? void 0 : _a.delete(desc.number); - } - reg.types.delete(desc.typeName); - } }); -} -function createFileRegistry(...args) { - const registry = createBaseRegistry(); - if (!args.length) { - return registry; - } - if ("$typeName" in args[0] && - args[0].$typeName == "google.protobuf.FileDescriptorSet") { - for (const file of args[0].file) { - addFile(file, registry); - } - return registry; - } - if ("$typeName" in args[0]) { - const input = args[0]; - const resolve = args[1]; - const seen = new Set(); - // eslint-disable-next-line no-inner-declarations - function recurseDeps(file) { - const deps = []; - for (const protoFileName of file.dependency) { - if (registry.getFile(protoFileName) != undefined) { - continue; - } - if (seen.has(protoFileName)) { - continue; - } - const dep = resolve(protoFileName); - if (!dep) { - throw new Error(`Unable to resolve ${protoFileName}, imported by ${file.name}`); - } - if ("kind" in dep) { - registry.addFile(dep, false, true); - } - else { - seen.add(dep.name); - deps.push(dep); - } - } - return deps.concat(...deps.map(recurseDeps)); - } - for (const file of [input, ...recurseDeps(input)].reverse()) { - addFile(file, registry); - } - } - else { - for (const fileReg of args) { - for (const file of fileReg.files) { - registry.addFile(file); - } - } - } - return registry; -} -/** - * @private - */ -function createBaseRegistry() { - const types = new Map(); - const extendees = new Map(); - const files = new Map(); - return { - kind: "registry", - types, - extendees, - [Symbol.iterator]() { - return types.values(); - }, - get files() { - return files.values(); - }, - addFile(file, skipTypes, withDeps) { - files.set(file.proto.name, file); - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - if (!skipTypes) { - for (const type of (0, nested_types_js_1.nestedTypes)(file)) { - this.add(type); - } - } - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - if (withDeps) { - for (const f of file.dependencies) { - this.addFile(f, skipTypes, withDeps); - } - } - }, - add(desc) { - if (desc.kind == "extension") { - let numberToExt = extendees.get(desc.extendee.typeName); - if (!numberToExt) { - extendees.set(desc.extendee.typeName, (numberToExt = new Map())); - } - numberToExt.set(desc.number, desc); - } - types.set(desc.typeName, desc); - }, - get(typeName) { - return types.get(typeName); - }, - getFile(fileName) { - return files.get(fileName); - }, - getMessage(typeName) { - const t = types.get(typeName); - return (t === null || t === void 0 ? void 0 : t.kind) == "message" ? t : undefined; - }, - getEnum(typeName) { - const t = types.get(typeName); - return (t === null || t === void 0 ? void 0 : t.kind) == "enum" ? t : undefined; - }, - getExtension(typeName) { - const t = types.get(typeName); - return (t === null || t === void 0 ? void 0 : t.kind) == "extension" ? t : undefined; - }, - getExtensionFor(extendee, no) { - var _a; - return (_a = extendees.get(extendee.typeName)) === null || _a === void 0 ? void 0 : _a.get(no); - }, - getService(typeName) { - const t = types.get(typeName); - return (t === null || t === void 0 ? void 0 : t.kind) == "service" ? t : undefined; - }, - }; -} -/** - * @private - */ -function initBaseRegistry(inputs) { - const registry = createBaseRegistry(); - for (const input of inputs) { - switch (input.kind) { - case "registry": - for (const n of input) { - registry.add(n); - } - break; - case "file": - registry.addFile(input); - break; - default: - registry.add(input); - break; - } - } - return registry; -} -// bootstrap-inject google.protobuf.Edition.EDITION_PROTO2: const $name: Edition.$localName = $number; -const EDITION_PROTO2 = 998; -// bootstrap-inject google.protobuf.Edition.EDITION_PROTO3: const $name: Edition.$localName = $number; -const EDITION_PROTO3 = 999; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Type.TYPE_STRING: const $name: FieldDescriptorProto_Type.$localName = $number; -const TYPE_STRING = 9; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Type.TYPE_GROUP: const $name: FieldDescriptorProto_Type.$localName = $number; -const TYPE_GROUP = 10; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Type.TYPE_MESSAGE: const $name: FieldDescriptorProto_Type.$localName = $number; -const TYPE_MESSAGE = 11; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Type.TYPE_BYTES: const $name: FieldDescriptorProto_Type.$localName = $number; -const TYPE_BYTES = 12; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Type.TYPE_ENUM: const $name: FieldDescriptorProto_Type.$localName = $number; -const TYPE_ENUM = 14; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Label.LABEL_REPEATED: const $name: FieldDescriptorProto_Label.$localName = $number; -const LABEL_REPEATED = 3; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Label.LABEL_REQUIRED: const $name: FieldDescriptorProto_Label.$localName = $number; -const LABEL_REQUIRED = 2; -// bootstrap-inject google.protobuf.FieldOptions.JSType.JS_STRING: const $name: FieldOptions_JSType.$localName = $number; -const JS_STRING = 1; -// bootstrap-inject google.protobuf.MethodOptions.IdempotencyLevel.IDEMPOTENCY_UNKNOWN: const $name: MethodOptions_IdempotencyLevel.$localName = $number; -const IDEMPOTENCY_UNKNOWN = 0; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.EXPLICIT: const $name: FeatureSet_FieldPresence.$localName = $number; -const EXPLICIT = 1; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.IMPLICIT: const $name: FeatureSet_FieldPresence.$localName = $number; -const IMPLICIT = 2; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.LEGACY_REQUIRED: const $name: FeatureSet_FieldPresence.$localName = $number; -const LEGACY_REQUIRED = 3; -// bootstrap-inject google.protobuf.FeatureSet.RepeatedFieldEncoding.PACKED: const $name: FeatureSet_RepeatedFieldEncoding.$localName = $number; -const PACKED = 1; -// bootstrap-inject google.protobuf.FeatureSet.MessageEncoding.DELIMITED: const $name: FeatureSet_MessageEncoding.$localName = $number; -const DELIMITED = 2; -// bootstrap-inject google.protobuf.FeatureSet.EnumType.OPEN: const $name: FeatureSet_EnumType.$localName = $number; -const OPEN = 1; -// prettier-ignore -// bootstrap-inject defaults: EDITION_PROTO2 to EDITION_2023: export const minimumEdition: SupportedEdition = $minimumEdition, maximumEdition: SupportedEdition = $maximumEdition; -// generated from protoc v27.0 -exports.minimumEdition = 998, exports.maximumEdition = 1000; -const featureDefaults = { - // EDITION_PROTO2 - 998: { - fieldPresence: 1, // EXPLICIT, - enumType: 2, // CLOSED, - repeatedFieldEncoding: 2, // EXPANDED, - utf8Validation: 3, // NONE, - messageEncoding: 1, // LENGTH_PREFIXED, - jsonFormat: 2, // LEGACY_BEST_EFFORT, - }, - // EDITION_PROTO3 - 999: { - fieldPresence: 2, // IMPLICIT, - enumType: 1, // OPEN, - repeatedFieldEncoding: 1, // PACKED, - utf8Validation: 2, // VERIFY, - messageEncoding: 1, // LENGTH_PREFIXED, - jsonFormat: 1, // ALLOW, - }, - // EDITION_2023 - 1000: { - fieldPresence: 1, // EXPLICIT, - enumType: 1, // OPEN, - repeatedFieldEncoding: 1, // PACKED, - utf8Validation: 2, // VERIFY, - messageEncoding: 1, // LENGTH_PREFIXED, - jsonFormat: 1, // ALLOW, - }, -}; -/** - * Create a descriptor for a file, add it to the registry. - */ -function addFile(proto, reg) { - var _a, _b; - const file = { - kind: "file", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - edition: getFileEdition(proto), - name: proto.name.replace(/\.proto$/, ""), - dependencies: findFileDependencies(proto, reg), - enums: [], - messages: [], - extensions: [], - services: [], - toString() { - // eslint-disable-next-line @typescript-eslint/restrict-template-expressions -- we asserted above - return `file ${proto.name}`; - }, - }; - const mapEntriesStore = new Map(); - const mapEntries = { - get(typeName) { - return mapEntriesStore.get(typeName); - }, - add(desc) { - var _a; - assert(((_a = desc.proto.options) === null || _a === void 0 ? void 0 : _a.mapEntry) === true); - mapEntriesStore.set(desc.typeName, desc); - }, - }; - for (const enumProto of proto.enumType) { - addEnum(enumProto, file, undefined, reg); - } - for (const messageProto of proto.messageType) { - addMessage(messageProto, file, undefined, reg, mapEntries); - } - for (const serviceProto of proto.service) { - addService(serviceProto, file, reg); - } - addExtensions(file, reg); - for (const mapEntry of mapEntriesStore.values()) { - // to create a map field, we need access to the map entry's fields - addFields(mapEntry, reg, mapEntries); - } - for (const message of file.messages) { - addFields(message, reg, mapEntries); - addExtensions(message, reg); - } - reg.addFile(file, true); -} -/** - * Create descriptors for extensions, and add them to the message / file, - * and to our cart. - * Recurses into nested types. - */ -function addExtensions(desc, reg) { - switch (desc.kind) { - case "file": - for (const proto of desc.proto.extension) { - const ext = newField(proto, desc, reg); - desc.extensions.push(ext); - reg.add(ext); - } - break; - case "message": - for (const proto of desc.proto.extension) { - const ext = newField(proto, desc, reg); - desc.nestedExtensions.push(ext); - reg.add(ext); - } - for (const message of desc.nestedMessages) { - addExtensions(message, reg); - } - break; - } -} -/** - * Create descriptors for fields and oneof groups, and add them to the message. - * Recurses into nested types. - */ -function addFields(message, reg, mapEntries) { - const allOneofs = message.proto.oneofDecl.map((proto) => newOneof(proto, message)); - const oneofsSeen = new Set(); - for (const proto of message.proto.field) { - const oneof = findOneof(proto, allOneofs); - const field = newField(proto, message, reg, oneof, mapEntries); - message.fields.push(field); - message.field[field.localName] = field; - if (oneof === undefined) { - message.members.push(field); - } - else { - oneof.fields.push(field); - if (!oneofsSeen.has(oneof)) { - oneofsSeen.add(oneof); - message.members.push(oneof); - } - } - } - for (const oneof of allOneofs.filter((o) => oneofsSeen.has(o))) { - message.oneofs.push(oneof); - } - for (const child of message.nestedMessages) { - addFields(child, reg, mapEntries); - } -} -/** - * Create a descriptor for an enumeration, and add it our cart and to the - * parent type, if any. - */ -function addEnum(proto, file, parent, reg) { - var _a, _b, _c; - const sharedPrefix = findEnumSharedPrefix(proto.name, proto.value); - const desc = { - kind: "enum", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - file, - parent, - open: true, - name: proto.name, - typeName: makeTypeName(proto, parent, file), - value: {}, - values: [], - sharedPrefix, - toString() { - return `enum ${this.typeName}`; - }, - }; - desc.open = isEnumOpen(desc); - reg.add(desc); - proto.value.forEach((proto) => { - var _a, _b; - const name = proto.name; - desc.values.push((desc.value[proto.number] = { - kind: "enum_value", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - parent: desc, - name, - localName: (0, names_js_1.safeObjectProperty)(sharedPrefix == undefined - ? name - : name.substring(sharedPrefix.length)), - number: proto.number, - toString() { - return `enum value ${desc.typeName}.${name}`; - }, - })); - }); - ((_c = parent === null || parent === void 0 ? void 0 : parent.nestedEnums) !== null && _c !== void 0 ? _c : file.enums).push(desc); -} -/** - * Create a descriptor for a message, including nested types, and add it to our - * cart. Note that this does not create descriptors fields. - */ -function addMessage(proto, file, parent, reg, mapEntries) { - var _a, _b, _c, _d; - const desc = { - kind: "message", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - file, - parent, - name: proto.name, - typeName: makeTypeName(proto, parent, file), - fields: [], - field: {}, - oneofs: [], - members: [], - nestedEnums: [], - nestedMessages: [], - nestedExtensions: [], - toString() { - return `message ${this.typeName}`; - }, - }; - if (((_c = proto.options) === null || _c === void 0 ? void 0 : _c.mapEntry) === true) { - mapEntries.add(desc); - } - else { - ((_d = parent === null || parent === void 0 ? void 0 : parent.nestedMessages) !== null && _d !== void 0 ? _d : file.messages).push(desc); - reg.add(desc); - } - for (const enumProto of proto.enumType) { - addEnum(enumProto, file, desc, reg); - } - for (const messageProto of proto.nestedType) { - addMessage(messageProto, file, desc, reg, mapEntries); - } -} -/** - * Create a descriptor for a service, including methods, and add it to our - * cart. - */ -function addService(proto, file, reg) { - var _a, _b; - const desc = { - kind: "service", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - file, - name: proto.name, - typeName: makeTypeName(proto, undefined, file), - methods: [], - method: {}, - toString() { - return `service ${this.typeName}`; - }, - }; - file.services.push(desc); - reg.add(desc); - for (const methodProto of proto.method) { - const method = newMethod(methodProto, desc, reg); - desc.methods.push(method); - desc.method[method.localName] = method; - } -} -/** - * Create a descriptor for a method. - */ -function newMethod(proto, parent, reg) { - var _a, _b, _c, _d; - let methodKind; - if (proto.clientStreaming && proto.serverStreaming) { - methodKind = "bidi_streaming"; - } - else if (proto.clientStreaming) { - methodKind = "client_streaming"; - } - else if (proto.serverStreaming) { - methodKind = "server_streaming"; - } - else { - methodKind = "unary"; - } - const input = reg.getMessage(trimLeadingDot(proto.inputType)); - const output = reg.getMessage(trimLeadingDot(proto.outputType)); - assert(input, `invalid MethodDescriptorProto: input_type ${proto.inputType} not found`); - assert(output, `invalid MethodDescriptorProto: output_type ${proto.inputType} not found`); - const name = proto.name; - return { - kind: "rpc", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - parent, - name, - localName: (0, names_js_1.safeObjectProperty)(name.length - ? (0, names_js_1.safeObjectProperty)(name[0].toLowerCase() + name.substring(1)) - : name), - methodKind, - input, - output, - idempotency: (_d = (_c = proto.options) === null || _c === void 0 ? void 0 : _c.idempotencyLevel) !== null && _d !== void 0 ? _d : IDEMPOTENCY_UNKNOWN, - toString() { - return `rpc ${parent.typeName}.${name}`; - }, - }; -} -/** - * Create a descriptor for a oneof group. - */ -function newOneof(proto, parent) { - return { - kind: "oneof", - proto, - deprecated: false, - parent, - fields: [], - name: proto.name, - localName: (0, names_js_1.safeObjectProperty)((0, names_js_1.protoCamelCase)(proto.name)), - toString() { - return `oneof ${parent.typeName}.${this.name}`; - }, - }; -} -function newField(proto, parentOrFile, reg, oneof, mapEntries) { - var _a, _b, _c; - const isExtension = mapEntries === undefined; - const field = { - kind: "field", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - name: proto.name, - number: proto.number, - scalar: undefined, - message: undefined, - enum: undefined, - presence: getFieldPresence(proto, oneof, isExtension, parentOrFile), - listKind: undefined, - mapKind: undefined, - mapKey: undefined, - delimitedEncoding: undefined, - packed: undefined, - longAsString: false, - getDefaultValue: undefined, - }; - if (isExtension) { - // extension field - const file = parentOrFile.kind == "file" ? parentOrFile : parentOrFile.file; - const parent = parentOrFile.kind == "file" ? undefined : parentOrFile; - const typeName = makeTypeName(proto, parent, file); - field.kind = "extension"; - field.file = file; - field.parent = parent; - field.oneof = undefined; - field.typeName = typeName; - field.jsonName = `[${typeName}]`; // option json_name is not allowed on extension fields - field.toString = () => `extension ${typeName}`; - const extendee = reg.getMessage(trimLeadingDot(proto.extendee)); - assert(extendee, `invalid FieldDescriptorProto: extendee ${proto.extendee} not found`); - field.extendee = extendee; - } - else { - // regular field - const parent = parentOrFile; - assert(parent.kind == "message"); - field.parent = parent; - field.oneof = oneof; - field.localName = oneof - ? (0, names_js_1.protoCamelCase)(proto.name) - : (0, names_js_1.safeObjectProperty)((0, names_js_1.protoCamelCase)(proto.name)); - field.jsonName = proto.jsonName; - field.toString = () => `field ${parent.typeName}.${proto.name}`; - } - const label = proto.label; - const type = proto.type; - const jstype = (_c = proto.options) === null || _c === void 0 ? void 0 : _c.jstype; - if (label === LABEL_REPEATED) { - // list or map field - const mapEntry = type == TYPE_MESSAGE - ? mapEntries === null || mapEntries === void 0 ? void 0 : mapEntries.get(trimLeadingDot(proto.typeName)) - : undefined; - if (mapEntry) { - // map field - field.fieldKind = "map"; - const { key, value } = findMapEntryFields(mapEntry); - field.mapKey = key.scalar; - field.mapKind = value.fieldKind; - field.message = value.message; - field.delimitedEncoding = false; // map fields are always LENGTH_PREFIXED - field.enum = value.enum; - field.scalar = value.scalar; - return field; - } - // list field - field.fieldKind = "list"; - switch (type) { - case TYPE_MESSAGE: - case TYPE_GROUP: - field.listKind = "message"; - field.message = reg.getMessage(trimLeadingDot(proto.typeName)); - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - assert(field.message); - field.delimitedEncoding = isDelimitedEncoding(proto, parentOrFile); - break; - case TYPE_ENUM: - field.listKind = "enum"; - field.enum = reg.getEnum(trimLeadingDot(proto.typeName)); - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - assert(field.enum); - break; - default: - field.listKind = "scalar"; - field.scalar = type; - field.longAsString = jstype == JS_STRING; - break; - } - field.packed = isPackedField(proto, parentOrFile); - return field; - } - // singular - switch (type) { - case TYPE_MESSAGE: - case TYPE_GROUP: - field.fieldKind = "message"; - field.message = reg.getMessage(trimLeadingDot(proto.typeName)); - assert( - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - field.message, `invalid FieldDescriptorProto: type_name ${proto.typeName} not found`); - field.delimitedEncoding = isDelimitedEncoding(proto, parentOrFile); - field.getDefaultValue = () => undefined; - break; - case TYPE_ENUM: { - const enumeration = reg.getEnum(trimLeadingDot(proto.typeName)); - assert(enumeration !== undefined, `invalid FieldDescriptorProto: type_name ${proto.typeName} not found`); - field.fieldKind = "enum"; - field.enum = reg.getEnum(trimLeadingDot(proto.typeName)); - field.getDefaultValue = () => { - return (0, unsafe_js_1.unsafeIsSetExplicit)(proto, "defaultValue") - ? (0, text_format_js_1.parseTextFormatEnumValue)(enumeration, proto.defaultValue) - : undefined; - }; - break; - } - default: { - field.fieldKind = "scalar"; - field.scalar = type; - field.longAsString = jstype == JS_STRING; - field.getDefaultValue = () => { - return (0, unsafe_js_1.unsafeIsSetExplicit)(proto, "defaultValue") - ? (0, text_format_js_1.parseTextFormatScalarValue)(type, proto.defaultValue) - : undefined; - }; - break; - } - } - return field; -} -/** - * Parse the "syntax" and "edition" fields, returning one of the supported - * editions. - */ -function getFileEdition(proto) { - switch (proto.syntax) { - case "": - case "proto2": - return EDITION_PROTO2; - case "proto3": - return EDITION_PROTO3; - case "editions": - if (proto.edition in featureDefaults) { - return proto.edition; - } - throw new Error(`${proto.name}: unsupported edition`); - default: - throw new Error(`${proto.name}: unsupported syntax "${proto.syntax}"`); - } -} -/** - * Resolve dependencies of FileDescriptorProto to DescFile. - */ -function findFileDependencies(proto, reg) { - return proto.dependency.map((wantName) => { - const dep = reg.getFile(wantName); - if (!dep) { - throw new Error(`Cannot find ${wantName}, imported by ${proto.name}`); - } - return dep; - }); -} -/** - * Finds a prefix shared by enum values, for example `my_enum_` for - * `enum MyEnum {MY_ENUM_A=0; MY_ENUM_B=1;}`. - */ -function findEnumSharedPrefix(enumName, values) { - const prefix = camelToSnakeCase(enumName) + "_"; - for (const value of values) { - if (!value.name.toLowerCase().startsWith(prefix)) { - return undefined; - } - const shortName = value.name.substring(prefix.length); - if (shortName.length == 0) { - return undefined; - } - if (/^\d/.test(shortName)) { - // identifiers must not start with numbers - return undefined; - } - } - return prefix; -} -/** - * Converts lowerCamelCase or UpperCamelCase into lower_snake_case. - * This is used to find shared prefixes in an enum. - */ -function camelToSnakeCase(camel) { - return (camel.substring(0, 1) + camel.substring(1).replace(/[A-Z]/g, (c) => "_" + c)).toLowerCase(); -} -/** - * Create a fully qualified name for a protobuf type or extension field. - * - * The fully qualified name for messages, enumerations, and services is - * constructed by concatenating the package name (if present), parent - * message names (for nested types), and the type name. We omit the leading - * dot added by protobuf compilers. Examples: - * - mypackage.MyMessage - * - mypackage.MyMessage.NestedMessage - * - * The fully qualified name for extension fields is constructed by - * concatenating the package name (if present), parent message names (for - * extensions declared within a message), and the field name. Examples: - * - mypackage.extfield - * - mypackage.MyMessage.extfield - */ -function makeTypeName(proto, parent, file) { - let typeName; - if (parent) { - typeName = `${parent.typeName}.${proto.name}`; - } - else if (file.proto.package.length > 0) { - typeName = `${file.proto.package}.${proto.name}`; - } - else { - typeName = `${proto.name}`; - } - return typeName; -} -/** - * Remove the leading dot from a fully qualified type name. - */ -function trimLeadingDot(typeName) { - return typeName.startsWith(".") ? typeName.substring(1) : typeName; -} -/** - * Did the user put the field in a oneof group? - * Synthetic oneofs for proto3 optionals are ignored. - */ -function findOneof(proto, allOneofs) { - if (!(0, unsafe_js_1.unsafeIsSetExplicit)(proto, "oneofIndex")) { - return undefined; - } - if (proto.proto3Optional) { - return undefined; - } - const oneof = allOneofs[proto.oneofIndex]; - assert( - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - oneof, `invalid FieldDescriptorProto: oneof #${proto.oneofIndex} for field #${proto.number} not found`); - return oneof; -} -/** - * Presence of the field. - * See https://protobuf.dev/programming-guides/field_presence/ - */ -function getFieldPresence(proto, oneof, isExtension, parent) { - if (proto.label == LABEL_REQUIRED) { - // proto2 required is LEGACY_REQUIRED - return LEGACY_REQUIRED; - } - if (proto.label == LABEL_REPEATED) { - // repeated fields (including maps) do not track presence - return IMPLICIT; - } - if (!!oneof || proto.proto3Optional) { - // oneof is always explicit - return EXPLICIT; - } - if (proto.type == TYPE_MESSAGE) { - // singular message field cannot be implicit - return EXPLICIT; - } - if (isExtension) { - // extensions always track presence - return EXPLICIT; - } - return resolveFeature("fieldPresence", { proto, parent }); -} -/** - * Pack this repeated field? - */ -function isPackedField(proto, parent) { - if (proto.label != LABEL_REPEATED) { - return false; - } - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (proto.type) { - case TYPE_STRING: - case TYPE_BYTES: - case TYPE_GROUP: - case TYPE_MESSAGE: - // length-delimited types cannot be packed - return false; - } - const o = proto.options; - if (o && (0, unsafe_js_1.unsafeIsSetExplicit)(o, "packed")) { - // prefer the field option over edition features - return o.packed; - } - return (PACKED == - resolveFeature("repeatedFieldEncoding", { - proto, - parent, - })); -} -/** - * Find the key and value fields of a synthetic map entry message. - */ -function findMapEntryFields(mapEntry) { - const key = mapEntry.fields.find((f) => f.number === 1); - const value = mapEntry.fields.find((f) => f.number === 2); - assert(key && - key.fieldKind == "scalar" && - key.scalar != descriptors_js_1.ScalarType.BYTES && - key.scalar != descriptors_js_1.ScalarType.FLOAT && - key.scalar != descriptors_js_1.ScalarType.DOUBLE && - value && - value.fieldKind != "list" && - value.fieldKind != "map"); - return { key, value }; -} -/** - * Enumerations can be open or closed. - * See https://protobuf.dev/programming-guides/enum/ - */ -function isEnumOpen(desc) { - var _a; - return (OPEN == - resolveFeature("enumType", { - proto: desc.proto, - parent: (_a = desc.parent) !== null && _a !== void 0 ? _a : desc.file, - })); -} -/** - * Encode the message delimited (a.k.a. proto2 group encoding), or - * length-prefixed? - */ -function isDelimitedEncoding(proto, parent) { - if (proto.type == TYPE_GROUP) { - return true; - } - return (DELIMITED == - resolveFeature("messageEncoding", { - proto, - parent, - })); -} -function resolveFeature(name, ref) { - var _a, _b; - const featureSet = (_a = ref.proto.options) === null || _a === void 0 ? void 0 : _a.features; - if (featureSet) { - const val = featureSet[name]; - if (val != 0) { - return val; - } - } - if ("kind" in ref) { - if (ref.kind == "message") { - return resolveFeature(name, (_b = ref.parent) !== null && _b !== void 0 ? _b : ref.file); - } - const editionDefaults = featureDefaults[ref.edition]; - if (!editionDefaults) { - throw new Error(`feature default for edition ${ref.edition} not found`); - } - return editionDefaults[name]; - } - return resolveFeature(name, ref.parent); -} -/** - * Assert that condition is truthy or throw error (with message) - */ -function assert(condition, msg) { - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions -- we want the implicit conversion to boolean - if (!condition) { - throw new Error(msg); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/to-binary.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/to-binary.d.ts deleted file mode 100644 index 8832dca..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/to-binary.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import type { MessageShape } from "./types.js"; -import { BinaryWriter } from "./wire/binary-encoding.js"; -import { type DescField, type DescMessage } from "./descriptors.js"; -import type { ReflectMessage } from "./reflect/index.js"; -/** - * Options for serializing to binary data. - * - * V1 also had the option `readerFactory` for using a custom implementation to - * encode to binary. - */ -export interface BinaryWriteOptions { - /** - * Include unknown fields in the serialized output? The default behavior - * is to retain unknown fields and include them in the serialized output. - * - * For more details see https://developers.google.com/protocol-buffers/docs/proto3#unknowns - */ - writeUnknownFields: boolean; -} -export declare function toBinary(schema: Desc, message: MessageShape, options?: Partial): Uint8Array; -/** - * @private - */ -export declare function writeField(writer: BinaryWriter, opts: BinaryWriteOptions, msg: ReflectMessage, field: DescField): void; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/to-binary.js b/node_modules/@bufbuild/protobuf/dist/cjs/to-binary.js deleted file mode 100644 index 39e0372..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/to-binary.js +++ /dev/null @@ -1,191 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.toBinary = toBinary; -exports.writeField = writeField; -const reflect_js_1 = require("./reflect/reflect.js"); -const binary_encoding_js_1 = require("./wire/binary-encoding.js"); -const descriptors_js_1 = require("./descriptors.js"); -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.LEGACY_REQUIRED: const $name: FeatureSet_FieldPresence.$localName = $number; -const LEGACY_REQUIRED = 3; -// Default options for serializing binary data. -const writeDefaults = { - writeUnknownFields: true, -}; -function makeWriteOptions(options) { - return options ? Object.assign(Object.assign({}, writeDefaults), options) : writeDefaults; -} -function toBinary(schema, message, options) { - return writeFields(new binary_encoding_js_1.BinaryWriter(), makeWriteOptions(options), (0, reflect_js_1.reflect)(schema, message)).finish(); -} -function writeFields(writer, opts, msg) { - var _a; - for (const f of msg.sortedFields) { - if (!msg.isSet(f)) { - if (f.presence == LEGACY_REQUIRED) { - throw new Error(`cannot encode field ${msg.desc.typeName}.${f.name} to binary: required field not set`); - } - continue; - } - writeField(writer, opts, msg, f); - } - if (opts.writeUnknownFields) { - for (const { no, wireType, data } of (_a = msg.getUnknown()) !== null && _a !== void 0 ? _a : []) { - writer.tag(no, wireType).raw(data); - } - } - return writer; -} -/** - * @private - */ -function writeField(writer, opts, msg, field) { - var _a; - switch (field.fieldKind) { - case "scalar": - case "enum": - writeScalar(writer, (_a = field.scalar) !== null && _a !== void 0 ? _a : descriptors_js_1.ScalarType.INT32, field.number, msg.get(field)); - break; - case "list": - writeListField(writer, opts, field, msg.get(field)); - break; - case "message": - writeMessageField(writer, opts, field, msg.get(field)); - break; - case "map": - for (const [key, val] of msg.get(field)) { - writeMapEntry(writer, opts, field, key, val); - } - break; - } -} -function writeScalar(writer, scalarType, fieldNo, value) { - writeScalarValue(writer.tag(fieldNo, writeTypeOfScalar(scalarType)), scalarType, value); -} -function writeMessageField(writer, opts, field, message) { - if (field.delimitedEncoding) { - writeFields(writer.tag(field.number, binary_encoding_js_1.WireType.StartGroup), opts, message).tag(field.number, binary_encoding_js_1.WireType.EndGroup); - } - else { - writeFields(writer.tag(field.number, binary_encoding_js_1.WireType.LengthDelimited).fork(), opts, message).join(); - } -} -function writeListField(writer, opts, field, list) { - var _a; - if (field.listKind == "message") { - for (const item of list) { - writeMessageField(writer, opts, field, item); - } - return; - } - const scalarType = (_a = field.scalar) !== null && _a !== void 0 ? _a : descriptors_js_1.ScalarType.INT32; - if (field.packed) { - if (!list.size) { - return; - } - writer.tag(field.number, binary_encoding_js_1.WireType.LengthDelimited).fork(); - for (const item of list) { - writeScalarValue(writer, scalarType, item); - } - writer.join(); - return; - } - for (const item of list) { - writeScalar(writer, scalarType, field.number, item); - } -} -function writeMapEntry(writer, opts, field, key, value) { - var _a; - writer.tag(field.number, binary_encoding_js_1.WireType.LengthDelimited).fork(); - // write key, expecting key field number = 1 - writeScalar(writer, field.mapKey, 1, key); - // write value, expecting value field number = 2 - switch (field.mapKind) { - case "scalar": - case "enum": - writeScalar(writer, (_a = field.scalar) !== null && _a !== void 0 ? _a : descriptors_js_1.ScalarType.INT32, 2, value); - break; - case "message": - writeFields(writer.tag(2, binary_encoding_js_1.WireType.LengthDelimited).fork(), opts, value).join(); - break; - } - writer.join(); -} -function writeScalarValue(writer, type, value) { - switch (type) { - case descriptors_js_1.ScalarType.STRING: - writer.string(value); - break; - case descriptors_js_1.ScalarType.BOOL: - writer.bool(value); - break; - case descriptors_js_1.ScalarType.DOUBLE: - writer.double(value); - break; - case descriptors_js_1.ScalarType.FLOAT: - writer.float(value); - break; - case descriptors_js_1.ScalarType.INT32: - writer.int32(value); - break; - case descriptors_js_1.ScalarType.INT64: - writer.int64(value); - break; - case descriptors_js_1.ScalarType.UINT64: - writer.uint64(value); - break; - case descriptors_js_1.ScalarType.FIXED64: - writer.fixed64(value); - break; - case descriptors_js_1.ScalarType.BYTES: - writer.bytes(value); - break; - case descriptors_js_1.ScalarType.FIXED32: - writer.fixed32(value); - break; - case descriptors_js_1.ScalarType.SFIXED32: - writer.sfixed32(value); - break; - case descriptors_js_1.ScalarType.SFIXED64: - writer.sfixed64(value); - break; - case descriptors_js_1.ScalarType.SINT64: - writer.sint64(value); - break; - case descriptors_js_1.ScalarType.UINT32: - writer.uint32(value); - break; - case descriptors_js_1.ScalarType.SINT32: - writer.sint32(value); - break; - } -} -function writeTypeOfScalar(type) { - switch (type) { - case descriptors_js_1.ScalarType.BYTES: - case descriptors_js_1.ScalarType.STRING: - return binary_encoding_js_1.WireType.LengthDelimited; - case descriptors_js_1.ScalarType.DOUBLE: - case descriptors_js_1.ScalarType.FIXED64: - case descriptors_js_1.ScalarType.SFIXED64: - return binary_encoding_js_1.WireType.Bit64; - case descriptors_js_1.ScalarType.FIXED32: - case descriptors_js_1.ScalarType.SFIXED32: - case descriptors_js_1.ScalarType.FLOAT: - return binary_encoding_js_1.WireType.Bit32; - default: - return binary_encoding_js_1.WireType.Varint; - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/to-json.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/to-json.d.ts deleted file mode 100644 index 540881e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/to-json.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { type DescEnum, type DescMessage } from "./descriptors.js"; -import type { JsonValue } from "./json-value.js"; -import type { Registry } from "./registry.js"; -import type { EnumJsonType, EnumShape, MessageJsonType, MessageShape } from "./types.js"; -/** - * Options for serializing to JSON. - */ -export interface JsonWriteOptions { - /** - * By default, fields with implicit presence are not serialized if they are - * unset. For example, an empty list field or a proto3 int32 field with 0 is - * not serialized. With this option enabled, such fields are included in the - * output. - */ - alwaysEmitImplicit: boolean; - /** - * Emit enum values as integers instead of strings: The name of an enum - * value is used by default in JSON output. An option may be provided to - * use the numeric value of the enum value instead. - */ - enumAsInteger: boolean; - /** - * Use proto field name instead of lowerCamelCase name: By default proto3 - * JSON printer should convert the field name to lowerCamelCase and use - * that as the JSON name. An implementation may provide an option to use - * proto field name as the JSON name instead. Proto3 JSON parsers are - * required to accept both the converted lowerCamelCase name and the proto - * field name. - */ - useProtoFieldName: boolean; - /** - * This option is required to write `google.protobuf.Any` and extensions - * to JSON format. - */ - registry?: Registry; -} -/** - * Options for serializing to JSON. - */ -export interface JsonWriteStringOptions extends JsonWriteOptions { - prettySpaces: number; -} -/** - * Serialize the message to a JSON value, a JavaScript value that can be - * passed to JSON.stringify(). - */ -export declare function toJson | undefined = undefined>(schema: Desc, message: MessageShape, options?: Opts): ToJson; -type ToJson> = Opts extends undefined | { - alwaysEmitImplicit?: false; - enumAsInteger?: false; - useProtoFieldName?: false; -} ? MessageJsonType : JsonValue; -/** - * Serialize the message to a JSON string. - */ -export declare function toJsonString(schema: Desc, message: MessageShape, options?: Partial): string; -/** - * Serialize a single enum value to JSON. - */ -export declare function enumToJson(descEnum: Desc, value: EnumShape): EnumJsonType; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/to-json.js b/node_modules/@bufbuild/protobuf/dist/cjs/to-json.js deleted file mode 100644 index 8f7dfc7..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/to-json.js +++ /dev/null @@ -1,389 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.toJson = toJson; -exports.toJsonString = toJsonString; -exports.enumToJson = enumToJson; -const descriptors_js_1 = require("./descriptors.js"); -const names_js_1 = require("./reflect/names.js"); -const reflect_js_1 = require("./reflect/reflect.js"); -const index_js_1 = require("./wkt/index.js"); -const wrappers_js_1 = require("./wkt/wrappers.js"); -const index_js_2 = require("./wire/index.js"); -const extensions_js_1 = require("./extensions.js"); -const reflect_check_js_1 = require("./reflect/reflect-check.js"); -/* eslint-disable @typescript-eslint/restrict-template-expressions */ -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.LEGACY_REQUIRED: const $name: FeatureSet_FieldPresence.$localName = $number; -const LEGACY_REQUIRED = 3; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.IMPLICIT: const $name: FeatureSet_FieldPresence.$localName = $number; -const IMPLICIT = 2; -// Default options for serializing to JSON. -const jsonWriteDefaults = { - alwaysEmitImplicit: false, - enumAsInteger: false, - useProtoFieldName: false, -}; -function makeWriteOptions(options) { - return options ? Object.assign(Object.assign({}, jsonWriteDefaults), options) : jsonWriteDefaults; -} -/** - * Serialize the message to a JSON value, a JavaScript value that can be - * passed to JSON.stringify(). - */ -function toJson(schema, message, options) { - return reflectToJson((0, reflect_js_1.reflect)(schema, message), makeWriteOptions(options)); -} -/** - * Serialize the message to a JSON string. - */ -function toJsonString(schema, message, options) { - var _a; - const jsonValue = toJson(schema, message, options); - return JSON.stringify(jsonValue, null, (_a = options === null || options === void 0 ? void 0 : options.prettySpaces) !== null && _a !== void 0 ? _a : 0); -} -/** - * Serialize a single enum value to JSON. - */ -function enumToJson(descEnum, value) { - var _a; - if (descEnum.typeName == "google.protobuf.NullValue") { - return null; - } - const name = (_a = descEnum.value[value]) === null || _a === void 0 ? void 0 : _a.name; - if (name === undefined) { - throw new Error(`${String(value)} is not a value in ${descEnum.toString()}`); - } - return name; -} -function reflectToJson(msg, opts) { - var _a; - const wktJson = tryWktToJson(msg, opts); - if (wktJson !== undefined) - return wktJson; - const json = {}; - for (const f of msg.sortedFields) { - if (!msg.isSet(f)) { - if (f.presence == LEGACY_REQUIRED) { - throw new Error(`cannot encode field ${msg.desc.typeName}.${f.name} to JSON: required field not set`); - } - if (!opts.alwaysEmitImplicit || f.presence !== IMPLICIT) { - // Fields with implicit presence omit zero values (e.g. empty string) by default - continue; - } - } - const jsonValue = fieldToJson(f, msg.get(f), opts); - if (jsonValue !== undefined) { - json[jsonName(f, opts)] = jsonValue; - } - } - if (opts.registry) { - const tagSeen = new Set(); - for (const uf of (_a = msg.getUnknown()) !== null && _a !== void 0 ? _a : []) { - // Same tag can appear multiple times, so we - // keep track and skip identical ones. - if (tagSeen.has(uf.no)) { - continue; - } - const extension = opts.registry.getExtensionFor(msg.desc, uf.no); - if (!extension) { - continue; - } - const value = (0, extensions_js_1.getExtension)(msg.message, extension); - const [container, field] = (0, extensions_js_1.createExtensionContainer)(extension, value); - const jsonValue = fieldToJson(field, container.get(field), opts); - if (jsonValue !== undefined) { - json[extension.jsonName] = jsonValue; - } - } - } - return json; -} -function fieldToJson(f, val, opts) { - switch (f.fieldKind) { - case "scalar": - return scalarToJson(f, val); - case "message": - return reflectToJson(val, opts); - case "enum": - return enumToJsonInternal(f.enum, val, opts.enumAsInteger); - case "list": - return listToJson(val, opts); - case "map": - return mapToJson(val, opts); - } -} -function mapToJson(map, opts) { - const f = map.field(); - const jsonObj = {}; - switch (f.mapKind) { - case "scalar": - for (const [entryKey, entryValue] of map) { - jsonObj[entryKey] = scalarToJson(f, entryValue); - } - break; - case "message": - for (const [entryKey, entryValue] of map) { - jsonObj[entryKey] = reflectToJson(entryValue, opts); - } - break; - case "enum": - for (const [entryKey, entryValue] of map) { - jsonObj[entryKey] = enumToJsonInternal(f.enum, entryValue, opts.enumAsInteger); - } - break; - } - return opts.alwaysEmitImplicit || map.size > 0 ? jsonObj : undefined; -} -function listToJson(list, opts) { - const f = list.field(); - const jsonArr = []; - switch (f.listKind) { - case "scalar": - for (const item of list) { - jsonArr.push(scalarToJson(f, item)); - } - break; - case "enum": - for (const item of list) { - jsonArr.push(enumToJsonInternal(f.enum, item, opts.enumAsInteger)); - } - break; - case "message": - for (const item of list) { - jsonArr.push(reflectToJson(item, opts)); - } - break; - } - return opts.alwaysEmitImplicit || jsonArr.length > 0 ? jsonArr : undefined; -} -function enumToJsonInternal(desc, value, enumAsInteger) { - var _a; - if (typeof value != "number") { - throw new Error(`cannot encode ${desc} to JSON: expected number, got ${(0, reflect_check_js_1.formatVal)(value)}`); - } - if (desc.typeName == "google.protobuf.NullValue") { - return null; - } - if (enumAsInteger) { - return value; - } - const val = desc.value[value]; - return (_a = val === null || val === void 0 ? void 0 : val.name) !== null && _a !== void 0 ? _a : value; // if we don't know the enum value, just return the number -} -function scalarToJson(field, value) { - var _a, _b, _c, _d, _e, _f; - switch (field.scalar) { - // int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted. - case descriptors_js_1.ScalarType.INT32: - case descriptors_js_1.ScalarType.SFIXED32: - case descriptors_js_1.ScalarType.SINT32: - case descriptors_js_1.ScalarType.FIXED32: - case descriptors_js_1.ScalarType.UINT32: - if (typeof value != "number") { - throw new Error(`cannot encode ${field} to JSON: ${(_a = (0, reflect_check_js_1.checkField)(field, value)) === null || _a === void 0 ? void 0 : _a.message}`); - } - return value; - // float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity". - // Either numbers or strings are accepted. Exponent notation is also accepted. - case descriptors_js_1.ScalarType.FLOAT: - case descriptors_js_1.ScalarType.DOUBLE: // eslint-disable-line no-fallthrough - if (typeof value != "number") { - throw new Error(`cannot encode ${field} to JSON: ${(_b = (0, reflect_check_js_1.checkField)(field, value)) === null || _b === void 0 ? void 0 : _b.message}`); - } - if (isNaN(value)) - return "NaN"; - if (value === Number.POSITIVE_INFINITY) - return "Infinity"; - if (value === Number.NEGATIVE_INFINITY) - return "-Infinity"; - return value; - // string: - case descriptors_js_1.ScalarType.STRING: - if (typeof value != "string") { - throw new Error(`cannot encode ${field} to JSON: ${(_c = (0, reflect_check_js_1.checkField)(field, value)) === null || _c === void 0 ? void 0 : _c.message}`); - } - return value; - // bool: - case descriptors_js_1.ScalarType.BOOL: - if (typeof value != "boolean") { - throw new Error(`cannot encode ${field} to JSON: ${(_d = (0, reflect_check_js_1.checkField)(field, value)) === null || _d === void 0 ? void 0 : _d.message}`); - } - return value; - // JSON value will be a decimal string. Either numbers or strings are accepted. - case descriptors_js_1.ScalarType.UINT64: - case descriptors_js_1.ScalarType.FIXED64: - case descriptors_js_1.ScalarType.INT64: - case descriptors_js_1.ScalarType.SFIXED64: - case descriptors_js_1.ScalarType.SINT64: - if (typeof value != "bigint" && typeof value != "string") { - throw new Error(`cannot encode ${field} to JSON: ${(_e = (0, reflect_check_js_1.checkField)(field, value)) === null || _e === void 0 ? void 0 : _e.message}`); - } - return value.toString(); - // bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings. - // Either standard or URL-safe base64 encoding with/without paddings are accepted. - case descriptors_js_1.ScalarType.BYTES: - if (value instanceof Uint8Array) { - return (0, index_js_2.base64Encode)(value); - } - throw new Error(`cannot encode ${field} to JSON: ${(_f = (0, reflect_check_js_1.checkField)(field, value)) === null || _f === void 0 ? void 0 : _f.message}`); - } -} -function jsonName(f, opts) { - return opts.useProtoFieldName ? f.name : f.jsonName; -} -// returns a json value if wkt, otherwise returns undefined. -function tryWktToJson(msg, opts) { - if (!msg.desc.typeName.startsWith("google.protobuf.")) { - return undefined; - } - switch (msg.desc.typeName) { - case "google.protobuf.Any": - return anyToJson(msg.message, opts); - case "google.protobuf.Timestamp": - return timestampToJson(msg.message); - case "google.protobuf.Duration": - return durationToJson(msg.message); - case "google.protobuf.FieldMask": - return fieldMaskToJson(msg.message); - case "google.protobuf.Struct": - return structToJson(msg.message); - case "google.protobuf.Value": - return valueToJson(msg.message); - case "google.protobuf.ListValue": - return listValueToJson(msg.message); - default: - if ((0, wrappers_js_1.isWrapperDesc)(msg.desc)) { - const valueField = msg.desc.fields[0]; - return scalarToJson(valueField, msg.get(valueField)); - } - return undefined; - } -} -function anyToJson(val, opts) { - if (val.typeUrl === "") { - return {}; - } - const { registry } = opts; - let message; - let desc; - if (registry) { - message = (0, index_js_1.anyUnpack)(val, registry); - if (message) { - desc = registry.getMessage(message.$typeName); - } - } - if (!desc || !message) { - throw new Error(`cannot encode message ${val.$typeName} to JSON: "${val.typeUrl}" is not in the type registry`); - } - let json = reflectToJson((0, reflect_js_1.reflect)(desc, message), opts); - if (desc.typeName.startsWith("google.protobuf.") || - json === null || - Array.isArray(json) || - typeof json !== "object") { - json = { value: json }; - } - json["@type"] = val.typeUrl; - return json; -} -function durationToJson(val) { - if (Number(val.seconds) > 315576000000 || - Number(val.seconds) < -315576000000) { - throw new Error(`cannot encode message ${val.$typeName} to JSON: value out of range`); - } - let text = val.seconds.toString(); - if (val.nanos !== 0) { - let nanosStr = Math.abs(val.nanos).toString(); - nanosStr = "0".repeat(9 - nanosStr.length) + nanosStr; - if (nanosStr.substring(3) === "000000") { - nanosStr = nanosStr.substring(0, 3); - } - else if (nanosStr.substring(6) === "000") { - nanosStr = nanosStr.substring(0, 6); - } - text += "." + nanosStr; - if (val.nanos < 0 && Number(val.seconds) == 0) { - text = "-" + text; - } - } - return text + "s"; -} -function fieldMaskToJson(val) { - return val.paths - .map((p) => { - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - if (p.match(/_[0-9]?_/g) || p.match(/[A-Z]/g)) { - throw new Error(`cannot encode message ${val.$typeName} to JSON: lowerCamelCase of path name "` + - p + - '" is irreversible'); - } - return (0, names_js_1.protoCamelCase)(p); - }) - .join(","); -} -function structToJson(val) { - const json = {}; - for (const [k, v] of Object.entries(val.fields)) { - json[k] = valueToJson(v); - } - return json; -} -function valueToJson(val) { - switch (val.kind.case) { - case "nullValue": - return null; - case "numberValue": - if (!Number.isFinite(val.kind.value)) { - throw new Error(`${val.$typeName} cannot be NaN or Infinity`); - } - return val.kind.value; - case "boolValue": - return val.kind.value; - case "stringValue": - return val.kind.value; - case "structValue": - return structToJson(val.kind.value); - case "listValue": - return listValueToJson(val.kind.value); - default: - throw new Error(`${val.$typeName} must have a value`); - } -} -function listValueToJson(val) { - return val.values.map(valueToJson); -} -function timestampToJson(val) { - const ms = Number(val.seconds) * 1000; - if (ms < Date.parse("0001-01-01T00:00:00Z") || - ms > Date.parse("9999-12-31T23:59:59Z")) { - throw new Error(`cannot encode message ${val.$typeName} to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`); - } - if (val.nanos < 0) { - throw new Error(`cannot encode message ${val.$typeName} to JSON: nanos must not be negative`); - } - let z = "Z"; - if (val.nanos > 0) { - const nanosStr = (val.nanos + 1000000000).toString().substring(1); - if (nanosStr.substring(3) === "000000") { - z = "." + nanosStr.substring(0, 3) + "Z"; - } - else if (nanosStr.substring(6) === "000") { - z = "." + nanosStr.substring(0, 6) + "Z"; - } - else { - z = "." + nanosStr + "Z"; - } - } - return new Date(ms).toISOString().replace(".000Z", z); -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/types.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/types.d.ts deleted file mode 100644 index ab2b804..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/types.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import type { GenEnum, GenExtension, GenMessage } from "./codegenv1/types.js"; -import type { DescEnum, DescExtension, DescMessage } from "./descriptors.js"; -import type { OneofADT } from "./reflect/guard.js"; -import type { WireType } from "./wire/index.js"; -import type { JsonValue } from "./json-value.js"; -/** - * The type `Message` contains the properties shared by all messages. - */ -export type Message = { - /** - * The fully qualified Protobuf type-name of the message. - */ - readonly $typeName: TypeName; - /** - * Unknown fields and extensions stored on the message. - */ - $unknown?: UnknownField[]; -}; -/** - * Extract the message type from a message descriptor. - */ -export type MessageShape = Desc extends GenMessage ? RuntimeShape : Message; -/** - * Extract the message JSON type from a message descriptor. - */ -export type MessageJsonType = Desc extends GenMessage ? JsonType : JsonValue; -/** - * Extract the init type from a message descriptor. - * The init type is accepted by the function create(). - */ -export type MessageInitShape = Desc extends GenMessage ? RuntimeShape | MessageInit : Record; -/** - * Extract the enum type of from an enum descriptor. - */ -export type EnumShape = Desc extends GenEnum ? RuntimeShape : number; -/** - * Extract the enum JSON type from a enum descriptor. - */ -export type EnumJsonType = Desc extends GenEnum ? JsonType : string | null; -/** - * Extract the value type from an extension descriptor. - */ -export type ExtensionValueShape = Desc extends GenExtension ? RuntimeShape : unknown; -/** - * Extract the type of the extended message from an extension descriptor. - */ -export type Extendee = Desc extends GenExtension ? Extendee : Message; -/** - * Unknown fields are fields that were not recognized during parsing, or - * extension. - */ -export type UnknownField = { - readonly no: number; - readonly wireType: WireType; - readonly data: Uint8Array; -}; -/** - * The init type for a message, which makes all fields optional. - * The init type is accepted by the function create(). - */ -type MessageInit = { - [P in keyof T as P extends "$typeName" | "$unknown" ? never : P]?: FieldInit; -}; -type FieldInit = F extends (Date | Uint8Array | bigint | boolean | string | number) ? F : F extends Array ? Array> : F extends ReadonlyArray ? ReadonlyArray> : F extends Message ? MessageInit : F extends OneofSelectedMessage ? { - case: C; - value: MessageInit; -} : F extends OneofADT ? F : F extends MapWithMessage ? { - [key: string | number]: MessageInit; -} : F; -type MapWithMessage = { - [key: string | number]: V; -}; -type OneofSelectedMessage = { - case: K; - value: M; -}; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/types.js b/node_modules/@bufbuild/protobuf/dist/cjs/types.js deleted file mode 100644 index d03a43b..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/types.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.d.ts deleted file mode 100644 index cf04e0a..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Decodes a base64 string to a byte array. - * - * - ignores white-space, including line breaks and tabs - * - allows inner padding (can decode concatenated base64 strings) - * - does not require padding - * - understands base64url encoding: - * "-" instead of "+", - * "_" instead of "/", - * no padding - */ -export declare function base64Decode(base64Str: string): Uint8Array; -/** - * Encode a byte array to a base64 string. - * - * By default, this function uses the standard base64 encoding with padding. - * - * To encode without padding, use encoding = "std_raw". - * - * To encode with the URL encoding, use encoding = "url", which replaces the - * characters +/ by their URL-safe counterparts -_, and omits padding. - */ -export declare function base64Encode(bytes: Uint8Array, encoding?: "std" | "std_raw" | "url"): string; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.js b/node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.js deleted file mode 100644 index 2943957..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.js +++ /dev/null @@ -1,155 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.base64Decode = base64Decode; -exports.base64Encode = base64Encode; -/* eslint-disable @typescript-eslint/ban-ts-comment, @typescript-eslint/no-unnecessary-condition, prefer-const */ -/** - * Decodes a base64 string to a byte array. - * - * - ignores white-space, including line breaks and tabs - * - allows inner padding (can decode concatenated base64 strings) - * - does not require padding - * - understands base64url encoding: - * "-" instead of "+", - * "_" instead of "/", - * no padding - */ -function base64Decode(base64Str) { - const table = getDecodeTable(); - // estimate byte size, not accounting for inner padding and whitespace - let es = (base64Str.length * 3) / 4; - if (base64Str[base64Str.length - 2] == "=") - es -= 2; - else if (base64Str[base64Str.length - 1] == "=") - es -= 1; - let bytes = new Uint8Array(es), bytePos = 0, // position in byte array - groupPos = 0, // position in base64 group - b, // current byte - p = 0; // previous byte - for (let i = 0; i < base64Str.length; i++) { - b = table[base64Str.charCodeAt(i)]; - if (b === undefined) { - switch (base64Str[i]) { - // @ts-expect-error TS7029: Fallthrough case in switch - case "=": - groupPos = 0; // reset state when padding found - // eslint-disable-next-line no-fallthrough - case "\n": - case "\r": - case "\t": - case " ": - continue; // skip white-space, and padding - default: - throw Error("invalid base64 string"); - } - } - switch (groupPos) { - case 0: - p = b; - groupPos = 1; - break; - case 1: - bytes[bytePos++] = (p << 2) | ((b & 48) >> 4); - p = b; - groupPos = 2; - break; - case 2: - bytes[bytePos++] = ((p & 15) << 4) | ((b & 60) >> 2); - p = b; - groupPos = 3; - break; - case 3: - bytes[bytePos++] = ((p & 3) << 6) | b; - groupPos = 0; - break; - } - } - if (groupPos == 1) - throw Error("invalid base64 string"); - return bytes.subarray(0, bytePos); -} -/** - * Encode a byte array to a base64 string. - * - * By default, this function uses the standard base64 encoding with padding. - * - * To encode without padding, use encoding = "std_raw". - * - * To encode with the URL encoding, use encoding = "url", which replaces the - * characters +/ by their URL-safe counterparts -_, and omits padding. - */ -function base64Encode(bytes, encoding = "std") { - const table = getEncodeTable(encoding); - const pad = encoding == "std"; - let base64 = "", groupPos = 0, // position in base64 group - b, // current byte - p = 0; // carry over from previous byte - for (let i = 0; i < bytes.length; i++) { - b = bytes[i]; - switch (groupPos) { - case 0: - base64 += table[b >> 2]; - p = (b & 3) << 4; - groupPos = 1; - break; - case 1: - base64 += table[p | (b >> 4)]; - p = (b & 15) << 2; - groupPos = 2; - break; - case 2: - base64 += table[p | (b >> 6)]; - base64 += table[b & 63]; - groupPos = 0; - break; - } - } - // add output padding - if (groupPos) { - base64 += table[p]; - if (pad) { - base64 += "="; - if (groupPos == 1) - base64 += "="; - } - } - return base64; -} -// lookup table from base64 character to byte -let encodeTableStd; -let encodeTableUrl; -// lookup table from base64 character *code* to byte because lookup by number is fast -let decodeTable; -function getEncodeTable(encoding) { - if (!encodeTableStd) { - encodeTableStd = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""); - encodeTableUrl = encodeTableStd.slice(0, -2).concat("-", "_"); - } - return encoding == "url" ? encodeTableUrl : encodeTableStd; -} -function getDecodeTable() { - if (!decodeTable) { - decodeTable = []; - const encodeTable = getEncodeTable("std"); - for (let i = 0; i < encodeTable.length; i++) - decodeTable[encodeTable[i].charCodeAt(0)] = i; - // support base64url variants - decodeTable["-".charCodeAt(0)] = encodeTable.indexOf("+"); - decodeTable["_".charCodeAt(0)] = encodeTable.indexOf("/"); - } - return decodeTable; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.d.ts deleted file mode 100644 index 6dc70f2..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.d.ts +++ /dev/null @@ -1,264 +0,0 @@ -/** - * Protobuf binary format wire types. - * - * A wire type provides just enough information to find the length of the - * following value. - * - * See https://developers.google.com/protocol-buffers/docs/encoding#structure - */ -export declare enum WireType { - /** - * Used for int32, int64, uint32, uint64, sint32, sint64, bool, enum - */ - Varint = 0, - /** - * Used for fixed64, sfixed64, double. - * Always 8 bytes with little-endian byte order. - */ - Bit64 = 1, - /** - * Used for string, bytes, embedded messages, packed repeated fields - * - * Only repeated numeric types (types which use the varint, 32-bit, - * or 64-bit wire types) can be packed. In proto3, such fields are - * packed by default. - */ - LengthDelimited = 2, - /** - * Start of a tag-delimited aggregate, such as a proto2 group, or a message - * in editions with message_encoding = DELIMITED. - */ - StartGroup = 3, - /** - * End of a tag-delimited aggregate. - */ - EndGroup = 4, - /** - * Used for fixed32, sfixed32, float. - * Always 4 bytes with little-endian byte order. - */ - Bit32 = 5 -} -/** - * Maximum value for a 32-bit floating point value (Protobuf FLOAT). - */ -export declare const FLOAT32_MAX = 3.4028234663852886e+38; -/** - * Minimum value for a 32-bit floating point value (Protobuf FLOAT). - */ -export declare const FLOAT32_MIN = -3.4028234663852886e+38; -/** - * Maximum value for an unsigned 32-bit integer (Protobuf UINT32, FIXED32). - */ -export declare const UINT32_MAX = 4294967295; -/** - * Maximum value for a signed 32-bit integer (Protobuf INT32, SFIXED32, SINT32). - */ -export declare const INT32_MAX = 2147483647; -/** - * Minimum value for a signed 32-bit integer (Protobuf INT32, SFIXED32, SINT32). - */ -export declare const INT32_MIN = -2147483648; -export declare class BinaryWriter { - private readonly encodeUtf8; - /** - * We cannot allocate a buffer for the entire output - * because we don't know it's size. - * - * So we collect smaller chunks of known size and - * concat them later. - * - * Use `raw()` to push data to this array. It will flush - * `buf` first. - */ - private chunks; - /** - * A growing buffer for byte values. If you don't know - * the size of the data you are writing, push to this - * array. - */ - protected buf: number[]; - /** - * Previous fork states. - */ - private stack; - constructor(encodeUtf8?: (text: string) => Uint8Array); - /** - * Return all bytes written and reset this writer. - */ - finish(): Uint8Array; - /** - * Start a new fork for length-delimited data like a message - * or a packed repeated field. - * - * Must be joined later with `join()`. - */ - fork(): this; - /** - * Join the last fork. Write its length and bytes, then - * return to the previous state. - */ - join(): this; - /** - * Writes a tag (field number and wire type). - * - * Equivalent to `uint32( (fieldNo << 3 | type) >>> 0 )`. - * - * Generated code should compute the tag ahead of time and call `uint32()`. - */ - tag(fieldNo: number, type: WireType): this; - /** - * Write a chunk of raw bytes. - */ - raw(chunk: Uint8Array): this; - /** - * Write a `uint32` value, an unsigned 32 bit varint. - */ - uint32(value: number): this; - /** - * Write a `int32` value, a signed 32 bit varint. - */ - int32(value: number): this; - /** - * Write a `bool` value, a variant. - */ - bool(value: boolean): this; - /** - * Write a `bytes` value, length-delimited arbitrary data. - */ - bytes(value: Uint8Array): this; - /** - * Write a `string` value, length-delimited data converted to UTF-8 text. - */ - string(value: string): this; - /** - * Write a `float` value, 32-bit floating point number. - */ - float(value: number): this; - /** - * Write a `double` value, a 64-bit floating point number. - */ - double(value: number): this; - /** - * Write a `fixed32` value, an unsigned, fixed-length 32-bit integer. - */ - fixed32(value: number): this; - /** - * Write a `sfixed32` value, a signed, fixed-length 32-bit integer. - */ - sfixed32(value: number): this; - /** - * Write a `sint32` value, a signed, zigzag-encoded 32-bit varint. - */ - sint32(value: number): this; - /** - * Write a `fixed64` value, a signed, fixed-length 64-bit integer. - */ - sfixed64(value: string | number | bigint): this; - /** - * Write a `fixed64` value, an unsigned, fixed-length 64 bit integer. - */ - fixed64(value: string | number | bigint): this; - /** - * Write a `int64` value, a signed 64-bit varint. - */ - int64(value: string | number | bigint): this; - /** - * Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint. - */ - sint64(value: string | number | bigint): this; - /** - * Write a `uint64` value, an unsigned 64-bit varint. - */ - uint64(value: string | number | bigint): this; -} -export declare class BinaryReader { - private readonly decodeUtf8; - /** - * Current position. - */ - pos: number; - /** - * Number of bytes available in this reader. - */ - readonly len: number; - protected readonly buf: Uint8Array; - private readonly view; - constructor(buf: Uint8Array, decodeUtf8?: (bytes: Uint8Array) => string); - /** - * Reads a tag - field number and wire type. - */ - tag(): [number, WireType]; - /** - * Skip one element and return the skipped data. - * - * When skipping StartGroup, provide the tags field number to check for - * matching field number in the EndGroup tag. - */ - skip(wireType: WireType, fieldNo?: number): Uint8Array; - protected varint64: () => [number, number]; - /** - * Throws error if position in byte array is out of range. - */ - protected assertBounds(): void; - /** - * Read a `uint32` field, an unsigned 32 bit varint. - */ - uint32: () => number; - /** - * Read a `int32` field, a signed 32 bit varint. - */ - int32(): number; - /** - * Read a `sint32` field, a signed, zigzag-encoded 32-bit varint. - */ - sint32(): number; - /** - * Read a `int64` field, a signed 64-bit varint. - */ - int64(): bigint | string; - /** - * Read a `uint64` field, an unsigned 64-bit varint. - */ - uint64(): bigint | string; - /** - * Read a `sint64` field, a signed, zig-zag-encoded 64-bit varint. - */ - sint64(): bigint | string; - /** - * Read a `bool` field, a variant. - */ - bool(): boolean; - /** - * Read a `fixed32` field, an unsigned, fixed-length 32-bit integer. - */ - fixed32(): number; - /** - * Read a `sfixed32` field, a signed, fixed-length 32-bit integer. - */ - sfixed32(): number; - /** - * Read a `fixed64` field, an unsigned, fixed-length 64 bit integer. - */ - fixed64(): bigint | string; - /** - * Read a `fixed64` field, a signed, fixed-length 64-bit integer. - */ - sfixed64(): bigint | string; - /** - * Read a `float` field, 32-bit floating point number. - */ - float(): number; - /** - * Read a `double` field, a 64-bit floating point number. - */ - double(): number; - /** - * Read a `bytes` field, length-delimited arbitrary data. - */ - bytes(): Uint8Array; - /** - * Read a `string` field, length-delimited data converted to UTF-8 text. - */ - string(): string; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.js b/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.js deleted file mode 100644 index 3c64068..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.js +++ /dev/null @@ -1,511 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.BinaryReader = exports.BinaryWriter = exports.INT32_MIN = exports.INT32_MAX = exports.UINT32_MAX = exports.FLOAT32_MIN = exports.FLOAT32_MAX = exports.WireType = void 0; -const varint_js_1 = require("./varint.js"); -const proto_int64_js_1 = require("../proto-int64.js"); -const text_encoding_js_1 = require("./text-encoding.js"); -/* eslint-disable prefer-const,no-case-declarations,@typescript-eslint/restrict-plus-operands */ -/** - * Protobuf binary format wire types. - * - * A wire type provides just enough information to find the length of the - * following value. - * - * See https://developers.google.com/protocol-buffers/docs/encoding#structure - */ -var WireType; -(function (WireType) { - /** - * Used for int32, int64, uint32, uint64, sint32, sint64, bool, enum - */ - WireType[WireType["Varint"] = 0] = "Varint"; - /** - * Used for fixed64, sfixed64, double. - * Always 8 bytes with little-endian byte order. - */ - WireType[WireType["Bit64"] = 1] = "Bit64"; - /** - * Used for string, bytes, embedded messages, packed repeated fields - * - * Only repeated numeric types (types which use the varint, 32-bit, - * or 64-bit wire types) can be packed. In proto3, such fields are - * packed by default. - */ - WireType[WireType["LengthDelimited"] = 2] = "LengthDelimited"; - /** - * Start of a tag-delimited aggregate, such as a proto2 group, or a message - * in editions with message_encoding = DELIMITED. - */ - WireType[WireType["StartGroup"] = 3] = "StartGroup"; - /** - * End of a tag-delimited aggregate. - */ - WireType[WireType["EndGroup"] = 4] = "EndGroup"; - /** - * Used for fixed32, sfixed32, float. - * Always 4 bytes with little-endian byte order. - */ - WireType[WireType["Bit32"] = 5] = "Bit32"; -})(WireType || (exports.WireType = WireType = {})); -/** - * Maximum value for a 32-bit floating point value (Protobuf FLOAT). - */ -exports.FLOAT32_MAX = 3.4028234663852886e38; -/** - * Minimum value for a 32-bit floating point value (Protobuf FLOAT). - */ -exports.FLOAT32_MIN = -3.4028234663852886e38; -/** - * Maximum value for an unsigned 32-bit integer (Protobuf UINT32, FIXED32). - */ -exports.UINT32_MAX = 0xffffffff; -/** - * Maximum value for a signed 32-bit integer (Protobuf INT32, SFIXED32, SINT32). - */ -exports.INT32_MAX = 0x7fffffff; -/** - * Minimum value for a signed 32-bit integer (Protobuf INT32, SFIXED32, SINT32). - */ -exports.INT32_MIN = -0x80000000; -class BinaryWriter { - constructor(encodeUtf8 = (0, text_encoding_js_1.getTextEncoding)().encodeUtf8) { - this.encodeUtf8 = encodeUtf8; - /** - * Previous fork states. - */ - this.stack = []; - this.chunks = []; - this.buf = []; - } - /** - * Return all bytes written and reset this writer. - */ - finish() { - this.chunks.push(new Uint8Array(this.buf)); // flush the buffer - let len = 0; - for (let i = 0; i < this.chunks.length; i++) - len += this.chunks[i].length; - let bytes = new Uint8Array(len); - let offset = 0; - for (let i = 0; i < this.chunks.length; i++) { - bytes.set(this.chunks[i], offset); - offset += this.chunks[i].length; - } - this.chunks = []; - return bytes; - } - /** - * Start a new fork for length-delimited data like a message - * or a packed repeated field. - * - * Must be joined later with `join()`. - */ - fork() { - this.stack.push({ chunks: this.chunks, buf: this.buf }); - this.chunks = []; - this.buf = []; - return this; - } - /** - * Join the last fork. Write its length and bytes, then - * return to the previous state. - */ - join() { - // get chunk of fork - let chunk = this.finish(); - // restore previous state - let prev = this.stack.pop(); - if (!prev) - throw new Error("invalid state, fork stack empty"); - this.chunks = prev.chunks; - this.buf = prev.buf; - // write length of chunk as varint - this.uint32(chunk.byteLength); - return this.raw(chunk); - } - /** - * Writes a tag (field number and wire type). - * - * Equivalent to `uint32( (fieldNo << 3 | type) >>> 0 )`. - * - * Generated code should compute the tag ahead of time and call `uint32()`. - */ - tag(fieldNo, type) { - return this.uint32(((fieldNo << 3) | type) >>> 0); - } - /** - * Write a chunk of raw bytes. - */ - raw(chunk) { - if (this.buf.length) { - this.chunks.push(new Uint8Array(this.buf)); - this.buf = []; - } - this.chunks.push(chunk); - return this; - } - /** - * Write a `uint32` value, an unsigned 32 bit varint. - */ - uint32(value) { - assertUInt32(value); - // write value as varint 32, inlined for speed - while (value > 0x7f) { - this.buf.push((value & 0x7f) | 0x80); - value = value >>> 7; - } - this.buf.push(value); - return this; - } - /** - * Write a `int32` value, a signed 32 bit varint. - */ - int32(value) { - assertInt32(value); - (0, varint_js_1.varint32write)(value, this.buf); - return this; - } - /** - * Write a `bool` value, a variant. - */ - bool(value) { - this.buf.push(value ? 1 : 0); - return this; - } - /** - * Write a `bytes` value, length-delimited arbitrary data. - */ - bytes(value) { - this.uint32(value.byteLength); // write length of chunk as varint - return this.raw(value); - } - /** - * Write a `string` value, length-delimited data converted to UTF-8 text. - */ - string(value) { - let chunk = this.encodeUtf8(value); - this.uint32(chunk.byteLength); // write length of chunk as varint - return this.raw(chunk); - } - /** - * Write a `float` value, 32-bit floating point number. - */ - float(value) { - assertFloat32(value); - let chunk = new Uint8Array(4); - new DataView(chunk.buffer).setFloat32(0, value, true); - return this.raw(chunk); - } - /** - * Write a `double` value, a 64-bit floating point number. - */ - double(value) { - let chunk = new Uint8Array(8); - new DataView(chunk.buffer).setFloat64(0, value, true); - return this.raw(chunk); - } - /** - * Write a `fixed32` value, an unsigned, fixed-length 32-bit integer. - */ - fixed32(value) { - assertUInt32(value); - let chunk = new Uint8Array(4); - new DataView(chunk.buffer).setUint32(0, value, true); - return this.raw(chunk); - } - /** - * Write a `sfixed32` value, a signed, fixed-length 32-bit integer. - */ - sfixed32(value) { - assertInt32(value); - let chunk = new Uint8Array(4); - new DataView(chunk.buffer).setInt32(0, value, true); - return this.raw(chunk); - } - /** - * Write a `sint32` value, a signed, zigzag-encoded 32-bit varint. - */ - sint32(value) { - assertInt32(value); - // zigzag encode - value = ((value << 1) ^ (value >> 31)) >>> 0; - (0, varint_js_1.varint32write)(value, this.buf); - return this; - } - /** - * Write a `fixed64` value, a signed, fixed-length 64-bit integer. - */ - sfixed64(value) { - let chunk = new Uint8Array(8), view = new DataView(chunk.buffer), tc = proto_int64_js_1.protoInt64.enc(value); - view.setInt32(0, tc.lo, true); - view.setInt32(4, tc.hi, true); - return this.raw(chunk); - } - /** - * Write a `fixed64` value, an unsigned, fixed-length 64 bit integer. - */ - fixed64(value) { - let chunk = new Uint8Array(8), view = new DataView(chunk.buffer), tc = proto_int64_js_1.protoInt64.uEnc(value); - view.setInt32(0, tc.lo, true); - view.setInt32(4, tc.hi, true); - return this.raw(chunk); - } - /** - * Write a `int64` value, a signed 64-bit varint. - */ - int64(value) { - let tc = proto_int64_js_1.protoInt64.enc(value); - (0, varint_js_1.varint64write)(tc.lo, tc.hi, this.buf); - return this; - } - /** - * Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint. - */ - sint64(value) { - let tc = proto_int64_js_1.protoInt64.enc(value), - // zigzag encode - sign = tc.hi >> 31, lo = (tc.lo << 1) ^ sign, hi = ((tc.hi << 1) | (tc.lo >>> 31)) ^ sign; - (0, varint_js_1.varint64write)(lo, hi, this.buf); - return this; - } - /** - * Write a `uint64` value, an unsigned 64-bit varint. - */ - uint64(value) { - let tc = proto_int64_js_1.protoInt64.uEnc(value); - (0, varint_js_1.varint64write)(tc.lo, tc.hi, this.buf); - return this; - } -} -exports.BinaryWriter = BinaryWriter; -class BinaryReader { - constructor(buf, decodeUtf8 = (0, text_encoding_js_1.getTextEncoding)().decodeUtf8) { - this.decodeUtf8 = decodeUtf8; - this.varint64 = varint_js_1.varint64read; // dirty cast for `this` - /** - * Read a `uint32` field, an unsigned 32 bit varint. - */ - this.uint32 = varint_js_1.varint32read; - this.buf = buf; - this.len = buf.length; - this.pos = 0; - this.view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength); - } - /** - * Reads a tag - field number and wire type. - */ - tag() { - let tag = this.uint32(), fieldNo = tag >>> 3, wireType = tag & 7; - if (fieldNo <= 0 || wireType < 0 || wireType > 5) - throw new Error("illegal tag: field no " + fieldNo + " wire type " + wireType); - return [fieldNo, wireType]; - } - /** - * Skip one element and return the skipped data. - * - * When skipping StartGroup, provide the tags field number to check for - * matching field number in the EndGroup tag. - */ - skip(wireType, fieldNo) { - let start = this.pos; - switch (wireType) { - case WireType.Varint: - while (this.buf[this.pos++] & 0x80) { - // ignore - } - break; - // eslint-disable-next-line - // @ts-expect-error TS7029: Fallthrough case in switch - case WireType.Bit64: - this.pos += 4; - // eslint-disable-next-line no-fallthrough - case WireType.Bit32: - this.pos += 4; - break; - case WireType.LengthDelimited: - let len = this.uint32(); - this.pos += len; - break; - case WireType.StartGroup: - for (;;) { - const [fn, wt] = this.tag(); - if (wt === WireType.EndGroup) { - if (fieldNo !== undefined && fn !== fieldNo) { - throw new Error("invalid end group tag"); - } - break; - } - this.skip(wt, fn); - } - break; - default: - throw new Error("cant skip wire type " + wireType); - } - this.assertBounds(); - return this.buf.subarray(start, this.pos); - } - /** - * Throws error if position in byte array is out of range. - */ - assertBounds() { - if (this.pos > this.len) - throw new RangeError("premature EOF"); - } - /** - * Read a `int32` field, a signed 32 bit varint. - */ - int32() { - return this.uint32() | 0; - } - /** - * Read a `sint32` field, a signed, zigzag-encoded 32-bit varint. - */ - sint32() { - let zze = this.uint32(); - // decode zigzag - return (zze >>> 1) ^ -(zze & 1); - } - /** - * Read a `int64` field, a signed 64-bit varint. - */ - int64() { - return proto_int64_js_1.protoInt64.dec(...this.varint64()); - } - /** - * Read a `uint64` field, an unsigned 64-bit varint. - */ - uint64() { - return proto_int64_js_1.protoInt64.uDec(...this.varint64()); - } - /** - * Read a `sint64` field, a signed, zig-zag-encoded 64-bit varint. - */ - sint64() { - let [lo, hi] = this.varint64(); - // decode zig zag - let s = -(lo & 1); - lo = ((lo >>> 1) | ((hi & 1) << 31)) ^ s; - hi = (hi >>> 1) ^ s; - return proto_int64_js_1.protoInt64.dec(lo, hi); - } - /** - * Read a `bool` field, a variant. - */ - bool() { - let [lo, hi] = this.varint64(); - return lo !== 0 || hi !== 0; - } - /** - * Read a `fixed32` field, an unsigned, fixed-length 32-bit integer. - */ - fixed32() { - return this.view.getUint32((this.pos += 4) - 4, true); - } - /** - * Read a `sfixed32` field, a signed, fixed-length 32-bit integer. - */ - sfixed32() { - return this.view.getInt32((this.pos += 4) - 4, true); - } - /** - * Read a `fixed64` field, an unsigned, fixed-length 64 bit integer. - */ - fixed64() { - return proto_int64_js_1.protoInt64.uDec(this.sfixed32(), this.sfixed32()); - } - /** - * Read a `fixed64` field, a signed, fixed-length 64-bit integer. - */ - sfixed64() { - return proto_int64_js_1.protoInt64.dec(this.sfixed32(), this.sfixed32()); - } - /** - * Read a `float` field, 32-bit floating point number. - */ - float() { - return this.view.getFloat32((this.pos += 4) - 4, true); - } - /** - * Read a `double` field, a 64-bit floating point number. - */ - double() { - return this.view.getFloat64((this.pos += 8) - 8, true); - } - /** - * Read a `bytes` field, length-delimited arbitrary data. - */ - bytes() { - let len = this.uint32(), start = this.pos; - this.pos += len; - this.assertBounds(); - return this.buf.subarray(start, start + len); - } - /** - * Read a `string` field, length-delimited data converted to UTF-8 text. - */ - string() { - return this.decodeUtf8(this.bytes()); - } -} -exports.BinaryReader = BinaryReader; -/** - * Assert a valid signed protobuf 32-bit integer as a number or string. - */ -function assertInt32(arg) { - if (typeof arg == "string") { - arg = Number(arg); - } - else if (typeof arg != "number") { - throw new Error("invalid int32: " + typeof arg); - } - if (!Number.isInteger(arg) || - arg > exports.INT32_MAX || - arg < exports.INT32_MIN) - throw new Error("invalid int32: " + arg); -} -/** - * Assert a valid unsigned protobuf 32-bit integer as a number or string. - */ -function assertUInt32(arg) { - if (typeof arg == "string") { - arg = Number(arg); - } - else if (typeof arg != "number") { - throw new Error("invalid uint32: " + typeof arg); - } - if (!Number.isInteger(arg) || - arg > exports.UINT32_MAX || - arg < 0) - throw new Error("invalid uint32: " + arg); -} -/** - * Assert a valid protobuf float value as a number or string. - */ -function assertFloat32(arg) { - if (typeof arg == "string") { - const o = arg; - arg = Number(arg); - if (isNaN(arg) && o !== "NaN") { - throw new Error("invalid float32: " + o); - } - } - else if (typeof arg != "number") { - throw new Error("invalid float32: " + typeof arg); - } - if (Number.isFinite(arg) && - (arg > exports.FLOAT32_MAX || arg < exports.FLOAT32_MIN)) - throw new Error("invalid float32: " + arg); -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/index.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wire/index.d.ts deleted file mode 100644 index 8630d1f..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from "./binary-encoding.js"; -export * from "./base64-encoding.js"; -export * from "./text-encoding.js"; -export * from "./text-format.js"; -export * from "./size-delimited.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/index.js b/node_modules/@bufbuild/protobuf/dist/cjs/wire/index.js deleted file mode 100644 index 078aa83..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/index.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./binary-encoding.js"), exports); -__exportStar(require("./base64-encoding.js"), exports); -__exportStar(require("./text-encoding.js"), exports); -__exportStar(require("./text-format.js"), exports); -__exportStar(require("./size-delimited.js"), exports); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.d.ts deleted file mode 100644 index 0294989..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import type { DescMessage } from "../descriptors.js"; -import type { BinaryWriteOptions } from "../to-binary.js"; -import type { MessageShape } from "../types.js"; -import type { BinaryReadOptions } from "../from-binary.js"; -/** - * Serialize a message, prefixing it with its size. - * - * A size-delimited message is a varint size in bytes, followed by exactly - * that many bytes of a message serialized with the binary format. - * - * This size-delimited format is compatible with other implementations. - * For details, see https://github.com/protocolbuffers/protobuf/issues/10229 - */ -export declare function sizeDelimitedEncode(messageDesc: Desc, message: MessageShape, options?: BinaryWriteOptions): Uint8Array; -/** - * Parse a stream of size-delimited messages. - * - * A size-delimited message is a varint size in bytes, followed by exactly - * that many bytes of a message serialized with the binary format. - * - * This size-delimited format is compatible with other implementations. - * For details, see https://github.com/protocolbuffers/protobuf/issues/10229 - */ -export declare function sizeDelimitedDecodeStream(messageDesc: Desc, iterable: AsyncIterable, options?: BinaryReadOptions): AsyncIterableIterator>; -/** - * Decodes the size from the given size-delimited message, which may be - * incomplete. - * - * Returns an object with the following properties: - * - size: The size of the delimited message in bytes - * - offset: The offset in the given byte array where the message starts - * - eof: true - * - * If the size-delimited data does not include all bytes of the varint size, - * the following object is returned: - * - size: null - * - offset: null - * - eof: false - * - * This function can be used to implement parsing of size-delimited messages - * from a stream. - */ -export declare function sizeDelimitedPeek(data: Uint8Array): { - readonly eof: false; - readonly size: number; - readonly offset: number; -} | { - readonly eof: true; - readonly size: null; - readonly offset: null; -}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.js b/node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.js deleted file mode 100644 index dd29771..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.js +++ /dev/null @@ -1,153 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -var __asyncValues = (this && this.__asyncValues) || function (o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } -}; -var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } -var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; - function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } - function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.sizeDelimitedEncode = sizeDelimitedEncode; -exports.sizeDelimitedDecodeStream = sizeDelimitedDecodeStream; -exports.sizeDelimitedPeek = sizeDelimitedPeek; -const to_binary_js_1 = require("../to-binary.js"); -const binary_encoding_js_1 = require("./binary-encoding.js"); -const from_binary_js_1 = require("../from-binary.js"); -/** - * Serialize a message, prefixing it with its size. - * - * A size-delimited message is a varint size in bytes, followed by exactly - * that many bytes of a message serialized with the binary format. - * - * This size-delimited format is compatible with other implementations. - * For details, see https://github.com/protocolbuffers/protobuf/issues/10229 - */ -function sizeDelimitedEncode(messageDesc, message, options) { - const writer = new binary_encoding_js_1.BinaryWriter(); - writer.bytes((0, to_binary_js_1.toBinary)(messageDesc, message, options)); - return writer.finish(); -} -/** - * Parse a stream of size-delimited messages. - * - * A size-delimited message is a varint size in bytes, followed by exactly - * that many bytes of a message serialized with the binary format. - * - * This size-delimited format is compatible with other implementations. - * For details, see https://github.com/protocolbuffers/protobuf/issues/10229 - */ -function sizeDelimitedDecodeStream(messageDesc, iterable, options) { - return __asyncGenerator(this, arguments, function* sizeDelimitedDecodeStream_1() { - var _a, e_1, _b, _c; - // append chunk to buffer, returning updated buffer - function append(buffer, chunk) { - const n = new Uint8Array(buffer.byteLength + chunk.byteLength); - n.set(buffer); - n.set(chunk, buffer.length); - return n; - } - let buffer = new Uint8Array(0); - try { - for (var _d = true, iterable_1 = __asyncValues(iterable), iterable_1_1; iterable_1_1 = yield __await(iterable_1.next()), _a = iterable_1_1.done, !_a; _d = true) { - _c = iterable_1_1.value; - _d = false; - const chunk = _c; - buffer = append(buffer, chunk); - for (;;) { - const size = sizeDelimitedPeek(buffer); - if (size.eof) { - // size is incomplete, buffer more data - break; - } - if (size.offset + size.size > buffer.byteLength) { - // message is incomplete, buffer more data - break; - } - yield yield __await((0, from_binary_js_1.fromBinary)(messageDesc, buffer.subarray(size.offset, size.offset + size.size), options)); - buffer = buffer.subarray(size.offset + size.size); - } - } - } - catch (e_1_1) { e_1 = { error: e_1_1 }; } - finally { - try { - if (!_d && !_a && (_b = iterable_1.return)) yield __await(_b.call(iterable_1)); - } - finally { if (e_1) throw e_1.error; } - } - if (buffer.byteLength > 0) { - throw new Error("incomplete data"); - } - }); -} -/** - * Decodes the size from the given size-delimited message, which may be - * incomplete. - * - * Returns an object with the following properties: - * - size: The size of the delimited message in bytes - * - offset: The offset in the given byte array where the message starts - * - eof: true - * - * If the size-delimited data does not include all bytes of the varint size, - * the following object is returned: - * - size: null - * - offset: null - * - eof: false - * - * This function can be used to implement parsing of size-delimited messages - * from a stream. - */ -function sizeDelimitedPeek(data) { - const sizeEof = { eof: true, size: null, offset: null }; - for (let i = 0; i < 10; i++) { - if (i > data.byteLength) { - return sizeEof; - } - if ((data[i] & 0x80) == 0) { - const reader = new binary_encoding_js_1.BinaryReader(data); - let size; - try { - size = reader.uint32(); - } - catch (e) { - if (e instanceof RangeError) { - return sizeEof; - } - throw e; - } - return { - eof: false, - size, - offset: reader.pos, - }; - } - } - throw new Error("invalid varint"); -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.d.ts deleted file mode 100644 index a476ccf..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -interface TextEncoding { - /** - * Verify that the given text is valid UTF-8. - */ - checkUtf8: (text: string) => boolean; - /** - * Encode UTF-8 text to binary. - */ - encodeUtf8: (text: string) => Uint8Array; - /** - * Decode UTF-8 text from binary. - */ - decodeUtf8: (bytes: Uint8Array) => string; -} -/** - * Protobuf-ES requires the Text Encoding API to convert UTF-8 from and to - * binary. This WHATWG API is widely available, but it is not part of the - * ECMAScript standard. On runtimes where it is not available, use this - * function to provide your own implementation. - * - * Note that the Text Encoding API does not provide a way to validate UTF-8. - * Our implementation falls back to use encodeURIComponent(). - */ -export declare function configureTextEncoding(textEncoding: TextEncoding): void; -export declare function getTextEncoding(): TextEncoding; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.js b/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.js deleted file mode 100644 index 9b5d4fe..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.configureTextEncoding = configureTextEncoding; -exports.getTextEncoding = getTextEncoding; -const symbol = Symbol.for("@bufbuild/protobuf/text-encoding"); -/** - * Protobuf-ES requires the Text Encoding API to convert UTF-8 from and to - * binary. This WHATWG API is widely available, but it is not part of the - * ECMAScript standard. On runtimes where it is not available, use this - * function to provide your own implementation. - * - * Note that the Text Encoding API does not provide a way to validate UTF-8. - * Our implementation falls back to use encodeURIComponent(). - */ -function configureTextEncoding(textEncoding) { - globalThis[symbol] = textEncoding; -} -function getTextEncoding() { - if (globalThis[symbol] == undefined) { - const te = new globalThis.TextEncoder(); - const td = new globalThis.TextDecoder(); - globalThis[symbol] = { - encodeUtf8(text) { - return te.encode(text); - }, - decodeUtf8(bytes) { - return td.decode(bytes); - }, - checkUtf8(text) { - try { - encodeURIComponent(text); - return true; - } - catch (e) { - return false; - } - }, - }; - } - return globalThis[symbol]; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.d.ts deleted file mode 100644 index 06bdbdd..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { type DescEnum, ScalarType } from "../descriptors.js"; -/** - * Parse an enum value from the Protobuf text format. - * - * @private - */ -export declare function parseTextFormatEnumValue(descEnum: DescEnum, value: string): number; -/** - * Parse a scalar value from the Protobuf text format. - * - * @private - */ -export declare function parseTextFormatScalarValue(type: ScalarType, value: string): number | boolean | string | bigint | Uint8Array; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.js b/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.js deleted file mode 100644 index 2bb4385..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.js +++ /dev/null @@ -1,200 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.parseTextFormatEnumValue = parseTextFormatEnumValue; -exports.parseTextFormatScalarValue = parseTextFormatScalarValue; -const descriptors_js_1 = require("../descriptors.js"); -const proto_int64_js_1 = require("../proto-int64.js"); -/* eslint-disable @typescript-eslint/restrict-template-expressions */ -/** - * Parse an enum value from the Protobuf text format. - * - * @private - */ -function parseTextFormatEnumValue(descEnum, value) { - const enumValue = descEnum.values.find((v) => v.name === value); - if (!enumValue) { - throw new Error(`cannot parse ${descEnum} default value: ${value}`); - } - return enumValue.number; -} -/** - * Parse a scalar value from the Protobuf text format. - * - * @private - */ -function parseTextFormatScalarValue(type, value) { - switch (type) { - case descriptors_js_1.ScalarType.STRING: - return value; - case descriptors_js_1.ScalarType.BYTES: { - const u = unescapeBytesDefaultValue(value); - if (u === false) { - throw new Error(`cannot parse ${descriptors_js_1.ScalarType[type]} default value: ${value}`); - } - return u; - } - case descriptors_js_1.ScalarType.INT64: - case descriptors_js_1.ScalarType.SFIXED64: - case descriptors_js_1.ScalarType.SINT64: - return proto_int64_js_1.protoInt64.parse(value); - case descriptors_js_1.ScalarType.UINT64: - case descriptors_js_1.ScalarType.FIXED64: - return proto_int64_js_1.protoInt64.uParse(value); - case descriptors_js_1.ScalarType.DOUBLE: - case descriptors_js_1.ScalarType.FLOAT: - switch (value) { - case "inf": - return Number.POSITIVE_INFINITY; - case "-inf": - return Number.NEGATIVE_INFINITY; - case "nan": - return Number.NaN; - default: - return parseFloat(value); - } - case descriptors_js_1.ScalarType.BOOL: - return value === "true"; - case descriptors_js_1.ScalarType.INT32: - case descriptors_js_1.ScalarType.UINT32: - case descriptors_js_1.ScalarType.SINT32: - case descriptors_js_1.ScalarType.FIXED32: - case descriptors_js_1.ScalarType.SFIXED32: - return parseInt(value, 10); - } -} -/** - * Parses a text-encoded default value (proto2) of a BYTES field. - */ -function unescapeBytesDefaultValue(str) { - const b = []; - const input = { - tail: str, - c: "", - next() { - if (this.tail.length == 0) { - return false; - } - this.c = this.tail[0]; - this.tail = this.tail.substring(1); - return true; - }, - take(n) { - if (this.tail.length >= n) { - const r = this.tail.substring(0, n); - this.tail = this.tail.substring(n); - return r; - } - return false; - }, - }; - while (input.next()) { - switch (input.c) { - case "\\": - if (input.next()) { - switch (input.c) { - case "\\": - b.push(input.c.charCodeAt(0)); - break; - case "b": - b.push(0x08); - break; - case "f": - b.push(0x0c); - break; - case "n": - b.push(0x0a); - break; - case "r": - b.push(0x0d); - break; - case "t": - b.push(0x09); - break; - case "v": - b.push(0x0b); - break; - case "0": - case "1": - case "2": - case "3": - case "4": - case "5": - case "6": - case "7": { - const s = input.c; - const t = input.take(2); - if (t === false) { - return false; - } - const n = parseInt(s + t, 8); - if (isNaN(n)) { - return false; - } - b.push(n); - break; - } - case "x": { - const s = input.c; - const t = input.take(2); - if (t === false) { - return false; - } - const n = parseInt(s + t, 16); - if (isNaN(n)) { - return false; - } - b.push(n); - break; - } - case "u": { - const s = input.c; - const t = input.take(4); - if (t === false) { - return false; - } - const n = parseInt(s + t, 16); - if (isNaN(n)) { - return false; - } - const chunk = new Uint8Array(4); - const view = new DataView(chunk.buffer); - view.setInt32(0, n, true); - b.push(chunk[0], chunk[1], chunk[2], chunk[3]); - break; - } - case "U": { - const s = input.c; - const t = input.take(8); - if (t === false) { - return false; - } - const tc = proto_int64_js_1.protoInt64.uEnc(s + t); - const chunk = new Uint8Array(8); - const view = new DataView(chunk.buffer); - view.setInt32(0, tc.lo, true); - view.setInt32(4, tc.hi, true); - b.push(chunk[0], chunk[1], chunk[2], chunk[3], chunk[4], chunk[5], chunk[6], chunk[7]); - break; - } - } - } - break; - default: - b.push(input.c.charCodeAt(0)); - } - } - return new Uint8Array(b); -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.d.ts deleted file mode 100644 index b45ef94..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * Read a 64 bit varint as two JS numbers. - * - * Returns tuple: - * [0]: low bits - * [1]: high bits - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L175 - */ -export declare function varint64read(this: T): [number, number]; -/** - * Write a 64 bit varint, given as two JS numbers, to the given bytes array. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/writer.js#L344 - */ -export declare function varint64write(lo: number, hi: number, bytes: number[]): void; -/** - * Parse decimal string of 64 bit integer value as two JS numbers. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export declare function int64FromString(dec: string): { - lo: number; - hi: number; -}; -/** - * Losslessly converts a 64-bit signed integer in 32:32 split representation - * into a decimal string. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export declare function int64ToString(lo: number, hi: number): string; -/** - * Losslessly converts a 64-bit unsigned integer in 32:32 split representation - * into a decimal string. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export declare function uInt64ToString(lo: number, hi: number): string; -/** - * Write a 32 bit varint, signed or unsigned. Same as `varint64write(0, value, bytes)` - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/1b18833f4f2a2f681f4e4a25cdf3b0a43115ec26/js/binary/encoder.js#L144 - */ -export declare function varint32write(value: number, bytes: number[]): void; -/** - * Read an unsigned 32 bit varint. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L220 - */ -export declare function varint32read(this: T): number; -type ReaderLike = { - buf: Uint8Array; - pos: number; - len: number; - assertBounds(): void; -}; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.js b/node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.js deleted file mode 100644 index 4cc4176..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.js +++ /dev/null @@ -1,323 +0,0 @@ -"use strict"; -// Copyright 2008 Google Inc. All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// -// Code generated by the Protocol Buffer compiler is owned by the owner -// of the input file used when generating it. This code is not -// standalone and requires a support library to be linked with it. This -// support library is itself covered by the above license. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.varint64read = varint64read; -exports.varint64write = varint64write; -exports.int64FromString = int64FromString; -exports.int64ToString = int64ToString; -exports.uInt64ToString = uInt64ToString; -exports.varint32write = varint32write; -exports.varint32read = varint32read; -/* eslint-disable prefer-const,@typescript-eslint/restrict-plus-operands */ -/** - * Read a 64 bit varint as two JS numbers. - * - * Returns tuple: - * [0]: low bits - * [1]: high bits - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L175 - */ -function varint64read() { - let lowBits = 0; - let highBits = 0; - for (let shift = 0; shift < 28; shift += 7) { - let b = this.buf[this.pos++]; - lowBits |= (b & 0x7f) << shift; - if ((b & 0x80) == 0) { - this.assertBounds(); - return [lowBits, highBits]; - } - } - let middleByte = this.buf[this.pos++]; - // last four bits of the first 32 bit number - lowBits |= (middleByte & 0x0f) << 28; - // 3 upper bits are part of the next 32 bit number - highBits = (middleByte & 0x70) >> 4; - if ((middleByte & 0x80) == 0) { - this.assertBounds(); - return [lowBits, highBits]; - } - for (let shift = 3; shift <= 31; shift += 7) { - let b = this.buf[this.pos++]; - highBits |= (b & 0x7f) << shift; - if ((b & 0x80) == 0) { - this.assertBounds(); - return [lowBits, highBits]; - } - } - throw new Error("invalid varint"); -} -/** - * Write a 64 bit varint, given as two JS numbers, to the given bytes array. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/writer.js#L344 - */ -function varint64write(lo, hi, bytes) { - for (let i = 0; i < 28; i = i + 7) { - const shift = lo >>> i; - const hasNext = !(shift >>> 7 == 0 && hi == 0); - const byte = (hasNext ? shift | 0x80 : shift) & 0xff; - bytes.push(byte); - if (!hasNext) { - return; - } - } - const splitBits = ((lo >>> 28) & 0x0f) | ((hi & 0x07) << 4); - const hasMoreBits = !(hi >> 3 == 0); - bytes.push((hasMoreBits ? splitBits | 0x80 : splitBits) & 0xff); - if (!hasMoreBits) { - return; - } - for (let i = 3; i < 31; i = i + 7) { - const shift = hi >>> i; - const hasNext = !(shift >>> 7 == 0); - const byte = (hasNext ? shift | 0x80 : shift) & 0xff; - bytes.push(byte); - if (!hasNext) { - return; - } - } - bytes.push((hi >>> 31) & 0x01); -} -// constants for binary math -const TWO_PWR_32_DBL = 0x100000000; -/** - * Parse decimal string of 64 bit integer value as two JS numbers. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -function int64FromString(dec) { - // Check for minus sign. - const minus = dec[0] === "-"; - if (minus) { - dec = dec.slice(1); - } - // Work 6 decimal digits at a time, acting like we're converting base 1e6 - // digits to binary. This is safe to do with floating point math because - // Number.isSafeInteger(ALL_32_BITS * 1e6) == true. - const base = 1e6; - let lowBits = 0; - let highBits = 0; - function add1e6digit(begin, end) { - // Note: Number('') is 0. - const digit1e6 = Number(dec.slice(begin, end)); - highBits *= base; - lowBits = lowBits * base + digit1e6; - // Carry bits from lowBits to - if (lowBits >= TWO_PWR_32_DBL) { - highBits = highBits + ((lowBits / TWO_PWR_32_DBL) | 0); - lowBits = lowBits % TWO_PWR_32_DBL; - } - } - add1e6digit(-24, -18); - add1e6digit(-18, -12); - add1e6digit(-12, -6); - add1e6digit(-6); - return minus ? negate(lowBits, highBits) : newBits(lowBits, highBits); -} -/** - * Losslessly converts a 64-bit signed integer in 32:32 split representation - * into a decimal string. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -function int64ToString(lo, hi) { - let bits = newBits(lo, hi); - // If we're treating the input as a signed value and the high bit is set, do - // a manual two's complement conversion before the decimal conversion. - const negative = bits.hi & 0x80000000; - if (negative) { - bits = negate(bits.lo, bits.hi); - } - const result = uInt64ToString(bits.lo, bits.hi); - return negative ? "-" + result : result; -} -/** - * Losslessly converts a 64-bit unsigned integer in 32:32 split representation - * into a decimal string. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -function uInt64ToString(lo, hi) { - ({ lo, hi } = toUnsigned(lo, hi)); - // Skip the expensive conversion if the number is small enough to use the - // built-in conversions. - // Number.MAX_SAFE_INTEGER = 0x001FFFFF FFFFFFFF, thus any number with - // highBits <= 0x1FFFFF can be safely expressed with a double and retain - // integer precision. - // Proven by: Number.isSafeInteger(0x1FFFFF * 2**32 + 0xFFFFFFFF) == true. - if (hi <= 0x1fffff) { - return String(TWO_PWR_32_DBL * hi + lo); - } - // What this code is doing is essentially converting the input number from - // base-2 to base-1e7, which allows us to represent the 64-bit range with - // only 3 (very large) digits. Those digits are then trivial to convert to - // a base-10 string. - // The magic numbers used here are - - // 2^24 = 16777216 = (1,6777216) in base-1e7. - // 2^48 = 281474976710656 = (2,8147497,6710656) in base-1e7. - // Split 32:32 representation into 16:24:24 representation so our - // intermediate digits don't overflow. - const low = lo & 0xffffff; - const mid = ((lo >>> 24) | (hi << 8)) & 0xffffff; - const high = (hi >> 16) & 0xffff; - // Assemble our three base-1e7 digits, ignoring carries. The maximum - // value in a digit at this step is representable as a 48-bit integer, which - // can be stored in a 64-bit floating point number. - let digitA = low + mid * 6777216 + high * 6710656; - let digitB = mid + high * 8147497; - let digitC = high * 2; - // Apply carries from A to B and from B to C. - const base = 10000000; - if (digitA >= base) { - digitB += Math.floor(digitA / base); - digitA %= base; - } - if (digitB >= base) { - digitC += Math.floor(digitB / base); - digitB %= base; - } - // If digitC is 0, then we should have returned in the trivial code path - // at the top for non-safe integers. Given this, we can assume both digitB - // and digitA need leading zeros. - return (digitC.toString() + - decimalFrom1e7WithLeadingZeros(digitB) + - decimalFrom1e7WithLeadingZeros(digitA)); -} -function toUnsigned(lo, hi) { - return { lo: lo >>> 0, hi: hi >>> 0 }; -} -function newBits(lo, hi) { - return { lo: lo | 0, hi: hi | 0 }; -} -/** - * Returns two's compliment negation of input. - * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#Signed_32-bit_integers - */ -function negate(lowBits, highBits) { - highBits = ~highBits; - if (lowBits) { - lowBits = ~lowBits + 1; - } - else { - // If lowBits is 0, then bitwise-not is 0xFFFFFFFF, - // adding 1 to that, results in 0x100000000, which leaves - // the low bits 0x0 and simply adds one to the high bits. - highBits += 1; - } - return newBits(lowBits, highBits); -} -/** - * Returns decimal representation of digit1e7 with leading zeros. - */ -const decimalFrom1e7WithLeadingZeros = (digit1e7) => { - const partial = String(digit1e7); - return "0000000".slice(partial.length) + partial; -}; -/** - * Write a 32 bit varint, signed or unsigned. Same as `varint64write(0, value, bytes)` - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/1b18833f4f2a2f681f4e4a25cdf3b0a43115ec26/js/binary/encoder.js#L144 - */ -function varint32write(value, bytes) { - if (value >= 0) { - // write value as varint 32 - while (value > 0x7f) { - bytes.push((value & 0x7f) | 0x80); - value = value >>> 7; - } - bytes.push(value); - } - else { - for (let i = 0; i < 9; i++) { - bytes.push((value & 127) | 128); - value = value >> 7; - } - bytes.push(1); - } -} -/** - * Read an unsigned 32 bit varint. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L220 - */ -function varint32read() { - let b = this.buf[this.pos++]; - let result = b & 0x7f; - if ((b & 0x80) == 0) { - this.assertBounds(); - return result; - } - b = this.buf[this.pos++]; - result |= (b & 0x7f) << 7; - if ((b & 0x80) == 0) { - this.assertBounds(); - return result; - } - b = this.buf[this.pos++]; - result |= (b & 0x7f) << 14; - if ((b & 0x80) == 0) { - this.assertBounds(); - return result; - } - b = this.buf[this.pos++]; - result |= (b & 0x7f) << 21; - if ((b & 0x80) == 0) { - this.assertBounds(); - return result; - } - // Extract only last 4 bits - b = this.buf[this.pos++]; - result |= (b & 0x0f) << 28; - for (let readBytes = 5; (b & 0x80) !== 0 && readBytes < 10; readBytes++) - b = this.buf[this.pos++]; - if ((b & 0x80) != 0) - throw new Error("invalid varint"); - this.assertBounds(); - // Result can have 32 bits, convert it to unsigned - return result >>> 0; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.d.ts deleted file mode 100644 index 5d41781..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import type { Message, MessageShape } from "../types.js"; -import type { Any } from "./gen/google/protobuf/any_pb.js"; -import type { DescMessage } from "../descriptors.js"; -import type { Registry } from "../registry.js"; -/** - * Creates a `google.protobuf.Any` from a message. - */ -export declare function anyPack(schema: Desc, message: MessageShape): Any; -/** - * Packs the message into the given any. - */ -export declare function anyPack(schema: Desc, message: MessageShape, into: Any): void; -/** - * Returns true if the Any contains the type given by schema. - */ -export declare function anyIs(any: Any, schema: DescMessage): boolean; -/** - * Returns true if the Any contains a message with the given typeName. - */ -export declare function anyIs(any: Any, typeName: string): boolean; -/** - * Unpacks the message the Any represents. - * - * Returns undefined if the Any is empty, or if packed type is not included - * in the given registry. - */ -export declare function anyUnpack(any: Any, registry: Registry): Message | undefined; -/** - * Unpacks the message the Any represents. - * - * Returns undefined if the Any is empty, or if it does not contain the type - * given by schema. - */ -export declare function anyUnpack(any: Any, schema: Desc): MessageShape | undefined; -/** - * Same as anyUnpack but unpacks into the target message. - */ -export declare function anyUnpackTo(any: Any, schema: Desc, message: MessageShape): MessageShape | undefined; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.js deleted file mode 100644 index 7f11787..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.js +++ /dev/null @@ -1,75 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.anyPack = anyPack; -exports.anyIs = anyIs; -exports.anyUnpack = anyUnpack; -exports.anyUnpackTo = anyUnpackTo; -const any_pb_js_1 = require("./gen/google/protobuf/any_pb.js"); -const create_js_1 = require("../create.js"); -const to_binary_js_1 = require("../to-binary.js"); -const from_binary_js_1 = require("../from-binary.js"); -function anyPack(schema, message, into) { - let ret = false; - if (!into) { - into = (0, create_js_1.create)(any_pb_js_1.AnySchema); - ret = true; - } - into.value = (0, to_binary_js_1.toBinary)(schema, message); - into.typeUrl = typeNameToUrl(message.$typeName); - return ret ? into : undefined; -} -function anyIs(any, descOrTypeName) { - if (any.typeUrl === "") { - return false; - } - const want = typeof descOrTypeName == "string" - ? descOrTypeName - : descOrTypeName.typeName; - const got = typeUrlToName(any.typeUrl); - return want === got; -} -function anyUnpack(any, registryOrMessageDesc) { - if (any.typeUrl === "") { - return undefined; - } - const desc = registryOrMessageDesc.kind == "message" - ? registryOrMessageDesc - : registryOrMessageDesc.getMessage(typeUrlToName(any.typeUrl)); - if (!desc) { - return undefined; - } - return (0, from_binary_js_1.fromBinary)(desc, any.value); -} -/** - * Same as anyUnpack but unpacks into the target message. - */ -function anyUnpackTo(any, schema, message) { - if (any.typeUrl === "") { - return undefined; - } - return (0, from_binary_js_1.mergeFromBinary)(schema, message, any.value); -} -function typeNameToUrl(name) { - return `type.googleapis.com/${name}`; -} -function typeUrlToName(url) { - const slash = url.lastIndexOf("/"); - const name = slash >= 0 ? url.substring(slash + 1) : url; - if (!name.length) { - throw new Error(`invalid type url: ${url}`); - } - return name; -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.d.ts deleted file mode 100644 index 0ab32e7..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.d.ts +++ /dev/null @@ -1,149 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/any.proto. - */ -export declare const file_google_protobuf_any: GenFile; -/** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * Protobuf library provides support to pack/unpack Any values in the form - * of utility functions or additional generated methods of the Any type. - * - * Example 1: Pack and unpack a message in C++. - * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } - * - * Example 2: Pack and unpack a message in Java. - * - * Foo foo = ...; - * Any any = Any.pack(foo); - * ... - * if (any.is(Foo.class)) { - * foo = any.unpack(Foo.class); - * } - * // or ... - * if (any.isSameTypeAs(Foo.getDefaultInstance())) { - * foo = any.unpack(Foo.getDefaultInstance()); - * } - * - * Example 3: Pack and unpack a message in Python. - * - * foo = Foo(...) - * any = Any() - * any.Pack(foo) - * ... - * if any.Is(Foo.DESCRIPTOR): - * any.Unpack(foo) - * ... - * - * Example 4: Pack and unpack a message in Go - * - * foo := &pb.Foo{...} - * any, err := anypb.New(foo) - * if err != nil { - * ... - * } - * ... - * foo := &pb.Foo{} - * if err := any.UnmarshalTo(foo); err != nil { - * ... - * } - * - * The pack methods provided by protobuf library will by default use - * 'type.googleapis.com/full.type.name' as the type URL and the unpack - * methods only use the fully qualified type name after the last '/' - * in the type URL, for example "foo.bar.com/x/y.z" will yield type - * name "y.z". - * - * JSON - * ==== - * The JSON representation of an `Any` value uses the regular - * representation of the deserialized, embedded message, with an - * additional field `@type` which contains the type URL. Example: - * - * package google.profile; - * message Person { - * string first_name = 1; - * string last_name = 2; - * } - * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } - * - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - * - * - * @generated from message google.protobuf.Any - */ -export type Any = Message<"google.protobuf.Any"> & { - /** - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. As of May 2023, there are no widely used type server - * implementations and no plans to implement one. - * - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - * - * - * @generated from field: string type_url = 1; - */ - typeUrl: string; - /** - * Must be a valid serialized protocol buffer of the above specified type. - * - * @generated from field: bytes value = 2; - */ - value: Uint8Array; -}; -/** - * JSON type for the message google.protobuf.Any. - */ -export type AnyJson = { - "@type"?: string; -}; -/** - * Describes the message google.protobuf.Any. - * Use `create(AnySchema)` to create a new message. - */ -export declare const AnySchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.js deleted file mode 100644 index cd173ff..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.AnySchema = exports.file_google_protobuf_any = void 0; -const file_js_1 = require("../../../../codegenv1/file.js"); -const message_js_1 = require("../../../../codegenv1/message.js"); -/** - * Describes the file google/protobuf/any.proto. - */ -exports.file_google_protobuf_any = (0, file_js_1.fileDesc)("Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYiJgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQnYKE2NvbS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAFaLGdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2FueXBiogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"); -/** - * Describes the message google.protobuf.Any. - * Use `create(AnySchema)` to create a new message. - */ -exports.AnySchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_any, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.d.ts deleted file mode 100644 index cd0b65f..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.d.ts +++ /dev/null @@ -1,326 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { SourceContext, SourceContextJson } from "./source_context_pb.js"; -import type { Option, OptionJson, Syntax, SyntaxJson } from "./type_pb.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/api.proto. - */ -export declare const file_google_protobuf_api: GenFile; -/** - * Api is a light-weight descriptor for an API Interface. - * - * Interfaces are also described as "protocol buffer services" in some contexts, - * such as by the "service" keyword in a .proto file, but they are different - * from API Services, which represent a concrete implementation of an interface - * as opposed to simply a description of methods and bindings. They are also - * sometimes simply referred to as "APIs" in other contexts, such as the name of - * this message itself. See https://cloud.google.com/apis/design/glossary for - * detailed terminology. - * - * @generated from message google.protobuf.Api - */ -export type Api = Message<"google.protobuf.Api"> & { - /** - * The fully qualified name of this interface, including package name - * followed by the interface's simple name. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * The methods of this interface, in unspecified order. - * - * @generated from field: repeated google.protobuf.Method methods = 2; - */ - methods: Method[]; - /** - * Any metadata attached to the interface. - * - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options: Option[]; - /** - * A version string for this interface. If specified, must have the form - * `major-version.minor-version`, as in `1.10`. If the minor version is - * omitted, it defaults to zero. If the entire version field is empty, the - * major version is derived from the package name, as outlined below. If the - * field is not empty, the version in the package name will be verified to be - * consistent with what is provided here. - * - * The versioning schema uses [semantic - * versioning](http://semver.org) where the major version number - * indicates a breaking change and the minor version an additive, - * non-breaking change. Both version numbers are signals to users - * what to expect from different versions, and should be carefully - * chosen based on the product plan. - * - * The major version is also reflected in the package name of the - * interface, which must end in `v`, as in - * `google.feature.v1`. For major versions 0 and 1, the suffix can - * be omitted. Zero major versions must only be used for - * experimental, non-GA interfaces. - * - * - * @generated from field: string version = 4; - */ - version: string; - /** - * Source context for the protocol buffer service represented by this - * message. - * - * @generated from field: google.protobuf.SourceContext source_context = 5; - */ - sourceContext?: SourceContext; - /** - * Included interfaces. See [Mixin][]. - * - * @generated from field: repeated google.protobuf.Mixin mixins = 6; - */ - mixins: Mixin[]; - /** - * The source syntax of the service. - * - * @generated from field: google.protobuf.Syntax syntax = 7; - */ - syntax: Syntax; -}; -/** - * JSON type for the message google.protobuf.Api. - */ -export type ApiJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.Method methods = 2; - */ - methods?: MethodJson[]; - /** - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options?: OptionJson[]; - /** - * @generated from field: string version = 4; - */ - version?: string; - /** - * @generated from field: google.protobuf.SourceContext source_context = 5; - */ - sourceContext?: SourceContextJson; - /** - * @generated from field: repeated google.protobuf.Mixin mixins = 6; - */ - mixins?: MixinJson[]; - /** - * @generated from field: google.protobuf.Syntax syntax = 7; - */ - syntax?: SyntaxJson; -}; -/** - * Describes the message google.protobuf.Api. - * Use `create(ApiSchema)` to create a new message. - */ -export declare const ApiSchema: GenMessage; -/** - * Method represents a method of an API interface. - * - * @generated from message google.protobuf.Method - */ -export type Method = Message<"google.protobuf.Method"> & { - /** - * The simple name of this method. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * A URL of the input message type. - * - * @generated from field: string request_type_url = 2; - */ - requestTypeUrl: string; - /** - * If true, the request is streamed. - * - * @generated from field: bool request_streaming = 3; - */ - requestStreaming: boolean; - /** - * The URL of the output message type. - * - * @generated from field: string response_type_url = 4; - */ - responseTypeUrl: string; - /** - * If true, the response is streamed. - * - * @generated from field: bool response_streaming = 5; - */ - responseStreaming: boolean; - /** - * Any metadata attached to the method. - * - * @generated from field: repeated google.protobuf.Option options = 6; - */ - options: Option[]; - /** - * The source syntax of this method. - * - * @generated from field: google.protobuf.Syntax syntax = 7; - */ - syntax: Syntax; -}; -/** - * JSON type for the message google.protobuf.Method. - */ -export type MethodJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: string request_type_url = 2; - */ - requestTypeUrl?: string; - /** - * @generated from field: bool request_streaming = 3; - */ - requestStreaming?: boolean; - /** - * @generated from field: string response_type_url = 4; - */ - responseTypeUrl?: string; - /** - * @generated from field: bool response_streaming = 5; - */ - responseStreaming?: boolean; - /** - * @generated from field: repeated google.protobuf.Option options = 6; - */ - options?: OptionJson[]; - /** - * @generated from field: google.protobuf.Syntax syntax = 7; - */ - syntax?: SyntaxJson; -}; -/** - * Describes the message google.protobuf.Method. - * Use `create(MethodSchema)` to create a new message. - */ -export declare const MethodSchema: GenMessage; -/** - * Declares an API Interface to be included in this interface. The including - * interface must redeclare all the methods from the included interface, but - * documentation and options are inherited as follows: - * - * - If after comment and whitespace stripping, the documentation - * string of the redeclared method is empty, it will be inherited - * from the original method. - * - * - Each annotation belonging to the service config (http, - * visibility) which is not set in the redeclared method will be - * inherited. - * - * - If an http annotation is inherited, the path pattern will be - * modified as follows. Any version prefix will be replaced by the - * version of the including interface plus the [root][] path if - * specified. - * - * Example of a simple mixin: - * - * package google.acl.v1; - * service AccessControl { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v1/{resource=**}:getAcl"; - * } - * } - * - * package google.storage.v2; - * service Storage { - * rpc GetAcl(GetAclRequest) returns (Acl); - * - * // Get a data record. - * rpc GetData(GetDataRequest) returns (Data) { - * option (google.api.http).get = "/v2/{resource=**}"; - * } - * } - * - * Example of a mixin configuration: - * - * apis: - * - name: google.storage.v2.Storage - * mixins: - * - name: google.acl.v1.AccessControl - * - * The mixin construct implies that all methods in `AccessControl` are - * also declared with same name and request/response types in - * `Storage`. A documentation generator or annotation processor will - * see the effective `Storage.GetAcl` method after inherting - * documentation and annotations as follows: - * - * service Storage { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v2/{resource=**}:getAcl"; - * } - * ... - * } - * - * Note how the version in the path pattern changed from `v1` to `v2`. - * - * If the `root` field in the mixin is specified, it should be a - * relative path under which inherited HTTP paths are placed. Example: - * - * apis: - * - name: google.storage.v2.Storage - * mixins: - * - name: google.acl.v1.AccessControl - * root: acls - * - * This implies the following inherited HTTP annotation: - * - * service Storage { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; - * } - * ... - * } - * - * @generated from message google.protobuf.Mixin - */ -export type Mixin = Message<"google.protobuf.Mixin"> & { - /** - * The fully qualified name of the interface which is included. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * If non-empty specifies a path under which inherited HTTP paths - * are rooted. - * - * @generated from field: string root = 2; - */ - root: string; -}; -/** - * JSON type for the message google.protobuf.Mixin. - */ -export type MixinJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: string root = 2; - */ - root?: string; -}; -/** - * Describes the message google.protobuf.Mixin. - * Use `create(MixinSchema)` to create a new message. - */ -export declare const MixinSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.js deleted file mode 100644 index 1cdac47..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.js +++ /dev/null @@ -1,39 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MixinSchema = exports.MethodSchema = exports.ApiSchema = exports.file_google_protobuf_api = void 0; -const file_js_1 = require("../../../../codegenv1/file.js"); -const source_context_pb_js_1 = require("./source_context_pb.js"); -const type_pb_js_1 = require("./type_pb.js"); -const message_js_1 = require("../../../../codegenv1/message.js"); -/** - * Describes the file google/protobuf/api.proto. - */ -exports.file_google_protobuf_api = (0, file_js_1.fileDesc)("Chlnb29nbGUvcHJvdG9idWYvYXBpLnByb3RvEg9nb29nbGUucHJvdG9idWYigQIKA0FwaRIMCgRuYW1lGAEgASgJEigKB21ldGhvZHMYAiADKAsyFy5nb29nbGUucHJvdG9idWYuTWV0aG9kEigKB29wdGlvbnMYAyADKAsyFy5nb29nbGUucHJvdG9idWYuT3B0aW9uEg8KB3ZlcnNpb24YBCABKAkSNgoOc291cmNlX2NvbnRleHQYBSABKAsyHi5nb29nbGUucHJvdG9idWYuU291cmNlQ29udGV4dBImCgZtaXhpbnMYBiADKAsyFi5nb29nbGUucHJvdG9idWYuTWl4aW4SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheCLVAQoGTWV0aG9kEgwKBG5hbWUYASABKAkSGAoQcmVxdWVzdF90eXBlX3VybBgCIAEoCRIZChFyZXF1ZXN0X3N0cmVhbWluZxgDIAEoCBIZChFyZXNwb25zZV90eXBlX3VybBgEIAEoCRIaChJyZXNwb25zZV9zdHJlYW1pbmcYBSABKAgSKAoHb3B0aW9ucxgGIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb24SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheCIjCgVNaXhpbhIMCgRuYW1lGAEgASgJEgwKBHJvb3QYAiABKAlCdgoTY29tLmdvb2dsZS5wcm90b2J1ZkIIQXBpUHJvdG9QAVosZ29vZ2xlLmdvbGFuZy5vcmcvcHJvdG9idWYvdHlwZXMva25vd24vYXBpcGKiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw", [source_context_pb_js_1.file_google_protobuf_source_context, type_pb_js_1.file_google_protobuf_type]); -/** - * Describes the message google.protobuf.Api. - * Use `create(ApiSchema)` to create a new message. - */ -exports.ApiSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_api, 0); -/** - * Describes the message google.protobuf.Method. - * Use `create(MethodSchema)` to create a new message. - */ -exports.MethodSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_api, 1); -/** - * Describes the message google.protobuf.Mixin. - * Use `create(MixinSchema)` to create a new message. - */ -exports.MixinSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_api, 2); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts deleted file mode 100644 index 6e1d24e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +++ /dev/null @@ -1,359 +0,0 @@ -import type { GenEnum, GenFile, GenMessage } from "../../../../../codegenv1/types.js"; -import type { FileDescriptorProto, FileDescriptorProtoJson, GeneratedCodeInfo, GeneratedCodeInfoJson } from "../descriptor_pb.js"; -import type { Message } from "../../../../../types.js"; -/** - * Describes the file google/protobuf/compiler/plugin.proto. - */ -export declare const file_google_protobuf_compiler_plugin: GenFile; -/** - * The version number of protocol compiler. - * - * @generated from message google.protobuf.compiler.Version - */ -export type Version = Message<"google.protobuf.compiler.Version"> & { - /** - * @generated from field: optional int32 major = 1; - */ - major: number; - /** - * @generated from field: optional int32 minor = 2; - */ - minor: number; - /** - * @generated from field: optional int32 patch = 3; - */ - patch: number; - /** - * A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should - * be empty for mainline stable releases. - * - * @generated from field: optional string suffix = 4; - */ - suffix: string; -}; -/** - * JSON type for the message google.protobuf.compiler.Version. - */ -export type VersionJson = { - /** - * @generated from field: optional int32 major = 1; - */ - major?: number; - /** - * @generated from field: optional int32 minor = 2; - */ - minor?: number; - /** - * @generated from field: optional int32 patch = 3; - */ - patch?: number; - /** - * @generated from field: optional string suffix = 4; - */ - suffix?: string; -}; -/** - * Describes the message google.protobuf.compiler.Version. - * Use `create(VersionSchema)` to create a new message. - */ -export declare const VersionSchema: GenMessage; -/** - * An encoded CodeGeneratorRequest is written to the plugin's stdin. - * - * @generated from message google.protobuf.compiler.CodeGeneratorRequest - */ -export type CodeGeneratorRequest = Message<"google.protobuf.compiler.CodeGeneratorRequest"> & { - /** - * The .proto files that were explicitly listed on the command-line. The - * code generator should generate code only for these files. Each file's - * descriptor will be included in proto_file, below. - * - * @generated from field: repeated string file_to_generate = 1; - */ - fileToGenerate: string[]; - /** - * The generator parameter passed on the command-line. - * - * @generated from field: optional string parameter = 2; - */ - parameter: string; - /** - * FileDescriptorProtos for all files in files_to_generate and everything - * they import. The files will appear in topological order, so each file - * appears before any file that imports it. - * - * Note: the files listed in files_to_generate will include runtime-retention - * options only, but all other files will include source-retention options. - * The source_file_descriptors field below is available in case you need - * source-retention options for files_to_generate. - * - * protoc guarantees that all proto_files will be written after - * the fields above, even though this is not technically guaranteed by the - * protobuf wire format. This theoretically could allow a plugin to stream - * in the FileDescriptorProtos and handle them one by one rather than read - * the entire set into memory at once. However, as of this writing, this - * is not similarly optimized on protoc's end -- it will store all fields in - * memory at once before sending them to the plugin. - * - * Type names of fields and extensions in the FileDescriptorProto are always - * fully qualified. - * - * @generated from field: repeated google.protobuf.FileDescriptorProto proto_file = 15; - */ - protoFile: FileDescriptorProto[]; - /** - * File descriptors with all options, including source-retention options. - * These descriptors are only provided for the files listed in - * files_to_generate. - * - * @generated from field: repeated google.protobuf.FileDescriptorProto source_file_descriptors = 17; - */ - sourceFileDescriptors: FileDescriptorProto[]; - /** - * The version number of protocol compiler. - * - * @generated from field: optional google.protobuf.compiler.Version compiler_version = 3; - */ - compilerVersion?: Version; -}; -/** - * JSON type for the message google.protobuf.compiler.CodeGeneratorRequest. - */ -export type CodeGeneratorRequestJson = { - /** - * @generated from field: repeated string file_to_generate = 1; - */ - fileToGenerate?: string[]; - /** - * @generated from field: optional string parameter = 2; - */ - parameter?: string; - /** - * @generated from field: repeated google.protobuf.FileDescriptorProto proto_file = 15; - */ - protoFile?: FileDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.FileDescriptorProto source_file_descriptors = 17; - */ - sourceFileDescriptors?: FileDescriptorProtoJson[]; - /** - * @generated from field: optional google.protobuf.compiler.Version compiler_version = 3; - */ - compilerVersion?: VersionJson; -}; -/** - * Describes the message google.protobuf.compiler.CodeGeneratorRequest. - * Use `create(CodeGeneratorRequestSchema)` to create a new message. - */ -export declare const CodeGeneratorRequestSchema: GenMessage; -/** - * The plugin writes an encoded CodeGeneratorResponse to stdout. - * - * @generated from message google.protobuf.compiler.CodeGeneratorResponse - */ -export type CodeGeneratorResponse = Message<"google.protobuf.compiler.CodeGeneratorResponse"> & { - /** - * Error message. If non-empty, code generation failed. The plugin process - * should exit with status code zero even if it reports an error in this way. - * - * This should be used to indicate errors in .proto files which prevent the - * code generator from generating correct code. Errors which indicate a - * problem in protoc itself -- such as the input CodeGeneratorRequest being - * unparseable -- should be reported by writing a message to stderr and - * exiting with a non-zero status code. - * - * @generated from field: optional string error = 1; - */ - error: string; - /** - * A bitmask of supported features that the code generator supports. - * This is a bitwise "or" of values from the Feature enum. - * - * @generated from field: optional uint64 supported_features = 2; - */ - supportedFeatures: bigint; - /** - * The minimum edition this plugin supports. This will be treated as an - * Edition enum, but we want to allow unknown values. It should be specified - * according the edition enum value, *not* the edition number. Only takes - * effect for plugins that have FEATURE_SUPPORTS_EDITIONS set. - * - * @generated from field: optional int32 minimum_edition = 3; - */ - minimumEdition: number; - /** - * The maximum edition this plugin supports. This will be treated as an - * Edition enum, but we want to allow unknown values. It should be specified - * according the edition enum value, *not* the edition number. Only takes - * effect for plugins that have FEATURE_SUPPORTS_EDITIONS set. - * - * @generated from field: optional int32 maximum_edition = 4; - */ - maximumEdition: number; - /** - * @generated from field: repeated google.protobuf.compiler.CodeGeneratorResponse.File file = 15; - */ - file: CodeGeneratorResponse_File[]; -}; -/** - * JSON type for the message google.protobuf.compiler.CodeGeneratorResponse. - */ -export type CodeGeneratorResponseJson = { - /** - * @generated from field: optional string error = 1; - */ - error?: string; - /** - * @generated from field: optional uint64 supported_features = 2; - */ - supportedFeatures?: string; - /** - * @generated from field: optional int32 minimum_edition = 3; - */ - minimumEdition?: number; - /** - * @generated from field: optional int32 maximum_edition = 4; - */ - maximumEdition?: number; - /** - * @generated from field: repeated google.protobuf.compiler.CodeGeneratorResponse.File file = 15; - */ - file?: CodeGeneratorResponse_FileJson[]; -}; -/** - * Describes the message google.protobuf.compiler.CodeGeneratorResponse. - * Use `create(CodeGeneratorResponseSchema)` to create a new message. - */ -export declare const CodeGeneratorResponseSchema: GenMessage; -/** - * Represents a single generated file. - * - * @generated from message google.protobuf.compiler.CodeGeneratorResponse.File - */ -export type CodeGeneratorResponse_File = Message<"google.protobuf.compiler.CodeGeneratorResponse.File"> & { - /** - * The file name, relative to the output directory. The name must not - * contain "." or ".." components and must be relative, not be absolute (so, - * the file cannot lie outside the output directory). "/" must be used as - * the path separator, not "\". - * - * If the name is omitted, the content will be appended to the previous - * file. This allows the generator to break large files into small chunks, - * and allows the generated text to be streamed back to protoc so that large - * files need not reside completely in memory at one time. Note that as of - * this writing protoc does not optimize for this -- it will read the entire - * CodeGeneratorResponse before writing files to disk. - * - * @generated from field: optional string name = 1; - */ - name: string; - /** - * If non-empty, indicates that the named file should already exist, and the - * content here is to be inserted into that file at a defined insertion - * point. This feature allows a code generator to extend the output - * produced by another code generator. The original generator may provide - * insertion points by placing special annotations in the file that look - * like: - * @@protoc_insertion_point(NAME) - * The annotation can have arbitrary text before and after it on the line, - * which allows it to be placed in a comment. NAME should be replaced with - * an identifier naming the point -- this is what other generators will use - * as the insertion_point. Code inserted at this point will be placed - * immediately above the line containing the insertion point (thus multiple - * insertions to the same point will come out in the order they were added). - * The double-@ is intended to make it unlikely that the generated code - * could contain things that look like insertion points by accident. - * - * For example, the C++ code generator places the following line in the - * .pb.h files that it generates: - * // @@protoc_insertion_point(namespace_scope) - * This line appears within the scope of the file's package namespace, but - * outside of any particular class. Another plugin can then specify the - * insertion_point "namespace_scope" to generate additional classes or - * other declarations that should be placed in this scope. - * - * Note that if the line containing the insertion point begins with - * whitespace, the same whitespace will be added to every line of the - * inserted text. This is useful for languages like Python, where - * indentation matters. In these languages, the insertion point comment - * should be indented the same amount as any inserted code will need to be - * in order to work correctly in that context. - * - * The code generator that generates the initial file and the one which - * inserts into it must both run as part of a single invocation of protoc. - * Code generators are executed in the order in which they appear on the - * command line. - * - * If |insertion_point| is present, |name| must also be present. - * - * @generated from field: optional string insertion_point = 2; - */ - insertionPoint: string; - /** - * The file contents. - * - * @generated from field: optional string content = 15; - */ - content: string; - /** - * Information describing the file content being inserted. If an insertion - * point is used, this information will be appropriately offset and inserted - * into the code generation metadata for the generated files. - * - * @generated from field: optional google.protobuf.GeneratedCodeInfo generated_code_info = 16; - */ - generatedCodeInfo?: GeneratedCodeInfo; -}; -/** - * JSON type for the message google.protobuf.compiler.CodeGeneratorResponse.File. - */ -export type CodeGeneratorResponse_FileJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional string insertion_point = 2; - */ - insertionPoint?: string; - /** - * @generated from field: optional string content = 15; - */ - content?: string; - /** - * @generated from field: optional google.protobuf.GeneratedCodeInfo generated_code_info = 16; - */ - generatedCodeInfo?: GeneratedCodeInfoJson; -}; -/** - * Describes the message google.protobuf.compiler.CodeGeneratorResponse.File. - * Use `create(CodeGeneratorResponse_FileSchema)` to create a new message. - */ -export declare const CodeGeneratorResponse_FileSchema: GenMessage; -/** - * Sync with code_generator.h. - * - * @generated from enum google.protobuf.compiler.CodeGeneratorResponse.Feature - */ -export declare enum CodeGeneratorResponse_Feature { - /** - * @generated from enum value: FEATURE_NONE = 0; - */ - NONE = 0, - /** - * @generated from enum value: FEATURE_PROTO3_OPTIONAL = 1; - */ - PROTO3_OPTIONAL = 1, - /** - * @generated from enum value: FEATURE_SUPPORTS_EDITIONS = 2; - */ - SUPPORTS_EDITIONS = 2 -} -/** - * JSON type for the enum google.protobuf.compiler.CodeGeneratorResponse.Feature. - */ -export type CodeGeneratorResponse_FeatureJson = "FEATURE_NONE" | "FEATURE_PROTO3_OPTIONAL" | "FEATURE_SUPPORTS_EDITIONS"; -/** - * Describes the enum google.protobuf.compiler.CodeGeneratorResponse.Feature. - */ -export declare const CodeGeneratorResponse_FeatureSchema: GenEnum; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.js deleted file mode 100644 index 6fa0eb7..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.js +++ /dev/null @@ -1,68 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CodeGeneratorResponse_FeatureSchema = exports.CodeGeneratorResponse_Feature = exports.CodeGeneratorResponse_FileSchema = exports.CodeGeneratorResponseSchema = exports.CodeGeneratorRequestSchema = exports.VersionSchema = exports.file_google_protobuf_compiler_plugin = void 0; -const file_js_1 = require("../../../../../codegenv1/file.js"); -const descriptor_pb_js_1 = require("../descriptor_pb.js"); -const message_js_1 = require("../../../../../codegenv1/message.js"); -const enum_js_1 = require("../../../../../codegenv1/enum.js"); -/** - * Describes the file google/protobuf/compiler/plugin.proto. - */ -exports.file_google_protobuf_compiler_plugin = (0, file_js_1.fileDesc)("CiVnb29nbGUvcHJvdG9idWYvY29tcGlsZXIvcGx1Z2luLnByb3RvEhhnb29nbGUucHJvdG9idWYuY29tcGlsZXIiRgoHVmVyc2lvbhINCgVtYWpvchgBIAEoBRINCgVtaW5vchgCIAEoBRINCgVwYXRjaBgDIAEoBRIOCgZzdWZmaXgYBCABKAkigQIKFENvZGVHZW5lcmF0b3JSZXF1ZXN0EhgKEGZpbGVfdG9fZ2VuZXJhdGUYASADKAkSEQoJcGFyYW1ldGVyGAIgASgJEjgKCnByb3RvX2ZpbGUYDyADKAsyJC5nb29nbGUucHJvdG9idWYuRmlsZURlc2NyaXB0b3JQcm90bxJFChdzb3VyY2VfZmlsZV9kZXNjcmlwdG9ycxgRIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5GaWxlRGVzY3JpcHRvclByb3RvEjsKEGNvbXBpbGVyX3ZlcnNpb24YAyABKAsyIS5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuVmVyc2lvbiKSAwoVQ29kZUdlbmVyYXRvclJlc3BvbnNlEg0KBWVycm9yGAEgASgJEhoKEnN1cHBvcnRlZF9mZWF0dXJlcxgCIAEoBBIXCg9taW5pbXVtX2VkaXRpb24YAyABKAUSFwoPbWF4aW11bV9lZGl0aW9uGAQgASgFEkIKBGZpbGUYDyADKAsyNC5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuQ29kZUdlbmVyYXRvclJlc3BvbnNlLkZpbGUafwoERmlsZRIMCgRuYW1lGAEgASgJEhcKD2luc2VydGlvbl9wb2ludBgCIAEoCRIPCgdjb250ZW50GA8gASgJEj8KE2dlbmVyYXRlZF9jb2RlX2luZm8YECABKAsyIi5nb29nbGUucHJvdG9idWYuR2VuZXJhdGVkQ29kZUluZm8iVwoHRmVhdHVyZRIQCgxGRUFUVVJFX05PTkUQABIbChdGRUFUVVJFX1BST1RPM19PUFRJT05BTBABEh0KGUZFQVRVUkVfU1VQUE9SVFNfRURJVElPTlMQAkJyChxjb20uZ29vZ2xlLnByb3RvYnVmLmNvbXBpbGVyQgxQbHVnaW5Qcm90b3NaKWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL3BsdWdpbnBiqgIYR29vZ2xlLlByb3RvYnVmLkNvbXBpbGVy", [descriptor_pb_js_1.file_google_protobuf_descriptor]); -/** - * Describes the message google.protobuf.compiler.Version. - * Use `create(VersionSchema)` to create a new message. - */ -exports.VersionSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_compiler_plugin, 0); -/** - * Describes the message google.protobuf.compiler.CodeGeneratorRequest. - * Use `create(CodeGeneratorRequestSchema)` to create a new message. - */ -exports.CodeGeneratorRequestSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_compiler_plugin, 1); -/** - * Describes the message google.protobuf.compiler.CodeGeneratorResponse. - * Use `create(CodeGeneratorResponseSchema)` to create a new message. - */ -exports.CodeGeneratorResponseSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_compiler_plugin, 2); -/** - * Describes the message google.protobuf.compiler.CodeGeneratorResponse.File. - * Use `create(CodeGeneratorResponse_FileSchema)` to create a new message. - */ -exports.CodeGeneratorResponse_FileSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_compiler_plugin, 2, 0); -/** - * Sync with code_generator.h. - * - * @generated from enum google.protobuf.compiler.CodeGeneratorResponse.Feature - */ -var CodeGeneratorResponse_Feature; -(function (CodeGeneratorResponse_Feature) { - /** - * @generated from enum value: FEATURE_NONE = 0; - */ - CodeGeneratorResponse_Feature[CodeGeneratorResponse_Feature["NONE"] = 0] = "NONE"; - /** - * @generated from enum value: FEATURE_PROTO3_OPTIONAL = 1; - */ - CodeGeneratorResponse_Feature[CodeGeneratorResponse_Feature["PROTO3_OPTIONAL"] = 1] = "PROTO3_OPTIONAL"; - /** - * @generated from enum value: FEATURE_SUPPORTS_EDITIONS = 2; - */ - CodeGeneratorResponse_Feature[CodeGeneratorResponse_Feature["SUPPORTS_EDITIONS"] = 2] = "SUPPORTS_EDITIONS"; -})(CodeGeneratorResponse_Feature || (exports.CodeGeneratorResponse_Feature = CodeGeneratorResponse_Feature = {})); -/** - * Describes the enum google.protobuf.compiler.CodeGeneratorResponse.Feature. - */ -exports.CodeGeneratorResponse_FeatureSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_compiler_plugin, 2, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.d.ts deleted file mode 100644 index bfdebc0..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.d.ts +++ /dev/null @@ -1,3159 +0,0 @@ -import type { GenEnum, GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/descriptor.proto. - */ -export declare const file_google_protobuf_descriptor: GenFile; -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - * - * @generated from message google.protobuf.FileDescriptorSet - */ -export type FileDescriptorSet = Message<"google.protobuf.FileDescriptorSet"> & { - /** - * @generated from field: repeated google.protobuf.FileDescriptorProto file = 1; - */ - file: FileDescriptorProto[]; -}; -/** - * JSON type for the message google.protobuf.FileDescriptorSet. - */ -export type FileDescriptorSetJson = { - /** - * @generated from field: repeated google.protobuf.FileDescriptorProto file = 1; - */ - file?: FileDescriptorProtoJson[]; -}; -/** - * Describes the message google.protobuf.FileDescriptorSet. - * Use `create(FileDescriptorSetSchema)` to create a new message. - */ -export declare const FileDescriptorSetSchema: GenMessage; -/** - * Describes a complete .proto file. - * - * @generated from message google.protobuf.FileDescriptorProto - */ -export type FileDescriptorProto = Message<"google.protobuf.FileDescriptorProto"> & { - /** - * file name, relative to root of source tree - * - * @generated from field: optional string name = 1; - */ - name: string; - /** - * e.g. "foo", "foo.bar", etc. - * - * @generated from field: optional string package = 2; - */ - package: string; - /** - * Names of files imported by this file. - * - * @generated from field: repeated string dependency = 3; - */ - dependency: string[]; - /** - * Indexes of the public imported files in the dependency list above. - * - * @generated from field: repeated int32 public_dependency = 10; - */ - publicDependency: number[]; - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - * - * @generated from field: repeated int32 weak_dependency = 11; - */ - weakDependency: number[]; - /** - * All top-level definitions in this file. - * - * @generated from field: repeated google.protobuf.DescriptorProto message_type = 4; - */ - messageType: DescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 5; - */ - enumType: EnumDescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.ServiceDescriptorProto service = 6; - */ - service: ServiceDescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 7; - */ - extension: FieldDescriptorProto[]; - /** - * @generated from field: optional google.protobuf.FileOptions options = 8; - */ - options?: FileOptions; - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - * - * @generated from field: optional google.protobuf.SourceCodeInfo source_code_info = 9; - */ - sourceCodeInfo?: SourceCodeInfo; - /** - * The syntax of the proto file. - * The supported values are "proto2", "proto3", and "editions". - * - * If `edition` is present, this value must be "editions". - * - * @generated from field: optional string syntax = 12; - */ - syntax: string; - /** - * The edition of the proto file. - * - * @generated from field: optional google.protobuf.Edition edition = 14; - */ - edition: Edition; -}; -/** - * JSON type for the message google.protobuf.FileDescriptorProto. - */ -export type FileDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional string package = 2; - */ - package?: string; - /** - * @generated from field: repeated string dependency = 3; - */ - dependency?: string[]; - /** - * @generated from field: repeated int32 public_dependency = 10; - */ - publicDependency?: number[]; - /** - * @generated from field: repeated int32 weak_dependency = 11; - */ - weakDependency?: number[]; - /** - * @generated from field: repeated google.protobuf.DescriptorProto message_type = 4; - */ - messageType?: DescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 5; - */ - enumType?: EnumDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.ServiceDescriptorProto service = 6; - */ - service?: ServiceDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 7; - */ - extension?: FieldDescriptorProtoJson[]; - /** - * @generated from field: optional google.protobuf.FileOptions options = 8; - */ - options?: FileOptionsJson; - /** - * @generated from field: optional google.protobuf.SourceCodeInfo source_code_info = 9; - */ - sourceCodeInfo?: SourceCodeInfoJson; - /** - * @generated from field: optional string syntax = 12; - */ - syntax?: string; - /** - * @generated from field: optional google.protobuf.Edition edition = 14; - */ - edition?: EditionJson; -}; -/** - * Describes the message google.protobuf.FileDescriptorProto. - * Use `create(FileDescriptorProtoSchema)` to create a new message. - */ -export declare const FileDescriptorProtoSchema: GenMessage; -/** - * Describes a message type. - * - * @generated from message google.protobuf.DescriptorProto - */ -export type DescriptorProto = Message<"google.protobuf.DescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto field = 2; - */ - field: FieldDescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 6; - */ - extension: FieldDescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.DescriptorProto nested_type = 3; - */ - nestedType: DescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 4; - */ - enumType: EnumDescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; - */ - extensionRange: DescriptorProto_ExtensionRange[]; - /** - * @generated from field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8; - */ - oneofDecl: OneofDescriptorProto[]; - /** - * @generated from field: optional google.protobuf.MessageOptions options = 7; - */ - options?: MessageOptions; - /** - * @generated from field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; - */ - reservedRange: DescriptorProto_ReservedRange[]; - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - * - * @generated from field: repeated string reserved_name = 10; - */ - reservedName: string[]; -}; -/** - * JSON type for the message google.protobuf.DescriptorProto. - */ -export type DescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto field = 2; - */ - field?: FieldDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 6; - */ - extension?: FieldDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.DescriptorProto nested_type = 3; - */ - nestedType?: DescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 4; - */ - enumType?: EnumDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; - */ - extensionRange?: DescriptorProto_ExtensionRangeJson[]; - /** - * @generated from field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8; - */ - oneofDecl?: OneofDescriptorProtoJson[]; - /** - * @generated from field: optional google.protobuf.MessageOptions options = 7; - */ - options?: MessageOptionsJson; - /** - * @generated from field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; - */ - reservedRange?: DescriptorProto_ReservedRangeJson[]; - /** - * @generated from field: repeated string reserved_name = 10; - */ - reservedName?: string[]; -}; -/** - * Describes the message google.protobuf.DescriptorProto. - * Use `create(DescriptorProtoSchema)` to create a new message. - */ -export declare const DescriptorProtoSchema: GenMessage; -/** - * @generated from message google.protobuf.DescriptorProto.ExtensionRange - */ -export type DescriptorProto_ExtensionRange = Message<"google.protobuf.DescriptorProto.ExtensionRange"> & { - /** - * Inclusive. - * - * @generated from field: optional int32 start = 1; - */ - start: number; - /** - * Exclusive. - * - * @generated from field: optional int32 end = 2; - */ - end: number; - /** - * @generated from field: optional google.protobuf.ExtensionRangeOptions options = 3; - */ - options?: ExtensionRangeOptions; -}; -/** - * JSON type for the message google.protobuf.DescriptorProto.ExtensionRange. - */ -export type DescriptorProto_ExtensionRangeJson = { - /** - * @generated from field: optional int32 start = 1; - */ - start?: number; - /** - * @generated from field: optional int32 end = 2; - */ - end?: number; - /** - * @generated from field: optional google.protobuf.ExtensionRangeOptions options = 3; - */ - options?: ExtensionRangeOptionsJson; -}; -/** - * Describes the message google.protobuf.DescriptorProto.ExtensionRange. - * Use `create(DescriptorProto_ExtensionRangeSchema)` to create a new message. - */ -export declare const DescriptorProto_ExtensionRangeSchema: GenMessage; -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - * - * @generated from message google.protobuf.DescriptorProto.ReservedRange - */ -export type DescriptorProto_ReservedRange = Message<"google.protobuf.DescriptorProto.ReservedRange"> & { - /** - * Inclusive. - * - * @generated from field: optional int32 start = 1; - */ - start: number; - /** - * Exclusive. - * - * @generated from field: optional int32 end = 2; - */ - end: number; -}; -/** - * JSON type for the message google.protobuf.DescriptorProto.ReservedRange. - */ -export type DescriptorProto_ReservedRangeJson = { - /** - * @generated from field: optional int32 start = 1; - */ - start?: number; - /** - * @generated from field: optional int32 end = 2; - */ - end?: number; -}; -/** - * Describes the message google.protobuf.DescriptorProto.ReservedRange. - * Use `create(DescriptorProto_ReservedRangeSchema)` to create a new message. - */ -export declare const DescriptorProto_ReservedRangeSchema: GenMessage; -/** - * @generated from message google.protobuf.ExtensionRangeOptions - */ -export type ExtensionRangeOptions = Message<"google.protobuf.ExtensionRangeOptions"> & { - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; - /** - * For external users: DO NOT USE. We are in the process of open sourcing - * extension declaration and executing internal cleanups before it can be - * used externally. - * - * @generated from field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2; - */ - declaration: ExtensionRangeOptions_Declaration[]; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 50; - */ - features?: FeatureSet; - /** - * The verification state of the range. - * TODO: flip the default to DECLARATION once all empty ranges - * are marked as UNVERIFIED. - * - * @generated from field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED]; - */ - verification: ExtensionRangeOptions_VerificationState; -}; -/** - * JSON type for the message google.protobuf.ExtensionRangeOptions. - */ -export type ExtensionRangeOptionsJson = { - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; - /** - * @generated from field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2; - */ - declaration?: ExtensionRangeOptions_DeclarationJson[]; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 50; - */ - features?: FeatureSetJson; - /** - * @generated from field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED]; - */ - verification?: ExtensionRangeOptions_VerificationStateJson; -}; -/** - * Describes the message google.protobuf.ExtensionRangeOptions. - * Use `create(ExtensionRangeOptionsSchema)` to create a new message. - */ -export declare const ExtensionRangeOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.ExtensionRangeOptions.Declaration - */ -export type ExtensionRangeOptions_Declaration = Message<"google.protobuf.ExtensionRangeOptions.Declaration"> & { - /** - * The extension number declared within the extension range. - * - * @generated from field: optional int32 number = 1; - */ - number: number; - /** - * The fully-qualified name of the extension field. There must be a leading - * dot in front of the full name. - * - * @generated from field: optional string full_name = 2; - */ - fullName: string; - /** - * The fully-qualified type name of the extension field. Unlike - * Metadata.type, Declaration.type must have a leading dot for messages - * and enums. - * - * @generated from field: optional string type = 3; - */ - type: string; - /** - * If true, indicates that the number is reserved in the extension range, - * and any extension field with the number will fail to compile. Set this - * when a declared extension field is deleted. - * - * @generated from field: optional bool reserved = 5; - */ - reserved: boolean; - /** - * If true, indicates that the extension must be defined as repeated. - * Otherwise the extension must be defined as optional. - * - * @generated from field: optional bool repeated = 6; - */ - repeated: boolean; -}; -/** - * JSON type for the message google.protobuf.ExtensionRangeOptions.Declaration. - */ -export type ExtensionRangeOptions_DeclarationJson = { - /** - * @generated from field: optional int32 number = 1; - */ - number?: number; - /** - * @generated from field: optional string full_name = 2; - */ - fullName?: string; - /** - * @generated from field: optional string type = 3; - */ - type?: string; - /** - * @generated from field: optional bool reserved = 5; - */ - reserved?: boolean; - /** - * @generated from field: optional bool repeated = 6; - */ - repeated?: boolean; -}; -/** - * Describes the message google.protobuf.ExtensionRangeOptions.Declaration. - * Use `create(ExtensionRangeOptions_DeclarationSchema)` to create a new message. - */ -export declare const ExtensionRangeOptions_DeclarationSchema: GenMessage; -/** - * The verification state of the extension range. - * - * @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState - */ -export declare enum ExtensionRangeOptions_VerificationState { - /** - * All the extensions of the range must be declared. - * - * @generated from enum value: DECLARATION = 0; - */ - DECLARATION = 0, - /** - * @generated from enum value: UNVERIFIED = 1; - */ - UNVERIFIED = 1 -} -/** - * JSON type for the enum google.protobuf.ExtensionRangeOptions.VerificationState. - */ -export type ExtensionRangeOptions_VerificationStateJson = "DECLARATION" | "UNVERIFIED"; -/** - * Describes the enum google.protobuf.ExtensionRangeOptions.VerificationState. - */ -export declare const ExtensionRangeOptions_VerificationStateSchema: GenEnum; -/** - * Describes a field within a message. - * - * @generated from message google.protobuf.FieldDescriptorProto - */ -export type FieldDescriptorProto = Message<"google.protobuf.FieldDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: optional int32 number = 3; - */ - number: number; - /** - * @generated from field: optional google.protobuf.FieldDescriptorProto.Label label = 4; - */ - label: FieldDescriptorProto_Label; - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - * - * @generated from field: optional google.protobuf.FieldDescriptorProto.Type type = 5; - */ - type: FieldDescriptorProto_Type; - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - * - * @generated from field: optional string type_name = 6; - */ - typeName: string; - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - * - * @generated from field: optional string extendee = 2; - */ - extendee: string; - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * - * @generated from field: optional string default_value = 7; - */ - defaultValue: string; - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - * - * @generated from field: optional int32 oneof_index = 9; - */ - oneofIndex: number; - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - * - * @generated from field: optional string json_name = 10; - */ - jsonName: string; - /** - * @generated from field: optional google.protobuf.FieldOptions options = 8; - */ - options?: FieldOptions; - /** - * If true, this is a proto3 "optional". When a proto3 field is optional, it - * tracks presence regardless of field type. - * - * When proto3_optional is true, this field must belong to a oneof to signal - * to old proto3 clients that presence is tracked for this field. This oneof - * is known as a "synthetic" oneof, and this field must be its sole member - * (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs - * exist in the descriptor only, and do not generate any API. Synthetic oneofs - * must be ordered after all "real" oneofs. - * - * For message fields, proto3_optional doesn't create any semantic change, - * since non-repeated message fields always track presence. However it still - * indicates the semantic detail of whether the user wrote "optional" or not. - * This can be useful for round-tripping the .proto file. For consistency we - * give message fields a synthetic oneof also, even though it is not required - * to track presence. This is especially important because the parser can't - * tell if a field is a message or an enum, so it must always create a - * synthetic oneof. - * - * Proto2 optional fields do not set this flag, because they already indicate - * optional with `LABEL_OPTIONAL`. - * - * @generated from field: optional bool proto3_optional = 17; - */ - proto3Optional: boolean; -}; -/** - * JSON type for the message google.protobuf.FieldDescriptorProto. - */ -export type FieldDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional int32 number = 3; - */ - number?: number; - /** - * @generated from field: optional google.protobuf.FieldDescriptorProto.Label label = 4; - */ - label?: FieldDescriptorProto_LabelJson; - /** - * @generated from field: optional google.protobuf.FieldDescriptorProto.Type type = 5; - */ - type?: FieldDescriptorProto_TypeJson; - /** - * @generated from field: optional string type_name = 6; - */ - typeName?: string; - /** - * @generated from field: optional string extendee = 2; - */ - extendee?: string; - /** - * @generated from field: optional string default_value = 7; - */ - defaultValue?: string; - /** - * @generated from field: optional int32 oneof_index = 9; - */ - oneofIndex?: number; - /** - * @generated from field: optional string json_name = 10; - */ - jsonName?: string; - /** - * @generated from field: optional google.protobuf.FieldOptions options = 8; - */ - options?: FieldOptionsJson; - /** - * @generated from field: optional bool proto3_optional = 17; - */ - proto3Optional?: boolean; -}; -/** - * Describes the message google.protobuf.FieldDescriptorProto. - * Use `create(FieldDescriptorProtoSchema)` to create a new message. - */ -export declare const FieldDescriptorProtoSchema: GenMessage; -/** - * @generated from enum google.protobuf.FieldDescriptorProto.Type - */ -export declare enum FieldDescriptorProto_Type { - /** - * 0 is reserved for errors. - * Order is weird for historical reasons. - * - * @generated from enum value: TYPE_DOUBLE = 1; - */ - DOUBLE = 1, - /** - * @generated from enum value: TYPE_FLOAT = 2; - */ - FLOAT = 2, - /** - * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - * negative values are likely. - * - * @generated from enum value: TYPE_INT64 = 3; - */ - INT64 = 3, - /** - * @generated from enum value: TYPE_UINT64 = 4; - */ - UINT64 = 4, - /** - * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - * negative values are likely. - * - * @generated from enum value: TYPE_INT32 = 5; - */ - INT32 = 5, - /** - * @generated from enum value: TYPE_FIXED64 = 6; - */ - FIXED64 = 6, - /** - * @generated from enum value: TYPE_FIXED32 = 7; - */ - FIXED32 = 7, - /** - * @generated from enum value: TYPE_BOOL = 8; - */ - BOOL = 8, - /** - * @generated from enum value: TYPE_STRING = 9; - */ - STRING = 9, - /** - * Tag-delimited aggregate. - * Group type is deprecated and not supported after google.protobuf. However, Proto3 - * implementations should still be able to parse the group wire format and - * treat group fields as unknown fields. In Editions, the group wire format - * can be enabled via the `message_encoding` feature. - * - * @generated from enum value: TYPE_GROUP = 10; - */ - GROUP = 10, - /** - * Length-delimited aggregate. - * - * @generated from enum value: TYPE_MESSAGE = 11; - */ - MESSAGE = 11, - /** - * New in version 2. - * - * @generated from enum value: TYPE_BYTES = 12; - */ - BYTES = 12, - /** - * @generated from enum value: TYPE_UINT32 = 13; - */ - UINT32 = 13, - /** - * @generated from enum value: TYPE_ENUM = 14; - */ - ENUM = 14, - /** - * @generated from enum value: TYPE_SFIXED32 = 15; - */ - SFIXED32 = 15, - /** - * @generated from enum value: TYPE_SFIXED64 = 16; - */ - SFIXED64 = 16, - /** - * Uses ZigZag encoding. - * - * @generated from enum value: TYPE_SINT32 = 17; - */ - SINT32 = 17, - /** - * Uses ZigZag encoding. - * - * @generated from enum value: TYPE_SINT64 = 18; - */ - SINT64 = 18 -} -/** - * JSON type for the enum google.protobuf.FieldDescriptorProto.Type. - */ -export type FieldDescriptorProto_TypeJson = "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64"; -/** - * Describes the enum google.protobuf.FieldDescriptorProto.Type. - */ -export declare const FieldDescriptorProto_TypeSchema: GenEnum; -/** - * @generated from enum google.protobuf.FieldDescriptorProto.Label - */ -export declare enum FieldDescriptorProto_Label { - /** - * 0 is reserved for errors - * - * @generated from enum value: LABEL_OPTIONAL = 1; - */ - OPTIONAL = 1, - /** - * @generated from enum value: LABEL_REPEATED = 3; - */ - REPEATED = 3, - /** - * The required label is only allowed in google.protobuf. In proto3 and Editions - * it's explicitly prohibited. In Editions, the `field_presence` feature - * can be used to get this behavior. - * - * @generated from enum value: LABEL_REQUIRED = 2; - */ - REQUIRED = 2 -} -/** - * JSON type for the enum google.protobuf.FieldDescriptorProto.Label. - */ -export type FieldDescriptorProto_LabelJson = "LABEL_OPTIONAL" | "LABEL_REPEATED" | "LABEL_REQUIRED"; -/** - * Describes the enum google.protobuf.FieldDescriptorProto.Label. - */ -export declare const FieldDescriptorProto_LabelSchema: GenEnum; -/** - * Describes a oneof. - * - * @generated from message google.protobuf.OneofDescriptorProto - */ -export type OneofDescriptorProto = Message<"google.protobuf.OneofDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: optional google.protobuf.OneofOptions options = 2; - */ - options?: OneofOptions; -}; -/** - * JSON type for the message google.protobuf.OneofDescriptorProto. - */ -export type OneofDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional google.protobuf.OneofOptions options = 2; - */ - options?: OneofOptionsJson; -}; -/** - * Describes the message google.protobuf.OneofDescriptorProto. - * Use `create(OneofDescriptorProtoSchema)` to create a new message. - */ -export declare const OneofDescriptorProtoSchema: GenMessage; -/** - * Describes an enum type. - * - * @generated from message google.protobuf.EnumDescriptorProto - */ -export type EnumDescriptorProto = Message<"google.protobuf.EnumDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: repeated google.protobuf.EnumValueDescriptorProto value = 2; - */ - value: EnumValueDescriptorProto[]; - /** - * @generated from field: optional google.protobuf.EnumOptions options = 3; - */ - options?: EnumOptions; - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - * - * @generated from field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; - */ - reservedRange: EnumDescriptorProto_EnumReservedRange[]; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - * - * @generated from field: repeated string reserved_name = 5; - */ - reservedName: string[]; -}; -/** - * JSON type for the message google.protobuf.EnumDescriptorProto. - */ -export type EnumDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.EnumValueDescriptorProto value = 2; - */ - value?: EnumValueDescriptorProtoJson[]; - /** - * @generated from field: optional google.protobuf.EnumOptions options = 3; - */ - options?: EnumOptionsJson; - /** - * @generated from field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; - */ - reservedRange?: EnumDescriptorProto_EnumReservedRangeJson[]; - /** - * @generated from field: repeated string reserved_name = 5; - */ - reservedName?: string[]; -}; -/** - * Describes the message google.protobuf.EnumDescriptorProto. - * Use `create(EnumDescriptorProtoSchema)` to create a new message. - */ -export declare const EnumDescriptorProtoSchema: GenMessage; -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - * - * @generated from message google.protobuf.EnumDescriptorProto.EnumReservedRange - */ -export type EnumDescriptorProto_EnumReservedRange = Message<"google.protobuf.EnumDescriptorProto.EnumReservedRange"> & { - /** - * Inclusive. - * - * @generated from field: optional int32 start = 1; - */ - start: number; - /** - * Inclusive. - * - * @generated from field: optional int32 end = 2; - */ - end: number; -}; -/** - * JSON type for the message google.protobuf.EnumDescriptorProto.EnumReservedRange. - */ -export type EnumDescriptorProto_EnumReservedRangeJson = { - /** - * @generated from field: optional int32 start = 1; - */ - start?: number; - /** - * @generated from field: optional int32 end = 2; - */ - end?: number; -}; -/** - * Describes the message google.protobuf.EnumDescriptorProto.EnumReservedRange. - * Use `create(EnumDescriptorProto_EnumReservedRangeSchema)` to create a new message. - */ -export declare const EnumDescriptorProto_EnumReservedRangeSchema: GenMessage; -/** - * Describes a value within an enum. - * - * @generated from message google.protobuf.EnumValueDescriptorProto - */ -export type EnumValueDescriptorProto = Message<"google.protobuf.EnumValueDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: optional int32 number = 2; - */ - number: number; - /** - * @generated from field: optional google.protobuf.EnumValueOptions options = 3; - */ - options?: EnumValueOptions; -}; -/** - * JSON type for the message google.protobuf.EnumValueDescriptorProto. - */ -export type EnumValueDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional int32 number = 2; - */ - number?: number; - /** - * @generated from field: optional google.protobuf.EnumValueOptions options = 3; - */ - options?: EnumValueOptionsJson; -}; -/** - * Describes the message google.protobuf.EnumValueDescriptorProto. - * Use `create(EnumValueDescriptorProtoSchema)` to create a new message. - */ -export declare const EnumValueDescriptorProtoSchema: GenMessage; -/** - * Describes a service. - * - * @generated from message google.protobuf.ServiceDescriptorProto - */ -export type ServiceDescriptorProto = Message<"google.protobuf.ServiceDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: repeated google.protobuf.MethodDescriptorProto method = 2; - */ - method: MethodDescriptorProto[]; - /** - * @generated from field: optional google.protobuf.ServiceOptions options = 3; - */ - options?: ServiceOptions; -}; -/** - * JSON type for the message google.protobuf.ServiceDescriptorProto. - */ -export type ServiceDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.MethodDescriptorProto method = 2; - */ - method?: MethodDescriptorProtoJson[]; - /** - * @generated from field: optional google.protobuf.ServiceOptions options = 3; - */ - options?: ServiceOptionsJson; -}; -/** - * Describes the message google.protobuf.ServiceDescriptorProto. - * Use `create(ServiceDescriptorProtoSchema)` to create a new message. - */ -export declare const ServiceDescriptorProtoSchema: GenMessage; -/** - * Describes a method of a service. - * - * @generated from message google.protobuf.MethodDescriptorProto - */ -export type MethodDescriptorProto = Message<"google.protobuf.MethodDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - * - * @generated from field: optional string input_type = 2; - */ - inputType: string; - /** - * @generated from field: optional string output_type = 3; - */ - outputType: string; - /** - * @generated from field: optional google.protobuf.MethodOptions options = 4; - */ - options?: MethodOptions; - /** - * Identifies if client streams multiple client messages - * - * @generated from field: optional bool client_streaming = 5 [default = false]; - */ - clientStreaming: boolean; - /** - * Identifies if server streams multiple server messages - * - * @generated from field: optional bool server_streaming = 6 [default = false]; - */ - serverStreaming: boolean; -}; -/** - * JSON type for the message google.protobuf.MethodDescriptorProto. - */ -export type MethodDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional string input_type = 2; - */ - inputType?: string; - /** - * @generated from field: optional string output_type = 3; - */ - outputType?: string; - /** - * @generated from field: optional google.protobuf.MethodOptions options = 4; - */ - options?: MethodOptionsJson; - /** - * @generated from field: optional bool client_streaming = 5 [default = false]; - */ - clientStreaming?: boolean; - /** - * @generated from field: optional bool server_streaming = 6 [default = false]; - */ - serverStreaming?: boolean; -}; -/** - * Describes the message google.protobuf.MethodDescriptorProto. - * Use `create(MethodDescriptorProtoSchema)` to create a new message. - */ -export declare const MethodDescriptorProtoSchema: GenMessage; -/** - * @generated from message google.protobuf.FileOptions - */ -export type FileOptions = Message<"google.protobuf.FileOptions"> & { - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - * - * @generated from field: optional string java_package = 1; - */ - javaPackage: string; - /** - * Controls the name of the wrapper Java class generated for the .proto file. - * That class will always contain the .proto file's getDescriptor() method as - * well as any top-level extensions defined in the .proto file. - * If java_multiple_files is disabled, then all the other classes from the - * .proto file will be nested inside the single wrapper outer class. - * - * @generated from field: optional string java_outer_classname = 8; - */ - javaOuterClassname: string; - /** - * If enabled, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the wrapper class - * named by java_outer_classname. However, the wrapper class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - * - * @generated from field: optional bool java_multiple_files = 10 [default = false]; - */ - javaMultipleFiles: boolean; - /** - * This option does nothing. - * - * @generated from field: optional bool java_generate_equals_and_hash = 20 [deprecated = true]; - * @deprecated - */ - javaGenerateEqualsAndHash: boolean; - /** - * A proto2 file can set this to true to opt in to UTF-8 checking for Java, - * which will throw an exception if invalid UTF-8 is parsed from the wire or - * assigned to a string field. - * - * TODO: clarify exactly what kinds of field types this option - * applies to, and update these docs accordingly. - * - * Proto3 files already perform these checks. Setting the option explicitly to - * false has no effect: it cannot be used to opt proto3 files out of UTF-8 - * checks. - * - * @generated from field: optional bool java_string_check_utf8 = 27 [default = false]; - */ - javaStringCheckUtf8: boolean; - /** - * @generated from field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; - */ - optimizeFor: FileOptions_OptimizeMode; - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - * - * @generated from field: optional string go_package = 11; - */ - goPackage: string; - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - * - * @generated from field: optional bool cc_generic_services = 16 [default = false]; - */ - ccGenericServices: boolean; - /** - * @generated from field: optional bool java_generic_services = 17 [default = false]; - */ - javaGenericServices: boolean; - /** - * @generated from field: optional bool py_generic_services = 18 [default = false]; - */ - pyGenericServices: boolean; - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - * - * @generated from field: optional bool deprecated = 23 [default = false]; - */ - deprecated: boolean; - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - * - * @generated from field: optional bool cc_enable_arenas = 31 [default = true]; - */ - ccEnableArenas: boolean; - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - * - * @generated from field: optional string objc_class_prefix = 36; - */ - objcClassPrefix: string; - /** - * Namespace for generated classes; defaults to the package. - * - * @generated from field: optional string csharp_namespace = 37; - */ - csharpNamespace: string; - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - * - * @generated from field: optional string swift_prefix = 39; - */ - swiftPrefix: string; - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - * - * @generated from field: optional string php_class_prefix = 40; - */ - phpClassPrefix: string; - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - * - * @generated from field: optional string php_namespace = 41; - */ - phpNamespace: string; - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - * - * @generated from field: optional string php_metadata_namespace = 44; - */ - phpMetadataNamespace: string; - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - * - * @generated from field: optional string ruby_package = 45; - */ - rubyPackage: string; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 50; - */ - features?: FeatureSet; - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.FileOptions. - */ -export type FileOptionsJson = { - /** - * @generated from field: optional string java_package = 1; - */ - javaPackage?: string; - /** - * @generated from field: optional string java_outer_classname = 8; - */ - javaOuterClassname?: string; - /** - * @generated from field: optional bool java_multiple_files = 10 [default = false]; - */ - javaMultipleFiles?: boolean; - /** - * @generated from field: optional bool java_generate_equals_and_hash = 20 [deprecated = true]; - */ - javaGenerateEqualsAndHash?: boolean; - /** - * @generated from field: optional bool java_string_check_utf8 = 27 [default = false]; - */ - javaStringCheckUtf8?: boolean; - /** - * @generated from field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; - */ - optimizeFor?: FileOptions_OptimizeModeJson; - /** - * @generated from field: optional string go_package = 11; - */ - goPackage?: string; - /** - * @generated from field: optional bool cc_generic_services = 16 [default = false]; - */ - ccGenericServices?: boolean; - /** - * @generated from field: optional bool java_generic_services = 17 [default = false]; - */ - javaGenericServices?: boolean; - /** - * @generated from field: optional bool py_generic_services = 18 [default = false]; - */ - pyGenericServices?: boolean; - /** - * @generated from field: optional bool deprecated = 23 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional bool cc_enable_arenas = 31 [default = true]; - */ - ccEnableArenas?: boolean; - /** - * @generated from field: optional string objc_class_prefix = 36; - */ - objcClassPrefix?: string; - /** - * @generated from field: optional string csharp_namespace = 37; - */ - csharpNamespace?: string; - /** - * @generated from field: optional string swift_prefix = 39; - */ - swiftPrefix?: string; - /** - * @generated from field: optional string php_class_prefix = 40; - */ - phpClassPrefix?: string; - /** - * @generated from field: optional string php_namespace = 41; - */ - phpNamespace?: string; - /** - * @generated from field: optional string php_metadata_namespace = 44; - */ - phpMetadataNamespace?: string; - /** - * @generated from field: optional string ruby_package = 45; - */ - rubyPackage?: string; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 50; - */ - features?: FeatureSetJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.FileOptions. - * Use `create(FileOptionsSchema)` to create a new message. - */ -export declare const FileOptionsSchema: GenMessage; -/** - * Generated classes can be optimized for speed or code size. - * - * @generated from enum google.protobuf.FileOptions.OptimizeMode - */ -export declare enum FileOptions_OptimizeMode { - /** - * Generate complete code for parsing, serialization, - * - * @generated from enum value: SPEED = 1; - */ - SPEED = 1, - /** - * etc. - * - * Use ReflectionOps to implement these methods. - * - * @generated from enum value: CODE_SIZE = 2; - */ - CODE_SIZE = 2, - /** - * Generate code using MessageLite and the lite runtime. - * - * @generated from enum value: LITE_RUNTIME = 3; - */ - LITE_RUNTIME = 3 -} -/** - * JSON type for the enum google.protobuf.FileOptions.OptimizeMode. - */ -export type FileOptions_OptimizeModeJson = "SPEED" | "CODE_SIZE" | "LITE_RUNTIME"; -/** - * Describes the enum google.protobuf.FileOptions.OptimizeMode. - */ -export declare const FileOptions_OptimizeModeSchema: GenEnum; -/** - * @generated from message google.protobuf.MessageOptions - */ -export type MessageOptions = Message<"google.protobuf.MessageOptions"> & { - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - * - * @generated from field: optional bool message_set_wire_format = 1 [default = false]; - */ - messageSetWireFormat: boolean; - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - * - * @generated from field: optional bool no_standard_descriptor_accessor = 2 [default = false]; - */ - noStandardDescriptorAccessor: boolean; - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - * - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated: boolean; - /** - * Whether the message is an automatically generated map entry type for the - * maps field. - * - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - * - * @generated from field: optional bool map_entry = 7; - */ - mapEntry: boolean; - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * - * This should only be used as a temporary measure against broken builds due - * to the change in behavior for JSON field name conflicts. - * - * TODO This is legacy behavior we plan to remove once downstream - * teams have had time to migrate. - * - * @generated from field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; - * @deprecated - */ - deprecatedLegacyJsonFieldConflicts: boolean; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 12; - */ - features?: FeatureSet; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.MessageOptions. - */ -export type MessageOptionsJson = { - /** - * @generated from field: optional bool message_set_wire_format = 1 [default = false]; - */ - messageSetWireFormat?: boolean; - /** - * @generated from field: optional bool no_standard_descriptor_accessor = 2 [default = false]; - */ - noStandardDescriptorAccessor?: boolean; - /** - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional bool map_entry = 7; - */ - mapEntry?: boolean; - /** - * @generated from field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; - */ - deprecatedLegacyJsonFieldConflicts?: boolean; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 12; - */ - features?: FeatureSetJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.MessageOptions. - * Use `create(MessageOptionsSchema)` to create a new message. - */ -export declare const MessageOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.FieldOptions - */ -export type FieldOptions = Message<"google.protobuf.FieldOptions"> & { - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is only implemented to support use of - * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of - * type "bytes" in the open source release -- sorry, we'll try to include - * other types in a future version! - * - * @generated from field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; - */ - ctype: FieldOptions_CType; - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. This option is prohibited in - * Editions, but the `repeated_field_encoding` feature can be used to control - * the behavior. - * - * @generated from field: optional bool packed = 2; - */ - packed: boolean; - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - * - * @generated from field: optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; - */ - jstype: FieldOptions_JSType; - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * - * Note that lazy message fields are still eagerly verified to check - * ill-formed wireformat or missing required fields. Calling IsInitialized() - * on the outer message would fail if the inner message has missing required - * fields. Failed verification would result in parsing failure (except when - * uninitialized messages are acceptable). - * - * @generated from field: optional bool lazy = 5 [default = false]; - */ - lazy: boolean; - /** - * unverified_lazy does no correctness checks on the byte stream. This should - * only be used where lazy with verification is prohibitive for performance - * reasons. - * - * @generated from field: optional bool unverified_lazy = 15 [default = false]; - */ - unverifiedLazy: boolean; - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - * - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated: boolean; - /** - * For Google-internal migration only. Do not use. - * - * @generated from field: optional bool weak = 10 [default = false]; - */ - weak: boolean; - /** - * Indicate that the field value should not be printed out when using debug - * formats, e.g. when the field contains sensitive credentials. - * - * @generated from field: optional bool debug_redact = 16 [default = false]; - */ - debugRedact: boolean; - /** - * @generated from field: optional google.protobuf.FieldOptions.OptionRetention retention = 17; - */ - retention: FieldOptions_OptionRetention; - /** - * @generated from field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19; - */ - targets: FieldOptions_OptionTargetType[]; - /** - * @generated from field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; - */ - editionDefaults: FieldOptions_EditionDefault[]; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 21; - */ - features?: FeatureSet; - /** - * @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22; - */ - featureSupport?: FieldOptions_FeatureSupport; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.FieldOptions. - */ -export type FieldOptionsJson = { - /** - * @generated from field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; - */ - ctype?: FieldOptions_CTypeJson; - /** - * @generated from field: optional bool packed = 2; - */ - packed?: boolean; - /** - * @generated from field: optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; - */ - jstype?: FieldOptions_JSTypeJson; - /** - * @generated from field: optional bool lazy = 5 [default = false]; - */ - lazy?: boolean; - /** - * @generated from field: optional bool unverified_lazy = 15 [default = false]; - */ - unverifiedLazy?: boolean; - /** - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional bool weak = 10 [default = false]; - */ - weak?: boolean; - /** - * @generated from field: optional bool debug_redact = 16 [default = false]; - */ - debugRedact?: boolean; - /** - * @generated from field: optional google.protobuf.FieldOptions.OptionRetention retention = 17; - */ - retention?: FieldOptions_OptionRetentionJson; - /** - * @generated from field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19; - */ - targets?: FieldOptions_OptionTargetTypeJson[]; - /** - * @generated from field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; - */ - editionDefaults?: FieldOptions_EditionDefaultJson[]; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 21; - */ - features?: FeatureSetJson; - /** - * @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22; - */ - featureSupport?: FieldOptions_FeatureSupportJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.FieldOptions. - * Use `create(FieldOptionsSchema)` to create a new message. - */ -export declare const FieldOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.FieldOptions.EditionDefault - */ -export type FieldOptions_EditionDefault = Message<"google.protobuf.FieldOptions.EditionDefault"> & { - /** - * @generated from field: optional google.protobuf.Edition edition = 3; - */ - edition: Edition; - /** - * Textproto value. - * - * @generated from field: optional string value = 2; - */ - value: string; -}; -/** - * JSON type for the message google.protobuf.FieldOptions.EditionDefault. - */ -export type FieldOptions_EditionDefaultJson = { - /** - * @generated from field: optional google.protobuf.Edition edition = 3; - */ - edition?: EditionJson; - /** - * @generated from field: optional string value = 2; - */ - value?: string; -}; -/** - * Describes the message google.protobuf.FieldOptions.EditionDefault. - * Use `create(FieldOptions_EditionDefaultSchema)` to create a new message. - */ -export declare const FieldOptions_EditionDefaultSchema: GenMessage; -/** - * Information about the support window of a feature. - * - * @generated from message google.protobuf.FieldOptions.FeatureSupport - */ -export type FieldOptions_FeatureSupport = Message<"google.protobuf.FieldOptions.FeatureSupport"> & { - /** - * The edition that this feature was first available in. In editions - * earlier than this one, the default assigned to EDITION_LEGACY will be - * used, and proto files will not be able to override it. - * - * @generated from field: optional google.protobuf.Edition edition_introduced = 1; - */ - editionIntroduced: Edition; - /** - * The edition this feature becomes deprecated in. Using this after this - * edition may trigger warnings. - * - * @generated from field: optional google.protobuf.Edition edition_deprecated = 2; - */ - editionDeprecated: Edition; - /** - * The deprecation warning text if this feature is used after the edition it - * was marked deprecated in. - * - * @generated from field: optional string deprecation_warning = 3; - */ - deprecationWarning: string; - /** - * The edition this feature is no longer available in. In editions after - * this one, the last default assigned will be used, and proto files will - * not be able to override it. - * - * @generated from field: optional google.protobuf.Edition edition_removed = 4; - */ - editionRemoved: Edition; -}; -/** - * JSON type for the message google.protobuf.FieldOptions.FeatureSupport. - */ -export type FieldOptions_FeatureSupportJson = { - /** - * @generated from field: optional google.protobuf.Edition edition_introduced = 1; - */ - editionIntroduced?: EditionJson; - /** - * @generated from field: optional google.protobuf.Edition edition_deprecated = 2; - */ - editionDeprecated?: EditionJson; - /** - * @generated from field: optional string deprecation_warning = 3; - */ - deprecationWarning?: string; - /** - * @generated from field: optional google.protobuf.Edition edition_removed = 4; - */ - editionRemoved?: EditionJson; -}; -/** - * Describes the message google.protobuf.FieldOptions.FeatureSupport. - * Use `create(FieldOptions_FeatureSupportSchema)` to create a new message. - */ -export declare const FieldOptions_FeatureSupportSchema: GenMessage; -/** - * @generated from enum google.protobuf.FieldOptions.CType - */ -export declare enum FieldOptions_CType { - /** - * Default mode. - * - * @generated from enum value: STRING = 0; - */ - STRING = 0, - /** - * The option [ctype=CORD] may be applied to a non-repeated field of type - * "bytes". It indicates that in C++, the data should be stored in a Cord - * instead of a string. For very large strings, this may reduce memory - * fragmentation. It may also allow better performance when parsing from a - * Cord, or when parsing with aliasing enabled, as the parsed Cord may then - * alias the original buffer. - * - * @generated from enum value: CORD = 1; - */ - CORD = 1, - /** - * @generated from enum value: STRING_PIECE = 2; - */ - STRING_PIECE = 2 -} -/** - * JSON type for the enum google.protobuf.FieldOptions.CType. - */ -export type FieldOptions_CTypeJson = "STRING" | "CORD" | "STRING_PIECE"; -/** - * Describes the enum google.protobuf.FieldOptions.CType. - */ -export declare const FieldOptions_CTypeSchema: GenEnum; -/** - * @generated from enum google.protobuf.FieldOptions.JSType - */ -export declare enum FieldOptions_JSType { - /** - * Use the default type. - * - * @generated from enum value: JS_NORMAL = 0; - */ - JS_NORMAL = 0, - /** - * Use JavaScript strings. - * - * @generated from enum value: JS_STRING = 1; - */ - JS_STRING = 1, - /** - * Use JavaScript numbers. - * - * @generated from enum value: JS_NUMBER = 2; - */ - JS_NUMBER = 2 -} -/** - * JSON type for the enum google.protobuf.FieldOptions.JSType. - */ -export type FieldOptions_JSTypeJson = "JS_NORMAL" | "JS_STRING" | "JS_NUMBER"; -/** - * Describes the enum google.protobuf.FieldOptions.JSType. - */ -export declare const FieldOptions_JSTypeSchema: GenEnum; -/** - * If set to RETENTION_SOURCE, the option will be omitted from the binary. - * Note: as of January 2023, support for this is in progress and does not yet - * have an effect (b/264593489). - * - * @generated from enum google.protobuf.FieldOptions.OptionRetention - */ -export declare enum FieldOptions_OptionRetention { - /** - * @generated from enum value: RETENTION_UNKNOWN = 0; - */ - RETENTION_UNKNOWN = 0, - /** - * @generated from enum value: RETENTION_RUNTIME = 1; - */ - RETENTION_RUNTIME = 1, - /** - * @generated from enum value: RETENTION_SOURCE = 2; - */ - RETENTION_SOURCE = 2 -} -/** - * JSON type for the enum google.protobuf.FieldOptions.OptionRetention. - */ -export type FieldOptions_OptionRetentionJson = "RETENTION_UNKNOWN" | "RETENTION_RUNTIME" | "RETENTION_SOURCE"; -/** - * Describes the enum google.protobuf.FieldOptions.OptionRetention. - */ -export declare const FieldOptions_OptionRetentionSchema: GenEnum; -/** - * This indicates the types of entities that the field may apply to when used - * as an option. If it is unset, then the field may be freely used as an - * option on any kind of entity. Note: as of January 2023, support for this is - * in progress and does not yet have an effect (b/264593489). - * - * @generated from enum google.protobuf.FieldOptions.OptionTargetType - */ -export declare enum FieldOptions_OptionTargetType { - /** - * @generated from enum value: TARGET_TYPE_UNKNOWN = 0; - */ - TARGET_TYPE_UNKNOWN = 0, - /** - * @generated from enum value: TARGET_TYPE_FILE = 1; - */ - TARGET_TYPE_FILE = 1, - /** - * @generated from enum value: TARGET_TYPE_EXTENSION_RANGE = 2; - */ - TARGET_TYPE_EXTENSION_RANGE = 2, - /** - * @generated from enum value: TARGET_TYPE_MESSAGE = 3; - */ - TARGET_TYPE_MESSAGE = 3, - /** - * @generated from enum value: TARGET_TYPE_FIELD = 4; - */ - TARGET_TYPE_FIELD = 4, - /** - * @generated from enum value: TARGET_TYPE_ONEOF = 5; - */ - TARGET_TYPE_ONEOF = 5, - /** - * @generated from enum value: TARGET_TYPE_ENUM = 6; - */ - TARGET_TYPE_ENUM = 6, - /** - * @generated from enum value: TARGET_TYPE_ENUM_ENTRY = 7; - */ - TARGET_TYPE_ENUM_ENTRY = 7, - /** - * @generated from enum value: TARGET_TYPE_SERVICE = 8; - */ - TARGET_TYPE_SERVICE = 8, - /** - * @generated from enum value: TARGET_TYPE_METHOD = 9; - */ - TARGET_TYPE_METHOD = 9 -} -/** - * JSON type for the enum google.protobuf.FieldOptions.OptionTargetType. - */ -export type FieldOptions_OptionTargetTypeJson = "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD"; -/** - * Describes the enum google.protobuf.FieldOptions.OptionTargetType. - */ -export declare const FieldOptions_OptionTargetTypeSchema: GenEnum; -/** - * @generated from message google.protobuf.OneofOptions - */ -export type OneofOptions = Message<"google.protobuf.OneofOptions"> & { - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 1; - */ - features?: FeatureSet; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.OneofOptions. - */ -export type OneofOptionsJson = { - /** - * @generated from field: optional google.protobuf.FeatureSet features = 1; - */ - features?: FeatureSetJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.OneofOptions. - * Use `create(OneofOptionsSchema)` to create a new message. - */ -export declare const OneofOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.EnumOptions - */ -export type EnumOptions = Message<"google.protobuf.EnumOptions"> & { - /** - * Set this option to true to allow mapping different tag names to the same - * value. - * - * @generated from field: optional bool allow_alias = 2; - */ - allowAlias: boolean; - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - * - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated: boolean; - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * TODO Remove this legacy behavior once downstream teams have - * had time to migrate. - * - * @generated from field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; - * @deprecated - */ - deprecatedLegacyJsonFieldConflicts: boolean; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 7; - */ - features?: FeatureSet; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.EnumOptions. - */ -export type EnumOptionsJson = { - /** - * @generated from field: optional bool allow_alias = 2; - */ - allowAlias?: boolean; - /** - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; - */ - deprecatedLegacyJsonFieldConflicts?: boolean; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 7; - */ - features?: FeatureSetJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.EnumOptions. - * Use `create(EnumOptionsSchema)` to create a new message. - */ -export declare const EnumOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.EnumValueOptions - */ -export type EnumValueOptions = Message<"google.protobuf.EnumValueOptions"> & { - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - * - * @generated from field: optional bool deprecated = 1 [default = false]; - */ - deprecated: boolean; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 2; - */ - features?: FeatureSet; - /** - * Indicate that fields annotated with this enum value should not be printed - * out when using debug formats, e.g. when the field contains sensitive - * credentials. - * - * @generated from field: optional bool debug_redact = 3 [default = false]; - */ - debugRedact: boolean; - /** - * Information about the support window of a feature value. - * - * @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4; - */ - featureSupport?: FieldOptions_FeatureSupport; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.EnumValueOptions. - */ -export type EnumValueOptionsJson = { - /** - * @generated from field: optional bool deprecated = 1 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 2; - */ - features?: FeatureSetJson; - /** - * @generated from field: optional bool debug_redact = 3 [default = false]; - */ - debugRedact?: boolean; - /** - * @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4; - */ - featureSupport?: FieldOptions_FeatureSupportJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.EnumValueOptions. - * Use `create(EnumValueOptionsSchema)` to create a new message. - */ -export declare const EnumValueOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.ServiceOptions - */ -export type ServiceOptions = Message<"google.protobuf.ServiceOptions"> & { - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 34; - */ - features?: FeatureSet; - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - * - * @generated from field: optional bool deprecated = 33 [default = false]; - */ - deprecated: boolean; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.ServiceOptions. - */ -export type ServiceOptionsJson = { - /** - * @generated from field: optional google.protobuf.FeatureSet features = 34; - */ - features?: FeatureSetJson; - /** - * @generated from field: optional bool deprecated = 33 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.ServiceOptions. - * Use `create(ServiceOptionsSchema)` to create a new message. - */ -export declare const ServiceOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.MethodOptions - */ -export type MethodOptions = Message<"google.protobuf.MethodOptions"> & { - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - * - * @generated from field: optional bool deprecated = 33 [default = false]; - */ - deprecated: boolean; - /** - * @generated from field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; - */ - idempotencyLevel: MethodOptions_IdempotencyLevel; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 35; - */ - features?: FeatureSet; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.MethodOptions. - */ -export type MethodOptionsJson = { - /** - * @generated from field: optional bool deprecated = 33 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; - */ - idempotencyLevel?: MethodOptions_IdempotencyLevelJson; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 35; - */ - features?: FeatureSetJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.MethodOptions. - * Use `create(MethodOptionsSchema)` to create a new message. - */ -export declare const MethodOptionsSchema: GenMessage; -/** - * Is this method side-effect-free (or safe in HTTP parlance), or idempotent, - * or neither? HTTP based RPC implementation may choose GET verb for safe - * methods, and PUT verb for idempotent methods instead of the default POST. - * - * @generated from enum google.protobuf.MethodOptions.IdempotencyLevel - */ -export declare enum MethodOptions_IdempotencyLevel { - /** - * @generated from enum value: IDEMPOTENCY_UNKNOWN = 0; - */ - IDEMPOTENCY_UNKNOWN = 0, - /** - * implies idempotent - * - * @generated from enum value: NO_SIDE_EFFECTS = 1; - */ - NO_SIDE_EFFECTS = 1, - /** - * idempotent, but may have side effects - * - * @generated from enum value: IDEMPOTENT = 2; - */ - IDEMPOTENT = 2 -} -/** - * JSON type for the enum google.protobuf.MethodOptions.IdempotencyLevel. - */ -export type MethodOptions_IdempotencyLevelJson = "IDEMPOTENCY_UNKNOWN" | "NO_SIDE_EFFECTS" | "IDEMPOTENT"; -/** - * Describes the enum google.protobuf.MethodOptions.IdempotencyLevel. - */ -export declare const MethodOptions_IdempotencyLevelSchema: GenEnum; -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - * - * @generated from message google.protobuf.UninterpretedOption - */ -export type UninterpretedOption = Message<"google.protobuf.UninterpretedOption"> & { - /** - * @generated from field: repeated google.protobuf.UninterpretedOption.NamePart name = 2; - */ - name: UninterpretedOption_NamePart[]; - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - * - * @generated from field: optional string identifier_value = 3; - */ - identifierValue: string; - /** - * @generated from field: optional uint64 positive_int_value = 4; - */ - positiveIntValue: bigint; - /** - * @generated from field: optional int64 negative_int_value = 5; - */ - negativeIntValue: bigint; - /** - * @generated from field: optional double double_value = 6; - */ - doubleValue: number; - /** - * @generated from field: optional bytes string_value = 7; - */ - stringValue: Uint8Array; - /** - * @generated from field: optional string aggregate_value = 8; - */ - aggregateValue: string; -}; -/** - * JSON type for the message google.protobuf.UninterpretedOption. - */ -export type UninterpretedOptionJson = { - /** - * @generated from field: repeated google.protobuf.UninterpretedOption.NamePart name = 2; - */ - name?: UninterpretedOption_NamePartJson[]; - /** - * @generated from field: optional string identifier_value = 3; - */ - identifierValue?: string; - /** - * @generated from field: optional uint64 positive_int_value = 4; - */ - positiveIntValue?: string; - /** - * @generated from field: optional int64 negative_int_value = 5; - */ - negativeIntValue?: string; - /** - * @generated from field: optional double double_value = 6; - */ - doubleValue?: number | "NaN" | "Infinity" | "-Infinity"; - /** - * @generated from field: optional bytes string_value = 7; - */ - stringValue?: string; - /** - * @generated from field: optional string aggregate_value = 8; - */ - aggregateValue?: string; -}; -/** - * Describes the message google.protobuf.UninterpretedOption. - * Use `create(UninterpretedOptionSchema)` to create a new message. - */ -export declare const UninterpretedOptionSchema: GenMessage; -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents - * "foo.(bar.baz).moo". - * - * @generated from message google.protobuf.UninterpretedOption.NamePart - */ -export type UninterpretedOption_NamePart = Message<"google.protobuf.UninterpretedOption.NamePart"> & { - /** - * @generated from field: required string name_part = 1; - */ - namePart: string; - /** - * @generated from field: required bool is_extension = 2; - */ - isExtension: boolean; -}; -/** - * JSON type for the message google.protobuf.UninterpretedOption.NamePart. - */ -export type UninterpretedOption_NamePartJson = { - /** - * @generated from field: required string name_part = 1; - */ - namePart?: string; - /** - * @generated from field: required bool is_extension = 2; - */ - isExtension?: boolean; -}; -/** - * Describes the message google.protobuf.UninterpretedOption.NamePart. - * Use `create(UninterpretedOption_NamePartSchema)` to create a new message. - */ -export declare const UninterpretedOption_NamePartSchema: GenMessage; -/** - * TODO Enums in C++ gencode (and potentially other languages) are - * not well scoped. This means that each of the feature enums below can clash - * with each other. The short names we've chosen maximize call-site - * readability, but leave us very open to this scenario. A future feature will - * be designed and implemented to handle this, hopefully before we ever hit a - * conflict here. - * - * @generated from message google.protobuf.FeatureSet - */ -export type FeatureSet = Message<"google.protobuf.FeatureSet"> & { - /** - * @generated from field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1; - */ - fieldPresence: FeatureSet_FieldPresence; - /** - * @generated from field: optional google.protobuf.FeatureSet.EnumType enum_type = 2; - */ - enumType: FeatureSet_EnumType; - /** - * @generated from field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3; - */ - repeatedFieldEncoding: FeatureSet_RepeatedFieldEncoding; - /** - * @generated from field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4; - */ - utf8Validation: FeatureSet_Utf8Validation; - /** - * @generated from field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5; - */ - messageEncoding: FeatureSet_MessageEncoding; - /** - * @generated from field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6; - */ - jsonFormat: FeatureSet_JsonFormat; -}; -/** - * JSON type for the message google.protobuf.FeatureSet. - */ -export type FeatureSetJson = { - /** - * @generated from field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1; - */ - fieldPresence?: FeatureSet_FieldPresenceJson; - /** - * @generated from field: optional google.protobuf.FeatureSet.EnumType enum_type = 2; - */ - enumType?: FeatureSet_EnumTypeJson; - /** - * @generated from field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3; - */ - repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncodingJson; - /** - * @generated from field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4; - */ - utf8Validation?: FeatureSet_Utf8ValidationJson; - /** - * @generated from field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5; - */ - messageEncoding?: FeatureSet_MessageEncodingJson; - /** - * @generated from field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6; - */ - jsonFormat?: FeatureSet_JsonFormatJson; -}; -/** - * Describes the message google.protobuf.FeatureSet. - * Use `create(FeatureSetSchema)` to create a new message. - */ -export declare const FeatureSetSchema: GenMessage; -/** - * @generated from enum google.protobuf.FeatureSet.FieldPresence - */ -export declare enum FeatureSet_FieldPresence { - /** - * @generated from enum value: FIELD_PRESENCE_UNKNOWN = 0; - */ - FIELD_PRESENCE_UNKNOWN = 0, - /** - * @generated from enum value: EXPLICIT = 1; - */ - EXPLICIT = 1, - /** - * @generated from enum value: IMPLICIT = 2; - */ - IMPLICIT = 2, - /** - * @generated from enum value: LEGACY_REQUIRED = 3; - */ - LEGACY_REQUIRED = 3 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.FieldPresence. - */ -export type FeatureSet_FieldPresenceJson = "FIELD_PRESENCE_UNKNOWN" | "EXPLICIT" | "IMPLICIT" | "LEGACY_REQUIRED"; -/** - * Describes the enum google.protobuf.FeatureSet.FieldPresence. - */ -export declare const FeatureSet_FieldPresenceSchema: GenEnum; -/** - * @generated from enum google.protobuf.FeatureSet.EnumType - */ -export declare enum FeatureSet_EnumType { - /** - * @generated from enum value: ENUM_TYPE_UNKNOWN = 0; - */ - ENUM_TYPE_UNKNOWN = 0, - /** - * @generated from enum value: OPEN = 1; - */ - OPEN = 1, - /** - * @generated from enum value: CLOSED = 2; - */ - CLOSED = 2 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.EnumType. - */ -export type FeatureSet_EnumTypeJson = "ENUM_TYPE_UNKNOWN" | "OPEN" | "CLOSED"; -/** - * Describes the enum google.protobuf.FeatureSet.EnumType. - */ -export declare const FeatureSet_EnumTypeSchema: GenEnum; -/** - * @generated from enum google.protobuf.FeatureSet.RepeatedFieldEncoding - */ -export declare enum FeatureSet_RepeatedFieldEncoding { - /** - * @generated from enum value: REPEATED_FIELD_ENCODING_UNKNOWN = 0; - */ - REPEATED_FIELD_ENCODING_UNKNOWN = 0, - /** - * @generated from enum value: PACKED = 1; - */ - PACKED = 1, - /** - * @generated from enum value: EXPANDED = 2; - */ - EXPANDED = 2 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.RepeatedFieldEncoding. - */ -export type FeatureSet_RepeatedFieldEncodingJson = "REPEATED_FIELD_ENCODING_UNKNOWN" | "PACKED" | "EXPANDED"; -/** - * Describes the enum google.protobuf.FeatureSet.RepeatedFieldEncoding. - */ -export declare const FeatureSet_RepeatedFieldEncodingSchema: GenEnum; -/** - * @generated from enum google.protobuf.FeatureSet.Utf8Validation - */ -export declare enum FeatureSet_Utf8Validation { - /** - * @generated from enum value: UTF8_VALIDATION_UNKNOWN = 0; - */ - UTF8_VALIDATION_UNKNOWN = 0, - /** - * @generated from enum value: VERIFY = 2; - */ - VERIFY = 2, - /** - * @generated from enum value: NONE = 3; - */ - NONE = 3 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.Utf8Validation. - */ -export type FeatureSet_Utf8ValidationJson = "UTF8_VALIDATION_UNKNOWN" | "VERIFY" | "NONE"; -/** - * Describes the enum google.protobuf.FeatureSet.Utf8Validation. - */ -export declare const FeatureSet_Utf8ValidationSchema: GenEnum; -/** - * @generated from enum google.protobuf.FeatureSet.MessageEncoding - */ -export declare enum FeatureSet_MessageEncoding { - /** - * @generated from enum value: MESSAGE_ENCODING_UNKNOWN = 0; - */ - MESSAGE_ENCODING_UNKNOWN = 0, - /** - * @generated from enum value: LENGTH_PREFIXED = 1; - */ - LENGTH_PREFIXED = 1, - /** - * @generated from enum value: DELIMITED = 2; - */ - DELIMITED = 2 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.MessageEncoding. - */ -export type FeatureSet_MessageEncodingJson = "MESSAGE_ENCODING_UNKNOWN" | "LENGTH_PREFIXED" | "DELIMITED"; -/** - * Describes the enum google.protobuf.FeatureSet.MessageEncoding. - */ -export declare const FeatureSet_MessageEncodingSchema: GenEnum; -/** - * @generated from enum google.protobuf.FeatureSet.JsonFormat - */ -export declare enum FeatureSet_JsonFormat { - /** - * @generated from enum value: JSON_FORMAT_UNKNOWN = 0; - */ - JSON_FORMAT_UNKNOWN = 0, - /** - * @generated from enum value: ALLOW = 1; - */ - ALLOW = 1, - /** - * @generated from enum value: LEGACY_BEST_EFFORT = 2; - */ - LEGACY_BEST_EFFORT = 2 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.JsonFormat. - */ -export type FeatureSet_JsonFormatJson = "JSON_FORMAT_UNKNOWN" | "ALLOW" | "LEGACY_BEST_EFFORT"; -/** - * Describes the enum google.protobuf.FeatureSet.JsonFormat. - */ -export declare const FeatureSet_JsonFormatSchema: GenEnum; -/** - * A compiled specification for the defaults of a set of features. These - * messages are generated from FeatureSet extensions and can be used to seed - * feature resolution. The resolution with this object becomes a simple search - * for the closest matching edition, followed by proto merges. - * - * @generated from message google.protobuf.FeatureSetDefaults - */ -export type FeatureSetDefaults = Message<"google.protobuf.FeatureSetDefaults"> & { - /** - * @generated from field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1; - */ - defaults: FeatureSetDefaults_FeatureSetEditionDefault[]; - /** - * The minimum supported edition (inclusive) when this was constructed. - * Editions before this will not have defaults. - * - * @generated from field: optional google.protobuf.Edition minimum_edition = 4; - */ - minimumEdition: Edition; - /** - * The maximum known edition (inclusive) when this was constructed. Editions - * after this will not have reliable defaults. - * - * @generated from field: optional google.protobuf.Edition maximum_edition = 5; - */ - maximumEdition: Edition; -}; -/** - * JSON type for the message google.protobuf.FeatureSetDefaults. - */ -export type FeatureSetDefaultsJson = { - /** - * @generated from field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1; - */ - defaults?: FeatureSetDefaults_FeatureSetEditionDefaultJson[]; - /** - * @generated from field: optional google.protobuf.Edition minimum_edition = 4; - */ - minimumEdition?: EditionJson; - /** - * @generated from field: optional google.protobuf.Edition maximum_edition = 5; - */ - maximumEdition?: EditionJson; -}; -/** - * Describes the message google.protobuf.FeatureSetDefaults. - * Use `create(FeatureSetDefaultsSchema)` to create a new message. - */ -export declare const FeatureSetDefaultsSchema: GenMessage; -/** - * A map from every known edition with a unique set of defaults to its - * defaults. Not all editions may be contained here. For a given edition, - * the defaults at the closest matching edition ordered at or before it should - * be used. This field must be in strict ascending order by edition. - * - * @generated from message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - */ -export type FeatureSetDefaults_FeatureSetEditionDefault = Message<"google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"> & { - /** - * @generated from field: optional google.protobuf.Edition edition = 3; - */ - edition: Edition; - /** - * Defaults of features that can be overridden in this edition. - * - * @generated from field: optional google.protobuf.FeatureSet overridable_features = 4; - */ - overridableFeatures?: FeatureSet; - /** - * Defaults of features that can't be overridden in this edition. - * - * @generated from field: optional google.protobuf.FeatureSet fixed_features = 5; - */ - fixedFeatures?: FeatureSet; -}; -/** - * JSON type for the message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault. - */ -export type FeatureSetDefaults_FeatureSetEditionDefaultJson = { - /** - * @generated from field: optional google.protobuf.Edition edition = 3; - */ - edition?: EditionJson; - /** - * @generated from field: optional google.protobuf.FeatureSet overridable_features = 4; - */ - overridableFeatures?: FeatureSetJson; - /** - * @generated from field: optional google.protobuf.FeatureSet fixed_features = 5; - */ - fixedFeatures?: FeatureSetJson; -}; -/** - * Describes the message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault. - * Use `create(FeatureSetDefaults_FeatureSetEditionDefaultSchema)` to create a new message. - */ -export declare const FeatureSetDefaults_FeatureSetEditionDefaultSchema: GenMessage; -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - * - * @generated from message google.protobuf.SourceCodeInfo - */ -export type SourceCodeInfo = Message<"google.protobuf.SourceCodeInfo"> & { - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - * - * @generated from field: repeated google.protobuf.SourceCodeInfo.Location location = 1; - */ - location: SourceCodeInfo_Location[]; -}; -/** - * JSON type for the message google.protobuf.SourceCodeInfo. - */ -export type SourceCodeInfoJson = { - /** - * @generated from field: repeated google.protobuf.SourceCodeInfo.Location location = 1; - */ - location?: SourceCodeInfo_LocationJson[]; -}; -/** - * Describes the message google.protobuf.SourceCodeInfo. - * Use `create(SourceCodeInfoSchema)` to create a new message. - */ -export declare const SourceCodeInfoSchema: GenMessage; -/** - * @generated from message google.protobuf.SourceCodeInfo.Location - */ -export type SourceCodeInfo_Location = Message<"google.protobuf.SourceCodeInfo.Location"> & { - /** - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition appears. - * For example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - * - * @generated from field: repeated int32 path = 1 [packed = true]; - */ - path: number[]; - /** - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - * - * @generated from field: repeated int32 span = 2 [packed = true]; - */ - span: number[]; - /** - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * - * Examples: - * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * - * // Comment attached to moo. - * // - * // Another line attached to moo. - * optional double moo = 4; - * - * // Detached comment for corge. This is not leading or trailing comments - * // to moo or corge because there are blank lines separating it from - * // both. - * - * // Detached comment for corge paragraph 2. - * - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. *\/ - * /* Block comment attached to - * * grault. *\/ - * optional int32 grault = 6; - * - * // ignored detached comments. - * - * @generated from field: optional string leading_comments = 3; - */ - leadingComments: string; - /** - * @generated from field: optional string trailing_comments = 4; - */ - trailingComments: string; - /** - * @generated from field: repeated string leading_detached_comments = 6; - */ - leadingDetachedComments: string[]; -}; -/** - * JSON type for the message google.protobuf.SourceCodeInfo.Location. - */ -export type SourceCodeInfo_LocationJson = { - /** - * @generated from field: repeated int32 path = 1 [packed = true]; - */ - path?: number[]; - /** - * @generated from field: repeated int32 span = 2 [packed = true]; - */ - span?: number[]; - /** - * @generated from field: optional string leading_comments = 3; - */ - leadingComments?: string; - /** - * @generated from field: optional string trailing_comments = 4; - */ - trailingComments?: string; - /** - * @generated from field: repeated string leading_detached_comments = 6; - */ - leadingDetachedComments?: string[]; -}; -/** - * Describes the message google.protobuf.SourceCodeInfo.Location. - * Use `create(SourceCodeInfo_LocationSchema)` to create a new message. - */ -export declare const SourceCodeInfo_LocationSchema: GenMessage; -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - * - * @generated from message google.protobuf.GeneratedCodeInfo - */ -export type GeneratedCodeInfo = Message<"google.protobuf.GeneratedCodeInfo"> & { - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - * - * @generated from field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; - */ - annotation: GeneratedCodeInfo_Annotation[]; -}; -/** - * JSON type for the message google.protobuf.GeneratedCodeInfo. - */ -export type GeneratedCodeInfoJson = { - /** - * @generated from field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; - */ - annotation?: GeneratedCodeInfo_AnnotationJson[]; -}; -/** - * Describes the message google.protobuf.GeneratedCodeInfo. - * Use `create(GeneratedCodeInfoSchema)` to create a new message. - */ -export declare const GeneratedCodeInfoSchema: GenMessage; -/** - * @generated from message google.protobuf.GeneratedCodeInfo.Annotation - */ -export type GeneratedCodeInfo_Annotation = Message<"google.protobuf.GeneratedCodeInfo.Annotation"> & { - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - * - * @generated from field: repeated int32 path = 1 [packed = true]; - */ - path: number[]; - /** - * Identifies the filesystem path to the original source .proto. - * - * @generated from field: optional string source_file = 2; - */ - sourceFile: string; - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - * - * @generated from field: optional int32 begin = 3; - */ - begin: number; - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified object. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - * - * @generated from field: optional int32 end = 4; - */ - end: number; - /** - * @generated from field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; - */ - semantic: GeneratedCodeInfo_Annotation_Semantic; -}; -/** - * JSON type for the message google.protobuf.GeneratedCodeInfo.Annotation. - */ -export type GeneratedCodeInfo_AnnotationJson = { - /** - * @generated from field: repeated int32 path = 1 [packed = true]; - */ - path?: number[]; - /** - * @generated from field: optional string source_file = 2; - */ - sourceFile?: string; - /** - * @generated from field: optional int32 begin = 3; - */ - begin?: number; - /** - * @generated from field: optional int32 end = 4; - */ - end?: number; - /** - * @generated from field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; - */ - semantic?: GeneratedCodeInfo_Annotation_SemanticJson; -}; -/** - * Describes the message google.protobuf.GeneratedCodeInfo.Annotation. - * Use `create(GeneratedCodeInfo_AnnotationSchema)` to create a new message. - */ -export declare const GeneratedCodeInfo_AnnotationSchema: GenMessage; -/** - * Represents the identified object's effect on the element in the original - * .proto file. - * - * @generated from enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic - */ -export declare enum GeneratedCodeInfo_Annotation_Semantic { - /** - * There is no effect or the effect is indescribable. - * - * @generated from enum value: NONE = 0; - */ - NONE = 0, - /** - * The element is set or otherwise mutated. - * - * @generated from enum value: SET = 1; - */ - SET = 1, - /** - * An alias to the element is returned. - * - * @generated from enum value: ALIAS = 2; - */ - ALIAS = 2 -} -/** - * JSON type for the enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic. - */ -export type GeneratedCodeInfo_Annotation_SemanticJson = "NONE" | "SET" | "ALIAS"; -/** - * Describes the enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic. - */ -export declare const GeneratedCodeInfo_Annotation_SemanticSchema: GenEnum; -/** - * The full set of known editions. - * - * @generated from enum google.protobuf.Edition - */ -export declare enum Edition { - /** - * A placeholder for an unknown edition value. - * - * @generated from enum value: EDITION_UNKNOWN = 0; - */ - EDITION_UNKNOWN = 0, - /** - * A placeholder edition for specifying default behaviors *before* a feature - * was first introduced. This is effectively an "infinite past". - * - * @generated from enum value: EDITION_LEGACY = 900; - */ - EDITION_LEGACY = 900, - /** - * Legacy syntax "editions". These pre-date editions, but behave much like - * distinct editions. These can't be used to specify the edition of proto - * files, but feature definitions must supply proto2/proto3 defaults for - * backwards compatibility. - * - * @generated from enum value: EDITION_PROTO2 = 998; - */ - EDITION_PROTO2 = 998, - /** - * @generated from enum value: EDITION_PROTO3 = 999; - */ - EDITION_PROTO3 = 999, - /** - * Editions that have been released. The specific values are arbitrary and - * should not be depended on, but they will always be time-ordered for easy - * comparison. - * - * @generated from enum value: EDITION_2023 = 1000; - */ - EDITION_2023 = 1000, - /** - * @generated from enum value: EDITION_2024 = 1001; - */ - EDITION_2024 = 1001, - /** - * Placeholder editions for testing feature resolution. These should not be - * used or relyed on outside of tests. - * - * @generated from enum value: EDITION_1_TEST_ONLY = 1; - */ - EDITION_1_TEST_ONLY = 1, - /** - * @generated from enum value: EDITION_2_TEST_ONLY = 2; - */ - EDITION_2_TEST_ONLY = 2, - /** - * @generated from enum value: EDITION_99997_TEST_ONLY = 99997; - */ - EDITION_99997_TEST_ONLY = 99997, - /** - * @generated from enum value: EDITION_99998_TEST_ONLY = 99998; - */ - EDITION_99998_TEST_ONLY = 99998, - /** - * @generated from enum value: EDITION_99999_TEST_ONLY = 99999; - */ - EDITION_99999_TEST_ONLY = 99999, - /** - * Placeholder for specifying unbounded edition support. This should only - * ever be used by plugins that can expect to never require any changes to - * support a new edition. - * - * @generated from enum value: EDITION_MAX = 2147483647; - */ - EDITION_MAX = 2147483647 -} -/** - * JSON type for the enum google.protobuf.Edition. - */ -export type EditionJson = "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX"; -/** - * Describes the enum google.protobuf.Edition. - */ -export declare const EditionSchema: GenEnum; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.js deleted file mode 100644 index 66ce1b0..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.js +++ /dev/null @@ -1,794 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.FeatureSet_EnumTypeSchema = exports.FeatureSet_EnumType = exports.FeatureSet_FieldPresenceSchema = exports.FeatureSet_FieldPresence = exports.FeatureSetSchema = exports.UninterpretedOption_NamePartSchema = exports.UninterpretedOptionSchema = exports.MethodOptions_IdempotencyLevelSchema = exports.MethodOptions_IdempotencyLevel = exports.MethodOptionsSchema = exports.ServiceOptionsSchema = exports.EnumValueOptionsSchema = exports.EnumOptionsSchema = exports.OneofOptionsSchema = exports.FieldOptions_OptionTargetTypeSchema = exports.FieldOptions_OptionTargetType = exports.FieldOptions_OptionRetentionSchema = exports.FieldOptions_OptionRetention = exports.FieldOptions_JSTypeSchema = exports.FieldOptions_JSType = exports.FieldOptions_CTypeSchema = exports.FieldOptions_CType = exports.FieldOptions_FeatureSupportSchema = exports.FieldOptions_EditionDefaultSchema = exports.FieldOptionsSchema = exports.MessageOptionsSchema = exports.FileOptions_OptimizeModeSchema = exports.FileOptions_OptimizeMode = exports.FileOptionsSchema = exports.MethodDescriptorProtoSchema = exports.ServiceDescriptorProtoSchema = exports.EnumValueDescriptorProtoSchema = exports.EnumDescriptorProto_EnumReservedRangeSchema = exports.EnumDescriptorProtoSchema = exports.OneofDescriptorProtoSchema = exports.FieldDescriptorProto_LabelSchema = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_TypeSchema = exports.FieldDescriptorProto_Type = exports.FieldDescriptorProtoSchema = exports.ExtensionRangeOptions_VerificationStateSchema = exports.ExtensionRangeOptions_VerificationState = exports.ExtensionRangeOptions_DeclarationSchema = exports.ExtensionRangeOptionsSchema = exports.DescriptorProto_ReservedRangeSchema = exports.DescriptorProto_ExtensionRangeSchema = exports.DescriptorProtoSchema = exports.FileDescriptorProtoSchema = exports.FileDescriptorSetSchema = exports.file_google_protobuf_descriptor = void 0; -exports.EditionSchema = exports.Edition = exports.GeneratedCodeInfo_Annotation_SemanticSchema = exports.GeneratedCodeInfo_Annotation_Semantic = exports.GeneratedCodeInfo_AnnotationSchema = exports.GeneratedCodeInfoSchema = exports.SourceCodeInfo_LocationSchema = exports.SourceCodeInfoSchema = exports.FeatureSetDefaults_FeatureSetEditionDefaultSchema = exports.FeatureSetDefaultsSchema = exports.FeatureSet_JsonFormatSchema = exports.FeatureSet_JsonFormat = exports.FeatureSet_MessageEncodingSchema = exports.FeatureSet_MessageEncoding = exports.FeatureSet_Utf8ValidationSchema = exports.FeatureSet_Utf8Validation = exports.FeatureSet_RepeatedFieldEncodingSchema = exports.FeatureSet_RepeatedFieldEncoding = void 0; -const boot_js_1 = require("../../../../codegenv1/boot.js"); -const message_js_1 = require("../../../../codegenv1/message.js"); -const enum_js_1 = require("../../../../codegenv1/enum.js"); -/** - * Describes the file google/protobuf/descriptor.proto. - */ -exports.file_google_protobuf_descriptor = (0, boot_js_1.boot)({ "name": "google/protobuf/descriptor.proto", "package": "google.protobuf", "messageType": [{ "name": "FileDescriptorSet", "field": [{ "name": "file", "number": 1, "type": 11, "label": 3, "typeName": ".google.protobuf.FileDescriptorProto" }] }, { "name": "FileDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "package", "number": 2, "type": 9, "label": 1 }, { "name": "dependency", "number": 3, "type": 9, "label": 3 }, { "name": "public_dependency", "number": 10, "type": 5, "label": 3 }, { "name": "weak_dependency", "number": 11, "type": 5, "label": 3 }, { "name": "message_type", "number": 4, "type": 11, "label": 3, "typeName": ".google.protobuf.DescriptorProto" }, { "name": "enum_type", "number": 5, "type": 11, "label": 3, "typeName": ".google.protobuf.EnumDescriptorProto" }, { "name": "service", "number": 6, "type": 11, "label": 3, "typeName": ".google.protobuf.ServiceDescriptorProto" }, { "name": "extension", "number": 7, "type": 11, "label": 3, "typeName": ".google.protobuf.FieldDescriptorProto" }, { "name": "options", "number": 8, "type": 11, "label": 1, "typeName": ".google.protobuf.FileOptions" }, { "name": "source_code_info", "number": 9, "type": 11, "label": 1, "typeName": ".google.protobuf.SourceCodeInfo" }, { "name": "syntax", "number": 12, "type": 9, "label": 1 }, { "name": "edition", "number": 14, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }] }, { "name": "DescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "field", "number": 2, "type": 11, "label": 3, "typeName": ".google.protobuf.FieldDescriptorProto" }, { "name": "extension", "number": 6, "type": 11, "label": 3, "typeName": ".google.protobuf.FieldDescriptorProto" }, { "name": "nested_type", "number": 3, "type": 11, "label": 3, "typeName": ".google.protobuf.DescriptorProto" }, { "name": "enum_type", "number": 4, "type": 11, "label": 3, "typeName": ".google.protobuf.EnumDescriptorProto" }, { "name": "extension_range", "number": 5, "type": 11, "label": 3, "typeName": ".google.protobuf.DescriptorProto.ExtensionRange" }, { "name": "oneof_decl", "number": 8, "type": 11, "label": 3, "typeName": ".google.protobuf.OneofDescriptorProto" }, { "name": "options", "number": 7, "type": 11, "label": 1, "typeName": ".google.protobuf.MessageOptions" }, { "name": "reserved_range", "number": 9, "type": 11, "label": 3, "typeName": ".google.protobuf.DescriptorProto.ReservedRange" }, { "name": "reserved_name", "number": 10, "type": 9, "label": 3 }], "nestedType": [{ "name": "ExtensionRange", "field": [{ "name": "start", "number": 1, "type": 5, "label": 1 }, { "name": "end", "number": 2, "type": 5, "label": 1 }, { "name": "options", "number": 3, "type": 11, "label": 1, "typeName": ".google.protobuf.ExtensionRangeOptions" }] }, { "name": "ReservedRange", "field": [{ "name": "start", "number": 1, "type": 5, "label": 1 }, { "name": "end", "number": 2, "type": 5, "label": 1 }] }] }, { "name": "ExtensionRangeOptions", "field": [{ "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }, { "name": "declaration", "number": 2, "type": 11, "label": 3, "typeName": ".google.protobuf.ExtensionRangeOptions.Declaration", "options": { "retention": 2 } }, { "name": "features", "number": 50, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "verification", "number": 3, "type": 14, "label": 1, "typeName": ".google.protobuf.ExtensionRangeOptions.VerificationState", "defaultValue": "UNVERIFIED", "options": { "retention": 2 } }], "nestedType": [{ "name": "Declaration", "field": [{ "name": "number", "number": 1, "type": 5, "label": 1 }, { "name": "full_name", "number": 2, "type": 9, "label": 1 }, { "name": "type", "number": 3, "type": 9, "label": 1 }, { "name": "reserved", "number": 5, "type": 8, "label": 1 }, { "name": "repeated", "number": 6, "type": 8, "label": 1 }] }], "enumType": [{ "name": "VerificationState", "value": [{ "name": "DECLARATION", "number": 0 }, { "name": "UNVERIFIED", "number": 1 }] }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "FieldDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "number", "number": 3, "type": 5, "label": 1 }, { "name": "label", "number": 4, "type": 14, "label": 1, "typeName": ".google.protobuf.FieldDescriptorProto.Label" }, { "name": "type", "number": 5, "type": 14, "label": 1, "typeName": ".google.protobuf.FieldDescriptorProto.Type" }, { "name": "type_name", "number": 6, "type": 9, "label": 1 }, { "name": "extendee", "number": 2, "type": 9, "label": 1 }, { "name": "default_value", "number": 7, "type": 9, "label": 1 }, { "name": "oneof_index", "number": 9, "type": 5, "label": 1 }, { "name": "json_name", "number": 10, "type": 9, "label": 1 }, { "name": "options", "number": 8, "type": 11, "label": 1, "typeName": ".google.protobuf.FieldOptions" }, { "name": "proto3_optional", "number": 17, "type": 8, "label": 1 }], "enumType": [{ "name": "Type", "value": [{ "name": "TYPE_DOUBLE", "number": 1 }, { "name": "TYPE_FLOAT", "number": 2 }, { "name": "TYPE_INT64", "number": 3 }, { "name": "TYPE_UINT64", "number": 4 }, { "name": "TYPE_INT32", "number": 5 }, { "name": "TYPE_FIXED64", "number": 6 }, { "name": "TYPE_FIXED32", "number": 7 }, { "name": "TYPE_BOOL", "number": 8 }, { "name": "TYPE_STRING", "number": 9 }, { "name": "TYPE_GROUP", "number": 10 }, { "name": "TYPE_MESSAGE", "number": 11 }, { "name": "TYPE_BYTES", "number": 12 }, { "name": "TYPE_UINT32", "number": 13 }, { "name": "TYPE_ENUM", "number": 14 }, { "name": "TYPE_SFIXED32", "number": 15 }, { "name": "TYPE_SFIXED64", "number": 16 }, { "name": "TYPE_SINT32", "number": 17 }, { "name": "TYPE_SINT64", "number": 18 }] }, { "name": "Label", "value": [{ "name": "LABEL_OPTIONAL", "number": 1 }, { "name": "LABEL_REPEATED", "number": 3 }, { "name": "LABEL_REQUIRED", "number": 2 }] }] }, { "name": "OneofDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "options", "number": 2, "type": 11, "label": 1, "typeName": ".google.protobuf.OneofOptions" }] }, { "name": "EnumDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "value", "number": 2, "type": 11, "label": 3, "typeName": ".google.protobuf.EnumValueDescriptorProto" }, { "name": "options", "number": 3, "type": 11, "label": 1, "typeName": ".google.protobuf.EnumOptions" }, { "name": "reserved_range", "number": 4, "type": 11, "label": 3, "typeName": ".google.protobuf.EnumDescriptorProto.EnumReservedRange" }, { "name": "reserved_name", "number": 5, "type": 9, "label": 3 }], "nestedType": [{ "name": "EnumReservedRange", "field": [{ "name": "start", "number": 1, "type": 5, "label": 1 }, { "name": "end", "number": 2, "type": 5, "label": 1 }] }] }, { "name": "EnumValueDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "number", "number": 2, "type": 5, "label": 1 }, { "name": "options", "number": 3, "type": 11, "label": 1, "typeName": ".google.protobuf.EnumValueOptions" }] }, { "name": "ServiceDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "method", "number": 2, "type": 11, "label": 3, "typeName": ".google.protobuf.MethodDescriptorProto" }, { "name": "options", "number": 3, "type": 11, "label": 1, "typeName": ".google.protobuf.ServiceOptions" }] }, { "name": "MethodDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "input_type", "number": 2, "type": 9, "label": 1 }, { "name": "output_type", "number": 3, "type": 9, "label": 1 }, { "name": "options", "number": 4, "type": 11, "label": 1, "typeName": ".google.protobuf.MethodOptions" }, { "name": "client_streaming", "number": 5, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "server_streaming", "number": 6, "type": 8, "label": 1, "defaultValue": "false" }] }, { "name": "FileOptions", "field": [{ "name": "java_package", "number": 1, "type": 9, "label": 1 }, { "name": "java_outer_classname", "number": 8, "type": 9, "label": 1 }, { "name": "java_multiple_files", "number": 10, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "java_generate_equals_and_hash", "number": 20, "type": 8, "label": 1, "options": { "deprecated": true } }, { "name": "java_string_check_utf8", "number": 27, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "optimize_for", "number": 9, "type": 14, "label": 1, "typeName": ".google.protobuf.FileOptions.OptimizeMode", "defaultValue": "SPEED" }, { "name": "go_package", "number": 11, "type": 9, "label": 1 }, { "name": "cc_generic_services", "number": 16, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "java_generic_services", "number": 17, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "py_generic_services", "number": 18, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "deprecated", "number": 23, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "cc_enable_arenas", "number": 31, "type": 8, "label": 1, "defaultValue": "true" }, { "name": "objc_class_prefix", "number": 36, "type": 9, "label": 1 }, { "name": "csharp_namespace", "number": 37, "type": 9, "label": 1 }, { "name": "swift_prefix", "number": 39, "type": 9, "label": 1 }, { "name": "php_class_prefix", "number": 40, "type": 9, "label": 1 }, { "name": "php_namespace", "number": 41, "type": 9, "label": 1 }, { "name": "php_metadata_namespace", "number": 44, "type": 9, "label": 1 }, { "name": "ruby_package", "number": 45, "type": 9, "label": 1 }, { "name": "features", "number": 50, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "enumType": [{ "name": "OptimizeMode", "value": [{ "name": "SPEED", "number": 1 }, { "name": "CODE_SIZE", "number": 2 }, { "name": "LITE_RUNTIME", "number": 3 }] }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "MessageOptions", "field": [{ "name": "message_set_wire_format", "number": 1, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "no_standard_descriptor_accessor", "number": 2, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "deprecated", "number": 3, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "map_entry", "number": 7, "type": 8, "label": 1 }, { "name": "deprecated_legacy_json_field_conflicts", "number": 11, "type": 8, "label": 1, "options": { "deprecated": true } }, { "name": "features", "number": 12, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "FieldOptions", "field": [{ "name": "ctype", "number": 1, "type": 14, "label": 1, "typeName": ".google.protobuf.FieldOptions.CType", "defaultValue": "STRING" }, { "name": "packed", "number": 2, "type": 8, "label": 1 }, { "name": "jstype", "number": 6, "type": 14, "label": 1, "typeName": ".google.protobuf.FieldOptions.JSType", "defaultValue": "JS_NORMAL" }, { "name": "lazy", "number": 5, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "unverified_lazy", "number": 15, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "deprecated", "number": 3, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "weak", "number": 10, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "debug_redact", "number": 16, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "retention", "number": 17, "type": 14, "label": 1, "typeName": ".google.protobuf.FieldOptions.OptionRetention" }, { "name": "targets", "number": 19, "type": 14, "label": 3, "typeName": ".google.protobuf.FieldOptions.OptionTargetType" }, { "name": "edition_defaults", "number": 20, "type": 11, "label": 3, "typeName": ".google.protobuf.FieldOptions.EditionDefault" }, { "name": "features", "number": 21, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "feature_support", "number": 22, "type": 11, "label": 1, "typeName": ".google.protobuf.FieldOptions.FeatureSupport" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "nestedType": [{ "name": "EditionDefault", "field": [{ "name": "edition", "number": 3, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }, { "name": "value", "number": 2, "type": 9, "label": 1 }] }, { "name": "FeatureSupport", "field": [{ "name": "edition_introduced", "number": 1, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }, { "name": "edition_deprecated", "number": 2, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }, { "name": "deprecation_warning", "number": 3, "type": 9, "label": 1 }, { "name": "edition_removed", "number": 4, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }] }], "enumType": [{ "name": "CType", "value": [{ "name": "STRING", "number": 0 }, { "name": "CORD", "number": 1 }, { "name": "STRING_PIECE", "number": 2 }] }, { "name": "JSType", "value": [{ "name": "JS_NORMAL", "number": 0 }, { "name": "JS_STRING", "number": 1 }, { "name": "JS_NUMBER", "number": 2 }] }, { "name": "OptionRetention", "value": [{ "name": "RETENTION_UNKNOWN", "number": 0 }, { "name": "RETENTION_RUNTIME", "number": 1 }, { "name": "RETENTION_SOURCE", "number": 2 }] }, { "name": "OptionTargetType", "value": [{ "name": "TARGET_TYPE_UNKNOWN", "number": 0 }, { "name": "TARGET_TYPE_FILE", "number": 1 }, { "name": "TARGET_TYPE_EXTENSION_RANGE", "number": 2 }, { "name": "TARGET_TYPE_MESSAGE", "number": 3 }, { "name": "TARGET_TYPE_FIELD", "number": 4 }, { "name": "TARGET_TYPE_ONEOF", "number": 5 }, { "name": "TARGET_TYPE_ENUM", "number": 6 }, { "name": "TARGET_TYPE_ENUM_ENTRY", "number": 7 }, { "name": "TARGET_TYPE_SERVICE", "number": 8 }, { "name": "TARGET_TYPE_METHOD", "number": 9 }] }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "OneofOptions", "field": [{ "name": "features", "number": 1, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "EnumOptions", "field": [{ "name": "allow_alias", "number": 2, "type": 8, "label": 1 }, { "name": "deprecated", "number": 3, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "deprecated_legacy_json_field_conflicts", "number": 6, "type": 8, "label": 1, "options": { "deprecated": true } }, { "name": "features", "number": 7, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "EnumValueOptions", "field": [{ "name": "deprecated", "number": 1, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "features", "number": 2, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "debug_redact", "number": 3, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "feature_support", "number": 4, "type": 11, "label": 1, "typeName": ".google.protobuf.FieldOptions.FeatureSupport" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "ServiceOptions", "field": [{ "name": "features", "number": 34, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "deprecated", "number": 33, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "MethodOptions", "field": [{ "name": "deprecated", "number": 33, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "idempotency_level", "number": 34, "type": 14, "label": 1, "typeName": ".google.protobuf.MethodOptions.IdempotencyLevel", "defaultValue": "IDEMPOTENCY_UNKNOWN" }, { "name": "features", "number": 35, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "enumType": [{ "name": "IdempotencyLevel", "value": [{ "name": "IDEMPOTENCY_UNKNOWN", "number": 0 }, { "name": "NO_SIDE_EFFECTS", "number": 1 }, { "name": "IDEMPOTENT", "number": 2 }] }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "UninterpretedOption", "field": [{ "name": "name", "number": 2, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption.NamePart" }, { "name": "identifier_value", "number": 3, "type": 9, "label": 1 }, { "name": "positive_int_value", "number": 4, "type": 4, "label": 1 }, { "name": "negative_int_value", "number": 5, "type": 3, "label": 1 }, { "name": "double_value", "number": 6, "type": 1, "label": 1 }, { "name": "string_value", "number": 7, "type": 12, "label": 1 }, { "name": "aggregate_value", "number": 8, "type": 9, "label": 1 }], "nestedType": [{ "name": "NamePart", "field": [{ "name": "name_part", "number": 1, "type": 9, "label": 2 }, { "name": "is_extension", "number": 2, "type": 8, "label": 2 }] }] }, { "name": "FeatureSet", "field": [{ "name": "field_presence", "number": 1, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.FieldPresence", "options": { "retention": 1, "targets": [4, 1], "editionDefaults": [{ "value": "EXPLICIT", "edition": 998 }, { "value": "IMPLICIT", "edition": 999 }, { "value": "EXPLICIT", "edition": 1000 }] } }, { "name": "enum_type", "number": 2, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.EnumType", "options": { "retention": 1, "targets": [6, 1], "editionDefaults": [{ "value": "CLOSED", "edition": 998 }, { "value": "OPEN", "edition": 999 }] } }, { "name": "repeated_field_encoding", "number": 3, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.RepeatedFieldEncoding", "options": { "retention": 1, "targets": [4, 1], "editionDefaults": [{ "value": "EXPANDED", "edition": 998 }, { "value": "PACKED", "edition": 999 }] } }, { "name": "utf8_validation", "number": 4, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.Utf8Validation", "options": { "retention": 1, "targets": [4, 1], "editionDefaults": [{ "value": "NONE", "edition": 998 }, { "value": "VERIFY", "edition": 999 }] } }, { "name": "message_encoding", "number": 5, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.MessageEncoding", "options": { "retention": 1, "targets": [4, 1], "editionDefaults": [{ "value": "LENGTH_PREFIXED", "edition": 998 }] } }, { "name": "json_format", "number": 6, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.JsonFormat", "options": { "retention": 1, "targets": [3, 6, 1], "editionDefaults": [{ "value": "LEGACY_BEST_EFFORT", "edition": 998 }, { "value": "ALLOW", "edition": 999 }] } }], "enumType": [{ "name": "FieldPresence", "value": [{ "name": "FIELD_PRESENCE_UNKNOWN", "number": 0 }, { "name": "EXPLICIT", "number": 1 }, { "name": "IMPLICIT", "number": 2 }, { "name": "LEGACY_REQUIRED", "number": 3 }] }, { "name": "EnumType", "value": [{ "name": "ENUM_TYPE_UNKNOWN", "number": 0 }, { "name": "OPEN", "number": 1 }, { "name": "CLOSED", "number": 2 }] }, { "name": "RepeatedFieldEncoding", "value": [{ "name": "REPEATED_FIELD_ENCODING_UNKNOWN", "number": 0 }, { "name": "PACKED", "number": 1 }, { "name": "EXPANDED", "number": 2 }] }, { "name": "Utf8Validation", "value": [{ "name": "UTF8_VALIDATION_UNKNOWN", "number": 0 }, { "name": "VERIFY", "number": 2 }, { "name": "NONE", "number": 3 }] }, { "name": "MessageEncoding", "value": [{ "name": "MESSAGE_ENCODING_UNKNOWN", "number": 0 }, { "name": "LENGTH_PREFIXED", "number": 1 }, { "name": "DELIMITED", "number": 2 }] }, { "name": "JsonFormat", "value": [{ "name": "JSON_FORMAT_UNKNOWN", "number": 0 }, { "name": "ALLOW", "number": 1 }, { "name": "LEGACY_BEST_EFFORT", "number": 2 }] }], "extensionRange": [{ "start": 1000, "end": 9995 }, { "start": 9995, "end": 10000 }, { "start": 10000, "end": 10001 }] }, { "name": "FeatureSetDefaults", "field": [{ "name": "defaults", "number": 1, "type": 11, "label": 3, "typeName": ".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault" }, { "name": "minimum_edition", "number": 4, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }, { "name": "maximum_edition", "number": 5, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }], "nestedType": [{ "name": "FeatureSetEditionDefault", "field": [{ "name": "edition", "number": 3, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }, { "name": "overridable_features", "number": 4, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "fixed_features", "number": 5, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }] }] }, { "name": "SourceCodeInfo", "field": [{ "name": "location", "number": 1, "type": 11, "label": 3, "typeName": ".google.protobuf.SourceCodeInfo.Location" }], "nestedType": [{ "name": "Location", "field": [{ "name": "path", "number": 1, "type": 5, "label": 3, "options": { "packed": true } }, { "name": "span", "number": 2, "type": 5, "label": 3, "options": { "packed": true } }, { "name": "leading_comments", "number": 3, "type": 9, "label": 1 }, { "name": "trailing_comments", "number": 4, "type": 9, "label": 1 }, { "name": "leading_detached_comments", "number": 6, "type": 9, "label": 3 }] }] }, { "name": "GeneratedCodeInfo", "field": [{ "name": "annotation", "number": 1, "type": 11, "label": 3, "typeName": ".google.protobuf.GeneratedCodeInfo.Annotation" }], "nestedType": [{ "name": "Annotation", "field": [{ "name": "path", "number": 1, "type": 5, "label": 3, "options": { "packed": true } }, { "name": "source_file", "number": 2, "type": 9, "label": 1 }, { "name": "begin", "number": 3, "type": 5, "label": 1 }, { "name": "end", "number": 4, "type": 5, "label": 1 }, { "name": "semantic", "number": 5, "type": 14, "label": 1, "typeName": ".google.protobuf.GeneratedCodeInfo.Annotation.Semantic" }], "enumType": [{ "name": "Semantic", "value": [{ "name": "NONE", "number": 0 }, { "name": "SET", "number": 1 }, { "name": "ALIAS", "number": 2 }] }] }] }], "enumType": [{ "name": "Edition", "value": [{ "name": "EDITION_UNKNOWN", "number": 0 }, { "name": "EDITION_LEGACY", "number": 900 }, { "name": "EDITION_PROTO2", "number": 998 }, { "name": "EDITION_PROTO3", "number": 999 }, { "name": "EDITION_2023", "number": 1000 }, { "name": "EDITION_2024", "number": 1001 }, { "name": "EDITION_1_TEST_ONLY", "number": 1 }, { "name": "EDITION_2_TEST_ONLY", "number": 2 }, { "name": "EDITION_99997_TEST_ONLY", "number": 99997 }, { "name": "EDITION_99998_TEST_ONLY", "number": 99998 }, { "name": "EDITION_99999_TEST_ONLY", "number": 99999 }, { "name": "EDITION_MAX", "number": 2147483647 }] }] }); -/** - * Describes the message google.protobuf.FileDescriptorSet. - * Use `create(FileDescriptorSetSchema)` to create a new message. - */ -exports.FileDescriptorSetSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 0); -/** - * Describes the message google.protobuf.FileDescriptorProto. - * Use `create(FileDescriptorProtoSchema)` to create a new message. - */ -exports.FileDescriptorProtoSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 1); -/** - * Describes the message google.protobuf.DescriptorProto. - * Use `create(DescriptorProtoSchema)` to create a new message. - */ -exports.DescriptorProtoSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 2); -/** - * Describes the message google.protobuf.DescriptorProto.ExtensionRange. - * Use `create(DescriptorProto_ExtensionRangeSchema)` to create a new message. - */ -exports.DescriptorProto_ExtensionRangeSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 2, 0); -/** - * Describes the message google.protobuf.DescriptorProto.ReservedRange. - * Use `create(DescriptorProto_ReservedRangeSchema)` to create a new message. - */ -exports.DescriptorProto_ReservedRangeSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 2, 1); -/** - * Describes the message google.protobuf.ExtensionRangeOptions. - * Use `create(ExtensionRangeOptionsSchema)` to create a new message. - */ -exports.ExtensionRangeOptionsSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 3); -/** - * Describes the message google.protobuf.ExtensionRangeOptions.Declaration. - * Use `create(ExtensionRangeOptions_DeclarationSchema)` to create a new message. - */ -exports.ExtensionRangeOptions_DeclarationSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 3, 0); -/** - * The verification state of the extension range. - * - * @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState - */ -var ExtensionRangeOptions_VerificationState; -(function (ExtensionRangeOptions_VerificationState) { - /** - * All the extensions of the range must be declared. - * - * @generated from enum value: DECLARATION = 0; - */ - ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["DECLARATION"] = 0] = "DECLARATION"; - /** - * @generated from enum value: UNVERIFIED = 1; - */ - ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["UNVERIFIED"] = 1] = "UNVERIFIED"; -})(ExtensionRangeOptions_VerificationState || (exports.ExtensionRangeOptions_VerificationState = ExtensionRangeOptions_VerificationState = {})); -/** - * Describes the enum google.protobuf.ExtensionRangeOptions.VerificationState. - */ -exports.ExtensionRangeOptions_VerificationStateSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 3, 0); -/** - * Describes the message google.protobuf.FieldDescriptorProto. - * Use `create(FieldDescriptorProtoSchema)` to create a new message. - */ -exports.FieldDescriptorProtoSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 4); -/** - * @generated from enum google.protobuf.FieldDescriptorProto.Type - */ -var FieldDescriptorProto_Type; -(function (FieldDescriptorProto_Type) { - /** - * 0 is reserved for errors. - * Order is weird for historical reasons. - * - * @generated from enum value: TYPE_DOUBLE = 1; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["DOUBLE"] = 1] = "DOUBLE"; - /** - * @generated from enum value: TYPE_FLOAT = 2; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["FLOAT"] = 2] = "FLOAT"; - /** - * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - * negative values are likely. - * - * @generated from enum value: TYPE_INT64 = 3; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT64"] = 3] = "INT64"; - /** - * @generated from enum value: TYPE_UINT64 = 4; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT64"] = 4] = "UINT64"; - /** - * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - * negative values are likely. - * - * @generated from enum value: TYPE_INT32 = 5; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT32"] = 5] = "INT32"; - /** - * @generated from enum value: TYPE_FIXED64 = 6; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED64"] = 6] = "FIXED64"; - /** - * @generated from enum value: TYPE_FIXED32 = 7; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED32"] = 7] = "FIXED32"; - /** - * @generated from enum value: TYPE_BOOL = 8; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["BOOL"] = 8] = "BOOL"; - /** - * @generated from enum value: TYPE_STRING = 9; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["STRING"] = 9] = "STRING"; - /** - * Tag-delimited aggregate. - * Group type is deprecated and not supported after google.protobuf. However, Proto3 - * implementations should still be able to parse the group wire format and - * treat group fields as unknown fields. In Editions, the group wire format - * can be enabled via the `message_encoding` feature. - * - * @generated from enum value: TYPE_GROUP = 10; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["GROUP"] = 10] = "GROUP"; - /** - * Length-delimited aggregate. - * - * @generated from enum value: TYPE_MESSAGE = 11; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["MESSAGE"] = 11] = "MESSAGE"; - /** - * New in version 2. - * - * @generated from enum value: TYPE_BYTES = 12; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["BYTES"] = 12] = "BYTES"; - /** - * @generated from enum value: TYPE_UINT32 = 13; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT32"] = 13] = "UINT32"; - /** - * @generated from enum value: TYPE_ENUM = 14; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["ENUM"] = 14] = "ENUM"; - /** - * @generated from enum value: TYPE_SFIXED32 = 15; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED32"] = 15] = "SFIXED32"; - /** - * @generated from enum value: TYPE_SFIXED64 = 16; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED64"] = 16] = "SFIXED64"; - /** - * Uses ZigZag encoding. - * - * @generated from enum value: TYPE_SINT32 = 17; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT32"] = 17] = "SINT32"; - /** - * Uses ZigZag encoding. - * - * @generated from enum value: TYPE_SINT64 = 18; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT64"] = 18] = "SINT64"; -})(FieldDescriptorProto_Type || (exports.FieldDescriptorProto_Type = FieldDescriptorProto_Type = {})); -/** - * Describes the enum google.protobuf.FieldDescriptorProto.Type. - */ -exports.FieldDescriptorProto_TypeSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 4, 0); -/** - * @generated from enum google.protobuf.FieldDescriptorProto.Label - */ -var FieldDescriptorProto_Label; -(function (FieldDescriptorProto_Label) { - /** - * 0 is reserved for errors - * - * @generated from enum value: LABEL_OPTIONAL = 1; - */ - FieldDescriptorProto_Label[FieldDescriptorProto_Label["OPTIONAL"] = 1] = "OPTIONAL"; - /** - * @generated from enum value: LABEL_REPEATED = 3; - */ - FieldDescriptorProto_Label[FieldDescriptorProto_Label["REPEATED"] = 3] = "REPEATED"; - /** - * The required label is only allowed in google.protobuf. In proto3 and Editions - * it's explicitly prohibited. In Editions, the `field_presence` feature - * can be used to get this behavior. - * - * @generated from enum value: LABEL_REQUIRED = 2; - */ - FieldDescriptorProto_Label[FieldDescriptorProto_Label["REQUIRED"] = 2] = "REQUIRED"; -})(FieldDescriptorProto_Label || (exports.FieldDescriptorProto_Label = FieldDescriptorProto_Label = {})); -/** - * Describes the enum google.protobuf.FieldDescriptorProto.Label. - */ -exports.FieldDescriptorProto_LabelSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 4, 1); -/** - * Describes the message google.protobuf.OneofDescriptorProto. - * Use `create(OneofDescriptorProtoSchema)` to create a new message. - */ -exports.OneofDescriptorProtoSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 5); -/** - * Describes the message google.protobuf.EnumDescriptorProto. - * Use `create(EnumDescriptorProtoSchema)` to create a new message. - */ -exports.EnumDescriptorProtoSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 6); -/** - * Describes the message google.protobuf.EnumDescriptorProto.EnumReservedRange. - * Use `create(EnumDescriptorProto_EnumReservedRangeSchema)` to create a new message. - */ -exports.EnumDescriptorProto_EnumReservedRangeSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 6, 0); -/** - * Describes the message google.protobuf.EnumValueDescriptorProto. - * Use `create(EnumValueDescriptorProtoSchema)` to create a new message. - */ -exports.EnumValueDescriptorProtoSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 7); -/** - * Describes the message google.protobuf.ServiceDescriptorProto. - * Use `create(ServiceDescriptorProtoSchema)` to create a new message. - */ -exports.ServiceDescriptorProtoSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 8); -/** - * Describes the message google.protobuf.MethodDescriptorProto. - * Use `create(MethodDescriptorProtoSchema)` to create a new message. - */ -exports.MethodDescriptorProtoSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 9); -/** - * Describes the message google.protobuf.FileOptions. - * Use `create(FileOptionsSchema)` to create a new message. - */ -exports.FileOptionsSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 10); -/** - * Generated classes can be optimized for speed or code size. - * - * @generated from enum google.protobuf.FileOptions.OptimizeMode - */ -var FileOptions_OptimizeMode; -(function (FileOptions_OptimizeMode) { - /** - * Generate complete code for parsing, serialization, - * - * @generated from enum value: SPEED = 1; - */ - FileOptions_OptimizeMode[FileOptions_OptimizeMode["SPEED"] = 1] = "SPEED"; - /** - * etc. - * - * Use ReflectionOps to implement these methods. - * - * @generated from enum value: CODE_SIZE = 2; - */ - FileOptions_OptimizeMode[FileOptions_OptimizeMode["CODE_SIZE"] = 2] = "CODE_SIZE"; - /** - * Generate code using MessageLite and the lite runtime. - * - * @generated from enum value: LITE_RUNTIME = 3; - */ - FileOptions_OptimizeMode[FileOptions_OptimizeMode["LITE_RUNTIME"] = 3] = "LITE_RUNTIME"; -})(FileOptions_OptimizeMode || (exports.FileOptions_OptimizeMode = FileOptions_OptimizeMode = {})); -/** - * Describes the enum google.protobuf.FileOptions.OptimizeMode. - */ -exports.FileOptions_OptimizeModeSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 10, 0); -/** - * Describes the message google.protobuf.MessageOptions. - * Use `create(MessageOptionsSchema)` to create a new message. - */ -exports.MessageOptionsSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 11); -/** - * Describes the message google.protobuf.FieldOptions. - * Use `create(FieldOptionsSchema)` to create a new message. - */ -exports.FieldOptionsSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 12); -/** - * Describes the message google.protobuf.FieldOptions.EditionDefault. - * Use `create(FieldOptions_EditionDefaultSchema)` to create a new message. - */ -exports.FieldOptions_EditionDefaultSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 12, 0); -/** - * Describes the message google.protobuf.FieldOptions.FeatureSupport. - * Use `create(FieldOptions_FeatureSupportSchema)` to create a new message. - */ -exports.FieldOptions_FeatureSupportSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 12, 1); -/** - * @generated from enum google.protobuf.FieldOptions.CType - */ -var FieldOptions_CType; -(function (FieldOptions_CType) { - /** - * Default mode. - * - * @generated from enum value: STRING = 0; - */ - FieldOptions_CType[FieldOptions_CType["STRING"] = 0] = "STRING"; - /** - * The option [ctype=CORD] may be applied to a non-repeated field of type - * "bytes". It indicates that in C++, the data should be stored in a Cord - * instead of a string. For very large strings, this may reduce memory - * fragmentation. It may also allow better performance when parsing from a - * Cord, or when parsing with aliasing enabled, as the parsed Cord may then - * alias the original buffer. - * - * @generated from enum value: CORD = 1; - */ - FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD"; - /** - * @generated from enum value: STRING_PIECE = 2; - */ - FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE"; -})(FieldOptions_CType || (exports.FieldOptions_CType = FieldOptions_CType = {})); -/** - * Describes the enum google.protobuf.FieldOptions.CType. - */ -exports.FieldOptions_CTypeSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 12, 0); -/** - * @generated from enum google.protobuf.FieldOptions.JSType - */ -var FieldOptions_JSType; -(function (FieldOptions_JSType) { - /** - * Use the default type. - * - * @generated from enum value: JS_NORMAL = 0; - */ - FieldOptions_JSType[FieldOptions_JSType["JS_NORMAL"] = 0] = "JS_NORMAL"; - /** - * Use JavaScript strings. - * - * @generated from enum value: JS_STRING = 1; - */ - FieldOptions_JSType[FieldOptions_JSType["JS_STRING"] = 1] = "JS_STRING"; - /** - * Use JavaScript numbers. - * - * @generated from enum value: JS_NUMBER = 2; - */ - FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER"; -})(FieldOptions_JSType || (exports.FieldOptions_JSType = FieldOptions_JSType = {})); -/** - * Describes the enum google.protobuf.FieldOptions.JSType. - */ -exports.FieldOptions_JSTypeSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 12, 1); -/** - * If set to RETENTION_SOURCE, the option will be omitted from the binary. - * Note: as of January 2023, support for this is in progress and does not yet - * have an effect (b/264593489). - * - * @generated from enum google.protobuf.FieldOptions.OptionRetention - */ -var FieldOptions_OptionRetention; -(function (FieldOptions_OptionRetention) { - /** - * @generated from enum value: RETENTION_UNKNOWN = 0; - */ - FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_UNKNOWN"] = 0] = "RETENTION_UNKNOWN"; - /** - * @generated from enum value: RETENTION_RUNTIME = 1; - */ - FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_RUNTIME"] = 1] = "RETENTION_RUNTIME"; - /** - * @generated from enum value: RETENTION_SOURCE = 2; - */ - FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_SOURCE"] = 2] = "RETENTION_SOURCE"; -})(FieldOptions_OptionRetention || (exports.FieldOptions_OptionRetention = FieldOptions_OptionRetention = {})); -/** - * Describes the enum google.protobuf.FieldOptions.OptionRetention. - */ -exports.FieldOptions_OptionRetentionSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 12, 2); -/** - * This indicates the types of entities that the field may apply to when used - * as an option. If it is unset, then the field may be freely used as an - * option on any kind of entity. Note: as of January 2023, support for this is - * in progress and does not yet have an effect (b/264593489). - * - * @generated from enum google.protobuf.FieldOptions.OptionTargetType - */ -var FieldOptions_OptionTargetType; -(function (FieldOptions_OptionTargetType) { - /** - * @generated from enum value: TARGET_TYPE_UNKNOWN = 0; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_UNKNOWN"] = 0] = "TARGET_TYPE_UNKNOWN"; - /** - * @generated from enum value: TARGET_TYPE_FILE = 1; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FILE"] = 1] = "TARGET_TYPE_FILE"; - /** - * @generated from enum value: TARGET_TYPE_EXTENSION_RANGE = 2; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_EXTENSION_RANGE"] = 2] = "TARGET_TYPE_EXTENSION_RANGE"; - /** - * @generated from enum value: TARGET_TYPE_MESSAGE = 3; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_MESSAGE"] = 3] = "TARGET_TYPE_MESSAGE"; - /** - * @generated from enum value: TARGET_TYPE_FIELD = 4; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FIELD"] = 4] = "TARGET_TYPE_FIELD"; - /** - * @generated from enum value: TARGET_TYPE_ONEOF = 5; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ONEOF"] = 5] = "TARGET_TYPE_ONEOF"; - /** - * @generated from enum value: TARGET_TYPE_ENUM = 6; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM"] = 6] = "TARGET_TYPE_ENUM"; - /** - * @generated from enum value: TARGET_TYPE_ENUM_ENTRY = 7; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM_ENTRY"] = 7] = "TARGET_TYPE_ENUM_ENTRY"; - /** - * @generated from enum value: TARGET_TYPE_SERVICE = 8; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_SERVICE"] = 8] = "TARGET_TYPE_SERVICE"; - /** - * @generated from enum value: TARGET_TYPE_METHOD = 9; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_METHOD"] = 9] = "TARGET_TYPE_METHOD"; -})(FieldOptions_OptionTargetType || (exports.FieldOptions_OptionTargetType = FieldOptions_OptionTargetType = {})); -/** - * Describes the enum google.protobuf.FieldOptions.OptionTargetType. - */ -exports.FieldOptions_OptionTargetTypeSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 12, 3); -/** - * Describes the message google.protobuf.OneofOptions. - * Use `create(OneofOptionsSchema)` to create a new message. - */ -exports.OneofOptionsSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 13); -/** - * Describes the message google.protobuf.EnumOptions. - * Use `create(EnumOptionsSchema)` to create a new message. - */ -exports.EnumOptionsSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 14); -/** - * Describes the message google.protobuf.EnumValueOptions. - * Use `create(EnumValueOptionsSchema)` to create a new message. - */ -exports.EnumValueOptionsSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 15); -/** - * Describes the message google.protobuf.ServiceOptions. - * Use `create(ServiceOptionsSchema)` to create a new message. - */ -exports.ServiceOptionsSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 16); -/** - * Describes the message google.protobuf.MethodOptions. - * Use `create(MethodOptionsSchema)` to create a new message. - */ -exports.MethodOptionsSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 17); -/** - * Is this method side-effect-free (or safe in HTTP parlance), or idempotent, - * or neither? HTTP based RPC implementation may choose GET verb for safe - * methods, and PUT verb for idempotent methods instead of the default POST. - * - * @generated from enum google.protobuf.MethodOptions.IdempotencyLevel - */ -var MethodOptions_IdempotencyLevel; -(function (MethodOptions_IdempotencyLevel) { - /** - * @generated from enum value: IDEMPOTENCY_UNKNOWN = 0; - */ - MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENCY_UNKNOWN"] = 0] = "IDEMPOTENCY_UNKNOWN"; - /** - * implies idempotent - * - * @generated from enum value: NO_SIDE_EFFECTS = 1; - */ - MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["NO_SIDE_EFFECTS"] = 1] = "NO_SIDE_EFFECTS"; - /** - * idempotent, but may have side effects - * - * @generated from enum value: IDEMPOTENT = 2; - */ - MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT"; -})(MethodOptions_IdempotencyLevel || (exports.MethodOptions_IdempotencyLevel = MethodOptions_IdempotencyLevel = {})); -/** - * Describes the enum google.protobuf.MethodOptions.IdempotencyLevel. - */ -exports.MethodOptions_IdempotencyLevelSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 17, 0); -/** - * Describes the message google.protobuf.UninterpretedOption. - * Use `create(UninterpretedOptionSchema)` to create a new message. - */ -exports.UninterpretedOptionSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 18); -/** - * Describes the message google.protobuf.UninterpretedOption.NamePart. - * Use `create(UninterpretedOption_NamePartSchema)` to create a new message. - */ -exports.UninterpretedOption_NamePartSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 18, 0); -/** - * Describes the message google.protobuf.FeatureSet. - * Use `create(FeatureSetSchema)` to create a new message. - */ -exports.FeatureSetSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 19); -/** - * @generated from enum google.protobuf.FeatureSet.FieldPresence - */ -var FeatureSet_FieldPresence; -(function (FeatureSet_FieldPresence) { - /** - * @generated from enum value: FIELD_PRESENCE_UNKNOWN = 0; - */ - FeatureSet_FieldPresence[FeatureSet_FieldPresence["FIELD_PRESENCE_UNKNOWN"] = 0] = "FIELD_PRESENCE_UNKNOWN"; - /** - * @generated from enum value: EXPLICIT = 1; - */ - FeatureSet_FieldPresence[FeatureSet_FieldPresence["EXPLICIT"] = 1] = "EXPLICIT"; - /** - * @generated from enum value: IMPLICIT = 2; - */ - FeatureSet_FieldPresence[FeatureSet_FieldPresence["IMPLICIT"] = 2] = "IMPLICIT"; - /** - * @generated from enum value: LEGACY_REQUIRED = 3; - */ - FeatureSet_FieldPresence[FeatureSet_FieldPresence["LEGACY_REQUIRED"] = 3] = "LEGACY_REQUIRED"; -})(FeatureSet_FieldPresence || (exports.FeatureSet_FieldPresence = FeatureSet_FieldPresence = {})); -/** - * Describes the enum google.protobuf.FeatureSet.FieldPresence. - */ -exports.FeatureSet_FieldPresenceSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 19, 0); -/** - * @generated from enum google.protobuf.FeatureSet.EnumType - */ -var FeatureSet_EnumType; -(function (FeatureSet_EnumType) { - /** - * @generated from enum value: ENUM_TYPE_UNKNOWN = 0; - */ - FeatureSet_EnumType[FeatureSet_EnumType["ENUM_TYPE_UNKNOWN"] = 0] = "ENUM_TYPE_UNKNOWN"; - /** - * @generated from enum value: OPEN = 1; - */ - FeatureSet_EnumType[FeatureSet_EnumType["OPEN"] = 1] = "OPEN"; - /** - * @generated from enum value: CLOSED = 2; - */ - FeatureSet_EnumType[FeatureSet_EnumType["CLOSED"] = 2] = "CLOSED"; -})(FeatureSet_EnumType || (exports.FeatureSet_EnumType = FeatureSet_EnumType = {})); -/** - * Describes the enum google.protobuf.FeatureSet.EnumType. - */ -exports.FeatureSet_EnumTypeSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 19, 1); -/** - * @generated from enum google.protobuf.FeatureSet.RepeatedFieldEncoding - */ -var FeatureSet_RepeatedFieldEncoding; -(function (FeatureSet_RepeatedFieldEncoding) { - /** - * @generated from enum value: REPEATED_FIELD_ENCODING_UNKNOWN = 0; - */ - FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["REPEATED_FIELD_ENCODING_UNKNOWN"] = 0] = "REPEATED_FIELD_ENCODING_UNKNOWN"; - /** - * @generated from enum value: PACKED = 1; - */ - FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["PACKED"] = 1] = "PACKED"; - /** - * @generated from enum value: EXPANDED = 2; - */ - FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["EXPANDED"] = 2] = "EXPANDED"; -})(FeatureSet_RepeatedFieldEncoding || (exports.FeatureSet_RepeatedFieldEncoding = FeatureSet_RepeatedFieldEncoding = {})); -/** - * Describes the enum google.protobuf.FeatureSet.RepeatedFieldEncoding. - */ -exports.FeatureSet_RepeatedFieldEncodingSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 19, 2); -/** - * @generated from enum google.protobuf.FeatureSet.Utf8Validation - */ -var FeatureSet_Utf8Validation; -(function (FeatureSet_Utf8Validation) { - /** - * @generated from enum value: UTF8_VALIDATION_UNKNOWN = 0; - */ - FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["UTF8_VALIDATION_UNKNOWN"] = 0] = "UTF8_VALIDATION_UNKNOWN"; - /** - * @generated from enum value: VERIFY = 2; - */ - FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["VERIFY"] = 2] = "VERIFY"; - /** - * @generated from enum value: NONE = 3; - */ - FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["NONE"] = 3] = "NONE"; -})(FeatureSet_Utf8Validation || (exports.FeatureSet_Utf8Validation = FeatureSet_Utf8Validation = {})); -/** - * Describes the enum google.protobuf.FeatureSet.Utf8Validation. - */ -exports.FeatureSet_Utf8ValidationSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 19, 3); -/** - * @generated from enum google.protobuf.FeatureSet.MessageEncoding - */ -var FeatureSet_MessageEncoding; -(function (FeatureSet_MessageEncoding) { - /** - * @generated from enum value: MESSAGE_ENCODING_UNKNOWN = 0; - */ - FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["MESSAGE_ENCODING_UNKNOWN"] = 0] = "MESSAGE_ENCODING_UNKNOWN"; - /** - * @generated from enum value: LENGTH_PREFIXED = 1; - */ - FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["LENGTH_PREFIXED"] = 1] = "LENGTH_PREFIXED"; - /** - * @generated from enum value: DELIMITED = 2; - */ - FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["DELIMITED"] = 2] = "DELIMITED"; -})(FeatureSet_MessageEncoding || (exports.FeatureSet_MessageEncoding = FeatureSet_MessageEncoding = {})); -/** - * Describes the enum google.protobuf.FeatureSet.MessageEncoding. - */ -exports.FeatureSet_MessageEncodingSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 19, 4); -/** - * @generated from enum google.protobuf.FeatureSet.JsonFormat - */ -var FeatureSet_JsonFormat; -(function (FeatureSet_JsonFormat) { - /** - * @generated from enum value: JSON_FORMAT_UNKNOWN = 0; - */ - FeatureSet_JsonFormat[FeatureSet_JsonFormat["JSON_FORMAT_UNKNOWN"] = 0] = "JSON_FORMAT_UNKNOWN"; - /** - * @generated from enum value: ALLOW = 1; - */ - FeatureSet_JsonFormat[FeatureSet_JsonFormat["ALLOW"] = 1] = "ALLOW"; - /** - * @generated from enum value: LEGACY_BEST_EFFORT = 2; - */ - FeatureSet_JsonFormat[FeatureSet_JsonFormat["LEGACY_BEST_EFFORT"] = 2] = "LEGACY_BEST_EFFORT"; -})(FeatureSet_JsonFormat || (exports.FeatureSet_JsonFormat = FeatureSet_JsonFormat = {})); -/** - * Describes the enum google.protobuf.FeatureSet.JsonFormat. - */ -exports.FeatureSet_JsonFormatSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 19, 5); -/** - * Describes the message google.protobuf.FeatureSetDefaults. - * Use `create(FeatureSetDefaultsSchema)` to create a new message. - */ -exports.FeatureSetDefaultsSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 20); -/** - * Describes the message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault. - * Use `create(FeatureSetDefaults_FeatureSetEditionDefaultSchema)` to create a new message. - */ -exports.FeatureSetDefaults_FeatureSetEditionDefaultSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 20, 0); -/** - * Describes the message google.protobuf.SourceCodeInfo. - * Use `create(SourceCodeInfoSchema)` to create a new message. - */ -exports.SourceCodeInfoSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 21); -/** - * Describes the message google.protobuf.SourceCodeInfo.Location. - * Use `create(SourceCodeInfo_LocationSchema)` to create a new message. - */ -exports.SourceCodeInfo_LocationSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 21, 0); -/** - * Describes the message google.protobuf.GeneratedCodeInfo. - * Use `create(GeneratedCodeInfoSchema)` to create a new message. - */ -exports.GeneratedCodeInfoSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 22); -/** - * Describes the message google.protobuf.GeneratedCodeInfo.Annotation. - * Use `create(GeneratedCodeInfo_AnnotationSchema)` to create a new message. - */ -exports.GeneratedCodeInfo_AnnotationSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_descriptor, 22, 0); -/** - * Represents the identified object's effect on the element in the original - * .proto file. - * - * @generated from enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic - */ -var GeneratedCodeInfo_Annotation_Semantic; -(function (GeneratedCodeInfo_Annotation_Semantic) { - /** - * There is no effect or the effect is indescribable. - * - * @generated from enum value: NONE = 0; - */ - GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["NONE"] = 0] = "NONE"; - /** - * The element is set or otherwise mutated. - * - * @generated from enum value: SET = 1; - */ - GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["SET"] = 1] = "SET"; - /** - * An alias to the element is returned. - * - * @generated from enum value: ALIAS = 2; - */ - GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["ALIAS"] = 2] = "ALIAS"; -})(GeneratedCodeInfo_Annotation_Semantic || (exports.GeneratedCodeInfo_Annotation_Semantic = GeneratedCodeInfo_Annotation_Semantic = {})); -/** - * Describes the enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic. - */ -exports.GeneratedCodeInfo_Annotation_SemanticSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 22, 0, 0); -/** - * The full set of known editions. - * - * @generated from enum google.protobuf.Edition - */ -var Edition; -(function (Edition) { - /** - * A placeholder for an unknown edition value. - * - * @generated from enum value: EDITION_UNKNOWN = 0; - */ - Edition[Edition["EDITION_UNKNOWN"] = 0] = "EDITION_UNKNOWN"; - /** - * A placeholder edition for specifying default behaviors *before* a feature - * was first introduced. This is effectively an "infinite past". - * - * @generated from enum value: EDITION_LEGACY = 900; - */ - Edition[Edition["EDITION_LEGACY"] = 900] = "EDITION_LEGACY"; - /** - * Legacy syntax "editions". These pre-date editions, but behave much like - * distinct editions. These can't be used to specify the edition of proto - * files, but feature definitions must supply proto2/proto3 defaults for - * backwards compatibility. - * - * @generated from enum value: EDITION_PROTO2 = 998; - */ - Edition[Edition["EDITION_PROTO2"] = 998] = "EDITION_PROTO2"; - /** - * @generated from enum value: EDITION_PROTO3 = 999; - */ - Edition[Edition["EDITION_PROTO3"] = 999] = "EDITION_PROTO3"; - /** - * Editions that have been released. The specific values are arbitrary and - * should not be depended on, but they will always be time-ordered for easy - * comparison. - * - * @generated from enum value: EDITION_2023 = 1000; - */ - Edition[Edition["EDITION_2023"] = 1000] = "EDITION_2023"; - /** - * @generated from enum value: EDITION_2024 = 1001; - */ - Edition[Edition["EDITION_2024"] = 1001] = "EDITION_2024"; - /** - * Placeholder editions for testing feature resolution. These should not be - * used or relyed on outside of tests. - * - * @generated from enum value: EDITION_1_TEST_ONLY = 1; - */ - Edition[Edition["EDITION_1_TEST_ONLY"] = 1] = "EDITION_1_TEST_ONLY"; - /** - * @generated from enum value: EDITION_2_TEST_ONLY = 2; - */ - Edition[Edition["EDITION_2_TEST_ONLY"] = 2] = "EDITION_2_TEST_ONLY"; - /** - * @generated from enum value: EDITION_99997_TEST_ONLY = 99997; - */ - Edition[Edition["EDITION_99997_TEST_ONLY"] = 99997] = "EDITION_99997_TEST_ONLY"; - /** - * @generated from enum value: EDITION_99998_TEST_ONLY = 99998; - */ - Edition[Edition["EDITION_99998_TEST_ONLY"] = 99998] = "EDITION_99998_TEST_ONLY"; - /** - * @generated from enum value: EDITION_99999_TEST_ONLY = 99999; - */ - Edition[Edition["EDITION_99999_TEST_ONLY"] = 99999] = "EDITION_99999_TEST_ONLY"; - /** - * Placeholder for specifying unbounded edition support. This should only - * ever be used by plugins that can expect to never require any changes to - * support a new edition. - * - * @generated from enum value: EDITION_MAX = 2147483647; - */ - Edition[Edition["EDITION_MAX"] = 2147483647] = "EDITION_MAX"; -})(Edition || (exports.Edition = Edition = {})); -/** - * Describes the enum google.protobuf.Edition. - */ -exports.EditionSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_descriptor, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.d.ts deleted file mode 100644 index af2d059..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/duration.proto. - */ -export declare const file_google_protobuf_duration: GenFile; -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (duration.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - * - * - * @generated from message google.protobuf.Duration - */ -export type Duration = Message<"google.protobuf.Duration"> & { - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - * - * @generated from field: int64 seconds = 1; - */ - seconds: bigint; - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - * - * @generated from field: int32 nanos = 2; - */ - nanos: number; -}; -/** - * JSON type for the message google.protobuf.Duration. - */ -export type DurationJson = string; -/** - * Describes the message google.protobuf.Duration. - * Use `create(DurationSchema)` to create a new message. - */ -export declare const DurationSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.js deleted file mode 100644 index c258e60..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DurationSchema = exports.file_google_protobuf_duration = void 0; -const file_js_1 = require("../../../../codegenv1/file.js"); -const message_js_1 = require("../../../../codegenv1/message.js"); -/** - * Describes the file google/protobuf/duration.proto. - */ -exports.file_google_protobuf_duration = (0, file_js_1.fileDesc)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"); -/** - * Describes the message google.protobuf.Duration. - * Use `create(DurationSchema)` to create a new message. - */ -exports.DurationSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_duration, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.d.ts deleted file mode 100644 index 73193a5..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/empty.proto. - */ -export declare const file_google_protobuf_empty: GenFile; -/** - * A generic empty message that you can re-use to avoid defining duplicated - * empty messages in your APIs. A typical example is to use it as the request - * or the response type of an API method. For instance: - * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } - * - * - * @generated from message google.protobuf.Empty - */ -export type Empty = Message<"google.protobuf.Empty"> & {}; -/** - * JSON type for the message google.protobuf.Empty. - */ -export type EmptyJson = Record; -/** - * Describes the message google.protobuf.Empty. - * Use `create(EmptySchema)` to create a new message. - */ -export declare const EmptySchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.js deleted file mode 100644 index 9919cc4..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.EmptySchema = exports.file_google_protobuf_empty = void 0; -const file_js_1 = require("../../../../codegenv1/file.js"); -const message_js_1 = require("../../../../codegenv1/message.js"); -/** - * Describes the file google/protobuf/empty.proto. - */ -exports.file_google_protobuf_empty = (0, file_js_1.fileDesc)("Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIHCgVFbXB0eUJ9ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3RvUAFaLmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2VtcHR5cGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"); -/** - * Describes the message google.protobuf.Empty. - * Use `create(EmptySchema)` to create a new message. - */ -exports.EmptySchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_empty, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.d.ts deleted file mode 100644 index e10848d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.d.ts +++ /dev/null @@ -1,226 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/field_mask.proto. - */ -export declare const file_google_protobuf_field_mask: GenFile; -/** - * `FieldMask` represents a set of symbolic field paths, for example: - * - * paths: "f.a" - * paths: "f.b.d" - * - * Here `f` represents a field in some root message, `a` and `b` - * fields in the message found in `f`, and `d` a field found in the - * message in `f.b`. - * - * Field masks are used to specify a subset of fields that should be - * returned by a get operation or modified by an update operation. - * Field masks also have a custom JSON encoding (see below). - * - * # Field Masks in Projections - * - * When used in the context of a projection, a response message or - * sub-message is filtered by the API to only contain those fields as - * specified in the mask. For example, if the mask in the previous - * example is applied to a response message as follows: - * - * f { - * a : 22 - * b { - * d : 1 - * x : 2 - * } - * y : 13 - * } - * z: 8 - * - * The result will not contain specific values for fields x,y and z - * (their value will be set to the default, and omitted in proto text - * output): - * - * - * f { - * a : 22 - * b { - * d : 1 - * } - * } - * - * A repeated field is not allowed except at the last position of a - * paths string. - * - * If a FieldMask object is not present in a get operation, the - * operation applies to all fields (as if a FieldMask of all fields - * had been specified). - * - * Note that a field mask does not necessarily apply to the - * top-level response message. In case of a REST get operation, the - * field mask applies directly to the response, but in case of a REST - * list operation, the mask instead applies to each individual message - * in the returned resource list. In case of a REST custom method, - * other definitions may be used. Where the mask applies will be - * clearly documented together with its declaration in the API. In - * any case, the effect on the returned resource/resources is required - * behavior for APIs. - * - * # Field Masks in Update Operations - * - * A field mask in update operations specifies which fields of the - * targeted resource are going to be updated. The API is required - * to only change the values of the fields as specified in the mask - * and leave the others untouched. If a resource is passed in to - * describe the updated values, the API ignores the values of all - * fields not covered by the mask. - * - * If a repeated field is specified for an update operation, new values will - * be appended to the existing repeated field in the target resource. Note that - * a repeated field is only allowed in the last position of a `paths` string. - * - * If a sub-message is specified in the last position of the field mask for an - * update operation, then new value will be merged into the existing sub-message - * in the target resource. - * - * For example, given the target message: - * - * f { - * b { - * d: 1 - * x: 2 - * } - * c: [1] - * } - * - * And an update message: - * - * f { - * b { - * d: 10 - * } - * c: [2] - * } - * - * then if the field mask is: - * - * paths: ["f.b", "f.c"] - * - * then the result will be: - * - * f { - * b { - * d: 10 - * x: 2 - * } - * c: [1, 2] - * } - * - * An implementation may provide options to override this default behavior for - * repeated and message fields. - * - * In order to reset a field's value to the default, the field must - * be in the mask and set to the default value in the provided resource. - * Hence, in order to reset all fields of a resource, provide a default - * instance of the resource and set all fields in the mask, or do - * not provide a mask as described below. - * - * If a field mask is not present on update, the operation applies to - * all fields (as if a field mask of all fields has been specified). - * Note that in the presence of schema evolution, this may mean that - * fields the client does not know and has therefore not filled into - * the request will be reset to their default. If this is unwanted - * behavior, a specific service may require a client to always specify - * a field mask, producing an error if not. - * - * As with get operations, the location of the resource which - * describes the updated values in the request message depends on the - * operation kind. In any case, the effect of the field mask is - * required to be honored by the API. - * - * ## Considerations for HTTP REST - * - * The HTTP kind of an update operation which uses a field mask must - * be set to PATCH instead of PUT in order to satisfy HTTP semantics - * (PUT must only be used for full updates). - * - * # JSON Encoding of Field Masks - * - * In JSON, a field mask is encoded as a single string where paths are - * separated by a comma. Fields name in each path are converted - * to/from lower-camel naming conventions. - * - * As an example, consider the following message declarations: - * - * message Profile { - * User user = 1; - * Photo photo = 2; - * } - * message User { - * string display_name = 1; - * string address = 2; - * } - * - * In proto a field mask for `Profile` may look as such: - * - * mask { - * paths: "user.display_name" - * paths: "photo" - * } - * - * In JSON, the same mask is represented as below: - * - * { - * mask: "user.displayName,photo" - * } - * - * # Field Masks and Oneof Fields - * - * Field masks treat fields in oneofs just as regular fields. Consider the - * following message: - * - * message SampleMessage { - * oneof test_oneof { - * string name = 4; - * SubMessage sub_message = 9; - * } - * } - * - * The field mask can be: - * - * mask { - * paths: "name" - * } - * - * Or: - * - * mask { - * paths: "sub_message" - * } - * - * Note that oneof type names ("test_oneof" in this case) cannot be used in - * paths. - * - * ## Field Mask Verification - * - * The implementation of any API method which has a FieldMask type field in the - * request should verify the included field paths, and return an - * `INVALID_ARGUMENT` error if any path is unmappable. - * - * @generated from message google.protobuf.FieldMask - */ -export type FieldMask = Message<"google.protobuf.FieldMask"> & { - /** - * The set of field mask paths. - * - * @generated from field: repeated string paths = 1; - */ - paths: string[]; -}; -/** - * JSON type for the message google.protobuf.FieldMask. - */ -export type FieldMaskJson = string; -/** - * Describes the message google.protobuf.FieldMask. - * Use `create(FieldMaskSchema)` to create a new message. - */ -export declare const FieldMaskSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.js deleted file mode 100644 index bd9706d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.FieldMaskSchema = exports.file_google_protobuf_field_mask = void 0; -const file_js_1 = require("../../../../codegenv1/file.js"); -const message_js_1 = require("../../../../codegenv1/message.js"); -/** - * Describes the file google/protobuf/field_mask.proto. - */ -exports.file_google_protobuf_field_mask = (0, file_js_1.fileDesc)("CiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5wcm90bxIPZ29vZ2xlLnByb3RvYnVmIhoKCUZpZWxkTWFzaxINCgVwYXRocxgBIAMoCUKFAQoTY29tLmdvb2dsZS5wcm90b2J1ZkIORmllbGRNYXNrUHJvdG9QAVoyZ29vZ2xlLmdvbGFuZy5vcmcvcHJvdG9idWYvdHlwZXMva25vd24vZmllbGRtYXNrcGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"); -/** - * Describes the message google.protobuf.FieldMask. - * Use `create(FieldMaskSchema)` to create a new message. - */ -exports.FieldMaskSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_field_mask, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.d.ts deleted file mode 100644 index a1310ae..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/source_context.proto. - */ -export declare const file_google_protobuf_source_context: GenFile; -/** - * `SourceContext` represents information about the source of a - * protobuf element, like the file in which it is defined. - * - * @generated from message google.protobuf.SourceContext - */ -export type SourceContext = Message<"google.protobuf.SourceContext"> & { - /** - * The path-qualified name of the .proto file that contained the associated - * protobuf element. For example: `"google/protobuf/source_context.proto"`. - * - * @generated from field: string file_name = 1; - */ - fileName: string; -}; -/** - * JSON type for the message google.protobuf.SourceContext. - */ -export type SourceContextJson = { - /** - * @generated from field: string file_name = 1; - */ - fileName?: string; -}; -/** - * Describes the message google.protobuf.SourceContext. - * Use `create(SourceContextSchema)` to create a new message. - */ -export declare const SourceContextSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.js deleted file mode 100644 index 4a90b9d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.SourceContextSchema = exports.file_google_protobuf_source_context = void 0; -const file_js_1 = require("../../../../codegenv1/file.js"); -const message_js_1 = require("../../../../codegenv1/message.js"); -/** - * Describes the file google/protobuf/source_context.proto. - */ -exports.file_google_protobuf_source_context = (0, file_js_1.fileDesc)("CiRnb29nbGUvcHJvdG9idWYvc291cmNlX2NvbnRleHQucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIiCg1Tb3VyY2VDb250ZXh0EhEKCWZpbGVfbmFtZRgBIAEoCUKKAQoTY29tLmdvb2dsZS5wcm90b2J1ZkISU291cmNlQ29udGV4dFByb3RvUAFaNmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3NvdXJjZWNvbnRleHRwYqICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z"); -/** - * Describes the message google.protobuf.SourceContext. - * Use `create(SourceContextSchema)` to create a new message. - */ -exports.SourceContextSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_source_context, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.d.ts deleted file mode 100644 index c8ae4be..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.d.ts +++ /dev/null @@ -1,164 +0,0 @@ -import type { GenEnum, GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -import type { JsonObject, JsonValue } from "../../../../json-value.js"; -/** - * Describes the file google/protobuf/struct.proto. - */ -export declare const file_google_protobuf_struct: GenFile; -/** - * `Struct` represents a structured data value, consisting of fields - * which map to dynamically typed values. In some languages, `Struct` - * might be supported by a native representation. For example, in - * scripting languages like JS a struct is represented as an - * object. The details of that representation are described together - * with the proto support for the language. - * - * The JSON representation for `Struct` is JSON object. - * - * @generated from message google.protobuf.Struct - */ -export type Struct = Message<"google.protobuf.Struct"> & { - /** - * Unordered map of dynamically typed values. - * - * @generated from field: map fields = 1; - */ - fields: { - [key: string]: Value; - }; -}; -/** - * JSON type for the message google.protobuf.Struct. - */ -export type StructJson = JsonObject; -/** - * Describes the message google.protobuf.Struct. - * Use `create(StructSchema)` to create a new message. - */ -export declare const StructSchema: GenMessage; -/** - * `Value` represents a dynamically typed value which can be either - * null, a number, a string, a boolean, a recursive struct value, or a - * list of values. A producer of value is expected to set one of these - * variants. Absence of any variant indicates an error. - * - * The JSON representation for `Value` is JSON value. - * - * @generated from message google.protobuf.Value - */ -export type Value = Message<"google.protobuf.Value"> & { - /** - * The kind of value. - * - * @generated from oneof google.protobuf.Value.kind - */ - kind: { - /** - * Represents a null value. - * - * @generated from field: google.protobuf.NullValue null_value = 1; - */ - value: NullValue; - case: "nullValue"; - } | { - /** - * Represents a double value. - * - * @generated from field: double number_value = 2; - */ - value: number; - case: "numberValue"; - } | { - /** - * Represents a string value. - * - * @generated from field: string string_value = 3; - */ - value: string; - case: "stringValue"; - } | { - /** - * Represents a boolean value. - * - * @generated from field: bool bool_value = 4; - */ - value: boolean; - case: "boolValue"; - } | { - /** - * Represents a structured value. - * - * @generated from field: google.protobuf.Struct struct_value = 5; - */ - value: Struct; - case: "structValue"; - } | { - /** - * Represents a repeated `Value`. - * - * @generated from field: google.protobuf.ListValue list_value = 6; - */ - value: ListValue; - case: "listValue"; - } | { - case: undefined; - value?: undefined; - }; -}; -/** - * JSON type for the message google.protobuf.Value. - */ -export type ValueJson = JsonValue; -/** - * Describes the message google.protobuf.Value. - * Use `create(ValueSchema)` to create a new message. - */ -export declare const ValueSchema: GenMessage; -/** - * `ListValue` is a wrapper around a repeated field of values. - * - * The JSON representation for `ListValue` is JSON array. - * - * @generated from message google.protobuf.ListValue - */ -export type ListValue = Message<"google.protobuf.ListValue"> & { - /** - * Repeated field of dynamically typed values. - * - * @generated from field: repeated google.protobuf.Value values = 1; - */ - values: Value[]; -}; -/** - * JSON type for the message google.protobuf.ListValue. - */ -export type ListValueJson = JsonValue[]; -/** - * Describes the message google.protobuf.ListValue. - * Use `create(ListValueSchema)` to create a new message. - */ -export declare const ListValueSchema: GenMessage; -/** - * `NullValue` is a singleton enumeration to represent the null value for the - * `Value` type union. - * - * The JSON representation for `NullValue` is JSON `null`. - * - * @generated from enum google.protobuf.NullValue - */ -export declare enum NullValue { - /** - * Null value. - * - * @generated from enum value: NULL_VALUE = 0; - */ - NULL_VALUE = 0 -} -/** - * JSON type for the enum google.protobuf.NullValue. - */ -export type NullValueJson = null; -/** - * Describes the enum google.protobuf.NullValue. - */ -export declare const NullValueSchema: GenEnum; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.js deleted file mode 100644 index 39a5fe2..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.js +++ /dev/null @@ -1,59 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.NullValueSchema = exports.NullValue = exports.ListValueSchema = exports.ValueSchema = exports.StructSchema = exports.file_google_protobuf_struct = void 0; -const file_js_1 = require("../../../../codegenv1/file.js"); -const message_js_1 = require("../../../../codegenv1/message.js"); -const enum_js_1 = require("../../../../codegenv1/enum.js"); -/** - * Describes the file google/protobuf/struct.proto. - */ -exports.file_google_protobuf_struct = (0, file_js_1.fileDesc)("Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9idWYihAEKBlN0cnVjdBIzCgZmaWVsZHMYASADKAsyIy5nb29nbGUucHJvdG9idWYuU3RydWN0LkZpZWxkc0VudHJ5GkUKC0ZpZWxkc0VudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToCOAEi6gEKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFgoMbnVtYmVyX3ZhbHVlGAIgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAMgASgJSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEi8KDHN0cnVjdF92YWx1ZRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIABIwCgpsaXN0X3ZhbHVlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RWYWx1ZUgAQgYKBGtpbmQiMwoJTGlzdFZhbHVlEiYKBnZhbHVlcxgBIAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAAQn8KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAFaL2dvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3N0cnVjdHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"); -/** - * Describes the message google.protobuf.Struct. - * Use `create(StructSchema)` to create a new message. - */ -exports.StructSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_struct, 0); -/** - * Describes the message google.protobuf.Value. - * Use `create(ValueSchema)` to create a new message. - */ -exports.ValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_struct, 1); -/** - * Describes the message google.protobuf.ListValue. - * Use `create(ListValueSchema)` to create a new message. - */ -exports.ListValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_struct, 2); -/** - * `NullValue` is a singleton enumeration to represent the null value for the - * `Value` type union. - * - * The JSON representation for `NullValue` is JSON `null`. - * - * @generated from enum google.protobuf.NullValue - */ -var NullValue; -(function (NullValue) { - /** - * Null value. - * - * @generated from enum value: NULL_VALUE = 0; - */ - NullValue[NullValue["NULL_VALUE"] = 0] = "NULL_VALUE"; -})(NullValue || (exports.NullValue = NullValue = {})); -/** - * Describes the enum google.protobuf.NullValue. - */ -exports.NullValueSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_struct, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.d.ts deleted file mode 100644 index edc2af4..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.d.ts +++ /dev/null @@ -1,128 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/timestamp.proto. - */ -export declare const file_google_protobuf_timestamp: GenFile; -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * Example 5: Compute Timestamp from Java `Instant.now()`. - * - * Instant now = Instant.now(); - * - * Timestamp timestamp = - * Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - * .setNanos(now.getNano()).build(); - * - * Example 6: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - * ) to obtain a formatter capable of generating timestamps in this format. - * - * - * @generated from message google.protobuf.Timestamp - */ -export type Timestamp = Message<"google.protobuf.Timestamp"> & { - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - * - * @generated from field: int64 seconds = 1; - */ - seconds: bigint; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - * - * @generated from field: int32 nanos = 2; - */ - nanos: number; -}; -/** - * JSON type for the message google.protobuf.Timestamp. - */ -export type TimestampJson = string; -/** - * Describes the message google.protobuf.Timestamp. - * Use `create(TimestampSchema)` to create a new message. - */ -export declare const TimestampSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.js deleted file mode 100644 index 90bc43b..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.TimestampSchema = exports.file_google_protobuf_timestamp = void 0; -const file_js_1 = require("../../../../codegenv1/file.js"); -const message_js_1 = require("../../../../codegenv1/message.js"); -/** - * Describes the file google/protobuf/timestamp.proto. - */ -exports.file_google_protobuf_timestamp = (0, file_js_1.fileDesc)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"); -/** - * Describes the message google.protobuf.Timestamp. - * Use `create(TimestampSchema)` to create a new message. - */ -exports.TimestampSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_timestamp, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.d.ts deleted file mode 100644 index c45fb31..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.d.ts +++ /dev/null @@ -1,583 +0,0 @@ -import type { GenEnum, GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Any, AnyJson } from "./any_pb.js"; -import type { SourceContext, SourceContextJson } from "./source_context_pb.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/type.proto. - */ -export declare const file_google_protobuf_type: GenFile; -/** - * A protocol buffer message type. - * - * @generated from message google.protobuf.Type - */ -export type Type = Message<"google.protobuf.Type"> & { - /** - * The fully qualified message name. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * The list of fields. - * - * @generated from field: repeated google.protobuf.Field fields = 2; - */ - fields: Field[]; - /** - * The list of types appearing in `oneof` definitions in this type. - * - * @generated from field: repeated string oneofs = 3; - */ - oneofs: string[]; - /** - * The protocol buffer options. - * - * @generated from field: repeated google.protobuf.Option options = 4; - */ - options: Option[]; - /** - * The source context. - * - * @generated from field: google.protobuf.SourceContext source_context = 5; - */ - sourceContext?: SourceContext; - /** - * The source syntax. - * - * @generated from field: google.protobuf.Syntax syntax = 6; - */ - syntax: Syntax; - /** - * The source edition string, only valid when syntax is SYNTAX_EDITIONS. - * - * @generated from field: string edition = 7; - */ - edition: string; -}; -/** - * JSON type for the message google.protobuf.Type. - */ -export type TypeJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.Field fields = 2; - */ - fields?: FieldJson[]; - /** - * @generated from field: repeated string oneofs = 3; - */ - oneofs?: string[]; - /** - * @generated from field: repeated google.protobuf.Option options = 4; - */ - options?: OptionJson[]; - /** - * @generated from field: google.protobuf.SourceContext source_context = 5; - */ - sourceContext?: SourceContextJson; - /** - * @generated from field: google.protobuf.Syntax syntax = 6; - */ - syntax?: SyntaxJson; - /** - * @generated from field: string edition = 7; - */ - edition?: string; -}; -/** - * Describes the message google.protobuf.Type. - * Use `create(TypeSchema)` to create a new message. - */ -export declare const TypeSchema: GenMessage; -/** - * A single field of a message type. - * - * @generated from message google.protobuf.Field - */ -export type Field = Message<"google.protobuf.Field"> & { - /** - * The field type. - * - * @generated from field: google.protobuf.Field.Kind kind = 1; - */ - kind: Field_Kind; - /** - * The field cardinality. - * - * @generated from field: google.protobuf.Field.Cardinality cardinality = 2; - */ - cardinality: Field_Cardinality; - /** - * The field number. - * - * @generated from field: int32 number = 3; - */ - number: number; - /** - * The field name. - * - * @generated from field: string name = 4; - */ - name: string; - /** - * The field type URL, without the scheme, for message or enumeration - * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - * - * @generated from field: string type_url = 6; - */ - typeUrl: string; - /** - * The index of the field type in `Type.oneofs`, for message or enumeration - * types. The first type has index 1; zero means the type is not in the list. - * - * @generated from field: int32 oneof_index = 7; - */ - oneofIndex: number; - /** - * Whether to use alternative packed wire representation. - * - * @generated from field: bool packed = 8; - */ - packed: boolean; - /** - * The protocol buffer options. - * - * @generated from field: repeated google.protobuf.Option options = 9; - */ - options: Option[]; - /** - * The field JSON name. - * - * @generated from field: string json_name = 10; - */ - jsonName: string; - /** - * The string value of the default value of this field. Proto2 syntax only. - * - * @generated from field: string default_value = 11; - */ - defaultValue: string; -}; -/** - * JSON type for the message google.protobuf.Field. - */ -export type FieldJson = { - /** - * @generated from field: google.protobuf.Field.Kind kind = 1; - */ - kind?: Field_KindJson; - /** - * @generated from field: google.protobuf.Field.Cardinality cardinality = 2; - */ - cardinality?: Field_CardinalityJson; - /** - * @generated from field: int32 number = 3; - */ - number?: number; - /** - * @generated from field: string name = 4; - */ - name?: string; - /** - * @generated from field: string type_url = 6; - */ - typeUrl?: string; - /** - * @generated from field: int32 oneof_index = 7; - */ - oneofIndex?: number; - /** - * @generated from field: bool packed = 8; - */ - packed?: boolean; - /** - * @generated from field: repeated google.protobuf.Option options = 9; - */ - options?: OptionJson[]; - /** - * @generated from field: string json_name = 10; - */ - jsonName?: string; - /** - * @generated from field: string default_value = 11; - */ - defaultValue?: string; -}; -/** - * Describes the message google.protobuf.Field. - * Use `create(FieldSchema)` to create a new message. - */ -export declare const FieldSchema: GenMessage; -/** - * Basic field types. - * - * @generated from enum google.protobuf.Field.Kind - */ -export declare enum Field_Kind { - /** - * Field type unknown. - * - * @generated from enum value: TYPE_UNKNOWN = 0; - */ - TYPE_UNKNOWN = 0, - /** - * Field type double. - * - * @generated from enum value: TYPE_DOUBLE = 1; - */ - TYPE_DOUBLE = 1, - /** - * Field type float. - * - * @generated from enum value: TYPE_FLOAT = 2; - */ - TYPE_FLOAT = 2, - /** - * Field type int64. - * - * @generated from enum value: TYPE_INT64 = 3; - */ - TYPE_INT64 = 3, - /** - * Field type uint64. - * - * @generated from enum value: TYPE_UINT64 = 4; - */ - TYPE_UINT64 = 4, - /** - * Field type int32. - * - * @generated from enum value: TYPE_INT32 = 5; - */ - TYPE_INT32 = 5, - /** - * Field type fixed64. - * - * @generated from enum value: TYPE_FIXED64 = 6; - */ - TYPE_FIXED64 = 6, - /** - * Field type fixed32. - * - * @generated from enum value: TYPE_FIXED32 = 7; - */ - TYPE_FIXED32 = 7, - /** - * Field type bool. - * - * @generated from enum value: TYPE_BOOL = 8; - */ - TYPE_BOOL = 8, - /** - * Field type string. - * - * @generated from enum value: TYPE_STRING = 9; - */ - TYPE_STRING = 9, - /** - * Field type group. Proto2 syntax only, and deprecated. - * - * @generated from enum value: TYPE_GROUP = 10; - */ - TYPE_GROUP = 10, - /** - * Field type message. - * - * @generated from enum value: TYPE_MESSAGE = 11; - */ - TYPE_MESSAGE = 11, - /** - * Field type bytes. - * - * @generated from enum value: TYPE_BYTES = 12; - */ - TYPE_BYTES = 12, - /** - * Field type uint32. - * - * @generated from enum value: TYPE_UINT32 = 13; - */ - TYPE_UINT32 = 13, - /** - * Field type enum. - * - * @generated from enum value: TYPE_ENUM = 14; - */ - TYPE_ENUM = 14, - /** - * Field type sfixed32. - * - * @generated from enum value: TYPE_SFIXED32 = 15; - */ - TYPE_SFIXED32 = 15, - /** - * Field type sfixed64. - * - * @generated from enum value: TYPE_SFIXED64 = 16; - */ - TYPE_SFIXED64 = 16, - /** - * Field type sint32. - * - * @generated from enum value: TYPE_SINT32 = 17; - */ - TYPE_SINT32 = 17, - /** - * Field type sint64. - * - * @generated from enum value: TYPE_SINT64 = 18; - */ - TYPE_SINT64 = 18 -} -/** - * JSON type for the enum google.protobuf.Field.Kind. - */ -export type Field_KindJson = "TYPE_UNKNOWN" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64"; -/** - * Describes the enum google.protobuf.Field.Kind. - */ -export declare const Field_KindSchema: GenEnum; -/** - * Whether a field is optional, required, or repeated. - * - * @generated from enum google.protobuf.Field.Cardinality - */ -export declare enum Field_Cardinality { - /** - * For fields with unknown cardinality. - * - * @generated from enum value: CARDINALITY_UNKNOWN = 0; - */ - UNKNOWN = 0, - /** - * For optional fields. - * - * @generated from enum value: CARDINALITY_OPTIONAL = 1; - */ - OPTIONAL = 1, - /** - * For required fields. Proto2 syntax only. - * - * @generated from enum value: CARDINALITY_REQUIRED = 2; - */ - REQUIRED = 2, - /** - * For repeated fields. - * - * @generated from enum value: CARDINALITY_REPEATED = 3; - */ - REPEATED = 3 -} -/** - * JSON type for the enum google.protobuf.Field.Cardinality. - */ -export type Field_CardinalityJson = "CARDINALITY_UNKNOWN" | "CARDINALITY_OPTIONAL" | "CARDINALITY_REQUIRED" | "CARDINALITY_REPEATED"; -/** - * Describes the enum google.protobuf.Field.Cardinality. - */ -export declare const Field_CardinalitySchema: GenEnum; -/** - * Enum type definition. - * - * @generated from message google.protobuf.Enum - */ -export type Enum = Message<"google.protobuf.Enum"> & { - /** - * Enum type name. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * Enum value definitions. - * - * @generated from field: repeated google.protobuf.EnumValue enumvalue = 2; - */ - enumvalue: EnumValue[]; - /** - * Protocol buffer options. - * - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options: Option[]; - /** - * The source context. - * - * @generated from field: google.protobuf.SourceContext source_context = 4; - */ - sourceContext?: SourceContext; - /** - * The source syntax. - * - * @generated from field: google.protobuf.Syntax syntax = 5; - */ - syntax: Syntax; - /** - * The source edition string, only valid when syntax is SYNTAX_EDITIONS. - * - * @generated from field: string edition = 6; - */ - edition: string; -}; -/** - * JSON type for the message google.protobuf.Enum. - */ -export type EnumJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.EnumValue enumvalue = 2; - */ - enumvalue?: EnumValueJson[]; - /** - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options?: OptionJson[]; - /** - * @generated from field: google.protobuf.SourceContext source_context = 4; - */ - sourceContext?: SourceContextJson; - /** - * @generated from field: google.protobuf.Syntax syntax = 5; - */ - syntax?: SyntaxJson; - /** - * @generated from field: string edition = 6; - */ - edition?: string; -}; -/** - * Describes the message google.protobuf.Enum. - * Use `create(EnumSchema)` to create a new message. - */ -export declare const EnumSchema: GenMessage; -/** - * Enum value definition. - * - * @generated from message google.protobuf.EnumValue - */ -export type EnumValue = Message<"google.protobuf.EnumValue"> & { - /** - * Enum value name. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * Enum value number. - * - * @generated from field: int32 number = 2; - */ - number: number; - /** - * Protocol buffer options. - * - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options: Option[]; -}; -/** - * JSON type for the message google.protobuf.EnumValue. - */ -export type EnumValueJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: int32 number = 2; - */ - number?: number; - /** - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options?: OptionJson[]; -}; -/** - * Describes the message google.protobuf.EnumValue. - * Use `create(EnumValueSchema)` to create a new message. - */ -export declare const EnumValueSchema: GenMessage; -/** - * A protocol buffer option, which can be attached to a message, field, - * enumeration, etc. - * - * @generated from message google.protobuf.Option - */ -export type Option = Message<"google.protobuf.Option"> & { - /** - * The option's name. For protobuf built-in options (options defined in - * descriptor.proto), this is the short name. For example, `"map_entry"`. - * For custom options, it should be the fully-qualified name. For example, - * `"google.api.http"`. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * The option's value packed in an Any message. If the value is a primitive, - * the corresponding wrapper type defined in google/protobuf/wrappers.proto - * should be used. If the value is an enum, it should be stored as an int32 - * value using the google.protobuf.Int32Value type. - * - * @generated from field: google.protobuf.Any value = 2; - */ - value?: Any; -}; -/** - * JSON type for the message google.protobuf.Option. - */ -export type OptionJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: google.protobuf.Any value = 2; - */ - value?: AnyJson; -}; -/** - * Describes the message google.protobuf.Option. - * Use `create(OptionSchema)` to create a new message. - */ -export declare const OptionSchema: GenMessage; -/** - * The syntax in which a protocol buffer element is defined. - * - * @generated from enum google.protobuf.Syntax - */ -export declare enum Syntax { - /** - * Syntax `proto2`. - * - * @generated from enum value: SYNTAX_PROTO2 = 0; - */ - PROTO2 = 0, - /** - * Syntax `proto3`. - * - * @generated from enum value: SYNTAX_PROTO3 = 1; - */ - PROTO3 = 1, - /** - * Syntax `editions`. - * - * @generated from enum value: SYNTAX_EDITIONS = 2; - */ - EDITIONS = 2 -} -/** - * JSON type for the enum google.protobuf.Syntax. - */ -export type SyntaxJson = "SYNTAX_PROTO2" | "SYNTAX_PROTO3" | "SYNTAX_EDITIONS"; -/** - * Describes the enum google.protobuf.Syntax. - */ -export declare const SyntaxSchema: GenEnum; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.js deleted file mode 100644 index 21f076d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.js +++ /dev/null @@ -1,242 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.SyntaxSchema = exports.Syntax = exports.OptionSchema = exports.EnumValueSchema = exports.EnumSchema = exports.Field_CardinalitySchema = exports.Field_Cardinality = exports.Field_KindSchema = exports.Field_Kind = exports.FieldSchema = exports.TypeSchema = exports.file_google_protobuf_type = void 0; -const file_js_1 = require("../../../../codegenv1/file.js"); -const any_pb_js_1 = require("./any_pb.js"); -const source_context_pb_js_1 = require("./source_context_pb.js"); -const message_js_1 = require("../../../../codegenv1/message.js"); -const enum_js_1 = require("../../../../codegenv1/enum.js"); -/** - * Describes the file google/protobuf/type.proto. - */ -exports.file_google_protobuf_type = (0, file_js_1.fileDesc)("Chpnb29nbGUvcHJvdG9idWYvdHlwZS5wcm90bxIPZ29vZ2xlLnByb3RvYnVmIugBCgRUeXBlEgwKBG5hbWUYASABKAkSJgoGZmllbGRzGAIgAygLMhYuZ29vZ2xlLnByb3RvYnVmLkZpZWxkEg4KBm9uZW9mcxgDIAMoCRIoCgdvcHRpb25zGAQgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhI2Cg5zb3VyY2VfY29udGV4dBgFIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5Tb3VyY2VDb250ZXh0EicKBnN5bnRheBgGIAEoDjIXLmdvb2dsZS5wcm90b2J1Zi5TeW50YXgSDwoHZWRpdGlvbhgHIAEoCSLVBQoFRmllbGQSKQoEa2luZBgBIAEoDjIbLmdvb2dsZS5wcm90b2J1Zi5GaWVsZC5LaW5kEjcKC2NhcmRpbmFsaXR5GAIgASgOMiIuZ29vZ2xlLnByb3RvYnVmLkZpZWxkLkNhcmRpbmFsaXR5Eg4KBm51bWJlchgDIAEoBRIMCgRuYW1lGAQgASgJEhAKCHR5cGVfdXJsGAYgASgJEhMKC29uZW9mX2luZGV4GAcgASgFEg4KBnBhY2tlZBgIIAEoCBIoCgdvcHRpb25zGAkgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhIRCglqc29uX25hbWUYCiABKAkSFQoNZGVmYXVsdF92YWx1ZRgLIAEoCSLIAgoES2luZBIQCgxUWVBFX1VOS05PV04QABIPCgtUWVBFX0RPVUJMRRABEg4KClRZUEVfRkxPQVQQAhIOCgpUWVBFX0lOVDY0EAMSDwoLVFlQRV9VSU5UNjQQBBIOCgpUWVBFX0lOVDMyEAUSEAoMVFlQRV9GSVhFRDY0EAYSEAoMVFlQRV9GSVhFRDMyEAcSDQoJVFlQRV9CT09MEAgSDwoLVFlQRV9TVFJJTkcQCRIOCgpUWVBFX0dST1VQEAoSEAoMVFlQRV9NRVNTQUdFEAsSDgoKVFlQRV9CWVRFUxAMEg8KC1RZUEVfVUlOVDMyEA0SDQoJVFlQRV9FTlVNEA4SEQoNVFlQRV9TRklYRUQzMhAPEhEKDVRZUEVfU0ZJWEVENjQQEBIPCgtUWVBFX1NJTlQzMhAREg8KC1RZUEVfU0lOVDY0EBIidAoLQ2FyZGluYWxpdHkSFwoTQ0FSRElOQUxJVFlfVU5LTk9XThAAEhgKFENBUkRJTkFMSVRZX09QVElPTkFMEAESGAoUQ0FSRElOQUxJVFlfUkVRVUlSRUQQAhIYChRDQVJESU5BTElUWV9SRVBFQVRFRBADIt8BCgRFbnVtEgwKBG5hbWUYASABKAkSLQoJZW51bXZhbHVlGAIgAygLMhouZ29vZ2xlLnByb3RvYnVmLkVudW1WYWx1ZRIoCgdvcHRpb25zGAMgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhI2Cg5zb3VyY2VfY29udGV4dBgEIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5Tb3VyY2VDb250ZXh0EicKBnN5bnRheBgFIAEoDjIXLmdvb2dsZS5wcm90b2J1Zi5TeW50YXgSDwoHZWRpdGlvbhgGIAEoCSJTCglFbnVtVmFsdWUSDAoEbmFtZRgBIAEoCRIOCgZudW1iZXIYAiABKAUSKAoHb3B0aW9ucxgDIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb24iOwoGT3B0aW9uEgwKBG5hbWUYASABKAkSIwoFdmFsdWUYAiABKAsyFC5nb29nbGUucHJvdG9idWYuQW55KkMKBlN5bnRheBIRCg1TWU5UQVhfUFJPVE8yEAASEQoNU1lOVEFYX1BST1RPMxABEhMKD1NZTlRBWF9FRElUSU9OUxACQnsKE2NvbS5nb29nbGUucHJvdG9idWZCCVR5cGVQcm90b1ABWi1nb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi90eXBlcGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw", [any_pb_js_1.file_google_protobuf_any, source_context_pb_js_1.file_google_protobuf_source_context]); -/** - * Describes the message google.protobuf.Type. - * Use `create(TypeSchema)` to create a new message. - */ -exports.TypeSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_type, 0); -/** - * Describes the message google.protobuf.Field. - * Use `create(FieldSchema)` to create a new message. - */ -exports.FieldSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_type, 1); -/** - * Basic field types. - * - * @generated from enum google.protobuf.Field.Kind - */ -var Field_Kind; -(function (Field_Kind) { - /** - * Field type unknown. - * - * @generated from enum value: TYPE_UNKNOWN = 0; - */ - Field_Kind[Field_Kind["TYPE_UNKNOWN"] = 0] = "TYPE_UNKNOWN"; - /** - * Field type double. - * - * @generated from enum value: TYPE_DOUBLE = 1; - */ - Field_Kind[Field_Kind["TYPE_DOUBLE"] = 1] = "TYPE_DOUBLE"; - /** - * Field type float. - * - * @generated from enum value: TYPE_FLOAT = 2; - */ - Field_Kind[Field_Kind["TYPE_FLOAT"] = 2] = "TYPE_FLOAT"; - /** - * Field type int64. - * - * @generated from enum value: TYPE_INT64 = 3; - */ - Field_Kind[Field_Kind["TYPE_INT64"] = 3] = "TYPE_INT64"; - /** - * Field type uint64. - * - * @generated from enum value: TYPE_UINT64 = 4; - */ - Field_Kind[Field_Kind["TYPE_UINT64"] = 4] = "TYPE_UINT64"; - /** - * Field type int32. - * - * @generated from enum value: TYPE_INT32 = 5; - */ - Field_Kind[Field_Kind["TYPE_INT32"] = 5] = "TYPE_INT32"; - /** - * Field type fixed64. - * - * @generated from enum value: TYPE_FIXED64 = 6; - */ - Field_Kind[Field_Kind["TYPE_FIXED64"] = 6] = "TYPE_FIXED64"; - /** - * Field type fixed32. - * - * @generated from enum value: TYPE_FIXED32 = 7; - */ - Field_Kind[Field_Kind["TYPE_FIXED32"] = 7] = "TYPE_FIXED32"; - /** - * Field type bool. - * - * @generated from enum value: TYPE_BOOL = 8; - */ - Field_Kind[Field_Kind["TYPE_BOOL"] = 8] = "TYPE_BOOL"; - /** - * Field type string. - * - * @generated from enum value: TYPE_STRING = 9; - */ - Field_Kind[Field_Kind["TYPE_STRING"] = 9] = "TYPE_STRING"; - /** - * Field type group. Proto2 syntax only, and deprecated. - * - * @generated from enum value: TYPE_GROUP = 10; - */ - Field_Kind[Field_Kind["TYPE_GROUP"] = 10] = "TYPE_GROUP"; - /** - * Field type message. - * - * @generated from enum value: TYPE_MESSAGE = 11; - */ - Field_Kind[Field_Kind["TYPE_MESSAGE"] = 11] = "TYPE_MESSAGE"; - /** - * Field type bytes. - * - * @generated from enum value: TYPE_BYTES = 12; - */ - Field_Kind[Field_Kind["TYPE_BYTES"] = 12] = "TYPE_BYTES"; - /** - * Field type uint32. - * - * @generated from enum value: TYPE_UINT32 = 13; - */ - Field_Kind[Field_Kind["TYPE_UINT32"] = 13] = "TYPE_UINT32"; - /** - * Field type enum. - * - * @generated from enum value: TYPE_ENUM = 14; - */ - Field_Kind[Field_Kind["TYPE_ENUM"] = 14] = "TYPE_ENUM"; - /** - * Field type sfixed32. - * - * @generated from enum value: TYPE_SFIXED32 = 15; - */ - Field_Kind[Field_Kind["TYPE_SFIXED32"] = 15] = "TYPE_SFIXED32"; - /** - * Field type sfixed64. - * - * @generated from enum value: TYPE_SFIXED64 = 16; - */ - Field_Kind[Field_Kind["TYPE_SFIXED64"] = 16] = "TYPE_SFIXED64"; - /** - * Field type sint32. - * - * @generated from enum value: TYPE_SINT32 = 17; - */ - Field_Kind[Field_Kind["TYPE_SINT32"] = 17] = "TYPE_SINT32"; - /** - * Field type sint64. - * - * @generated from enum value: TYPE_SINT64 = 18; - */ - Field_Kind[Field_Kind["TYPE_SINT64"] = 18] = "TYPE_SINT64"; -})(Field_Kind || (exports.Field_Kind = Field_Kind = {})); -/** - * Describes the enum google.protobuf.Field.Kind. - */ -exports.Field_KindSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_type, 1, 0); -/** - * Whether a field is optional, required, or repeated. - * - * @generated from enum google.protobuf.Field.Cardinality - */ -var Field_Cardinality; -(function (Field_Cardinality) { - /** - * For fields with unknown cardinality. - * - * @generated from enum value: CARDINALITY_UNKNOWN = 0; - */ - Field_Cardinality[Field_Cardinality["UNKNOWN"] = 0] = "UNKNOWN"; - /** - * For optional fields. - * - * @generated from enum value: CARDINALITY_OPTIONAL = 1; - */ - Field_Cardinality[Field_Cardinality["OPTIONAL"] = 1] = "OPTIONAL"; - /** - * For required fields. Proto2 syntax only. - * - * @generated from enum value: CARDINALITY_REQUIRED = 2; - */ - Field_Cardinality[Field_Cardinality["REQUIRED"] = 2] = "REQUIRED"; - /** - * For repeated fields. - * - * @generated from enum value: CARDINALITY_REPEATED = 3; - */ - Field_Cardinality[Field_Cardinality["REPEATED"] = 3] = "REPEATED"; -})(Field_Cardinality || (exports.Field_Cardinality = Field_Cardinality = {})); -/** - * Describes the enum google.protobuf.Field.Cardinality. - */ -exports.Field_CardinalitySchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_type, 1, 1); -/** - * Describes the message google.protobuf.Enum. - * Use `create(EnumSchema)` to create a new message. - */ -exports.EnumSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_type, 2); -/** - * Describes the message google.protobuf.EnumValue. - * Use `create(EnumValueSchema)` to create a new message. - */ -exports.EnumValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_type, 3); -/** - * Describes the message google.protobuf.Option. - * Use `create(OptionSchema)` to create a new message. - */ -exports.OptionSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_type, 4); -/** - * The syntax in which a protocol buffer element is defined. - * - * @generated from enum google.protobuf.Syntax - */ -var Syntax; -(function (Syntax) { - /** - * Syntax `proto2`. - * - * @generated from enum value: SYNTAX_PROTO2 = 0; - */ - Syntax[Syntax["PROTO2"] = 0] = "PROTO2"; - /** - * Syntax `proto3`. - * - * @generated from enum value: SYNTAX_PROTO3 = 1; - */ - Syntax[Syntax["PROTO3"] = 1] = "PROTO3"; - /** - * Syntax `editions`. - * - * @generated from enum value: SYNTAX_EDITIONS = 2; - */ - Syntax[Syntax["EDITIONS"] = 2] = "EDITIONS"; -})(Syntax || (exports.Syntax = Syntax = {})); -/** - * Describes the enum google.protobuf.Syntax. - */ -exports.SyntaxSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_type, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.d.ts deleted file mode 100644 index 40333a2..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.d.ts +++ /dev/null @@ -1,222 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/wrappers.proto. - */ -export declare const file_google_protobuf_wrappers: GenFile; -/** - * Wrapper message for `double`. - * - * The JSON representation for `DoubleValue` is JSON number. - * - * @generated from message google.protobuf.DoubleValue - */ -export type DoubleValue = Message<"google.protobuf.DoubleValue"> & { - /** - * The double value. - * - * @generated from field: double value = 1; - */ - value: number; -}; -/** - * JSON type for the message google.protobuf.DoubleValue. - */ -export type DoubleValueJson = number | "NaN" | "Infinity" | "-Infinity"; -/** - * Describes the message google.protobuf.DoubleValue. - * Use `create(DoubleValueSchema)` to create a new message. - */ -export declare const DoubleValueSchema: GenMessage; -/** - * Wrapper message for `float`. - * - * The JSON representation for `FloatValue` is JSON number. - * - * @generated from message google.protobuf.FloatValue - */ -export type FloatValue = Message<"google.protobuf.FloatValue"> & { - /** - * The float value. - * - * @generated from field: float value = 1; - */ - value: number; -}; -/** - * JSON type for the message google.protobuf.FloatValue. - */ -export type FloatValueJson = number | "NaN" | "Infinity" | "-Infinity"; -/** - * Describes the message google.protobuf.FloatValue. - * Use `create(FloatValueSchema)` to create a new message. - */ -export declare const FloatValueSchema: GenMessage; -/** - * Wrapper message for `int64`. - * - * The JSON representation for `Int64Value` is JSON string. - * - * @generated from message google.protobuf.Int64Value - */ -export type Int64Value = Message<"google.protobuf.Int64Value"> & { - /** - * The int64 value. - * - * @generated from field: int64 value = 1; - */ - value: bigint; -}; -/** - * JSON type for the message google.protobuf.Int64Value. - */ -export type Int64ValueJson = string; -/** - * Describes the message google.protobuf.Int64Value. - * Use `create(Int64ValueSchema)` to create a new message. - */ -export declare const Int64ValueSchema: GenMessage; -/** - * Wrapper message for `uint64`. - * - * The JSON representation for `UInt64Value` is JSON string. - * - * @generated from message google.protobuf.UInt64Value - */ -export type UInt64Value = Message<"google.protobuf.UInt64Value"> & { - /** - * The uint64 value. - * - * @generated from field: uint64 value = 1; - */ - value: bigint; -}; -/** - * JSON type for the message google.protobuf.UInt64Value. - */ -export type UInt64ValueJson = string; -/** - * Describes the message google.protobuf.UInt64Value. - * Use `create(UInt64ValueSchema)` to create a new message. - */ -export declare const UInt64ValueSchema: GenMessage; -/** - * Wrapper message for `int32`. - * - * The JSON representation for `Int32Value` is JSON number. - * - * @generated from message google.protobuf.Int32Value - */ -export type Int32Value = Message<"google.protobuf.Int32Value"> & { - /** - * The int32 value. - * - * @generated from field: int32 value = 1; - */ - value: number; -}; -/** - * JSON type for the message google.protobuf.Int32Value. - */ -export type Int32ValueJson = number; -/** - * Describes the message google.protobuf.Int32Value. - * Use `create(Int32ValueSchema)` to create a new message. - */ -export declare const Int32ValueSchema: GenMessage; -/** - * Wrapper message for `uint32`. - * - * The JSON representation for `UInt32Value` is JSON number. - * - * @generated from message google.protobuf.UInt32Value - */ -export type UInt32Value = Message<"google.protobuf.UInt32Value"> & { - /** - * The uint32 value. - * - * @generated from field: uint32 value = 1; - */ - value: number; -}; -/** - * JSON type for the message google.protobuf.UInt32Value. - */ -export type UInt32ValueJson = number; -/** - * Describes the message google.protobuf.UInt32Value. - * Use `create(UInt32ValueSchema)` to create a new message. - */ -export declare const UInt32ValueSchema: GenMessage; -/** - * Wrapper message for `bool`. - * - * The JSON representation for `BoolValue` is JSON `true` and `false`. - * - * @generated from message google.protobuf.BoolValue - */ -export type BoolValue = Message<"google.protobuf.BoolValue"> & { - /** - * The bool value. - * - * @generated from field: bool value = 1; - */ - value: boolean; -}; -/** - * JSON type for the message google.protobuf.BoolValue. - */ -export type BoolValueJson = boolean; -/** - * Describes the message google.protobuf.BoolValue. - * Use `create(BoolValueSchema)` to create a new message. - */ -export declare const BoolValueSchema: GenMessage; -/** - * Wrapper message for `string`. - * - * The JSON representation for `StringValue` is JSON string. - * - * @generated from message google.protobuf.StringValue - */ -export type StringValue = Message<"google.protobuf.StringValue"> & { - /** - * The string value. - * - * @generated from field: string value = 1; - */ - value: string; -}; -/** - * JSON type for the message google.protobuf.StringValue. - */ -export type StringValueJson = string; -/** - * Describes the message google.protobuf.StringValue. - * Use `create(StringValueSchema)` to create a new message. - */ -export declare const StringValueSchema: GenMessage; -/** - * Wrapper message for `bytes`. - * - * The JSON representation for `BytesValue` is JSON string. - * - * @generated from message google.protobuf.BytesValue - */ -export type BytesValue = Message<"google.protobuf.BytesValue"> & { - /** - * The bytes value. - * - * @generated from field: bytes value = 1; - */ - value: Uint8Array; -}; -/** - * JSON type for the message google.protobuf.BytesValue. - */ -export type BytesValueJson = string; -/** - * Describes the message google.protobuf.BytesValue. - * Use `create(BytesValueSchema)` to create a new message. - */ -export declare const BytesValueSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.js deleted file mode 100644 index c05d7e4..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.BytesValueSchema = exports.StringValueSchema = exports.BoolValueSchema = exports.UInt32ValueSchema = exports.Int32ValueSchema = exports.UInt64ValueSchema = exports.Int64ValueSchema = exports.FloatValueSchema = exports.DoubleValueSchema = exports.file_google_protobuf_wrappers = void 0; -const file_js_1 = require("../../../../codegenv1/file.js"); -const message_js_1 = require("../../../../codegenv1/message.js"); -/** - * Describes the file google/protobuf/wrappers.proto. - */ -exports.file_google_protobuf_wrappers = (0, file_js_1.fileDesc)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"); -/** - * Describes the message google.protobuf.DoubleValue. - * Use `create(DoubleValueSchema)` to create a new message. - */ -exports.DoubleValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_wrappers, 0); -/** - * Describes the message google.protobuf.FloatValue. - * Use `create(FloatValueSchema)` to create a new message. - */ -exports.FloatValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_wrappers, 1); -/** - * Describes the message google.protobuf.Int64Value. - * Use `create(Int64ValueSchema)` to create a new message. - */ -exports.Int64ValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_wrappers, 2); -/** - * Describes the message google.protobuf.UInt64Value. - * Use `create(UInt64ValueSchema)` to create a new message. - */ -exports.UInt64ValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_wrappers, 3); -/** - * Describes the message google.protobuf.Int32Value. - * Use `create(Int32ValueSchema)` to create a new message. - */ -exports.Int32ValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_wrappers, 4); -/** - * Describes the message google.protobuf.UInt32Value. - * Use `create(UInt32ValueSchema)` to create a new message. - */ -exports.UInt32ValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_wrappers, 5); -/** - * Describes the message google.protobuf.BoolValue. - * Use `create(BoolValueSchema)` to create a new message. - */ -exports.BoolValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_wrappers, 6); -/** - * Describes the message google.protobuf.StringValue. - * Use `create(StringValueSchema)` to create a new message. - */ -exports.StringValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_wrappers, 7); -/** - * Describes the message google.protobuf.BytesValue. - * Use `create(BytesValueSchema)` to create a new message. - */ -exports.BytesValueSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_wrappers, 8); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.d.ts deleted file mode 100644 index 4356a8b..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export * from "./timestamp.js"; -export * from "./any.js"; -export * from "./wrappers.js"; -export * from "./gen/google/protobuf/api_pb.js"; -export * from "./gen/google/protobuf/any_pb.js"; -export * from "./gen/google/protobuf/descriptor_pb.js"; -export * from "./gen/google/protobuf/duration_pb.js"; -export * from "./gen/google/protobuf/empty_pb.js"; -export * from "./gen/google/protobuf/field_mask_pb.js"; -export * from "./gen/google/protobuf/source_context_pb.js"; -export * from "./gen/google/protobuf/struct_pb.js"; -export * from "./gen/google/protobuf/timestamp_pb.js"; -export * from "./gen/google/protobuf/type_pb.js"; -export * from "./gen/google/protobuf/wrappers_pb.js"; -export * from "./gen/google/protobuf/compiler/plugin_pb.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.js deleted file mode 100644 index 943f5cd..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.js +++ /dev/null @@ -1,44 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./timestamp.js"), exports); -__exportStar(require("./any.js"), exports); -__exportStar(require("./wrappers.js"), exports); -__exportStar(require("./gen/google/protobuf/api_pb.js"), exports); -__exportStar(require("./gen/google/protobuf/any_pb.js"), exports); -__exportStar(require("./gen/google/protobuf/descriptor_pb.js"), exports); -__exportStar(require("./gen/google/protobuf/duration_pb.js"), exports); -__exportStar(require("./gen/google/protobuf/empty_pb.js"), exports); -__exportStar(require("./gen/google/protobuf/field_mask_pb.js"), exports); -__exportStar(require("./gen/google/protobuf/source_context_pb.js"), exports); -__exportStar(require("./gen/google/protobuf/struct_pb.js"), exports); -__exportStar(require("./gen/google/protobuf/timestamp_pb.js"), exports); -__exportStar(require("./gen/google/protobuf/type_pb.js"), exports); -__exportStar(require("./gen/google/protobuf/wrappers_pb.js"), exports); -__exportStar(require("./gen/google/protobuf/compiler/plugin_pb.js"), exports); diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.d.ts deleted file mode 100644 index 6ae7c19..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import type { Timestamp } from "./gen/google/protobuf/timestamp_pb.js"; -/** - * Create a google.protobuf.Timestamp for the current time. - */ -export declare function timestampNow(): Timestamp; -/** - * Create a google.protobuf.Timestamp message from an ECMAScript Date. - */ -export declare function timestampFromDate(date: Date): Timestamp; -/** - * Convert a google.protobuf.Timestamp message to an ECMAScript Date. - */ -export declare function timestampDate(timestamp: Timestamp): Date; -/** - * Create a google.protobuf.Timestamp message from a Unix timestamp in milliseconds. - */ -export declare function timestampFromMs(timestampMs: number): Timestamp; -/** - * Convert a google.protobuf.Timestamp to a Unix timestamp in milliseconds. - */ -export declare function timestampMs(timestamp: Timestamp): number; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.js deleted file mode 100644 index 7ece711..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.js +++ /dev/null @@ -1,56 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.timestampNow = timestampNow; -exports.timestampFromDate = timestampFromDate; -exports.timestampDate = timestampDate; -exports.timestampFromMs = timestampFromMs; -exports.timestampMs = timestampMs; -const timestamp_pb_js_1 = require("./gen/google/protobuf/timestamp_pb.js"); -const create_js_1 = require("../create.js"); -const proto_int64_js_1 = require("../proto-int64.js"); -/** - * Create a google.protobuf.Timestamp for the current time. - */ -function timestampNow() { - return timestampFromDate(new Date()); -} -/** - * Create a google.protobuf.Timestamp message from an ECMAScript Date. - */ -function timestampFromDate(date) { - return timestampFromMs(date.getTime()); -} -/** - * Convert a google.protobuf.Timestamp message to an ECMAScript Date. - */ -function timestampDate(timestamp) { - return new Date(timestampMs(timestamp)); -} -/** - * Create a google.protobuf.Timestamp message from a Unix timestamp in milliseconds. - */ -function timestampFromMs(timestampMs) { - return (0, create_js_1.create)(timestamp_pb_js_1.TimestampSchema, { - seconds: proto_int64_js_1.protoInt64.parse(Math.floor(timestampMs / 1000)), - nanos: (timestampMs % 1000) * 1000000, - }); -} -/** - * Convert a google.protobuf.Timestamp to a Unix timestamp in milliseconds. - */ -function timestampMs(timestamp) { - return (Number(timestamp.seconds) * 1000 + Math.ceil(timestamp.nanos / 1000000)); -} diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.d.ts b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.d.ts deleted file mode 100644 index f836b8e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import type { Message } from "../types.js"; -import type { BoolValue, BytesValue, DoubleValue, FloatValue, Int32Value, Int64Value, StringValue, UInt32Value, UInt64Value } from "./gen/google/protobuf/wrappers_pb.js"; -import type { DescField, DescMessage } from "../descriptors.js"; -export declare function isWrapper(arg: Message): arg is DoubleValue | FloatValue | Int64Value | UInt64Value | Int32Value | UInt32Value | BoolValue | StringValue | BytesValue; -export type WktWrapperDesc = DescMessage & { - fields: [ - DescField & { - fieldKind: "scalar"; - number: 1; - name: "value"; - oneof: undefined; - } - ]; -}; -export declare function isWrapperDesc(messageDesc: DescMessage): messageDesc is WktWrapperDesc; diff --git a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.js b/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.js deleted file mode 100644 index 1c2c184..0000000 --- a/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.isWrapper = isWrapper; -exports.isWrapperDesc = isWrapperDesc; -function isWrapper(arg) { - return isWrapperTypeName(arg.$typeName); -} -function isWrapperDesc(messageDesc) { - const f = messageDesc.fields[0]; - return (isWrapperTypeName(messageDesc.typeName) && - f !== undefined && - f.fieldKind == "scalar" && - f.name == "value" && - f.number == 1); -} -function isWrapperTypeName(name) { - return (name.startsWith("google.protobuf.") && - [ - "DoubleValue", - "FloatValue", - "Int64Value", - "UInt64Value", - "Int32Value", - "UInt32Value", - "BoolValue", - "StringValue", - "BytesValue", - ].includes(name.substring(16))); -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/clone.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/clone.d.ts deleted file mode 100644 index 1bb50b6..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/clone.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { MessageShape } from "./types.js"; -import { type DescMessage } from "./descriptors.js"; -/** - * Create a deep copy of a message, including extensions and unknown fields. - */ -export declare function clone(schema: Desc, message: MessageShape): MessageShape; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/clone.js b/node_modules/@bufbuild/protobuf/dist/esm/clone.js deleted file mode 100644 index f066832..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/clone.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { ScalarType } from "./descriptors.js"; -import { reflect } from "./reflect/reflect.js"; -import { isReflectMessage } from "./reflect/guard.js"; -/** - * Create a deep copy of a message, including extensions and unknown fields. - */ -export function clone(schema, message) { - return cloneReflect(reflect(schema, message)).message; -} -function cloneReflect(i) { - const o = reflect(i.desc); - for (const f of i.fields) { - if (!i.isSet(f)) { - continue; - } - switch (f.fieldKind) { - default: { - o.set(f, cloneSingular(f, i.get(f))); - break; - } - case "list": - // eslint-disable-next-line no-case-declarations - const list = o.get(f); - for (const item of i.get(f)) { - list.add(cloneSingular(f, item)); - } - break; - case "map": - // eslint-disable-next-line no-case-declarations - const map = o.get(f); - for (const entry of i.get(f).entries()) { - map.set(entry[0], cloneSingular(f, entry[1])); - } - break; - } - } - const unknown = i.getUnknown(); - if (unknown && unknown.length > 0) { - o.setUnknown([...unknown]); - } - return o; -} -function cloneSingular(field, value) { - if (field.message !== undefined && isReflectMessage(value)) { - return cloneReflect(value); - } - if (field.scalar == ScalarType.BYTES && value instanceof Uint8Array) { - // @ts-expect-error T cannot extend Uint8Array in practice - return value.slice(); - } - return value; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.d.ts deleted file mode 100644 index 3edbb6c..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -import type { DescriptorProto_ExtensionRange, FieldDescriptorProto_Label, FieldDescriptorProto_Type, FieldOptions_OptionRetention, FieldOptions_OptionTargetType, FieldOptions_EditionDefault, EnumValueDescriptorProto, FileDescriptorProto } from "../wkt/gen/google/protobuf/descriptor_pb.js"; -import type { DescFile } from "../descriptors.js"; -/** - * Hydrate a file descriptor for google/protobuf/descriptor.proto from a plain - * object. - * - * See createFileDescriptorProtoBoot() for details. - * - * @private - */ -export declare function boot(boot: FileDescriptorProtoBoot): DescFile; -/** - * An object literal for initializing the message google.protobuf.FileDescriptorProto - * for google/protobuf/descriptor.proto. - * - * See createFileDescriptorProtoBoot() for details. - * - * @private - */ -export type FileDescriptorProtoBoot = { - name: "google/protobuf/descriptor.proto"; - package: "google.protobuf"; - messageType: DescriptorProtoBoot[]; - enumType: EnumDescriptorProtoBoot[]; -}; -export type DescriptorProtoBoot = { - name: string; - field?: FieldDescriptorProtoBoot[]; - nestedType?: DescriptorProtoBoot[]; - enumType?: EnumDescriptorProtoBoot[]; - extensionRange?: Pick[]; -}; -export type FieldDescriptorProtoBoot = { - name: string; - number: number; - label?: FieldDescriptorProto_Label; - type: FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - options?: FieldOptionsBoot; -}; -export type FieldOptionsBoot = { - packed?: boolean; - deprecated?: boolean; - retention?: FieldOptions_OptionRetention; - targets?: FieldOptions_OptionTargetType[]; - editionDefaults?: FieldOptions_EditionDefaultBoot[]; -}; -export type FieldOptions_EditionDefaultBoot = Pick; -export type EnumDescriptorProtoBoot = { - name: string; - value: EnumValueDescriptorProtoBoot[]; -}; -export type EnumValueDescriptorProtoBoot = Pick; -/** - * Creates the message google.protobuf.FileDescriptorProto from an object literal. - * - * See createFileDescriptorProtoBoot() for details. - * - * @private - */ -export declare function bootFileDescriptorProto(init: FileDescriptorProtoBoot): FileDescriptorProto; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.js deleted file mode 100644 index 9fd13bf..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.js +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { restoreJsonNames } from "./restore-json-names.js"; -import { createFileRegistry } from "../registry.js"; -/** - * Hydrate a file descriptor for google/protobuf/descriptor.proto from a plain - * object. - * - * See createFileDescriptorProtoBoot() for details. - * - * @private - */ -export function boot(boot) { - const root = bootFileDescriptorProto(boot); - root.messageType.forEach(restoreJsonNames); - const reg = createFileRegistry(root, () => undefined); - // non-null assertion because we just created the registry from the file we look up - return reg.getFile(root.name); -} -/** - * Creates the message google.protobuf.FileDescriptorProto from an object literal. - * - * See createFileDescriptorProtoBoot() for details. - * - * @private - */ -export function bootFileDescriptorProto(init) { - const proto = Object.create({ - syntax: "", - edition: 0, - }); - return Object.assign(proto, Object.assign(Object.assign({ $typeName: "google.protobuf.FileDescriptorProto", dependency: [], publicDependency: [], weakDependency: [], service: [], extension: [] }, init), { messageType: init.messageType.map(bootDescriptorProto), enumType: init.enumType.map(bootEnumDescriptorProto) })); -} -function bootDescriptorProto(init) { - var _a, _b, _c, _d, _e, _f, _g, _h; - return { - $typeName: "google.protobuf.DescriptorProto", - name: init.name, - field: (_b = (_a = init.field) === null || _a === void 0 ? void 0 : _a.map(bootFieldDescriptorProto)) !== null && _b !== void 0 ? _b : [], - extension: [], - nestedType: (_d = (_c = init.nestedType) === null || _c === void 0 ? void 0 : _c.map(bootDescriptorProto)) !== null && _d !== void 0 ? _d : [], - enumType: (_f = (_e = init.enumType) === null || _e === void 0 ? void 0 : _e.map(bootEnumDescriptorProto)) !== null && _f !== void 0 ? _f : [], - extensionRange: (_h = (_g = init.extensionRange) === null || _g === void 0 ? void 0 : _g.map((e) => (Object.assign({ $typeName: "google.protobuf.DescriptorProto.ExtensionRange" }, e)))) !== null && _h !== void 0 ? _h : [], - oneofDecl: [], - reservedRange: [], - reservedName: [], - }; -} -function bootFieldDescriptorProto(init) { - const proto = Object.create({ - label: 1, - typeName: "", - extendee: "", - defaultValue: "", - oneofIndex: 0, - jsonName: "", - proto3Optional: false, - }); - return Object.assign(proto, Object.assign(Object.assign({ $typeName: "google.protobuf.FieldDescriptorProto" }, init), { options: init.options ? bootFieldOptions(init.options) : undefined })); -} -function bootFieldOptions(init) { - var _a, _b, _c; - const proto = Object.create({ - ctype: 0, - packed: false, - jstype: 0, - lazy: false, - unverifiedLazy: false, - deprecated: false, - weak: false, - debugRedact: false, - retention: 0, - }); - return Object.assign(proto, Object.assign(Object.assign({ $typeName: "google.protobuf.FieldOptions" }, init), { targets: (_a = init.targets) !== null && _a !== void 0 ? _a : [], editionDefaults: (_c = (_b = init.editionDefaults) === null || _b === void 0 ? void 0 : _b.map((e) => (Object.assign({ $typeName: "google.protobuf.FieldOptions.EditionDefault" }, e)))) !== null && _c !== void 0 ? _c : [], uninterpretedOption: [] })); -} -function bootEnumDescriptorProto(init) { - return { - $typeName: "google.protobuf.EnumDescriptorProto", - name: init.name, - reservedName: [], - reservedRange: [], - value: init.value.map((e) => (Object.assign({ $typeName: "google.protobuf.EnumValueDescriptorProto" }, e))), - }; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/embed.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/embed.d.ts deleted file mode 100644 index 65671c5..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/embed.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import type { DescEnum, DescExtension, DescMessage, DescService } from "../descriptors.js"; -import type { FileDescriptorProto } from "../wkt/gen/google/protobuf/descriptor_pb.js"; -import type { FileDescriptorProtoBoot } from "./boot.js"; -type EmbedUnknown = { - bootable: false; - proto(): FileDescriptorProto; - base64(): string; -}; -type EmbedDescriptorProto = Omit & { - bootable: true; - boot(): FileDescriptorProtoBoot; -}; -/** - * Create necessary information to embed a file descriptor in - * generated code. - * - * @private - */ -export declare function embedFileDesc(file: FileDescriptorProto): EmbedUnknown | EmbedDescriptorProto; -/** - * Compute the path to a message, enumeration, extension, or service in a - * file descriptor. - * - * @private - */ -export declare function pathInFileDesc(desc: DescMessage | DescEnum | DescExtension | DescService): number[]; -/** - * The file descriptor for google/protobuf/descriptor.proto cannot be embedded - * in serialized form, since it is required to parse itself. - * - * This function takes an instance of the message, and returns a plain object - * that can be hydrated to the message again via bootFileDescriptorProto(). - * - * This function only works with a message google.protobuf.FileDescriptorProto - * for google/protobuf/descriptor.proto, and only supports features that are - * relevant for the specific use case. For example, it discards file options, - * reserved ranges and reserved names, and field options that are unused in - * descriptor.proto. - * - * @private - */ -export declare function createFileDescriptorProtoBoot(proto: FileDescriptorProto): FileDescriptorProtoBoot; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/embed.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/embed.js deleted file mode 100644 index 73436ff..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/embed.js +++ /dev/null @@ -1,237 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { protoCamelCase } from "../reflect/names.js"; -import { isFieldSet, clearField } from "../fields.js"; -import { base64Encode } from "../wire/base64-encoding.js"; -import { toBinary } from "../to-binary.js"; -import { clone } from "../clone.js"; -import { Edition, FieldDescriptorProtoSchema, FieldOptionsSchema, FileDescriptorProtoSchema, } from "../wkt/gen/google/protobuf/descriptor_pb.js"; -/** - * Create necessary information to embed a file descriptor in - * generated code. - * - * @private - */ -export function embedFileDesc(file) { - const embed = { - bootable: false, - proto() { - const stripped = clone(FileDescriptorProtoSchema, file); - clearField(stripped, FileDescriptorProtoSchema.field.dependency); - clearField(stripped, FileDescriptorProtoSchema.field.sourceCodeInfo); - stripped.messageType.map(stripJsonNames); - return stripped; - }, - base64() { - const bytes = toBinary(FileDescriptorProtoSchema, this.proto()); - return base64Encode(bytes, "std_raw"); - }, - }; - return file.name == "google/protobuf/descriptor.proto" - ? Object.assign(Object.assign({}, embed), { bootable: true, boot() { - return createFileDescriptorProtoBoot(this.proto()); - } }) : embed; -} -function stripJsonNames(d) { - for (const f of d.field) { - if (f.jsonName === protoCamelCase(f.name)) { - clearField(f, FieldDescriptorProtoSchema.field.jsonName); - } - } - for (const n of d.nestedType) { - stripJsonNames(n); - } -} -/** - * Compute the path to a message, enumeration, extension, or service in a - * file descriptor. - * - * @private - */ -export function pathInFileDesc(desc) { - if (desc.kind == "service") { - return [desc.file.services.indexOf(desc)]; - } - const parent = desc.parent; - if (parent == undefined) { - switch (desc.kind) { - case "enum": - return [desc.file.enums.indexOf(desc)]; - case "message": - return [desc.file.messages.indexOf(desc)]; - case "extension": - return [desc.file.extensions.indexOf(desc)]; - } - } - function findPath(cur) { - const nested = []; - for (let parent = cur.parent; parent;) { - const idx = parent.nestedMessages.indexOf(cur); - nested.unshift(idx); - cur = parent; - parent = cur.parent; - } - nested.unshift(cur.file.messages.indexOf(cur)); - return nested; - } - const path = findPath(parent); - switch (desc.kind) { - case "extension": - return [...path, parent.nestedExtensions.indexOf(desc)]; - case "message": - return [...path, parent.nestedMessages.indexOf(desc)]; - case "enum": - return [...path, parent.nestedEnums.indexOf(desc)]; - } -} -/** - * The file descriptor for google/protobuf/descriptor.proto cannot be embedded - * in serialized form, since it is required to parse itself. - * - * This function takes an instance of the message, and returns a plain object - * that can be hydrated to the message again via bootFileDescriptorProto(). - * - * This function only works with a message google.protobuf.FileDescriptorProto - * for google/protobuf/descriptor.proto, and only supports features that are - * relevant for the specific use case. For example, it discards file options, - * reserved ranges and reserved names, and field options that are unused in - * descriptor.proto. - * - * @private - */ -export function createFileDescriptorProtoBoot(proto) { - var _a; - assert(proto.name == "google/protobuf/descriptor.proto"); - assert(proto.package == "google.protobuf"); - assert(!proto.dependency.length); - assert(!proto.publicDependency.length); - assert(!proto.weakDependency.length); - assert(!proto.service.length); - assert(!proto.extension.length); - assert(proto.sourceCodeInfo === undefined); - assert(proto.syntax == "" || proto.syntax == "proto2"); - assert(!((_a = proto.options) === null || _a === void 0 ? void 0 : _a.features)); // we're dropping file options - assert(proto.edition === Edition.EDITION_UNKNOWN); - return { - name: proto.name, - package: proto.package, - messageType: proto.messageType.map(createDescriptorBoot), - enumType: proto.enumType.map(createEnumDescriptorBoot), - }; -} -function createDescriptorBoot(proto) { - assert(proto.extension.length == 0); - assert(!proto.oneofDecl.length); - assert(!proto.options); - const b = { - name: proto.name, - }; - if (proto.field.length) { - b.field = proto.field.map(createFieldDescriptorBoot); - } - if (proto.nestedType.length) { - b.nestedType = proto.nestedType.map(createDescriptorBoot); - } - if (proto.enumType.length) { - b.enumType = proto.enumType.map(createEnumDescriptorBoot); - } - if (proto.extensionRange.length) { - b.extensionRange = proto.extensionRange.map((r) => { - assert(!r.options); - return { start: r.start, end: r.end }; - }); - } - return b; -} -function createFieldDescriptorBoot(proto) { - assert(isFieldSet(proto, FieldDescriptorProtoSchema.field.name)); - assert(isFieldSet(proto, FieldDescriptorProtoSchema.field.number)); - assert(isFieldSet(proto, FieldDescriptorProtoSchema.field.type)); - assert(!isFieldSet(proto, FieldDescriptorProtoSchema.field.oneofIndex)); - assert(!isFieldSet(proto, FieldDescriptorProtoSchema.field.jsonName) || - proto.jsonName === protoCamelCase(proto.name)); - const b = { - name: proto.name, - number: proto.number, - type: proto.type, - }; - if (isFieldSet(proto, FieldDescriptorProtoSchema.field.label)) { - b.label = proto.label; - } - if (isFieldSet(proto, FieldDescriptorProtoSchema.field.typeName)) { - b.typeName = proto.typeName; - } - if (isFieldSet(proto, FieldDescriptorProtoSchema.field.extendee)) { - b.extendee = proto.extendee; - } - if (isFieldSet(proto, FieldDescriptorProtoSchema.field.defaultValue)) { - b.defaultValue = proto.defaultValue; - } - if (proto.options) { - b.options = createFieldOptionsBoot(proto.options); - } - return b; -} -function createFieldOptionsBoot(proto) { - const b = {}; - assert(!isFieldSet(proto, FieldOptionsSchema.field.ctype)); - if (isFieldSet(proto, FieldOptionsSchema.field.packed)) { - b.packed = proto.packed; - } - assert(!isFieldSet(proto, FieldOptionsSchema.field.jstype)); - assert(!isFieldSet(proto, FieldOptionsSchema.field.lazy)); - assert(!isFieldSet(proto, FieldOptionsSchema.field.unverifiedLazy)); - if (isFieldSet(proto, FieldOptionsSchema.field.deprecated)) { - b.deprecated = proto.deprecated; - } - assert(!isFieldSet(proto, FieldOptionsSchema.field.weak)); - assert(!isFieldSet(proto, FieldOptionsSchema.field.debugRedact)); - if (isFieldSet(proto, FieldOptionsSchema.field.retention)) { - b.retention = proto.retention; - } - if (proto.targets.length) { - b.targets = proto.targets; - } - if (proto.editionDefaults.length) { - b.editionDefaults = proto.editionDefaults.map((d) => ({ - value: d.value, - edition: d.edition, - })); - } - assert(!isFieldSet(proto, FieldOptionsSchema.field.features)); - assert(!isFieldSet(proto, FieldOptionsSchema.field.uninterpretedOption)); - return b; -} -function createEnumDescriptorBoot(proto) { - assert(!proto.options); - return { - name: proto.name, - value: proto.value.map((v) => { - assert(!v.options); - return { - name: v.name, - number: v.number, - }; - }), - }; -} -/** - * Assert that condition is truthy or throw error. - */ -function assert(condition) { - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions -- we want the implicit conversion to boolean - if (!condition) { - throw new Error(); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.d.ts deleted file mode 100644 index e77b8fe..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import type { DescEnum, DescFile } from "../descriptors.js"; -import type { GenEnum } from "./types.js"; -import type { JsonValue } from "../json-value.js"; -/** - * Hydrate an enum descriptor. - * - * @private - */ -export declare function enumDesc(file: DescFile, path: number, ...paths: number[]): GenEnum; -/** - * Construct a TypeScript enum object at runtime from a descriptor. - */ -export declare function tsEnum(desc: DescEnum): enumObject; -type enumObject = { - [key: number]: string; - [k: string]: number | string; -}; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.js deleted file mode 100644 index bd74a60..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -/** - * Hydrate an enum descriptor. - * - * @private - */ -export function enumDesc(file, path, ...paths) { - if (paths.length == 0) { - return file.enums[path]; - } - const e = paths.pop(); // we checked length above - return paths.reduce((acc, cur) => acc.nestedMessages[cur], file.messages[path]).nestedEnums[e]; -} -/** - * Construct a TypeScript enum object at runtime from a descriptor. - */ -export function tsEnum(desc) { - const enumObject = {}; - for (const value of desc.values) { - enumObject[value.localName] = value.number; - enumObject[value.number] = value.localName; - } - return enumObject; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.d.ts deleted file mode 100644 index 7d6374b..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { Message } from "../types.js"; -import type { DescFile } from "../descriptors.js"; -import type { GenExtension } from "./types.js"; -/** - * Hydrate an extension descriptor. - * - * @private - */ -export declare function extDesc(file: DescFile, path: number, ...paths: number[]): GenExtension; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.js deleted file mode 100644 index 417b7d5..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.js +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -/** - * Hydrate an extension descriptor. - * - * @private - */ -export function extDesc(file, path, ...paths) { - if (paths.length == 0) { - return file.extensions[path]; - } - const e = paths.pop(); // we checked length above - return paths.reduce((acc, cur) => acc.nestedMessages[cur], file.messages[path]).nestedExtensions[e]; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.d.ts deleted file mode 100644 index 4d9853f..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { DescFile } from "../descriptors.js"; -/** - * Hydrate a file descriptor. - * - * @private - */ -export declare function fileDesc(b64: string, imports?: DescFile[]): DescFile; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.js deleted file mode 100644 index 4303893..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { base64Decode } from "../wire/base64-encoding.js"; -import { FileDescriptorProtoSchema } from "../wkt/gen/google/protobuf/descriptor_pb.js"; -import { createFileRegistry } from "../registry.js"; -import { restoreJsonNames } from "./restore-json-names.js"; -import { fromBinary } from "../from-binary.js"; -/** - * Hydrate a file descriptor. - * - * @private - */ -export function fileDesc(b64, imports) { - var _a; - const root = fromBinary(FileDescriptorProtoSchema, base64Decode(b64)); - root.messageType.forEach(restoreJsonNames); - root.dependency = (_a = imports === null || imports === void 0 ? void 0 : imports.map((f) => f.proto.name)) !== null && _a !== void 0 ? _a : []; - const reg = createFileRegistry(root, (protoFileName) => imports === null || imports === void 0 ? void 0 : imports.find((f) => f.proto.name === protoFileName)); - // non-null assertion because we just created the registry from the file we look up - return reg.getFile(root.name); -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.d.ts deleted file mode 100644 index b74cd36..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export * from "./boot.js"; -export * from "./embed.js"; -export * from "./enum.js"; -export * from "./extension.js"; -export * from "./file.js"; -export * from "./message.js"; -export * from "./service.js"; -export * from "./symbols.js"; -export * from "./scalar.js"; -export * from "./types.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.js deleted file mode 100644 index 1c10643..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.js +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -export * from "./boot.js"; -export * from "./embed.js"; -export * from "./enum.js"; -export * from "./extension.js"; -export * from "./file.js"; -export * from "./message.js"; -export * from "./service.js"; -export * from "./symbols.js"; -export * from "./scalar.js"; -export * from "./types.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.d.ts deleted file mode 100644 index 46ad4ad..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { Message } from "../types.js"; -import type { DescFile } from "../descriptors.js"; -import type { GenMessage } from "./types.js"; -import type { JsonValue } from "../json-value.js"; -/** - * Hydrate a message descriptor. - * - * @private - */ -export declare function messageDesc(file: DescFile, path: number, ...paths: number[]): GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.js deleted file mode 100644 index cf634d4..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -/** - * Hydrate a message descriptor. - * - * @private - */ -export function messageDesc(file, path, ...paths) { - return paths.reduce((acc, cur) => acc.nestedMessages[cur], file.messages[path]); -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/restore-json-names.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/restore-json-names.d.ts deleted file mode 100644 index d83d94d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/restore-json-names.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { DescriptorProto } from "../wkt/gen/google/protobuf/descriptor_pb.js"; -/** - * @private - */ -export declare function restoreJsonNames(message: DescriptorProto): void; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/restore-json-names.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/restore-json-names.js deleted file mode 100644 index e30c280..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/restore-json-names.js +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { protoCamelCase } from "../reflect/names.js"; -import { unsafeIsSetExplicit } from "../reflect/unsafe.js"; -/** - * @private - */ -export function restoreJsonNames(message) { - for (const f of message.field) { - if (!unsafeIsSetExplicit(f, "jsonName")) { - f.jsonName = protoCamelCase(f.name); - } - } - message.nestedType.forEach(restoreJsonNames); -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/scalar.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/scalar.d.ts deleted file mode 100644 index 5c48fce..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/scalar.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ScalarType } from "../descriptors.js"; -/** - * Return the TypeScript type (as a string) for the given scalar type. - */ -export declare function scalarTypeScriptType(scalar: ScalarType, longAsString: boolean): "string" | "boolean" | "bigint" | "bigint | string" | "Uint8Array" | "number"; -/** - * Return the JSON type (as a string) for the given scalar type. - */ -export declare function scalarJsonType(scalar: ScalarType): "string" | "boolean" | "number" | `number | "NaN" | "Infinity" | "-Infinity"`; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/scalar.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/scalar.js deleted file mode 100644 index 0b610bc..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/scalar.js +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { ScalarType } from "../descriptors.js"; -/** - * Return the TypeScript type (as a string) for the given scalar type. - */ -export function scalarTypeScriptType(scalar, longAsString) { - switch (scalar) { - case ScalarType.STRING: - return "string"; - case ScalarType.BOOL: - return "boolean"; - case ScalarType.UINT64: - case ScalarType.SFIXED64: - case ScalarType.FIXED64: - case ScalarType.SINT64: - case ScalarType.INT64: - return longAsString ? "string" : "bigint"; - case ScalarType.BYTES: - return "Uint8Array"; - default: - return "number"; - } -} -/** - * Return the JSON type (as a string) for the given scalar type. - */ -export function scalarJsonType(scalar) { - switch (scalar) { - case ScalarType.DOUBLE: - case ScalarType.FLOAT: - return `number | "NaN" | "Infinity" | "-Infinity"`; - case ScalarType.UINT64: - case ScalarType.SFIXED64: - case ScalarType.FIXED64: - case ScalarType.SINT64: - case ScalarType.INT64: - return "string"; - case ScalarType.INT32: - case ScalarType.FIXED32: - case ScalarType.UINT32: - case ScalarType.SFIXED32: - case ScalarType.SINT32: - return "number"; - case ScalarType.STRING: - return "string"; - case ScalarType.BOOL: - return "boolean"; - case ScalarType.BYTES: - return "string"; - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.d.ts deleted file mode 100644 index 5818f75..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { GenService, GenServiceMethods } from "./types.js"; -import type { DescFile } from "../descriptors.js"; -/** - * Hydrate a service descriptor. - * - * @private - */ -export declare function serviceDesc(file: DescFile, path: number, ...paths: number[]): GenService; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.js deleted file mode 100644 index ba78098..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -/** - * Hydrate a service descriptor. - * - * @private - */ -export function serviceDesc(file, path, ...paths) { - if (paths.length > 0) { - throw new Error(); - } - return file.services[path]; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.d.ts deleted file mode 100644 index dab4116..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.d.ts +++ /dev/null @@ -1,135 +0,0 @@ -/** - * @private - */ -export declare const packageName = "@bufbuild/protobuf"; -/** - * @private - */ -export declare const wktPublicImportPaths: Readonly>; -/** - * @private - */ -export declare const symbols: { - readonly isMessage: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../is-message.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly Message: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../types.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly create: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../create.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly fromJson: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../from-json.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly fromJsonString: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../from-json.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly fromBinary: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../from-binary.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly toBinary: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../to-binary.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly toJson: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../to-json.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly toJsonString: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../to-json.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly protoInt64: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../proto-int64.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly JsonValue: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../json-value.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly JsonObject: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../json-value.js"; - readonly from: "@bufbuild/protobuf"; - }; - readonly codegen: { - readonly boot: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/boot.js"; - readonly from: string; - }; - readonly fileDesc: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/file.js"; - readonly from: string; - }; - readonly enumDesc: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/enum.js"; - readonly from: string; - }; - readonly extDesc: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/extension.js"; - readonly from: string; - }; - readonly messageDesc: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/message.js"; - readonly from: string; - }; - readonly serviceDesc: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/service.js"; - readonly from: string; - }; - readonly tsEnum: { - readonly typeOnly: false; - readonly bootstrapWktFrom: "../../codegenv1/enum.js"; - readonly from: string; - }; - readonly GenFile: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../codegenv1/types.js"; - readonly from: string; - }; - readonly GenEnum: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../codegenv1/types.js"; - readonly from: string; - }; - readonly GenExtension: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../codegenv1/types.js"; - readonly from: string; - }; - readonly GenMessage: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../codegenv1/types.js"; - readonly from: string; - }; - readonly GenService: { - readonly typeOnly: true; - readonly bootstrapWktFrom: "../../codegenv1/types.js"; - readonly from: string; - }; - }; -}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.js deleted file mode 100644 index d147760..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -/** - * @private - */ -export const packageName = "@bufbuild/protobuf"; -/** - * @private - */ -export const wktPublicImportPaths = { - "google/protobuf/compiler/plugin.proto": packageName + "/wkt", - "google/protobuf/any.proto": packageName + "/wkt", - "google/protobuf/api.proto": packageName + "/wkt", - "google/protobuf/descriptor.proto": packageName + "/wkt", - "google/protobuf/duration.proto": packageName + "/wkt", - "google/protobuf/empty.proto": packageName + "/wkt", - "google/protobuf/field_mask.proto": packageName + "/wkt", - "google/protobuf/source_context.proto": packageName + "/wkt", - "google/protobuf/struct.proto": packageName + "/wkt", - "google/protobuf/timestamp.proto": packageName + "/wkt", - "google/protobuf/type.proto": packageName + "/wkt", - "google/protobuf/wrappers.proto": packageName + "/wkt", -}; -/** - * @private - */ -// prettier-ignore -export const symbols = { - isMessage: { typeOnly: false, bootstrapWktFrom: "../../is-message.js", from: packageName }, - Message: { typeOnly: true, bootstrapWktFrom: "../../types.js", from: packageName }, - create: { typeOnly: false, bootstrapWktFrom: "../../create.js", from: packageName }, - fromJson: { typeOnly: false, bootstrapWktFrom: "../../from-json.js", from: packageName }, - fromJsonString: { typeOnly: false, bootstrapWktFrom: "../../from-json.js", from: packageName }, - fromBinary: { typeOnly: false, bootstrapWktFrom: "../../from-binary.js", from: packageName }, - toBinary: { typeOnly: false, bootstrapWktFrom: "../../to-binary.js", from: packageName }, - toJson: { typeOnly: false, bootstrapWktFrom: "../../to-json.js", from: packageName }, - toJsonString: { typeOnly: false, bootstrapWktFrom: "../../to-json.js", from: packageName }, - protoInt64: { typeOnly: false, bootstrapWktFrom: "../../proto-int64.js", from: packageName }, - JsonValue: { typeOnly: true, bootstrapWktFrom: "../../json-value.js", from: packageName }, - JsonObject: { typeOnly: true, bootstrapWktFrom: "../../json-value.js", from: packageName }, - codegen: { - boot: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/boot.js", from: packageName + "/codegenv1" }, - fileDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/file.js", from: packageName + "/codegenv1" }, - enumDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/enum.js", from: packageName + "/codegenv1" }, - extDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/extension.js", from: packageName + "/codegenv1" }, - messageDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/message.js", from: packageName + "/codegenv1" }, - serviceDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/service.js", from: packageName + "/codegenv1" }, - tsEnum: { typeOnly: false, bootstrapWktFrom: "../../codegenv1/enum.js", from: packageName + "/codegenv1" }, - GenFile: { typeOnly: true, bootstrapWktFrom: "../../codegenv1/types.js", from: packageName + "/codegenv1" }, - GenEnum: { typeOnly: true, bootstrapWktFrom: "../../codegenv1/types.js", from: packageName + "/codegenv1" }, - GenExtension: { typeOnly: true, bootstrapWktFrom: "../../codegenv1/types.js", from: packageName + "/codegenv1" }, - GenMessage: { typeOnly: true, bootstrapWktFrom: "../../codegenv1/types.js", from: packageName + "/codegenv1" }, - GenService: { typeOnly: true, bootstrapWktFrom: "../../codegenv1/types.js", from: packageName + "/codegenv1" }, - }, -}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.d.ts deleted file mode 100644 index 0d67310..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import type { Message } from "../types.js"; -import type { DescEnum, DescEnumValue, DescExtension, DescField, DescFile, DescMessage, DescMethod, DescService } from "../descriptors.js"; -import type { JsonValue } from "../json-value.js"; -/** - * Describes a protobuf source file. - * - * @private - */ -export type GenFile = DescFile; -/** - * Describes a message declaration in a protobuf source file. - * - * This type is identical to DescMessage, but carries additional type - * information. - * - * @private - */ -export type GenMessage = Omit & { - field: Record, DescField>; -} & brandv1; -/** - * Describes an enumeration in a protobuf source file. - * - * This type is identical to DescEnum, but carries additional type - * information. - * - * @private - */ -export type GenEnum = Omit & { - value: Record; -} & brandv1; -/** - * Describes an extension in a protobuf source file. - * - * This type is identical to DescExtension, but carries additional type - * information. - * - * @private - */ -export type GenExtension = DescExtension & brandv1; -/** - * Describes a service declaration in a protobuf source file. - * - * This type is identical to DescService, but carries additional type - * information. - * - * @private - */ -export type GenService = Omit & { - method: { - [K in keyof RuntimeShape]: RuntimeShape[K] & DescMethod; - }; -}; -/** - * @private - */ -export type GenServiceMethods = Record>; -declare class brandv1 { - protected v: "codegenv1"; - protected a: A | boolean; - protected b: B | boolean; -} -/** - * Union of the property names of all fields, including oneof members. - * For an anonymous message (no generated message shape), it's simply a string. - */ -type MessageFieldNames = Message extends T ? string : Exclude ? K : P]-?: true; -}, number | symbol>; -type Oneof = { - case: K | undefined; - value?: unknown; -}; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.js b/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.js deleted file mode 100644 index 5bcd1dc..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -class brandv1 { - constructor() { - this.v = "codegenv1"; - this.a = false; - this.b = false; - } -} -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/create.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/create.d.ts deleted file mode 100644 index 0f86a36..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/create.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { type DescMessage } from "./descriptors.js"; -import type { MessageInitShape, MessageShape } from "./types.js"; -/** - * Create a new message instance. - * - * The second argument is an optional initializer object, where all fields are - * optional. - */ -export declare function create(schema: Desc, init?: MessageInitShape): MessageShape; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/create.js b/node_modules/@bufbuild/protobuf/dist/esm/create.js deleted file mode 100644 index e695a19..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/create.js +++ /dev/null @@ -1,258 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { isMessage } from "./is-message.js"; -import { ScalarType, } from "./descriptors.js"; -import { scalarZeroValue } from "./reflect/scalar.js"; -import { FieldError } from "./reflect/error.js"; -import { isObject } from "./reflect/guard.js"; -import { unsafeGet, unsafeOneofCase, unsafeSet } from "./reflect/unsafe.js"; -import { isWrapperDesc } from "./wkt/wrappers.js"; -// bootstrap-inject google.protobuf.Edition.EDITION_PROTO3: const $name: Edition.$localName = $number; -const EDITION_PROTO3 = 999; -// bootstrap-inject google.protobuf.Edition.EDITION_PROTO2: const $name: Edition.$localName = $number; -const EDITION_PROTO2 = 998; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.IMPLICIT: const $name: FeatureSet_FieldPresence.$localName = $number; -const IMPLICIT = 2; -/** - * Create a new message instance. - * - * The second argument is an optional initializer object, where all fields are - * optional. - */ -export function create(schema, init) { - if (isMessage(init, schema)) { - return init; - } - const message = createZeroMessage(schema); - if (init !== undefined) { - initMessage(schema, message, init); - } - return message; -} -/** - * Sets field values from a MessageInitShape on a zero message. - */ -function initMessage(messageDesc, message, init) { - for (const member of messageDesc.members) { - let value = init[member.localName]; - if (value == null) { - // intentionally ignore undefined and null - continue; - } - let field; - if (member.kind == "oneof") { - const oneofField = unsafeOneofCase(init, member); - if (!oneofField) { - continue; - } - field = oneofField; - value = unsafeGet(init, oneofField); - } - else { - field = member; - } - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check -- no need to convert enum - switch (field.fieldKind) { - case "message": - value = toMessage(field, value); - break; - case "scalar": - value = initScalar(field, value); - break; - case "list": - value = initList(field, value); - break; - case "map": - value = initMap(field, value); - break; - } - unsafeSet(message, field, value); - } - return message; -} -function initScalar(field, value) { - if (field.scalar == ScalarType.BYTES) { - return toU8Arr(value); - } - return value; -} -function initMap(field, value) { - if (isObject(value)) { - if (field.scalar == ScalarType.BYTES) { - return convertObjectValues(value, toU8Arr); - } - if (field.mapKind == "message") { - return convertObjectValues(value, (val) => toMessage(field, val)); - } - } - return value; -} -function initList(field, value) { - if (Array.isArray(value)) { - if (field.scalar == ScalarType.BYTES) { - return value.map(toU8Arr); - } - if (field.listKind == "message") { - return value.map((item) => toMessage(field, item)); - } - } - return value; -} -function toMessage(field, value) { - if (field.fieldKind == "message" && - !field.oneof && - isWrapperDesc(field.message)) { - // Types from google/protobuf/wrappers.proto are unwrapped when used in - // a singular field that is not part of a oneof group. - return initScalar(field.message.fields[0], value); - } - if (isObject(value)) { - if (field.message.typeName == "google.protobuf.Struct" && - field.parent.typeName !== "google.protobuf.Value") { - // google.protobuf.Struct is represented with JsonObject when used in a - // field, except when used in google.protobuf.Value. - return value; - } - if (!isMessage(value, field.message)) { - return create(field.message, value); - } - } - return value; -} -// converts any ArrayLike to Uint8Array if necessary. -function toU8Arr(value) { - return Array.isArray(value) ? new Uint8Array(value) : value; -} -function convertObjectValues(obj, fn) { - const ret = {}; - for (const entry of Object.entries(obj)) { - ret[entry[0]] = fn(entry[1]); - } - return ret; -} -const tokenZeroMessageField = Symbol(); -const messagePrototypes = new WeakMap(); -/** - * Create a zero message. - */ -function createZeroMessage(desc) { - let msg; - if (!needsPrototypeChain(desc)) { - msg = { - $typeName: desc.typeName, - }; - for (const member of desc.members) { - if (member.kind == "oneof" || member.presence == IMPLICIT) { - msg[member.localName] = createZeroField(member); - } - } - } - else { - // Support default values and track presence via the prototype chain - const cached = messagePrototypes.get(desc); - let prototype; - let members; - if (cached) { - ({ prototype, members } = cached); - } - else { - prototype = {}; - members = new Set(); - for (const member of desc.members) { - if (member.kind == "oneof") { - // we can only put immutable values on the prototype, - // oneof ADTs are mutable - continue; - } - if (member.fieldKind != "scalar" && member.fieldKind != "enum") { - // only scalar and enum values are immutable, map, list, and message - // are not - continue; - } - if (member.presence == IMPLICIT) { - // implicit presence tracks field presence by zero values - e.g. 0, false, "", are unset, 1, true, "x" are set. - // message, map, list fields are mutable, and also have IMPLICIT presence. - continue; - } - members.add(member); - prototype[member.localName] = createZeroField(member); - } - messagePrototypes.set(desc, { prototype, members }); - } - msg = Object.create(prototype); - msg.$typeName = desc.typeName; - for (const member of desc.members) { - if (members.has(member)) { - continue; - } - if (member.kind == "field") { - if (member.fieldKind == "message") { - continue; - } - if (member.fieldKind == "scalar" || member.fieldKind == "enum") { - if (member.presence != IMPLICIT) { - continue; - } - } - } - msg[member.localName] = createZeroField(member); - } - } - return msg; -} -/** - * Do we need the prototype chain to track field presence? - */ -function needsPrototypeChain(desc) { - switch (desc.file.edition) { - case EDITION_PROTO3: - // proto3 always uses implicit presence, we never need the prototype chain. - return false; - case EDITION_PROTO2: - // proto2 never uses implicit presence, we always need the prototype chain. - return true; - default: - // If a message uses scalar or enum fields with explicit presence, we need - // the prototype chain to track presence. This rule does not apply to fields - // in a oneof group - they use a different mechanism to track presence. - return desc.fields.some((f) => f.presence != IMPLICIT && f.fieldKind != "message" && !f.oneof); - } -} -/** - * Returns a zero value for oneof groups, and for every field kind except - * messages. Scalar and enum fields can have default values. - */ -function createZeroField(field) { - if (field.kind == "oneof") { - return { case: undefined }; - } - if (field.fieldKind == "list") { - return []; - } - if (field.fieldKind == "map") { - return {}; // Object.create(null) would be desirable here, but is unsupported by react https://react.dev/reference/react/use-server#serializable-parameters-and-return-values - } - if (field.fieldKind == "message") { - return tokenZeroMessageField; - } - const defaultValue = field.getDefaultValue(); - if (defaultValue !== undefined) { - return field.fieldKind == "scalar" && field.longAsString - ? defaultValue.toString() - : defaultValue; - } - return field.fieldKind == "scalar" - ? scalarZeroValue(field.scalar, field.longAsString) - : field.enum.values[0].number; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/descriptors.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/descriptors.d.ts deleted file mode 100644 index 98e0c41..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/descriptors.d.ts +++ /dev/null @@ -1,627 +0,0 @@ -import type { DescriptorProto, Edition, EnumDescriptorProto, EnumValueDescriptorProto, FeatureSet_FieldPresence, FieldDescriptorProto, FileDescriptorProto, MethodDescriptorProto, MethodOptions_IdempotencyLevel, OneofDescriptorProto, ServiceDescriptorProto } from "./wkt/gen/google/protobuf/descriptor_pb.js"; -import type { ScalarValue } from "./reflect/scalar.js"; -export type SupportedEdition = Extract; -type SupportedFieldPresence = Extract; -/** - * Scalar value types. This is a subset of field types declared by protobuf - * enum google.protobuf.FieldDescriptorProto.Type The types GROUP and MESSAGE - * are omitted, but the numerical values are identical. - */ -export declare enum ScalarType { - DOUBLE = 1, - FLOAT = 2, - INT64 = 3, - UINT64 = 4, - INT32 = 5, - FIXED64 = 6, - FIXED32 = 7, - BOOL = 8, - STRING = 9, - BYTES = 12, - UINT32 = 13, - SFIXED32 = 15, - SFIXED64 = 16, - SINT32 = 17,// Uses ZigZag encoding. - SINT64 = 18 -} -/** - * A union of all descriptors, discriminated by a `kind` property. - */ -export type AnyDesc = DescFile | DescEnum | DescEnumValue | DescMessage | DescField | DescExtension | DescOneof | DescService | DescMethod; -/** - * Describes a protobuf source file. - */ -export interface DescFile { - readonly kind: "file"; - /** - * The edition of the protobuf file. Will be EDITION_PROTO2 for syntax="proto2", - * EDITION_PROTO3 for syntax="proto3"; - */ - readonly edition: SupportedEdition; - /** - * The name of the file, excluding the .proto suffix. - * For a protobuf file `foo/bar.proto`, this is `foo/bar`. - */ - readonly name: string; - /** - * Files imported by this file. - */ - readonly dependencies: DescFile[]; - /** - * Top-level enumerations declared in this file. - * Note that more enumerations might be declared within message declarations. - */ - readonly enums: DescEnum[]; - /** - * Top-level messages declared in this file. - * Note that more messages might be declared within message declarations. - */ - readonly messages: DescMessage[]; - /** - * Top-level extensions declared in this file. - * Note that more extensions might be declared within message declarations. - */ - readonly extensions: DescExtension[]; - /** - * Services declared in this file. - */ - readonly services: DescService[]; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: FileDescriptorProto; - toString(): string; -} -/** - * Describes an enumeration in a protobuf source file. - */ -export interface DescEnum { - readonly kind: "enum"; - /** - * The fully qualified name of the enumeration. (We omit the leading dot.) - */ - readonly typeName: string; - /** - * The name of the enumeration, as declared in the protobuf source. - */ - readonly name: string; - /** - * The file this enumeration was declared in. - */ - readonly file: DescFile; - /** - * The parent message, if this enumeration was declared inside a message declaration. - */ - readonly parent: DescMessage | undefined; - /** - * Enumerations can be open or closed. - * See https://protobuf.dev/programming-guides/enum/ - */ - readonly open: boolean; - /** - * Values declared for this enumeration. - */ - readonly values: DescEnumValue[]; - /** - * All values of this enum by their number. - */ - readonly value: Record; - /** - * A prefix shared by all enum values. - * For example, `my_enum_` for `enum MyEnum {MY_ENUM_A=0; MY_ENUM_B=1;}` - */ - readonly sharedPrefix?: string; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: EnumDescriptorProto; - toString(): string; -} -/** - * Describes an individual value of an enumeration in a protobuf source file. - */ -export interface DescEnumValue { - readonly kind: "enum_value"; - /** - * The name of the enumeration value, as specified in the protobuf source. - */ - readonly name: string; - /** - * A safe and idiomatic name for the value in a TypeScript enum. - */ - readonly localName: string; - /** - * The enumeration this value belongs to. - */ - readonly parent: DescEnum; - /** - * The numeric enumeration value, as specified in the protobuf source. - */ - readonly number: number; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: EnumValueDescriptorProto; - toString(): string; -} -/** - * Describes a message declaration in a protobuf source file. - */ -export interface DescMessage { - readonly kind: "message"; - /** - * The fully qualified name of the message. (We omit the leading dot.) - */ - readonly typeName: string; - /** - * The name of the message, as specified in the protobuf source. - */ - readonly name: string; - /** - * The file this message was declared in. - */ - readonly file: DescFile; - /** - * The parent message, if this message was declared inside a message declaration. - */ - readonly parent: DescMessage | undefined; - /** - * Fields declared for this message, including fields declared in a oneof - * group. - */ - readonly fields: DescField[]; - /** - * All fields of this message by their "localName". - */ - readonly field: Record; - /** - * Oneof groups declared for this message. - * This does not include synthetic oneofs for proto3 optionals. - */ - readonly oneofs: DescOneof[]; - /** - * Fields and oneof groups for this message, ordered by their appearance in the - * protobuf source. - */ - readonly members: (DescField | DescOneof)[]; - /** - * Enumerations declared within the message, if any. - */ - readonly nestedEnums: DescEnum[]; - /** - * Messages declared within the message, if any. - * This does not include synthetic messages like map entries. - */ - readonly nestedMessages: DescMessage[]; - /** - * Extensions declared within the message, if any. - */ - readonly nestedExtensions: DescExtension[]; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: DescriptorProto; - toString(): string; -} -/** - * Describes a field declaration in a protobuf source file. - */ -export type DescField = (descFieldScalar & descFieldCommon) | (descFieldList & descFieldCommon) | (descFieldMessage & descFieldCommon) | (descFieldEnum & descFieldCommon) | (descFieldMap & descFieldCommon); -type descFieldCommon = descFieldAndExtensionShared & { - readonly kind: "field"; - /** - * The message this field is declared on. - */ - readonly parent: DescMessage; - /** - * A safe and idiomatic name for the field as a property in ECMAScript. - */ - readonly localName: string; -}; -/** - * Describes an extension in a protobuf source file. - */ -export type DescExtension = (Omit & descExtensionCommon) | (Omit & descExtensionCommon) | (Omit & descExtensionCommon) | (descFieldList & descExtensionCommon); -type descExtensionCommon = descFieldAndExtensionShared & { - readonly kind: "extension"; - /** - * The fully qualified name of the extension. - */ - readonly typeName: string; - /** - * The file this extension was declared in. - */ - readonly file: DescFile; - /** - * The parent message, if this extension was declared inside a message declaration. - */ - readonly parent: DescMessage | undefined; - /** - * The message that this extension extends. - */ - readonly extendee: DescMessage; - /** - * The `oneof` group this field belongs to, if any. - */ - readonly oneof: undefined; -}; -interface descFieldAndExtensionShared { - /** - * The field name, as specified in the protobuf source - */ - readonly name: string; - /** - * The field number, as specified in the protobuf source. - */ - readonly number: number; - /** - * The field name in JSON. - */ - readonly jsonName: string; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * Presence of the field. - * See https://protobuf.dev/programming-guides/field_presence/ - */ - readonly presence: SupportedFieldPresence; - /** - * The compiler-generated descriptor. - */ - readonly proto: FieldDescriptorProto; - /** - * Get the edition features for this protobuf element. - */ - toString(): string; -} -type descFieldSingularCommon = { - /** - * The `oneof` group this field belongs to, if any. - * - * This does not include synthetic oneofs for proto3 optionals. - */ - readonly oneof: DescOneof | undefined; -}; -type descFieldScalar = T extends T ? { - readonly fieldKind: "scalar"; - /** - * Scalar type, if it is a scalar field. - */ - readonly scalar: T; - /** - * By default, 64-bit integral types (int64, uint64, sint64, fixed64, - * sfixed64) are represented with BigInt. - * - * If the field option `jstype = JS_STRING` is set, this property - * is true, and 64-bit integral types are represented with String. - */ - readonly longAsString: boolean; - /** - * The message type, if it is a message field. - */ - readonly message: undefined; - /** - * The enum type, if it is an enum field. - */ - readonly enum: undefined; - /** - * Return the default value specified in the protobuf source. - */ - getDefaultValue(): ScalarValue | undefined; -} & descFieldSingularCommon : never; -type descFieldMessage = { - readonly fieldKind: "message"; - /** - * Scalar type, if it is a scalar field. - */ - readonly scalar: undefined; - /** - * The message type, if it is a message field. - */ - readonly message: DescMessage; - /** - * Encode the message delimited (a.k.a. proto2 group encoding), or - * length-prefixed? - */ - readonly delimitedEncoding: boolean; - /** - * The enum type, if it is an enum field. - */ - readonly enum: undefined; - /** - * Return the default value specified in the protobuf source. - */ - getDefaultValue(): undefined; -} & descFieldSingularCommon; -type descFieldEnum = { - readonly fieldKind: "enum"; - /** - * Scalar type, if it is a scalar field. - */ - readonly scalar: undefined; - /** - * The message type, if it is a message field. - */ - readonly message: undefined; - /** - * The enum type, if it is an enum field. - */ - readonly enum: DescEnum; - /** - * Return the default value specified in the protobuf source. - */ - getDefaultValue(): number | undefined; -} & descFieldSingularCommon; -type descFieldList = (descFieldListScalar & descFieldListCommon) | (descFieldListEnum & descFieldListCommon) | (descFieldListMessage & descFieldListCommon); -type descFieldListCommon = { - readonly fieldKind: "list"; - /** - * Pack this repeated field? Only valid for repeated enum fields, and - * for repeated scalar fields except BYTES and STRING. - */ - readonly packed: boolean; - /** - * The `oneof` group this field belongs to, if any. - */ - readonly oneof: undefined; -}; -type descFieldListScalar = T extends T ? { - readonly listKind: "scalar"; - /** - * The enum list element type. - */ - readonly enum: undefined; - /** - * The message list element type. - */ - readonly message: undefined; - /** - * Scalar list element type. - */ - readonly scalar: T; - /** - * By default, 64-bit integral types (int64, uint64, sint64, fixed64, - * sfixed64) are represented with BigInt. - * - * If the field option `jstype = JS_STRING` is set, this property - * is true, and 64-bit integral types are represented with String. - */ - readonly longAsString: boolean; -} : never; -type descFieldListEnum = { - readonly listKind: "enum"; - /** - * The enum list element type. - */ - readonly enum: DescEnum; - /** - * The message list element type. - */ - readonly message: undefined; - /** - * Scalar list element type. - */ - readonly scalar: undefined; -}; -type descFieldListMessage = { - readonly listKind: "message"; - /** - * The enum list element type. - */ - readonly enum: undefined; - /** - * The message list element type. - */ - readonly message: DescMessage; - /** - * Scalar list element type. - */ - readonly scalar: undefined; - /** - * Encode the message delimited (a.k.a. proto2 group encoding), or - * length-prefixed? - */ - readonly delimitedEncoding: boolean; -}; -type descFieldMap = (descFieldMapScalar & descFieldMapCommon) | (descFieldMapEnum & descFieldMapCommon) | (descFieldMapMessage & descFieldMapCommon); -type descFieldMapCommon = T extends Exclude ? { - readonly fieldKind: "map"; - /** - * The scalar map key type. - */ - readonly mapKey: T; - /** - * The `oneof` group this field belongs to, if any. - */ - readonly oneof: undefined; - /** - * Encode the map entry message delimited (a.k.a. proto2 group encoding), - * or length-prefixed? As of Edition 2023, this is always false for map fields, - * and also applies to map values, if they are messages. - */ - readonly delimitedEncoding: false; -} : never; -type descFieldMapScalar = T extends T ? { - readonly mapKind: "scalar"; - /** - * The enum map value type. - */ - readonly enum: undefined; - /** - * The message map value type. - */ - readonly message: undefined; - /** - * Scalar map value type. - */ - readonly scalar: T; -} : never; -type descFieldMapEnum = { - readonly mapKind: "enum"; - /** - * The enum map value type. - */ - readonly enum: DescEnum; - /** - * The message map value type. - */ - readonly message: undefined; - /** - * Scalar map value type. - */ - readonly scalar: undefined; -}; -type descFieldMapMessage = { - readonly mapKind: "message"; - /** - * The enum map value type. - */ - readonly enum: undefined; - /** - * The message map value type. - */ - readonly message: DescMessage; - /** - * Scalar map value type. - */ - readonly scalar: undefined; -}; -/** - * Describes a oneof group in a protobuf source file. - */ -export interface DescOneof { - readonly kind: "oneof"; - /** - * The name of the oneof group, as specified in the protobuf source. - */ - readonly name: string; - /** - * A safe and idiomatic name for the oneof group as a property in ECMAScript. - */ - readonly localName: string; - /** - * The message this oneof group was declared in. - */ - readonly parent: DescMessage; - /** - * The fields declared in this oneof group. - */ - readonly fields: DescField[]; - /** - * Marked as deprecated in the protobuf source. - * Note that oneof groups cannot be marked as deprecated, this property - * only exists for consistency and will always be false. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: OneofDescriptorProto; - toString(): string; -} -/** - * Describes a service declaration in a protobuf source file. - */ -export interface DescService { - readonly kind: "service"; - /** - * The fully qualified name of the service. (We omit the leading dot.) - */ - readonly typeName: string; - /** - * The name of the service, as specified in the protobuf source. - */ - readonly name: string; - /** - * The file this service was declared in. - */ - readonly file: DescFile; - /** - * The RPCs this service declares. - */ - readonly methods: DescMethod[]; - /** - * All methods of this service by their "localName". - */ - readonly method: Record; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: ServiceDescriptorProto; - toString(): string; -} -/** - * Describes an RPC declaration in a protobuf source file. - */ -export interface DescMethod { - readonly kind: "rpc"; - /** - * The name of the RPC, as specified in the protobuf source. - */ - readonly name: string; - /** - * A safe and idiomatic name for the RPC as a method in ECMAScript. - */ - readonly localName: string; - /** - * The parent service. - */ - readonly parent: DescService; - /** - * One of the four available method types. - */ - readonly methodKind: "unary" | "server_streaming" | "client_streaming" | "bidi_streaming"; - /** - * The message type for requests. - */ - readonly input: DescMessage; - /** - * The message type for responses. - */ - readonly output: DescMessage; - /** - * The idempotency level declared in the protobuf source, if any. - */ - readonly idempotency: MethodOptions_IdempotencyLevel; - /** - * Marked as deprecated in the protobuf source. - */ - readonly deprecated: boolean; - /** - * The compiler-generated descriptor. - */ - readonly proto: MethodDescriptorProto; - toString(): string; -} -/** - * Comments on an element in a protobuf source file. - */ -export interface DescComments { - readonly leadingDetached: readonly string[]; - readonly leading?: string; - readonly trailing?: string; - readonly sourcePath: readonly number[]; -} -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js b/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js deleted file mode 100644 index c749b6d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -/** - * Scalar value types. This is a subset of field types declared by protobuf - * enum google.protobuf.FieldDescriptorProto.Type The types GROUP and MESSAGE - * are omitted, but the numerical values are identical. - */ -export var ScalarType; -(function (ScalarType) { - // 0 is reserved for errors. - // Order is weird for historical reasons. - ScalarType[ScalarType["DOUBLE"] = 1] = "DOUBLE"; - ScalarType[ScalarType["FLOAT"] = 2] = "FLOAT"; - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - // negative values are likely. - ScalarType[ScalarType["INT64"] = 3] = "INT64"; - ScalarType[ScalarType["UINT64"] = 4] = "UINT64"; - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - // negative values are likely. - ScalarType[ScalarType["INT32"] = 5] = "INT32"; - ScalarType[ScalarType["FIXED64"] = 6] = "FIXED64"; - ScalarType[ScalarType["FIXED32"] = 7] = "FIXED32"; - ScalarType[ScalarType["BOOL"] = 8] = "BOOL"; - ScalarType[ScalarType["STRING"] = 9] = "STRING"; - // Tag-delimited aggregate. - // Group type is deprecated and not supported in proto3. However, Proto3 - // implementations should still be able to parse the group wire format and - // treat group fields as unknown fields. - // TYPE_GROUP = 10, - // TYPE_MESSAGE = 11, // Length-delimited aggregate. - // New in version 2. - ScalarType[ScalarType["BYTES"] = 12] = "BYTES"; - ScalarType[ScalarType["UINT32"] = 13] = "UINT32"; - // TYPE_ENUM = 14, - ScalarType[ScalarType["SFIXED32"] = 15] = "SFIXED32"; - ScalarType[ScalarType["SFIXED64"] = 16] = "SFIXED64"; - ScalarType[ScalarType["SINT32"] = 17] = "SINT32"; - ScalarType[ScalarType["SINT64"] = 18] = "SINT64"; -})(ScalarType || (ScalarType = {})); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/equals.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/equals.d.ts deleted file mode 100644 index 5de9d77..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/equals.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { MessageShape } from "./types.js"; -import type { DescMessage } from "./descriptors.js"; -/** - * Compare two messages of the same type. - * - * Note that this function disregards extensions and unknown fields, and that - * NaN is not equal NaN, following the IEEE standard. - */ -export declare function equals(schema: Desc, a: MessageShape, b: MessageShape): boolean; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/equals.js b/node_modules/@bufbuild/protobuf/dist/esm/equals.js deleted file mode 100644 index 0f981e3..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/equals.js +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { scalarEquals } from "./reflect/scalar.js"; -import { reflect } from "./reflect/reflect.js"; -/** - * Compare two messages of the same type. - * - * Note that this function disregards extensions and unknown fields, and that - * NaN is not equal NaN, following the IEEE standard. - */ -export function equals(schema, a, b) { - if (a.$typeName != schema.typeName || b.$typeName != schema.typeName) { - return false; - } - if (a === b) { - return true; - } - return reflectEquals(reflect(schema, a), reflect(schema, b)); -} -function reflectEquals(a, b) { - for (const f of a.fields) { - if (!fieldEquals(f, a, b)) { - return false; - } - } - return true; -} -function fieldEquals(f, a, b) { - if (!a.isSet(f) && !b.isSet(f)) { - return true; - } - if (!a.isSet(f) || !b.isSet(f)) { - return false; - } - switch (f.fieldKind) { - case "scalar": - return scalarEquals(f.scalar, a.get(f), b.get(f)); - case "enum": - return a.get(f) === b.get(f); - case "message": - return reflectEquals(a.get(f), b.get(f)); - case "map": { - const ma = a.get(f); - const mb = b.get(f); - const keysA = []; - for (const k of ma.keys()) { - if (!mb.has(k)) { - return false; - } - keysA.push(k); - } - for (const k of mb.keys()) { - if (!ma.has(k)) { - return false; - } - } - for (const key of keysA) { - const va = ma.get(key); - const vb = mb.get(key); - if (va === vb) { - continue; - } - switch (f.mapKind) { - case "enum": - return false; - case "message": - if (!reflectEquals(va, vb)) { - return false; - } - break; - case "scalar": - if (!scalarEquals(f.scalar, va, vb)) { - return false; - } - break; - } - } - break; - } - case "list": { - const la = a.get(f); - const lb = b.get(f); - if (la.size != lb.size) { - return false; - } - for (let i = 0; i < la.size; i++) { - const va = la.get(i); - const vb = lb.get(i); - if (va === vb) { - continue; - } - switch (f.listKind) { - case "enum": - return false; - case "message": - if (!reflectEquals(va, vb)) { - return false; - } - break; - case "scalar": - if (!scalarEquals(f.scalar, va, vb)) { - return false; - } - break; - } - } - break; - } - } - return true; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/extensions.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/extensions.d.ts deleted file mode 100644 index 8336447..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/extensions.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import type { AnyDesc, DescEnum, DescEnumValue, DescExtension, DescField, DescFile, DescMessage, DescMethod, DescOneof, DescService } from "./descriptors.js"; -import type { ReflectMessage } from "./reflect/reflect-types.js"; -import type { Extendee, ExtensionValueShape } from "./types.js"; -import type { EnumOptions, EnumValueOptions, FieldOptions, FileOptions, MessageOptions, MethodOptions, OneofOptions, ServiceOptions } from "./wkt/gen/google/protobuf/descriptor_pb.js"; -/** - * Retrieve an extension value from a message. - * - * The function never returns undefined. Use hasExtension() to check whether an - * extension is set. If the extension is not set, this function returns the - * default value (if one was specified in the protobuf source), or the zero value - * (for example `0` for numeric types, `[]` for repeated extension fields, and - * an empty message instance for message fields). - * - * Extensions are stored as unknown fields on a message. To mutate an extension - * value, make sure to store the new value with setExtension() after mutating. - * - * If the extension does not extend the given message, an error is raised. - */ -export declare function getExtension(message: Extendee, extension: Desc): ExtensionValueShape; -/** - * Set an extension value on a message. If the message already has a value for - * this extension, the value is replaced. - * - * If the extension does not extend the given message, an error is raised. - */ -export declare function setExtension(message: Extendee, extension: Desc, value: ExtensionValueShape): void; -/** - * Remove an extension value from a message. - * - * If the extension does not extend the given message, an error is raised. - */ -export declare function clearExtension(message: Extendee, extension: Desc): void; -/** - * Check whether an extension is set on a message. - */ -export declare function hasExtension(message: Extendee, extension: Desc): boolean; -/** - * Check whether an option is set on a descriptor. - * - * Options are extensions to the `google.protobuf.*Options` messages defined in - * google/protobuf/descriptor.proto. This function gets the option message from - * the descriptor, and calls hasExtension(). - */ -export declare function hasOption>(element: Desc, option: Ext): boolean; -/** - * Retrieve an option value from a descriptor. - * - * Options are extensions to the `google.protobuf.*Options` messages defined in - * google/protobuf/descriptor.proto. This function gets the option message from - * the descriptor, and calls getExtension(). Same as getExtension(), this - * function never returns undefined. - */ -export declare function getOption>(element: Desc, option: Ext): ExtensionValueShape; -type DescForOptionExtension = Extendee extends FileOptions ? DescFile : Extendee extends EnumOptions ? DescEnum : Extendee extends EnumValueOptions ? DescEnumValue : Extendee extends MessageOptions ? DescMessage : Extendee extends MessageOptions ? DescEnum : Extendee extends FieldOptions ? DescField | DescExtension : Extendee extends OneofOptions ? DescOneof : Extendee extends ServiceOptions ? DescService : Extendee extends EnumOptions ? DescEnum : Extendee extends MethodOptions ? DescMethod : AnyDesc; -/** - * @private - */ -export declare function createExtensionContainer(extension: Desc, value?: ExtensionValueShape): [ReflectMessage, DescField, () => ExtensionValueShape]; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/extensions.js b/node_modules/@bufbuild/protobuf/dist/esm/extensions.js deleted file mode 100644 index ab96581..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { create } from "./create.js"; -import { readField } from "./from-binary.js"; -import { reflect } from "./reflect/reflect.js"; -import { scalarZeroValue } from "./reflect/scalar.js"; -import { writeField } from "./to-binary.js"; -import { BinaryReader, BinaryWriter } from "./wire/binary-encoding.js"; -import { isWrapperDesc } from "./wkt/wrappers.js"; -/** - * Retrieve an extension value from a message. - * - * The function never returns undefined. Use hasExtension() to check whether an - * extension is set. If the extension is not set, this function returns the - * default value (if one was specified in the protobuf source), or the zero value - * (for example `0` for numeric types, `[]` for repeated extension fields, and - * an empty message instance for message fields). - * - * Extensions are stored as unknown fields on a message. To mutate an extension - * value, make sure to store the new value with setExtension() after mutating. - * - * If the extension does not extend the given message, an error is raised. - */ -export function getExtension(message, extension) { - assertExtendee(extension, message); - const ufs = filterUnknownFields(message.$unknown, extension); - const [container, field, get] = createExtensionContainer(extension); - for (const uf of ufs) { - readField(container, new BinaryReader(uf.data), field, uf.wireType, { - readUnknownFields: false, - }); - } - return get(); -} -/** - * Set an extension value on a message. If the message already has a value for - * this extension, the value is replaced. - * - * If the extension does not extend the given message, an error is raised. - */ -export function setExtension(message, extension, value) { - var _a; - assertExtendee(extension, message); - const ufs = ((_a = message.$unknown) !== null && _a !== void 0 ? _a : []).filter((uf) => uf.no !== extension.number); - const [container, field] = createExtensionContainer(extension, value); - const writer = new BinaryWriter(); - writeField(writer, { writeUnknownFields: false }, container, field); - const reader = new BinaryReader(writer.finish()); - while (reader.pos < reader.len) { - const [no, wireType] = reader.tag(); - const data = reader.skip(wireType, no); - ufs.push({ no, wireType, data }); - } - message.$unknown = ufs; -} -/** - * Remove an extension value from a message. - * - * If the extension does not extend the given message, an error is raised. - */ -export function clearExtension(message, extension) { - assertExtendee(extension, message); - if (message.$unknown === undefined) { - return; - } - message.$unknown = message.$unknown.filter((uf) => uf.no !== extension.number); -} -/** - * Check whether an extension is set on a message. - */ -export function hasExtension(message, extension) { - var _a; - return (extension.extendee.typeName === message.$typeName && - !!((_a = message.$unknown) === null || _a === void 0 ? void 0 : _a.find((uf) => uf.no === extension.number))); -} -/** - * Check whether an option is set on a descriptor. - * - * Options are extensions to the `google.protobuf.*Options` messages defined in - * google/protobuf/descriptor.proto. This function gets the option message from - * the descriptor, and calls hasExtension(). - */ -export function hasOption(element, option) { - const message = element.proto.options; - if (!message) { - return false; - } - return hasExtension(message, option); -} -/** - * Retrieve an option value from a descriptor. - * - * Options are extensions to the `google.protobuf.*Options` messages defined in - * google/protobuf/descriptor.proto. This function gets the option message from - * the descriptor, and calls getExtension(). Same as getExtension(), this - * function never returns undefined. - */ -export function getOption(element, option) { - const message = element.proto.options; - if (!message) { - const [, , get] = createExtensionContainer(option); - return get(); - } - return getExtension(message, option); -} -function filterUnknownFields(unknownFields, extension) { - if (unknownFields === undefined) - return []; - if (extension.fieldKind === "enum" || extension.fieldKind === "scalar") { - // singular scalar fields do not merge, we pick the last - for (let i = unknownFields.length - 1; i >= 0; --i) { - if (unknownFields[i].no == extension.number) { - return [unknownFields[i]]; - } - } - return []; - } - return unknownFields.filter((uf) => uf.no === extension.number); -} -/** - * @private - */ -export function createExtensionContainer(extension, value) { - const localName = extension.typeName; - const field = Object.assign(Object.assign({}, extension), { kind: "field", parent: extension.extendee, localName }); - const desc = Object.assign(Object.assign({}, extension.extendee), { fields: [field], members: [field], oneofs: [] }); - const container = create(desc, value !== undefined ? { [localName]: value } : undefined); - return [ - reflect(desc, container), - field, - () => { - const value = container[localName]; - if (value === undefined) { - // Only message fields are undefined, rest will have a zero value. - const desc = extension.message; - if (isWrapperDesc(desc)) { - return scalarZeroValue(desc.fields[0].scalar, desc.fields[0].longAsString); - } - return create(desc); - } - return value; - }, - ]; -} -function assertExtendee(extension, message) { - if (extension.extendee.typeName != message.$typeName) { - throw new Error(`extension ${extension.typeName} can only be applied to message ${extension.extendee.typeName}`); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/fields.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/fields.d.ts deleted file mode 100644 index a44a0c8..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/fields.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { MessageShape } from "./types.js"; -import type { DescField, DescMessage } from "./descriptors.js"; -/** - * Returns true if the field is set. - * - * - Scalar and enum fields with implicit presence (proto3): - * Set if not a zero value. - * - * - Scalar and enum fields with explicit presence (proto2, oneof): - * Set if a value was set when creating or parsing the message, or when a - * value was assigned to the field's property. - * - * - Message fields: - * Set if the property is not undefined. - * - * - List and map fields: - * Set if not empty. - */ -export declare function isFieldSet(message: MessageShape, field: DescField): boolean; -/** - * Resets the field, so that isFieldSet() will return false. - */ -export declare function clearField(message: MessageShape, field: DescField): void; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/fields.js b/node_modules/@bufbuild/protobuf/dist/esm/fields.js deleted file mode 100644 index ab6caa3..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/fields.js +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { unsafeClear, unsafeIsSet } from "./reflect/unsafe.js"; -/** - * Returns true if the field is set. - * - * - Scalar and enum fields with implicit presence (proto3): - * Set if not a zero value. - * - * - Scalar and enum fields with explicit presence (proto2, oneof): - * Set if a value was set when creating or parsing the message, or when a - * value was assigned to the field's property. - * - * - Message fields: - * Set if the property is not undefined. - * - * - List and map fields: - * Set if not empty. - */ -export function isFieldSet(message, field) { - return (field.parent.typeName == message.$typeName && unsafeIsSet(message, field)); -} -/** - * Resets the field, so that isFieldSet() will return false. - */ -export function clearField(message, field) { - if (field.parent.typeName == message.$typeName) { - unsafeClear(message, field); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/from-binary.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/from-binary.d.ts deleted file mode 100644 index b04a9d3..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/from-binary.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { type DescField, type DescMessage } from "./descriptors.js"; -import type { MessageShape } from "./types.js"; -import type { ReflectMessage } from "./reflect/index.js"; -import { BinaryReader, WireType } from "./wire/binary-encoding.js"; -/** - * Options for parsing binary data. - */ -export interface BinaryReadOptions { - /** - * Retain unknown fields during parsing? The default behavior is to retain - * unknown fields and include them in the serialized output. - * - * For more details see https://developers.google.com/protocol-buffers/docs/proto3#unknowns - */ - readUnknownFields: boolean; -} -/** - * Parse serialized binary data. - */ -export declare function fromBinary(schema: Desc, bytes: Uint8Array, options?: Partial): MessageShape; -/** - * Parse from binary data, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -export declare function mergeFromBinary(schema: Desc, target: MessageShape, bytes: Uint8Array, options?: Partial): MessageShape; -/** - * @private - */ -export declare function readField(message: ReflectMessage, reader: BinaryReader, field: DescField, wireType: WireType, options: BinaryReadOptions): void; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js b/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js deleted file mode 100644 index 14d7cc1..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { ScalarType } from "./descriptors.js"; -import { scalarZeroValue } from "./reflect/scalar.js"; -import { reflect } from "./reflect/reflect.js"; -import { BinaryReader, WireType } from "./wire/binary-encoding.js"; -// Default options for parsing binary data. -const readDefaults = { - readUnknownFields: true, -}; -function makeReadOptions(options) { - return options ? Object.assign(Object.assign({}, readDefaults), options) : readDefaults; -} -/** - * Parse serialized binary data. - */ -export function fromBinary(schema, bytes, options) { - const msg = reflect(schema, undefined, false); - readMessage(msg, new BinaryReader(bytes), makeReadOptions(options), false, bytes.byteLength); - return msg.message; -} -/** - * Parse from binary data, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -export function mergeFromBinary(schema, target, bytes, options) { - readMessage(reflect(schema, target, false), new BinaryReader(bytes), makeReadOptions(options), false, bytes.byteLength); - return target; -} -/** - * If `delimited` is false, read the length given in `lengthOrDelimitedFieldNo`. - * - * If `delimited` is true, read until an EndGroup tag. `lengthOrDelimitedFieldNo` - * is the expected field number. - * - * @private - */ -function readMessage(message, reader, options, delimited, lengthOrDelimitedFieldNo) { - var _a; - const end = delimited ? reader.len : reader.pos + lengthOrDelimitedFieldNo; - let fieldNo, wireType; - const unknownFields = (_a = message.getUnknown()) !== null && _a !== void 0 ? _a : []; - while (reader.pos < end) { - [fieldNo, wireType] = reader.tag(); - if (delimited && wireType == WireType.EndGroup) { - break; - } - const field = message.findNumber(fieldNo); - if (!field) { - const data = reader.skip(wireType, fieldNo); - if (options.readUnknownFields) { - unknownFields.push({ no: fieldNo, wireType, data }); - } - continue; - } - readField(message, reader, field, wireType, options); - } - if (delimited) { - if (wireType != WireType.EndGroup || fieldNo !== lengthOrDelimitedFieldNo) { - throw new Error(`invalid end group tag`); - } - } - if (unknownFields.length > 0) { - message.setUnknown(unknownFields); - } -} -/** - * @private - */ -export function readField(message, reader, field, wireType, options) { - switch (field.fieldKind) { - case "scalar": - message.set(field, readScalar(reader, field.scalar)); - break; - case "enum": - message.set(field, readScalar(reader, ScalarType.INT32)); - break; - case "message": - message.set(field, readMessageField(reader, options, field, message.get(field))); - break; - case "list": - readListField(reader, wireType, message.get(field), options); - break; - case "map": - readMapEntry(reader, message.get(field), options); - break; - } -} -// Read a map field, expecting key field = 1, value field = 2 -function readMapEntry(reader, map, options) { - const field = map.field(); - let key, val; - const end = reader.pos + reader.uint32(); - while (reader.pos < end) { - const [fieldNo] = reader.tag(); - switch (fieldNo) { - case 1: - key = readScalar(reader, field.mapKey); - break; - case 2: - switch (field.mapKind) { - case "scalar": - val = readScalar(reader, field.scalar); - break; - case "enum": - val = reader.int32(); - break; - case "message": - val = readMessageField(reader, options, field); - break; - } - break; - } - } - if (key === undefined) { - key = scalarZeroValue(field.mapKey, false); - } - if (val === undefined) { - switch (field.mapKind) { - case "scalar": - val = scalarZeroValue(field.scalar, false); - break; - case "enum": - val = field.enum.values[0].number; - break; - case "message": - val = reflect(field.message, undefined, false); - break; - } - } - map.set(key, val); -} -function readListField(reader, wireType, list, options) { - var _a; - const field = list.field(); - if (field.listKind === "message") { - list.add(readMessageField(reader, options, field)); - return; - } - const scalarType = (_a = field.scalar) !== null && _a !== void 0 ? _a : ScalarType.INT32; - const packed = wireType == WireType.LengthDelimited && - scalarType != ScalarType.STRING && - scalarType != ScalarType.BYTES; - if (!packed) { - list.add(readScalar(reader, scalarType)); - return; - } - const e = reader.uint32() + reader.pos; - while (reader.pos < e) { - list.add(readScalar(reader, scalarType)); - } -} -function readMessageField(reader, options, field, mergeMessage) { - const delimited = field.delimitedEncoding; - const message = mergeMessage !== null && mergeMessage !== void 0 ? mergeMessage : reflect(field.message, undefined, false); - readMessage(message, reader, options, delimited, delimited ? field.number : reader.uint32()); - return message; -} -function readScalar(reader, type) { - switch (type) { - case ScalarType.STRING: - return reader.string(); - case ScalarType.BOOL: - return reader.bool(); - case ScalarType.DOUBLE: - return reader.double(); - case ScalarType.FLOAT: - return reader.float(); - case ScalarType.INT32: - return reader.int32(); - case ScalarType.INT64: - return reader.int64(); - case ScalarType.UINT64: - return reader.uint64(); - case ScalarType.FIXED64: - return reader.fixed64(); - case ScalarType.BYTES: - return reader.bytes(); - case ScalarType.FIXED32: - return reader.fixed32(); - case ScalarType.SFIXED32: - return reader.sfixed32(); - case ScalarType.SFIXED64: - return reader.sfixed64(); - case ScalarType.SINT64: - return reader.sint64(); - case ScalarType.UINT32: - return reader.uint32(); - case ScalarType.SINT32: - return reader.sint32(); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/from-json.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/from-json.d.ts deleted file mode 100644 index 06f4d6c..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/from-json.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { type DescEnum, type DescMessage } from "./descriptors.js"; -import type { JsonValue } from "./json-value.js"; -import type { Registry } from "./registry.js"; -import type { EnumJsonType, EnumShape, MessageShape } from "./types.js"; -/** - * Options for parsing JSON data. - */ -export interface JsonReadOptions { - /** - * Ignore unknown fields: Proto3 JSON parser should reject unknown fields - * by default. This option ignores unknown fields in parsing, as well as - * unrecognized enum string representations. - */ - ignoreUnknownFields: boolean; - /** - * This option is required to read `google.protobuf.Any` and extensions - * from JSON format. - */ - registry?: Registry; -} -/** - * Parse a message from a JSON string. - */ -export declare function fromJsonString(schema: Desc, json: string, options?: Partial): MessageShape; -/** - * Parse a message from a JSON string, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -export declare function mergeFromJsonString(schema: Desc, target: MessageShape, json: string, options?: Partial): MessageShape; -/** - * Parse a message from a JSON value. - */ -export declare function fromJson(schema: Desc, json: JsonValue, options?: Partial): MessageShape; -/** - * Parse a message from a JSON value, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -export declare function mergeFromJson(schema: Desc, target: MessageShape, json: JsonValue, options?: Partial): MessageShape; -/** - * Parses an enum value from JSON. - */ -export declare function enumFromJson(descEnum: Desc, json: EnumJsonType): EnumShape; -/** - * Is the given value a JSON enum value? - */ -export declare function isEnumJson(descEnum: Desc, value: unknown): value is EnumJsonType; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/from-json.js b/node_modules/@bufbuild/protobuf/dist/esm/from-json.js deleted file mode 100644 index 4a1a063..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +++ /dev/null @@ -1,616 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -/* eslint-disable no-case-declarations,@typescript-eslint/restrict-template-expressions */ -import { ScalarType, } from "./descriptors.js"; -import { protoInt64 } from "./proto-int64.js"; -import { create } from "./create.js"; -import { reflect } from "./reflect/reflect.js"; -import { FieldError, isFieldError } from "./reflect/error.js"; -import { formatVal } from "./reflect/reflect-check.js"; -import { scalarZeroValue } from "./reflect/scalar.js"; -import { base64Decode } from "./wire/base64-encoding.js"; -import { isWrapperDesc, anyPack, ListValueSchema, NullValue, StructSchema, ValueSchema, } from "./wkt/index.js"; -import { createExtensionContainer, setExtension } from "./extensions.js"; -// Default options for parsing JSON. -const jsonReadDefaults = { - ignoreUnknownFields: false, -}; -function makeReadOptions(options) { - return options ? Object.assign(Object.assign({}, jsonReadDefaults), options) : jsonReadDefaults; -} -/** - * Parse a message from a JSON string. - */ -export function fromJsonString(schema, json, options) { - return fromJson(schema, parseJsonString(json, schema.typeName), options); -} -/** - * Parse a message from a JSON string, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -export function mergeFromJsonString(schema, target, json, options) { - return mergeFromJson(schema, target, parseJsonString(json, schema.typeName), options); -} -/** - * Parse a message from a JSON value. - */ -export function fromJson(schema, json, options) { - const msg = reflect(schema); - try { - readMessage(msg, json, makeReadOptions(options)); - } - catch (e) { - if (isFieldError(e)) { - // @ts-expect-error we use the ES2022 error CTOR option "cause" for better stack traces - throw new Error(`cannot decode ${e.field()} from JSON: ${e.message}`, { - cause: e, - }); - } - throw e; - } - return msg.message; -} -/** - * Parse a message from a JSON value, merging fields. - * - * Repeated fields are appended. Map entries are added, overwriting - * existing keys. - * - * If a message field is already present, it will be merged with the - * new data. - */ -export function mergeFromJson(schema, target, json, options) { - try { - readMessage(reflect(schema, target), json, makeReadOptions(options)); - } - catch (e) { - if (isFieldError(e)) { - // @ts-expect-error we use the ES2022 error CTOR option "cause" for better stack traces - throw new Error(`cannot decode ${e.field()} from JSON: ${e.message}`, { - cause: e, - }); - } - throw e; - } - return target; -} -/** - * Parses an enum value from JSON. - */ -export function enumFromJson(descEnum, json) { - const val = readEnum(descEnum, json, false, false); - if (val === tokenIgnoredUnknownEnum) { - throw new Error(`cannot decode ${String(descEnum)} from JSON: ${formatVal(json)}`); - } - return val; -} -/** - * Is the given value a JSON enum value? - */ -export function isEnumJson(descEnum, value) { - return undefined !== descEnum.values.find((v) => v.name === value); -} -function readMessage(msg, json, opts) { - var _a; - if (tryWktFromJson(msg, json, opts)) { - return; - } - if (json == null || Array.isArray(json) || typeof json != "object") { - throw new Error(`cannot decode ${msg.desc} from JSON: ${formatVal(json)}`); - } - const oneofSeen = new Map(); - const jsonNames = new Map(); - for (const field of msg.desc.fields) { - jsonNames.set(field.name, field).set(field.jsonName, field); - } - for (const [jsonKey, jsonValue] of Object.entries(json)) { - const field = jsonNames.get(jsonKey); - if (field) { - if (field.oneof) { - if (jsonValue === null && field.fieldKind == "scalar") { - // see conformance test Required.Proto3.JsonInput.OneofFieldNull{First,Second} - continue; - } - const seen = oneofSeen.get(field.oneof); - if (seen !== undefined) { - throw new FieldError(field.oneof, `oneof set multiple times by ${seen.name} and ${field.name}`); - } - oneofSeen.set(field.oneof, field); - } - readField(msg, field, jsonValue, opts); - } - else { - let extension = undefined; - if (jsonKey.startsWith("[") && - jsonKey.endsWith("]") && - (extension = (_a = opts.registry) === null || _a === void 0 ? void 0 : _a.getExtension(jsonKey.substring(1, jsonKey.length - 1))) && - extension.extendee.typeName === msg.desc.typeName) { - const [container, field, get] = createExtensionContainer(extension); - readField(container, field, jsonValue, opts); - setExtension(msg.message, extension, get()); - } - if (!extension && !opts.ignoreUnknownFields) { - throw new Error(`cannot decode ${msg.desc} from JSON: key "${jsonKey}" is unknown`); - } - } - } -} -function readField(msg, field, json, opts) { - switch (field.fieldKind) { - case "scalar": - readScalarField(msg, field, json); - break; - case "enum": - readEnumField(msg, field, json, opts); - break; - case "message": - readMessageField(msg, field, json, opts); - break; - case "list": - readListField(msg.get(field), json, opts); - break; - case "map": - readMapField(msg.get(field), json, opts); - break; - } -} -function readMapField(map, json, opts) { - if (json === null) { - return; - } - const field = map.field(); - if (typeof json != "object" || Array.isArray(json)) { - throw new FieldError(field, "expected object, got " + formatVal(json)); - } - for (const [jsonMapKey, jsonMapValue] of Object.entries(json)) { - if (jsonMapValue === null) { - throw new FieldError(field, "map value must not be null"); - } - let value; - switch (field.mapKind) { - case "message": - const msgValue = reflect(field.message); - readMessage(msgValue, jsonMapValue, opts); - value = msgValue; - break; - case "enum": - value = readEnum(field.enum, jsonMapValue, opts.ignoreUnknownFields, true); - if (value === tokenIgnoredUnknownEnum) { - return; - } - break; - case "scalar": - value = scalarFromJson(field, jsonMapValue, true); - break; - } - const key = mapKeyFromJson(field.mapKey, jsonMapKey); - map.set(key, value); - } -} -function readListField(list, json, opts) { - if (json === null) { - return; - } - const field = list.field(); - if (!Array.isArray(json)) { - throw new FieldError(field, "expected Array, got " + formatVal(json)); - } - for (const jsonItem of json) { - if (jsonItem === null) { - throw new FieldError(field, "list item must not be null"); - } - switch (field.listKind) { - case "message": - const msgValue = reflect(field.message); - readMessage(msgValue, jsonItem, opts); - list.add(msgValue); - break; - case "enum": - const enumValue = readEnum(field.enum, jsonItem, opts.ignoreUnknownFields, true); - if (enumValue !== tokenIgnoredUnknownEnum) { - list.add(enumValue); - } - break; - case "scalar": - list.add(scalarFromJson(field, jsonItem, true)); - break; - } - } -} -function readMessageField(msg, field, json, opts) { - if (json === null && field.message.typeName != "google.protobuf.Value") { - msg.clear(field); - return; - } - const msgValue = msg.isSet(field) ? msg.get(field) : reflect(field.message); - readMessage(msgValue, json, opts); - msg.set(field, msgValue); -} -function readEnumField(msg, field, json, opts) { - const enumValue = readEnum(field.enum, json, opts.ignoreUnknownFields, false); - if (enumValue === tokenNull) { - msg.clear(field); - } - else if (enumValue !== tokenIgnoredUnknownEnum) { - msg.set(field, enumValue); - } -} -function readScalarField(msg, field, json) { - const scalarValue = scalarFromJson(field, json, false); - if (scalarValue === tokenNull) { - msg.clear(field); - } - else { - msg.set(field, scalarValue); - } -} -const tokenIgnoredUnknownEnum = Symbol(); -function readEnum(desc, json, ignoreUnknownFields, nullAsZeroValue) { - if (json === null) { - if (desc.typeName == "google.protobuf.NullValue") { - return 0; // google.protobuf.NullValue.NULL_VALUE = 0 - } - return nullAsZeroValue ? desc.values[0].number : tokenNull; - } - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (typeof json) { - case "number": - if (Number.isInteger(json)) { - return json; - } - break; - case "string": - const value = desc.values.find((ev) => ev.name === json); - if (value !== undefined) { - return value.number; - } - if (ignoreUnknownFields) { - return tokenIgnoredUnknownEnum; - } - break; - } - throw new Error(`cannot decode ${desc} from JSON: ${formatVal(json)}`); -} -const tokenNull = Symbol(); -function scalarFromJson(field, json, nullAsZeroValue) { - if (json === null) { - if (nullAsZeroValue) { - return scalarZeroValue(field.scalar, false); - } - return tokenNull; - } - // int64, sfixed64, sint64, fixed64, uint64: Reflect supports string and number. - // string, bool: Supported by reflect. - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (field.scalar) { - // float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity". - // Either numbers or strings are accepted. Exponent notation is also accepted. - case ScalarType.DOUBLE: - case ScalarType.FLOAT: - if (json === "NaN") - return NaN; - if (json === "Infinity") - return Number.POSITIVE_INFINITY; - if (json === "-Infinity") - return Number.NEGATIVE_INFINITY; - if (typeof json == "number") { - if (isNaN(json)) { - // NaN must be encoded with string constants - throw new FieldError(field, "unexpected NaN number"); - } - if (!isFinite(json)) { - // Infinity must be encoded with string constants - throw new FieldError(field, "unexpected infinite number"); - } - break; - } - if (typeof json == "string") { - if (json === "") { - // empty string is not a number - break; - } - if (json.trim().length !== json.length) { - // extra whitespace - break; - } - const float = Number(json); - if (!isFinite(float)) { - // Infinity and NaN must be encoded with string constants - break; - } - return float; - } - break; - // int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted. - case ScalarType.INT32: - case ScalarType.FIXED32: - case ScalarType.SFIXED32: - case ScalarType.SINT32: - case ScalarType.UINT32: - return int32FromJson(json); - // bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings. - // Either standard or URL-safe base64 encoding with/without paddings are accepted. - case ScalarType.BYTES: - if (typeof json == "string") { - if (json === "") { - return new Uint8Array(0); - } - try { - return base64Decode(json); - } - catch (e) { - const message = e instanceof Error ? e.message : String(e); - throw new FieldError(field, message); - } - } - break; - } - return json; -} -/** - * Try to parse a JSON value to a map key for the reflect API. - * - * Returns the input if the JSON value cannot be converted. - */ -function mapKeyFromJson(type, json) { - switch (type) { - case ScalarType.BOOL: - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (json) { - case "true": - return true; - case "false": - return false; - } - return json; - case ScalarType.INT32: - case ScalarType.FIXED32: - case ScalarType.UINT32: - case ScalarType.SFIXED32: - case ScalarType.SINT32: - return int32FromJson(json); - default: - return json; - } -} -/** - * Try to parse a JSON value to a 32-bit integer for the reflect API. - * - * Returns the input if the JSON value cannot be converted. - */ -function int32FromJson(json) { - if (typeof json == "string") { - if (json === "") { - // empty string is not a number - return json; - } - if (json.trim().length !== json.length) { - // extra whitespace - return json; - } - const num = Number(json); - if (Number.isNaN(num)) { - // not a number - return json; - } - return num; - } - return json; -} -function parseJsonString(jsonString, typeName) { - try { - return JSON.parse(jsonString); - } - catch (e) { - const message = e instanceof Error ? e.message : String(e); - throw new Error(`cannot decode message ${typeName} from JSON: ${message}`, - // @ts-expect-error we use the ES2022 error CTOR option "cause" for better stack traces - { cause: e }); - } -} -function tryWktFromJson(msg, jsonValue, opts) { - if (!msg.desc.typeName.startsWith("google.protobuf.")) { - return false; - } - switch (msg.desc.typeName) { - case "google.protobuf.Any": - anyFromJson(msg.message, jsonValue, opts); - return true; - case "google.protobuf.Timestamp": - timestampFromJson(msg.message, jsonValue); - return true; - case "google.protobuf.Duration": - durationFromJson(msg.message, jsonValue); - return true; - case "google.protobuf.FieldMask": - fieldMaskFromJson(msg.message, jsonValue); - return true; - case "google.protobuf.Struct": - structFromJson(msg.message, jsonValue); - return true; - case "google.protobuf.Value": - valueFromJson(msg.message, jsonValue); - return true; - case "google.protobuf.ListValue": - listValueFromJson(msg.message, jsonValue); - return true; - default: - if (isWrapperDesc(msg.desc)) { - const valueField = msg.desc.fields[0]; - if (jsonValue === null) { - msg.clear(valueField); - } - else { - msg.set(valueField, scalarFromJson(valueField, jsonValue, true)); - } - return true; - } - return false; - } -} -function anyFromJson(any, json, opts) { - var _a; - if (json === null || Array.isArray(json) || typeof json != "object") { - throw new Error(`cannot decode message ${any.$typeName} from JSON: expected object but got ${formatVal(json)}`); - } - if (Object.keys(json).length == 0) { - return; - } - const typeUrl = json["@type"]; - if (typeof typeUrl != "string" || typeUrl == "") { - throw new Error(`cannot decode message ${any.$typeName} from JSON: "@type" is empty`); - } - const typeName = typeUrl.includes("/") - ? typeUrl.substring(typeUrl.lastIndexOf("/") + 1) - : typeUrl; - if (!typeName.length) { - throw new Error(`cannot decode message ${any.$typeName} from JSON: "@type" is invalid`); - } - const desc = (_a = opts.registry) === null || _a === void 0 ? void 0 : _a.getMessage(typeName); - if (!desc) { - throw new Error(`cannot decode message ${any.$typeName} from JSON: ${typeUrl} is not in the type registry`); - } - const msg = reflect(desc); - if (typeName.startsWith("google.protobuf.") && - Object.prototype.hasOwnProperty.call(json, "value")) { - const value = json["value"]; - readMessage(msg, value, opts); - } - else { - const copy = Object.assign({}, json); - delete copy["@type"]; - readMessage(msg, copy, opts); - } - anyPack(msg.desc, msg.message, any); -} -function timestampFromJson(timestamp, json) { - if (typeof json !== "string") { - throw new Error(`cannot decode message ${timestamp.$typeName} from JSON: ${formatVal(json)}`); - } - const matches = json.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/); - if (!matches) { - throw new Error(`cannot decode message ${timestamp.$typeName} from JSON: invalid RFC 3339 string`); - } - const ms = Date.parse( - //prettier-ignore - matches[1] + "-" + matches[2] + "-" + matches[3] + "T" + matches[4] + ":" + matches[5] + ":" + matches[6] + (matches[8] ? matches[8] : "Z")); - if (Number.isNaN(ms)) { - throw new Error(`cannot decode message ${timestamp.$typeName} from JSON: invalid RFC 3339 string`); - } - if (ms < Date.parse("0001-01-01T00:00:00Z") || - ms > Date.parse("9999-12-31T23:59:59Z")) { - throw new Error(`cannot decode message ${timestamp.$typeName} from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`); - } - timestamp.seconds = protoInt64.parse(ms / 1000); - timestamp.nanos = 0; - if (matches[7]) { - timestamp.nanos = - parseInt("1" + matches[7] + "0".repeat(9 - matches[7].length)) - - 1000000000; - } -} -function durationFromJson(duration, json) { - if (typeof json !== "string") { - throw new Error(`cannot decode message ${duration.$typeName} from JSON: ${formatVal(json)}`); - } - const match = json.match(/^(-?[0-9]+)(?:\.([0-9]+))?s/); - if (match === null) { - throw new Error(`cannot decode message ${duration.$typeName} from JSON: ${formatVal(json)}`); - } - const longSeconds = Number(match[1]); - if (longSeconds > 315576000000 || longSeconds < -315576000000) { - throw new Error(`cannot decode message ${duration.$typeName} from JSON: ${formatVal(json)}`); - } - duration.seconds = protoInt64.parse(longSeconds); - if (typeof match[2] !== "string") { - return; - } - const nanosStr = match[2] + "0".repeat(9 - match[2].length); - duration.nanos = parseInt(nanosStr); - if (longSeconds < 0 || Object.is(longSeconds, -0)) { - duration.nanos = -duration.nanos; - } -} -function fieldMaskFromJson(fieldMask, json) { - if (typeof json !== "string") { - throw new Error(`cannot decode message ${fieldMask.$typeName} from JSON: ${formatVal(json)}`); - } - if (json === "") { - return; - } - function camelToSnake(str) { - if (str.includes("_")) { - throw new Error(`cannot decode message ${fieldMask.$typeName} from JSON: path names must be lowerCamelCase`); - } - const sc = str.replace(/[A-Z]/g, (letter) => "_" + letter.toLowerCase()); - return sc[0] === "_" ? sc.substring(1) : sc; - } - fieldMask.paths = json.split(",").map(camelToSnake); -} -function structFromJson(struct, json) { - if (typeof json != "object" || json == null || Array.isArray(json)) { - throw new Error(`cannot decode message ${struct.$typeName} from JSON ${formatVal(json)}`); - } - for (const [k, v] of Object.entries(json)) { - const parsedV = create(ValueSchema); - valueFromJson(parsedV, v); - struct.fields[k] = parsedV; - } -} -function valueFromJson(value, json) { - switch (typeof json) { - case "number": - value.kind = { case: "numberValue", value: json }; - break; - case "string": - value.kind = { case: "stringValue", value: json }; - break; - case "boolean": - value.kind = { case: "boolValue", value: json }; - break; - case "object": - if (json === null) { - value.kind = { case: "nullValue", value: NullValue.NULL_VALUE }; - } - else if (Array.isArray(json)) { - const listValue = create(ListValueSchema); - listValueFromJson(listValue, json); - value.kind = { case: "listValue", value: listValue }; - } - else { - const struct = create(StructSchema); - structFromJson(struct, json); - value.kind = { case: "structValue", value: struct }; - } - break; - default: - throw new Error(`cannot decode message ${value.$typeName} from JSON ${formatVal(json)}`); - } - return value; -} -function listValueFromJson(listValue, json) { - if (!Array.isArray(json)) { - throw new Error(`cannot decode message ${listValue.$typeName} from JSON ${formatVal(json)}`); - } - for (const e of json) { - const value = create(ValueSchema); - valueFromJson(value, e); - listValue.values.push(value); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts deleted file mode 100644 index 2206b71..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export * from "./types.js"; -export * from "./is-message.js"; -export * from "./create.js"; -export * from "./clone.js"; -export * from "./descriptors.js"; -export * from "./equals.js"; -export * from "./fields.js"; -export * from "./registry.js"; -export type { JsonValue, JsonObject } from "./json-value.js"; -export { toBinary } from "./to-binary.js"; -export type { BinaryWriteOptions } from "./to-binary.js"; -export { fromBinary, mergeFromBinary } from "./from-binary.js"; -export type { BinaryReadOptions } from "./from-binary.js"; -export * from "./to-json.js"; -export * from "./from-json.js"; -export { hasExtension, getExtension, setExtension, clearExtension, hasOption, getOption, } from "./extensions.js"; -export * from "./proto-int64.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/index.js b/node_modules/@bufbuild/protobuf/dist/esm/index.js deleted file mode 100644 index 69a69db..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -export * from "./types.js"; -export * from "./is-message.js"; -export * from "./create.js"; -export * from "./clone.js"; -export * from "./descriptors.js"; -export * from "./equals.js"; -export * from "./fields.js"; -export * from "./registry.js"; -export { toBinary } from "./to-binary.js"; -export { fromBinary, mergeFromBinary } from "./from-binary.js"; -export * from "./to-json.js"; -export * from "./from-json.js"; -export { hasExtension, getExtension, setExtension, clearExtension, hasOption, getOption, } from "./extensions.js"; -export * from "./proto-int64.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts deleted file mode 100644 index 085782d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { MessageShape } from "./types.js"; -import type { DescMessage } from "./descriptors.js"; -/** - * Determine whether the given `arg` is a message. - * If `desc` is set, determine whether `arg` is this specific message. - */ -export declare function isMessage(arg: unknown, schema?: Desc): arg is MessageShape; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/is-message.js b/node_modules/@bufbuild/protobuf/dist/esm/is-message.js deleted file mode 100644 index 32eb4b1..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -/** - * Determine whether the given `arg` is a message. - * If `desc` is set, determine whether `arg` is this specific message. - */ -export function isMessage(arg, schema) { - const isMessage = arg !== null && - typeof arg == "object" && - "$typeName" in arg && - typeof arg.$typeName == "string"; - if (!isMessage) { - return false; - } - if (schema === undefined) { - return true; - } - return schema.typeName === arg.$typeName; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/json-value.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/json-value.d.ts deleted file mode 100644 index 3857eb8..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/json-value.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Represents any possible JSON value: - * - number - * - string - * - boolean - * - null - * - object (with any JSON value as property) - * - array (with any JSON value as element) - */ -export type JsonValue = number | string | boolean | null | JsonObject | JsonValue[]; -/** - * Represents a JSON object. - */ -export type JsonObject = { - [k: string]: JsonValue; -}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/json-value.js b/node_modules/@bufbuild/protobuf/dist/esm/json-value.js deleted file mode 100644 index 7ead94e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/json-value.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts deleted file mode 100644 index 3eaf231..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -/** - * Int64Support for the current environment. - */ -export declare const protoInt64: Int64Support; -/** - * We use the `bigint` primitive to represent 64-bit integral types. If bigint - * is unavailable, we fall back to a string representation, which means that - * all values typed as `bigint` will actually be strings. - * - * If your code is intended to run in an environment where bigint may be - * unavailable, it must handle both the bigint and the string representation. - * For presenting values, this is straight-forward with implicit or explicit - * conversion to string: - * - * ```ts - * let el = document.createElement("span"); - * el.innerText = message.int64Field; // assuming a protobuf int64 field - * - * console.log(`int64: ${message.int64Field}`); - * - * let str: string = message.int64Field.toString(); - * ``` - * - * If you need to manipulate 64-bit integral values and are sure the values - * can be safely represented as an IEEE-754 double precision number, you can - * convert to a JavaScript Number: - * - * ```ts - * console.log(message.int64Field.toString()) - * let num = Number(message.int64Field); - * num = num + 1; - * message.int64Field = protoInt64.parse(num); - * ``` - * - * If you need to manipulate 64-bit integral values that are outside the - * range of safe representation as a JavaScript Number, we recommend you - * use a third party library, for example the npm package "long": - * - * ```ts - * // convert the field value to a Long - * const bits = protoInt64.enc(message.int64Field); - * const longValue = Long.fromBits(bits.lo, bits.hi); - * - * // perform arithmetic - * const longResult = longValue.subtract(1); - * - * // set the result in the field - * message.int64Field = protoInt64.dec(longResult.low, longResult.high); - * - * // Assuming int64Field contains 9223372036854775807: - * console.log(message.int64Field); // 9223372036854775806 - * ``` - */ -interface Int64Support { - /** - * 0n if bigint is available, "0" if unavailable. - */ - readonly zero: bigint; - /** - * Is bigint available? - */ - readonly supported: boolean; - /** - * Parse a signed 64-bit integer. - * Returns a bigint if available, a string otherwise. - */ - parse(value: string | number | bigint): bigint; - /** - * Parse an unsigned 64-bit integer. - * Returns a bigint if available, a string otherwise. - */ - uParse(value: string | number | bigint): bigint; - /** - * Convert a signed 64-bit integral value to a two's complement. - */ - enc(value: string | number | bigint): { - lo: number; - hi: number; - }; - /** - * Convert an unsigned 64-bit integral value to a two's complement. - */ - uEnc(value: string | number | bigint): { - lo: number; - hi: number; - }; - /** - * Convert a two's complement to a signed 64-bit integral value. - * Returns a bigint if available, a string otherwise. - */ - dec(lo: number, hi: number): bigint; - /** - * Convert a two's complement to an unsigned 64-bit integral value. - * Returns a bigint if available, a string otherwise. - */ - uDec(lo: number, hi: number): bigint; -} -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js b/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js deleted file mode 100644 index fb7df6c..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { int64FromString, int64ToString, uInt64ToString, } from "./wire/varint.js"; -/** - * Int64Support for the current environment. - */ -export const protoInt64 = /*@__PURE__*/ makeInt64Support(); -function makeInt64Support() { - const dv = new DataView(new ArrayBuffer(8)); - // note that Safari 14 implements BigInt, but not the DataView methods - const ok = typeof BigInt === "function" && - typeof dv.getBigInt64 === "function" && - typeof dv.getBigUint64 === "function" && - typeof dv.setBigInt64 === "function" && - typeof dv.setBigUint64 === "function" && - (typeof process != "object" || - typeof process.env != "object" || - process.env.BUF_BIGINT_DISABLE !== "1"); - if (ok) { - const MIN = BigInt("-9223372036854775808"), MAX = BigInt("9223372036854775807"), UMIN = BigInt("0"), UMAX = BigInt("18446744073709551615"); - return { - zero: BigInt(0), - supported: true, - parse(value) { - const bi = typeof value == "bigint" ? value : BigInt(value); - if (bi > MAX || bi < MIN) { - throw new Error(`invalid int64: ${value}`); - } - return bi; - }, - uParse(value) { - const bi = typeof value == "bigint" ? value : BigInt(value); - if (bi > UMAX || bi < UMIN) { - throw new Error(`invalid uint64: ${value}`); - } - return bi; - }, - enc(value) { - dv.setBigInt64(0, this.parse(value), true); - return { - lo: dv.getInt32(0, true), - hi: dv.getInt32(4, true), - }; - }, - uEnc(value) { - dv.setBigInt64(0, this.uParse(value), true); - return { - lo: dv.getInt32(0, true), - hi: dv.getInt32(4, true), - }; - }, - dec(lo, hi) { - dv.setInt32(0, lo, true); - dv.setInt32(4, hi, true); - return dv.getBigInt64(0, true); - }, - uDec(lo, hi) { - dv.setInt32(0, lo, true); - dv.setInt32(4, hi, true); - return dv.getBigUint64(0, true); - }, - }; - } - return { - zero: "0", - supported: false, - parse(value) { - if (typeof value != "string") { - value = value.toString(); - } - assertInt64String(value); - return value; - }, - uParse(value) { - if (typeof value != "string") { - value = value.toString(); - } - assertUInt64String(value); - return value; - }, - enc(value) { - if (typeof value != "string") { - value = value.toString(); - } - assertInt64String(value); - return int64FromString(value); - }, - uEnc(value) { - if (typeof value != "string") { - value = value.toString(); - } - assertUInt64String(value); - return int64FromString(value); - }, - dec(lo, hi) { - return int64ToString(lo, hi); - }, - uDec(lo, hi) { - return uInt64ToString(lo, hi); - }, - }; -} -function assertInt64String(value) { - if (!/^-?[0-9]+$/.test(value)) { - throw new Error("invalid int64: " + value); - } -} -function assertUInt64String(value) { - if (!/^[0-9]+$/.test(value)) { - throw new Error("invalid uint64: " + value); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.d.ts deleted file mode 100644 index c6bf1db..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { DescField, DescOneof } from "../descriptors.js"; -declare const errorNames: string[]; -export declare class FieldError extends Error { - readonly name: (typeof errorNames)[number]; - constructor(fieldOrOneof: DescField | DescOneof, message: string, name?: (typeof errorNames)[number]); - readonly field: () => DescField | DescOneof; -} -export declare function isFieldError(arg: unknown): arg is FieldError; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js b/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js deleted file mode 100644 index e4a8f2c..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -const errorNames = [ - "FieldValueInvalidError", - "FieldListRangeError", - "ForeignFieldError", -]; -export class FieldError extends Error { - constructor(fieldOrOneof, message, name = "FieldValueInvalidError") { - super(message); - this.name = name; - this.field = () => fieldOrOneof; - } -} -export function isFieldError(arg) { - return (arg instanceof Error && - errorNames.includes(arg.name) && - "field" in arg && - typeof arg.field == "function"); -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.d.ts deleted file mode 100644 index c53aeb2..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import type { Message } from "../types.js"; -import type { ScalarValue } from "./scalar.js"; -import type { ReflectList, ReflectMap, ReflectMessage } from "./reflect-types.js"; -import type { DescField, DescMessage } from "../descriptors.js"; -export declare function isObject(arg: unknown): arg is Record; -export declare function isOneofADT(arg: unknown): arg is OneofADT; -export type OneofADT = { - case: undefined; - value?: undefined; -} | { - case: string; - value: Message | ScalarValue; -}; -export declare function isReflectList(arg: unknown, field?: DescField & { - fieldKind: "list"; -}): arg is ReflectList; -export declare function isReflectMap(arg: unknown, field?: DescField & { - fieldKind: "map"; -}): arg is ReflectMap; -export declare function isReflectMessage(arg: unknown, messageDesc?: DescMessage): arg is ReflectMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js b/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js deleted file mode 100644 index b5fe8b1..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { unsafeLocal } from "./unsafe.js"; -export function isObject(arg) { - return arg !== null && typeof arg == "object" && !Array.isArray(arg); -} -export function isOneofADT(arg) { - return (arg !== null && - typeof arg == "object" && - "case" in arg && - ((typeof arg.case == "string" && "value" in arg && arg.value != null) || - (arg.case === undefined && - (!("value" in arg) || arg.value === undefined)))); -} -export function isReflectList(arg, field) { - var _a, _b, _c, _d; - if (isObject(arg) && - unsafeLocal in arg && - "add" in arg && - "field" in arg && - typeof arg.field == "function") { - if (field !== undefined) { - const a = field, b = arg.field(); - return (a.listKind == b.listKind && - a.scalar === b.scalar && - ((_a = a.message) === null || _a === void 0 ? void 0 : _a.typeName) === ((_b = b.message) === null || _b === void 0 ? void 0 : _b.typeName) && - ((_c = a.enum) === null || _c === void 0 ? void 0 : _c.typeName) === ((_d = b.enum) === null || _d === void 0 ? void 0 : _d.typeName)); - } - return true; - } - return false; -} -export function isReflectMap(arg, field) { - var _a, _b, _c, _d; - if (isObject(arg) && - unsafeLocal in arg && - "has" in arg && - "field" in arg && - typeof arg.field == "function") { - if (field !== undefined) { - const a = field, b = arg.field(); - return (a.mapKey === b.mapKey && - a.mapKind == b.mapKind && - a.scalar === b.scalar && - ((_a = a.message) === null || _a === void 0 ? void 0 : _a.typeName) === ((_b = b.message) === null || _b === void 0 ? void 0 : _b.typeName) && - ((_c = a.enum) === null || _c === void 0 ? void 0 : _c.typeName) === ((_d = b.enum) === null || _d === void 0 ? void 0 : _d.typeName)); - } - return true; - } - return false; -} -export function isReflectMessage(arg, messageDesc) { - return (isObject(arg) && - unsafeLocal in arg && - "desc" in arg && - isObject(arg.desc) && - arg.desc.kind === "message" && - (messageDesc === undefined || arg.desc.typeName == messageDesc.typeName)); -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.d.ts deleted file mode 100644 index 7e104ad..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from "./error.js"; -export * from "./names.js"; -export * from "./nested-types.js"; -export * from "./reflect.js"; -export * from "./reflect-types.js"; -export * from "./scalar.js"; -export { isReflectList, isReflectMap, isReflectMessage } from "./guard.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.js b/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.js deleted file mode 100644 index a2ab185..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -export * from "./error.js"; -export * from "./names.js"; -export * from "./nested-types.js"; -export * from "./reflect.js"; -export * from "./reflect-types.js"; -export * from "./scalar.js"; -export { isReflectList, isReflectMap, isReflectMessage } from "./guard.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.d.ts deleted file mode 100644 index 7b075d9..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Converts snake_case to protoCamelCase according to the convention - * used by protoc to convert a field name to a JSON name. - */ -export declare function protoCamelCase(snakeCase: string): string; -/** - * Escapes names that are reserved for ECMAScript built-in object properties. - * - * Also see safeIdentifier() from @bufbuild/protoplugin. - */ -export declare function safeObjectProperty(name: string): string; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js b/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js deleted file mode 100644 index 487f30d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -/** - * Converts snake_case to protoCamelCase according to the convention - * used by protoc to convert a field name to a JSON name. - */ -export function protoCamelCase(snakeCase) { - let capNext = false; - const b = []; - for (let i = 0; i < snakeCase.length; i++) { - let c = snakeCase.charAt(i); - switch (c) { - case "_": - capNext = true; - break; - case "0": - case "1": - case "2": - case "3": - case "4": - case "5": - case "6": - case "7": - case "8": - case "9": - b.push(c); - capNext = false; - break; - default: - if (capNext) { - capNext = false; - c = c.toUpperCase(); - } - b.push(c); - break; - } - } - return b.join(""); -} -/** - * Names that cannot be used for object properties because they are reserved - * by built-in JavaScript properties. - */ -const reservedObjectProperties = new Set([ - // names reserved by JavaScript - "constructor", - "toString", - "toJSON", - "valueOf", -]); -/** - * Escapes names that are reserved for ECMAScript built-in object properties. - * - * Also see safeIdentifier() from @bufbuild/protoplugin. - */ -export function safeObjectProperty(name) { - return reservedObjectProperties.has(name) ? name + "$" : name; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.d.ts deleted file mode 100644 index d5e234e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { AnyDesc, DescEnum, DescExtension, DescFile, DescMessage, DescService } from "../descriptors.js"; -/** - * Iterate over all types - enumerations, extensions, services, messages - - * and enumerations, extensions and messages nested in messages. - */ -export declare function nestedTypes(desc: DescFile | DescMessage): Iterable; -/** - * Returns the ancestors of a given Protobuf element, up to the file. - */ -export declare function parentTypes(desc: AnyDesc): Parent[]; -type Parent = DescFile | DescEnum | DescMessage | DescService; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js b/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js deleted file mode 100644 index 39be55a..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -/** - * Iterate over all types - enumerations, extensions, services, messages - - * and enumerations, extensions and messages nested in messages. - */ -export function* nestedTypes(desc) { - switch (desc.kind) { - case "file": - for (const message of desc.messages) { - yield message; - yield* nestedTypes(message); - } - yield* desc.enums; - yield* desc.services; - yield* desc.extensions; - break; - case "message": - for (const message of desc.nestedMessages) { - yield message; - yield* nestedTypes(message); - } - yield* desc.nestedEnums; - yield* desc.nestedExtensions; - break; - } -} -/** - * Returns the ancestors of a given Protobuf element, up to the file. - */ -export function parentTypes(desc) { - const parents = []; - while (desc.kind !== "file") { - const p = parent(desc); - desc = p; - parents.push(p); - } - return parents; -} -function parent(desc) { - var _a; - switch (desc.kind) { - case "enum_value": - case "field": - case "oneof": - case "rpc": - return desc.parent; - case "service": - return desc.file; - case "extension": - case "enum": - case "message": - return (_a = desc.parent) !== null && _a !== void 0 ? _a : desc.file; - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.d.ts deleted file mode 100644 index 63f27b9..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { type DescField } from "../descriptors.js"; -import { FieldError } from "./error.js"; -/** - * Check whether the given field value is valid for the reflect API. - */ -export declare function checkField(field: DescField, value: unknown): FieldError | undefined; -/** - * Check whether the given list item is valid for the reflect API. - */ -export declare function checkListItem(field: DescField & { - fieldKind: "list"; -}, index: number, value: unknown): FieldError | undefined; -/** - * Check whether the given map key and value are valid for the reflect API. - */ -export declare function checkMapEntry(field: DescField & { - fieldKind: "map"; -}, key: unknown, value: unknown): FieldError | undefined; -export declare function formatVal(val: unknown): string; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js b/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js deleted file mode 100644 index 02c7a11..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +++ /dev/null @@ -1,260 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { ScalarType, } from "../descriptors.js"; -import { isMessage } from "../is-message.js"; -import { FieldError } from "./error.js"; -import { isReflectList, isReflectMap, isReflectMessage } from "./guard.js"; -import { FLOAT32_MAX, FLOAT32_MIN, INT32_MAX, INT32_MIN, UINT32_MAX, } from "../wire/binary-encoding.js"; -import { getTextEncoding } from "../wire/text-encoding.js"; -import { protoInt64 } from "../proto-int64.js"; -/** - * Check whether the given field value is valid for the reflect API. - */ -export function checkField(field, value) { - const check = field.fieldKind == "list" - ? isReflectList(value, field) - : field.fieldKind == "map" - ? isReflectMap(value, field) - : checkSingular(field, value); - if (check === true) { - return undefined; - } - let reason; - switch (field.fieldKind) { - case "list": - reason = `expected ${formatReflectList(field)}, got ${formatVal(value)}`; - break; - case "map": - reason = `expected ${formatReflectMap(field)}, got ${formatVal(value)}`; - break; - default: { - reason = reasonSingular(field, value, check); - } - } - return new FieldError(field, reason); -} -/** - * Check whether the given list item is valid for the reflect API. - */ -export function checkListItem(field, index, value) { - const check = checkSingular(field, value); - if (check !== true) { - return new FieldError(field, `list item #${index + 1}: ${reasonSingular(field, value, check)}`); - } - return undefined; -} -/** - * Check whether the given map key and value are valid for the reflect API. - */ -export function checkMapEntry(field, key, value) { - const checkKey = checkScalarValue(key, field.mapKey); - if (checkKey !== true) { - return new FieldError(field, `invalid map key: ${reasonSingular({ scalar: field.mapKey }, key, checkKey)}`); - } - const checkVal = checkSingular(field, value); - if (checkVal !== true) { - return new FieldError(field, `map entry ${formatVal(key)}: ${reasonSingular(field, value, checkVal)}`); - } - return undefined; -} -function checkSingular(field, value) { - if (field.scalar !== undefined) { - return checkScalarValue(value, field.scalar); - } - if (field.enum !== undefined) { - if (field.enum.open) { - return Number.isInteger(value); - } - return field.enum.values.some((v) => v.number === value); - } - return isReflectMessage(value, field.message); -} -function checkScalarValue(value, scalar) { - switch (scalar) { - case ScalarType.DOUBLE: - return typeof value == "number"; - case ScalarType.FLOAT: - if (typeof value != "number") { - return false; - } - if (Number.isNaN(value) || !Number.isFinite(value)) { - return true; - } - if (value > FLOAT32_MAX || value < FLOAT32_MIN) { - return `${value.toFixed()} out of range`; - } - return true; - case ScalarType.INT32: - case ScalarType.SFIXED32: - case ScalarType.SINT32: - // signed - if (typeof value !== "number" || !Number.isInteger(value)) { - return false; - } - if (value > INT32_MAX || value < INT32_MIN) { - return `${value.toFixed()} out of range`; - } - return true; - case ScalarType.FIXED32: - case ScalarType.UINT32: - // unsigned - if (typeof value !== "number" || !Number.isInteger(value)) { - return false; - } - if (value > UINT32_MAX || value < 0) { - return `${value.toFixed()} out of range`; - } - return true; - case ScalarType.BOOL: - return typeof value == "boolean"; - case ScalarType.STRING: - if (typeof value != "string") { - return false; - } - return getTextEncoding().checkUtf8(value) || "invalid UTF8"; - case ScalarType.BYTES: - return value instanceof Uint8Array; - case ScalarType.INT64: - case ScalarType.SFIXED64: - case ScalarType.SINT64: - // signed - if (typeof value != "string" && - typeof value !== "bigint" && - typeof value !== "number") { - return false; - } - try { - protoInt64.parse(value); - } - catch (e) { - return `${value} out of range`; - } - return true; - case ScalarType.FIXED64: - case ScalarType.UINT64: - // unsigned - if (typeof value != "string" && - typeof value !== "bigint" && - typeof value !== "number") { - return false; - } - try { - protoInt64.uParse(value); - } - catch (e) { - return `${value} out of range`; - } - return true; - } -} -function reasonSingular(field, val, details) { - details = - typeof details == "string" ? `: ${details}` : `, got ${formatVal(val)}`; - if (field.scalar !== undefined) { - return `expected ${scalarTypeDescription(field.scalar)}` + details; - } - else if (field.enum !== undefined) { - return `expected ${field.enum.toString()}` + details; - } - return `expected ${formatReflectMessage(field.message)}` + details; -} -export function formatVal(val) { - switch (typeof val) { - case "object": - if (val === null) { - return "null"; - } - if (val instanceof Uint8Array) { - return `Uint8Array(${val.length})`; - } - if (Array.isArray(val)) { - return `Array(${val.length})`; - } - if (isReflectList(val)) { - return formatReflectList(val.field()); - } - if (isReflectMap(val)) { - return formatReflectMap(val.field()); - } - if (isReflectMessage(val)) { - return formatReflectMessage(val.desc); - } - if (isMessage(val)) { - return `message ${val.$typeName}`; - } - return "object"; - case "string": - return val.length > 30 ? "string" : `"${val.split('"').join('\\"')}"`; - case "boolean": - return String(val); - case "number": - return String(val); - case "bigint": - return String(val) + "n"; - default: - // "symbol" | "undefined" | "object" | "function" - return typeof val; - } -} -function formatReflectMessage(desc) { - return `ReflectMessage (${desc.typeName})`; -} -function formatReflectList(field) { - switch (field.listKind) { - case "message": - return `ReflectList (${field.message.toString()})`; - case "enum": - return `ReflectList (${field.enum.toString()})`; - case "scalar": - return `ReflectList (${ScalarType[field.scalar]})`; - } -} -function formatReflectMap(field) { - switch (field.mapKind) { - case "message": - return `ReflectMap (${ScalarType[field.mapKey]}, ${field.message.toString()})`; - case "enum": - return `ReflectMap (${ScalarType[field.mapKey]}, ${field.enum.toString()})`; - case "scalar": - return `ReflectMap (${ScalarType[field.mapKey]}, ${ScalarType[field.scalar]})`; - } -} -function scalarTypeDescription(scalar) { - switch (scalar) { - case ScalarType.STRING: - return "string"; - case ScalarType.BOOL: - return "boolean"; - case ScalarType.INT64: - case ScalarType.SINT64: - case ScalarType.SFIXED64: - return "bigint (int64)"; - case ScalarType.UINT64: - case ScalarType.FIXED64: - return "bigint (uint64)"; - case ScalarType.BYTES: - return "Uint8Array"; - case ScalarType.DOUBLE: - return "number (float64)"; - case ScalarType.FLOAT: - return "number (float32)"; - case ScalarType.FIXED32: - case ScalarType.UINT32: - return "number (uint32)"; - case ScalarType.INT32: - case ScalarType.SFIXED32: - case ScalarType.SINT32: - return "number (int32)"; - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.d.ts deleted file mode 100644 index 2a40b92..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.d.ts +++ /dev/null @@ -1,217 +0,0 @@ -import { type DescField, type DescMessage, type DescOneof } from "../descriptors.js"; -import { unsafeLocal } from "./unsafe.js"; -import type { Message, UnknownField } from "../types.js"; -import type { ScalarValue } from "./scalar.js"; -/** - * ReflectMessage provides dynamic access and manipulation of a message. - */ -export interface ReflectMessage { - /** - * The underlying message instance. - */ - readonly message: Message; - /** - * The descriptor for the message. - */ - readonly desc: DescMessage; - /** - * The fields of the message. This is a shortcut to message.fields. - */ - readonly fields: readonly DescField[]; - /** - * The fields of the message, sorted by field number ascending. - */ - readonly sortedFields: readonly DescField[]; - /** - * Oneof groups of the message. This is a shortcut to message.oneofs. - */ - readonly oneofs: readonly DescOneof[]; - /** - * Fields and oneof groups for this message. This is a shortcut to message.members. - */ - readonly members: readonly (DescField | DescOneof)[]; - /** - * Find a field by number. - */ - findNumber(number: number): DescField | undefined; - /** - * Returns true if the field is set. - * - * - Scalar and enum fields with implicit presence (proto3): - * Set if not a zero value. - * - * - Scalar and enum fields with explicit presence (proto2, oneof): - * Set if a value was set when creating or parsing the message, or when a - * value was assigned to the field's property. - * - * - Message fields: - * Set if the property is not undefined. - * - * - List and map fields: - * Set if not empty. - */ - isSet(field: DescField): boolean; - /** - * Resets the field, so that isSet() will return false. - */ - clear(field: DescField): void; - /** - * Return the selected field of a oneof group. - */ - oneofCase(oneof: DescOneof): DescField | undefined; - /** - * Returns the field value. Values are converted or wrapped to make it easier - * to manipulate messages. - * - * - Scalar fields: - * Returns the value, but converts 64-bit integer fields with the option - * `jstype=JS_STRING` to a bigint value. - * If the field is not set, the default value is returned. If no default - * value is set, the zero value is returned. - * - * - Enum fields: - * Returns the numeric value. If the field is not set, the default value is - * returned. If no default value is set, the zero value is returned. - * - * - Message fields: - * Returns a ReflectMessage. If the field is not set, a new message is - * returned, but not set on the field. - * - * - List fields: - * Returns a ReflectList object. - * - * - Map fields: - * Returns a ReflectMap object. - * - * Note that get() never returns `undefined`. To determine whether a field is - * set, use isSet(). - */ - get(field: Field): ReflectMessageGet; - /** - * Set a field value. - * - * Expects values in the same form that get() returns: - * - * - Scalar fields: - * 64-bit integer fields with the option `jstype=JS_STRING` as a bigint value. - * - * - Message fields: - * ReflectMessage. - * - * - List fields: - * ReflectList. - * - * - Map fields: - * ReflectMap. - * - * Throws an error if the value is invalid for the field. `undefined` is not - * a valid value. To reset a field, use clear(). - */ - set(field: Field, value: unknown): void; - /** - * Returns the unknown fields of the message. - */ - getUnknown(): UnknownField[] | undefined; - /** - * Sets the unknown fields of the message, overwriting any previous values. - */ - setUnknown(value: UnknownField[]): void; - [unsafeLocal]: Message; -} -/** - * ReflectList provides dynamic access and manipulation of a list field on a - * message. - * - * ReflectList is iterable - you can loop through all items with a for...of loop. - * - * Values are converted or wrapped to make it easier to manipulate them: - * - Scalar 64-bit integer fields with the option `jstype=JS_STRING` are - * converted to bigint. - * - Messages are wrapped in a ReflectMessage. - */ -export interface ReflectList extends Iterable { - /** - * Returns the list field. - */ - field(): DescField & { - fieldKind: "list"; - }; - /** - * The size of the list. - */ - readonly size: number; - /** - * Retrieves the item at the specified index, or undefined if the index - * is out of range. - */ - get(index: number): V | undefined; - /** - * Adds an item at the end of the list. - * Throws an error if an item is invalid for this list. - */ - add(item: V): void; - /** - * Replaces the item at the specified index with the specified item. - * Throws an error if the index is out of range (index < 0 || index >= size). - * Throws an error if the item is invalid for this list. - */ - set(index: number, item: V): void; - /** - * Removes all items from the list. - */ - clear(): void; - [Symbol.iterator](): IterableIterator; - entries(): IterableIterator<[number, V]>; - keys(): IterableIterator; - values(): IterableIterator; - [unsafeLocal]: unknown[]; -} -/** - * ReflectMap provides dynamic access and manipulation of a map field on a - * message. - * - * ReflectMap is iterable - you can loop through all entries with a for...of loop. - * - * Keys and values are converted or wrapped to make it easier to manipulate them: - * - A map field is a record object on a message, where keys are always strings. - * ReflectMap converts keys to their closest possible type in TypeScript. - * - Messages are wrapped in a ReflectMessage. - */ -export interface ReflectMap extends ReadonlyMap { - /** - * Returns the map field. - */ - field(): DescField & { - fieldKind: "map"; - }; - /** - * Removes the entry for the specified key. - * Returns false if the key is unknown. - */ - delete(key: K): boolean; - /** - * Sets or replaces the item at the specified key with the specified value. - * Throws an error if the key or value is invalid for this map. - */ - set(key: K, value: V): this; - /** - * Removes all entries from the map. - */ - clear(): void; - [unsafeLocal]: Record; -} -/** - * The return type of ReflectMessage.get() - */ -export type ReflectMessageGet = (Field extends { - fieldKind: "map"; -} ? ReflectMap : Field extends { - fieldKind: "list"; -} ? ReflectList : Field extends { - fieldKind: "enum"; -} ? number : Field extends { - fieldKind: "message"; -} ? ReflectMessage : Field extends { - fieldKind: "scalar"; - scalar: infer T; -} ? ScalarValue : never); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.js b/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.js deleted file mode 100644 index 532276a..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import {} from "../descriptors.js"; -import { unsafeLocal } from "./unsafe.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.d.ts deleted file mode 100644 index 3bfb1ad..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { type DescField, type DescMessage } from "../descriptors.js"; -import type { MessageShape } from "../types.js"; -import type { ReflectList, ReflectMap, ReflectMessage } from "./reflect-types.js"; -/** - * Create a ReflectMessage. - */ -export declare function reflect(messageDesc: Desc, message?: MessageShape, -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check?: boolean): ReflectMessage; -/** - * Create a ReflectList. - */ -export declare function reflectList(field: DescField & { - fieldKind: "list"; -}, unsafeInput?: unknown[], -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check?: boolean): ReflectList; -/** - * Create a ReflectMap. - */ -export declare function reflectMap(field: DescField & { - fieldKind: "map"; -}, unsafeInput?: Record, -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check?: boolean): ReflectMap; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js b/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js deleted file mode 100644 index 77a0086..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +++ /dev/null @@ -1,534 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { ScalarType, } from "../descriptors.js"; -import { checkField, checkListItem, checkMapEntry } from "./reflect-check.js"; -import { FieldError } from "./error.js"; -import { unsafeClear, unsafeGet, unsafeIsSet, unsafeLocal, unsafeOneofCase, unsafeSet, } from "./unsafe.js"; -import { create } from "../create.js"; -import { isWrapper, isWrapperDesc } from "../wkt/wrappers.js"; -import { scalarZeroValue } from "./scalar.js"; -import { protoInt64 } from "../proto-int64.js"; -import { isObject, isReflectList, isReflectMap, isReflectMessage, } from "./guard.js"; -/** - * Create a ReflectMessage. - */ -export function reflect(messageDesc, message, -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check = true) { - return new ReflectMessageImpl(messageDesc, message, check); -} -class ReflectMessageImpl { - get sortedFields() { - var _a; - return ((_a = this._sortedFields) !== null && _a !== void 0 ? _a : (this._sortedFields = this.desc.fields - .concat() - .sort((a, b) => a.number - b.number))); - } - constructor(messageDesc, message, check = true) { - this.lists = new Map(); - this.maps = new Map(); - this.check = check; - this.desc = messageDesc; - this.message = this[unsafeLocal] = message !== null && message !== void 0 ? message : create(messageDesc); - this.fields = messageDesc.fields; - this.oneofs = messageDesc.oneofs; - this.members = messageDesc.members; - } - findNumber(number) { - if (!this._fieldsByNumber) { - this._fieldsByNumber = new Map(this.desc.fields.map((f) => [f.number, f])); - } - return this._fieldsByNumber.get(number); - } - oneofCase(oneof) { - assertOwn(this.message, oneof); - return unsafeOneofCase(this.message, oneof); - } - isSet(field) { - assertOwn(this.message, field); - return unsafeIsSet(this.message, field); - } - clear(field) { - assertOwn(this.message, field); - unsafeClear(this.message, field); - } - get(field) { - assertOwn(this.message, field); - const value = unsafeGet(this.message, field); - switch (field.fieldKind) { - case "list": - // eslint-disable-next-line no-case-declarations - let list = this.lists.get(field); - if (!list || list[unsafeLocal] !== value) { - this.lists.set(field, (list = new ReflectListImpl(field, value, this.check))); - } - return list; - case "map": - // eslint-disable-next-line no-case-declarations - let map = this.maps.get(field); - if (!map || map[unsafeLocal] !== value) { - this.maps.set(field, (map = new ReflectMapImpl(field, value, this.check))); - } - return map; - case "message": - return messageToReflect(field, value, this.check); - case "scalar": - return (value === undefined - ? scalarZeroValue(field.scalar, false) - : longToReflect(field, value)); - case "enum": - return (value !== null && value !== void 0 ? value : field.enum.values[0].number); - } - } - set(field, value) { - assertOwn(this.message, field); - if (this.check) { - const err = checkField(field, value); - if (err) { - throw err; - } - } - let local; - if (field.fieldKind == "message") { - local = messageToLocal(field, value); - } - else if (isReflectMap(value) || isReflectList(value)) { - local = value[unsafeLocal]; - } - else { - local = longToLocal(field, value); - } - unsafeSet(this.message, field, local); - } - getUnknown() { - return this.message.$unknown; - } - setUnknown(value) { - this.message.$unknown = value; - } -} -function assertOwn(owner, member) { - if (member.parent.typeName !== owner.$typeName) { - throw new FieldError(member, `cannot use ${member.toString()} with message ${owner.$typeName}`, "ForeignFieldError"); - } -} -/** - * Create a ReflectList. - */ -export function reflectList(field, unsafeInput, -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check = true) { - return new ReflectListImpl(field, unsafeInput !== null && unsafeInput !== void 0 ? unsafeInput : [], check); -} -class ReflectListImpl { - field() { - return this._field; - } - get size() { - return this._arr.length; - } - constructor(field, unsafeInput, check) { - this._field = field; - this._arr = this[unsafeLocal] = unsafeInput; - this.check = check; - } - get(index) { - const item = this._arr[index]; - return item === undefined - ? undefined - : listItemToReflect(this._field, item, this.check); - } - set(index, item) { - if (index < 0 || index >= this._arr.length) { - throw new FieldError(this._field, `list item #${index + 1}: out of range`); - } - if (this.check) { - const err = checkListItem(this._field, index, item); - if (err) { - throw err; - } - } - this._arr[index] = listItemToLocal(this._field, item); - } - add(item) { - if (this.check) { - const err = checkListItem(this._field, this._arr.length, item); - if (err) { - throw err; - } - } - this._arr.push(listItemToLocal(this._field, item)); - return undefined; - } - clear() { - this._arr.splice(0, this._arr.length); - } - [Symbol.iterator]() { - return this.values(); - } - keys() { - return this._arr.keys(); - } - *values() { - for (const item of this._arr) { - yield listItemToReflect(this._field, item, this.check); - } - } - *entries() { - for (let i = 0; i < this._arr.length; i++) { - yield [i, listItemToReflect(this._field, this._arr[i], this.check)]; - } - } -} -/** - * Create a ReflectMap. - */ -export function reflectMap(field, unsafeInput, -/** - * By default, field values are validated when setting them. For example, - * a value for an uint32 field must be a ECMAScript Number >= 0. - * - * When field values are trusted, performance can be improved by disabling - * checks. - */ -check = true) { - return new ReflectMapImpl(field, unsafeInput, check); -} -class ReflectMapImpl { - constructor(field, unsafeInput, check = true) { - this.obj = this[unsafeLocal] = unsafeInput !== null && unsafeInput !== void 0 ? unsafeInput : {}; - this.check = check; - this._field = field; - } - field() { - return this._field; - } - set(key, value) { - if (this.check) { - const err = checkMapEntry(this._field, key, value); - if (err) { - throw err; - } - } - this.obj[mapKeyToLocal(key)] = mapValueToLocal(this._field, value); - return this; - } - delete(key) { - const k = mapKeyToLocal(key); - const has = Object.prototype.hasOwnProperty.call(this.obj, k); - if (has) { - delete this.obj[k]; - } - return has; - } - clear() { - for (const key of Object.keys(this.obj)) { - delete this.obj[key]; - } - } - get(key) { - let val = this.obj[mapKeyToLocal(key)]; - if (val !== undefined) { - val = mapValueToReflect(this._field, val, this.check); - } - return val; - } - has(key) { - return Object.prototype.hasOwnProperty.call(this.obj, mapKeyToLocal(key)); - } - *keys() { - for (const objKey of Object.keys(this.obj)) { - yield mapKeyToReflect(objKey, this._field.mapKey); - } - } - *entries() { - for (const objEntry of Object.entries(this.obj)) { - yield [ - mapKeyToReflect(objEntry[0], this._field.mapKey), - mapValueToReflect(this._field, objEntry[1], this.check), - ]; - } - } - [Symbol.iterator]() { - return this.entries(); - } - get size() { - return Object.keys(this.obj).length; - } - *values() { - for (const val of Object.values(this.obj)) { - yield mapValueToReflect(this._field, val, this.check); - } - } - forEach(callbackfn, thisArg) { - for (const mapEntry of this.entries()) { - callbackfn.call(thisArg, mapEntry[1], mapEntry[0], this); - } - } -} -function messageToLocal(field, value) { - if (!isReflectMessage(value)) { - return value; - } - if (isWrapper(value.message) && - !field.oneof && - field.fieldKind == "message") { - // Types from google/protobuf/wrappers.proto are unwrapped when used in - // a singular field that is not part of a oneof group. - return value.message.value; - } - if (value.desc.typeName == "google.protobuf.Struct" && - field.parent.typeName != "google.protobuf.Value") { - // google.protobuf.Struct is represented with JsonObject when used in a - // field, except when used in google.protobuf.Value. - return wktStructToLocal(value.message); - } - return value.message; -} -function messageToReflect(field, value, check) { - if (value !== undefined) { - if (isWrapperDesc(field.message) && - !field.oneof && - field.fieldKind == "message") { - // Types from google/protobuf/wrappers.proto are unwrapped when used in - // a singular field that is not part of a oneof group. - value = { - $typeName: field.message.typeName, - value: longToReflect(field.message.fields[0], value), - }; - } - else if (field.message.typeName == "google.protobuf.Struct" && - field.parent.typeName != "google.protobuf.Value" && - isObject(value)) { - // google.protobuf.Struct is represented with JsonObject when used in a - // field, except when used in google.protobuf.Value. - value = wktStructToReflect(value); - } - } - return new ReflectMessageImpl(field.message, value, check); -} -function listItemToLocal(field, value) { - if (field.listKind == "message") { - return messageToLocal(field, value); - } - return longToLocal(field, value); -} -function listItemToReflect(field, value, check) { - if (field.listKind == "message") { - return messageToReflect(field, value, check); - } - return longToReflect(field, value); -} -function mapValueToLocal(field, value) { - if (field.mapKind == "message") { - return messageToLocal(field, value); - } - return longToLocal(field, value); -} -function mapValueToReflect(field, value, check) { - if (field.mapKind == "message") { - return messageToReflect(field, value, check); - } - return value; -} -function mapKeyToLocal(key) { - return typeof key == "string" || typeof key == "number" ? key : String(key); -} -/** - * Converts a map key (any scalar value except float, double, or bytes) from its - * representation in a message (string or number, the only possible object key - * types) to the closest possible type in ECMAScript. - */ -function mapKeyToReflect(key, type) { - switch (type) { - case ScalarType.STRING: - return key; - case ScalarType.INT32: - case ScalarType.FIXED32: - case ScalarType.UINT32: - case ScalarType.SFIXED32: - case ScalarType.SINT32: { - const n = Number.parseInt(key); - if (Number.isFinite(n)) { - return n; - } - break; - } - case ScalarType.BOOL: - switch (key) { - case "true": - return true; - case "false": - return false; - } - break; - case ScalarType.UINT64: - case ScalarType.FIXED64: - try { - return protoInt64.uParse(key); - } - catch (_a) { - // - } - break; - default: - // INT64, SFIXED64, SINT64 - try { - return protoInt64.parse(key); - } - catch (_b) { - // - } - break; - } - return key; -} -function longToReflect(field, value) { - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (field.scalar) { - case ScalarType.INT64: - case ScalarType.SFIXED64: - case ScalarType.SINT64: - if ("longAsString" in field && - field.longAsString && - typeof value == "string") { - value = protoInt64.parse(value); - } - break; - case ScalarType.FIXED64: - case ScalarType.UINT64: - if ("longAsString" in field && - field.longAsString && - typeof value == "string") { - value = protoInt64.uParse(value); - } - break; - } - return value; -} -function longToLocal(field, value) { - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (field.scalar) { - case ScalarType.INT64: - case ScalarType.SFIXED64: - case ScalarType.SINT64: - if ("longAsString" in field && field.longAsString) { - value = String(value); - } - else if (typeof value == "string" || typeof value == "number") { - value = protoInt64.parse(value); - } - break; - case ScalarType.FIXED64: - case ScalarType.UINT64: - if ("longAsString" in field && field.longAsString) { - value = String(value); - } - else if (typeof value == "string" || typeof value == "number") { - value = protoInt64.uParse(value); - } - break; - } - return value; -} -function wktStructToReflect(json) { - const struct = { - $typeName: "google.protobuf.Struct", - fields: {}, - }; - if (isObject(json)) { - for (const [k, v] of Object.entries(json)) { - struct.fields[k] = wktValueToReflect(v); - } - } - return struct; -} -function wktStructToLocal(val) { - const json = {}; - for (const [k, v] of Object.entries(val.fields)) { - json[k] = wktValueToLocal(v); - } - return json; -} -function wktValueToLocal(val) { - switch (val.kind.case) { - case "structValue": - return wktStructToLocal(val.kind.value); - case "listValue": - return val.kind.value.values.map(wktValueToLocal); - case "nullValue": - case undefined: - return null; - default: - return val.kind.value; - } -} -function wktValueToReflect(json) { - const value = { - $typeName: "google.protobuf.Value", - kind: { case: undefined }, - }; - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check -- invalid input is unselected kind - switch (typeof json) { - case "number": - value.kind = { case: "numberValue", value: json }; - break; - case "string": - value.kind = { case: "stringValue", value: json }; - break; - case "boolean": - value.kind = { case: "boolValue", value: json }; - break; - case "object": - if (json === null) { - const nullValue = 0; - value.kind = { case: "nullValue", value: nullValue }; - } - else if (Array.isArray(json)) { - const listValue = { - $typeName: "google.protobuf.ListValue", - values: [], - }; - if (Array.isArray(json)) { - for (const e of json) { - listValue.values.push(wktValueToReflect(e)); - } - } - value.kind = { - case: "listValue", - value: listValue, - }; - } - else { - value.kind = { - case: "structValue", - value: wktStructToReflect(json), - }; - } - break; - } - return value; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.d.ts deleted file mode 100644 index 16ac91f..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { ScalarType } from "../descriptors.js"; -/** - * ScalarValue maps from a scalar field type to a TypeScript value type. - */ -export type ScalarValue = T extends ScalarType.STRING ? string : T extends ScalarType.INT32 ? number : T extends ScalarType.UINT32 ? number : T extends ScalarType.SINT32 ? number : T extends ScalarType.FIXED32 ? number : T extends ScalarType.SFIXED32 ? number : T extends ScalarType.FLOAT ? number : T extends ScalarType.DOUBLE ? number : T extends ScalarType.INT64 ? LongAsString extends true ? string : bigint : T extends ScalarType.SINT64 ? LongAsString extends true ? string : bigint : T extends ScalarType.SFIXED64 ? LongAsString extends true ? string : bigint : T extends ScalarType.UINT64 ? LongAsString extends true ? string : bigint : T extends ScalarType.FIXED64 ? LongAsString extends true ? string : bigint : T extends ScalarType.BOOL ? boolean : T extends ScalarType.BYTES ? Uint8Array : never; -/** - * Returns true if both scalar values are equal. - */ -export declare function scalarEquals(type: ScalarType, a: ScalarValue | undefined, b: ScalarValue | undefined): boolean; -/** - * Returns the zero value for the given scalar type. - */ -export declare function scalarZeroValue(type: T, longAsString: LongAsString): ScalarValue; -/** - * Returns true for a zero-value. For example, an integer has the zero-value `0`, - * a boolean is `false`, a string is `""`, and bytes is an empty Uint8Array. - * - * In proto3, zero-values are not written to the wire, unless the field is - * optional or repeated. - */ -export declare function isScalarZeroValue(type: ScalarType, value: unknown): boolean; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js b/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js deleted file mode 100644 index d6eea20..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { protoInt64 } from "../proto-int64.js"; -import { ScalarType } from "../descriptors.js"; -/** - * Returns true if both scalar values are equal. - */ -export function scalarEquals(type, a, b) { - if (a === b) { - // This correctly matches equal values except BYTES and (possibly) 64-bit integers. - return true; - } - // Special case BYTES - we need to compare each byte individually - if (type == ScalarType.BYTES) { - if (!(a instanceof Uint8Array) || !(b instanceof Uint8Array)) { - return false; - } - if (a.length !== b.length) { - return false; - } - for (let i = 0; i < a.length; i++) { - if (a[i] !== b[i]) { - return false; - } - } - return true; - } - // Special case 64-bit integers - we support number, string and bigint representation. - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (type) { - case ScalarType.UINT64: - case ScalarType.FIXED64: - case ScalarType.INT64: - case ScalarType.SFIXED64: - case ScalarType.SINT64: - // Loose comparison will match between 0n, 0 and "0". - return a == b; - } - // Anything that hasn't been caught by strict comparison or special cased - // BYTES and 64-bit integers is not equal. - return false; -} -/** - * Returns the zero value for the given scalar type. - */ -export function scalarZeroValue(type, longAsString) { - switch (type) { - case ScalarType.STRING: - return ""; - case ScalarType.BOOL: - return false; - default: - // Handles INT32, UINT32, SINT32, FIXED32, SFIXED32. - // We do not use individual cases to save a few bytes code size. - return 0; - case ScalarType.DOUBLE: - case ScalarType.FLOAT: - return 0.0; - case ScalarType.INT64: - case ScalarType.UINT64: - case ScalarType.SFIXED64: - case ScalarType.FIXED64: - case ScalarType.SINT64: - return (longAsString ? "0" : protoInt64.zero); - case ScalarType.BYTES: - return new Uint8Array(0); - } -} -/** - * Returns true for a zero-value. For example, an integer has the zero-value `0`, - * a boolean is `false`, a string is `""`, and bytes is an empty Uint8Array. - * - * In proto3, zero-values are not written to the wire, unless the field is - * optional or repeated. - */ -export function isScalarZeroValue(type, value) { - switch (type) { - case ScalarType.BOOL: - return value === false; - case ScalarType.STRING: - return value === ""; - case ScalarType.BYTES: - return value instanceof Uint8Array && !value.byteLength; - default: - return value == 0; // Loose comparison matches 0n, 0 and "0" - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.d.ts deleted file mode 100644 index 4c97a8c..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { DescField, DescOneof } from "../descriptors.js"; -export declare const unsafeLocal: unique symbol; -/** - * Return the selected field of a oneof group. - * - * @private - */ -export declare function unsafeOneofCase(target: Record, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -oneof: DescOneof): DescField | undefined; -/** - * Returns true if the field is set. - * - * @private - */ -export declare function unsafeIsSet(target: Record, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -field: DescField): boolean; -/** - * Returns true if the field is set, but only for singular fields with explicit - * presence (proto2). - * - * @private - */ -export declare function unsafeIsSetExplicit(target: object, localName: string): boolean; -/** - * Return a field value, respecting oneof groups. - * - * @private - */ -export declare function unsafeGet(target: Record, field: DescField): unknown; -/** - * Set a field value, respecting oneof groups. - * - * @private - */ -export declare function unsafeSet(target: Record, field: DescField, value: unknown): void; -/** - * Resets the field, so that unsafeIsSet() will return false. - * - * @private - */ -export declare function unsafeClear(target: Record, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -field: DescField): void; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js b/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js deleted file mode 100644 index d1238b2..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { isScalarZeroValue, scalarZeroValue } from "./scalar.js"; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.IMPLICIT: const $name: FeatureSet_FieldPresence.$localName = $number; -const IMPLICIT = 2; -export const unsafeLocal = Symbol.for("reflect unsafe local"); -/** - * Return the selected field of a oneof group. - * - * @private - */ -export function unsafeOneofCase(target, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -oneof) { - const c = target[oneof.localName].case; - if (c === undefined) { - return c; - } - return oneof.fields.find((f) => f.localName === c); -} -/** - * Returns true if the field is set. - * - * @private - */ -export function unsafeIsSet(target, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -field) { - const name = field.localName; - if (field.oneof) { - return target[field.oneof.localName].case === name; // eslint-disable-line @typescript-eslint/no-unsafe-member-access - } - if (field.presence != IMPLICIT) { - // Fields with explicit presence have properties on the prototype chain - // for default / zero values (except for proto3). - return (target[name] !== undefined && - Object.prototype.hasOwnProperty.call(target, name)); - } - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (field.fieldKind) { - case "list": - return target[name].length > 0; - case "map": - return Object.keys(target[name]).length > 0; // eslint-disable-line @typescript-eslint/no-unsafe-argument - case "scalar": - return !isScalarZeroValue(field.scalar, target[name]); - case "enum": - return target[name] !== field.enum.values[0].number; - } - throw new Error("message field with implicit presence"); -} -/** - * Returns true if the field is set, but only for singular fields with explicit - * presence (proto2). - * - * @private - */ -export function unsafeIsSetExplicit(target, localName) { - return (Object.prototype.hasOwnProperty.call(target, localName) && - target[localName] !== undefined); -} -/** - * Return a field value, respecting oneof groups. - * - * @private - */ -export function unsafeGet(target, field) { - if (field.oneof) { - const oneof = target[field.oneof.localName]; - if (oneof.case === field.localName) { - return oneof.value; - } - return undefined; - } - return target[field.localName]; -} -/** - * Set a field value, respecting oneof groups. - * - * @private - */ -export function unsafeSet(target, field, value) { - if (field.oneof) { - target[field.oneof.localName] = { - case: field.localName, - value: value, - }; - } - else { - target[field.localName] = value; - } -} -/** - * Resets the field, so that unsafeIsSet() will return false. - * - * @private - */ -export function unsafeClear(target, // eslint-disable-line @typescript-eslint/no-explicit-any -- `any` is the best choice for dynamic access -field) { - const name = field.localName; - if (field.oneof) { - const oneofLocalName = field.oneof.localName; - if (target[oneofLocalName].case === name) { - target[oneofLocalName] = { case: undefined }; - } - } - else if (field.presence != IMPLICIT) { - // Fields with explicit presence have properties on the prototype chain - // for default / zero values (except for proto3). By deleting their own - // property, the field is reset. - delete target[name]; - } - else { - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (field.fieldKind) { - case "map": - target[name] = {}; - break; - case "list": - target[name] = []; - break; - case "enum": - target[name] = field.enum.values[0].number; - break; - case "scalar": - target[name] = scalarZeroValue(field.scalar, field.longAsString); - break; - } - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/registry.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/registry.d.ts deleted file mode 100644 index 4a1b5ae..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/registry.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -import type { FileDescriptorProto, FileDescriptorSet } from "./wkt/gen/google/protobuf/descriptor_pb.js"; -import { type DescEnum, type DescExtension, type DescFile, type DescMessage, type DescService, type SupportedEdition } from "./descriptors.js"; -/** - * A set of descriptors for messages, enumerations, extensions, - * and services. - */ -export interface Registry { - readonly kind: "registry"; - /** - * All types (message, enumeration, extension, or service) contained - * in this registry. - */ - [Symbol.iterator](): IterableIterator; - /** - * Look up a type (message, enumeration, extension, or service) by - * its fully qualified name. - */ - get(typeName: string): DescMessage | DescEnum | DescExtension | DescService | undefined; - /** - * Look up a message descriptor by its fully qualified name. - */ - getMessage(typeName: string): DescMessage | undefined; - /** - * Look up an enumeration descriptor by its fully qualified name. - */ - getEnum(typeName: string): DescEnum | undefined; - /** - * Look up an extension descriptor by its fully qualified name. - */ - getExtension(typeName: string): DescExtension | undefined; - /** - * Look up an extension by the extendee - the message it extends - and - * the extension number. - */ - getExtensionFor(extendee: DescMessage, no: number): DescExtension | undefined; - /** - * Look up a service descriptor by its fully qualified name. - */ - getService(typeName: string): DescService | undefined; -} -/** - * A registry that allows adding and removing descriptors. - */ -export interface MutableRegistry extends Registry { - /** - * Adds the given descriptor - but not types nested within - to the registry. - */ - add(desc: DescMessage | DescEnum | DescExtension | DescService): void; - /** - * Remove the given descriptor - but not types nested within - from the registry. - */ - remove(desc: DescMessage | DescEnum | DescExtension | DescService): void; -} -/** - * A registry that includes files. - */ -export interface FileRegistry extends Registry { - /** - * All files in this registry. - */ - readonly files: Iterable; - /** - * Look up a file descriptor by file name. - */ - getFile(fileName: string): DescFile | undefined; -} -/** - * Create a registry from the given inputs. - * - * An input can be: - * - Any message, enum, service, or extension descriptor, which adds just the - * descriptor for this type. - * - A file descriptor, which adds all typed defined in this file. - * - A registry, which adds all types from the registry. - * - * For duplicate descriptors (same type name), the one given last wins. - */ -export declare function createRegistry(...input: (Registry | DescFile | DescMessage | DescEnum | DescExtension | DescService)[]): Registry; -/** - * Create a registry that allows adding and removing descriptors. - */ -export declare function createMutableRegistry(...input: (Registry | DescFile | DescMessage | DescEnum | DescExtension | DescService)[]): MutableRegistry; -/** - * Create a registry (including file descriptors) from a google.protobuf.FileDescriptorSet - * message. - */ -export declare function createFileRegistry(fileDescriptorSet: FileDescriptorSet): FileRegistry; -/** - * Create a registry (including file descriptors) from a google.protobuf.FileDescriptorProto - * message. For every import, the given resolver function is called. - */ -export declare function createFileRegistry(fileDescriptorProto: FileDescriptorProto, resolve: (protoFileName: string) => FileDescriptorProto | DescFile | undefined): FileRegistry; -/** - * Create a registry (including file descriptors) from one or more registries, - * merging them. - */ -export declare function createFileRegistry(...registries: FileRegistry[]): FileRegistry; -export declare const minimumEdition: SupportedEdition, maximumEdition: SupportedEdition; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/registry.js b/node_modules/@bufbuild/protobuf/dist/esm/registry.js deleted file mode 100644 index ed4ebcd..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/registry.js +++ /dev/null @@ -1,905 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { ScalarType, } from "./descriptors.js"; -import { parseTextFormatEnumValue, parseTextFormatScalarValue, } from "./wire/text-format.js"; -import { nestedTypes } from "./reflect/nested-types.js"; -import { unsafeIsSetExplicit } from "./reflect/unsafe.js"; -import { protoCamelCase, safeObjectProperty } from "./reflect/names.js"; -/** - * Create a registry from the given inputs. - * - * An input can be: - * - Any message, enum, service, or extension descriptor, which adds just the - * descriptor for this type. - * - A file descriptor, which adds all typed defined in this file. - * - A registry, which adds all types from the registry. - * - * For duplicate descriptors (same type name), the one given last wins. - */ -export function createRegistry(...input) { - return initBaseRegistry(input); -} -/** - * Create a registry that allows adding and removing descriptors. - */ -export function createMutableRegistry(...input) { - const reg = initBaseRegistry(input); - return Object.assign(Object.assign({}, reg), { remove(desc) { - var _a; - if (desc.kind == "extension") { - (_a = reg.extendees.get(desc.extendee.typeName)) === null || _a === void 0 ? void 0 : _a.delete(desc.number); - } - reg.types.delete(desc.typeName); - } }); -} -export function createFileRegistry(...args) { - const registry = createBaseRegistry(); - if (!args.length) { - return registry; - } - if ("$typeName" in args[0] && - args[0].$typeName == "google.protobuf.FileDescriptorSet") { - for (const file of args[0].file) { - addFile(file, registry); - } - return registry; - } - if ("$typeName" in args[0]) { - const input = args[0]; - const resolve = args[1]; - const seen = new Set(); - // eslint-disable-next-line no-inner-declarations - function recurseDeps(file) { - const deps = []; - for (const protoFileName of file.dependency) { - if (registry.getFile(protoFileName) != undefined) { - continue; - } - if (seen.has(protoFileName)) { - continue; - } - const dep = resolve(protoFileName); - if (!dep) { - throw new Error(`Unable to resolve ${protoFileName}, imported by ${file.name}`); - } - if ("kind" in dep) { - registry.addFile(dep, false, true); - } - else { - seen.add(dep.name); - deps.push(dep); - } - } - return deps.concat(...deps.map(recurseDeps)); - } - for (const file of [input, ...recurseDeps(input)].reverse()) { - addFile(file, registry); - } - } - else { - for (const fileReg of args) { - for (const file of fileReg.files) { - registry.addFile(file); - } - } - } - return registry; -} -/** - * @private - */ -function createBaseRegistry() { - const types = new Map(); - const extendees = new Map(); - const files = new Map(); - return { - kind: "registry", - types, - extendees, - [Symbol.iterator]() { - return types.values(); - }, - get files() { - return files.values(); - }, - addFile(file, skipTypes, withDeps) { - files.set(file.proto.name, file); - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - if (!skipTypes) { - for (const type of nestedTypes(file)) { - this.add(type); - } - } - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - if (withDeps) { - for (const f of file.dependencies) { - this.addFile(f, skipTypes, withDeps); - } - } - }, - add(desc) { - if (desc.kind == "extension") { - let numberToExt = extendees.get(desc.extendee.typeName); - if (!numberToExt) { - extendees.set(desc.extendee.typeName, (numberToExt = new Map())); - } - numberToExt.set(desc.number, desc); - } - types.set(desc.typeName, desc); - }, - get(typeName) { - return types.get(typeName); - }, - getFile(fileName) { - return files.get(fileName); - }, - getMessage(typeName) { - const t = types.get(typeName); - return (t === null || t === void 0 ? void 0 : t.kind) == "message" ? t : undefined; - }, - getEnum(typeName) { - const t = types.get(typeName); - return (t === null || t === void 0 ? void 0 : t.kind) == "enum" ? t : undefined; - }, - getExtension(typeName) { - const t = types.get(typeName); - return (t === null || t === void 0 ? void 0 : t.kind) == "extension" ? t : undefined; - }, - getExtensionFor(extendee, no) { - var _a; - return (_a = extendees.get(extendee.typeName)) === null || _a === void 0 ? void 0 : _a.get(no); - }, - getService(typeName) { - const t = types.get(typeName); - return (t === null || t === void 0 ? void 0 : t.kind) == "service" ? t : undefined; - }, - }; -} -/** - * @private - */ -function initBaseRegistry(inputs) { - const registry = createBaseRegistry(); - for (const input of inputs) { - switch (input.kind) { - case "registry": - for (const n of input) { - registry.add(n); - } - break; - case "file": - registry.addFile(input); - break; - default: - registry.add(input); - break; - } - } - return registry; -} -// bootstrap-inject google.protobuf.Edition.EDITION_PROTO2: const $name: Edition.$localName = $number; -const EDITION_PROTO2 = 998; -// bootstrap-inject google.protobuf.Edition.EDITION_PROTO3: const $name: Edition.$localName = $number; -const EDITION_PROTO3 = 999; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Type.TYPE_STRING: const $name: FieldDescriptorProto_Type.$localName = $number; -const TYPE_STRING = 9; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Type.TYPE_GROUP: const $name: FieldDescriptorProto_Type.$localName = $number; -const TYPE_GROUP = 10; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Type.TYPE_MESSAGE: const $name: FieldDescriptorProto_Type.$localName = $number; -const TYPE_MESSAGE = 11; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Type.TYPE_BYTES: const $name: FieldDescriptorProto_Type.$localName = $number; -const TYPE_BYTES = 12; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Type.TYPE_ENUM: const $name: FieldDescriptorProto_Type.$localName = $number; -const TYPE_ENUM = 14; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Label.LABEL_REPEATED: const $name: FieldDescriptorProto_Label.$localName = $number; -const LABEL_REPEATED = 3; -// bootstrap-inject google.protobuf.FieldDescriptorProto.Label.LABEL_REQUIRED: const $name: FieldDescriptorProto_Label.$localName = $number; -const LABEL_REQUIRED = 2; -// bootstrap-inject google.protobuf.FieldOptions.JSType.JS_STRING: const $name: FieldOptions_JSType.$localName = $number; -const JS_STRING = 1; -// bootstrap-inject google.protobuf.MethodOptions.IdempotencyLevel.IDEMPOTENCY_UNKNOWN: const $name: MethodOptions_IdempotencyLevel.$localName = $number; -const IDEMPOTENCY_UNKNOWN = 0; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.EXPLICIT: const $name: FeatureSet_FieldPresence.$localName = $number; -const EXPLICIT = 1; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.IMPLICIT: const $name: FeatureSet_FieldPresence.$localName = $number; -const IMPLICIT = 2; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.LEGACY_REQUIRED: const $name: FeatureSet_FieldPresence.$localName = $number; -const LEGACY_REQUIRED = 3; -// bootstrap-inject google.protobuf.FeatureSet.RepeatedFieldEncoding.PACKED: const $name: FeatureSet_RepeatedFieldEncoding.$localName = $number; -const PACKED = 1; -// bootstrap-inject google.protobuf.FeatureSet.MessageEncoding.DELIMITED: const $name: FeatureSet_MessageEncoding.$localName = $number; -const DELIMITED = 2; -// bootstrap-inject google.protobuf.FeatureSet.EnumType.OPEN: const $name: FeatureSet_EnumType.$localName = $number; -const OPEN = 1; -// prettier-ignore -// bootstrap-inject defaults: EDITION_PROTO2 to EDITION_2023: export const minimumEdition: SupportedEdition = $minimumEdition, maximumEdition: SupportedEdition = $maximumEdition; -// generated from protoc v27.0 -export const minimumEdition = 998, maximumEdition = 1000; -const featureDefaults = { - // EDITION_PROTO2 - 998: { - fieldPresence: 1, // EXPLICIT, - enumType: 2, // CLOSED, - repeatedFieldEncoding: 2, // EXPANDED, - utf8Validation: 3, // NONE, - messageEncoding: 1, // LENGTH_PREFIXED, - jsonFormat: 2, // LEGACY_BEST_EFFORT, - }, - // EDITION_PROTO3 - 999: { - fieldPresence: 2, // IMPLICIT, - enumType: 1, // OPEN, - repeatedFieldEncoding: 1, // PACKED, - utf8Validation: 2, // VERIFY, - messageEncoding: 1, // LENGTH_PREFIXED, - jsonFormat: 1, // ALLOW, - }, - // EDITION_2023 - 1000: { - fieldPresence: 1, // EXPLICIT, - enumType: 1, // OPEN, - repeatedFieldEncoding: 1, // PACKED, - utf8Validation: 2, // VERIFY, - messageEncoding: 1, // LENGTH_PREFIXED, - jsonFormat: 1, // ALLOW, - }, -}; -/** - * Create a descriptor for a file, add it to the registry. - */ -function addFile(proto, reg) { - var _a, _b; - const file = { - kind: "file", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - edition: getFileEdition(proto), - name: proto.name.replace(/\.proto$/, ""), - dependencies: findFileDependencies(proto, reg), - enums: [], - messages: [], - extensions: [], - services: [], - toString() { - // eslint-disable-next-line @typescript-eslint/restrict-template-expressions -- we asserted above - return `file ${proto.name}`; - }, - }; - const mapEntriesStore = new Map(); - const mapEntries = { - get(typeName) { - return mapEntriesStore.get(typeName); - }, - add(desc) { - var _a; - assert(((_a = desc.proto.options) === null || _a === void 0 ? void 0 : _a.mapEntry) === true); - mapEntriesStore.set(desc.typeName, desc); - }, - }; - for (const enumProto of proto.enumType) { - addEnum(enumProto, file, undefined, reg); - } - for (const messageProto of proto.messageType) { - addMessage(messageProto, file, undefined, reg, mapEntries); - } - for (const serviceProto of proto.service) { - addService(serviceProto, file, reg); - } - addExtensions(file, reg); - for (const mapEntry of mapEntriesStore.values()) { - // to create a map field, we need access to the map entry's fields - addFields(mapEntry, reg, mapEntries); - } - for (const message of file.messages) { - addFields(message, reg, mapEntries); - addExtensions(message, reg); - } - reg.addFile(file, true); -} -/** - * Create descriptors for extensions, and add them to the message / file, - * and to our cart. - * Recurses into nested types. - */ -function addExtensions(desc, reg) { - switch (desc.kind) { - case "file": - for (const proto of desc.proto.extension) { - const ext = newField(proto, desc, reg); - desc.extensions.push(ext); - reg.add(ext); - } - break; - case "message": - for (const proto of desc.proto.extension) { - const ext = newField(proto, desc, reg); - desc.nestedExtensions.push(ext); - reg.add(ext); - } - for (const message of desc.nestedMessages) { - addExtensions(message, reg); - } - break; - } -} -/** - * Create descriptors for fields and oneof groups, and add them to the message. - * Recurses into nested types. - */ -function addFields(message, reg, mapEntries) { - const allOneofs = message.proto.oneofDecl.map((proto) => newOneof(proto, message)); - const oneofsSeen = new Set(); - for (const proto of message.proto.field) { - const oneof = findOneof(proto, allOneofs); - const field = newField(proto, message, reg, oneof, mapEntries); - message.fields.push(field); - message.field[field.localName] = field; - if (oneof === undefined) { - message.members.push(field); - } - else { - oneof.fields.push(field); - if (!oneofsSeen.has(oneof)) { - oneofsSeen.add(oneof); - message.members.push(oneof); - } - } - } - for (const oneof of allOneofs.filter((o) => oneofsSeen.has(o))) { - message.oneofs.push(oneof); - } - for (const child of message.nestedMessages) { - addFields(child, reg, mapEntries); - } -} -/** - * Create a descriptor for an enumeration, and add it our cart and to the - * parent type, if any. - */ -function addEnum(proto, file, parent, reg) { - var _a, _b, _c; - const sharedPrefix = findEnumSharedPrefix(proto.name, proto.value); - const desc = { - kind: "enum", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - file, - parent, - open: true, - name: proto.name, - typeName: makeTypeName(proto, parent, file), - value: {}, - values: [], - sharedPrefix, - toString() { - return `enum ${this.typeName}`; - }, - }; - desc.open = isEnumOpen(desc); - reg.add(desc); - proto.value.forEach((proto) => { - var _a, _b; - const name = proto.name; - desc.values.push((desc.value[proto.number] = { - kind: "enum_value", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - parent: desc, - name, - localName: safeObjectProperty(sharedPrefix == undefined - ? name - : name.substring(sharedPrefix.length)), - number: proto.number, - toString() { - return `enum value ${desc.typeName}.${name}`; - }, - })); - }); - ((_c = parent === null || parent === void 0 ? void 0 : parent.nestedEnums) !== null && _c !== void 0 ? _c : file.enums).push(desc); -} -/** - * Create a descriptor for a message, including nested types, and add it to our - * cart. Note that this does not create descriptors fields. - */ -function addMessage(proto, file, parent, reg, mapEntries) { - var _a, _b, _c, _d; - const desc = { - kind: "message", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - file, - parent, - name: proto.name, - typeName: makeTypeName(proto, parent, file), - fields: [], - field: {}, - oneofs: [], - members: [], - nestedEnums: [], - nestedMessages: [], - nestedExtensions: [], - toString() { - return `message ${this.typeName}`; - }, - }; - if (((_c = proto.options) === null || _c === void 0 ? void 0 : _c.mapEntry) === true) { - mapEntries.add(desc); - } - else { - ((_d = parent === null || parent === void 0 ? void 0 : parent.nestedMessages) !== null && _d !== void 0 ? _d : file.messages).push(desc); - reg.add(desc); - } - for (const enumProto of proto.enumType) { - addEnum(enumProto, file, desc, reg); - } - for (const messageProto of proto.nestedType) { - addMessage(messageProto, file, desc, reg, mapEntries); - } -} -/** - * Create a descriptor for a service, including methods, and add it to our - * cart. - */ -function addService(proto, file, reg) { - var _a, _b; - const desc = { - kind: "service", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - file, - name: proto.name, - typeName: makeTypeName(proto, undefined, file), - methods: [], - method: {}, - toString() { - return `service ${this.typeName}`; - }, - }; - file.services.push(desc); - reg.add(desc); - for (const methodProto of proto.method) { - const method = newMethod(methodProto, desc, reg); - desc.methods.push(method); - desc.method[method.localName] = method; - } -} -/** - * Create a descriptor for a method. - */ -function newMethod(proto, parent, reg) { - var _a, _b, _c, _d; - let methodKind; - if (proto.clientStreaming && proto.serverStreaming) { - methodKind = "bidi_streaming"; - } - else if (proto.clientStreaming) { - methodKind = "client_streaming"; - } - else if (proto.serverStreaming) { - methodKind = "server_streaming"; - } - else { - methodKind = "unary"; - } - const input = reg.getMessage(trimLeadingDot(proto.inputType)); - const output = reg.getMessage(trimLeadingDot(proto.outputType)); - assert(input, `invalid MethodDescriptorProto: input_type ${proto.inputType} not found`); - assert(output, `invalid MethodDescriptorProto: output_type ${proto.inputType} not found`); - const name = proto.name; - return { - kind: "rpc", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - parent, - name, - localName: safeObjectProperty(name.length - ? safeObjectProperty(name[0].toLowerCase() + name.substring(1)) - : name), - methodKind, - input, - output, - idempotency: (_d = (_c = proto.options) === null || _c === void 0 ? void 0 : _c.idempotencyLevel) !== null && _d !== void 0 ? _d : IDEMPOTENCY_UNKNOWN, - toString() { - return `rpc ${parent.typeName}.${name}`; - }, - }; -} -/** - * Create a descriptor for a oneof group. - */ -function newOneof(proto, parent) { - return { - kind: "oneof", - proto, - deprecated: false, - parent, - fields: [], - name: proto.name, - localName: safeObjectProperty(protoCamelCase(proto.name)), - toString() { - return `oneof ${parent.typeName}.${this.name}`; - }, - }; -} -function newField(proto, parentOrFile, reg, oneof, mapEntries) { - var _a, _b, _c; - const isExtension = mapEntries === undefined; - const field = { - kind: "field", - proto, - deprecated: (_b = (_a = proto.options) === null || _a === void 0 ? void 0 : _a.deprecated) !== null && _b !== void 0 ? _b : false, - name: proto.name, - number: proto.number, - scalar: undefined, - message: undefined, - enum: undefined, - presence: getFieldPresence(proto, oneof, isExtension, parentOrFile), - listKind: undefined, - mapKind: undefined, - mapKey: undefined, - delimitedEncoding: undefined, - packed: undefined, - longAsString: false, - getDefaultValue: undefined, - }; - if (isExtension) { - // extension field - const file = parentOrFile.kind == "file" ? parentOrFile : parentOrFile.file; - const parent = parentOrFile.kind == "file" ? undefined : parentOrFile; - const typeName = makeTypeName(proto, parent, file); - field.kind = "extension"; - field.file = file; - field.parent = parent; - field.oneof = undefined; - field.typeName = typeName; - field.jsonName = `[${typeName}]`; // option json_name is not allowed on extension fields - field.toString = () => `extension ${typeName}`; - const extendee = reg.getMessage(trimLeadingDot(proto.extendee)); - assert(extendee, `invalid FieldDescriptorProto: extendee ${proto.extendee} not found`); - field.extendee = extendee; - } - else { - // regular field - const parent = parentOrFile; - assert(parent.kind == "message"); - field.parent = parent; - field.oneof = oneof; - field.localName = oneof - ? protoCamelCase(proto.name) - : safeObjectProperty(protoCamelCase(proto.name)); - field.jsonName = proto.jsonName; - field.toString = () => `field ${parent.typeName}.${proto.name}`; - } - const label = proto.label; - const type = proto.type; - const jstype = (_c = proto.options) === null || _c === void 0 ? void 0 : _c.jstype; - if (label === LABEL_REPEATED) { - // list or map field - const mapEntry = type == TYPE_MESSAGE - ? mapEntries === null || mapEntries === void 0 ? void 0 : mapEntries.get(trimLeadingDot(proto.typeName)) - : undefined; - if (mapEntry) { - // map field - field.fieldKind = "map"; - const { key, value } = findMapEntryFields(mapEntry); - field.mapKey = key.scalar; - field.mapKind = value.fieldKind; - field.message = value.message; - field.delimitedEncoding = false; // map fields are always LENGTH_PREFIXED - field.enum = value.enum; - field.scalar = value.scalar; - return field; - } - // list field - field.fieldKind = "list"; - switch (type) { - case TYPE_MESSAGE: - case TYPE_GROUP: - field.listKind = "message"; - field.message = reg.getMessage(trimLeadingDot(proto.typeName)); - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - assert(field.message); - field.delimitedEncoding = isDelimitedEncoding(proto, parentOrFile); - break; - case TYPE_ENUM: - field.listKind = "enum"; - field.enum = reg.getEnum(trimLeadingDot(proto.typeName)); - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - assert(field.enum); - break; - default: - field.listKind = "scalar"; - field.scalar = type; - field.longAsString = jstype == JS_STRING; - break; - } - field.packed = isPackedField(proto, parentOrFile); - return field; - } - // singular - switch (type) { - case TYPE_MESSAGE: - case TYPE_GROUP: - field.fieldKind = "message"; - field.message = reg.getMessage(trimLeadingDot(proto.typeName)); - assert( - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - field.message, `invalid FieldDescriptorProto: type_name ${proto.typeName} not found`); - field.delimitedEncoding = isDelimitedEncoding(proto, parentOrFile); - field.getDefaultValue = () => undefined; - break; - case TYPE_ENUM: { - const enumeration = reg.getEnum(trimLeadingDot(proto.typeName)); - assert(enumeration !== undefined, `invalid FieldDescriptorProto: type_name ${proto.typeName} not found`); - field.fieldKind = "enum"; - field.enum = reg.getEnum(trimLeadingDot(proto.typeName)); - field.getDefaultValue = () => { - return unsafeIsSetExplicit(proto, "defaultValue") - ? parseTextFormatEnumValue(enumeration, proto.defaultValue) - : undefined; - }; - break; - } - default: { - field.fieldKind = "scalar"; - field.scalar = type; - field.longAsString = jstype == JS_STRING; - field.getDefaultValue = () => { - return unsafeIsSetExplicit(proto, "defaultValue") - ? parseTextFormatScalarValue(type, proto.defaultValue) - : undefined; - }; - break; - } - } - return field; -} -/** - * Parse the "syntax" and "edition" fields, returning one of the supported - * editions. - */ -function getFileEdition(proto) { - switch (proto.syntax) { - case "": - case "proto2": - return EDITION_PROTO2; - case "proto3": - return EDITION_PROTO3; - case "editions": - if (proto.edition in featureDefaults) { - return proto.edition; - } - throw new Error(`${proto.name}: unsupported edition`); - default: - throw new Error(`${proto.name}: unsupported syntax "${proto.syntax}"`); - } -} -/** - * Resolve dependencies of FileDescriptorProto to DescFile. - */ -function findFileDependencies(proto, reg) { - return proto.dependency.map((wantName) => { - const dep = reg.getFile(wantName); - if (!dep) { - throw new Error(`Cannot find ${wantName}, imported by ${proto.name}`); - } - return dep; - }); -} -/** - * Finds a prefix shared by enum values, for example `my_enum_` for - * `enum MyEnum {MY_ENUM_A=0; MY_ENUM_B=1;}`. - */ -function findEnumSharedPrefix(enumName, values) { - const prefix = camelToSnakeCase(enumName) + "_"; - for (const value of values) { - if (!value.name.toLowerCase().startsWith(prefix)) { - return undefined; - } - const shortName = value.name.substring(prefix.length); - if (shortName.length == 0) { - return undefined; - } - if (/^\d/.test(shortName)) { - // identifiers must not start with numbers - return undefined; - } - } - return prefix; -} -/** - * Converts lowerCamelCase or UpperCamelCase into lower_snake_case. - * This is used to find shared prefixes in an enum. - */ -function camelToSnakeCase(camel) { - return (camel.substring(0, 1) + camel.substring(1).replace(/[A-Z]/g, (c) => "_" + c)).toLowerCase(); -} -/** - * Create a fully qualified name for a protobuf type or extension field. - * - * The fully qualified name for messages, enumerations, and services is - * constructed by concatenating the package name (if present), parent - * message names (for nested types), and the type name. We omit the leading - * dot added by protobuf compilers. Examples: - * - mypackage.MyMessage - * - mypackage.MyMessage.NestedMessage - * - * The fully qualified name for extension fields is constructed by - * concatenating the package name (if present), parent message names (for - * extensions declared within a message), and the field name. Examples: - * - mypackage.extfield - * - mypackage.MyMessage.extfield - */ -function makeTypeName(proto, parent, file) { - let typeName; - if (parent) { - typeName = `${parent.typeName}.${proto.name}`; - } - else if (file.proto.package.length > 0) { - typeName = `${file.proto.package}.${proto.name}`; - } - else { - typeName = `${proto.name}`; - } - return typeName; -} -/** - * Remove the leading dot from a fully qualified type name. - */ -function trimLeadingDot(typeName) { - return typeName.startsWith(".") ? typeName.substring(1) : typeName; -} -/** - * Did the user put the field in a oneof group? - * Synthetic oneofs for proto3 optionals are ignored. - */ -function findOneof(proto, allOneofs) { - if (!unsafeIsSetExplicit(proto, "oneofIndex")) { - return undefined; - } - if (proto.proto3Optional) { - return undefined; - } - const oneof = allOneofs[proto.oneofIndex]; - assert( - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions - oneof, `invalid FieldDescriptorProto: oneof #${proto.oneofIndex} for field #${proto.number} not found`); - return oneof; -} -/** - * Presence of the field. - * See https://protobuf.dev/programming-guides/field_presence/ - */ -function getFieldPresence(proto, oneof, isExtension, parent) { - if (proto.label == LABEL_REQUIRED) { - // proto2 required is LEGACY_REQUIRED - return LEGACY_REQUIRED; - } - if (proto.label == LABEL_REPEATED) { - // repeated fields (including maps) do not track presence - return IMPLICIT; - } - if (!!oneof || proto.proto3Optional) { - // oneof is always explicit - return EXPLICIT; - } - if (proto.type == TYPE_MESSAGE) { - // singular message field cannot be implicit - return EXPLICIT; - } - if (isExtension) { - // extensions always track presence - return EXPLICIT; - } - return resolveFeature("fieldPresence", { proto, parent }); -} -/** - * Pack this repeated field? - */ -function isPackedField(proto, parent) { - if (proto.label != LABEL_REPEATED) { - return false; - } - // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check - switch (proto.type) { - case TYPE_STRING: - case TYPE_BYTES: - case TYPE_GROUP: - case TYPE_MESSAGE: - // length-delimited types cannot be packed - return false; - } - const o = proto.options; - if (o && unsafeIsSetExplicit(o, "packed")) { - // prefer the field option over edition features - return o.packed; - } - return (PACKED == - resolveFeature("repeatedFieldEncoding", { - proto, - parent, - })); -} -/** - * Find the key and value fields of a synthetic map entry message. - */ -function findMapEntryFields(mapEntry) { - const key = mapEntry.fields.find((f) => f.number === 1); - const value = mapEntry.fields.find((f) => f.number === 2); - assert(key && - key.fieldKind == "scalar" && - key.scalar != ScalarType.BYTES && - key.scalar != ScalarType.FLOAT && - key.scalar != ScalarType.DOUBLE && - value && - value.fieldKind != "list" && - value.fieldKind != "map"); - return { key, value }; -} -/** - * Enumerations can be open or closed. - * See https://protobuf.dev/programming-guides/enum/ - */ -function isEnumOpen(desc) { - var _a; - return (OPEN == - resolveFeature("enumType", { - proto: desc.proto, - parent: (_a = desc.parent) !== null && _a !== void 0 ? _a : desc.file, - })); -} -/** - * Encode the message delimited (a.k.a. proto2 group encoding), or - * length-prefixed? - */ -function isDelimitedEncoding(proto, parent) { - if (proto.type == TYPE_GROUP) { - return true; - } - return (DELIMITED == - resolveFeature("messageEncoding", { - proto, - parent, - })); -} -function resolveFeature(name, ref) { - var _a, _b; - const featureSet = (_a = ref.proto.options) === null || _a === void 0 ? void 0 : _a.features; - if (featureSet) { - const val = featureSet[name]; - if (val != 0) { - return val; - } - } - if ("kind" in ref) { - if (ref.kind == "message") { - return resolveFeature(name, (_b = ref.parent) !== null && _b !== void 0 ? _b : ref.file); - } - const editionDefaults = featureDefaults[ref.edition]; - if (!editionDefaults) { - throw new Error(`feature default for edition ${ref.edition} not found`); - } - return editionDefaults[name]; - } - return resolveFeature(name, ref.parent); -} -/** - * Assert that condition is truthy or throw error (with message) - */ -function assert(condition, msg) { - // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions -- we want the implicit conversion to boolean - if (!condition) { - throw new Error(msg); - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/to-binary.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/to-binary.d.ts deleted file mode 100644 index 8832dca..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/to-binary.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import type { MessageShape } from "./types.js"; -import { BinaryWriter } from "./wire/binary-encoding.js"; -import { type DescField, type DescMessage } from "./descriptors.js"; -import type { ReflectMessage } from "./reflect/index.js"; -/** - * Options for serializing to binary data. - * - * V1 also had the option `readerFactory` for using a custom implementation to - * encode to binary. - */ -export interface BinaryWriteOptions { - /** - * Include unknown fields in the serialized output? The default behavior - * is to retain unknown fields and include them in the serialized output. - * - * For more details see https://developers.google.com/protocol-buffers/docs/proto3#unknowns - */ - writeUnknownFields: boolean; -} -export declare function toBinary(schema: Desc, message: MessageShape, options?: Partial): Uint8Array; -/** - * @private - */ -export declare function writeField(writer: BinaryWriter, opts: BinaryWriteOptions, msg: ReflectMessage, field: DescField): void; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js b/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js deleted file mode 100644 index fb3a525..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +++ /dev/null @@ -1,187 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { reflect } from "./reflect/reflect.js"; -import { BinaryWriter, WireType } from "./wire/binary-encoding.js"; -import { ScalarType } from "./descriptors.js"; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.LEGACY_REQUIRED: const $name: FeatureSet_FieldPresence.$localName = $number; -const LEGACY_REQUIRED = 3; -// Default options for serializing binary data. -const writeDefaults = { - writeUnknownFields: true, -}; -function makeWriteOptions(options) { - return options ? Object.assign(Object.assign({}, writeDefaults), options) : writeDefaults; -} -export function toBinary(schema, message, options) { - return writeFields(new BinaryWriter(), makeWriteOptions(options), reflect(schema, message)).finish(); -} -function writeFields(writer, opts, msg) { - var _a; - for (const f of msg.sortedFields) { - if (!msg.isSet(f)) { - if (f.presence == LEGACY_REQUIRED) { - throw new Error(`cannot encode field ${msg.desc.typeName}.${f.name} to binary: required field not set`); - } - continue; - } - writeField(writer, opts, msg, f); - } - if (opts.writeUnknownFields) { - for (const { no, wireType, data } of (_a = msg.getUnknown()) !== null && _a !== void 0 ? _a : []) { - writer.tag(no, wireType).raw(data); - } - } - return writer; -} -/** - * @private - */ -export function writeField(writer, opts, msg, field) { - var _a; - switch (field.fieldKind) { - case "scalar": - case "enum": - writeScalar(writer, (_a = field.scalar) !== null && _a !== void 0 ? _a : ScalarType.INT32, field.number, msg.get(field)); - break; - case "list": - writeListField(writer, opts, field, msg.get(field)); - break; - case "message": - writeMessageField(writer, opts, field, msg.get(field)); - break; - case "map": - for (const [key, val] of msg.get(field)) { - writeMapEntry(writer, opts, field, key, val); - } - break; - } -} -function writeScalar(writer, scalarType, fieldNo, value) { - writeScalarValue(writer.tag(fieldNo, writeTypeOfScalar(scalarType)), scalarType, value); -} -function writeMessageField(writer, opts, field, message) { - if (field.delimitedEncoding) { - writeFields(writer.tag(field.number, WireType.StartGroup), opts, message).tag(field.number, WireType.EndGroup); - } - else { - writeFields(writer.tag(field.number, WireType.LengthDelimited).fork(), opts, message).join(); - } -} -function writeListField(writer, opts, field, list) { - var _a; - if (field.listKind == "message") { - for (const item of list) { - writeMessageField(writer, opts, field, item); - } - return; - } - const scalarType = (_a = field.scalar) !== null && _a !== void 0 ? _a : ScalarType.INT32; - if (field.packed) { - if (!list.size) { - return; - } - writer.tag(field.number, WireType.LengthDelimited).fork(); - for (const item of list) { - writeScalarValue(writer, scalarType, item); - } - writer.join(); - return; - } - for (const item of list) { - writeScalar(writer, scalarType, field.number, item); - } -} -function writeMapEntry(writer, opts, field, key, value) { - var _a; - writer.tag(field.number, WireType.LengthDelimited).fork(); - // write key, expecting key field number = 1 - writeScalar(writer, field.mapKey, 1, key); - // write value, expecting value field number = 2 - switch (field.mapKind) { - case "scalar": - case "enum": - writeScalar(writer, (_a = field.scalar) !== null && _a !== void 0 ? _a : ScalarType.INT32, 2, value); - break; - case "message": - writeFields(writer.tag(2, WireType.LengthDelimited).fork(), opts, value).join(); - break; - } - writer.join(); -} -function writeScalarValue(writer, type, value) { - switch (type) { - case ScalarType.STRING: - writer.string(value); - break; - case ScalarType.BOOL: - writer.bool(value); - break; - case ScalarType.DOUBLE: - writer.double(value); - break; - case ScalarType.FLOAT: - writer.float(value); - break; - case ScalarType.INT32: - writer.int32(value); - break; - case ScalarType.INT64: - writer.int64(value); - break; - case ScalarType.UINT64: - writer.uint64(value); - break; - case ScalarType.FIXED64: - writer.fixed64(value); - break; - case ScalarType.BYTES: - writer.bytes(value); - break; - case ScalarType.FIXED32: - writer.fixed32(value); - break; - case ScalarType.SFIXED32: - writer.sfixed32(value); - break; - case ScalarType.SFIXED64: - writer.sfixed64(value); - break; - case ScalarType.SINT64: - writer.sint64(value); - break; - case ScalarType.UINT32: - writer.uint32(value); - break; - case ScalarType.SINT32: - writer.sint32(value); - break; - } -} -function writeTypeOfScalar(type) { - switch (type) { - case ScalarType.BYTES: - case ScalarType.STRING: - return WireType.LengthDelimited; - case ScalarType.DOUBLE: - case ScalarType.FIXED64: - case ScalarType.SFIXED64: - return WireType.Bit64; - case ScalarType.FIXED32: - case ScalarType.SFIXED32: - case ScalarType.FLOAT: - return WireType.Bit32; - default: - return WireType.Varint; - } -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/to-json.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/to-json.d.ts deleted file mode 100644 index 540881e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/to-json.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { type DescEnum, type DescMessage } from "./descriptors.js"; -import type { JsonValue } from "./json-value.js"; -import type { Registry } from "./registry.js"; -import type { EnumJsonType, EnumShape, MessageJsonType, MessageShape } from "./types.js"; -/** - * Options for serializing to JSON. - */ -export interface JsonWriteOptions { - /** - * By default, fields with implicit presence are not serialized if they are - * unset. For example, an empty list field or a proto3 int32 field with 0 is - * not serialized. With this option enabled, such fields are included in the - * output. - */ - alwaysEmitImplicit: boolean; - /** - * Emit enum values as integers instead of strings: The name of an enum - * value is used by default in JSON output. An option may be provided to - * use the numeric value of the enum value instead. - */ - enumAsInteger: boolean; - /** - * Use proto field name instead of lowerCamelCase name: By default proto3 - * JSON printer should convert the field name to lowerCamelCase and use - * that as the JSON name. An implementation may provide an option to use - * proto field name as the JSON name instead. Proto3 JSON parsers are - * required to accept both the converted lowerCamelCase name and the proto - * field name. - */ - useProtoFieldName: boolean; - /** - * This option is required to write `google.protobuf.Any` and extensions - * to JSON format. - */ - registry?: Registry; -} -/** - * Options for serializing to JSON. - */ -export interface JsonWriteStringOptions extends JsonWriteOptions { - prettySpaces: number; -} -/** - * Serialize the message to a JSON value, a JavaScript value that can be - * passed to JSON.stringify(). - */ -export declare function toJson | undefined = undefined>(schema: Desc, message: MessageShape, options?: Opts): ToJson; -type ToJson> = Opts extends undefined | { - alwaysEmitImplicit?: false; - enumAsInteger?: false; - useProtoFieldName?: false; -} ? MessageJsonType : JsonValue; -/** - * Serialize the message to a JSON string. - */ -export declare function toJsonString(schema: Desc, message: MessageShape, options?: Partial): string; -/** - * Serialize a single enum value to JSON. - */ -export declare function enumToJson(descEnum: Desc, value: EnumShape): EnumJsonType; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/to-json.js b/node_modules/@bufbuild/protobuf/dist/esm/to-json.js deleted file mode 100644 index ccac194..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +++ /dev/null @@ -1,384 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { ScalarType, } from "./descriptors.js"; -import { protoCamelCase } from "./reflect/names.js"; -import { reflect } from "./reflect/reflect.js"; -import { anyUnpack } from "./wkt/index.js"; -import { isWrapperDesc } from "./wkt/wrappers.js"; -import { base64Encode } from "./wire/index.js"; -import { createExtensionContainer, getExtension } from "./extensions.js"; -import { checkField, formatVal } from "./reflect/reflect-check.js"; -/* eslint-disable @typescript-eslint/restrict-template-expressions */ -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.LEGACY_REQUIRED: const $name: FeatureSet_FieldPresence.$localName = $number; -const LEGACY_REQUIRED = 3; -// bootstrap-inject google.protobuf.FeatureSet.FieldPresence.IMPLICIT: const $name: FeatureSet_FieldPresence.$localName = $number; -const IMPLICIT = 2; -// Default options for serializing to JSON. -const jsonWriteDefaults = { - alwaysEmitImplicit: false, - enumAsInteger: false, - useProtoFieldName: false, -}; -function makeWriteOptions(options) { - return options ? Object.assign(Object.assign({}, jsonWriteDefaults), options) : jsonWriteDefaults; -} -/** - * Serialize the message to a JSON value, a JavaScript value that can be - * passed to JSON.stringify(). - */ -export function toJson(schema, message, options) { - return reflectToJson(reflect(schema, message), makeWriteOptions(options)); -} -/** - * Serialize the message to a JSON string. - */ -export function toJsonString(schema, message, options) { - var _a; - const jsonValue = toJson(schema, message, options); - return JSON.stringify(jsonValue, null, (_a = options === null || options === void 0 ? void 0 : options.prettySpaces) !== null && _a !== void 0 ? _a : 0); -} -/** - * Serialize a single enum value to JSON. - */ -export function enumToJson(descEnum, value) { - var _a; - if (descEnum.typeName == "google.protobuf.NullValue") { - return null; - } - const name = (_a = descEnum.value[value]) === null || _a === void 0 ? void 0 : _a.name; - if (name === undefined) { - throw new Error(`${String(value)} is not a value in ${descEnum.toString()}`); - } - return name; -} -function reflectToJson(msg, opts) { - var _a; - const wktJson = tryWktToJson(msg, opts); - if (wktJson !== undefined) - return wktJson; - const json = {}; - for (const f of msg.sortedFields) { - if (!msg.isSet(f)) { - if (f.presence == LEGACY_REQUIRED) { - throw new Error(`cannot encode field ${msg.desc.typeName}.${f.name} to JSON: required field not set`); - } - if (!opts.alwaysEmitImplicit || f.presence !== IMPLICIT) { - // Fields with implicit presence omit zero values (e.g. empty string) by default - continue; - } - } - const jsonValue = fieldToJson(f, msg.get(f), opts); - if (jsonValue !== undefined) { - json[jsonName(f, opts)] = jsonValue; - } - } - if (opts.registry) { - const tagSeen = new Set(); - for (const uf of (_a = msg.getUnknown()) !== null && _a !== void 0 ? _a : []) { - // Same tag can appear multiple times, so we - // keep track and skip identical ones. - if (tagSeen.has(uf.no)) { - continue; - } - const extension = opts.registry.getExtensionFor(msg.desc, uf.no); - if (!extension) { - continue; - } - const value = getExtension(msg.message, extension); - const [container, field] = createExtensionContainer(extension, value); - const jsonValue = fieldToJson(field, container.get(field), opts); - if (jsonValue !== undefined) { - json[extension.jsonName] = jsonValue; - } - } - } - return json; -} -function fieldToJson(f, val, opts) { - switch (f.fieldKind) { - case "scalar": - return scalarToJson(f, val); - case "message": - return reflectToJson(val, opts); - case "enum": - return enumToJsonInternal(f.enum, val, opts.enumAsInteger); - case "list": - return listToJson(val, opts); - case "map": - return mapToJson(val, opts); - } -} -function mapToJson(map, opts) { - const f = map.field(); - const jsonObj = {}; - switch (f.mapKind) { - case "scalar": - for (const [entryKey, entryValue] of map) { - jsonObj[entryKey] = scalarToJson(f, entryValue); - } - break; - case "message": - for (const [entryKey, entryValue] of map) { - jsonObj[entryKey] = reflectToJson(entryValue, opts); - } - break; - case "enum": - for (const [entryKey, entryValue] of map) { - jsonObj[entryKey] = enumToJsonInternal(f.enum, entryValue, opts.enumAsInteger); - } - break; - } - return opts.alwaysEmitImplicit || map.size > 0 ? jsonObj : undefined; -} -function listToJson(list, opts) { - const f = list.field(); - const jsonArr = []; - switch (f.listKind) { - case "scalar": - for (const item of list) { - jsonArr.push(scalarToJson(f, item)); - } - break; - case "enum": - for (const item of list) { - jsonArr.push(enumToJsonInternal(f.enum, item, opts.enumAsInteger)); - } - break; - case "message": - for (const item of list) { - jsonArr.push(reflectToJson(item, opts)); - } - break; - } - return opts.alwaysEmitImplicit || jsonArr.length > 0 ? jsonArr : undefined; -} -function enumToJsonInternal(desc, value, enumAsInteger) { - var _a; - if (typeof value != "number") { - throw new Error(`cannot encode ${desc} to JSON: expected number, got ${formatVal(value)}`); - } - if (desc.typeName == "google.protobuf.NullValue") { - return null; - } - if (enumAsInteger) { - return value; - } - const val = desc.value[value]; - return (_a = val === null || val === void 0 ? void 0 : val.name) !== null && _a !== void 0 ? _a : value; // if we don't know the enum value, just return the number -} -function scalarToJson(field, value) { - var _a, _b, _c, _d, _e, _f; - switch (field.scalar) { - // int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted. - case ScalarType.INT32: - case ScalarType.SFIXED32: - case ScalarType.SINT32: - case ScalarType.FIXED32: - case ScalarType.UINT32: - if (typeof value != "number") { - throw new Error(`cannot encode ${field} to JSON: ${(_a = checkField(field, value)) === null || _a === void 0 ? void 0 : _a.message}`); - } - return value; - // float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity". - // Either numbers or strings are accepted. Exponent notation is also accepted. - case ScalarType.FLOAT: - case ScalarType.DOUBLE: // eslint-disable-line no-fallthrough - if (typeof value != "number") { - throw new Error(`cannot encode ${field} to JSON: ${(_b = checkField(field, value)) === null || _b === void 0 ? void 0 : _b.message}`); - } - if (isNaN(value)) - return "NaN"; - if (value === Number.POSITIVE_INFINITY) - return "Infinity"; - if (value === Number.NEGATIVE_INFINITY) - return "-Infinity"; - return value; - // string: - case ScalarType.STRING: - if (typeof value != "string") { - throw new Error(`cannot encode ${field} to JSON: ${(_c = checkField(field, value)) === null || _c === void 0 ? void 0 : _c.message}`); - } - return value; - // bool: - case ScalarType.BOOL: - if (typeof value != "boolean") { - throw new Error(`cannot encode ${field} to JSON: ${(_d = checkField(field, value)) === null || _d === void 0 ? void 0 : _d.message}`); - } - return value; - // JSON value will be a decimal string. Either numbers or strings are accepted. - case ScalarType.UINT64: - case ScalarType.FIXED64: - case ScalarType.INT64: - case ScalarType.SFIXED64: - case ScalarType.SINT64: - if (typeof value != "bigint" && typeof value != "string") { - throw new Error(`cannot encode ${field} to JSON: ${(_e = checkField(field, value)) === null || _e === void 0 ? void 0 : _e.message}`); - } - return value.toString(); - // bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings. - // Either standard or URL-safe base64 encoding with/without paddings are accepted. - case ScalarType.BYTES: - if (value instanceof Uint8Array) { - return base64Encode(value); - } - throw new Error(`cannot encode ${field} to JSON: ${(_f = checkField(field, value)) === null || _f === void 0 ? void 0 : _f.message}`); - } -} -function jsonName(f, opts) { - return opts.useProtoFieldName ? f.name : f.jsonName; -} -// returns a json value if wkt, otherwise returns undefined. -function tryWktToJson(msg, opts) { - if (!msg.desc.typeName.startsWith("google.protobuf.")) { - return undefined; - } - switch (msg.desc.typeName) { - case "google.protobuf.Any": - return anyToJson(msg.message, opts); - case "google.protobuf.Timestamp": - return timestampToJson(msg.message); - case "google.protobuf.Duration": - return durationToJson(msg.message); - case "google.protobuf.FieldMask": - return fieldMaskToJson(msg.message); - case "google.protobuf.Struct": - return structToJson(msg.message); - case "google.protobuf.Value": - return valueToJson(msg.message); - case "google.protobuf.ListValue": - return listValueToJson(msg.message); - default: - if (isWrapperDesc(msg.desc)) { - const valueField = msg.desc.fields[0]; - return scalarToJson(valueField, msg.get(valueField)); - } - return undefined; - } -} -function anyToJson(val, opts) { - if (val.typeUrl === "") { - return {}; - } - const { registry } = opts; - let message; - let desc; - if (registry) { - message = anyUnpack(val, registry); - if (message) { - desc = registry.getMessage(message.$typeName); - } - } - if (!desc || !message) { - throw new Error(`cannot encode message ${val.$typeName} to JSON: "${val.typeUrl}" is not in the type registry`); - } - let json = reflectToJson(reflect(desc, message), opts); - if (desc.typeName.startsWith("google.protobuf.") || - json === null || - Array.isArray(json) || - typeof json !== "object") { - json = { value: json }; - } - json["@type"] = val.typeUrl; - return json; -} -function durationToJson(val) { - if (Number(val.seconds) > 315576000000 || - Number(val.seconds) < -315576000000) { - throw new Error(`cannot encode message ${val.$typeName} to JSON: value out of range`); - } - let text = val.seconds.toString(); - if (val.nanos !== 0) { - let nanosStr = Math.abs(val.nanos).toString(); - nanosStr = "0".repeat(9 - nanosStr.length) + nanosStr; - if (nanosStr.substring(3) === "000000") { - nanosStr = nanosStr.substring(0, 3); - } - else if (nanosStr.substring(6) === "000") { - nanosStr = nanosStr.substring(0, 6); - } - text += "." + nanosStr; - if (val.nanos < 0 && Number(val.seconds) == 0) { - text = "-" + text; - } - } - return text + "s"; -} -function fieldMaskToJson(val) { - return val.paths - .map((p) => { - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - if (p.match(/_[0-9]?_/g) || p.match(/[A-Z]/g)) { - throw new Error(`cannot encode message ${val.$typeName} to JSON: lowerCamelCase of path name "` + - p + - '" is irreversible'); - } - return protoCamelCase(p); - }) - .join(","); -} -function structToJson(val) { - const json = {}; - for (const [k, v] of Object.entries(val.fields)) { - json[k] = valueToJson(v); - } - return json; -} -function valueToJson(val) { - switch (val.kind.case) { - case "nullValue": - return null; - case "numberValue": - if (!Number.isFinite(val.kind.value)) { - throw new Error(`${val.$typeName} cannot be NaN or Infinity`); - } - return val.kind.value; - case "boolValue": - return val.kind.value; - case "stringValue": - return val.kind.value; - case "structValue": - return structToJson(val.kind.value); - case "listValue": - return listValueToJson(val.kind.value); - default: - throw new Error(`${val.$typeName} must have a value`); - } -} -function listValueToJson(val) { - return val.values.map(valueToJson); -} -function timestampToJson(val) { - const ms = Number(val.seconds) * 1000; - if (ms < Date.parse("0001-01-01T00:00:00Z") || - ms > Date.parse("9999-12-31T23:59:59Z")) { - throw new Error(`cannot encode message ${val.$typeName} to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive`); - } - if (val.nanos < 0) { - throw new Error(`cannot encode message ${val.$typeName} to JSON: nanos must not be negative`); - } - let z = "Z"; - if (val.nanos > 0) { - const nanosStr = (val.nanos + 1000000000).toString().substring(1); - if (nanosStr.substring(3) === "000000") { - z = "." + nanosStr.substring(0, 3) + "Z"; - } - else if (nanosStr.substring(6) === "000") { - z = "." + nanosStr.substring(0, 6) + "Z"; - } - else { - z = "." + nanosStr + "Z"; - } - } - return new Date(ms).toISOString().replace(".000Z", z); -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/types.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/types.d.ts deleted file mode 100644 index ab2b804..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/types.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import type { GenEnum, GenExtension, GenMessage } from "./codegenv1/types.js"; -import type { DescEnum, DescExtension, DescMessage } from "./descriptors.js"; -import type { OneofADT } from "./reflect/guard.js"; -import type { WireType } from "./wire/index.js"; -import type { JsonValue } from "./json-value.js"; -/** - * The type `Message` contains the properties shared by all messages. - */ -export type Message = { - /** - * The fully qualified Protobuf type-name of the message. - */ - readonly $typeName: TypeName; - /** - * Unknown fields and extensions stored on the message. - */ - $unknown?: UnknownField[]; -}; -/** - * Extract the message type from a message descriptor. - */ -export type MessageShape = Desc extends GenMessage ? RuntimeShape : Message; -/** - * Extract the message JSON type from a message descriptor. - */ -export type MessageJsonType = Desc extends GenMessage ? JsonType : JsonValue; -/** - * Extract the init type from a message descriptor. - * The init type is accepted by the function create(). - */ -export type MessageInitShape = Desc extends GenMessage ? RuntimeShape | MessageInit : Record; -/** - * Extract the enum type of from an enum descriptor. - */ -export type EnumShape = Desc extends GenEnum ? RuntimeShape : number; -/** - * Extract the enum JSON type from a enum descriptor. - */ -export type EnumJsonType = Desc extends GenEnum ? JsonType : string | null; -/** - * Extract the value type from an extension descriptor. - */ -export type ExtensionValueShape = Desc extends GenExtension ? RuntimeShape : unknown; -/** - * Extract the type of the extended message from an extension descriptor. - */ -export type Extendee = Desc extends GenExtension ? Extendee : Message; -/** - * Unknown fields are fields that were not recognized during parsing, or - * extension. - */ -export type UnknownField = { - readonly no: number; - readonly wireType: WireType; - readonly data: Uint8Array; -}; -/** - * The init type for a message, which makes all fields optional. - * The init type is accepted by the function create(). - */ -type MessageInit = { - [P in keyof T as P extends "$typeName" | "$unknown" ? never : P]?: FieldInit; -}; -type FieldInit = F extends (Date | Uint8Array | bigint | boolean | string | number) ? F : F extends Array ? Array> : F extends ReadonlyArray ? ReadonlyArray> : F extends Message ? MessageInit : F extends OneofSelectedMessage ? { - case: C; - value: MessageInit; -} : F extends OneofADT ? F : F extends MapWithMessage ? { - [key: string | number]: MessageInit; -} : F; -type MapWithMessage = { - [key: string | number]: V; -}; -type OneofSelectedMessage = { - case: K; - value: M; -}; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/types.js b/node_modules/@bufbuild/protobuf/dist/esm/types.js deleted file mode 100644 index 7ead94e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/types.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.d.ts deleted file mode 100644 index cf04e0a..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Decodes a base64 string to a byte array. - * - * - ignores white-space, including line breaks and tabs - * - allows inner padding (can decode concatenated base64 strings) - * - does not require padding - * - understands base64url encoding: - * "-" instead of "+", - * "_" instead of "/", - * no padding - */ -export declare function base64Decode(base64Str: string): Uint8Array; -/** - * Encode a byte array to a base64 string. - * - * By default, this function uses the standard base64 encoding with padding. - * - * To encode without padding, use encoding = "std_raw". - * - * To encode with the URL encoding, use encoding = "url", which replaces the - * characters +/ by their URL-safe counterparts -_, and omits padding. - */ -export declare function base64Encode(bytes: Uint8Array, encoding?: "std" | "std_raw" | "url"): string; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js b/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js deleted file mode 100644 index 0b19151..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -/* eslint-disable @typescript-eslint/ban-ts-comment, @typescript-eslint/no-unnecessary-condition, prefer-const */ -/** - * Decodes a base64 string to a byte array. - * - * - ignores white-space, including line breaks and tabs - * - allows inner padding (can decode concatenated base64 strings) - * - does not require padding - * - understands base64url encoding: - * "-" instead of "+", - * "_" instead of "/", - * no padding - */ -export function base64Decode(base64Str) { - const table = getDecodeTable(); - // estimate byte size, not accounting for inner padding and whitespace - let es = (base64Str.length * 3) / 4; - if (base64Str[base64Str.length - 2] == "=") - es -= 2; - else if (base64Str[base64Str.length - 1] == "=") - es -= 1; - let bytes = new Uint8Array(es), bytePos = 0, // position in byte array - groupPos = 0, // position in base64 group - b, // current byte - p = 0; // previous byte - for (let i = 0; i < base64Str.length; i++) { - b = table[base64Str.charCodeAt(i)]; - if (b === undefined) { - switch (base64Str[i]) { - // @ts-expect-error TS7029: Fallthrough case in switch - case "=": - groupPos = 0; // reset state when padding found - // eslint-disable-next-line no-fallthrough - case "\n": - case "\r": - case "\t": - case " ": - continue; // skip white-space, and padding - default: - throw Error("invalid base64 string"); - } - } - switch (groupPos) { - case 0: - p = b; - groupPos = 1; - break; - case 1: - bytes[bytePos++] = (p << 2) | ((b & 48) >> 4); - p = b; - groupPos = 2; - break; - case 2: - bytes[bytePos++] = ((p & 15) << 4) | ((b & 60) >> 2); - p = b; - groupPos = 3; - break; - case 3: - bytes[bytePos++] = ((p & 3) << 6) | b; - groupPos = 0; - break; - } - } - if (groupPos == 1) - throw Error("invalid base64 string"); - return bytes.subarray(0, bytePos); -} -/** - * Encode a byte array to a base64 string. - * - * By default, this function uses the standard base64 encoding with padding. - * - * To encode without padding, use encoding = "std_raw". - * - * To encode with the URL encoding, use encoding = "url", which replaces the - * characters +/ by their URL-safe counterparts -_, and omits padding. - */ -export function base64Encode(bytes, encoding = "std") { - const table = getEncodeTable(encoding); - const pad = encoding == "std"; - let base64 = "", groupPos = 0, // position in base64 group - b, // current byte - p = 0; // carry over from previous byte - for (let i = 0; i < bytes.length; i++) { - b = bytes[i]; - switch (groupPos) { - case 0: - base64 += table[b >> 2]; - p = (b & 3) << 4; - groupPos = 1; - break; - case 1: - base64 += table[p | (b >> 4)]; - p = (b & 15) << 2; - groupPos = 2; - break; - case 2: - base64 += table[p | (b >> 6)]; - base64 += table[b & 63]; - groupPos = 0; - break; - } - } - // add output padding - if (groupPos) { - base64 += table[p]; - if (pad) { - base64 += "="; - if (groupPos == 1) - base64 += "="; - } - } - return base64; -} -// lookup table from base64 character to byte -let encodeTableStd; -let encodeTableUrl; -// lookup table from base64 character *code* to byte because lookup by number is fast -let decodeTable; -function getEncodeTable(encoding) { - if (!encodeTableStd) { - encodeTableStd = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""); - encodeTableUrl = encodeTableStd.slice(0, -2).concat("-", "_"); - } - return encoding == "url" ? encodeTableUrl : encodeTableStd; -} -function getDecodeTable() { - if (!decodeTable) { - decodeTable = []; - const encodeTable = getEncodeTable("std"); - for (let i = 0; i < encodeTable.length; i++) - decodeTable[encodeTable[i].charCodeAt(0)] = i; - // support base64url variants - decodeTable["-".charCodeAt(0)] = encodeTable.indexOf("+"); - decodeTable["_".charCodeAt(0)] = encodeTable.indexOf("/"); - } - return decodeTable; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.d.ts deleted file mode 100644 index 6dc70f2..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.d.ts +++ /dev/null @@ -1,264 +0,0 @@ -/** - * Protobuf binary format wire types. - * - * A wire type provides just enough information to find the length of the - * following value. - * - * See https://developers.google.com/protocol-buffers/docs/encoding#structure - */ -export declare enum WireType { - /** - * Used for int32, int64, uint32, uint64, sint32, sint64, bool, enum - */ - Varint = 0, - /** - * Used for fixed64, sfixed64, double. - * Always 8 bytes with little-endian byte order. - */ - Bit64 = 1, - /** - * Used for string, bytes, embedded messages, packed repeated fields - * - * Only repeated numeric types (types which use the varint, 32-bit, - * or 64-bit wire types) can be packed. In proto3, such fields are - * packed by default. - */ - LengthDelimited = 2, - /** - * Start of a tag-delimited aggregate, such as a proto2 group, or a message - * in editions with message_encoding = DELIMITED. - */ - StartGroup = 3, - /** - * End of a tag-delimited aggregate. - */ - EndGroup = 4, - /** - * Used for fixed32, sfixed32, float. - * Always 4 bytes with little-endian byte order. - */ - Bit32 = 5 -} -/** - * Maximum value for a 32-bit floating point value (Protobuf FLOAT). - */ -export declare const FLOAT32_MAX = 3.4028234663852886e+38; -/** - * Minimum value for a 32-bit floating point value (Protobuf FLOAT). - */ -export declare const FLOAT32_MIN = -3.4028234663852886e+38; -/** - * Maximum value for an unsigned 32-bit integer (Protobuf UINT32, FIXED32). - */ -export declare const UINT32_MAX = 4294967295; -/** - * Maximum value for a signed 32-bit integer (Protobuf INT32, SFIXED32, SINT32). - */ -export declare const INT32_MAX = 2147483647; -/** - * Minimum value for a signed 32-bit integer (Protobuf INT32, SFIXED32, SINT32). - */ -export declare const INT32_MIN = -2147483648; -export declare class BinaryWriter { - private readonly encodeUtf8; - /** - * We cannot allocate a buffer for the entire output - * because we don't know it's size. - * - * So we collect smaller chunks of known size and - * concat them later. - * - * Use `raw()` to push data to this array. It will flush - * `buf` first. - */ - private chunks; - /** - * A growing buffer for byte values. If you don't know - * the size of the data you are writing, push to this - * array. - */ - protected buf: number[]; - /** - * Previous fork states. - */ - private stack; - constructor(encodeUtf8?: (text: string) => Uint8Array); - /** - * Return all bytes written and reset this writer. - */ - finish(): Uint8Array; - /** - * Start a new fork for length-delimited data like a message - * or a packed repeated field. - * - * Must be joined later with `join()`. - */ - fork(): this; - /** - * Join the last fork. Write its length and bytes, then - * return to the previous state. - */ - join(): this; - /** - * Writes a tag (field number and wire type). - * - * Equivalent to `uint32( (fieldNo << 3 | type) >>> 0 )`. - * - * Generated code should compute the tag ahead of time and call `uint32()`. - */ - tag(fieldNo: number, type: WireType): this; - /** - * Write a chunk of raw bytes. - */ - raw(chunk: Uint8Array): this; - /** - * Write a `uint32` value, an unsigned 32 bit varint. - */ - uint32(value: number): this; - /** - * Write a `int32` value, a signed 32 bit varint. - */ - int32(value: number): this; - /** - * Write a `bool` value, a variant. - */ - bool(value: boolean): this; - /** - * Write a `bytes` value, length-delimited arbitrary data. - */ - bytes(value: Uint8Array): this; - /** - * Write a `string` value, length-delimited data converted to UTF-8 text. - */ - string(value: string): this; - /** - * Write a `float` value, 32-bit floating point number. - */ - float(value: number): this; - /** - * Write a `double` value, a 64-bit floating point number. - */ - double(value: number): this; - /** - * Write a `fixed32` value, an unsigned, fixed-length 32-bit integer. - */ - fixed32(value: number): this; - /** - * Write a `sfixed32` value, a signed, fixed-length 32-bit integer. - */ - sfixed32(value: number): this; - /** - * Write a `sint32` value, a signed, zigzag-encoded 32-bit varint. - */ - sint32(value: number): this; - /** - * Write a `fixed64` value, a signed, fixed-length 64-bit integer. - */ - sfixed64(value: string | number | bigint): this; - /** - * Write a `fixed64` value, an unsigned, fixed-length 64 bit integer. - */ - fixed64(value: string | number | bigint): this; - /** - * Write a `int64` value, a signed 64-bit varint. - */ - int64(value: string | number | bigint): this; - /** - * Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint. - */ - sint64(value: string | number | bigint): this; - /** - * Write a `uint64` value, an unsigned 64-bit varint. - */ - uint64(value: string | number | bigint): this; -} -export declare class BinaryReader { - private readonly decodeUtf8; - /** - * Current position. - */ - pos: number; - /** - * Number of bytes available in this reader. - */ - readonly len: number; - protected readonly buf: Uint8Array; - private readonly view; - constructor(buf: Uint8Array, decodeUtf8?: (bytes: Uint8Array) => string); - /** - * Reads a tag - field number and wire type. - */ - tag(): [number, WireType]; - /** - * Skip one element and return the skipped data. - * - * When skipping StartGroup, provide the tags field number to check for - * matching field number in the EndGroup tag. - */ - skip(wireType: WireType, fieldNo?: number): Uint8Array; - protected varint64: () => [number, number]; - /** - * Throws error if position in byte array is out of range. - */ - protected assertBounds(): void; - /** - * Read a `uint32` field, an unsigned 32 bit varint. - */ - uint32: () => number; - /** - * Read a `int32` field, a signed 32 bit varint. - */ - int32(): number; - /** - * Read a `sint32` field, a signed, zigzag-encoded 32-bit varint. - */ - sint32(): number; - /** - * Read a `int64` field, a signed 64-bit varint. - */ - int64(): bigint | string; - /** - * Read a `uint64` field, an unsigned 64-bit varint. - */ - uint64(): bigint | string; - /** - * Read a `sint64` field, a signed, zig-zag-encoded 64-bit varint. - */ - sint64(): bigint | string; - /** - * Read a `bool` field, a variant. - */ - bool(): boolean; - /** - * Read a `fixed32` field, an unsigned, fixed-length 32-bit integer. - */ - fixed32(): number; - /** - * Read a `sfixed32` field, a signed, fixed-length 32-bit integer. - */ - sfixed32(): number; - /** - * Read a `fixed64` field, an unsigned, fixed-length 64 bit integer. - */ - fixed64(): bigint | string; - /** - * Read a `fixed64` field, a signed, fixed-length 64-bit integer. - */ - sfixed64(): bigint | string; - /** - * Read a `float` field, 32-bit floating point number. - */ - float(): number; - /** - * Read a `double` field, a 64-bit floating point number. - */ - double(): number; - /** - * Read a `bytes` field, length-delimited arbitrary data. - */ - bytes(): Uint8Array; - /** - * Read a `string` field, length-delimited data converted to UTF-8 text. - */ - string(): string; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js b/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js deleted file mode 100644 index f2293c0..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +++ /dev/null @@ -1,506 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { varint32read, varint32write, varint64read, varint64write, } from "./varint.js"; -import { protoInt64 } from "../proto-int64.js"; -import { getTextEncoding } from "./text-encoding.js"; -/* eslint-disable prefer-const,no-case-declarations,@typescript-eslint/restrict-plus-operands */ -/** - * Protobuf binary format wire types. - * - * A wire type provides just enough information to find the length of the - * following value. - * - * See https://developers.google.com/protocol-buffers/docs/encoding#structure - */ -export var WireType; -(function (WireType) { - /** - * Used for int32, int64, uint32, uint64, sint32, sint64, bool, enum - */ - WireType[WireType["Varint"] = 0] = "Varint"; - /** - * Used for fixed64, sfixed64, double. - * Always 8 bytes with little-endian byte order. - */ - WireType[WireType["Bit64"] = 1] = "Bit64"; - /** - * Used for string, bytes, embedded messages, packed repeated fields - * - * Only repeated numeric types (types which use the varint, 32-bit, - * or 64-bit wire types) can be packed. In proto3, such fields are - * packed by default. - */ - WireType[WireType["LengthDelimited"] = 2] = "LengthDelimited"; - /** - * Start of a tag-delimited aggregate, such as a proto2 group, or a message - * in editions with message_encoding = DELIMITED. - */ - WireType[WireType["StartGroup"] = 3] = "StartGroup"; - /** - * End of a tag-delimited aggregate. - */ - WireType[WireType["EndGroup"] = 4] = "EndGroup"; - /** - * Used for fixed32, sfixed32, float. - * Always 4 bytes with little-endian byte order. - */ - WireType[WireType["Bit32"] = 5] = "Bit32"; -})(WireType || (WireType = {})); -/** - * Maximum value for a 32-bit floating point value (Protobuf FLOAT). - */ -export const FLOAT32_MAX = 3.4028234663852886e38; -/** - * Minimum value for a 32-bit floating point value (Protobuf FLOAT). - */ -export const FLOAT32_MIN = -3.4028234663852886e38; -/** - * Maximum value for an unsigned 32-bit integer (Protobuf UINT32, FIXED32). - */ -export const UINT32_MAX = 0xffffffff; -/** - * Maximum value for a signed 32-bit integer (Protobuf INT32, SFIXED32, SINT32). - */ -export const INT32_MAX = 0x7fffffff; -/** - * Minimum value for a signed 32-bit integer (Protobuf INT32, SFIXED32, SINT32). - */ -export const INT32_MIN = -0x80000000; -export class BinaryWriter { - constructor(encodeUtf8 = getTextEncoding().encodeUtf8) { - this.encodeUtf8 = encodeUtf8; - /** - * Previous fork states. - */ - this.stack = []; - this.chunks = []; - this.buf = []; - } - /** - * Return all bytes written and reset this writer. - */ - finish() { - this.chunks.push(new Uint8Array(this.buf)); // flush the buffer - let len = 0; - for (let i = 0; i < this.chunks.length; i++) - len += this.chunks[i].length; - let bytes = new Uint8Array(len); - let offset = 0; - for (let i = 0; i < this.chunks.length; i++) { - bytes.set(this.chunks[i], offset); - offset += this.chunks[i].length; - } - this.chunks = []; - return bytes; - } - /** - * Start a new fork for length-delimited data like a message - * or a packed repeated field. - * - * Must be joined later with `join()`. - */ - fork() { - this.stack.push({ chunks: this.chunks, buf: this.buf }); - this.chunks = []; - this.buf = []; - return this; - } - /** - * Join the last fork. Write its length and bytes, then - * return to the previous state. - */ - join() { - // get chunk of fork - let chunk = this.finish(); - // restore previous state - let prev = this.stack.pop(); - if (!prev) - throw new Error("invalid state, fork stack empty"); - this.chunks = prev.chunks; - this.buf = prev.buf; - // write length of chunk as varint - this.uint32(chunk.byteLength); - return this.raw(chunk); - } - /** - * Writes a tag (field number and wire type). - * - * Equivalent to `uint32( (fieldNo << 3 | type) >>> 0 )`. - * - * Generated code should compute the tag ahead of time and call `uint32()`. - */ - tag(fieldNo, type) { - return this.uint32(((fieldNo << 3) | type) >>> 0); - } - /** - * Write a chunk of raw bytes. - */ - raw(chunk) { - if (this.buf.length) { - this.chunks.push(new Uint8Array(this.buf)); - this.buf = []; - } - this.chunks.push(chunk); - return this; - } - /** - * Write a `uint32` value, an unsigned 32 bit varint. - */ - uint32(value) { - assertUInt32(value); - // write value as varint 32, inlined for speed - while (value > 0x7f) { - this.buf.push((value & 0x7f) | 0x80); - value = value >>> 7; - } - this.buf.push(value); - return this; - } - /** - * Write a `int32` value, a signed 32 bit varint. - */ - int32(value) { - assertInt32(value); - varint32write(value, this.buf); - return this; - } - /** - * Write a `bool` value, a variant. - */ - bool(value) { - this.buf.push(value ? 1 : 0); - return this; - } - /** - * Write a `bytes` value, length-delimited arbitrary data. - */ - bytes(value) { - this.uint32(value.byteLength); // write length of chunk as varint - return this.raw(value); - } - /** - * Write a `string` value, length-delimited data converted to UTF-8 text. - */ - string(value) { - let chunk = this.encodeUtf8(value); - this.uint32(chunk.byteLength); // write length of chunk as varint - return this.raw(chunk); - } - /** - * Write a `float` value, 32-bit floating point number. - */ - float(value) { - assertFloat32(value); - let chunk = new Uint8Array(4); - new DataView(chunk.buffer).setFloat32(0, value, true); - return this.raw(chunk); - } - /** - * Write a `double` value, a 64-bit floating point number. - */ - double(value) { - let chunk = new Uint8Array(8); - new DataView(chunk.buffer).setFloat64(0, value, true); - return this.raw(chunk); - } - /** - * Write a `fixed32` value, an unsigned, fixed-length 32-bit integer. - */ - fixed32(value) { - assertUInt32(value); - let chunk = new Uint8Array(4); - new DataView(chunk.buffer).setUint32(0, value, true); - return this.raw(chunk); - } - /** - * Write a `sfixed32` value, a signed, fixed-length 32-bit integer. - */ - sfixed32(value) { - assertInt32(value); - let chunk = new Uint8Array(4); - new DataView(chunk.buffer).setInt32(0, value, true); - return this.raw(chunk); - } - /** - * Write a `sint32` value, a signed, zigzag-encoded 32-bit varint. - */ - sint32(value) { - assertInt32(value); - // zigzag encode - value = ((value << 1) ^ (value >> 31)) >>> 0; - varint32write(value, this.buf); - return this; - } - /** - * Write a `fixed64` value, a signed, fixed-length 64-bit integer. - */ - sfixed64(value) { - let chunk = new Uint8Array(8), view = new DataView(chunk.buffer), tc = protoInt64.enc(value); - view.setInt32(0, tc.lo, true); - view.setInt32(4, tc.hi, true); - return this.raw(chunk); - } - /** - * Write a `fixed64` value, an unsigned, fixed-length 64 bit integer. - */ - fixed64(value) { - let chunk = new Uint8Array(8), view = new DataView(chunk.buffer), tc = protoInt64.uEnc(value); - view.setInt32(0, tc.lo, true); - view.setInt32(4, tc.hi, true); - return this.raw(chunk); - } - /** - * Write a `int64` value, a signed 64-bit varint. - */ - int64(value) { - let tc = protoInt64.enc(value); - varint64write(tc.lo, tc.hi, this.buf); - return this; - } - /** - * Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint. - */ - sint64(value) { - let tc = protoInt64.enc(value), - // zigzag encode - sign = tc.hi >> 31, lo = (tc.lo << 1) ^ sign, hi = ((tc.hi << 1) | (tc.lo >>> 31)) ^ sign; - varint64write(lo, hi, this.buf); - return this; - } - /** - * Write a `uint64` value, an unsigned 64-bit varint. - */ - uint64(value) { - let tc = protoInt64.uEnc(value); - varint64write(tc.lo, tc.hi, this.buf); - return this; - } -} -export class BinaryReader { - constructor(buf, decodeUtf8 = getTextEncoding().decodeUtf8) { - this.decodeUtf8 = decodeUtf8; - this.varint64 = varint64read; // dirty cast for `this` - /** - * Read a `uint32` field, an unsigned 32 bit varint. - */ - this.uint32 = varint32read; - this.buf = buf; - this.len = buf.length; - this.pos = 0; - this.view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength); - } - /** - * Reads a tag - field number and wire type. - */ - tag() { - let tag = this.uint32(), fieldNo = tag >>> 3, wireType = tag & 7; - if (fieldNo <= 0 || wireType < 0 || wireType > 5) - throw new Error("illegal tag: field no " + fieldNo + " wire type " + wireType); - return [fieldNo, wireType]; - } - /** - * Skip one element and return the skipped data. - * - * When skipping StartGroup, provide the tags field number to check for - * matching field number in the EndGroup tag. - */ - skip(wireType, fieldNo) { - let start = this.pos; - switch (wireType) { - case WireType.Varint: - while (this.buf[this.pos++] & 0x80) { - // ignore - } - break; - // eslint-disable-next-line - // @ts-expect-error TS7029: Fallthrough case in switch - case WireType.Bit64: - this.pos += 4; - // eslint-disable-next-line no-fallthrough - case WireType.Bit32: - this.pos += 4; - break; - case WireType.LengthDelimited: - let len = this.uint32(); - this.pos += len; - break; - case WireType.StartGroup: - for (;;) { - const [fn, wt] = this.tag(); - if (wt === WireType.EndGroup) { - if (fieldNo !== undefined && fn !== fieldNo) { - throw new Error("invalid end group tag"); - } - break; - } - this.skip(wt, fn); - } - break; - default: - throw new Error("cant skip wire type " + wireType); - } - this.assertBounds(); - return this.buf.subarray(start, this.pos); - } - /** - * Throws error if position in byte array is out of range. - */ - assertBounds() { - if (this.pos > this.len) - throw new RangeError("premature EOF"); - } - /** - * Read a `int32` field, a signed 32 bit varint. - */ - int32() { - return this.uint32() | 0; - } - /** - * Read a `sint32` field, a signed, zigzag-encoded 32-bit varint. - */ - sint32() { - let zze = this.uint32(); - // decode zigzag - return (zze >>> 1) ^ -(zze & 1); - } - /** - * Read a `int64` field, a signed 64-bit varint. - */ - int64() { - return protoInt64.dec(...this.varint64()); - } - /** - * Read a `uint64` field, an unsigned 64-bit varint. - */ - uint64() { - return protoInt64.uDec(...this.varint64()); - } - /** - * Read a `sint64` field, a signed, zig-zag-encoded 64-bit varint. - */ - sint64() { - let [lo, hi] = this.varint64(); - // decode zig zag - let s = -(lo & 1); - lo = ((lo >>> 1) | ((hi & 1) << 31)) ^ s; - hi = (hi >>> 1) ^ s; - return protoInt64.dec(lo, hi); - } - /** - * Read a `bool` field, a variant. - */ - bool() { - let [lo, hi] = this.varint64(); - return lo !== 0 || hi !== 0; - } - /** - * Read a `fixed32` field, an unsigned, fixed-length 32-bit integer. - */ - fixed32() { - return this.view.getUint32((this.pos += 4) - 4, true); - } - /** - * Read a `sfixed32` field, a signed, fixed-length 32-bit integer. - */ - sfixed32() { - return this.view.getInt32((this.pos += 4) - 4, true); - } - /** - * Read a `fixed64` field, an unsigned, fixed-length 64 bit integer. - */ - fixed64() { - return protoInt64.uDec(this.sfixed32(), this.sfixed32()); - } - /** - * Read a `fixed64` field, a signed, fixed-length 64-bit integer. - */ - sfixed64() { - return protoInt64.dec(this.sfixed32(), this.sfixed32()); - } - /** - * Read a `float` field, 32-bit floating point number. - */ - float() { - return this.view.getFloat32((this.pos += 4) - 4, true); - } - /** - * Read a `double` field, a 64-bit floating point number. - */ - double() { - return this.view.getFloat64((this.pos += 8) - 8, true); - } - /** - * Read a `bytes` field, length-delimited arbitrary data. - */ - bytes() { - let len = this.uint32(), start = this.pos; - this.pos += len; - this.assertBounds(); - return this.buf.subarray(start, start + len); - } - /** - * Read a `string` field, length-delimited data converted to UTF-8 text. - */ - string() { - return this.decodeUtf8(this.bytes()); - } -} -/** - * Assert a valid signed protobuf 32-bit integer as a number or string. - */ -function assertInt32(arg) { - if (typeof arg == "string") { - arg = Number(arg); - } - else if (typeof arg != "number") { - throw new Error("invalid int32: " + typeof arg); - } - if (!Number.isInteger(arg) || - arg > INT32_MAX || - arg < INT32_MIN) - throw new Error("invalid int32: " + arg); -} -/** - * Assert a valid unsigned protobuf 32-bit integer as a number or string. - */ -function assertUInt32(arg) { - if (typeof arg == "string") { - arg = Number(arg); - } - else if (typeof arg != "number") { - throw new Error("invalid uint32: " + typeof arg); - } - if (!Number.isInteger(arg) || - arg > UINT32_MAX || - arg < 0) - throw new Error("invalid uint32: " + arg); -} -/** - * Assert a valid protobuf float value as a number or string. - */ -function assertFloat32(arg) { - if (typeof arg == "string") { - const o = arg; - arg = Number(arg); - if (isNaN(arg) && o !== "NaN") { - throw new Error("invalid float32: " + o); - } - } - else if (typeof arg != "number") { - throw new Error("invalid float32: " + typeof arg); - } - if (Number.isFinite(arg) && - (arg > FLOAT32_MAX || arg < FLOAT32_MIN)) - throw new Error("invalid float32: " + arg); -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/index.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wire/index.d.ts deleted file mode 100644 index 8630d1f..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from "./binary-encoding.js"; -export * from "./base64-encoding.js"; -export * from "./text-encoding.js"; -export * from "./text-format.js"; -export * from "./size-delimited.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js b/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js deleted file mode 100644 index 13ac37d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -export * from "./binary-encoding.js"; -export * from "./base64-encoding.js"; -export * from "./text-encoding.js"; -export * from "./text-format.js"; -export * from "./size-delimited.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.d.ts deleted file mode 100644 index 0294989..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import type { DescMessage } from "../descriptors.js"; -import type { BinaryWriteOptions } from "../to-binary.js"; -import type { MessageShape } from "../types.js"; -import type { BinaryReadOptions } from "../from-binary.js"; -/** - * Serialize a message, prefixing it with its size. - * - * A size-delimited message is a varint size in bytes, followed by exactly - * that many bytes of a message serialized with the binary format. - * - * This size-delimited format is compatible with other implementations. - * For details, see https://github.com/protocolbuffers/protobuf/issues/10229 - */ -export declare function sizeDelimitedEncode(messageDesc: Desc, message: MessageShape, options?: BinaryWriteOptions): Uint8Array; -/** - * Parse a stream of size-delimited messages. - * - * A size-delimited message is a varint size in bytes, followed by exactly - * that many bytes of a message serialized with the binary format. - * - * This size-delimited format is compatible with other implementations. - * For details, see https://github.com/protocolbuffers/protobuf/issues/10229 - */ -export declare function sizeDelimitedDecodeStream(messageDesc: Desc, iterable: AsyncIterable, options?: BinaryReadOptions): AsyncIterableIterator>; -/** - * Decodes the size from the given size-delimited message, which may be - * incomplete. - * - * Returns an object with the following properties: - * - size: The size of the delimited message in bytes - * - offset: The offset in the given byte array where the message starts - * - eof: true - * - * If the size-delimited data does not include all bytes of the varint size, - * the following object is returned: - * - size: null - * - offset: null - * - eof: false - * - * This function can be used to implement parsing of size-delimited messages - * from a stream. - */ -export declare function sizeDelimitedPeek(data: Uint8Array): { - readonly eof: false; - readonly size: number; - readonly offset: number; -} | { - readonly eof: true; - readonly size: null; - readonly offset: null; -}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js b/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js deleted file mode 100644 index 2778da7..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -var __asyncValues = (this && this.__asyncValues) || function (o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } -}; -var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } -var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; - function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } - function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } -}; -import { toBinary } from "../to-binary.js"; -import { BinaryReader, BinaryWriter } from "./binary-encoding.js"; -import { fromBinary } from "../from-binary.js"; -/** - * Serialize a message, prefixing it with its size. - * - * A size-delimited message is a varint size in bytes, followed by exactly - * that many bytes of a message serialized with the binary format. - * - * This size-delimited format is compatible with other implementations. - * For details, see https://github.com/protocolbuffers/protobuf/issues/10229 - */ -export function sizeDelimitedEncode(messageDesc, message, options) { - const writer = new BinaryWriter(); - writer.bytes(toBinary(messageDesc, message, options)); - return writer.finish(); -} -/** - * Parse a stream of size-delimited messages. - * - * A size-delimited message is a varint size in bytes, followed by exactly - * that many bytes of a message serialized with the binary format. - * - * This size-delimited format is compatible with other implementations. - * For details, see https://github.com/protocolbuffers/protobuf/issues/10229 - */ -export function sizeDelimitedDecodeStream(messageDesc, iterable, options) { - return __asyncGenerator(this, arguments, function* sizeDelimitedDecodeStream_1() { - var _a, e_1, _b, _c; - // append chunk to buffer, returning updated buffer - function append(buffer, chunk) { - const n = new Uint8Array(buffer.byteLength + chunk.byteLength); - n.set(buffer); - n.set(chunk, buffer.length); - return n; - } - let buffer = new Uint8Array(0); - try { - for (var _d = true, iterable_1 = __asyncValues(iterable), iterable_1_1; iterable_1_1 = yield __await(iterable_1.next()), _a = iterable_1_1.done, !_a; _d = true) { - _c = iterable_1_1.value; - _d = false; - const chunk = _c; - buffer = append(buffer, chunk); - for (;;) { - const size = sizeDelimitedPeek(buffer); - if (size.eof) { - // size is incomplete, buffer more data - break; - } - if (size.offset + size.size > buffer.byteLength) { - // message is incomplete, buffer more data - break; - } - yield yield __await(fromBinary(messageDesc, buffer.subarray(size.offset, size.offset + size.size), options)); - buffer = buffer.subarray(size.offset + size.size); - } - } - } - catch (e_1_1) { e_1 = { error: e_1_1 }; } - finally { - try { - if (!_d && !_a && (_b = iterable_1.return)) yield __await(_b.call(iterable_1)); - } - finally { if (e_1) throw e_1.error; } - } - if (buffer.byteLength > 0) { - throw new Error("incomplete data"); - } - }); -} -/** - * Decodes the size from the given size-delimited message, which may be - * incomplete. - * - * Returns an object with the following properties: - * - size: The size of the delimited message in bytes - * - offset: The offset in the given byte array where the message starts - * - eof: true - * - * If the size-delimited data does not include all bytes of the varint size, - * the following object is returned: - * - size: null - * - offset: null - * - eof: false - * - * This function can be used to implement parsing of size-delimited messages - * from a stream. - */ -export function sizeDelimitedPeek(data) { - const sizeEof = { eof: true, size: null, offset: null }; - for (let i = 0; i < 10; i++) { - if (i > data.byteLength) { - return sizeEof; - } - if ((data[i] & 0x80) == 0) { - const reader = new BinaryReader(data); - let size; - try { - size = reader.uint32(); - } - catch (e) { - if (e instanceof RangeError) { - return sizeEof; - } - throw e; - } - return { - eof: false, - size, - offset: reader.pos, - }; - } - } - throw new Error("invalid varint"); -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.d.ts deleted file mode 100644 index a476ccf..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -interface TextEncoding { - /** - * Verify that the given text is valid UTF-8. - */ - checkUtf8: (text: string) => boolean; - /** - * Encode UTF-8 text to binary. - */ - encodeUtf8: (text: string) => Uint8Array; - /** - * Decode UTF-8 text from binary. - */ - decodeUtf8: (bytes: Uint8Array) => string; -} -/** - * Protobuf-ES requires the Text Encoding API to convert UTF-8 from and to - * binary. This WHATWG API is widely available, but it is not part of the - * ECMAScript standard. On runtimes where it is not available, use this - * function to provide your own implementation. - * - * Note that the Text Encoding API does not provide a way to validate UTF-8. - * Our implementation falls back to use encodeURIComponent(). - */ -export declare function configureTextEncoding(textEncoding: TextEncoding): void; -export declare function getTextEncoding(): TextEncoding; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js b/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js deleted file mode 100644 index dc64ecc..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -const symbol = Symbol.for("@bufbuild/protobuf/text-encoding"); -/** - * Protobuf-ES requires the Text Encoding API to convert UTF-8 from and to - * binary. This WHATWG API is widely available, but it is not part of the - * ECMAScript standard. On runtimes where it is not available, use this - * function to provide your own implementation. - * - * Note that the Text Encoding API does not provide a way to validate UTF-8. - * Our implementation falls back to use encodeURIComponent(). - */ -export function configureTextEncoding(textEncoding) { - globalThis[symbol] = textEncoding; -} -export function getTextEncoding() { - if (globalThis[symbol] == undefined) { - const te = new globalThis.TextEncoder(); - const td = new globalThis.TextDecoder(); - globalThis[symbol] = { - encodeUtf8(text) { - return te.encode(text); - }, - decodeUtf8(bytes) { - return td.decode(bytes); - }, - checkUtf8(text) { - try { - encodeURIComponent(text); - return true; - } - catch (e) { - return false; - } - }, - }; - } - return globalThis[symbol]; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.d.ts deleted file mode 100644 index 06bdbdd..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { type DescEnum, ScalarType } from "../descriptors.js"; -/** - * Parse an enum value from the Protobuf text format. - * - * @private - */ -export declare function parseTextFormatEnumValue(descEnum: DescEnum, value: string): number; -/** - * Parse a scalar value from the Protobuf text format. - * - * @private - */ -export declare function parseTextFormatScalarValue(type: ScalarType, value: string): number | boolean | string | bigint | Uint8Array; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js b/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js deleted file mode 100644 index b9431b1..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js +++ /dev/null @@ -1,196 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { ScalarType } from "../descriptors.js"; -import { protoInt64 } from "../proto-int64.js"; -/* eslint-disable @typescript-eslint/restrict-template-expressions */ -/** - * Parse an enum value from the Protobuf text format. - * - * @private - */ -export function parseTextFormatEnumValue(descEnum, value) { - const enumValue = descEnum.values.find((v) => v.name === value); - if (!enumValue) { - throw new Error(`cannot parse ${descEnum} default value: ${value}`); - } - return enumValue.number; -} -/** - * Parse a scalar value from the Protobuf text format. - * - * @private - */ -export function parseTextFormatScalarValue(type, value) { - switch (type) { - case ScalarType.STRING: - return value; - case ScalarType.BYTES: { - const u = unescapeBytesDefaultValue(value); - if (u === false) { - throw new Error(`cannot parse ${ScalarType[type]} default value: ${value}`); - } - return u; - } - case ScalarType.INT64: - case ScalarType.SFIXED64: - case ScalarType.SINT64: - return protoInt64.parse(value); - case ScalarType.UINT64: - case ScalarType.FIXED64: - return protoInt64.uParse(value); - case ScalarType.DOUBLE: - case ScalarType.FLOAT: - switch (value) { - case "inf": - return Number.POSITIVE_INFINITY; - case "-inf": - return Number.NEGATIVE_INFINITY; - case "nan": - return Number.NaN; - default: - return parseFloat(value); - } - case ScalarType.BOOL: - return value === "true"; - case ScalarType.INT32: - case ScalarType.UINT32: - case ScalarType.SINT32: - case ScalarType.FIXED32: - case ScalarType.SFIXED32: - return parseInt(value, 10); - } -} -/** - * Parses a text-encoded default value (proto2) of a BYTES field. - */ -function unescapeBytesDefaultValue(str) { - const b = []; - const input = { - tail: str, - c: "", - next() { - if (this.tail.length == 0) { - return false; - } - this.c = this.tail[0]; - this.tail = this.tail.substring(1); - return true; - }, - take(n) { - if (this.tail.length >= n) { - const r = this.tail.substring(0, n); - this.tail = this.tail.substring(n); - return r; - } - return false; - }, - }; - while (input.next()) { - switch (input.c) { - case "\\": - if (input.next()) { - switch (input.c) { - case "\\": - b.push(input.c.charCodeAt(0)); - break; - case "b": - b.push(0x08); - break; - case "f": - b.push(0x0c); - break; - case "n": - b.push(0x0a); - break; - case "r": - b.push(0x0d); - break; - case "t": - b.push(0x09); - break; - case "v": - b.push(0x0b); - break; - case "0": - case "1": - case "2": - case "3": - case "4": - case "5": - case "6": - case "7": { - const s = input.c; - const t = input.take(2); - if (t === false) { - return false; - } - const n = parseInt(s + t, 8); - if (isNaN(n)) { - return false; - } - b.push(n); - break; - } - case "x": { - const s = input.c; - const t = input.take(2); - if (t === false) { - return false; - } - const n = parseInt(s + t, 16); - if (isNaN(n)) { - return false; - } - b.push(n); - break; - } - case "u": { - const s = input.c; - const t = input.take(4); - if (t === false) { - return false; - } - const n = parseInt(s + t, 16); - if (isNaN(n)) { - return false; - } - const chunk = new Uint8Array(4); - const view = new DataView(chunk.buffer); - view.setInt32(0, n, true); - b.push(chunk[0], chunk[1], chunk[2], chunk[3]); - break; - } - case "U": { - const s = input.c; - const t = input.take(8); - if (t === false) { - return false; - } - const tc = protoInt64.uEnc(s + t); - const chunk = new Uint8Array(8); - const view = new DataView(chunk.buffer); - view.setInt32(0, tc.lo, true); - view.setInt32(4, tc.hi, true); - b.push(chunk[0], chunk[1], chunk[2], chunk[3], chunk[4], chunk[5], chunk[6], chunk[7]); - break; - } - } - } - break; - default: - b.push(input.c.charCodeAt(0)); - } - } - return new Uint8Array(b); -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.d.ts deleted file mode 100644 index b45ef94..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * Read a 64 bit varint as two JS numbers. - * - * Returns tuple: - * [0]: low bits - * [1]: high bits - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L175 - */ -export declare function varint64read(this: T): [number, number]; -/** - * Write a 64 bit varint, given as two JS numbers, to the given bytes array. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/writer.js#L344 - */ -export declare function varint64write(lo: number, hi: number, bytes: number[]): void; -/** - * Parse decimal string of 64 bit integer value as two JS numbers. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export declare function int64FromString(dec: string): { - lo: number; - hi: number; -}; -/** - * Losslessly converts a 64-bit signed integer in 32:32 split representation - * into a decimal string. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export declare function int64ToString(lo: number, hi: number): string; -/** - * Losslessly converts a 64-bit unsigned integer in 32:32 split representation - * into a decimal string. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export declare function uInt64ToString(lo: number, hi: number): string; -/** - * Write a 32 bit varint, signed or unsigned. Same as `varint64write(0, value, bytes)` - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/1b18833f4f2a2f681f4e4a25cdf3b0a43115ec26/js/binary/encoder.js#L144 - */ -export declare function varint32write(value: number, bytes: number[]): void; -/** - * Read an unsigned 32 bit varint. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L220 - */ -export declare function varint32read(this: T): number; -type ReaderLike = { - buf: Uint8Array; - pos: number; - len: number; - assertBounds(): void; -}; -export {}; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js b/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js deleted file mode 100644 index 560dbe2..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +++ /dev/null @@ -1,314 +0,0 @@ -// Copyright 2008 Google Inc. All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// -// Code generated by the Protocol Buffer compiler is owned by the owner -// of the input file used when generating it. This code is not -// standalone and requires a support library to be linked with it. This -// support library is itself covered by the above license. -/* eslint-disable prefer-const,@typescript-eslint/restrict-plus-operands */ -/** - * Read a 64 bit varint as two JS numbers. - * - * Returns tuple: - * [0]: low bits - * [1]: high bits - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L175 - */ -export function varint64read() { - let lowBits = 0; - let highBits = 0; - for (let shift = 0; shift < 28; shift += 7) { - let b = this.buf[this.pos++]; - lowBits |= (b & 0x7f) << shift; - if ((b & 0x80) == 0) { - this.assertBounds(); - return [lowBits, highBits]; - } - } - let middleByte = this.buf[this.pos++]; - // last four bits of the first 32 bit number - lowBits |= (middleByte & 0x0f) << 28; - // 3 upper bits are part of the next 32 bit number - highBits = (middleByte & 0x70) >> 4; - if ((middleByte & 0x80) == 0) { - this.assertBounds(); - return [lowBits, highBits]; - } - for (let shift = 3; shift <= 31; shift += 7) { - let b = this.buf[this.pos++]; - highBits |= (b & 0x7f) << shift; - if ((b & 0x80) == 0) { - this.assertBounds(); - return [lowBits, highBits]; - } - } - throw new Error("invalid varint"); -} -/** - * Write a 64 bit varint, given as two JS numbers, to the given bytes array. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/writer.js#L344 - */ -export function varint64write(lo, hi, bytes) { - for (let i = 0; i < 28; i = i + 7) { - const shift = lo >>> i; - const hasNext = !(shift >>> 7 == 0 && hi == 0); - const byte = (hasNext ? shift | 0x80 : shift) & 0xff; - bytes.push(byte); - if (!hasNext) { - return; - } - } - const splitBits = ((lo >>> 28) & 0x0f) | ((hi & 0x07) << 4); - const hasMoreBits = !(hi >> 3 == 0); - bytes.push((hasMoreBits ? splitBits | 0x80 : splitBits) & 0xff); - if (!hasMoreBits) { - return; - } - for (let i = 3; i < 31; i = i + 7) { - const shift = hi >>> i; - const hasNext = !(shift >>> 7 == 0); - const byte = (hasNext ? shift | 0x80 : shift) & 0xff; - bytes.push(byte); - if (!hasNext) { - return; - } - } - bytes.push((hi >>> 31) & 0x01); -} -// constants for binary math -const TWO_PWR_32_DBL = 0x100000000; -/** - * Parse decimal string of 64 bit integer value as two JS numbers. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export function int64FromString(dec) { - // Check for minus sign. - const minus = dec[0] === "-"; - if (minus) { - dec = dec.slice(1); - } - // Work 6 decimal digits at a time, acting like we're converting base 1e6 - // digits to binary. This is safe to do with floating point math because - // Number.isSafeInteger(ALL_32_BITS * 1e6) == true. - const base = 1e6; - let lowBits = 0; - let highBits = 0; - function add1e6digit(begin, end) { - // Note: Number('') is 0. - const digit1e6 = Number(dec.slice(begin, end)); - highBits *= base; - lowBits = lowBits * base + digit1e6; - // Carry bits from lowBits to - if (lowBits >= TWO_PWR_32_DBL) { - highBits = highBits + ((lowBits / TWO_PWR_32_DBL) | 0); - lowBits = lowBits % TWO_PWR_32_DBL; - } - } - add1e6digit(-24, -18); - add1e6digit(-18, -12); - add1e6digit(-12, -6); - add1e6digit(-6); - return minus ? negate(lowBits, highBits) : newBits(lowBits, highBits); -} -/** - * Losslessly converts a 64-bit signed integer in 32:32 split representation - * into a decimal string. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export function int64ToString(lo, hi) { - let bits = newBits(lo, hi); - // If we're treating the input as a signed value and the high bit is set, do - // a manual two's complement conversion before the decimal conversion. - const negative = bits.hi & 0x80000000; - if (negative) { - bits = negate(bits.lo, bits.hi); - } - const result = uInt64ToString(bits.lo, bits.hi); - return negative ? "-" + result : result; -} -/** - * Losslessly converts a 64-bit unsigned integer in 32:32 split representation - * into a decimal string. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export function uInt64ToString(lo, hi) { - ({ lo, hi } = toUnsigned(lo, hi)); - // Skip the expensive conversion if the number is small enough to use the - // built-in conversions. - // Number.MAX_SAFE_INTEGER = 0x001FFFFF FFFFFFFF, thus any number with - // highBits <= 0x1FFFFF can be safely expressed with a double and retain - // integer precision. - // Proven by: Number.isSafeInteger(0x1FFFFF * 2**32 + 0xFFFFFFFF) == true. - if (hi <= 0x1fffff) { - return String(TWO_PWR_32_DBL * hi + lo); - } - // What this code is doing is essentially converting the input number from - // base-2 to base-1e7, which allows us to represent the 64-bit range with - // only 3 (very large) digits. Those digits are then trivial to convert to - // a base-10 string. - // The magic numbers used here are - - // 2^24 = 16777216 = (1,6777216) in base-1e7. - // 2^48 = 281474976710656 = (2,8147497,6710656) in base-1e7. - // Split 32:32 representation into 16:24:24 representation so our - // intermediate digits don't overflow. - const low = lo & 0xffffff; - const mid = ((lo >>> 24) | (hi << 8)) & 0xffffff; - const high = (hi >> 16) & 0xffff; - // Assemble our three base-1e7 digits, ignoring carries. The maximum - // value in a digit at this step is representable as a 48-bit integer, which - // can be stored in a 64-bit floating point number. - let digitA = low + mid * 6777216 + high * 6710656; - let digitB = mid + high * 8147497; - let digitC = high * 2; - // Apply carries from A to B and from B to C. - const base = 10000000; - if (digitA >= base) { - digitB += Math.floor(digitA / base); - digitA %= base; - } - if (digitB >= base) { - digitC += Math.floor(digitB / base); - digitB %= base; - } - // If digitC is 0, then we should have returned in the trivial code path - // at the top for non-safe integers. Given this, we can assume both digitB - // and digitA need leading zeros. - return (digitC.toString() + - decimalFrom1e7WithLeadingZeros(digitB) + - decimalFrom1e7WithLeadingZeros(digitA)); -} -function toUnsigned(lo, hi) { - return { lo: lo >>> 0, hi: hi >>> 0 }; -} -function newBits(lo, hi) { - return { lo: lo | 0, hi: hi | 0 }; -} -/** - * Returns two's compliment negation of input. - * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#Signed_32-bit_integers - */ -function negate(lowBits, highBits) { - highBits = ~highBits; - if (lowBits) { - lowBits = ~lowBits + 1; - } - else { - // If lowBits is 0, then bitwise-not is 0xFFFFFFFF, - // adding 1 to that, results in 0x100000000, which leaves - // the low bits 0x0 and simply adds one to the high bits. - highBits += 1; - } - return newBits(lowBits, highBits); -} -/** - * Returns decimal representation of digit1e7 with leading zeros. - */ -const decimalFrom1e7WithLeadingZeros = (digit1e7) => { - const partial = String(digit1e7); - return "0000000".slice(partial.length) + partial; -}; -/** - * Write a 32 bit varint, signed or unsigned. Same as `varint64write(0, value, bytes)` - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/1b18833f4f2a2f681f4e4a25cdf3b0a43115ec26/js/binary/encoder.js#L144 - */ -export function varint32write(value, bytes) { - if (value >= 0) { - // write value as varint 32 - while (value > 0x7f) { - bytes.push((value & 0x7f) | 0x80); - value = value >>> 7; - } - bytes.push(value); - } - else { - for (let i = 0; i < 9; i++) { - bytes.push((value & 127) | 128); - value = value >> 7; - } - bytes.push(1); - } -} -/** - * Read an unsigned 32 bit varint. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L220 - */ -export function varint32read() { - let b = this.buf[this.pos++]; - let result = b & 0x7f; - if ((b & 0x80) == 0) { - this.assertBounds(); - return result; - } - b = this.buf[this.pos++]; - result |= (b & 0x7f) << 7; - if ((b & 0x80) == 0) { - this.assertBounds(); - return result; - } - b = this.buf[this.pos++]; - result |= (b & 0x7f) << 14; - if ((b & 0x80) == 0) { - this.assertBounds(); - return result; - } - b = this.buf[this.pos++]; - result |= (b & 0x7f) << 21; - if ((b & 0x80) == 0) { - this.assertBounds(); - return result; - } - // Extract only last 4 bits - b = this.buf[this.pos++]; - result |= (b & 0x0f) << 28; - for (let readBytes = 5; (b & 0x80) !== 0 && readBytes < 10; readBytes++) - b = this.buf[this.pos++]; - if ((b & 0x80) != 0) - throw new Error("invalid varint"); - this.assertBounds(); - // Result can have 32 bits, convert it to unsigned - return result >>> 0; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.d.ts deleted file mode 100644 index 5d41781..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import type { Message, MessageShape } from "../types.js"; -import type { Any } from "./gen/google/protobuf/any_pb.js"; -import type { DescMessage } from "../descriptors.js"; -import type { Registry } from "../registry.js"; -/** - * Creates a `google.protobuf.Any` from a message. - */ -export declare function anyPack(schema: Desc, message: MessageShape): Any; -/** - * Packs the message into the given any. - */ -export declare function anyPack(schema: Desc, message: MessageShape, into: Any): void; -/** - * Returns true if the Any contains the type given by schema. - */ -export declare function anyIs(any: Any, schema: DescMessage): boolean; -/** - * Returns true if the Any contains a message with the given typeName. - */ -export declare function anyIs(any: Any, typeName: string): boolean; -/** - * Unpacks the message the Any represents. - * - * Returns undefined if the Any is empty, or if packed type is not included - * in the given registry. - */ -export declare function anyUnpack(any: Any, registry: Registry): Message | undefined; -/** - * Unpacks the message the Any represents. - * - * Returns undefined if the Any is empty, or if it does not contain the type - * given by schema. - */ -export declare function anyUnpack(any: Any, schema: Desc): MessageShape | undefined; -/** - * Same as anyUnpack but unpacks into the target message. - */ -export declare function anyUnpackTo(any: Any, schema: Desc, message: MessageShape): MessageShape | undefined; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js deleted file mode 100644 index 827ead6..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { AnySchema } from "./gen/google/protobuf/any_pb.js"; -import { create } from "../create.js"; -import { toBinary } from "../to-binary.js"; -import { fromBinary, mergeFromBinary } from "../from-binary.js"; -export function anyPack(schema, message, into) { - let ret = false; - if (!into) { - into = create(AnySchema); - ret = true; - } - into.value = toBinary(schema, message); - into.typeUrl = typeNameToUrl(message.$typeName); - return ret ? into : undefined; -} -export function anyIs(any, descOrTypeName) { - if (any.typeUrl === "") { - return false; - } - const want = typeof descOrTypeName == "string" - ? descOrTypeName - : descOrTypeName.typeName; - const got = typeUrlToName(any.typeUrl); - return want === got; -} -export function anyUnpack(any, registryOrMessageDesc) { - if (any.typeUrl === "") { - return undefined; - } - const desc = registryOrMessageDesc.kind == "message" - ? registryOrMessageDesc - : registryOrMessageDesc.getMessage(typeUrlToName(any.typeUrl)); - if (!desc) { - return undefined; - } - return fromBinary(desc, any.value); -} -/** - * Same as anyUnpack but unpacks into the target message. - */ -export function anyUnpackTo(any, schema, message) { - if (any.typeUrl === "") { - return undefined; - } - return mergeFromBinary(schema, message, any.value); -} -function typeNameToUrl(name) { - return `type.googleapis.com/${name}`; -} -function typeUrlToName(url) { - const slash = url.lastIndexOf("/"); - const name = slash >= 0 ? url.substring(slash + 1) : url; - if (!name.length) { - throw new Error(`invalid type url: ${url}`); - } - return name; -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.d.ts deleted file mode 100644 index 0ab32e7..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.d.ts +++ /dev/null @@ -1,149 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/any.proto. - */ -export declare const file_google_protobuf_any: GenFile; -/** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * Protobuf library provides support to pack/unpack Any values in the form - * of utility functions or additional generated methods of the Any type. - * - * Example 1: Pack and unpack a message in C++. - * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } - * - * Example 2: Pack and unpack a message in Java. - * - * Foo foo = ...; - * Any any = Any.pack(foo); - * ... - * if (any.is(Foo.class)) { - * foo = any.unpack(Foo.class); - * } - * // or ... - * if (any.isSameTypeAs(Foo.getDefaultInstance())) { - * foo = any.unpack(Foo.getDefaultInstance()); - * } - * - * Example 3: Pack and unpack a message in Python. - * - * foo = Foo(...) - * any = Any() - * any.Pack(foo) - * ... - * if any.Is(Foo.DESCRIPTOR): - * any.Unpack(foo) - * ... - * - * Example 4: Pack and unpack a message in Go - * - * foo := &pb.Foo{...} - * any, err := anypb.New(foo) - * if err != nil { - * ... - * } - * ... - * foo := &pb.Foo{} - * if err := any.UnmarshalTo(foo); err != nil { - * ... - * } - * - * The pack methods provided by protobuf library will by default use - * 'type.googleapis.com/full.type.name' as the type URL and the unpack - * methods only use the fully qualified type name after the last '/' - * in the type URL, for example "foo.bar.com/x/y.z" will yield type - * name "y.z". - * - * JSON - * ==== - * The JSON representation of an `Any` value uses the regular - * representation of the deserialized, embedded message, with an - * additional field `@type` which contains the type URL. Example: - * - * package google.profile; - * message Person { - * string first_name = 1; - * string last_name = 2; - * } - * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } - * - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - * - * - * @generated from message google.protobuf.Any - */ -export type Any = Message<"google.protobuf.Any"> & { - /** - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. As of May 2023, there are no widely used type server - * implementations and no plans to implement one. - * - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - * - * - * @generated from field: string type_url = 1; - */ - typeUrl: string; - /** - * Must be a valid serialized protocol buffer of the above specified type. - * - * @generated from field: bytes value = 2; - */ - value: Uint8Array; -}; -/** - * JSON type for the message google.protobuf.Any. - */ -export type AnyJson = { - "@type"?: string; -}; -/** - * Describes the message google.protobuf.Any. - * Use `create(AnySchema)` to create a new message. - */ -export declare const AnySchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js deleted file mode 100644 index 77a9e3e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { fileDesc } from "../../../../codegenv1/file.js"; -import { messageDesc } from "../../../../codegenv1/message.js"; -/** - * Describes the file google/protobuf/any.proto. - */ -export const file_google_protobuf_any = /*@__PURE__*/ fileDesc("Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYiJgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQnYKE2NvbS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAFaLGdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2FueXBiogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"); -/** - * Describes the message google.protobuf.Any. - * Use `create(AnySchema)` to create a new message. - */ -export const AnySchema = /*@__PURE__*/ messageDesc(file_google_protobuf_any, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts deleted file mode 100644 index cd0b65f..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts +++ /dev/null @@ -1,326 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { SourceContext, SourceContextJson } from "./source_context_pb.js"; -import type { Option, OptionJson, Syntax, SyntaxJson } from "./type_pb.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/api.proto. - */ -export declare const file_google_protobuf_api: GenFile; -/** - * Api is a light-weight descriptor for an API Interface. - * - * Interfaces are also described as "protocol buffer services" in some contexts, - * such as by the "service" keyword in a .proto file, but they are different - * from API Services, which represent a concrete implementation of an interface - * as opposed to simply a description of methods and bindings. They are also - * sometimes simply referred to as "APIs" in other contexts, such as the name of - * this message itself. See https://cloud.google.com/apis/design/glossary for - * detailed terminology. - * - * @generated from message google.protobuf.Api - */ -export type Api = Message<"google.protobuf.Api"> & { - /** - * The fully qualified name of this interface, including package name - * followed by the interface's simple name. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * The methods of this interface, in unspecified order. - * - * @generated from field: repeated google.protobuf.Method methods = 2; - */ - methods: Method[]; - /** - * Any metadata attached to the interface. - * - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options: Option[]; - /** - * A version string for this interface. If specified, must have the form - * `major-version.minor-version`, as in `1.10`. If the minor version is - * omitted, it defaults to zero. If the entire version field is empty, the - * major version is derived from the package name, as outlined below. If the - * field is not empty, the version in the package name will be verified to be - * consistent with what is provided here. - * - * The versioning schema uses [semantic - * versioning](http://semver.org) where the major version number - * indicates a breaking change and the minor version an additive, - * non-breaking change. Both version numbers are signals to users - * what to expect from different versions, and should be carefully - * chosen based on the product plan. - * - * The major version is also reflected in the package name of the - * interface, which must end in `v`, as in - * `google.feature.v1`. For major versions 0 and 1, the suffix can - * be omitted. Zero major versions must only be used for - * experimental, non-GA interfaces. - * - * - * @generated from field: string version = 4; - */ - version: string; - /** - * Source context for the protocol buffer service represented by this - * message. - * - * @generated from field: google.protobuf.SourceContext source_context = 5; - */ - sourceContext?: SourceContext; - /** - * Included interfaces. See [Mixin][]. - * - * @generated from field: repeated google.protobuf.Mixin mixins = 6; - */ - mixins: Mixin[]; - /** - * The source syntax of the service. - * - * @generated from field: google.protobuf.Syntax syntax = 7; - */ - syntax: Syntax; -}; -/** - * JSON type for the message google.protobuf.Api. - */ -export type ApiJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.Method methods = 2; - */ - methods?: MethodJson[]; - /** - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options?: OptionJson[]; - /** - * @generated from field: string version = 4; - */ - version?: string; - /** - * @generated from field: google.protobuf.SourceContext source_context = 5; - */ - sourceContext?: SourceContextJson; - /** - * @generated from field: repeated google.protobuf.Mixin mixins = 6; - */ - mixins?: MixinJson[]; - /** - * @generated from field: google.protobuf.Syntax syntax = 7; - */ - syntax?: SyntaxJson; -}; -/** - * Describes the message google.protobuf.Api. - * Use `create(ApiSchema)` to create a new message. - */ -export declare const ApiSchema: GenMessage; -/** - * Method represents a method of an API interface. - * - * @generated from message google.protobuf.Method - */ -export type Method = Message<"google.protobuf.Method"> & { - /** - * The simple name of this method. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * A URL of the input message type. - * - * @generated from field: string request_type_url = 2; - */ - requestTypeUrl: string; - /** - * If true, the request is streamed. - * - * @generated from field: bool request_streaming = 3; - */ - requestStreaming: boolean; - /** - * The URL of the output message type. - * - * @generated from field: string response_type_url = 4; - */ - responseTypeUrl: string; - /** - * If true, the response is streamed. - * - * @generated from field: bool response_streaming = 5; - */ - responseStreaming: boolean; - /** - * Any metadata attached to the method. - * - * @generated from field: repeated google.protobuf.Option options = 6; - */ - options: Option[]; - /** - * The source syntax of this method. - * - * @generated from field: google.protobuf.Syntax syntax = 7; - */ - syntax: Syntax; -}; -/** - * JSON type for the message google.protobuf.Method. - */ -export type MethodJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: string request_type_url = 2; - */ - requestTypeUrl?: string; - /** - * @generated from field: bool request_streaming = 3; - */ - requestStreaming?: boolean; - /** - * @generated from field: string response_type_url = 4; - */ - responseTypeUrl?: string; - /** - * @generated from field: bool response_streaming = 5; - */ - responseStreaming?: boolean; - /** - * @generated from field: repeated google.protobuf.Option options = 6; - */ - options?: OptionJson[]; - /** - * @generated from field: google.protobuf.Syntax syntax = 7; - */ - syntax?: SyntaxJson; -}; -/** - * Describes the message google.protobuf.Method. - * Use `create(MethodSchema)` to create a new message. - */ -export declare const MethodSchema: GenMessage; -/** - * Declares an API Interface to be included in this interface. The including - * interface must redeclare all the methods from the included interface, but - * documentation and options are inherited as follows: - * - * - If after comment and whitespace stripping, the documentation - * string of the redeclared method is empty, it will be inherited - * from the original method. - * - * - Each annotation belonging to the service config (http, - * visibility) which is not set in the redeclared method will be - * inherited. - * - * - If an http annotation is inherited, the path pattern will be - * modified as follows. Any version prefix will be replaced by the - * version of the including interface plus the [root][] path if - * specified. - * - * Example of a simple mixin: - * - * package google.acl.v1; - * service AccessControl { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v1/{resource=**}:getAcl"; - * } - * } - * - * package google.storage.v2; - * service Storage { - * rpc GetAcl(GetAclRequest) returns (Acl); - * - * // Get a data record. - * rpc GetData(GetDataRequest) returns (Data) { - * option (google.api.http).get = "/v2/{resource=**}"; - * } - * } - * - * Example of a mixin configuration: - * - * apis: - * - name: google.storage.v2.Storage - * mixins: - * - name: google.acl.v1.AccessControl - * - * The mixin construct implies that all methods in `AccessControl` are - * also declared with same name and request/response types in - * `Storage`. A documentation generator or annotation processor will - * see the effective `Storage.GetAcl` method after inherting - * documentation and annotations as follows: - * - * service Storage { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v2/{resource=**}:getAcl"; - * } - * ... - * } - * - * Note how the version in the path pattern changed from `v1` to `v2`. - * - * If the `root` field in the mixin is specified, it should be a - * relative path under which inherited HTTP paths are placed. Example: - * - * apis: - * - name: google.storage.v2.Storage - * mixins: - * - name: google.acl.v1.AccessControl - * root: acls - * - * This implies the following inherited HTTP annotation: - * - * service Storage { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; - * } - * ... - * } - * - * @generated from message google.protobuf.Mixin - */ -export type Mixin = Message<"google.protobuf.Mixin"> & { - /** - * The fully qualified name of the interface which is included. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * If non-empty specifies a path under which inherited HTTP paths - * are rooted. - * - * @generated from field: string root = 2; - */ - root: string; -}; -/** - * JSON type for the message google.protobuf.Mixin. - */ -export type MixinJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: string root = 2; - */ - root?: string; -}; -/** - * Describes the message google.protobuf.Mixin. - * Use `create(MixinSchema)` to create a new message. - */ -export declare const MixinSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js deleted file mode 100644 index 8f746e3..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { fileDesc } from "../../../../codegenv1/file.js"; -import { file_google_protobuf_source_context } from "./source_context_pb.js"; -import { file_google_protobuf_type } from "./type_pb.js"; -import { messageDesc } from "../../../../codegenv1/message.js"; -/** - * Describes the file google/protobuf/api.proto. - */ -export const file_google_protobuf_api = /*@__PURE__*/ fileDesc("Chlnb29nbGUvcHJvdG9idWYvYXBpLnByb3RvEg9nb29nbGUucHJvdG9idWYigQIKA0FwaRIMCgRuYW1lGAEgASgJEigKB21ldGhvZHMYAiADKAsyFy5nb29nbGUucHJvdG9idWYuTWV0aG9kEigKB29wdGlvbnMYAyADKAsyFy5nb29nbGUucHJvdG9idWYuT3B0aW9uEg8KB3ZlcnNpb24YBCABKAkSNgoOc291cmNlX2NvbnRleHQYBSABKAsyHi5nb29nbGUucHJvdG9idWYuU291cmNlQ29udGV4dBImCgZtaXhpbnMYBiADKAsyFi5nb29nbGUucHJvdG9idWYuTWl4aW4SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheCLVAQoGTWV0aG9kEgwKBG5hbWUYASABKAkSGAoQcmVxdWVzdF90eXBlX3VybBgCIAEoCRIZChFyZXF1ZXN0X3N0cmVhbWluZxgDIAEoCBIZChFyZXNwb25zZV90eXBlX3VybBgEIAEoCRIaChJyZXNwb25zZV9zdHJlYW1pbmcYBSABKAgSKAoHb3B0aW9ucxgGIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb24SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheCIjCgVNaXhpbhIMCgRuYW1lGAEgASgJEgwKBHJvb3QYAiABKAlCdgoTY29tLmdvb2dsZS5wcm90b2J1ZkIIQXBpUHJvdG9QAVosZ29vZ2xlLmdvbGFuZy5vcmcvcHJvdG9idWYvdHlwZXMva25vd24vYXBpcGKiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw", [file_google_protobuf_source_context, file_google_protobuf_type]); -/** - * Describes the message google.protobuf.Api. - * Use `create(ApiSchema)` to create a new message. - */ -export const ApiSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_api, 0); -/** - * Describes the message google.protobuf.Method. - * Use `create(MethodSchema)` to create a new message. - */ -export const MethodSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_api, 1); -/** - * Describes the message google.protobuf.Mixin. - * Use `create(MixinSchema)` to create a new message. - */ -export const MixinSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_api, 2); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts deleted file mode 100644 index 6e1d24e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +++ /dev/null @@ -1,359 +0,0 @@ -import type { GenEnum, GenFile, GenMessage } from "../../../../../codegenv1/types.js"; -import type { FileDescriptorProto, FileDescriptorProtoJson, GeneratedCodeInfo, GeneratedCodeInfoJson } from "../descriptor_pb.js"; -import type { Message } from "../../../../../types.js"; -/** - * Describes the file google/protobuf/compiler/plugin.proto. - */ -export declare const file_google_protobuf_compiler_plugin: GenFile; -/** - * The version number of protocol compiler. - * - * @generated from message google.protobuf.compiler.Version - */ -export type Version = Message<"google.protobuf.compiler.Version"> & { - /** - * @generated from field: optional int32 major = 1; - */ - major: number; - /** - * @generated from field: optional int32 minor = 2; - */ - minor: number; - /** - * @generated from field: optional int32 patch = 3; - */ - patch: number; - /** - * A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should - * be empty for mainline stable releases. - * - * @generated from field: optional string suffix = 4; - */ - suffix: string; -}; -/** - * JSON type for the message google.protobuf.compiler.Version. - */ -export type VersionJson = { - /** - * @generated from field: optional int32 major = 1; - */ - major?: number; - /** - * @generated from field: optional int32 minor = 2; - */ - minor?: number; - /** - * @generated from field: optional int32 patch = 3; - */ - patch?: number; - /** - * @generated from field: optional string suffix = 4; - */ - suffix?: string; -}; -/** - * Describes the message google.protobuf.compiler.Version. - * Use `create(VersionSchema)` to create a new message. - */ -export declare const VersionSchema: GenMessage; -/** - * An encoded CodeGeneratorRequest is written to the plugin's stdin. - * - * @generated from message google.protobuf.compiler.CodeGeneratorRequest - */ -export type CodeGeneratorRequest = Message<"google.protobuf.compiler.CodeGeneratorRequest"> & { - /** - * The .proto files that were explicitly listed on the command-line. The - * code generator should generate code only for these files. Each file's - * descriptor will be included in proto_file, below. - * - * @generated from field: repeated string file_to_generate = 1; - */ - fileToGenerate: string[]; - /** - * The generator parameter passed on the command-line. - * - * @generated from field: optional string parameter = 2; - */ - parameter: string; - /** - * FileDescriptorProtos for all files in files_to_generate and everything - * they import. The files will appear in topological order, so each file - * appears before any file that imports it. - * - * Note: the files listed in files_to_generate will include runtime-retention - * options only, but all other files will include source-retention options. - * The source_file_descriptors field below is available in case you need - * source-retention options for files_to_generate. - * - * protoc guarantees that all proto_files will be written after - * the fields above, even though this is not technically guaranteed by the - * protobuf wire format. This theoretically could allow a plugin to stream - * in the FileDescriptorProtos and handle them one by one rather than read - * the entire set into memory at once. However, as of this writing, this - * is not similarly optimized on protoc's end -- it will store all fields in - * memory at once before sending them to the plugin. - * - * Type names of fields and extensions in the FileDescriptorProto are always - * fully qualified. - * - * @generated from field: repeated google.protobuf.FileDescriptorProto proto_file = 15; - */ - protoFile: FileDescriptorProto[]; - /** - * File descriptors with all options, including source-retention options. - * These descriptors are only provided for the files listed in - * files_to_generate. - * - * @generated from field: repeated google.protobuf.FileDescriptorProto source_file_descriptors = 17; - */ - sourceFileDescriptors: FileDescriptorProto[]; - /** - * The version number of protocol compiler. - * - * @generated from field: optional google.protobuf.compiler.Version compiler_version = 3; - */ - compilerVersion?: Version; -}; -/** - * JSON type for the message google.protobuf.compiler.CodeGeneratorRequest. - */ -export type CodeGeneratorRequestJson = { - /** - * @generated from field: repeated string file_to_generate = 1; - */ - fileToGenerate?: string[]; - /** - * @generated from field: optional string parameter = 2; - */ - parameter?: string; - /** - * @generated from field: repeated google.protobuf.FileDescriptorProto proto_file = 15; - */ - protoFile?: FileDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.FileDescriptorProto source_file_descriptors = 17; - */ - sourceFileDescriptors?: FileDescriptorProtoJson[]; - /** - * @generated from field: optional google.protobuf.compiler.Version compiler_version = 3; - */ - compilerVersion?: VersionJson; -}; -/** - * Describes the message google.protobuf.compiler.CodeGeneratorRequest. - * Use `create(CodeGeneratorRequestSchema)` to create a new message. - */ -export declare const CodeGeneratorRequestSchema: GenMessage; -/** - * The plugin writes an encoded CodeGeneratorResponse to stdout. - * - * @generated from message google.protobuf.compiler.CodeGeneratorResponse - */ -export type CodeGeneratorResponse = Message<"google.protobuf.compiler.CodeGeneratorResponse"> & { - /** - * Error message. If non-empty, code generation failed. The plugin process - * should exit with status code zero even if it reports an error in this way. - * - * This should be used to indicate errors in .proto files which prevent the - * code generator from generating correct code. Errors which indicate a - * problem in protoc itself -- such as the input CodeGeneratorRequest being - * unparseable -- should be reported by writing a message to stderr and - * exiting with a non-zero status code. - * - * @generated from field: optional string error = 1; - */ - error: string; - /** - * A bitmask of supported features that the code generator supports. - * This is a bitwise "or" of values from the Feature enum. - * - * @generated from field: optional uint64 supported_features = 2; - */ - supportedFeatures: bigint; - /** - * The minimum edition this plugin supports. This will be treated as an - * Edition enum, but we want to allow unknown values. It should be specified - * according the edition enum value, *not* the edition number. Only takes - * effect for plugins that have FEATURE_SUPPORTS_EDITIONS set. - * - * @generated from field: optional int32 minimum_edition = 3; - */ - minimumEdition: number; - /** - * The maximum edition this plugin supports. This will be treated as an - * Edition enum, but we want to allow unknown values. It should be specified - * according the edition enum value, *not* the edition number. Only takes - * effect for plugins that have FEATURE_SUPPORTS_EDITIONS set. - * - * @generated from field: optional int32 maximum_edition = 4; - */ - maximumEdition: number; - /** - * @generated from field: repeated google.protobuf.compiler.CodeGeneratorResponse.File file = 15; - */ - file: CodeGeneratorResponse_File[]; -}; -/** - * JSON type for the message google.protobuf.compiler.CodeGeneratorResponse. - */ -export type CodeGeneratorResponseJson = { - /** - * @generated from field: optional string error = 1; - */ - error?: string; - /** - * @generated from field: optional uint64 supported_features = 2; - */ - supportedFeatures?: string; - /** - * @generated from field: optional int32 minimum_edition = 3; - */ - minimumEdition?: number; - /** - * @generated from field: optional int32 maximum_edition = 4; - */ - maximumEdition?: number; - /** - * @generated from field: repeated google.protobuf.compiler.CodeGeneratorResponse.File file = 15; - */ - file?: CodeGeneratorResponse_FileJson[]; -}; -/** - * Describes the message google.protobuf.compiler.CodeGeneratorResponse. - * Use `create(CodeGeneratorResponseSchema)` to create a new message. - */ -export declare const CodeGeneratorResponseSchema: GenMessage; -/** - * Represents a single generated file. - * - * @generated from message google.protobuf.compiler.CodeGeneratorResponse.File - */ -export type CodeGeneratorResponse_File = Message<"google.protobuf.compiler.CodeGeneratorResponse.File"> & { - /** - * The file name, relative to the output directory. The name must not - * contain "." or ".." components and must be relative, not be absolute (so, - * the file cannot lie outside the output directory). "/" must be used as - * the path separator, not "\". - * - * If the name is omitted, the content will be appended to the previous - * file. This allows the generator to break large files into small chunks, - * and allows the generated text to be streamed back to protoc so that large - * files need not reside completely in memory at one time. Note that as of - * this writing protoc does not optimize for this -- it will read the entire - * CodeGeneratorResponse before writing files to disk. - * - * @generated from field: optional string name = 1; - */ - name: string; - /** - * If non-empty, indicates that the named file should already exist, and the - * content here is to be inserted into that file at a defined insertion - * point. This feature allows a code generator to extend the output - * produced by another code generator. The original generator may provide - * insertion points by placing special annotations in the file that look - * like: - * @@protoc_insertion_point(NAME) - * The annotation can have arbitrary text before and after it on the line, - * which allows it to be placed in a comment. NAME should be replaced with - * an identifier naming the point -- this is what other generators will use - * as the insertion_point. Code inserted at this point will be placed - * immediately above the line containing the insertion point (thus multiple - * insertions to the same point will come out in the order they were added). - * The double-@ is intended to make it unlikely that the generated code - * could contain things that look like insertion points by accident. - * - * For example, the C++ code generator places the following line in the - * .pb.h files that it generates: - * // @@protoc_insertion_point(namespace_scope) - * This line appears within the scope of the file's package namespace, but - * outside of any particular class. Another plugin can then specify the - * insertion_point "namespace_scope" to generate additional classes or - * other declarations that should be placed in this scope. - * - * Note that if the line containing the insertion point begins with - * whitespace, the same whitespace will be added to every line of the - * inserted text. This is useful for languages like Python, where - * indentation matters. In these languages, the insertion point comment - * should be indented the same amount as any inserted code will need to be - * in order to work correctly in that context. - * - * The code generator that generates the initial file and the one which - * inserts into it must both run as part of a single invocation of protoc. - * Code generators are executed in the order in which they appear on the - * command line. - * - * If |insertion_point| is present, |name| must also be present. - * - * @generated from field: optional string insertion_point = 2; - */ - insertionPoint: string; - /** - * The file contents. - * - * @generated from field: optional string content = 15; - */ - content: string; - /** - * Information describing the file content being inserted. If an insertion - * point is used, this information will be appropriately offset and inserted - * into the code generation metadata for the generated files. - * - * @generated from field: optional google.protobuf.GeneratedCodeInfo generated_code_info = 16; - */ - generatedCodeInfo?: GeneratedCodeInfo; -}; -/** - * JSON type for the message google.protobuf.compiler.CodeGeneratorResponse.File. - */ -export type CodeGeneratorResponse_FileJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional string insertion_point = 2; - */ - insertionPoint?: string; - /** - * @generated from field: optional string content = 15; - */ - content?: string; - /** - * @generated from field: optional google.protobuf.GeneratedCodeInfo generated_code_info = 16; - */ - generatedCodeInfo?: GeneratedCodeInfoJson; -}; -/** - * Describes the message google.protobuf.compiler.CodeGeneratorResponse.File. - * Use `create(CodeGeneratorResponse_FileSchema)` to create a new message. - */ -export declare const CodeGeneratorResponse_FileSchema: GenMessage; -/** - * Sync with code_generator.h. - * - * @generated from enum google.protobuf.compiler.CodeGeneratorResponse.Feature - */ -export declare enum CodeGeneratorResponse_Feature { - /** - * @generated from enum value: FEATURE_NONE = 0; - */ - NONE = 0, - /** - * @generated from enum value: FEATURE_PROTO3_OPTIONAL = 1; - */ - PROTO3_OPTIONAL = 1, - /** - * @generated from enum value: FEATURE_SUPPORTS_EDITIONS = 2; - */ - SUPPORTS_EDITIONS = 2 -} -/** - * JSON type for the enum google.protobuf.compiler.CodeGeneratorResponse.Feature. - */ -export type CodeGeneratorResponse_FeatureJson = "FEATURE_NONE" | "FEATURE_PROTO3_OPTIONAL" | "FEATURE_SUPPORTS_EDITIONS"; -/** - * Describes the enum google.protobuf.compiler.CodeGeneratorResponse.Feature. - */ -export declare const CodeGeneratorResponse_FeatureSchema: GenEnum; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js deleted file mode 100644 index 63ac251..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { fileDesc } from "../../../../../codegenv1/file.js"; -import { file_google_protobuf_descriptor } from "../descriptor_pb.js"; -import { messageDesc } from "../../../../../codegenv1/message.js"; -import { enumDesc } from "../../../../../codegenv1/enum.js"; -/** - * Describes the file google/protobuf/compiler/plugin.proto. - */ -export const file_google_protobuf_compiler_plugin = /*@__PURE__*/ fileDesc("CiVnb29nbGUvcHJvdG9idWYvY29tcGlsZXIvcGx1Z2luLnByb3RvEhhnb29nbGUucHJvdG9idWYuY29tcGlsZXIiRgoHVmVyc2lvbhINCgVtYWpvchgBIAEoBRINCgVtaW5vchgCIAEoBRINCgVwYXRjaBgDIAEoBRIOCgZzdWZmaXgYBCABKAkigQIKFENvZGVHZW5lcmF0b3JSZXF1ZXN0EhgKEGZpbGVfdG9fZ2VuZXJhdGUYASADKAkSEQoJcGFyYW1ldGVyGAIgASgJEjgKCnByb3RvX2ZpbGUYDyADKAsyJC5nb29nbGUucHJvdG9idWYuRmlsZURlc2NyaXB0b3JQcm90bxJFChdzb3VyY2VfZmlsZV9kZXNjcmlwdG9ycxgRIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5GaWxlRGVzY3JpcHRvclByb3RvEjsKEGNvbXBpbGVyX3ZlcnNpb24YAyABKAsyIS5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuVmVyc2lvbiKSAwoVQ29kZUdlbmVyYXRvclJlc3BvbnNlEg0KBWVycm9yGAEgASgJEhoKEnN1cHBvcnRlZF9mZWF0dXJlcxgCIAEoBBIXCg9taW5pbXVtX2VkaXRpb24YAyABKAUSFwoPbWF4aW11bV9lZGl0aW9uGAQgASgFEkIKBGZpbGUYDyADKAsyNC5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuQ29kZUdlbmVyYXRvclJlc3BvbnNlLkZpbGUafwoERmlsZRIMCgRuYW1lGAEgASgJEhcKD2luc2VydGlvbl9wb2ludBgCIAEoCRIPCgdjb250ZW50GA8gASgJEj8KE2dlbmVyYXRlZF9jb2RlX2luZm8YECABKAsyIi5nb29nbGUucHJvdG9idWYuR2VuZXJhdGVkQ29kZUluZm8iVwoHRmVhdHVyZRIQCgxGRUFUVVJFX05PTkUQABIbChdGRUFUVVJFX1BST1RPM19PUFRJT05BTBABEh0KGUZFQVRVUkVfU1VQUE9SVFNfRURJVElPTlMQAkJyChxjb20uZ29vZ2xlLnByb3RvYnVmLmNvbXBpbGVyQgxQbHVnaW5Qcm90b3NaKWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL3BsdWdpbnBiqgIYR29vZ2xlLlByb3RvYnVmLkNvbXBpbGVy", [file_google_protobuf_descriptor]); -/** - * Describes the message google.protobuf.compiler.Version. - * Use `create(VersionSchema)` to create a new message. - */ -export const VersionSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_compiler_plugin, 0); -/** - * Describes the message google.protobuf.compiler.CodeGeneratorRequest. - * Use `create(CodeGeneratorRequestSchema)` to create a new message. - */ -export const CodeGeneratorRequestSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_compiler_plugin, 1); -/** - * Describes the message google.protobuf.compiler.CodeGeneratorResponse. - * Use `create(CodeGeneratorResponseSchema)` to create a new message. - */ -export const CodeGeneratorResponseSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_compiler_plugin, 2); -/** - * Describes the message google.protobuf.compiler.CodeGeneratorResponse.File. - * Use `create(CodeGeneratorResponse_FileSchema)` to create a new message. - */ -export const CodeGeneratorResponse_FileSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_compiler_plugin, 2, 0); -/** - * Sync with code_generator.h. - * - * @generated from enum google.protobuf.compiler.CodeGeneratorResponse.Feature - */ -export var CodeGeneratorResponse_Feature; -(function (CodeGeneratorResponse_Feature) { - /** - * @generated from enum value: FEATURE_NONE = 0; - */ - CodeGeneratorResponse_Feature[CodeGeneratorResponse_Feature["NONE"] = 0] = "NONE"; - /** - * @generated from enum value: FEATURE_PROTO3_OPTIONAL = 1; - */ - CodeGeneratorResponse_Feature[CodeGeneratorResponse_Feature["PROTO3_OPTIONAL"] = 1] = "PROTO3_OPTIONAL"; - /** - * @generated from enum value: FEATURE_SUPPORTS_EDITIONS = 2; - */ - CodeGeneratorResponse_Feature[CodeGeneratorResponse_Feature["SUPPORTS_EDITIONS"] = 2] = "SUPPORTS_EDITIONS"; -})(CodeGeneratorResponse_Feature || (CodeGeneratorResponse_Feature = {})); -/** - * Describes the enum google.protobuf.compiler.CodeGeneratorResponse.Feature. - */ -export const CodeGeneratorResponse_FeatureSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_compiler_plugin, 2, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.d.ts deleted file mode 100644 index bfdebc0..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.d.ts +++ /dev/null @@ -1,3159 +0,0 @@ -import type { GenEnum, GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/descriptor.proto. - */ -export declare const file_google_protobuf_descriptor: GenFile; -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - * - * @generated from message google.protobuf.FileDescriptorSet - */ -export type FileDescriptorSet = Message<"google.protobuf.FileDescriptorSet"> & { - /** - * @generated from field: repeated google.protobuf.FileDescriptorProto file = 1; - */ - file: FileDescriptorProto[]; -}; -/** - * JSON type for the message google.protobuf.FileDescriptorSet. - */ -export type FileDescriptorSetJson = { - /** - * @generated from field: repeated google.protobuf.FileDescriptorProto file = 1; - */ - file?: FileDescriptorProtoJson[]; -}; -/** - * Describes the message google.protobuf.FileDescriptorSet. - * Use `create(FileDescriptorSetSchema)` to create a new message. - */ -export declare const FileDescriptorSetSchema: GenMessage; -/** - * Describes a complete .proto file. - * - * @generated from message google.protobuf.FileDescriptorProto - */ -export type FileDescriptorProto = Message<"google.protobuf.FileDescriptorProto"> & { - /** - * file name, relative to root of source tree - * - * @generated from field: optional string name = 1; - */ - name: string; - /** - * e.g. "foo", "foo.bar", etc. - * - * @generated from field: optional string package = 2; - */ - package: string; - /** - * Names of files imported by this file. - * - * @generated from field: repeated string dependency = 3; - */ - dependency: string[]; - /** - * Indexes of the public imported files in the dependency list above. - * - * @generated from field: repeated int32 public_dependency = 10; - */ - publicDependency: number[]; - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - * - * @generated from field: repeated int32 weak_dependency = 11; - */ - weakDependency: number[]; - /** - * All top-level definitions in this file. - * - * @generated from field: repeated google.protobuf.DescriptorProto message_type = 4; - */ - messageType: DescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 5; - */ - enumType: EnumDescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.ServiceDescriptorProto service = 6; - */ - service: ServiceDescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 7; - */ - extension: FieldDescriptorProto[]; - /** - * @generated from field: optional google.protobuf.FileOptions options = 8; - */ - options?: FileOptions; - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - * - * @generated from field: optional google.protobuf.SourceCodeInfo source_code_info = 9; - */ - sourceCodeInfo?: SourceCodeInfo; - /** - * The syntax of the proto file. - * The supported values are "proto2", "proto3", and "editions". - * - * If `edition` is present, this value must be "editions". - * - * @generated from field: optional string syntax = 12; - */ - syntax: string; - /** - * The edition of the proto file. - * - * @generated from field: optional google.protobuf.Edition edition = 14; - */ - edition: Edition; -}; -/** - * JSON type for the message google.protobuf.FileDescriptorProto. - */ -export type FileDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional string package = 2; - */ - package?: string; - /** - * @generated from field: repeated string dependency = 3; - */ - dependency?: string[]; - /** - * @generated from field: repeated int32 public_dependency = 10; - */ - publicDependency?: number[]; - /** - * @generated from field: repeated int32 weak_dependency = 11; - */ - weakDependency?: number[]; - /** - * @generated from field: repeated google.protobuf.DescriptorProto message_type = 4; - */ - messageType?: DescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 5; - */ - enumType?: EnumDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.ServiceDescriptorProto service = 6; - */ - service?: ServiceDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 7; - */ - extension?: FieldDescriptorProtoJson[]; - /** - * @generated from field: optional google.protobuf.FileOptions options = 8; - */ - options?: FileOptionsJson; - /** - * @generated from field: optional google.protobuf.SourceCodeInfo source_code_info = 9; - */ - sourceCodeInfo?: SourceCodeInfoJson; - /** - * @generated from field: optional string syntax = 12; - */ - syntax?: string; - /** - * @generated from field: optional google.protobuf.Edition edition = 14; - */ - edition?: EditionJson; -}; -/** - * Describes the message google.protobuf.FileDescriptorProto. - * Use `create(FileDescriptorProtoSchema)` to create a new message. - */ -export declare const FileDescriptorProtoSchema: GenMessage; -/** - * Describes a message type. - * - * @generated from message google.protobuf.DescriptorProto - */ -export type DescriptorProto = Message<"google.protobuf.DescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto field = 2; - */ - field: FieldDescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 6; - */ - extension: FieldDescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.DescriptorProto nested_type = 3; - */ - nestedType: DescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 4; - */ - enumType: EnumDescriptorProto[]; - /** - * @generated from field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; - */ - extensionRange: DescriptorProto_ExtensionRange[]; - /** - * @generated from field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8; - */ - oneofDecl: OneofDescriptorProto[]; - /** - * @generated from field: optional google.protobuf.MessageOptions options = 7; - */ - options?: MessageOptions; - /** - * @generated from field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; - */ - reservedRange: DescriptorProto_ReservedRange[]; - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - * - * @generated from field: repeated string reserved_name = 10; - */ - reservedName: string[]; -}; -/** - * JSON type for the message google.protobuf.DescriptorProto. - */ -export type DescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto field = 2; - */ - field?: FieldDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 6; - */ - extension?: FieldDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.DescriptorProto nested_type = 3; - */ - nestedType?: DescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 4; - */ - enumType?: EnumDescriptorProtoJson[]; - /** - * @generated from field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; - */ - extensionRange?: DescriptorProto_ExtensionRangeJson[]; - /** - * @generated from field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8; - */ - oneofDecl?: OneofDescriptorProtoJson[]; - /** - * @generated from field: optional google.protobuf.MessageOptions options = 7; - */ - options?: MessageOptionsJson; - /** - * @generated from field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; - */ - reservedRange?: DescriptorProto_ReservedRangeJson[]; - /** - * @generated from field: repeated string reserved_name = 10; - */ - reservedName?: string[]; -}; -/** - * Describes the message google.protobuf.DescriptorProto. - * Use `create(DescriptorProtoSchema)` to create a new message. - */ -export declare const DescriptorProtoSchema: GenMessage; -/** - * @generated from message google.protobuf.DescriptorProto.ExtensionRange - */ -export type DescriptorProto_ExtensionRange = Message<"google.protobuf.DescriptorProto.ExtensionRange"> & { - /** - * Inclusive. - * - * @generated from field: optional int32 start = 1; - */ - start: number; - /** - * Exclusive. - * - * @generated from field: optional int32 end = 2; - */ - end: number; - /** - * @generated from field: optional google.protobuf.ExtensionRangeOptions options = 3; - */ - options?: ExtensionRangeOptions; -}; -/** - * JSON type for the message google.protobuf.DescriptorProto.ExtensionRange. - */ -export type DescriptorProto_ExtensionRangeJson = { - /** - * @generated from field: optional int32 start = 1; - */ - start?: number; - /** - * @generated from field: optional int32 end = 2; - */ - end?: number; - /** - * @generated from field: optional google.protobuf.ExtensionRangeOptions options = 3; - */ - options?: ExtensionRangeOptionsJson; -}; -/** - * Describes the message google.protobuf.DescriptorProto.ExtensionRange. - * Use `create(DescriptorProto_ExtensionRangeSchema)` to create a new message. - */ -export declare const DescriptorProto_ExtensionRangeSchema: GenMessage; -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - * - * @generated from message google.protobuf.DescriptorProto.ReservedRange - */ -export type DescriptorProto_ReservedRange = Message<"google.protobuf.DescriptorProto.ReservedRange"> & { - /** - * Inclusive. - * - * @generated from field: optional int32 start = 1; - */ - start: number; - /** - * Exclusive. - * - * @generated from field: optional int32 end = 2; - */ - end: number; -}; -/** - * JSON type for the message google.protobuf.DescriptorProto.ReservedRange. - */ -export type DescriptorProto_ReservedRangeJson = { - /** - * @generated from field: optional int32 start = 1; - */ - start?: number; - /** - * @generated from field: optional int32 end = 2; - */ - end?: number; -}; -/** - * Describes the message google.protobuf.DescriptorProto.ReservedRange. - * Use `create(DescriptorProto_ReservedRangeSchema)` to create a new message. - */ -export declare const DescriptorProto_ReservedRangeSchema: GenMessage; -/** - * @generated from message google.protobuf.ExtensionRangeOptions - */ -export type ExtensionRangeOptions = Message<"google.protobuf.ExtensionRangeOptions"> & { - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; - /** - * For external users: DO NOT USE. We are in the process of open sourcing - * extension declaration and executing internal cleanups before it can be - * used externally. - * - * @generated from field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2; - */ - declaration: ExtensionRangeOptions_Declaration[]; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 50; - */ - features?: FeatureSet; - /** - * The verification state of the range. - * TODO: flip the default to DECLARATION once all empty ranges - * are marked as UNVERIFIED. - * - * @generated from field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED]; - */ - verification: ExtensionRangeOptions_VerificationState; -}; -/** - * JSON type for the message google.protobuf.ExtensionRangeOptions. - */ -export type ExtensionRangeOptionsJson = { - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; - /** - * @generated from field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2; - */ - declaration?: ExtensionRangeOptions_DeclarationJson[]; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 50; - */ - features?: FeatureSetJson; - /** - * @generated from field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED]; - */ - verification?: ExtensionRangeOptions_VerificationStateJson; -}; -/** - * Describes the message google.protobuf.ExtensionRangeOptions. - * Use `create(ExtensionRangeOptionsSchema)` to create a new message. - */ -export declare const ExtensionRangeOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.ExtensionRangeOptions.Declaration - */ -export type ExtensionRangeOptions_Declaration = Message<"google.protobuf.ExtensionRangeOptions.Declaration"> & { - /** - * The extension number declared within the extension range. - * - * @generated from field: optional int32 number = 1; - */ - number: number; - /** - * The fully-qualified name of the extension field. There must be a leading - * dot in front of the full name. - * - * @generated from field: optional string full_name = 2; - */ - fullName: string; - /** - * The fully-qualified type name of the extension field. Unlike - * Metadata.type, Declaration.type must have a leading dot for messages - * and enums. - * - * @generated from field: optional string type = 3; - */ - type: string; - /** - * If true, indicates that the number is reserved in the extension range, - * and any extension field with the number will fail to compile. Set this - * when a declared extension field is deleted. - * - * @generated from field: optional bool reserved = 5; - */ - reserved: boolean; - /** - * If true, indicates that the extension must be defined as repeated. - * Otherwise the extension must be defined as optional. - * - * @generated from field: optional bool repeated = 6; - */ - repeated: boolean; -}; -/** - * JSON type for the message google.protobuf.ExtensionRangeOptions.Declaration. - */ -export type ExtensionRangeOptions_DeclarationJson = { - /** - * @generated from field: optional int32 number = 1; - */ - number?: number; - /** - * @generated from field: optional string full_name = 2; - */ - fullName?: string; - /** - * @generated from field: optional string type = 3; - */ - type?: string; - /** - * @generated from field: optional bool reserved = 5; - */ - reserved?: boolean; - /** - * @generated from field: optional bool repeated = 6; - */ - repeated?: boolean; -}; -/** - * Describes the message google.protobuf.ExtensionRangeOptions.Declaration. - * Use `create(ExtensionRangeOptions_DeclarationSchema)` to create a new message. - */ -export declare const ExtensionRangeOptions_DeclarationSchema: GenMessage; -/** - * The verification state of the extension range. - * - * @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState - */ -export declare enum ExtensionRangeOptions_VerificationState { - /** - * All the extensions of the range must be declared. - * - * @generated from enum value: DECLARATION = 0; - */ - DECLARATION = 0, - /** - * @generated from enum value: UNVERIFIED = 1; - */ - UNVERIFIED = 1 -} -/** - * JSON type for the enum google.protobuf.ExtensionRangeOptions.VerificationState. - */ -export type ExtensionRangeOptions_VerificationStateJson = "DECLARATION" | "UNVERIFIED"; -/** - * Describes the enum google.protobuf.ExtensionRangeOptions.VerificationState. - */ -export declare const ExtensionRangeOptions_VerificationStateSchema: GenEnum; -/** - * Describes a field within a message. - * - * @generated from message google.protobuf.FieldDescriptorProto - */ -export type FieldDescriptorProto = Message<"google.protobuf.FieldDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: optional int32 number = 3; - */ - number: number; - /** - * @generated from field: optional google.protobuf.FieldDescriptorProto.Label label = 4; - */ - label: FieldDescriptorProto_Label; - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - * - * @generated from field: optional google.protobuf.FieldDescriptorProto.Type type = 5; - */ - type: FieldDescriptorProto_Type; - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - * - * @generated from field: optional string type_name = 6; - */ - typeName: string; - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - * - * @generated from field: optional string extendee = 2; - */ - extendee: string; - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * - * @generated from field: optional string default_value = 7; - */ - defaultValue: string; - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - * - * @generated from field: optional int32 oneof_index = 9; - */ - oneofIndex: number; - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - * - * @generated from field: optional string json_name = 10; - */ - jsonName: string; - /** - * @generated from field: optional google.protobuf.FieldOptions options = 8; - */ - options?: FieldOptions; - /** - * If true, this is a proto3 "optional". When a proto3 field is optional, it - * tracks presence regardless of field type. - * - * When proto3_optional is true, this field must belong to a oneof to signal - * to old proto3 clients that presence is tracked for this field. This oneof - * is known as a "synthetic" oneof, and this field must be its sole member - * (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs - * exist in the descriptor only, and do not generate any API. Synthetic oneofs - * must be ordered after all "real" oneofs. - * - * For message fields, proto3_optional doesn't create any semantic change, - * since non-repeated message fields always track presence. However it still - * indicates the semantic detail of whether the user wrote "optional" or not. - * This can be useful for round-tripping the .proto file. For consistency we - * give message fields a synthetic oneof also, even though it is not required - * to track presence. This is especially important because the parser can't - * tell if a field is a message or an enum, so it must always create a - * synthetic oneof. - * - * Proto2 optional fields do not set this flag, because they already indicate - * optional with `LABEL_OPTIONAL`. - * - * @generated from field: optional bool proto3_optional = 17; - */ - proto3Optional: boolean; -}; -/** - * JSON type for the message google.protobuf.FieldDescriptorProto. - */ -export type FieldDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional int32 number = 3; - */ - number?: number; - /** - * @generated from field: optional google.protobuf.FieldDescriptorProto.Label label = 4; - */ - label?: FieldDescriptorProto_LabelJson; - /** - * @generated from field: optional google.protobuf.FieldDescriptorProto.Type type = 5; - */ - type?: FieldDescriptorProto_TypeJson; - /** - * @generated from field: optional string type_name = 6; - */ - typeName?: string; - /** - * @generated from field: optional string extendee = 2; - */ - extendee?: string; - /** - * @generated from field: optional string default_value = 7; - */ - defaultValue?: string; - /** - * @generated from field: optional int32 oneof_index = 9; - */ - oneofIndex?: number; - /** - * @generated from field: optional string json_name = 10; - */ - jsonName?: string; - /** - * @generated from field: optional google.protobuf.FieldOptions options = 8; - */ - options?: FieldOptionsJson; - /** - * @generated from field: optional bool proto3_optional = 17; - */ - proto3Optional?: boolean; -}; -/** - * Describes the message google.protobuf.FieldDescriptorProto. - * Use `create(FieldDescriptorProtoSchema)` to create a new message. - */ -export declare const FieldDescriptorProtoSchema: GenMessage; -/** - * @generated from enum google.protobuf.FieldDescriptorProto.Type - */ -export declare enum FieldDescriptorProto_Type { - /** - * 0 is reserved for errors. - * Order is weird for historical reasons. - * - * @generated from enum value: TYPE_DOUBLE = 1; - */ - DOUBLE = 1, - /** - * @generated from enum value: TYPE_FLOAT = 2; - */ - FLOAT = 2, - /** - * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - * negative values are likely. - * - * @generated from enum value: TYPE_INT64 = 3; - */ - INT64 = 3, - /** - * @generated from enum value: TYPE_UINT64 = 4; - */ - UINT64 = 4, - /** - * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - * negative values are likely. - * - * @generated from enum value: TYPE_INT32 = 5; - */ - INT32 = 5, - /** - * @generated from enum value: TYPE_FIXED64 = 6; - */ - FIXED64 = 6, - /** - * @generated from enum value: TYPE_FIXED32 = 7; - */ - FIXED32 = 7, - /** - * @generated from enum value: TYPE_BOOL = 8; - */ - BOOL = 8, - /** - * @generated from enum value: TYPE_STRING = 9; - */ - STRING = 9, - /** - * Tag-delimited aggregate. - * Group type is deprecated and not supported after google.protobuf. However, Proto3 - * implementations should still be able to parse the group wire format and - * treat group fields as unknown fields. In Editions, the group wire format - * can be enabled via the `message_encoding` feature. - * - * @generated from enum value: TYPE_GROUP = 10; - */ - GROUP = 10, - /** - * Length-delimited aggregate. - * - * @generated from enum value: TYPE_MESSAGE = 11; - */ - MESSAGE = 11, - /** - * New in version 2. - * - * @generated from enum value: TYPE_BYTES = 12; - */ - BYTES = 12, - /** - * @generated from enum value: TYPE_UINT32 = 13; - */ - UINT32 = 13, - /** - * @generated from enum value: TYPE_ENUM = 14; - */ - ENUM = 14, - /** - * @generated from enum value: TYPE_SFIXED32 = 15; - */ - SFIXED32 = 15, - /** - * @generated from enum value: TYPE_SFIXED64 = 16; - */ - SFIXED64 = 16, - /** - * Uses ZigZag encoding. - * - * @generated from enum value: TYPE_SINT32 = 17; - */ - SINT32 = 17, - /** - * Uses ZigZag encoding. - * - * @generated from enum value: TYPE_SINT64 = 18; - */ - SINT64 = 18 -} -/** - * JSON type for the enum google.protobuf.FieldDescriptorProto.Type. - */ -export type FieldDescriptorProto_TypeJson = "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64"; -/** - * Describes the enum google.protobuf.FieldDescriptorProto.Type. - */ -export declare const FieldDescriptorProto_TypeSchema: GenEnum; -/** - * @generated from enum google.protobuf.FieldDescriptorProto.Label - */ -export declare enum FieldDescriptorProto_Label { - /** - * 0 is reserved for errors - * - * @generated from enum value: LABEL_OPTIONAL = 1; - */ - OPTIONAL = 1, - /** - * @generated from enum value: LABEL_REPEATED = 3; - */ - REPEATED = 3, - /** - * The required label is only allowed in google.protobuf. In proto3 and Editions - * it's explicitly prohibited. In Editions, the `field_presence` feature - * can be used to get this behavior. - * - * @generated from enum value: LABEL_REQUIRED = 2; - */ - REQUIRED = 2 -} -/** - * JSON type for the enum google.protobuf.FieldDescriptorProto.Label. - */ -export type FieldDescriptorProto_LabelJson = "LABEL_OPTIONAL" | "LABEL_REPEATED" | "LABEL_REQUIRED"; -/** - * Describes the enum google.protobuf.FieldDescriptorProto.Label. - */ -export declare const FieldDescriptorProto_LabelSchema: GenEnum; -/** - * Describes a oneof. - * - * @generated from message google.protobuf.OneofDescriptorProto - */ -export type OneofDescriptorProto = Message<"google.protobuf.OneofDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: optional google.protobuf.OneofOptions options = 2; - */ - options?: OneofOptions; -}; -/** - * JSON type for the message google.protobuf.OneofDescriptorProto. - */ -export type OneofDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional google.protobuf.OneofOptions options = 2; - */ - options?: OneofOptionsJson; -}; -/** - * Describes the message google.protobuf.OneofDescriptorProto. - * Use `create(OneofDescriptorProtoSchema)` to create a new message. - */ -export declare const OneofDescriptorProtoSchema: GenMessage; -/** - * Describes an enum type. - * - * @generated from message google.protobuf.EnumDescriptorProto - */ -export type EnumDescriptorProto = Message<"google.protobuf.EnumDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: repeated google.protobuf.EnumValueDescriptorProto value = 2; - */ - value: EnumValueDescriptorProto[]; - /** - * @generated from field: optional google.protobuf.EnumOptions options = 3; - */ - options?: EnumOptions; - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - * - * @generated from field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; - */ - reservedRange: EnumDescriptorProto_EnumReservedRange[]; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - * - * @generated from field: repeated string reserved_name = 5; - */ - reservedName: string[]; -}; -/** - * JSON type for the message google.protobuf.EnumDescriptorProto. - */ -export type EnumDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.EnumValueDescriptorProto value = 2; - */ - value?: EnumValueDescriptorProtoJson[]; - /** - * @generated from field: optional google.protobuf.EnumOptions options = 3; - */ - options?: EnumOptionsJson; - /** - * @generated from field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; - */ - reservedRange?: EnumDescriptorProto_EnumReservedRangeJson[]; - /** - * @generated from field: repeated string reserved_name = 5; - */ - reservedName?: string[]; -}; -/** - * Describes the message google.protobuf.EnumDescriptorProto. - * Use `create(EnumDescriptorProtoSchema)` to create a new message. - */ -export declare const EnumDescriptorProtoSchema: GenMessage; -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - * - * @generated from message google.protobuf.EnumDescriptorProto.EnumReservedRange - */ -export type EnumDescriptorProto_EnumReservedRange = Message<"google.protobuf.EnumDescriptorProto.EnumReservedRange"> & { - /** - * Inclusive. - * - * @generated from field: optional int32 start = 1; - */ - start: number; - /** - * Inclusive. - * - * @generated from field: optional int32 end = 2; - */ - end: number; -}; -/** - * JSON type for the message google.protobuf.EnumDescriptorProto.EnumReservedRange. - */ -export type EnumDescriptorProto_EnumReservedRangeJson = { - /** - * @generated from field: optional int32 start = 1; - */ - start?: number; - /** - * @generated from field: optional int32 end = 2; - */ - end?: number; -}; -/** - * Describes the message google.protobuf.EnumDescriptorProto.EnumReservedRange. - * Use `create(EnumDescriptorProto_EnumReservedRangeSchema)` to create a new message. - */ -export declare const EnumDescriptorProto_EnumReservedRangeSchema: GenMessage; -/** - * Describes a value within an enum. - * - * @generated from message google.protobuf.EnumValueDescriptorProto - */ -export type EnumValueDescriptorProto = Message<"google.protobuf.EnumValueDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: optional int32 number = 2; - */ - number: number; - /** - * @generated from field: optional google.protobuf.EnumValueOptions options = 3; - */ - options?: EnumValueOptions; -}; -/** - * JSON type for the message google.protobuf.EnumValueDescriptorProto. - */ -export type EnumValueDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional int32 number = 2; - */ - number?: number; - /** - * @generated from field: optional google.protobuf.EnumValueOptions options = 3; - */ - options?: EnumValueOptionsJson; -}; -/** - * Describes the message google.protobuf.EnumValueDescriptorProto. - * Use `create(EnumValueDescriptorProtoSchema)` to create a new message. - */ -export declare const EnumValueDescriptorProtoSchema: GenMessage; -/** - * Describes a service. - * - * @generated from message google.protobuf.ServiceDescriptorProto - */ -export type ServiceDescriptorProto = Message<"google.protobuf.ServiceDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * @generated from field: repeated google.protobuf.MethodDescriptorProto method = 2; - */ - method: MethodDescriptorProto[]; - /** - * @generated from field: optional google.protobuf.ServiceOptions options = 3; - */ - options?: ServiceOptions; -}; -/** - * JSON type for the message google.protobuf.ServiceDescriptorProto. - */ -export type ServiceDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.MethodDescriptorProto method = 2; - */ - method?: MethodDescriptorProtoJson[]; - /** - * @generated from field: optional google.protobuf.ServiceOptions options = 3; - */ - options?: ServiceOptionsJson; -}; -/** - * Describes the message google.protobuf.ServiceDescriptorProto. - * Use `create(ServiceDescriptorProtoSchema)` to create a new message. - */ -export declare const ServiceDescriptorProtoSchema: GenMessage; -/** - * Describes a method of a service. - * - * @generated from message google.protobuf.MethodDescriptorProto - */ -export type MethodDescriptorProto = Message<"google.protobuf.MethodDescriptorProto"> & { - /** - * @generated from field: optional string name = 1; - */ - name: string; - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - * - * @generated from field: optional string input_type = 2; - */ - inputType: string; - /** - * @generated from field: optional string output_type = 3; - */ - outputType: string; - /** - * @generated from field: optional google.protobuf.MethodOptions options = 4; - */ - options?: MethodOptions; - /** - * Identifies if client streams multiple client messages - * - * @generated from field: optional bool client_streaming = 5 [default = false]; - */ - clientStreaming: boolean; - /** - * Identifies if server streams multiple server messages - * - * @generated from field: optional bool server_streaming = 6 [default = false]; - */ - serverStreaming: boolean; -}; -/** - * JSON type for the message google.protobuf.MethodDescriptorProto. - */ -export type MethodDescriptorProtoJson = { - /** - * @generated from field: optional string name = 1; - */ - name?: string; - /** - * @generated from field: optional string input_type = 2; - */ - inputType?: string; - /** - * @generated from field: optional string output_type = 3; - */ - outputType?: string; - /** - * @generated from field: optional google.protobuf.MethodOptions options = 4; - */ - options?: MethodOptionsJson; - /** - * @generated from field: optional bool client_streaming = 5 [default = false]; - */ - clientStreaming?: boolean; - /** - * @generated from field: optional bool server_streaming = 6 [default = false]; - */ - serverStreaming?: boolean; -}; -/** - * Describes the message google.protobuf.MethodDescriptorProto. - * Use `create(MethodDescriptorProtoSchema)` to create a new message. - */ -export declare const MethodDescriptorProtoSchema: GenMessage; -/** - * @generated from message google.protobuf.FileOptions - */ -export type FileOptions = Message<"google.protobuf.FileOptions"> & { - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - * - * @generated from field: optional string java_package = 1; - */ - javaPackage: string; - /** - * Controls the name of the wrapper Java class generated for the .proto file. - * That class will always contain the .proto file's getDescriptor() method as - * well as any top-level extensions defined in the .proto file. - * If java_multiple_files is disabled, then all the other classes from the - * .proto file will be nested inside the single wrapper outer class. - * - * @generated from field: optional string java_outer_classname = 8; - */ - javaOuterClassname: string; - /** - * If enabled, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the wrapper class - * named by java_outer_classname. However, the wrapper class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - * - * @generated from field: optional bool java_multiple_files = 10 [default = false]; - */ - javaMultipleFiles: boolean; - /** - * This option does nothing. - * - * @generated from field: optional bool java_generate_equals_and_hash = 20 [deprecated = true]; - * @deprecated - */ - javaGenerateEqualsAndHash: boolean; - /** - * A proto2 file can set this to true to opt in to UTF-8 checking for Java, - * which will throw an exception if invalid UTF-8 is parsed from the wire or - * assigned to a string field. - * - * TODO: clarify exactly what kinds of field types this option - * applies to, and update these docs accordingly. - * - * Proto3 files already perform these checks. Setting the option explicitly to - * false has no effect: it cannot be used to opt proto3 files out of UTF-8 - * checks. - * - * @generated from field: optional bool java_string_check_utf8 = 27 [default = false]; - */ - javaStringCheckUtf8: boolean; - /** - * @generated from field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; - */ - optimizeFor: FileOptions_OptimizeMode; - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - * - * @generated from field: optional string go_package = 11; - */ - goPackage: string; - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - * - * @generated from field: optional bool cc_generic_services = 16 [default = false]; - */ - ccGenericServices: boolean; - /** - * @generated from field: optional bool java_generic_services = 17 [default = false]; - */ - javaGenericServices: boolean; - /** - * @generated from field: optional bool py_generic_services = 18 [default = false]; - */ - pyGenericServices: boolean; - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - * - * @generated from field: optional bool deprecated = 23 [default = false]; - */ - deprecated: boolean; - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - * - * @generated from field: optional bool cc_enable_arenas = 31 [default = true]; - */ - ccEnableArenas: boolean; - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - * - * @generated from field: optional string objc_class_prefix = 36; - */ - objcClassPrefix: string; - /** - * Namespace for generated classes; defaults to the package. - * - * @generated from field: optional string csharp_namespace = 37; - */ - csharpNamespace: string; - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - * - * @generated from field: optional string swift_prefix = 39; - */ - swiftPrefix: string; - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - * - * @generated from field: optional string php_class_prefix = 40; - */ - phpClassPrefix: string; - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - * - * @generated from field: optional string php_namespace = 41; - */ - phpNamespace: string; - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - * - * @generated from field: optional string php_metadata_namespace = 44; - */ - phpMetadataNamespace: string; - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - * - * @generated from field: optional string ruby_package = 45; - */ - rubyPackage: string; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 50; - */ - features?: FeatureSet; - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.FileOptions. - */ -export type FileOptionsJson = { - /** - * @generated from field: optional string java_package = 1; - */ - javaPackage?: string; - /** - * @generated from field: optional string java_outer_classname = 8; - */ - javaOuterClassname?: string; - /** - * @generated from field: optional bool java_multiple_files = 10 [default = false]; - */ - javaMultipleFiles?: boolean; - /** - * @generated from field: optional bool java_generate_equals_and_hash = 20 [deprecated = true]; - */ - javaGenerateEqualsAndHash?: boolean; - /** - * @generated from field: optional bool java_string_check_utf8 = 27 [default = false]; - */ - javaStringCheckUtf8?: boolean; - /** - * @generated from field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; - */ - optimizeFor?: FileOptions_OptimizeModeJson; - /** - * @generated from field: optional string go_package = 11; - */ - goPackage?: string; - /** - * @generated from field: optional bool cc_generic_services = 16 [default = false]; - */ - ccGenericServices?: boolean; - /** - * @generated from field: optional bool java_generic_services = 17 [default = false]; - */ - javaGenericServices?: boolean; - /** - * @generated from field: optional bool py_generic_services = 18 [default = false]; - */ - pyGenericServices?: boolean; - /** - * @generated from field: optional bool deprecated = 23 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional bool cc_enable_arenas = 31 [default = true]; - */ - ccEnableArenas?: boolean; - /** - * @generated from field: optional string objc_class_prefix = 36; - */ - objcClassPrefix?: string; - /** - * @generated from field: optional string csharp_namespace = 37; - */ - csharpNamespace?: string; - /** - * @generated from field: optional string swift_prefix = 39; - */ - swiftPrefix?: string; - /** - * @generated from field: optional string php_class_prefix = 40; - */ - phpClassPrefix?: string; - /** - * @generated from field: optional string php_namespace = 41; - */ - phpNamespace?: string; - /** - * @generated from field: optional string php_metadata_namespace = 44; - */ - phpMetadataNamespace?: string; - /** - * @generated from field: optional string ruby_package = 45; - */ - rubyPackage?: string; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 50; - */ - features?: FeatureSetJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.FileOptions. - * Use `create(FileOptionsSchema)` to create a new message. - */ -export declare const FileOptionsSchema: GenMessage; -/** - * Generated classes can be optimized for speed or code size. - * - * @generated from enum google.protobuf.FileOptions.OptimizeMode - */ -export declare enum FileOptions_OptimizeMode { - /** - * Generate complete code for parsing, serialization, - * - * @generated from enum value: SPEED = 1; - */ - SPEED = 1, - /** - * etc. - * - * Use ReflectionOps to implement these methods. - * - * @generated from enum value: CODE_SIZE = 2; - */ - CODE_SIZE = 2, - /** - * Generate code using MessageLite and the lite runtime. - * - * @generated from enum value: LITE_RUNTIME = 3; - */ - LITE_RUNTIME = 3 -} -/** - * JSON type for the enum google.protobuf.FileOptions.OptimizeMode. - */ -export type FileOptions_OptimizeModeJson = "SPEED" | "CODE_SIZE" | "LITE_RUNTIME"; -/** - * Describes the enum google.protobuf.FileOptions.OptimizeMode. - */ -export declare const FileOptions_OptimizeModeSchema: GenEnum; -/** - * @generated from message google.protobuf.MessageOptions - */ -export type MessageOptions = Message<"google.protobuf.MessageOptions"> & { - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - * - * @generated from field: optional bool message_set_wire_format = 1 [default = false]; - */ - messageSetWireFormat: boolean; - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - * - * @generated from field: optional bool no_standard_descriptor_accessor = 2 [default = false]; - */ - noStandardDescriptorAccessor: boolean; - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - * - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated: boolean; - /** - * Whether the message is an automatically generated map entry type for the - * maps field. - * - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - * - * @generated from field: optional bool map_entry = 7; - */ - mapEntry: boolean; - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * - * This should only be used as a temporary measure against broken builds due - * to the change in behavior for JSON field name conflicts. - * - * TODO This is legacy behavior we plan to remove once downstream - * teams have had time to migrate. - * - * @generated from field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; - * @deprecated - */ - deprecatedLegacyJsonFieldConflicts: boolean; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 12; - */ - features?: FeatureSet; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.MessageOptions. - */ -export type MessageOptionsJson = { - /** - * @generated from field: optional bool message_set_wire_format = 1 [default = false]; - */ - messageSetWireFormat?: boolean; - /** - * @generated from field: optional bool no_standard_descriptor_accessor = 2 [default = false]; - */ - noStandardDescriptorAccessor?: boolean; - /** - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional bool map_entry = 7; - */ - mapEntry?: boolean; - /** - * @generated from field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; - */ - deprecatedLegacyJsonFieldConflicts?: boolean; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 12; - */ - features?: FeatureSetJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.MessageOptions. - * Use `create(MessageOptionsSchema)` to create a new message. - */ -export declare const MessageOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.FieldOptions - */ -export type FieldOptions = Message<"google.protobuf.FieldOptions"> & { - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is only implemented to support use of - * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of - * type "bytes" in the open source release -- sorry, we'll try to include - * other types in a future version! - * - * @generated from field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; - */ - ctype: FieldOptions_CType; - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. This option is prohibited in - * Editions, but the `repeated_field_encoding` feature can be used to control - * the behavior. - * - * @generated from field: optional bool packed = 2; - */ - packed: boolean; - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - * - * @generated from field: optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; - */ - jstype: FieldOptions_JSType; - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * - * Note that lazy message fields are still eagerly verified to check - * ill-formed wireformat or missing required fields. Calling IsInitialized() - * on the outer message would fail if the inner message has missing required - * fields. Failed verification would result in parsing failure (except when - * uninitialized messages are acceptable). - * - * @generated from field: optional bool lazy = 5 [default = false]; - */ - lazy: boolean; - /** - * unverified_lazy does no correctness checks on the byte stream. This should - * only be used where lazy with verification is prohibitive for performance - * reasons. - * - * @generated from field: optional bool unverified_lazy = 15 [default = false]; - */ - unverifiedLazy: boolean; - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - * - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated: boolean; - /** - * For Google-internal migration only. Do not use. - * - * @generated from field: optional bool weak = 10 [default = false]; - */ - weak: boolean; - /** - * Indicate that the field value should not be printed out when using debug - * formats, e.g. when the field contains sensitive credentials. - * - * @generated from field: optional bool debug_redact = 16 [default = false]; - */ - debugRedact: boolean; - /** - * @generated from field: optional google.protobuf.FieldOptions.OptionRetention retention = 17; - */ - retention: FieldOptions_OptionRetention; - /** - * @generated from field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19; - */ - targets: FieldOptions_OptionTargetType[]; - /** - * @generated from field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; - */ - editionDefaults: FieldOptions_EditionDefault[]; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 21; - */ - features?: FeatureSet; - /** - * @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22; - */ - featureSupport?: FieldOptions_FeatureSupport; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.FieldOptions. - */ -export type FieldOptionsJson = { - /** - * @generated from field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; - */ - ctype?: FieldOptions_CTypeJson; - /** - * @generated from field: optional bool packed = 2; - */ - packed?: boolean; - /** - * @generated from field: optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; - */ - jstype?: FieldOptions_JSTypeJson; - /** - * @generated from field: optional bool lazy = 5 [default = false]; - */ - lazy?: boolean; - /** - * @generated from field: optional bool unverified_lazy = 15 [default = false]; - */ - unverifiedLazy?: boolean; - /** - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional bool weak = 10 [default = false]; - */ - weak?: boolean; - /** - * @generated from field: optional bool debug_redact = 16 [default = false]; - */ - debugRedact?: boolean; - /** - * @generated from field: optional google.protobuf.FieldOptions.OptionRetention retention = 17; - */ - retention?: FieldOptions_OptionRetentionJson; - /** - * @generated from field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19; - */ - targets?: FieldOptions_OptionTargetTypeJson[]; - /** - * @generated from field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; - */ - editionDefaults?: FieldOptions_EditionDefaultJson[]; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 21; - */ - features?: FeatureSetJson; - /** - * @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22; - */ - featureSupport?: FieldOptions_FeatureSupportJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.FieldOptions. - * Use `create(FieldOptionsSchema)` to create a new message. - */ -export declare const FieldOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.FieldOptions.EditionDefault - */ -export type FieldOptions_EditionDefault = Message<"google.protobuf.FieldOptions.EditionDefault"> & { - /** - * @generated from field: optional google.protobuf.Edition edition = 3; - */ - edition: Edition; - /** - * Textproto value. - * - * @generated from field: optional string value = 2; - */ - value: string; -}; -/** - * JSON type for the message google.protobuf.FieldOptions.EditionDefault. - */ -export type FieldOptions_EditionDefaultJson = { - /** - * @generated from field: optional google.protobuf.Edition edition = 3; - */ - edition?: EditionJson; - /** - * @generated from field: optional string value = 2; - */ - value?: string; -}; -/** - * Describes the message google.protobuf.FieldOptions.EditionDefault. - * Use `create(FieldOptions_EditionDefaultSchema)` to create a new message. - */ -export declare const FieldOptions_EditionDefaultSchema: GenMessage; -/** - * Information about the support window of a feature. - * - * @generated from message google.protobuf.FieldOptions.FeatureSupport - */ -export type FieldOptions_FeatureSupport = Message<"google.protobuf.FieldOptions.FeatureSupport"> & { - /** - * The edition that this feature was first available in. In editions - * earlier than this one, the default assigned to EDITION_LEGACY will be - * used, and proto files will not be able to override it. - * - * @generated from field: optional google.protobuf.Edition edition_introduced = 1; - */ - editionIntroduced: Edition; - /** - * The edition this feature becomes deprecated in. Using this after this - * edition may trigger warnings. - * - * @generated from field: optional google.protobuf.Edition edition_deprecated = 2; - */ - editionDeprecated: Edition; - /** - * The deprecation warning text if this feature is used after the edition it - * was marked deprecated in. - * - * @generated from field: optional string deprecation_warning = 3; - */ - deprecationWarning: string; - /** - * The edition this feature is no longer available in. In editions after - * this one, the last default assigned will be used, and proto files will - * not be able to override it. - * - * @generated from field: optional google.protobuf.Edition edition_removed = 4; - */ - editionRemoved: Edition; -}; -/** - * JSON type for the message google.protobuf.FieldOptions.FeatureSupport. - */ -export type FieldOptions_FeatureSupportJson = { - /** - * @generated from field: optional google.protobuf.Edition edition_introduced = 1; - */ - editionIntroduced?: EditionJson; - /** - * @generated from field: optional google.protobuf.Edition edition_deprecated = 2; - */ - editionDeprecated?: EditionJson; - /** - * @generated from field: optional string deprecation_warning = 3; - */ - deprecationWarning?: string; - /** - * @generated from field: optional google.protobuf.Edition edition_removed = 4; - */ - editionRemoved?: EditionJson; -}; -/** - * Describes the message google.protobuf.FieldOptions.FeatureSupport. - * Use `create(FieldOptions_FeatureSupportSchema)` to create a new message. - */ -export declare const FieldOptions_FeatureSupportSchema: GenMessage; -/** - * @generated from enum google.protobuf.FieldOptions.CType - */ -export declare enum FieldOptions_CType { - /** - * Default mode. - * - * @generated from enum value: STRING = 0; - */ - STRING = 0, - /** - * The option [ctype=CORD] may be applied to a non-repeated field of type - * "bytes". It indicates that in C++, the data should be stored in a Cord - * instead of a string. For very large strings, this may reduce memory - * fragmentation. It may also allow better performance when parsing from a - * Cord, or when parsing with aliasing enabled, as the parsed Cord may then - * alias the original buffer. - * - * @generated from enum value: CORD = 1; - */ - CORD = 1, - /** - * @generated from enum value: STRING_PIECE = 2; - */ - STRING_PIECE = 2 -} -/** - * JSON type for the enum google.protobuf.FieldOptions.CType. - */ -export type FieldOptions_CTypeJson = "STRING" | "CORD" | "STRING_PIECE"; -/** - * Describes the enum google.protobuf.FieldOptions.CType. - */ -export declare const FieldOptions_CTypeSchema: GenEnum; -/** - * @generated from enum google.protobuf.FieldOptions.JSType - */ -export declare enum FieldOptions_JSType { - /** - * Use the default type. - * - * @generated from enum value: JS_NORMAL = 0; - */ - JS_NORMAL = 0, - /** - * Use JavaScript strings. - * - * @generated from enum value: JS_STRING = 1; - */ - JS_STRING = 1, - /** - * Use JavaScript numbers. - * - * @generated from enum value: JS_NUMBER = 2; - */ - JS_NUMBER = 2 -} -/** - * JSON type for the enum google.protobuf.FieldOptions.JSType. - */ -export type FieldOptions_JSTypeJson = "JS_NORMAL" | "JS_STRING" | "JS_NUMBER"; -/** - * Describes the enum google.protobuf.FieldOptions.JSType. - */ -export declare const FieldOptions_JSTypeSchema: GenEnum; -/** - * If set to RETENTION_SOURCE, the option will be omitted from the binary. - * Note: as of January 2023, support for this is in progress and does not yet - * have an effect (b/264593489). - * - * @generated from enum google.protobuf.FieldOptions.OptionRetention - */ -export declare enum FieldOptions_OptionRetention { - /** - * @generated from enum value: RETENTION_UNKNOWN = 0; - */ - RETENTION_UNKNOWN = 0, - /** - * @generated from enum value: RETENTION_RUNTIME = 1; - */ - RETENTION_RUNTIME = 1, - /** - * @generated from enum value: RETENTION_SOURCE = 2; - */ - RETENTION_SOURCE = 2 -} -/** - * JSON type for the enum google.protobuf.FieldOptions.OptionRetention. - */ -export type FieldOptions_OptionRetentionJson = "RETENTION_UNKNOWN" | "RETENTION_RUNTIME" | "RETENTION_SOURCE"; -/** - * Describes the enum google.protobuf.FieldOptions.OptionRetention. - */ -export declare const FieldOptions_OptionRetentionSchema: GenEnum; -/** - * This indicates the types of entities that the field may apply to when used - * as an option. If it is unset, then the field may be freely used as an - * option on any kind of entity. Note: as of January 2023, support for this is - * in progress and does not yet have an effect (b/264593489). - * - * @generated from enum google.protobuf.FieldOptions.OptionTargetType - */ -export declare enum FieldOptions_OptionTargetType { - /** - * @generated from enum value: TARGET_TYPE_UNKNOWN = 0; - */ - TARGET_TYPE_UNKNOWN = 0, - /** - * @generated from enum value: TARGET_TYPE_FILE = 1; - */ - TARGET_TYPE_FILE = 1, - /** - * @generated from enum value: TARGET_TYPE_EXTENSION_RANGE = 2; - */ - TARGET_TYPE_EXTENSION_RANGE = 2, - /** - * @generated from enum value: TARGET_TYPE_MESSAGE = 3; - */ - TARGET_TYPE_MESSAGE = 3, - /** - * @generated from enum value: TARGET_TYPE_FIELD = 4; - */ - TARGET_TYPE_FIELD = 4, - /** - * @generated from enum value: TARGET_TYPE_ONEOF = 5; - */ - TARGET_TYPE_ONEOF = 5, - /** - * @generated from enum value: TARGET_TYPE_ENUM = 6; - */ - TARGET_TYPE_ENUM = 6, - /** - * @generated from enum value: TARGET_TYPE_ENUM_ENTRY = 7; - */ - TARGET_TYPE_ENUM_ENTRY = 7, - /** - * @generated from enum value: TARGET_TYPE_SERVICE = 8; - */ - TARGET_TYPE_SERVICE = 8, - /** - * @generated from enum value: TARGET_TYPE_METHOD = 9; - */ - TARGET_TYPE_METHOD = 9 -} -/** - * JSON type for the enum google.protobuf.FieldOptions.OptionTargetType. - */ -export type FieldOptions_OptionTargetTypeJson = "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD"; -/** - * Describes the enum google.protobuf.FieldOptions.OptionTargetType. - */ -export declare const FieldOptions_OptionTargetTypeSchema: GenEnum; -/** - * @generated from message google.protobuf.OneofOptions - */ -export type OneofOptions = Message<"google.protobuf.OneofOptions"> & { - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 1; - */ - features?: FeatureSet; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.OneofOptions. - */ -export type OneofOptionsJson = { - /** - * @generated from field: optional google.protobuf.FeatureSet features = 1; - */ - features?: FeatureSetJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.OneofOptions. - * Use `create(OneofOptionsSchema)` to create a new message. - */ -export declare const OneofOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.EnumOptions - */ -export type EnumOptions = Message<"google.protobuf.EnumOptions"> & { - /** - * Set this option to true to allow mapping different tag names to the same - * value. - * - * @generated from field: optional bool allow_alias = 2; - */ - allowAlias: boolean; - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - * - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated: boolean; - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * TODO Remove this legacy behavior once downstream teams have - * had time to migrate. - * - * @generated from field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; - * @deprecated - */ - deprecatedLegacyJsonFieldConflicts: boolean; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 7; - */ - features?: FeatureSet; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.EnumOptions. - */ -export type EnumOptionsJson = { - /** - * @generated from field: optional bool allow_alias = 2; - */ - allowAlias?: boolean; - /** - * @generated from field: optional bool deprecated = 3 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; - */ - deprecatedLegacyJsonFieldConflicts?: boolean; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 7; - */ - features?: FeatureSetJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.EnumOptions. - * Use `create(EnumOptionsSchema)` to create a new message. - */ -export declare const EnumOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.EnumValueOptions - */ -export type EnumValueOptions = Message<"google.protobuf.EnumValueOptions"> & { - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - * - * @generated from field: optional bool deprecated = 1 [default = false]; - */ - deprecated: boolean; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 2; - */ - features?: FeatureSet; - /** - * Indicate that fields annotated with this enum value should not be printed - * out when using debug formats, e.g. when the field contains sensitive - * credentials. - * - * @generated from field: optional bool debug_redact = 3 [default = false]; - */ - debugRedact: boolean; - /** - * Information about the support window of a feature value. - * - * @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4; - */ - featureSupport?: FieldOptions_FeatureSupport; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.EnumValueOptions. - */ -export type EnumValueOptionsJson = { - /** - * @generated from field: optional bool deprecated = 1 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 2; - */ - features?: FeatureSetJson; - /** - * @generated from field: optional bool debug_redact = 3 [default = false]; - */ - debugRedact?: boolean; - /** - * @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4; - */ - featureSupport?: FieldOptions_FeatureSupportJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.EnumValueOptions. - * Use `create(EnumValueOptionsSchema)` to create a new message. - */ -export declare const EnumValueOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.ServiceOptions - */ -export type ServiceOptions = Message<"google.protobuf.ServiceOptions"> & { - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 34; - */ - features?: FeatureSet; - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - * - * @generated from field: optional bool deprecated = 33 [default = false]; - */ - deprecated: boolean; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.ServiceOptions. - */ -export type ServiceOptionsJson = { - /** - * @generated from field: optional google.protobuf.FeatureSet features = 34; - */ - features?: FeatureSetJson; - /** - * @generated from field: optional bool deprecated = 33 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.ServiceOptions. - * Use `create(ServiceOptionsSchema)` to create a new message. - */ -export declare const ServiceOptionsSchema: GenMessage; -/** - * @generated from message google.protobuf.MethodOptions - */ -export type MethodOptions = Message<"google.protobuf.MethodOptions"> & { - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - * - * @generated from field: optional bool deprecated = 33 [default = false]; - */ - deprecated: boolean; - /** - * @generated from field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; - */ - idempotencyLevel: MethodOptions_IdempotencyLevel; - /** - * Any features defined in the specific edition. - * - * @generated from field: optional google.protobuf.FeatureSet features = 35; - */ - features?: FeatureSet; - /** - * The parser stores options it doesn't recognize here. See above. - * - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption: UninterpretedOption[]; -}; -/** - * JSON type for the message google.protobuf.MethodOptions. - */ -export type MethodOptionsJson = { - /** - * @generated from field: optional bool deprecated = 33 [default = false]; - */ - deprecated?: boolean; - /** - * @generated from field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; - */ - idempotencyLevel?: MethodOptions_IdempotencyLevelJson; - /** - * @generated from field: optional google.protobuf.FeatureSet features = 35; - */ - features?: FeatureSetJson; - /** - * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - uninterpretedOption?: UninterpretedOptionJson[]; -}; -/** - * Describes the message google.protobuf.MethodOptions. - * Use `create(MethodOptionsSchema)` to create a new message. - */ -export declare const MethodOptionsSchema: GenMessage; -/** - * Is this method side-effect-free (or safe in HTTP parlance), or idempotent, - * or neither? HTTP based RPC implementation may choose GET verb for safe - * methods, and PUT verb for idempotent methods instead of the default POST. - * - * @generated from enum google.protobuf.MethodOptions.IdempotencyLevel - */ -export declare enum MethodOptions_IdempotencyLevel { - /** - * @generated from enum value: IDEMPOTENCY_UNKNOWN = 0; - */ - IDEMPOTENCY_UNKNOWN = 0, - /** - * implies idempotent - * - * @generated from enum value: NO_SIDE_EFFECTS = 1; - */ - NO_SIDE_EFFECTS = 1, - /** - * idempotent, but may have side effects - * - * @generated from enum value: IDEMPOTENT = 2; - */ - IDEMPOTENT = 2 -} -/** - * JSON type for the enum google.protobuf.MethodOptions.IdempotencyLevel. - */ -export type MethodOptions_IdempotencyLevelJson = "IDEMPOTENCY_UNKNOWN" | "NO_SIDE_EFFECTS" | "IDEMPOTENT"; -/** - * Describes the enum google.protobuf.MethodOptions.IdempotencyLevel. - */ -export declare const MethodOptions_IdempotencyLevelSchema: GenEnum; -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - * - * @generated from message google.protobuf.UninterpretedOption - */ -export type UninterpretedOption = Message<"google.protobuf.UninterpretedOption"> & { - /** - * @generated from field: repeated google.protobuf.UninterpretedOption.NamePart name = 2; - */ - name: UninterpretedOption_NamePart[]; - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - * - * @generated from field: optional string identifier_value = 3; - */ - identifierValue: string; - /** - * @generated from field: optional uint64 positive_int_value = 4; - */ - positiveIntValue: bigint; - /** - * @generated from field: optional int64 negative_int_value = 5; - */ - negativeIntValue: bigint; - /** - * @generated from field: optional double double_value = 6; - */ - doubleValue: number; - /** - * @generated from field: optional bytes string_value = 7; - */ - stringValue: Uint8Array; - /** - * @generated from field: optional string aggregate_value = 8; - */ - aggregateValue: string; -}; -/** - * JSON type for the message google.protobuf.UninterpretedOption. - */ -export type UninterpretedOptionJson = { - /** - * @generated from field: repeated google.protobuf.UninterpretedOption.NamePart name = 2; - */ - name?: UninterpretedOption_NamePartJson[]; - /** - * @generated from field: optional string identifier_value = 3; - */ - identifierValue?: string; - /** - * @generated from field: optional uint64 positive_int_value = 4; - */ - positiveIntValue?: string; - /** - * @generated from field: optional int64 negative_int_value = 5; - */ - negativeIntValue?: string; - /** - * @generated from field: optional double double_value = 6; - */ - doubleValue?: number | "NaN" | "Infinity" | "-Infinity"; - /** - * @generated from field: optional bytes string_value = 7; - */ - stringValue?: string; - /** - * @generated from field: optional string aggregate_value = 8; - */ - aggregateValue?: string; -}; -/** - * Describes the message google.protobuf.UninterpretedOption. - * Use `create(UninterpretedOptionSchema)` to create a new message. - */ -export declare const UninterpretedOptionSchema: GenMessage; -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents - * "foo.(bar.baz).moo". - * - * @generated from message google.protobuf.UninterpretedOption.NamePart - */ -export type UninterpretedOption_NamePart = Message<"google.protobuf.UninterpretedOption.NamePart"> & { - /** - * @generated from field: required string name_part = 1; - */ - namePart: string; - /** - * @generated from field: required bool is_extension = 2; - */ - isExtension: boolean; -}; -/** - * JSON type for the message google.protobuf.UninterpretedOption.NamePart. - */ -export type UninterpretedOption_NamePartJson = { - /** - * @generated from field: required string name_part = 1; - */ - namePart?: string; - /** - * @generated from field: required bool is_extension = 2; - */ - isExtension?: boolean; -}; -/** - * Describes the message google.protobuf.UninterpretedOption.NamePart. - * Use `create(UninterpretedOption_NamePartSchema)` to create a new message. - */ -export declare const UninterpretedOption_NamePartSchema: GenMessage; -/** - * TODO Enums in C++ gencode (and potentially other languages) are - * not well scoped. This means that each of the feature enums below can clash - * with each other. The short names we've chosen maximize call-site - * readability, but leave us very open to this scenario. A future feature will - * be designed and implemented to handle this, hopefully before we ever hit a - * conflict here. - * - * @generated from message google.protobuf.FeatureSet - */ -export type FeatureSet = Message<"google.protobuf.FeatureSet"> & { - /** - * @generated from field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1; - */ - fieldPresence: FeatureSet_FieldPresence; - /** - * @generated from field: optional google.protobuf.FeatureSet.EnumType enum_type = 2; - */ - enumType: FeatureSet_EnumType; - /** - * @generated from field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3; - */ - repeatedFieldEncoding: FeatureSet_RepeatedFieldEncoding; - /** - * @generated from field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4; - */ - utf8Validation: FeatureSet_Utf8Validation; - /** - * @generated from field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5; - */ - messageEncoding: FeatureSet_MessageEncoding; - /** - * @generated from field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6; - */ - jsonFormat: FeatureSet_JsonFormat; -}; -/** - * JSON type for the message google.protobuf.FeatureSet. - */ -export type FeatureSetJson = { - /** - * @generated from field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1; - */ - fieldPresence?: FeatureSet_FieldPresenceJson; - /** - * @generated from field: optional google.protobuf.FeatureSet.EnumType enum_type = 2; - */ - enumType?: FeatureSet_EnumTypeJson; - /** - * @generated from field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3; - */ - repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncodingJson; - /** - * @generated from field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4; - */ - utf8Validation?: FeatureSet_Utf8ValidationJson; - /** - * @generated from field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5; - */ - messageEncoding?: FeatureSet_MessageEncodingJson; - /** - * @generated from field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6; - */ - jsonFormat?: FeatureSet_JsonFormatJson; -}; -/** - * Describes the message google.protobuf.FeatureSet. - * Use `create(FeatureSetSchema)` to create a new message. - */ -export declare const FeatureSetSchema: GenMessage; -/** - * @generated from enum google.protobuf.FeatureSet.FieldPresence - */ -export declare enum FeatureSet_FieldPresence { - /** - * @generated from enum value: FIELD_PRESENCE_UNKNOWN = 0; - */ - FIELD_PRESENCE_UNKNOWN = 0, - /** - * @generated from enum value: EXPLICIT = 1; - */ - EXPLICIT = 1, - /** - * @generated from enum value: IMPLICIT = 2; - */ - IMPLICIT = 2, - /** - * @generated from enum value: LEGACY_REQUIRED = 3; - */ - LEGACY_REQUIRED = 3 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.FieldPresence. - */ -export type FeatureSet_FieldPresenceJson = "FIELD_PRESENCE_UNKNOWN" | "EXPLICIT" | "IMPLICIT" | "LEGACY_REQUIRED"; -/** - * Describes the enum google.protobuf.FeatureSet.FieldPresence. - */ -export declare const FeatureSet_FieldPresenceSchema: GenEnum; -/** - * @generated from enum google.protobuf.FeatureSet.EnumType - */ -export declare enum FeatureSet_EnumType { - /** - * @generated from enum value: ENUM_TYPE_UNKNOWN = 0; - */ - ENUM_TYPE_UNKNOWN = 0, - /** - * @generated from enum value: OPEN = 1; - */ - OPEN = 1, - /** - * @generated from enum value: CLOSED = 2; - */ - CLOSED = 2 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.EnumType. - */ -export type FeatureSet_EnumTypeJson = "ENUM_TYPE_UNKNOWN" | "OPEN" | "CLOSED"; -/** - * Describes the enum google.protobuf.FeatureSet.EnumType. - */ -export declare const FeatureSet_EnumTypeSchema: GenEnum; -/** - * @generated from enum google.protobuf.FeatureSet.RepeatedFieldEncoding - */ -export declare enum FeatureSet_RepeatedFieldEncoding { - /** - * @generated from enum value: REPEATED_FIELD_ENCODING_UNKNOWN = 0; - */ - REPEATED_FIELD_ENCODING_UNKNOWN = 0, - /** - * @generated from enum value: PACKED = 1; - */ - PACKED = 1, - /** - * @generated from enum value: EXPANDED = 2; - */ - EXPANDED = 2 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.RepeatedFieldEncoding. - */ -export type FeatureSet_RepeatedFieldEncodingJson = "REPEATED_FIELD_ENCODING_UNKNOWN" | "PACKED" | "EXPANDED"; -/** - * Describes the enum google.protobuf.FeatureSet.RepeatedFieldEncoding. - */ -export declare const FeatureSet_RepeatedFieldEncodingSchema: GenEnum; -/** - * @generated from enum google.protobuf.FeatureSet.Utf8Validation - */ -export declare enum FeatureSet_Utf8Validation { - /** - * @generated from enum value: UTF8_VALIDATION_UNKNOWN = 0; - */ - UTF8_VALIDATION_UNKNOWN = 0, - /** - * @generated from enum value: VERIFY = 2; - */ - VERIFY = 2, - /** - * @generated from enum value: NONE = 3; - */ - NONE = 3 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.Utf8Validation. - */ -export type FeatureSet_Utf8ValidationJson = "UTF8_VALIDATION_UNKNOWN" | "VERIFY" | "NONE"; -/** - * Describes the enum google.protobuf.FeatureSet.Utf8Validation. - */ -export declare const FeatureSet_Utf8ValidationSchema: GenEnum; -/** - * @generated from enum google.protobuf.FeatureSet.MessageEncoding - */ -export declare enum FeatureSet_MessageEncoding { - /** - * @generated from enum value: MESSAGE_ENCODING_UNKNOWN = 0; - */ - MESSAGE_ENCODING_UNKNOWN = 0, - /** - * @generated from enum value: LENGTH_PREFIXED = 1; - */ - LENGTH_PREFIXED = 1, - /** - * @generated from enum value: DELIMITED = 2; - */ - DELIMITED = 2 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.MessageEncoding. - */ -export type FeatureSet_MessageEncodingJson = "MESSAGE_ENCODING_UNKNOWN" | "LENGTH_PREFIXED" | "DELIMITED"; -/** - * Describes the enum google.protobuf.FeatureSet.MessageEncoding. - */ -export declare const FeatureSet_MessageEncodingSchema: GenEnum; -/** - * @generated from enum google.protobuf.FeatureSet.JsonFormat - */ -export declare enum FeatureSet_JsonFormat { - /** - * @generated from enum value: JSON_FORMAT_UNKNOWN = 0; - */ - JSON_FORMAT_UNKNOWN = 0, - /** - * @generated from enum value: ALLOW = 1; - */ - ALLOW = 1, - /** - * @generated from enum value: LEGACY_BEST_EFFORT = 2; - */ - LEGACY_BEST_EFFORT = 2 -} -/** - * JSON type for the enum google.protobuf.FeatureSet.JsonFormat. - */ -export type FeatureSet_JsonFormatJson = "JSON_FORMAT_UNKNOWN" | "ALLOW" | "LEGACY_BEST_EFFORT"; -/** - * Describes the enum google.protobuf.FeatureSet.JsonFormat. - */ -export declare const FeatureSet_JsonFormatSchema: GenEnum; -/** - * A compiled specification for the defaults of a set of features. These - * messages are generated from FeatureSet extensions and can be used to seed - * feature resolution. The resolution with this object becomes a simple search - * for the closest matching edition, followed by proto merges. - * - * @generated from message google.protobuf.FeatureSetDefaults - */ -export type FeatureSetDefaults = Message<"google.protobuf.FeatureSetDefaults"> & { - /** - * @generated from field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1; - */ - defaults: FeatureSetDefaults_FeatureSetEditionDefault[]; - /** - * The minimum supported edition (inclusive) when this was constructed. - * Editions before this will not have defaults. - * - * @generated from field: optional google.protobuf.Edition minimum_edition = 4; - */ - minimumEdition: Edition; - /** - * The maximum known edition (inclusive) when this was constructed. Editions - * after this will not have reliable defaults. - * - * @generated from field: optional google.protobuf.Edition maximum_edition = 5; - */ - maximumEdition: Edition; -}; -/** - * JSON type for the message google.protobuf.FeatureSetDefaults. - */ -export type FeatureSetDefaultsJson = { - /** - * @generated from field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1; - */ - defaults?: FeatureSetDefaults_FeatureSetEditionDefaultJson[]; - /** - * @generated from field: optional google.protobuf.Edition minimum_edition = 4; - */ - minimumEdition?: EditionJson; - /** - * @generated from field: optional google.protobuf.Edition maximum_edition = 5; - */ - maximumEdition?: EditionJson; -}; -/** - * Describes the message google.protobuf.FeatureSetDefaults. - * Use `create(FeatureSetDefaultsSchema)` to create a new message. - */ -export declare const FeatureSetDefaultsSchema: GenMessage; -/** - * A map from every known edition with a unique set of defaults to its - * defaults. Not all editions may be contained here. For a given edition, - * the defaults at the closest matching edition ordered at or before it should - * be used. This field must be in strict ascending order by edition. - * - * @generated from message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - */ -export type FeatureSetDefaults_FeatureSetEditionDefault = Message<"google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"> & { - /** - * @generated from field: optional google.protobuf.Edition edition = 3; - */ - edition: Edition; - /** - * Defaults of features that can be overridden in this edition. - * - * @generated from field: optional google.protobuf.FeatureSet overridable_features = 4; - */ - overridableFeatures?: FeatureSet; - /** - * Defaults of features that can't be overridden in this edition. - * - * @generated from field: optional google.protobuf.FeatureSet fixed_features = 5; - */ - fixedFeatures?: FeatureSet; -}; -/** - * JSON type for the message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault. - */ -export type FeatureSetDefaults_FeatureSetEditionDefaultJson = { - /** - * @generated from field: optional google.protobuf.Edition edition = 3; - */ - edition?: EditionJson; - /** - * @generated from field: optional google.protobuf.FeatureSet overridable_features = 4; - */ - overridableFeatures?: FeatureSetJson; - /** - * @generated from field: optional google.protobuf.FeatureSet fixed_features = 5; - */ - fixedFeatures?: FeatureSetJson; -}; -/** - * Describes the message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault. - * Use `create(FeatureSetDefaults_FeatureSetEditionDefaultSchema)` to create a new message. - */ -export declare const FeatureSetDefaults_FeatureSetEditionDefaultSchema: GenMessage; -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - * - * @generated from message google.protobuf.SourceCodeInfo - */ -export type SourceCodeInfo = Message<"google.protobuf.SourceCodeInfo"> & { - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - * - * @generated from field: repeated google.protobuf.SourceCodeInfo.Location location = 1; - */ - location: SourceCodeInfo_Location[]; -}; -/** - * JSON type for the message google.protobuf.SourceCodeInfo. - */ -export type SourceCodeInfoJson = { - /** - * @generated from field: repeated google.protobuf.SourceCodeInfo.Location location = 1; - */ - location?: SourceCodeInfo_LocationJson[]; -}; -/** - * Describes the message google.protobuf.SourceCodeInfo. - * Use `create(SourceCodeInfoSchema)` to create a new message. - */ -export declare const SourceCodeInfoSchema: GenMessage; -/** - * @generated from message google.protobuf.SourceCodeInfo.Location - */ -export type SourceCodeInfo_Location = Message<"google.protobuf.SourceCodeInfo.Location"> & { - /** - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition appears. - * For example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - * - * @generated from field: repeated int32 path = 1 [packed = true]; - */ - path: number[]; - /** - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - * - * @generated from field: repeated int32 span = 2 [packed = true]; - */ - span: number[]; - /** - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * - * Examples: - * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * - * // Comment attached to moo. - * // - * // Another line attached to moo. - * optional double moo = 4; - * - * // Detached comment for corge. This is not leading or trailing comments - * // to moo or corge because there are blank lines separating it from - * // both. - * - * // Detached comment for corge paragraph 2. - * - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. *\/ - * /* Block comment attached to - * * grault. *\/ - * optional int32 grault = 6; - * - * // ignored detached comments. - * - * @generated from field: optional string leading_comments = 3; - */ - leadingComments: string; - /** - * @generated from field: optional string trailing_comments = 4; - */ - trailingComments: string; - /** - * @generated from field: repeated string leading_detached_comments = 6; - */ - leadingDetachedComments: string[]; -}; -/** - * JSON type for the message google.protobuf.SourceCodeInfo.Location. - */ -export type SourceCodeInfo_LocationJson = { - /** - * @generated from field: repeated int32 path = 1 [packed = true]; - */ - path?: number[]; - /** - * @generated from field: repeated int32 span = 2 [packed = true]; - */ - span?: number[]; - /** - * @generated from field: optional string leading_comments = 3; - */ - leadingComments?: string; - /** - * @generated from field: optional string trailing_comments = 4; - */ - trailingComments?: string; - /** - * @generated from field: repeated string leading_detached_comments = 6; - */ - leadingDetachedComments?: string[]; -}; -/** - * Describes the message google.protobuf.SourceCodeInfo.Location. - * Use `create(SourceCodeInfo_LocationSchema)` to create a new message. - */ -export declare const SourceCodeInfo_LocationSchema: GenMessage; -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - * - * @generated from message google.protobuf.GeneratedCodeInfo - */ -export type GeneratedCodeInfo = Message<"google.protobuf.GeneratedCodeInfo"> & { - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - * - * @generated from field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; - */ - annotation: GeneratedCodeInfo_Annotation[]; -}; -/** - * JSON type for the message google.protobuf.GeneratedCodeInfo. - */ -export type GeneratedCodeInfoJson = { - /** - * @generated from field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; - */ - annotation?: GeneratedCodeInfo_AnnotationJson[]; -}; -/** - * Describes the message google.protobuf.GeneratedCodeInfo. - * Use `create(GeneratedCodeInfoSchema)` to create a new message. - */ -export declare const GeneratedCodeInfoSchema: GenMessage; -/** - * @generated from message google.protobuf.GeneratedCodeInfo.Annotation - */ -export type GeneratedCodeInfo_Annotation = Message<"google.protobuf.GeneratedCodeInfo.Annotation"> & { - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - * - * @generated from field: repeated int32 path = 1 [packed = true]; - */ - path: number[]; - /** - * Identifies the filesystem path to the original source .proto. - * - * @generated from field: optional string source_file = 2; - */ - sourceFile: string; - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - * - * @generated from field: optional int32 begin = 3; - */ - begin: number; - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified object. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - * - * @generated from field: optional int32 end = 4; - */ - end: number; - /** - * @generated from field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; - */ - semantic: GeneratedCodeInfo_Annotation_Semantic; -}; -/** - * JSON type for the message google.protobuf.GeneratedCodeInfo.Annotation. - */ -export type GeneratedCodeInfo_AnnotationJson = { - /** - * @generated from field: repeated int32 path = 1 [packed = true]; - */ - path?: number[]; - /** - * @generated from field: optional string source_file = 2; - */ - sourceFile?: string; - /** - * @generated from field: optional int32 begin = 3; - */ - begin?: number; - /** - * @generated from field: optional int32 end = 4; - */ - end?: number; - /** - * @generated from field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; - */ - semantic?: GeneratedCodeInfo_Annotation_SemanticJson; -}; -/** - * Describes the message google.protobuf.GeneratedCodeInfo.Annotation. - * Use `create(GeneratedCodeInfo_AnnotationSchema)` to create a new message. - */ -export declare const GeneratedCodeInfo_AnnotationSchema: GenMessage; -/** - * Represents the identified object's effect on the element in the original - * .proto file. - * - * @generated from enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic - */ -export declare enum GeneratedCodeInfo_Annotation_Semantic { - /** - * There is no effect or the effect is indescribable. - * - * @generated from enum value: NONE = 0; - */ - NONE = 0, - /** - * The element is set or otherwise mutated. - * - * @generated from enum value: SET = 1; - */ - SET = 1, - /** - * An alias to the element is returned. - * - * @generated from enum value: ALIAS = 2; - */ - ALIAS = 2 -} -/** - * JSON type for the enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic. - */ -export type GeneratedCodeInfo_Annotation_SemanticJson = "NONE" | "SET" | "ALIAS"; -/** - * Describes the enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic. - */ -export declare const GeneratedCodeInfo_Annotation_SemanticSchema: GenEnum; -/** - * The full set of known editions. - * - * @generated from enum google.protobuf.Edition - */ -export declare enum Edition { - /** - * A placeholder for an unknown edition value. - * - * @generated from enum value: EDITION_UNKNOWN = 0; - */ - EDITION_UNKNOWN = 0, - /** - * A placeholder edition for specifying default behaviors *before* a feature - * was first introduced. This is effectively an "infinite past". - * - * @generated from enum value: EDITION_LEGACY = 900; - */ - EDITION_LEGACY = 900, - /** - * Legacy syntax "editions". These pre-date editions, but behave much like - * distinct editions. These can't be used to specify the edition of proto - * files, but feature definitions must supply proto2/proto3 defaults for - * backwards compatibility. - * - * @generated from enum value: EDITION_PROTO2 = 998; - */ - EDITION_PROTO2 = 998, - /** - * @generated from enum value: EDITION_PROTO3 = 999; - */ - EDITION_PROTO3 = 999, - /** - * Editions that have been released. The specific values are arbitrary and - * should not be depended on, but they will always be time-ordered for easy - * comparison. - * - * @generated from enum value: EDITION_2023 = 1000; - */ - EDITION_2023 = 1000, - /** - * @generated from enum value: EDITION_2024 = 1001; - */ - EDITION_2024 = 1001, - /** - * Placeholder editions for testing feature resolution. These should not be - * used or relyed on outside of tests. - * - * @generated from enum value: EDITION_1_TEST_ONLY = 1; - */ - EDITION_1_TEST_ONLY = 1, - /** - * @generated from enum value: EDITION_2_TEST_ONLY = 2; - */ - EDITION_2_TEST_ONLY = 2, - /** - * @generated from enum value: EDITION_99997_TEST_ONLY = 99997; - */ - EDITION_99997_TEST_ONLY = 99997, - /** - * @generated from enum value: EDITION_99998_TEST_ONLY = 99998; - */ - EDITION_99998_TEST_ONLY = 99998, - /** - * @generated from enum value: EDITION_99999_TEST_ONLY = 99999; - */ - EDITION_99999_TEST_ONLY = 99999, - /** - * Placeholder for specifying unbounded edition support. This should only - * ever be used by plugins that can expect to never require any changes to - * support a new edition. - * - * @generated from enum value: EDITION_MAX = 2147483647; - */ - EDITION_MAX = 2147483647 -} -/** - * JSON type for the enum google.protobuf.Edition. - */ -export type EditionJson = "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX"; -/** - * Describes the enum google.protobuf.Edition. - */ -export declare const EditionSchema: GenEnum; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js deleted file mode 100644 index 2e8e02a..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +++ /dev/null @@ -1,790 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { boot } from "../../../../codegenv1/boot.js"; -import { messageDesc } from "../../../../codegenv1/message.js"; -import { enumDesc } from "../../../../codegenv1/enum.js"; -/** - * Describes the file google/protobuf/descriptor.proto. - */ -export const file_google_protobuf_descriptor = /*@__PURE__*/ boot({ "name": "google/protobuf/descriptor.proto", "package": "google.protobuf", "messageType": [{ "name": "FileDescriptorSet", "field": [{ "name": "file", "number": 1, "type": 11, "label": 3, "typeName": ".google.protobuf.FileDescriptorProto" }] }, { "name": "FileDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "package", "number": 2, "type": 9, "label": 1 }, { "name": "dependency", "number": 3, "type": 9, "label": 3 }, { "name": "public_dependency", "number": 10, "type": 5, "label": 3 }, { "name": "weak_dependency", "number": 11, "type": 5, "label": 3 }, { "name": "message_type", "number": 4, "type": 11, "label": 3, "typeName": ".google.protobuf.DescriptorProto" }, { "name": "enum_type", "number": 5, "type": 11, "label": 3, "typeName": ".google.protobuf.EnumDescriptorProto" }, { "name": "service", "number": 6, "type": 11, "label": 3, "typeName": ".google.protobuf.ServiceDescriptorProto" }, { "name": "extension", "number": 7, "type": 11, "label": 3, "typeName": ".google.protobuf.FieldDescriptorProto" }, { "name": "options", "number": 8, "type": 11, "label": 1, "typeName": ".google.protobuf.FileOptions" }, { "name": "source_code_info", "number": 9, "type": 11, "label": 1, "typeName": ".google.protobuf.SourceCodeInfo" }, { "name": "syntax", "number": 12, "type": 9, "label": 1 }, { "name": "edition", "number": 14, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }] }, { "name": "DescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "field", "number": 2, "type": 11, "label": 3, "typeName": ".google.protobuf.FieldDescriptorProto" }, { "name": "extension", "number": 6, "type": 11, "label": 3, "typeName": ".google.protobuf.FieldDescriptorProto" }, { "name": "nested_type", "number": 3, "type": 11, "label": 3, "typeName": ".google.protobuf.DescriptorProto" }, { "name": "enum_type", "number": 4, "type": 11, "label": 3, "typeName": ".google.protobuf.EnumDescriptorProto" }, { "name": "extension_range", "number": 5, "type": 11, "label": 3, "typeName": ".google.protobuf.DescriptorProto.ExtensionRange" }, { "name": "oneof_decl", "number": 8, "type": 11, "label": 3, "typeName": ".google.protobuf.OneofDescriptorProto" }, { "name": "options", "number": 7, "type": 11, "label": 1, "typeName": ".google.protobuf.MessageOptions" }, { "name": "reserved_range", "number": 9, "type": 11, "label": 3, "typeName": ".google.protobuf.DescriptorProto.ReservedRange" }, { "name": "reserved_name", "number": 10, "type": 9, "label": 3 }], "nestedType": [{ "name": "ExtensionRange", "field": [{ "name": "start", "number": 1, "type": 5, "label": 1 }, { "name": "end", "number": 2, "type": 5, "label": 1 }, { "name": "options", "number": 3, "type": 11, "label": 1, "typeName": ".google.protobuf.ExtensionRangeOptions" }] }, { "name": "ReservedRange", "field": [{ "name": "start", "number": 1, "type": 5, "label": 1 }, { "name": "end", "number": 2, "type": 5, "label": 1 }] }] }, { "name": "ExtensionRangeOptions", "field": [{ "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }, { "name": "declaration", "number": 2, "type": 11, "label": 3, "typeName": ".google.protobuf.ExtensionRangeOptions.Declaration", "options": { "retention": 2 } }, { "name": "features", "number": 50, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "verification", "number": 3, "type": 14, "label": 1, "typeName": ".google.protobuf.ExtensionRangeOptions.VerificationState", "defaultValue": "UNVERIFIED", "options": { "retention": 2 } }], "nestedType": [{ "name": "Declaration", "field": [{ "name": "number", "number": 1, "type": 5, "label": 1 }, { "name": "full_name", "number": 2, "type": 9, "label": 1 }, { "name": "type", "number": 3, "type": 9, "label": 1 }, { "name": "reserved", "number": 5, "type": 8, "label": 1 }, { "name": "repeated", "number": 6, "type": 8, "label": 1 }] }], "enumType": [{ "name": "VerificationState", "value": [{ "name": "DECLARATION", "number": 0 }, { "name": "UNVERIFIED", "number": 1 }] }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "FieldDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "number", "number": 3, "type": 5, "label": 1 }, { "name": "label", "number": 4, "type": 14, "label": 1, "typeName": ".google.protobuf.FieldDescriptorProto.Label" }, { "name": "type", "number": 5, "type": 14, "label": 1, "typeName": ".google.protobuf.FieldDescriptorProto.Type" }, { "name": "type_name", "number": 6, "type": 9, "label": 1 }, { "name": "extendee", "number": 2, "type": 9, "label": 1 }, { "name": "default_value", "number": 7, "type": 9, "label": 1 }, { "name": "oneof_index", "number": 9, "type": 5, "label": 1 }, { "name": "json_name", "number": 10, "type": 9, "label": 1 }, { "name": "options", "number": 8, "type": 11, "label": 1, "typeName": ".google.protobuf.FieldOptions" }, { "name": "proto3_optional", "number": 17, "type": 8, "label": 1 }], "enumType": [{ "name": "Type", "value": [{ "name": "TYPE_DOUBLE", "number": 1 }, { "name": "TYPE_FLOAT", "number": 2 }, { "name": "TYPE_INT64", "number": 3 }, { "name": "TYPE_UINT64", "number": 4 }, { "name": "TYPE_INT32", "number": 5 }, { "name": "TYPE_FIXED64", "number": 6 }, { "name": "TYPE_FIXED32", "number": 7 }, { "name": "TYPE_BOOL", "number": 8 }, { "name": "TYPE_STRING", "number": 9 }, { "name": "TYPE_GROUP", "number": 10 }, { "name": "TYPE_MESSAGE", "number": 11 }, { "name": "TYPE_BYTES", "number": 12 }, { "name": "TYPE_UINT32", "number": 13 }, { "name": "TYPE_ENUM", "number": 14 }, { "name": "TYPE_SFIXED32", "number": 15 }, { "name": "TYPE_SFIXED64", "number": 16 }, { "name": "TYPE_SINT32", "number": 17 }, { "name": "TYPE_SINT64", "number": 18 }] }, { "name": "Label", "value": [{ "name": "LABEL_OPTIONAL", "number": 1 }, { "name": "LABEL_REPEATED", "number": 3 }, { "name": "LABEL_REQUIRED", "number": 2 }] }] }, { "name": "OneofDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "options", "number": 2, "type": 11, "label": 1, "typeName": ".google.protobuf.OneofOptions" }] }, { "name": "EnumDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "value", "number": 2, "type": 11, "label": 3, "typeName": ".google.protobuf.EnumValueDescriptorProto" }, { "name": "options", "number": 3, "type": 11, "label": 1, "typeName": ".google.protobuf.EnumOptions" }, { "name": "reserved_range", "number": 4, "type": 11, "label": 3, "typeName": ".google.protobuf.EnumDescriptorProto.EnumReservedRange" }, { "name": "reserved_name", "number": 5, "type": 9, "label": 3 }], "nestedType": [{ "name": "EnumReservedRange", "field": [{ "name": "start", "number": 1, "type": 5, "label": 1 }, { "name": "end", "number": 2, "type": 5, "label": 1 }] }] }, { "name": "EnumValueDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "number", "number": 2, "type": 5, "label": 1 }, { "name": "options", "number": 3, "type": 11, "label": 1, "typeName": ".google.protobuf.EnumValueOptions" }] }, { "name": "ServiceDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "method", "number": 2, "type": 11, "label": 3, "typeName": ".google.protobuf.MethodDescriptorProto" }, { "name": "options", "number": 3, "type": 11, "label": 1, "typeName": ".google.protobuf.ServiceOptions" }] }, { "name": "MethodDescriptorProto", "field": [{ "name": "name", "number": 1, "type": 9, "label": 1 }, { "name": "input_type", "number": 2, "type": 9, "label": 1 }, { "name": "output_type", "number": 3, "type": 9, "label": 1 }, { "name": "options", "number": 4, "type": 11, "label": 1, "typeName": ".google.protobuf.MethodOptions" }, { "name": "client_streaming", "number": 5, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "server_streaming", "number": 6, "type": 8, "label": 1, "defaultValue": "false" }] }, { "name": "FileOptions", "field": [{ "name": "java_package", "number": 1, "type": 9, "label": 1 }, { "name": "java_outer_classname", "number": 8, "type": 9, "label": 1 }, { "name": "java_multiple_files", "number": 10, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "java_generate_equals_and_hash", "number": 20, "type": 8, "label": 1, "options": { "deprecated": true } }, { "name": "java_string_check_utf8", "number": 27, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "optimize_for", "number": 9, "type": 14, "label": 1, "typeName": ".google.protobuf.FileOptions.OptimizeMode", "defaultValue": "SPEED" }, { "name": "go_package", "number": 11, "type": 9, "label": 1 }, { "name": "cc_generic_services", "number": 16, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "java_generic_services", "number": 17, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "py_generic_services", "number": 18, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "deprecated", "number": 23, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "cc_enable_arenas", "number": 31, "type": 8, "label": 1, "defaultValue": "true" }, { "name": "objc_class_prefix", "number": 36, "type": 9, "label": 1 }, { "name": "csharp_namespace", "number": 37, "type": 9, "label": 1 }, { "name": "swift_prefix", "number": 39, "type": 9, "label": 1 }, { "name": "php_class_prefix", "number": 40, "type": 9, "label": 1 }, { "name": "php_namespace", "number": 41, "type": 9, "label": 1 }, { "name": "php_metadata_namespace", "number": 44, "type": 9, "label": 1 }, { "name": "ruby_package", "number": 45, "type": 9, "label": 1 }, { "name": "features", "number": 50, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "enumType": [{ "name": "OptimizeMode", "value": [{ "name": "SPEED", "number": 1 }, { "name": "CODE_SIZE", "number": 2 }, { "name": "LITE_RUNTIME", "number": 3 }] }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "MessageOptions", "field": [{ "name": "message_set_wire_format", "number": 1, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "no_standard_descriptor_accessor", "number": 2, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "deprecated", "number": 3, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "map_entry", "number": 7, "type": 8, "label": 1 }, { "name": "deprecated_legacy_json_field_conflicts", "number": 11, "type": 8, "label": 1, "options": { "deprecated": true } }, { "name": "features", "number": 12, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "FieldOptions", "field": [{ "name": "ctype", "number": 1, "type": 14, "label": 1, "typeName": ".google.protobuf.FieldOptions.CType", "defaultValue": "STRING" }, { "name": "packed", "number": 2, "type": 8, "label": 1 }, { "name": "jstype", "number": 6, "type": 14, "label": 1, "typeName": ".google.protobuf.FieldOptions.JSType", "defaultValue": "JS_NORMAL" }, { "name": "lazy", "number": 5, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "unverified_lazy", "number": 15, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "deprecated", "number": 3, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "weak", "number": 10, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "debug_redact", "number": 16, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "retention", "number": 17, "type": 14, "label": 1, "typeName": ".google.protobuf.FieldOptions.OptionRetention" }, { "name": "targets", "number": 19, "type": 14, "label": 3, "typeName": ".google.protobuf.FieldOptions.OptionTargetType" }, { "name": "edition_defaults", "number": 20, "type": 11, "label": 3, "typeName": ".google.protobuf.FieldOptions.EditionDefault" }, { "name": "features", "number": 21, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "feature_support", "number": 22, "type": 11, "label": 1, "typeName": ".google.protobuf.FieldOptions.FeatureSupport" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "nestedType": [{ "name": "EditionDefault", "field": [{ "name": "edition", "number": 3, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }, { "name": "value", "number": 2, "type": 9, "label": 1 }] }, { "name": "FeatureSupport", "field": [{ "name": "edition_introduced", "number": 1, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }, { "name": "edition_deprecated", "number": 2, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }, { "name": "deprecation_warning", "number": 3, "type": 9, "label": 1 }, { "name": "edition_removed", "number": 4, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }] }], "enumType": [{ "name": "CType", "value": [{ "name": "STRING", "number": 0 }, { "name": "CORD", "number": 1 }, { "name": "STRING_PIECE", "number": 2 }] }, { "name": "JSType", "value": [{ "name": "JS_NORMAL", "number": 0 }, { "name": "JS_STRING", "number": 1 }, { "name": "JS_NUMBER", "number": 2 }] }, { "name": "OptionRetention", "value": [{ "name": "RETENTION_UNKNOWN", "number": 0 }, { "name": "RETENTION_RUNTIME", "number": 1 }, { "name": "RETENTION_SOURCE", "number": 2 }] }, { "name": "OptionTargetType", "value": [{ "name": "TARGET_TYPE_UNKNOWN", "number": 0 }, { "name": "TARGET_TYPE_FILE", "number": 1 }, { "name": "TARGET_TYPE_EXTENSION_RANGE", "number": 2 }, { "name": "TARGET_TYPE_MESSAGE", "number": 3 }, { "name": "TARGET_TYPE_FIELD", "number": 4 }, { "name": "TARGET_TYPE_ONEOF", "number": 5 }, { "name": "TARGET_TYPE_ENUM", "number": 6 }, { "name": "TARGET_TYPE_ENUM_ENTRY", "number": 7 }, { "name": "TARGET_TYPE_SERVICE", "number": 8 }, { "name": "TARGET_TYPE_METHOD", "number": 9 }] }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "OneofOptions", "field": [{ "name": "features", "number": 1, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "EnumOptions", "field": [{ "name": "allow_alias", "number": 2, "type": 8, "label": 1 }, { "name": "deprecated", "number": 3, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "deprecated_legacy_json_field_conflicts", "number": 6, "type": 8, "label": 1, "options": { "deprecated": true } }, { "name": "features", "number": 7, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "EnumValueOptions", "field": [{ "name": "deprecated", "number": 1, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "features", "number": 2, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "debug_redact", "number": 3, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "feature_support", "number": 4, "type": 11, "label": 1, "typeName": ".google.protobuf.FieldOptions.FeatureSupport" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "ServiceOptions", "field": [{ "name": "features", "number": 34, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "deprecated", "number": 33, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "MethodOptions", "field": [{ "name": "deprecated", "number": 33, "type": 8, "label": 1, "defaultValue": "false" }, { "name": "idempotency_level", "number": 34, "type": 14, "label": 1, "typeName": ".google.protobuf.MethodOptions.IdempotencyLevel", "defaultValue": "IDEMPOTENCY_UNKNOWN" }, { "name": "features", "number": 35, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "uninterpreted_option", "number": 999, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption" }], "enumType": [{ "name": "IdempotencyLevel", "value": [{ "name": "IDEMPOTENCY_UNKNOWN", "number": 0 }, { "name": "NO_SIDE_EFFECTS", "number": 1 }, { "name": "IDEMPOTENT", "number": 2 }] }], "extensionRange": [{ "start": 1000, "end": 536870912 }] }, { "name": "UninterpretedOption", "field": [{ "name": "name", "number": 2, "type": 11, "label": 3, "typeName": ".google.protobuf.UninterpretedOption.NamePart" }, { "name": "identifier_value", "number": 3, "type": 9, "label": 1 }, { "name": "positive_int_value", "number": 4, "type": 4, "label": 1 }, { "name": "negative_int_value", "number": 5, "type": 3, "label": 1 }, { "name": "double_value", "number": 6, "type": 1, "label": 1 }, { "name": "string_value", "number": 7, "type": 12, "label": 1 }, { "name": "aggregate_value", "number": 8, "type": 9, "label": 1 }], "nestedType": [{ "name": "NamePart", "field": [{ "name": "name_part", "number": 1, "type": 9, "label": 2 }, { "name": "is_extension", "number": 2, "type": 8, "label": 2 }] }] }, { "name": "FeatureSet", "field": [{ "name": "field_presence", "number": 1, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.FieldPresence", "options": { "retention": 1, "targets": [4, 1], "editionDefaults": [{ "value": "EXPLICIT", "edition": 998 }, { "value": "IMPLICIT", "edition": 999 }, { "value": "EXPLICIT", "edition": 1000 }] } }, { "name": "enum_type", "number": 2, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.EnumType", "options": { "retention": 1, "targets": [6, 1], "editionDefaults": [{ "value": "CLOSED", "edition": 998 }, { "value": "OPEN", "edition": 999 }] } }, { "name": "repeated_field_encoding", "number": 3, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.RepeatedFieldEncoding", "options": { "retention": 1, "targets": [4, 1], "editionDefaults": [{ "value": "EXPANDED", "edition": 998 }, { "value": "PACKED", "edition": 999 }] } }, { "name": "utf8_validation", "number": 4, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.Utf8Validation", "options": { "retention": 1, "targets": [4, 1], "editionDefaults": [{ "value": "NONE", "edition": 998 }, { "value": "VERIFY", "edition": 999 }] } }, { "name": "message_encoding", "number": 5, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.MessageEncoding", "options": { "retention": 1, "targets": [4, 1], "editionDefaults": [{ "value": "LENGTH_PREFIXED", "edition": 998 }] } }, { "name": "json_format", "number": 6, "type": 14, "label": 1, "typeName": ".google.protobuf.FeatureSet.JsonFormat", "options": { "retention": 1, "targets": [3, 6, 1], "editionDefaults": [{ "value": "LEGACY_BEST_EFFORT", "edition": 998 }, { "value": "ALLOW", "edition": 999 }] } }], "enumType": [{ "name": "FieldPresence", "value": [{ "name": "FIELD_PRESENCE_UNKNOWN", "number": 0 }, { "name": "EXPLICIT", "number": 1 }, { "name": "IMPLICIT", "number": 2 }, { "name": "LEGACY_REQUIRED", "number": 3 }] }, { "name": "EnumType", "value": [{ "name": "ENUM_TYPE_UNKNOWN", "number": 0 }, { "name": "OPEN", "number": 1 }, { "name": "CLOSED", "number": 2 }] }, { "name": "RepeatedFieldEncoding", "value": [{ "name": "REPEATED_FIELD_ENCODING_UNKNOWN", "number": 0 }, { "name": "PACKED", "number": 1 }, { "name": "EXPANDED", "number": 2 }] }, { "name": "Utf8Validation", "value": [{ "name": "UTF8_VALIDATION_UNKNOWN", "number": 0 }, { "name": "VERIFY", "number": 2 }, { "name": "NONE", "number": 3 }] }, { "name": "MessageEncoding", "value": [{ "name": "MESSAGE_ENCODING_UNKNOWN", "number": 0 }, { "name": "LENGTH_PREFIXED", "number": 1 }, { "name": "DELIMITED", "number": 2 }] }, { "name": "JsonFormat", "value": [{ "name": "JSON_FORMAT_UNKNOWN", "number": 0 }, { "name": "ALLOW", "number": 1 }, { "name": "LEGACY_BEST_EFFORT", "number": 2 }] }], "extensionRange": [{ "start": 1000, "end": 9995 }, { "start": 9995, "end": 10000 }, { "start": 10000, "end": 10001 }] }, { "name": "FeatureSetDefaults", "field": [{ "name": "defaults", "number": 1, "type": 11, "label": 3, "typeName": ".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault" }, { "name": "minimum_edition", "number": 4, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }, { "name": "maximum_edition", "number": 5, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }], "nestedType": [{ "name": "FeatureSetEditionDefault", "field": [{ "name": "edition", "number": 3, "type": 14, "label": 1, "typeName": ".google.protobuf.Edition" }, { "name": "overridable_features", "number": 4, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }, { "name": "fixed_features", "number": 5, "type": 11, "label": 1, "typeName": ".google.protobuf.FeatureSet" }] }] }, { "name": "SourceCodeInfo", "field": [{ "name": "location", "number": 1, "type": 11, "label": 3, "typeName": ".google.protobuf.SourceCodeInfo.Location" }], "nestedType": [{ "name": "Location", "field": [{ "name": "path", "number": 1, "type": 5, "label": 3, "options": { "packed": true } }, { "name": "span", "number": 2, "type": 5, "label": 3, "options": { "packed": true } }, { "name": "leading_comments", "number": 3, "type": 9, "label": 1 }, { "name": "trailing_comments", "number": 4, "type": 9, "label": 1 }, { "name": "leading_detached_comments", "number": 6, "type": 9, "label": 3 }] }] }, { "name": "GeneratedCodeInfo", "field": [{ "name": "annotation", "number": 1, "type": 11, "label": 3, "typeName": ".google.protobuf.GeneratedCodeInfo.Annotation" }], "nestedType": [{ "name": "Annotation", "field": [{ "name": "path", "number": 1, "type": 5, "label": 3, "options": { "packed": true } }, { "name": "source_file", "number": 2, "type": 9, "label": 1 }, { "name": "begin", "number": 3, "type": 5, "label": 1 }, { "name": "end", "number": 4, "type": 5, "label": 1 }, { "name": "semantic", "number": 5, "type": 14, "label": 1, "typeName": ".google.protobuf.GeneratedCodeInfo.Annotation.Semantic" }], "enumType": [{ "name": "Semantic", "value": [{ "name": "NONE", "number": 0 }, { "name": "SET", "number": 1 }, { "name": "ALIAS", "number": 2 }] }] }] }], "enumType": [{ "name": "Edition", "value": [{ "name": "EDITION_UNKNOWN", "number": 0 }, { "name": "EDITION_LEGACY", "number": 900 }, { "name": "EDITION_PROTO2", "number": 998 }, { "name": "EDITION_PROTO3", "number": 999 }, { "name": "EDITION_2023", "number": 1000 }, { "name": "EDITION_2024", "number": 1001 }, { "name": "EDITION_1_TEST_ONLY", "number": 1 }, { "name": "EDITION_2_TEST_ONLY", "number": 2 }, { "name": "EDITION_99997_TEST_ONLY", "number": 99997 }, { "name": "EDITION_99998_TEST_ONLY", "number": 99998 }, { "name": "EDITION_99999_TEST_ONLY", "number": 99999 }, { "name": "EDITION_MAX", "number": 2147483647 }] }] }); -/** - * Describes the message google.protobuf.FileDescriptorSet. - * Use `create(FileDescriptorSetSchema)` to create a new message. - */ -export const FileDescriptorSetSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 0); -/** - * Describes the message google.protobuf.FileDescriptorProto. - * Use `create(FileDescriptorProtoSchema)` to create a new message. - */ -export const FileDescriptorProtoSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 1); -/** - * Describes the message google.protobuf.DescriptorProto. - * Use `create(DescriptorProtoSchema)` to create a new message. - */ -export const DescriptorProtoSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 2); -/** - * Describes the message google.protobuf.DescriptorProto.ExtensionRange. - * Use `create(DescriptorProto_ExtensionRangeSchema)` to create a new message. - */ -export const DescriptorProto_ExtensionRangeSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 2, 0); -/** - * Describes the message google.protobuf.DescriptorProto.ReservedRange. - * Use `create(DescriptorProto_ReservedRangeSchema)` to create a new message. - */ -export const DescriptorProto_ReservedRangeSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 2, 1); -/** - * Describes the message google.protobuf.ExtensionRangeOptions. - * Use `create(ExtensionRangeOptionsSchema)` to create a new message. - */ -export const ExtensionRangeOptionsSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 3); -/** - * Describes the message google.protobuf.ExtensionRangeOptions.Declaration. - * Use `create(ExtensionRangeOptions_DeclarationSchema)` to create a new message. - */ -export const ExtensionRangeOptions_DeclarationSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 3, 0); -/** - * The verification state of the extension range. - * - * @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState - */ -export var ExtensionRangeOptions_VerificationState; -(function (ExtensionRangeOptions_VerificationState) { - /** - * All the extensions of the range must be declared. - * - * @generated from enum value: DECLARATION = 0; - */ - ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["DECLARATION"] = 0] = "DECLARATION"; - /** - * @generated from enum value: UNVERIFIED = 1; - */ - ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["UNVERIFIED"] = 1] = "UNVERIFIED"; -})(ExtensionRangeOptions_VerificationState || (ExtensionRangeOptions_VerificationState = {})); -/** - * Describes the enum google.protobuf.ExtensionRangeOptions.VerificationState. - */ -export const ExtensionRangeOptions_VerificationStateSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 3, 0); -/** - * Describes the message google.protobuf.FieldDescriptorProto. - * Use `create(FieldDescriptorProtoSchema)` to create a new message. - */ -export const FieldDescriptorProtoSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 4); -/** - * @generated from enum google.protobuf.FieldDescriptorProto.Type - */ -export var FieldDescriptorProto_Type; -(function (FieldDescriptorProto_Type) { - /** - * 0 is reserved for errors. - * Order is weird for historical reasons. - * - * @generated from enum value: TYPE_DOUBLE = 1; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["DOUBLE"] = 1] = "DOUBLE"; - /** - * @generated from enum value: TYPE_FLOAT = 2; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["FLOAT"] = 2] = "FLOAT"; - /** - * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - * negative values are likely. - * - * @generated from enum value: TYPE_INT64 = 3; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT64"] = 3] = "INT64"; - /** - * @generated from enum value: TYPE_UINT64 = 4; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT64"] = 4] = "UINT64"; - /** - * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - * negative values are likely. - * - * @generated from enum value: TYPE_INT32 = 5; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT32"] = 5] = "INT32"; - /** - * @generated from enum value: TYPE_FIXED64 = 6; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED64"] = 6] = "FIXED64"; - /** - * @generated from enum value: TYPE_FIXED32 = 7; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED32"] = 7] = "FIXED32"; - /** - * @generated from enum value: TYPE_BOOL = 8; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["BOOL"] = 8] = "BOOL"; - /** - * @generated from enum value: TYPE_STRING = 9; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["STRING"] = 9] = "STRING"; - /** - * Tag-delimited aggregate. - * Group type is deprecated and not supported after google.protobuf. However, Proto3 - * implementations should still be able to parse the group wire format and - * treat group fields as unknown fields. In Editions, the group wire format - * can be enabled via the `message_encoding` feature. - * - * @generated from enum value: TYPE_GROUP = 10; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["GROUP"] = 10] = "GROUP"; - /** - * Length-delimited aggregate. - * - * @generated from enum value: TYPE_MESSAGE = 11; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["MESSAGE"] = 11] = "MESSAGE"; - /** - * New in version 2. - * - * @generated from enum value: TYPE_BYTES = 12; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["BYTES"] = 12] = "BYTES"; - /** - * @generated from enum value: TYPE_UINT32 = 13; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT32"] = 13] = "UINT32"; - /** - * @generated from enum value: TYPE_ENUM = 14; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["ENUM"] = 14] = "ENUM"; - /** - * @generated from enum value: TYPE_SFIXED32 = 15; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED32"] = 15] = "SFIXED32"; - /** - * @generated from enum value: TYPE_SFIXED64 = 16; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED64"] = 16] = "SFIXED64"; - /** - * Uses ZigZag encoding. - * - * @generated from enum value: TYPE_SINT32 = 17; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT32"] = 17] = "SINT32"; - /** - * Uses ZigZag encoding. - * - * @generated from enum value: TYPE_SINT64 = 18; - */ - FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT64"] = 18] = "SINT64"; -})(FieldDescriptorProto_Type || (FieldDescriptorProto_Type = {})); -/** - * Describes the enum google.protobuf.FieldDescriptorProto.Type. - */ -export const FieldDescriptorProto_TypeSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 4, 0); -/** - * @generated from enum google.protobuf.FieldDescriptorProto.Label - */ -export var FieldDescriptorProto_Label; -(function (FieldDescriptorProto_Label) { - /** - * 0 is reserved for errors - * - * @generated from enum value: LABEL_OPTIONAL = 1; - */ - FieldDescriptorProto_Label[FieldDescriptorProto_Label["OPTIONAL"] = 1] = "OPTIONAL"; - /** - * @generated from enum value: LABEL_REPEATED = 3; - */ - FieldDescriptorProto_Label[FieldDescriptorProto_Label["REPEATED"] = 3] = "REPEATED"; - /** - * The required label is only allowed in google.protobuf. In proto3 and Editions - * it's explicitly prohibited. In Editions, the `field_presence` feature - * can be used to get this behavior. - * - * @generated from enum value: LABEL_REQUIRED = 2; - */ - FieldDescriptorProto_Label[FieldDescriptorProto_Label["REQUIRED"] = 2] = "REQUIRED"; -})(FieldDescriptorProto_Label || (FieldDescriptorProto_Label = {})); -/** - * Describes the enum google.protobuf.FieldDescriptorProto.Label. - */ -export const FieldDescriptorProto_LabelSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 4, 1); -/** - * Describes the message google.protobuf.OneofDescriptorProto. - * Use `create(OneofDescriptorProtoSchema)` to create a new message. - */ -export const OneofDescriptorProtoSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 5); -/** - * Describes the message google.protobuf.EnumDescriptorProto. - * Use `create(EnumDescriptorProtoSchema)` to create a new message. - */ -export const EnumDescriptorProtoSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 6); -/** - * Describes the message google.protobuf.EnumDescriptorProto.EnumReservedRange. - * Use `create(EnumDescriptorProto_EnumReservedRangeSchema)` to create a new message. - */ -export const EnumDescriptorProto_EnumReservedRangeSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 6, 0); -/** - * Describes the message google.protobuf.EnumValueDescriptorProto. - * Use `create(EnumValueDescriptorProtoSchema)` to create a new message. - */ -export const EnumValueDescriptorProtoSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 7); -/** - * Describes the message google.protobuf.ServiceDescriptorProto. - * Use `create(ServiceDescriptorProtoSchema)` to create a new message. - */ -export const ServiceDescriptorProtoSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 8); -/** - * Describes the message google.protobuf.MethodDescriptorProto. - * Use `create(MethodDescriptorProtoSchema)` to create a new message. - */ -export const MethodDescriptorProtoSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 9); -/** - * Describes the message google.protobuf.FileOptions. - * Use `create(FileOptionsSchema)` to create a new message. - */ -export const FileOptionsSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 10); -/** - * Generated classes can be optimized for speed or code size. - * - * @generated from enum google.protobuf.FileOptions.OptimizeMode - */ -export var FileOptions_OptimizeMode; -(function (FileOptions_OptimizeMode) { - /** - * Generate complete code for parsing, serialization, - * - * @generated from enum value: SPEED = 1; - */ - FileOptions_OptimizeMode[FileOptions_OptimizeMode["SPEED"] = 1] = "SPEED"; - /** - * etc. - * - * Use ReflectionOps to implement these methods. - * - * @generated from enum value: CODE_SIZE = 2; - */ - FileOptions_OptimizeMode[FileOptions_OptimizeMode["CODE_SIZE"] = 2] = "CODE_SIZE"; - /** - * Generate code using MessageLite and the lite runtime. - * - * @generated from enum value: LITE_RUNTIME = 3; - */ - FileOptions_OptimizeMode[FileOptions_OptimizeMode["LITE_RUNTIME"] = 3] = "LITE_RUNTIME"; -})(FileOptions_OptimizeMode || (FileOptions_OptimizeMode = {})); -/** - * Describes the enum google.protobuf.FileOptions.OptimizeMode. - */ -export const FileOptions_OptimizeModeSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 10, 0); -/** - * Describes the message google.protobuf.MessageOptions. - * Use `create(MessageOptionsSchema)` to create a new message. - */ -export const MessageOptionsSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 11); -/** - * Describes the message google.protobuf.FieldOptions. - * Use `create(FieldOptionsSchema)` to create a new message. - */ -export const FieldOptionsSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 12); -/** - * Describes the message google.protobuf.FieldOptions.EditionDefault. - * Use `create(FieldOptions_EditionDefaultSchema)` to create a new message. - */ -export const FieldOptions_EditionDefaultSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 12, 0); -/** - * Describes the message google.protobuf.FieldOptions.FeatureSupport. - * Use `create(FieldOptions_FeatureSupportSchema)` to create a new message. - */ -export const FieldOptions_FeatureSupportSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 12, 1); -/** - * @generated from enum google.protobuf.FieldOptions.CType - */ -export var FieldOptions_CType; -(function (FieldOptions_CType) { - /** - * Default mode. - * - * @generated from enum value: STRING = 0; - */ - FieldOptions_CType[FieldOptions_CType["STRING"] = 0] = "STRING"; - /** - * The option [ctype=CORD] may be applied to a non-repeated field of type - * "bytes". It indicates that in C++, the data should be stored in a Cord - * instead of a string. For very large strings, this may reduce memory - * fragmentation. It may also allow better performance when parsing from a - * Cord, or when parsing with aliasing enabled, as the parsed Cord may then - * alias the original buffer. - * - * @generated from enum value: CORD = 1; - */ - FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD"; - /** - * @generated from enum value: STRING_PIECE = 2; - */ - FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE"; -})(FieldOptions_CType || (FieldOptions_CType = {})); -/** - * Describes the enum google.protobuf.FieldOptions.CType. - */ -export const FieldOptions_CTypeSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 12, 0); -/** - * @generated from enum google.protobuf.FieldOptions.JSType - */ -export var FieldOptions_JSType; -(function (FieldOptions_JSType) { - /** - * Use the default type. - * - * @generated from enum value: JS_NORMAL = 0; - */ - FieldOptions_JSType[FieldOptions_JSType["JS_NORMAL"] = 0] = "JS_NORMAL"; - /** - * Use JavaScript strings. - * - * @generated from enum value: JS_STRING = 1; - */ - FieldOptions_JSType[FieldOptions_JSType["JS_STRING"] = 1] = "JS_STRING"; - /** - * Use JavaScript numbers. - * - * @generated from enum value: JS_NUMBER = 2; - */ - FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER"; -})(FieldOptions_JSType || (FieldOptions_JSType = {})); -/** - * Describes the enum google.protobuf.FieldOptions.JSType. - */ -export const FieldOptions_JSTypeSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 12, 1); -/** - * If set to RETENTION_SOURCE, the option will be omitted from the binary. - * Note: as of January 2023, support for this is in progress and does not yet - * have an effect (b/264593489). - * - * @generated from enum google.protobuf.FieldOptions.OptionRetention - */ -export var FieldOptions_OptionRetention; -(function (FieldOptions_OptionRetention) { - /** - * @generated from enum value: RETENTION_UNKNOWN = 0; - */ - FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_UNKNOWN"] = 0] = "RETENTION_UNKNOWN"; - /** - * @generated from enum value: RETENTION_RUNTIME = 1; - */ - FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_RUNTIME"] = 1] = "RETENTION_RUNTIME"; - /** - * @generated from enum value: RETENTION_SOURCE = 2; - */ - FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_SOURCE"] = 2] = "RETENTION_SOURCE"; -})(FieldOptions_OptionRetention || (FieldOptions_OptionRetention = {})); -/** - * Describes the enum google.protobuf.FieldOptions.OptionRetention. - */ -export const FieldOptions_OptionRetentionSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 12, 2); -/** - * This indicates the types of entities that the field may apply to when used - * as an option. If it is unset, then the field may be freely used as an - * option on any kind of entity. Note: as of January 2023, support for this is - * in progress and does not yet have an effect (b/264593489). - * - * @generated from enum google.protobuf.FieldOptions.OptionTargetType - */ -export var FieldOptions_OptionTargetType; -(function (FieldOptions_OptionTargetType) { - /** - * @generated from enum value: TARGET_TYPE_UNKNOWN = 0; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_UNKNOWN"] = 0] = "TARGET_TYPE_UNKNOWN"; - /** - * @generated from enum value: TARGET_TYPE_FILE = 1; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FILE"] = 1] = "TARGET_TYPE_FILE"; - /** - * @generated from enum value: TARGET_TYPE_EXTENSION_RANGE = 2; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_EXTENSION_RANGE"] = 2] = "TARGET_TYPE_EXTENSION_RANGE"; - /** - * @generated from enum value: TARGET_TYPE_MESSAGE = 3; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_MESSAGE"] = 3] = "TARGET_TYPE_MESSAGE"; - /** - * @generated from enum value: TARGET_TYPE_FIELD = 4; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FIELD"] = 4] = "TARGET_TYPE_FIELD"; - /** - * @generated from enum value: TARGET_TYPE_ONEOF = 5; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ONEOF"] = 5] = "TARGET_TYPE_ONEOF"; - /** - * @generated from enum value: TARGET_TYPE_ENUM = 6; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM"] = 6] = "TARGET_TYPE_ENUM"; - /** - * @generated from enum value: TARGET_TYPE_ENUM_ENTRY = 7; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM_ENTRY"] = 7] = "TARGET_TYPE_ENUM_ENTRY"; - /** - * @generated from enum value: TARGET_TYPE_SERVICE = 8; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_SERVICE"] = 8] = "TARGET_TYPE_SERVICE"; - /** - * @generated from enum value: TARGET_TYPE_METHOD = 9; - */ - FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_METHOD"] = 9] = "TARGET_TYPE_METHOD"; -})(FieldOptions_OptionTargetType || (FieldOptions_OptionTargetType = {})); -/** - * Describes the enum google.protobuf.FieldOptions.OptionTargetType. - */ -export const FieldOptions_OptionTargetTypeSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 12, 3); -/** - * Describes the message google.protobuf.OneofOptions. - * Use `create(OneofOptionsSchema)` to create a new message. - */ -export const OneofOptionsSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 13); -/** - * Describes the message google.protobuf.EnumOptions. - * Use `create(EnumOptionsSchema)` to create a new message. - */ -export const EnumOptionsSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 14); -/** - * Describes the message google.protobuf.EnumValueOptions. - * Use `create(EnumValueOptionsSchema)` to create a new message. - */ -export const EnumValueOptionsSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 15); -/** - * Describes the message google.protobuf.ServiceOptions. - * Use `create(ServiceOptionsSchema)` to create a new message. - */ -export const ServiceOptionsSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 16); -/** - * Describes the message google.protobuf.MethodOptions. - * Use `create(MethodOptionsSchema)` to create a new message. - */ -export const MethodOptionsSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 17); -/** - * Is this method side-effect-free (or safe in HTTP parlance), or idempotent, - * or neither? HTTP based RPC implementation may choose GET verb for safe - * methods, and PUT verb for idempotent methods instead of the default POST. - * - * @generated from enum google.protobuf.MethodOptions.IdempotencyLevel - */ -export var MethodOptions_IdempotencyLevel; -(function (MethodOptions_IdempotencyLevel) { - /** - * @generated from enum value: IDEMPOTENCY_UNKNOWN = 0; - */ - MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENCY_UNKNOWN"] = 0] = "IDEMPOTENCY_UNKNOWN"; - /** - * implies idempotent - * - * @generated from enum value: NO_SIDE_EFFECTS = 1; - */ - MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["NO_SIDE_EFFECTS"] = 1] = "NO_SIDE_EFFECTS"; - /** - * idempotent, but may have side effects - * - * @generated from enum value: IDEMPOTENT = 2; - */ - MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT"; -})(MethodOptions_IdempotencyLevel || (MethodOptions_IdempotencyLevel = {})); -/** - * Describes the enum google.protobuf.MethodOptions.IdempotencyLevel. - */ -export const MethodOptions_IdempotencyLevelSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 17, 0); -/** - * Describes the message google.protobuf.UninterpretedOption. - * Use `create(UninterpretedOptionSchema)` to create a new message. - */ -export const UninterpretedOptionSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 18); -/** - * Describes the message google.protobuf.UninterpretedOption.NamePart. - * Use `create(UninterpretedOption_NamePartSchema)` to create a new message. - */ -export const UninterpretedOption_NamePartSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 18, 0); -/** - * Describes the message google.protobuf.FeatureSet. - * Use `create(FeatureSetSchema)` to create a new message. - */ -export const FeatureSetSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 19); -/** - * @generated from enum google.protobuf.FeatureSet.FieldPresence - */ -export var FeatureSet_FieldPresence; -(function (FeatureSet_FieldPresence) { - /** - * @generated from enum value: FIELD_PRESENCE_UNKNOWN = 0; - */ - FeatureSet_FieldPresence[FeatureSet_FieldPresence["FIELD_PRESENCE_UNKNOWN"] = 0] = "FIELD_PRESENCE_UNKNOWN"; - /** - * @generated from enum value: EXPLICIT = 1; - */ - FeatureSet_FieldPresence[FeatureSet_FieldPresence["EXPLICIT"] = 1] = "EXPLICIT"; - /** - * @generated from enum value: IMPLICIT = 2; - */ - FeatureSet_FieldPresence[FeatureSet_FieldPresence["IMPLICIT"] = 2] = "IMPLICIT"; - /** - * @generated from enum value: LEGACY_REQUIRED = 3; - */ - FeatureSet_FieldPresence[FeatureSet_FieldPresence["LEGACY_REQUIRED"] = 3] = "LEGACY_REQUIRED"; -})(FeatureSet_FieldPresence || (FeatureSet_FieldPresence = {})); -/** - * Describes the enum google.protobuf.FeatureSet.FieldPresence. - */ -export const FeatureSet_FieldPresenceSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 19, 0); -/** - * @generated from enum google.protobuf.FeatureSet.EnumType - */ -export var FeatureSet_EnumType; -(function (FeatureSet_EnumType) { - /** - * @generated from enum value: ENUM_TYPE_UNKNOWN = 0; - */ - FeatureSet_EnumType[FeatureSet_EnumType["ENUM_TYPE_UNKNOWN"] = 0] = "ENUM_TYPE_UNKNOWN"; - /** - * @generated from enum value: OPEN = 1; - */ - FeatureSet_EnumType[FeatureSet_EnumType["OPEN"] = 1] = "OPEN"; - /** - * @generated from enum value: CLOSED = 2; - */ - FeatureSet_EnumType[FeatureSet_EnumType["CLOSED"] = 2] = "CLOSED"; -})(FeatureSet_EnumType || (FeatureSet_EnumType = {})); -/** - * Describes the enum google.protobuf.FeatureSet.EnumType. - */ -export const FeatureSet_EnumTypeSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 19, 1); -/** - * @generated from enum google.protobuf.FeatureSet.RepeatedFieldEncoding - */ -export var FeatureSet_RepeatedFieldEncoding; -(function (FeatureSet_RepeatedFieldEncoding) { - /** - * @generated from enum value: REPEATED_FIELD_ENCODING_UNKNOWN = 0; - */ - FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["REPEATED_FIELD_ENCODING_UNKNOWN"] = 0] = "REPEATED_FIELD_ENCODING_UNKNOWN"; - /** - * @generated from enum value: PACKED = 1; - */ - FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["PACKED"] = 1] = "PACKED"; - /** - * @generated from enum value: EXPANDED = 2; - */ - FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["EXPANDED"] = 2] = "EXPANDED"; -})(FeatureSet_RepeatedFieldEncoding || (FeatureSet_RepeatedFieldEncoding = {})); -/** - * Describes the enum google.protobuf.FeatureSet.RepeatedFieldEncoding. - */ -export const FeatureSet_RepeatedFieldEncodingSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 19, 2); -/** - * @generated from enum google.protobuf.FeatureSet.Utf8Validation - */ -export var FeatureSet_Utf8Validation; -(function (FeatureSet_Utf8Validation) { - /** - * @generated from enum value: UTF8_VALIDATION_UNKNOWN = 0; - */ - FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["UTF8_VALIDATION_UNKNOWN"] = 0] = "UTF8_VALIDATION_UNKNOWN"; - /** - * @generated from enum value: VERIFY = 2; - */ - FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["VERIFY"] = 2] = "VERIFY"; - /** - * @generated from enum value: NONE = 3; - */ - FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["NONE"] = 3] = "NONE"; -})(FeatureSet_Utf8Validation || (FeatureSet_Utf8Validation = {})); -/** - * Describes the enum google.protobuf.FeatureSet.Utf8Validation. - */ -export const FeatureSet_Utf8ValidationSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 19, 3); -/** - * @generated from enum google.protobuf.FeatureSet.MessageEncoding - */ -export var FeatureSet_MessageEncoding; -(function (FeatureSet_MessageEncoding) { - /** - * @generated from enum value: MESSAGE_ENCODING_UNKNOWN = 0; - */ - FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["MESSAGE_ENCODING_UNKNOWN"] = 0] = "MESSAGE_ENCODING_UNKNOWN"; - /** - * @generated from enum value: LENGTH_PREFIXED = 1; - */ - FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["LENGTH_PREFIXED"] = 1] = "LENGTH_PREFIXED"; - /** - * @generated from enum value: DELIMITED = 2; - */ - FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["DELIMITED"] = 2] = "DELIMITED"; -})(FeatureSet_MessageEncoding || (FeatureSet_MessageEncoding = {})); -/** - * Describes the enum google.protobuf.FeatureSet.MessageEncoding. - */ -export const FeatureSet_MessageEncodingSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 19, 4); -/** - * @generated from enum google.protobuf.FeatureSet.JsonFormat - */ -export var FeatureSet_JsonFormat; -(function (FeatureSet_JsonFormat) { - /** - * @generated from enum value: JSON_FORMAT_UNKNOWN = 0; - */ - FeatureSet_JsonFormat[FeatureSet_JsonFormat["JSON_FORMAT_UNKNOWN"] = 0] = "JSON_FORMAT_UNKNOWN"; - /** - * @generated from enum value: ALLOW = 1; - */ - FeatureSet_JsonFormat[FeatureSet_JsonFormat["ALLOW"] = 1] = "ALLOW"; - /** - * @generated from enum value: LEGACY_BEST_EFFORT = 2; - */ - FeatureSet_JsonFormat[FeatureSet_JsonFormat["LEGACY_BEST_EFFORT"] = 2] = "LEGACY_BEST_EFFORT"; -})(FeatureSet_JsonFormat || (FeatureSet_JsonFormat = {})); -/** - * Describes the enum google.protobuf.FeatureSet.JsonFormat. - */ -export const FeatureSet_JsonFormatSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 19, 5); -/** - * Describes the message google.protobuf.FeatureSetDefaults. - * Use `create(FeatureSetDefaultsSchema)` to create a new message. - */ -export const FeatureSetDefaultsSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 20); -/** - * Describes the message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault. - * Use `create(FeatureSetDefaults_FeatureSetEditionDefaultSchema)` to create a new message. - */ -export const FeatureSetDefaults_FeatureSetEditionDefaultSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 20, 0); -/** - * Describes the message google.protobuf.SourceCodeInfo. - * Use `create(SourceCodeInfoSchema)` to create a new message. - */ -export const SourceCodeInfoSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 21); -/** - * Describes the message google.protobuf.SourceCodeInfo.Location. - * Use `create(SourceCodeInfo_LocationSchema)` to create a new message. - */ -export const SourceCodeInfo_LocationSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 21, 0); -/** - * Describes the message google.protobuf.GeneratedCodeInfo. - * Use `create(GeneratedCodeInfoSchema)` to create a new message. - */ -export const GeneratedCodeInfoSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 22); -/** - * Describes the message google.protobuf.GeneratedCodeInfo.Annotation. - * Use `create(GeneratedCodeInfo_AnnotationSchema)` to create a new message. - */ -export const GeneratedCodeInfo_AnnotationSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_descriptor, 22, 0); -/** - * Represents the identified object's effect on the element in the original - * .proto file. - * - * @generated from enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic - */ -export var GeneratedCodeInfo_Annotation_Semantic; -(function (GeneratedCodeInfo_Annotation_Semantic) { - /** - * There is no effect or the effect is indescribable. - * - * @generated from enum value: NONE = 0; - */ - GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["NONE"] = 0] = "NONE"; - /** - * The element is set or otherwise mutated. - * - * @generated from enum value: SET = 1; - */ - GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["SET"] = 1] = "SET"; - /** - * An alias to the element is returned. - * - * @generated from enum value: ALIAS = 2; - */ - GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["ALIAS"] = 2] = "ALIAS"; -})(GeneratedCodeInfo_Annotation_Semantic || (GeneratedCodeInfo_Annotation_Semantic = {})); -/** - * Describes the enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic. - */ -export const GeneratedCodeInfo_Annotation_SemanticSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 22, 0, 0); -/** - * The full set of known editions. - * - * @generated from enum google.protobuf.Edition - */ -export var Edition; -(function (Edition) { - /** - * A placeholder for an unknown edition value. - * - * @generated from enum value: EDITION_UNKNOWN = 0; - */ - Edition[Edition["EDITION_UNKNOWN"] = 0] = "EDITION_UNKNOWN"; - /** - * A placeholder edition for specifying default behaviors *before* a feature - * was first introduced. This is effectively an "infinite past". - * - * @generated from enum value: EDITION_LEGACY = 900; - */ - Edition[Edition["EDITION_LEGACY"] = 900] = "EDITION_LEGACY"; - /** - * Legacy syntax "editions". These pre-date editions, but behave much like - * distinct editions. These can't be used to specify the edition of proto - * files, but feature definitions must supply proto2/proto3 defaults for - * backwards compatibility. - * - * @generated from enum value: EDITION_PROTO2 = 998; - */ - Edition[Edition["EDITION_PROTO2"] = 998] = "EDITION_PROTO2"; - /** - * @generated from enum value: EDITION_PROTO3 = 999; - */ - Edition[Edition["EDITION_PROTO3"] = 999] = "EDITION_PROTO3"; - /** - * Editions that have been released. The specific values are arbitrary and - * should not be depended on, but they will always be time-ordered for easy - * comparison. - * - * @generated from enum value: EDITION_2023 = 1000; - */ - Edition[Edition["EDITION_2023"] = 1000] = "EDITION_2023"; - /** - * @generated from enum value: EDITION_2024 = 1001; - */ - Edition[Edition["EDITION_2024"] = 1001] = "EDITION_2024"; - /** - * Placeholder editions for testing feature resolution. These should not be - * used or relyed on outside of tests. - * - * @generated from enum value: EDITION_1_TEST_ONLY = 1; - */ - Edition[Edition["EDITION_1_TEST_ONLY"] = 1] = "EDITION_1_TEST_ONLY"; - /** - * @generated from enum value: EDITION_2_TEST_ONLY = 2; - */ - Edition[Edition["EDITION_2_TEST_ONLY"] = 2] = "EDITION_2_TEST_ONLY"; - /** - * @generated from enum value: EDITION_99997_TEST_ONLY = 99997; - */ - Edition[Edition["EDITION_99997_TEST_ONLY"] = 99997] = "EDITION_99997_TEST_ONLY"; - /** - * @generated from enum value: EDITION_99998_TEST_ONLY = 99998; - */ - Edition[Edition["EDITION_99998_TEST_ONLY"] = 99998] = "EDITION_99998_TEST_ONLY"; - /** - * @generated from enum value: EDITION_99999_TEST_ONLY = 99999; - */ - Edition[Edition["EDITION_99999_TEST_ONLY"] = 99999] = "EDITION_99999_TEST_ONLY"; - /** - * Placeholder for specifying unbounded edition support. This should only - * ever be used by plugins that can expect to never require any changes to - * support a new edition. - * - * @generated from enum value: EDITION_MAX = 2147483647; - */ - Edition[Edition["EDITION_MAX"] = 2147483647] = "EDITION_MAX"; -})(Edition || (Edition = {})); -/** - * Describes the enum google.protobuf.Edition. - */ -export const EditionSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_descriptor, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.d.ts deleted file mode 100644 index af2d059..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/duration.proto. - */ -export declare const file_google_protobuf_duration: GenFile; -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (duration.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - * - * - * @generated from message google.protobuf.Duration - */ -export type Duration = Message<"google.protobuf.Duration"> & { - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - * - * @generated from field: int64 seconds = 1; - */ - seconds: bigint; - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - * - * @generated from field: int32 nanos = 2; - */ - nanos: number; -}; -/** - * JSON type for the message google.protobuf.Duration. - */ -export type DurationJson = string; -/** - * Describes the message google.protobuf.Duration. - * Use `create(DurationSchema)` to create a new message. - */ -export declare const DurationSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js deleted file mode 100644 index c0eed2f..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { fileDesc } from "../../../../codegenv1/file.js"; -import { messageDesc } from "../../../../codegenv1/message.js"; -/** - * Describes the file google/protobuf/duration.proto. - */ -export const file_google_protobuf_duration = /*@__PURE__*/ fileDesc("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"); -/** - * Describes the message google.protobuf.Duration. - * Use `create(DurationSchema)` to create a new message. - */ -export const DurationSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_duration, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.d.ts deleted file mode 100644 index 73193a5..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/empty.proto. - */ -export declare const file_google_protobuf_empty: GenFile; -/** - * A generic empty message that you can re-use to avoid defining duplicated - * empty messages in your APIs. A typical example is to use it as the request - * or the response type of an API method. For instance: - * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } - * - * - * @generated from message google.protobuf.Empty - */ -export type Empty = Message<"google.protobuf.Empty"> & {}; -/** - * JSON type for the message google.protobuf.Empty. - */ -export type EmptyJson = Record; -/** - * Describes the message google.protobuf.Empty. - * Use `create(EmptySchema)` to create a new message. - */ -export declare const EmptySchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js deleted file mode 100644 index 1be8556..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { fileDesc } from "../../../../codegenv1/file.js"; -import { messageDesc } from "../../../../codegenv1/message.js"; -/** - * Describes the file google/protobuf/empty.proto. - */ -export const file_google_protobuf_empty = /*@__PURE__*/ fileDesc("Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIHCgVFbXB0eUJ9ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3RvUAFaLmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2VtcHR5cGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"); -/** - * Describes the message google.protobuf.Empty. - * Use `create(EmptySchema)` to create a new message. - */ -export const EmptySchema = /*@__PURE__*/ messageDesc(file_google_protobuf_empty, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.d.ts deleted file mode 100644 index e10848d..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.d.ts +++ /dev/null @@ -1,226 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/field_mask.proto. - */ -export declare const file_google_protobuf_field_mask: GenFile; -/** - * `FieldMask` represents a set of symbolic field paths, for example: - * - * paths: "f.a" - * paths: "f.b.d" - * - * Here `f` represents a field in some root message, `a` and `b` - * fields in the message found in `f`, and `d` a field found in the - * message in `f.b`. - * - * Field masks are used to specify a subset of fields that should be - * returned by a get operation or modified by an update operation. - * Field masks also have a custom JSON encoding (see below). - * - * # Field Masks in Projections - * - * When used in the context of a projection, a response message or - * sub-message is filtered by the API to only contain those fields as - * specified in the mask. For example, if the mask in the previous - * example is applied to a response message as follows: - * - * f { - * a : 22 - * b { - * d : 1 - * x : 2 - * } - * y : 13 - * } - * z: 8 - * - * The result will not contain specific values for fields x,y and z - * (their value will be set to the default, and omitted in proto text - * output): - * - * - * f { - * a : 22 - * b { - * d : 1 - * } - * } - * - * A repeated field is not allowed except at the last position of a - * paths string. - * - * If a FieldMask object is not present in a get operation, the - * operation applies to all fields (as if a FieldMask of all fields - * had been specified). - * - * Note that a field mask does not necessarily apply to the - * top-level response message. In case of a REST get operation, the - * field mask applies directly to the response, but in case of a REST - * list operation, the mask instead applies to each individual message - * in the returned resource list. In case of a REST custom method, - * other definitions may be used. Where the mask applies will be - * clearly documented together with its declaration in the API. In - * any case, the effect on the returned resource/resources is required - * behavior for APIs. - * - * # Field Masks in Update Operations - * - * A field mask in update operations specifies which fields of the - * targeted resource are going to be updated. The API is required - * to only change the values of the fields as specified in the mask - * and leave the others untouched. If a resource is passed in to - * describe the updated values, the API ignores the values of all - * fields not covered by the mask. - * - * If a repeated field is specified for an update operation, new values will - * be appended to the existing repeated field in the target resource. Note that - * a repeated field is only allowed in the last position of a `paths` string. - * - * If a sub-message is specified in the last position of the field mask for an - * update operation, then new value will be merged into the existing sub-message - * in the target resource. - * - * For example, given the target message: - * - * f { - * b { - * d: 1 - * x: 2 - * } - * c: [1] - * } - * - * And an update message: - * - * f { - * b { - * d: 10 - * } - * c: [2] - * } - * - * then if the field mask is: - * - * paths: ["f.b", "f.c"] - * - * then the result will be: - * - * f { - * b { - * d: 10 - * x: 2 - * } - * c: [1, 2] - * } - * - * An implementation may provide options to override this default behavior for - * repeated and message fields. - * - * In order to reset a field's value to the default, the field must - * be in the mask and set to the default value in the provided resource. - * Hence, in order to reset all fields of a resource, provide a default - * instance of the resource and set all fields in the mask, or do - * not provide a mask as described below. - * - * If a field mask is not present on update, the operation applies to - * all fields (as if a field mask of all fields has been specified). - * Note that in the presence of schema evolution, this may mean that - * fields the client does not know and has therefore not filled into - * the request will be reset to their default. If this is unwanted - * behavior, a specific service may require a client to always specify - * a field mask, producing an error if not. - * - * As with get operations, the location of the resource which - * describes the updated values in the request message depends on the - * operation kind. In any case, the effect of the field mask is - * required to be honored by the API. - * - * ## Considerations for HTTP REST - * - * The HTTP kind of an update operation which uses a field mask must - * be set to PATCH instead of PUT in order to satisfy HTTP semantics - * (PUT must only be used for full updates). - * - * # JSON Encoding of Field Masks - * - * In JSON, a field mask is encoded as a single string where paths are - * separated by a comma. Fields name in each path are converted - * to/from lower-camel naming conventions. - * - * As an example, consider the following message declarations: - * - * message Profile { - * User user = 1; - * Photo photo = 2; - * } - * message User { - * string display_name = 1; - * string address = 2; - * } - * - * In proto a field mask for `Profile` may look as such: - * - * mask { - * paths: "user.display_name" - * paths: "photo" - * } - * - * In JSON, the same mask is represented as below: - * - * { - * mask: "user.displayName,photo" - * } - * - * # Field Masks and Oneof Fields - * - * Field masks treat fields in oneofs just as regular fields. Consider the - * following message: - * - * message SampleMessage { - * oneof test_oneof { - * string name = 4; - * SubMessage sub_message = 9; - * } - * } - * - * The field mask can be: - * - * mask { - * paths: "name" - * } - * - * Or: - * - * mask { - * paths: "sub_message" - * } - * - * Note that oneof type names ("test_oneof" in this case) cannot be used in - * paths. - * - * ## Field Mask Verification - * - * The implementation of any API method which has a FieldMask type field in the - * request should verify the included field paths, and return an - * `INVALID_ARGUMENT` error if any path is unmappable. - * - * @generated from message google.protobuf.FieldMask - */ -export type FieldMask = Message<"google.protobuf.FieldMask"> & { - /** - * The set of field mask paths. - * - * @generated from field: repeated string paths = 1; - */ - paths: string[]; -}; -/** - * JSON type for the message google.protobuf.FieldMask. - */ -export type FieldMaskJson = string; -/** - * Describes the message google.protobuf.FieldMask. - * Use `create(FieldMaskSchema)` to create a new message. - */ -export declare const FieldMaskSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js deleted file mode 100644 index b02f7df..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { fileDesc } from "../../../../codegenv1/file.js"; -import { messageDesc } from "../../../../codegenv1/message.js"; -/** - * Describes the file google/protobuf/field_mask.proto. - */ -export const file_google_protobuf_field_mask = /*@__PURE__*/ fileDesc("CiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5wcm90bxIPZ29vZ2xlLnByb3RvYnVmIhoKCUZpZWxkTWFzaxINCgVwYXRocxgBIAMoCUKFAQoTY29tLmdvb2dsZS5wcm90b2J1ZkIORmllbGRNYXNrUHJvdG9QAVoyZ29vZ2xlLmdvbGFuZy5vcmcvcHJvdG9idWYvdHlwZXMva25vd24vZmllbGRtYXNrcGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw"); -/** - * Describes the message google.protobuf.FieldMask. - * Use `create(FieldMaskSchema)` to create a new message. - */ -export const FieldMaskSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_field_mask, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.d.ts deleted file mode 100644 index a1310ae..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/source_context.proto. - */ -export declare const file_google_protobuf_source_context: GenFile; -/** - * `SourceContext` represents information about the source of a - * protobuf element, like the file in which it is defined. - * - * @generated from message google.protobuf.SourceContext - */ -export type SourceContext = Message<"google.protobuf.SourceContext"> & { - /** - * The path-qualified name of the .proto file that contained the associated - * protobuf element. For example: `"google/protobuf/source_context.proto"`. - * - * @generated from field: string file_name = 1; - */ - fileName: string; -}; -/** - * JSON type for the message google.protobuf.SourceContext. - */ -export type SourceContextJson = { - /** - * @generated from field: string file_name = 1; - */ - fileName?: string; -}; -/** - * Describes the message google.protobuf.SourceContext. - * Use `create(SourceContextSchema)` to create a new message. - */ -export declare const SourceContextSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js deleted file mode 100644 index 6411c88..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { fileDesc } from "../../../../codegenv1/file.js"; -import { messageDesc } from "../../../../codegenv1/message.js"; -/** - * Describes the file google/protobuf/source_context.proto. - */ -export const file_google_protobuf_source_context = /*@__PURE__*/ fileDesc("CiRnb29nbGUvcHJvdG9idWYvc291cmNlX2NvbnRleHQucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIiCg1Tb3VyY2VDb250ZXh0EhEKCWZpbGVfbmFtZRgBIAEoCUKKAQoTY29tLmdvb2dsZS5wcm90b2J1ZkISU291cmNlQ29udGV4dFByb3RvUAFaNmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3NvdXJjZWNvbnRleHRwYqICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z"); -/** - * Describes the message google.protobuf.SourceContext. - * Use `create(SourceContextSchema)` to create a new message. - */ -export const SourceContextSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_source_context, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.d.ts deleted file mode 100644 index c8ae4be..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.d.ts +++ /dev/null @@ -1,164 +0,0 @@ -import type { GenEnum, GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -import type { JsonObject, JsonValue } from "../../../../json-value.js"; -/** - * Describes the file google/protobuf/struct.proto. - */ -export declare const file_google_protobuf_struct: GenFile; -/** - * `Struct` represents a structured data value, consisting of fields - * which map to dynamically typed values. In some languages, `Struct` - * might be supported by a native representation. For example, in - * scripting languages like JS a struct is represented as an - * object. The details of that representation are described together - * with the proto support for the language. - * - * The JSON representation for `Struct` is JSON object. - * - * @generated from message google.protobuf.Struct - */ -export type Struct = Message<"google.protobuf.Struct"> & { - /** - * Unordered map of dynamically typed values. - * - * @generated from field: map fields = 1; - */ - fields: { - [key: string]: Value; - }; -}; -/** - * JSON type for the message google.protobuf.Struct. - */ -export type StructJson = JsonObject; -/** - * Describes the message google.protobuf.Struct. - * Use `create(StructSchema)` to create a new message. - */ -export declare const StructSchema: GenMessage; -/** - * `Value` represents a dynamically typed value which can be either - * null, a number, a string, a boolean, a recursive struct value, or a - * list of values. A producer of value is expected to set one of these - * variants. Absence of any variant indicates an error. - * - * The JSON representation for `Value` is JSON value. - * - * @generated from message google.protobuf.Value - */ -export type Value = Message<"google.protobuf.Value"> & { - /** - * The kind of value. - * - * @generated from oneof google.protobuf.Value.kind - */ - kind: { - /** - * Represents a null value. - * - * @generated from field: google.protobuf.NullValue null_value = 1; - */ - value: NullValue; - case: "nullValue"; - } | { - /** - * Represents a double value. - * - * @generated from field: double number_value = 2; - */ - value: number; - case: "numberValue"; - } | { - /** - * Represents a string value. - * - * @generated from field: string string_value = 3; - */ - value: string; - case: "stringValue"; - } | { - /** - * Represents a boolean value. - * - * @generated from field: bool bool_value = 4; - */ - value: boolean; - case: "boolValue"; - } | { - /** - * Represents a structured value. - * - * @generated from field: google.protobuf.Struct struct_value = 5; - */ - value: Struct; - case: "structValue"; - } | { - /** - * Represents a repeated `Value`. - * - * @generated from field: google.protobuf.ListValue list_value = 6; - */ - value: ListValue; - case: "listValue"; - } | { - case: undefined; - value?: undefined; - }; -}; -/** - * JSON type for the message google.protobuf.Value. - */ -export type ValueJson = JsonValue; -/** - * Describes the message google.protobuf.Value. - * Use `create(ValueSchema)` to create a new message. - */ -export declare const ValueSchema: GenMessage; -/** - * `ListValue` is a wrapper around a repeated field of values. - * - * The JSON representation for `ListValue` is JSON array. - * - * @generated from message google.protobuf.ListValue - */ -export type ListValue = Message<"google.protobuf.ListValue"> & { - /** - * Repeated field of dynamically typed values. - * - * @generated from field: repeated google.protobuf.Value values = 1; - */ - values: Value[]; -}; -/** - * JSON type for the message google.protobuf.ListValue. - */ -export type ListValueJson = JsonValue[]; -/** - * Describes the message google.protobuf.ListValue. - * Use `create(ListValueSchema)` to create a new message. - */ -export declare const ListValueSchema: GenMessage; -/** - * `NullValue` is a singleton enumeration to represent the null value for the - * `Value` type union. - * - * The JSON representation for `NullValue` is JSON `null`. - * - * @generated from enum google.protobuf.NullValue - */ -export declare enum NullValue { - /** - * Null value. - * - * @generated from enum value: NULL_VALUE = 0; - */ - NULL_VALUE = 0 -} -/** - * JSON type for the enum google.protobuf.NullValue. - */ -export type NullValueJson = null; -/** - * Describes the enum google.protobuf.NullValue. - */ -export declare const NullValueSchema: GenEnum; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js deleted file mode 100644 index c82a203..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { fileDesc } from "../../../../codegenv1/file.js"; -import { messageDesc } from "../../../../codegenv1/message.js"; -import { enumDesc } from "../../../../codegenv1/enum.js"; -/** - * Describes the file google/protobuf/struct.proto. - */ -export const file_google_protobuf_struct = /*@__PURE__*/ fileDesc("Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9idWYihAEKBlN0cnVjdBIzCgZmaWVsZHMYASADKAsyIy5nb29nbGUucHJvdG9idWYuU3RydWN0LkZpZWxkc0VudHJ5GkUKC0ZpZWxkc0VudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToCOAEi6gEKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFgoMbnVtYmVyX3ZhbHVlGAIgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAMgASgJSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEi8KDHN0cnVjdF92YWx1ZRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIABIwCgpsaXN0X3ZhbHVlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RWYWx1ZUgAQgYKBGtpbmQiMwoJTGlzdFZhbHVlEiYKBnZhbHVlcxgBIAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAAQn8KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAFaL2dvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3N0cnVjdHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"); -/** - * Describes the message google.protobuf.Struct. - * Use `create(StructSchema)` to create a new message. - */ -export const StructSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_struct, 0); -/** - * Describes the message google.protobuf.Value. - * Use `create(ValueSchema)` to create a new message. - */ -export const ValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_struct, 1); -/** - * Describes the message google.protobuf.ListValue. - * Use `create(ListValueSchema)` to create a new message. - */ -export const ListValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_struct, 2); -/** - * `NullValue` is a singleton enumeration to represent the null value for the - * `Value` type union. - * - * The JSON representation for `NullValue` is JSON `null`. - * - * @generated from enum google.protobuf.NullValue - */ -export var NullValue; -(function (NullValue) { - /** - * Null value. - * - * @generated from enum value: NULL_VALUE = 0; - */ - NullValue[NullValue["NULL_VALUE"] = 0] = "NULL_VALUE"; -})(NullValue || (NullValue = {})); -/** - * Describes the enum google.protobuf.NullValue. - */ -export const NullValueSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_struct, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts deleted file mode 100644 index edc2af4..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts +++ /dev/null @@ -1,128 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/timestamp.proto. - */ -export declare const file_google_protobuf_timestamp: GenFile; -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * Example 5: Compute Timestamp from Java `Instant.now()`. - * - * Instant now = Instant.now(); - * - * Timestamp timestamp = - * Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - * .setNanos(now.getNano()).build(); - * - * Example 6: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - * ) to obtain a formatter capable of generating timestamps in this format. - * - * - * @generated from message google.protobuf.Timestamp - */ -export type Timestamp = Message<"google.protobuf.Timestamp"> & { - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - * - * @generated from field: int64 seconds = 1; - */ - seconds: bigint; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - * - * @generated from field: int32 nanos = 2; - */ - nanos: number; -}; -/** - * JSON type for the message google.protobuf.Timestamp. - */ -export type TimestampJson = string; -/** - * Describes the message google.protobuf.Timestamp. - * Use `create(TimestampSchema)` to create a new message. - */ -export declare const TimestampSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js deleted file mode 100644 index 35bb697..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { fileDesc } from "../../../../codegenv1/file.js"; -import { messageDesc } from "../../../../codegenv1/message.js"; -/** - * Describes the file google/protobuf/timestamp.proto. - */ -export const file_google_protobuf_timestamp = /*@__PURE__*/ fileDesc("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"); -/** - * Describes the message google.protobuf.Timestamp. - * Use `create(TimestampSchema)` to create a new message. - */ -export const TimestampSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_timestamp, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts deleted file mode 100644 index c45fb31..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts +++ /dev/null @@ -1,583 +0,0 @@ -import type { GenEnum, GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Any, AnyJson } from "./any_pb.js"; -import type { SourceContext, SourceContextJson } from "./source_context_pb.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/type.proto. - */ -export declare const file_google_protobuf_type: GenFile; -/** - * A protocol buffer message type. - * - * @generated from message google.protobuf.Type - */ -export type Type = Message<"google.protobuf.Type"> & { - /** - * The fully qualified message name. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * The list of fields. - * - * @generated from field: repeated google.protobuf.Field fields = 2; - */ - fields: Field[]; - /** - * The list of types appearing in `oneof` definitions in this type. - * - * @generated from field: repeated string oneofs = 3; - */ - oneofs: string[]; - /** - * The protocol buffer options. - * - * @generated from field: repeated google.protobuf.Option options = 4; - */ - options: Option[]; - /** - * The source context. - * - * @generated from field: google.protobuf.SourceContext source_context = 5; - */ - sourceContext?: SourceContext; - /** - * The source syntax. - * - * @generated from field: google.protobuf.Syntax syntax = 6; - */ - syntax: Syntax; - /** - * The source edition string, only valid when syntax is SYNTAX_EDITIONS. - * - * @generated from field: string edition = 7; - */ - edition: string; -}; -/** - * JSON type for the message google.protobuf.Type. - */ -export type TypeJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.Field fields = 2; - */ - fields?: FieldJson[]; - /** - * @generated from field: repeated string oneofs = 3; - */ - oneofs?: string[]; - /** - * @generated from field: repeated google.protobuf.Option options = 4; - */ - options?: OptionJson[]; - /** - * @generated from field: google.protobuf.SourceContext source_context = 5; - */ - sourceContext?: SourceContextJson; - /** - * @generated from field: google.protobuf.Syntax syntax = 6; - */ - syntax?: SyntaxJson; - /** - * @generated from field: string edition = 7; - */ - edition?: string; -}; -/** - * Describes the message google.protobuf.Type. - * Use `create(TypeSchema)` to create a new message. - */ -export declare const TypeSchema: GenMessage; -/** - * A single field of a message type. - * - * @generated from message google.protobuf.Field - */ -export type Field = Message<"google.protobuf.Field"> & { - /** - * The field type. - * - * @generated from field: google.protobuf.Field.Kind kind = 1; - */ - kind: Field_Kind; - /** - * The field cardinality. - * - * @generated from field: google.protobuf.Field.Cardinality cardinality = 2; - */ - cardinality: Field_Cardinality; - /** - * The field number. - * - * @generated from field: int32 number = 3; - */ - number: number; - /** - * The field name. - * - * @generated from field: string name = 4; - */ - name: string; - /** - * The field type URL, without the scheme, for message or enumeration - * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - * - * @generated from field: string type_url = 6; - */ - typeUrl: string; - /** - * The index of the field type in `Type.oneofs`, for message or enumeration - * types. The first type has index 1; zero means the type is not in the list. - * - * @generated from field: int32 oneof_index = 7; - */ - oneofIndex: number; - /** - * Whether to use alternative packed wire representation. - * - * @generated from field: bool packed = 8; - */ - packed: boolean; - /** - * The protocol buffer options. - * - * @generated from field: repeated google.protobuf.Option options = 9; - */ - options: Option[]; - /** - * The field JSON name. - * - * @generated from field: string json_name = 10; - */ - jsonName: string; - /** - * The string value of the default value of this field. Proto2 syntax only. - * - * @generated from field: string default_value = 11; - */ - defaultValue: string; -}; -/** - * JSON type for the message google.protobuf.Field. - */ -export type FieldJson = { - /** - * @generated from field: google.protobuf.Field.Kind kind = 1; - */ - kind?: Field_KindJson; - /** - * @generated from field: google.protobuf.Field.Cardinality cardinality = 2; - */ - cardinality?: Field_CardinalityJson; - /** - * @generated from field: int32 number = 3; - */ - number?: number; - /** - * @generated from field: string name = 4; - */ - name?: string; - /** - * @generated from field: string type_url = 6; - */ - typeUrl?: string; - /** - * @generated from field: int32 oneof_index = 7; - */ - oneofIndex?: number; - /** - * @generated from field: bool packed = 8; - */ - packed?: boolean; - /** - * @generated from field: repeated google.protobuf.Option options = 9; - */ - options?: OptionJson[]; - /** - * @generated from field: string json_name = 10; - */ - jsonName?: string; - /** - * @generated from field: string default_value = 11; - */ - defaultValue?: string; -}; -/** - * Describes the message google.protobuf.Field. - * Use `create(FieldSchema)` to create a new message. - */ -export declare const FieldSchema: GenMessage; -/** - * Basic field types. - * - * @generated from enum google.protobuf.Field.Kind - */ -export declare enum Field_Kind { - /** - * Field type unknown. - * - * @generated from enum value: TYPE_UNKNOWN = 0; - */ - TYPE_UNKNOWN = 0, - /** - * Field type double. - * - * @generated from enum value: TYPE_DOUBLE = 1; - */ - TYPE_DOUBLE = 1, - /** - * Field type float. - * - * @generated from enum value: TYPE_FLOAT = 2; - */ - TYPE_FLOAT = 2, - /** - * Field type int64. - * - * @generated from enum value: TYPE_INT64 = 3; - */ - TYPE_INT64 = 3, - /** - * Field type uint64. - * - * @generated from enum value: TYPE_UINT64 = 4; - */ - TYPE_UINT64 = 4, - /** - * Field type int32. - * - * @generated from enum value: TYPE_INT32 = 5; - */ - TYPE_INT32 = 5, - /** - * Field type fixed64. - * - * @generated from enum value: TYPE_FIXED64 = 6; - */ - TYPE_FIXED64 = 6, - /** - * Field type fixed32. - * - * @generated from enum value: TYPE_FIXED32 = 7; - */ - TYPE_FIXED32 = 7, - /** - * Field type bool. - * - * @generated from enum value: TYPE_BOOL = 8; - */ - TYPE_BOOL = 8, - /** - * Field type string. - * - * @generated from enum value: TYPE_STRING = 9; - */ - TYPE_STRING = 9, - /** - * Field type group. Proto2 syntax only, and deprecated. - * - * @generated from enum value: TYPE_GROUP = 10; - */ - TYPE_GROUP = 10, - /** - * Field type message. - * - * @generated from enum value: TYPE_MESSAGE = 11; - */ - TYPE_MESSAGE = 11, - /** - * Field type bytes. - * - * @generated from enum value: TYPE_BYTES = 12; - */ - TYPE_BYTES = 12, - /** - * Field type uint32. - * - * @generated from enum value: TYPE_UINT32 = 13; - */ - TYPE_UINT32 = 13, - /** - * Field type enum. - * - * @generated from enum value: TYPE_ENUM = 14; - */ - TYPE_ENUM = 14, - /** - * Field type sfixed32. - * - * @generated from enum value: TYPE_SFIXED32 = 15; - */ - TYPE_SFIXED32 = 15, - /** - * Field type sfixed64. - * - * @generated from enum value: TYPE_SFIXED64 = 16; - */ - TYPE_SFIXED64 = 16, - /** - * Field type sint32. - * - * @generated from enum value: TYPE_SINT32 = 17; - */ - TYPE_SINT32 = 17, - /** - * Field type sint64. - * - * @generated from enum value: TYPE_SINT64 = 18; - */ - TYPE_SINT64 = 18 -} -/** - * JSON type for the enum google.protobuf.Field.Kind. - */ -export type Field_KindJson = "TYPE_UNKNOWN" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64"; -/** - * Describes the enum google.protobuf.Field.Kind. - */ -export declare const Field_KindSchema: GenEnum; -/** - * Whether a field is optional, required, or repeated. - * - * @generated from enum google.protobuf.Field.Cardinality - */ -export declare enum Field_Cardinality { - /** - * For fields with unknown cardinality. - * - * @generated from enum value: CARDINALITY_UNKNOWN = 0; - */ - UNKNOWN = 0, - /** - * For optional fields. - * - * @generated from enum value: CARDINALITY_OPTIONAL = 1; - */ - OPTIONAL = 1, - /** - * For required fields. Proto2 syntax only. - * - * @generated from enum value: CARDINALITY_REQUIRED = 2; - */ - REQUIRED = 2, - /** - * For repeated fields. - * - * @generated from enum value: CARDINALITY_REPEATED = 3; - */ - REPEATED = 3 -} -/** - * JSON type for the enum google.protobuf.Field.Cardinality. - */ -export type Field_CardinalityJson = "CARDINALITY_UNKNOWN" | "CARDINALITY_OPTIONAL" | "CARDINALITY_REQUIRED" | "CARDINALITY_REPEATED"; -/** - * Describes the enum google.protobuf.Field.Cardinality. - */ -export declare const Field_CardinalitySchema: GenEnum; -/** - * Enum type definition. - * - * @generated from message google.protobuf.Enum - */ -export type Enum = Message<"google.protobuf.Enum"> & { - /** - * Enum type name. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * Enum value definitions. - * - * @generated from field: repeated google.protobuf.EnumValue enumvalue = 2; - */ - enumvalue: EnumValue[]; - /** - * Protocol buffer options. - * - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options: Option[]; - /** - * The source context. - * - * @generated from field: google.protobuf.SourceContext source_context = 4; - */ - sourceContext?: SourceContext; - /** - * The source syntax. - * - * @generated from field: google.protobuf.Syntax syntax = 5; - */ - syntax: Syntax; - /** - * The source edition string, only valid when syntax is SYNTAX_EDITIONS. - * - * @generated from field: string edition = 6; - */ - edition: string; -}; -/** - * JSON type for the message google.protobuf.Enum. - */ -export type EnumJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: repeated google.protobuf.EnumValue enumvalue = 2; - */ - enumvalue?: EnumValueJson[]; - /** - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options?: OptionJson[]; - /** - * @generated from field: google.protobuf.SourceContext source_context = 4; - */ - sourceContext?: SourceContextJson; - /** - * @generated from field: google.protobuf.Syntax syntax = 5; - */ - syntax?: SyntaxJson; - /** - * @generated from field: string edition = 6; - */ - edition?: string; -}; -/** - * Describes the message google.protobuf.Enum. - * Use `create(EnumSchema)` to create a new message. - */ -export declare const EnumSchema: GenMessage; -/** - * Enum value definition. - * - * @generated from message google.protobuf.EnumValue - */ -export type EnumValue = Message<"google.protobuf.EnumValue"> & { - /** - * Enum value name. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * Enum value number. - * - * @generated from field: int32 number = 2; - */ - number: number; - /** - * Protocol buffer options. - * - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options: Option[]; -}; -/** - * JSON type for the message google.protobuf.EnumValue. - */ -export type EnumValueJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: int32 number = 2; - */ - number?: number; - /** - * @generated from field: repeated google.protobuf.Option options = 3; - */ - options?: OptionJson[]; -}; -/** - * Describes the message google.protobuf.EnumValue. - * Use `create(EnumValueSchema)` to create a new message. - */ -export declare const EnumValueSchema: GenMessage; -/** - * A protocol buffer option, which can be attached to a message, field, - * enumeration, etc. - * - * @generated from message google.protobuf.Option - */ -export type Option = Message<"google.protobuf.Option"> & { - /** - * The option's name. For protobuf built-in options (options defined in - * descriptor.proto), this is the short name. For example, `"map_entry"`. - * For custom options, it should be the fully-qualified name. For example, - * `"google.api.http"`. - * - * @generated from field: string name = 1; - */ - name: string; - /** - * The option's value packed in an Any message. If the value is a primitive, - * the corresponding wrapper type defined in google/protobuf/wrappers.proto - * should be used. If the value is an enum, it should be stored as an int32 - * value using the google.protobuf.Int32Value type. - * - * @generated from field: google.protobuf.Any value = 2; - */ - value?: Any; -}; -/** - * JSON type for the message google.protobuf.Option. - */ -export type OptionJson = { - /** - * @generated from field: string name = 1; - */ - name?: string; - /** - * @generated from field: google.protobuf.Any value = 2; - */ - value?: AnyJson; -}; -/** - * Describes the message google.protobuf.Option. - * Use `create(OptionSchema)` to create a new message. - */ -export declare const OptionSchema: GenMessage; -/** - * The syntax in which a protocol buffer element is defined. - * - * @generated from enum google.protobuf.Syntax - */ -export declare enum Syntax { - /** - * Syntax `proto2`. - * - * @generated from enum value: SYNTAX_PROTO2 = 0; - */ - PROTO2 = 0, - /** - * Syntax `proto3`. - * - * @generated from enum value: SYNTAX_PROTO3 = 1; - */ - PROTO3 = 1, - /** - * Syntax `editions`. - * - * @generated from enum value: SYNTAX_EDITIONS = 2; - */ - EDITIONS = 2 -} -/** - * JSON type for the enum google.protobuf.Syntax. - */ -export type SyntaxJson = "SYNTAX_PROTO2" | "SYNTAX_PROTO3" | "SYNTAX_EDITIONS"; -/** - * Describes the enum google.protobuf.Syntax. - */ -export declare const SyntaxSchema: GenEnum; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js deleted file mode 100644 index c145462..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +++ /dev/null @@ -1,239 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { fileDesc } from "../../../../codegenv1/file.js"; -import { file_google_protobuf_any } from "./any_pb.js"; -import { file_google_protobuf_source_context } from "./source_context_pb.js"; -import { messageDesc } from "../../../../codegenv1/message.js"; -import { enumDesc } from "../../../../codegenv1/enum.js"; -/** - * Describes the file google/protobuf/type.proto. - */ -export const file_google_protobuf_type = /*@__PURE__*/ fileDesc("Chpnb29nbGUvcHJvdG9idWYvdHlwZS5wcm90bxIPZ29vZ2xlLnByb3RvYnVmIugBCgRUeXBlEgwKBG5hbWUYASABKAkSJgoGZmllbGRzGAIgAygLMhYuZ29vZ2xlLnByb3RvYnVmLkZpZWxkEg4KBm9uZW9mcxgDIAMoCRIoCgdvcHRpb25zGAQgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhI2Cg5zb3VyY2VfY29udGV4dBgFIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5Tb3VyY2VDb250ZXh0EicKBnN5bnRheBgGIAEoDjIXLmdvb2dsZS5wcm90b2J1Zi5TeW50YXgSDwoHZWRpdGlvbhgHIAEoCSLVBQoFRmllbGQSKQoEa2luZBgBIAEoDjIbLmdvb2dsZS5wcm90b2J1Zi5GaWVsZC5LaW5kEjcKC2NhcmRpbmFsaXR5GAIgASgOMiIuZ29vZ2xlLnByb3RvYnVmLkZpZWxkLkNhcmRpbmFsaXR5Eg4KBm51bWJlchgDIAEoBRIMCgRuYW1lGAQgASgJEhAKCHR5cGVfdXJsGAYgASgJEhMKC29uZW9mX2luZGV4GAcgASgFEg4KBnBhY2tlZBgIIAEoCBIoCgdvcHRpb25zGAkgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhIRCglqc29uX25hbWUYCiABKAkSFQoNZGVmYXVsdF92YWx1ZRgLIAEoCSLIAgoES2luZBIQCgxUWVBFX1VOS05PV04QABIPCgtUWVBFX0RPVUJMRRABEg4KClRZUEVfRkxPQVQQAhIOCgpUWVBFX0lOVDY0EAMSDwoLVFlQRV9VSU5UNjQQBBIOCgpUWVBFX0lOVDMyEAUSEAoMVFlQRV9GSVhFRDY0EAYSEAoMVFlQRV9GSVhFRDMyEAcSDQoJVFlQRV9CT09MEAgSDwoLVFlQRV9TVFJJTkcQCRIOCgpUWVBFX0dST1VQEAoSEAoMVFlQRV9NRVNTQUdFEAsSDgoKVFlQRV9CWVRFUxAMEg8KC1RZUEVfVUlOVDMyEA0SDQoJVFlQRV9FTlVNEA4SEQoNVFlQRV9TRklYRUQzMhAPEhEKDVRZUEVfU0ZJWEVENjQQEBIPCgtUWVBFX1NJTlQzMhAREg8KC1RZUEVfU0lOVDY0EBIidAoLQ2FyZGluYWxpdHkSFwoTQ0FSRElOQUxJVFlfVU5LTk9XThAAEhgKFENBUkRJTkFMSVRZX09QVElPTkFMEAESGAoUQ0FSRElOQUxJVFlfUkVRVUlSRUQQAhIYChRDQVJESU5BTElUWV9SRVBFQVRFRBADIt8BCgRFbnVtEgwKBG5hbWUYASABKAkSLQoJZW51bXZhbHVlGAIgAygLMhouZ29vZ2xlLnByb3RvYnVmLkVudW1WYWx1ZRIoCgdvcHRpb25zGAMgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhI2Cg5zb3VyY2VfY29udGV4dBgEIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5Tb3VyY2VDb250ZXh0EicKBnN5bnRheBgFIAEoDjIXLmdvb2dsZS5wcm90b2J1Zi5TeW50YXgSDwoHZWRpdGlvbhgGIAEoCSJTCglFbnVtVmFsdWUSDAoEbmFtZRgBIAEoCRIOCgZudW1iZXIYAiABKAUSKAoHb3B0aW9ucxgDIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb24iOwoGT3B0aW9uEgwKBG5hbWUYASABKAkSIwoFdmFsdWUYAiABKAsyFC5nb29nbGUucHJvdG9idWYuQW55KkMKBlN5bnRheBIRCg1TWU5UQVhfUFJPVE8yEAASEQoNU1lOVEFYX1BST1RPMxABEhMKD1NZTlRBWF9FRElUSU9OUxACQnsKE2NvbS5nb29nbGUucHJvdG9idWZCCVR5cGVQcm90b1ABWi1nb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi90eXBlcGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw", [file_google_protobuf_any, file_google_protobuf_source_context]); -/** - * Describes the message google.protobuf.Type. - * Use `create(TypeSchema)` to create a new message. - */ -export const TypeSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_type, 0); -/** - * Describes the message google.protobuf.Field. - * Use `create(FieldSchema)` to create a new message. - */ -export const FieldSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_type, 1); -/** - * Basic field types. - * - * @generated from enum google.protobuf.Field.Kind - */ -export var Field_Kind; -(function (Field_Kind) { - /** - * Field type unknown. - * - * @generated from enum value: TYPE_UNKNOWN = 0; - */ - Field_Kind[Field_Kind["TYPE_UNKNOWN"] = 0] = "TYPE_UNKNOWN"; - /** - * Field type double. - * - * @generated from enum value: TYPE_DOUBLE = 1; - */ - Field_Kind[Field_Kind["TYPE_DOUBLE"] = 1] = "TYPE_DOUBLE"; - /** - * Field type float. - * - * @generated from enum value: TYPE_FLOAT = 2; - */ - Field_Kind[Field_Kind["TYPE_FLOAT"] = 2] = "TYPE_FLOAT"; - /** - * Field type int64. - * - * @generated from enum value: TYPE_INT64 = 3; - */ - Field_Kind[Field_Kind["TYPE_INT64"] = 3] = "TYPE_INT64"; - /** - * Field type uint64. - * - * @generated from enum value: TYPE_UINT64 = 4; - */ - Field_Kind[Field_Kind["TYPE_UINT64"] = 4] = "TYPE_UINT64"; - /** - * Field type int32. - * - * @generated from enum value: TYPE_INT32 = 5; - */ - Field_Kind[Field_Kind["TYPE_INT32"] = 5] = "TYPE_INT32"; - /** - * Field type fixed64. - * - * @generated from enum value: TYPE_FIXED64 = 6; - */ - Field_Kind[Field_Kind["TYPE_FIXED64"] = 6] = "TYPE_FIXED64"; - /** - * Field type fixed32. - * - * @generated from enum value: TYPE_FIXED32 = 7; - */ - Field_Kind[Field_Kind["TYPE_FIXED32"] = 7] = "TYPE_FIXED32"; - /** - * Field type bool. - * - * @generated from enum value: TYPE_BOOL = 8; - */ - Field_Kind[Field_Kind["TYPE_BOOL"] = 8] = "TYPE_BOOL"; - /** - * Field type string. - * - * @generated from enum value: TYPE_STRING = 9; - */ - Field_Kind[Field_Kind["TYPE_STRING"] = 9] = "TYPE_STRING"; - /** - * Field type group. Proto2 syntax only, and deprecated. - * - * @generated from enum value: TYPE_GROUP = 10; - */ - Field_Kind[Field_Kind["TYPE_GROUP"] = 10] = "TYPE_GROUP"; - /** - * Field type message. - * - * @generated from enum value: TYPE_MESSAGE = 11; - */ - Field_Kind[Field_Kind["TYPE_MESSAGE"] = 11] = "TYPE_MESSAGE"; - /** - * Field type bytes. - * - * @generated from enum value: TYPE_BYTES = 12; - */ - Field_Kind[Field_Kind["TYPE_BYTES"] = 12] = "TYPE_BYTES"; - /** - * Field type uint32. - * - * @generated from enum value: TYPE_UINT32 = 13; - */ - Field_Kind[Field_Kind["TYPE_UINT32"] = 13] = "TYPE_UINT32"; - /** - * Field type enum. - * - * @generated from enum value: TYPE_ENUM = 14; - */ - Field_Kind[Field_Kind["TYPE_ENUM"] = 14] = "TYPE_ENUM"; - /** - * Field type sfixed32. - * - * @generated from enum value: TYPE_SFIXED32 = 15; - */ - Field_Kind[Field_Kind["TYPE_SFIXED32"] = 15] = "TYPE_SFIXED32"; - /** - * Field type sfixed64. - * - * @generated from enum value: TYPE_SFIXED64 = 16; - */ - Field_Kind[Field_Kind["TYPE_SFIXED64"] = 16] = "TYPE_SFIXED64"; - /** - * Field type sint32. - * - * @generated from enum value: TYPE_SINT32 = 17; - */ - Field_Kind[Field_Kind["TYPE_SINT32"] = 17] = "TYPE_SINT32"; - /** - * Field type sint64. - * - * @generated from enum value: TYPE_SINT64 = 18; - */ - Field_Kind[Field_Kind["TYPE_SINT64"] = 18] = "TYPE_SINT64"; -})(Field_Kind || (Field_Kind = {})); -/** - * Describes the enum google.protobuf.Field.Kind. - */ -export const Field_KindSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_type, 1, 0); -/** - * Whether a field is optional, required, or repeated. - * - * @generated from enum google.protobuf.Field.Cardinality - */ -export var Field_Cardinality; -(function (Field_Cardinality) { - /** - * For fields with unknown cardinality. - * - * @generated from enum value: CARDINALITY_UNKNOWN = 0; - */ - Field_Cardinality[Field_Cardinality["UNKNOWN"] = 0] = "UNKNOWN"; - /** - * For optional fields. - * - * @generated from enum value: CARDINALITY_OPTIONAL = 1; - */ - Field_Cardinality[Field_Cardinality["OPTIONAL"] = 1] = "OPTIONAL"; - /** - * For required fields. Proto2 syntax only. - * - * @generated from enum value: CARDINALITY_REQUIRED = 2; - */ - Field_Cardinality[Field_Cardinality["REQUIRED"] = 2] = "REQUIRED"; - /** - * For repeated fields. - * - * @generated from enum value: CARDINALITY_REPEATED = 3; - */ - Field_Cardinality[Field_Cardinality["REPEATED"] = 3] = "REPEATED"; -})(Field_Cardinality || (Field_Cardinality = {})); -/** - * Describes the enum google.protobuf.Field.Cardinality. - */ -export const Field_CardinalitySchema = /*@__PURE__*/ enumDesc(file_google_protobuf_type, 1, 1); -/** - * Describes the message google.protobuf.Enum. - * Use `create(EnumSchema)` to create a new message. - */ -export const EnumSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_type, 2); -/** - * Describes the message google.protobuf.EnumValue. - * Use `create(EnumValueSchema)` to create a new message. - */ -export const EnumValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_type, 3); -/** - * Describes the message google.protobuf.Option. - * Use `create(OptionSchema)` to create a new message. - */ -export const OptionSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_type, 4); -/** - * The syntax in which a protocol buffer element is defined. - * - * @generated from enum google.protobuf.Syntax - */ -export var Syntax; -(function (Syntax) { - /** - * Syntax `proto2`. - * - * @generated from enum value: SYNTAX_PROTO2 = 0; - */ - Syntax[Syntax["PROTO2"] = 0] = "PROTO2"; - /** - * Syntax `proto3`. - * - * @generated from enum value: SYNTAX_PROTO3 = 1; - */ - Syntax[Syntax["PROTO3"] = 1] = "PROTO3"; - /** - * Syntax `editions`. - * - * @generated from enum value: SYNTAX_EDITIONS = 2; - */ - Syntax[Syntax["EDITIONS"] = 2] = "EDITIONS"; -})(Syntax || (Syntax = {})); -/** - * Describes the enum google.protobuf.Syntax. - */ -export const SyntaxSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_type, 0); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.d.ts deleted file mode 100644 index 40333a2..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.d.ts +++ /dev/null @@ -1,222 +0,0 @@ -import type { GenFile, GenMessage } from "../../../../codegenv1/types.js"; -import type { Message } from "../../../../types.js"; -/** - * Describes the file google/protobuf/wrappers.proto. - */ -export declare const file_google_protobuf_wrappers: GenFile; -/** - * Wrapper message for `double`. - * - * The JSON representation for `DoubleValue` is JSON number. - * - * @generated from message google.protobuf.DoubleValue - */ -export type DoubleValue = Message<"google.protobuf.DoubleValue"> & { - /** - * The double value. - * - * @generated from field: double value = 1; - */ - value: number; -}; -/** - * JSON type for the message google.protobuf.DoubleValue. - */ -export type DoubleValueJson = number | "NaN" | "Infinity" | "-Infinity"; -/** - * Describes the message google.protobuf.DoubleValue. - * Use `create(DoubleValueSchema)` to create a new message. - */ -export declare const DoubleValueSchema: GenMessage; -/** - * Wrapper message for `float`. - * - * The JSON representation for `FloatValue` is JSON number. - * - * @generated from message google.protobuf.FloatValue - */ -export type FloatValue = Message<"google.protobuf.FloatValue"> & { - /** - * The float value. - * - * @generated from field: float value = 1; - */ - value: number; -}; -/** - * JSON type for the message google.protobuf.FloatValue. - */ -export type FloatValueJson = number | "NaN" | "Infinity" | "-Infinity"; -/** - * Describes the message google.protobuf.FloatValue. - * Use `create(FloatValueSchema)` to create a new message. - */ -export declare const FloatValueSchema: GenMessage; -/** - * Wrapper message for `int64`. - * - * The JSON representation for `Int64Value` is JSON string. - * - * @generated from message google.protobuf.Int64Value - */ -export type Int64Value = Message<"google.protobuf.Int64Value"> & { - /** - * The int64 value. - * - * @generated from field: int64 value = 1; - */ - value: bigint; -}; -/** - * JSON type for the message google.protobuf.Int64Value. - */ -export type Int64ValueJson = string; -/** - * Describes the message google.protobuf.Int64Value. - * Use `create(Int64ValueSchema)` to create a new message. - */ -export declare const Int64ValueSchema: GenMessage; -/** - * Wrapper message for `uint64`. - * - * The JSON representation for `UInt64Value` is JSON string. - * - * @generated from message google.protobuf.UInt64Value - */ -export type UInt64Value = Message<"google.protobuf.UInt64Value"> & { - /** - * The uint64 value. - * - * @generated from field: uint64 value = 1; - */ - value: bigint; -}; -/** - * JSON type for the message google.protobuf.UInt64Value. - */ -export type UInt64ValueJson = string; -/** - * Describes the message google.protobuf.UInt64Value. - * Use `create(UInt64ValueSchema)` to create a new message. - */ -export declare const UInt64ValueSchema: GenMessage; -/** - * Wrapper message for `int32`. - * - * The JSON representation for `Int32Value` is JSON number. - * - * @generated from message google.protobuf.Int32Value - */ -export type Int32Value = Message<"google.protobuf.Int32Value"> & { - /** - * The int32 value. - * - * @generated from field: int32 value = 1; - */ - value: number; -}; -/** - * JSON type for the message google.protobuf.Int32Value. - */ -export type Int32ValueJson = number; -/** - * Describes the message google.protobuf.Int32Value. - * Use `create(Int32ValueSchema)` to create a new message. - */ -export declare const Int32ValueSchema: GenMessage; -/** - * Wrapper message for `uint32`. - * - * The JSON representation for `UInt32Value` is JSON number. - * - * @generated from message google.protobuf.UInt32Value - */ -export type UInt32Value = Message<"google.protobuf.UInt32Value"> & { - /** - * The uint32 value. - * - * @generated from field: uint32 value = 1; - */ - value: number; -}; -/** - * JSON type for the message google.protobuf.UInt32Value. - */ -export type UInt32ValueJson = number; -/** - * Describes the message google.protobuf.UInt32Value. - * Use `create(UInt32ValueSchema)` to create a new message. - */ -export declare const UInt32ValueSchema: GenMessage; -/** - * Wrapper message for `bool`. - * - * The JSON representation for `BoolValue` is JSON `true` and `false`. - * - * @generated from message google.protobuf.BoolValue - */ -export type BoolValue = Message<"google.protobuf.BoolValue"> & { - /** - * The bool value. - * - * @generated from field: bool value = 1; - */ - value: boolean; -}; -/** - * JSON type for the message google.protobuf.BoolValue. - */ -export type BoolValueJson = boolean; -/** - * Describes the message google.protobuf.BoolValue. - * Use `create(BoolValueSchema)` to create a new message. - */ -export declare const BoolValueSchema: GenMessage; -/** - * Wrapper message for `string`. - * - * The JSON representation for `StringValue` is JSON string. - * - * @generated from message google.protobuf.StringValue - */ -export type StringValue = Message<"google.protobuf.StringValue"> & { - /** - * The string value. - * - * @generated from field: string value = 1; - */ - value: string; -}; -/** - * JSON type for the message google.protobuf.StringValue. - */ -export type StringValueJson = string; -/** - * Describes the message google.protobuf.StringValue. - * Use `create(StringValueSchema)` to create a new message. - */ -export declare const StringValueSchema: GenMessage; -/** - * Wrapper message for `bytes`. - * - * The JSON representation for `BytesValue` is JSON string. - * - * @generated from message google.protobuf.BytesValue - */ -export type BytesValue = Message<"google.protobuf.BytesValue"> & { - /** - * The bytes value. - * - * @generated from field: bytes value = 1; - */ - value: Uint8Array; -}; -/** - * JSON type for the message google.protobuf.BytesValue. - */ -export type BytesValueJson = string; -/** - * Describes the message google.protobuf.BytesValue. - * Use `create(BytesValueSchema)` to create a new message. - */ -export declare const BytesValueSchema: GenMessage; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js deleted file mode 100644 index 939af97..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { fileDesc } from "../../../../codegenv1/file.js"; -import { messageDesc } from "../../../../codegenv1/message.js"; -/** - * Describes the file google/protobuf/wrappers.proto. - */ -export const file_google_protobuf_wrappers = /*@__PURE__*/ fileDesc("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"); -/** - * Describes the message google.protobuf.DoubleValue. - * Use `create(DoubleValueSchema)` to create a new message. - */ -export const DoubleValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_wrappers, 0); -/** - * Describes the message google.protobuf.FloatValue. - * Use `create(FloatValueSchema)` to create a new message. - */ -export const FloatValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_wrappers, 1); -/** - * Describes the message google.protobuf.Int64Value. - * Use `create(Int64ValueSchema)` to create a new message. - */ -export const Int64ValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_wrappers, 2); -/** - * Describes the message google.protobuf.UInt64Value. - * Use `create(UInt64ValueSchema)` to create a new message. - */ -export const UInt64ValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_wrappers, 3); -/** - * Describes the message google.protobuf.Int32Value. - * Use `create(Int32ValueSchema)` to create a new message. - */ -export const Int32ValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_wrappers, 4); -/** - * Describes the message google.protobuf.UInt32Value. - * Use `create(UInt32ValueSchema)` to create a new message. - */ -export const UInt32ValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_wrappers, 5); -/** - * Describes the message google.protobuf.BoolValue. - * Use `create(BoolValueSchema)` to create a new message. - */ -export const BoolValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_wrappers, 6); -/** - * Describes the message google.protobuf.StringValue. - * Use `create(StringValueSchema)` to create a new message. - */ -export const StringValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_wrappers, 7); -/** - * Describes the message google.protobuf.BytesValue. - * Use `create(BytesValueSchema)` to create a new message. - */ -export const BytesValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_wrappers, 8); diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.d.ts deleted file mode 100644 index 4356a8b..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export * from "./timestamp.js"; -export * from "./any.js"; -export * from "./wrappers.js"; -export * from "./gen/google/protobuf/api_pb.js"; -export * from "./gen/google/protobuf/any_pb.js"; -export * from "./gen/google/protobuf/descriptor_pb.js"; -export * from "./gen/google/protobuf/duration_pb.js"; -export * from "./gen/google/protobuf/empty_pb.js"; -export * from "./gen/google/protobuf/field_mask_pb.js"; -export * from "./gen/google/protobuf/source_context_pb.js"; -export * from "./gen/google/protobuf/struct_pb.js"; -export * from "./gen/google/protobuf/timestamp_pb.js"; -export * from "./gen/google/protobuf/type_pb.js"; -export * from "./gen/google/protobuf/wrappers_pb.js"; -export * from "./gen/google/protobuf/compiler/plugin_pb.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js deleted file mode 100644 index 8825e66..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -export * from "./timestamp.js"; -export * from "./any.js"; -export * from "./wrappers.js"; -export * from "./gen/google/protobuf/api_pb.js"; -export * from "./gen/google/protobuf/any_pb.js"; -export * from "./gen/google/protobuf/descriptor_pb.js"; -export * from "./gen/google/protobuf/duration_pb.js"; -export * from "./gen/google/protobuf/empty_pb.js"; -export * from "./gen/google/protobuf/field_mask_pb.js"; -export * from "./gen/google/protobuf/source_context_pb.js"; -export * from "./gen/google/protobuf/struct_pb.js"; -export * from "./gen/google/protobuf/timestamp_pb.js"; -export * from "./gen/google/protobuf/type_pb.js"; -export * from "./gen/google/protobuf/wrappers_pb.js"; -export * from "./gen/google/protobuf/compiler/plugin_pb.js"; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.d.ts deleted file mode 100644 index 6ae7c19..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import type { Timestamp } from "./gen/google/protobuf/timestamp_pb.js"; -/** - * Create a google.protobuf.Timestamp for the current time. - */ -export declare function timestampNow(): Timestamp; -/** - * Create a google.protobuf.Timestamp message from an ECMAScript Date. - */ -export declare function timestampFromDate(date: Date): Timestamp; -/** - * Convert a google.protobuf.Timestamp message to an ECMAScript Date. - */ -export declare function timestampDate(timestamp: Timestamp): Date; -/** - * Create a google.protobuf.Timestamp message from a Unix timestamp in milliseconds. - */ -export declare function timestampFromMs(timestampMs: number): Timestamp; -/** - * Convert a google.protobuf.Timestamp to a Unix timestamp in milliseconds. - */ -export declare function timestampMs(timestamp: Timestamp): number; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js deleted file mode 100644 index 75d4001..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import { TimestampSchema } from "./gen/google/protobuf/timestamp_pb.js"; -import { create } from "../create.js"; -import { protoInt64 } from "../proto-int64.js"; -/** - * Create a google.protobuf.Timestamp for the current time. - */ -export function timestampNow() { - return timestampFromDate(new Date()); -} -/** - * Create a google.protobuf.Timestamp message from an ECMAScript Date. - */ -export function timestampFromDate(date) { - return timestampFromMs(date.getTime()); -} -/** - * Convert a google.protobuf.Timestamp message to an ECMAScript Date. - */ -export function timestampDate(timestamp) { - return new Date(timestampMs(timestamp)); -} -/** - * Create a google.protobuf.Timestamp message from a Unix timestamp in milliseconds. - */ -export function timestampFromMs(timestampMs) { - return create(TimestampSchema, { - seconds: protoInt64.parse(Math.floor(timestampMs / 1000)), - nanos: (timestampMs % 1000) * 1000000, - }); -} -/** - * Convert a google.protobuf.Timestamp to a Unix timestamp in milliseconds. - */ -export function timestampMs(timestamp) { - return (Number(timestamp.seconds) * 1000 + Math.ceil(timestamp.nanos / 1000000)); -} diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.d.ts b/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.d.ts deleted file mode 100644 index f836b8e..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import type { Message } from "../types.js"; -import type { BoolValue, BytesValue, DoubleValue, FloatValue, Int32Value, Int64Value, StringValue, UInt32Value, UInt64Value } from "./gen/google/protobuf/wrappers_pb.js"; -import type { DescField, DescMessage } from "../descriptors.js"; -export declare function isWrapper(arg: Message): arg is DoubleValue | FloatValue | Int64Value | UInt64Value | Int32Value | UInt32Value | BoolValue | StringValue | BytesValue; -export type WktWrapperDesc = DescMessage & { - fields: [ - DescField & { - fieldKind: "scalar"; - number: 1; - name: "value"; - oneof: undefined; - } - ]; -}; -export declare function isWrapperDesc(messageDesc: DescMessage): messageDesc is WktWrapperDesc; diff --git a/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js b/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js deleted file mode 100644 index b2ddced..0000000 --- a/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -export function isWrapper(arg) { - return isWrapperTypeName(arg.$typeName); -} -export function isWrapperDesc(messageDesc) { - const f = messageDesc.fields[0]; - return (isWrapperTypeName(messageDesc.typeName) && - f !== undefined && - f.fieldKind == "scalar" && - f.name == "value" && - f.number == 1); -} -function isWrapperTypeName(name) { - return (name.startsWith("google.protobuf.") && - [ - "DoubleValue", - "FloatValue", - "Int64Value", - "UInt64Value", - "Int32Value", - "UInt32Value", - "BoolValue", - "StringValue", - "BytesValue", - ].includes(name.substring(16))); -} diff --git a/node_modules/@bufbuild/protobuf/package.json b/node_modules/@bufbuild/protobuf/package.json deleted file mode 100644 index d1645b4..0000000 --- a/node_modules/@bufbuild/protobuf/package.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "name": "@bufbuild/protobuf", - "version": "2.0.0", - "license": "(Apache-2.0 AND BSD-3-Clause)", - "description": "A complete implementation of Protocol Buffers in TypeScript, suitable for web browsers and Node.js.", - "keywords": [ - "protobuf", - "schema", - "typescript", - "ecmascript" - ], - "repository": { - "type": "git", - "url": "https://github.com/bufbuild/protobuf-es.git", - "directory": "packages/protobuf" - }, - "scripts": { - "prebuild": "rm -rf ./dist/*", - "build": "npm run build:cjs && npm run build:esm", - "build:cjs": "../../node_modules/typescript/bin/tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'", - "build:esm": "../../node_modules/typescript/bin/tsc --project tsconfig.json --outDir ./dist/esm", - "bootstrap:inject": "node scripts/bootstrap-inject.mjs src", - "bootstrap:wkt": "protoc --es_out=src/wkt/gen --es_opt=bootstrap_wkt=true,target=ts,import_extension=js,json_types=true --proto_path $(upstream-include wkt) $(upstream-files wkt) && license-header src/wkt/gen", - "format": "prettier --write --ignore-unknown '.' '!dist' '!src/wkt/gen'", - "license-header": "license-header --ignore 'src/wire/varint.ts'", - "lint": "eslint --max-warnings 0 .", - "attw": "attw --pack" - }, - "type": "module", - "sideEffects": false, - "main": "./dist/cjs/index.js", - "exports": { - ".": { - "import": "./dist/esm/index.js", - "require": "./dist/cjs/index.js" - }, - "./codegenv1": { - "import": "./dist/esm/codegenv1/index.js", - "require": "./dist/cjs/codegenv1/index.js" - }, - "./reflect": { - "import": "./dist/esm/reflect/index.js", - "require": "./dist/cjs/reflect/index.js" - }, - "./wkt": { - "import": "./dist/esm/wkt/index.js", - "require": "./dist/cjs/wkt/index.js" - }, - "./wire": { - "import": "./dist/esm/wire/index.js", - "require": "./dist/cjs/wire/index.js" - } - }, - "typesVersions": { - "*": { - "codegenv1": [ - "./dist/cjs/codegenv1/index.d.ts" - ], - "reflect": [ - "./dist/cjs/reflect/index.d.ts" - ], - "wkt": [ - "./dist/cjs/wkt/index.d.ts" - ], - "wire": [ - "./dist/cjs/wire/index.d.ts" - ] - } - }, - "devDependencies": { - "upstream-protobuf": "*" - }, - "files": [ - "dist/**" - ] -} diff --git a/package-lock.json b/package-lock.json index 596cf75..24da7fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,27 +1,11122 @@ { - "name": "@anduril/anduril-javascript", - "version": "1.0.13", + "name": "@anduril/lattice-sdk", + "version": "0.0.0-development", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "@anduril/anduril-javascript", - "version": "1.0.13", + "name": "@anduril/lattice-sdk", + "version": "0.0.0-development", + "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "@bufbuild/protobuf": "^1.10.0" + }, + "devDependencies": { + "semantic-release": "^24.2.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" } }, "node_modules/@bufbuild/protobuf": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz", "integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==" - } - }, - "dependencies": { - "@bufbuild/protobuf": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz", - "integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==" + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@octokit/auth-token": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.1.tgz", + "integrity": "sha512-rh3G3wDO8J9wSjfI436JUKzHIxq8NaiL0tVeB2aXmG6p/9859aUOAjA9pmSPNGGZxfwmaJ9ozOJImuNVJdpvbA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/core": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.2.tgz", + "integrity": "sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/auth-token": "^5.0.0", + "@octokit/graphql": "^8.0.0", + "@octokit/request": "^9.0.0", + "@octokit/request-error": "^6.0.1", + "@octokit/types": "^13.0.0", + "before-after-hook": "^3.0.2", + "universal-user-agent": "^7.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/endpoint": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.1.tgz", + "integrity": "sha512-JYjh5rMOwXMJyUpj028cu0Gbp7qe/ihxfJMLc8VZBMMqSwLgOxDI1911gV4Enl1QSavAQNJcwmwBF9M0VvLh6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^13.0.0", + "universal-user-agent": "^7.0.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/graphql": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.1.1.tgz", + "integrity": "sha512-ukiRmuHTi6ebQx/HFRCXKbDlOh/7xEV6QUXaE7MJEKGNAncGI/STSbOkl12qVXZrfZdpXctx5O9X1AIaebiDBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/request": "^9.0.0", + "@octokit/types": "^13.0.0", + "universal-user-agent": "^7.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/openapi-types": { + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", + "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@octokit/plugin-paginate-rest": { + "version": "11.3.5", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.3.5.tgz", + "integrity": "sha512-cgwIRtKrpwhLoBi0CUNuY83DPGRMaWVjqVI/bGKsLJ4PzyWZNaEmhHroI2xlrVXkk6nFv0IsZpOp+ZWSWUS2AQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^13.6.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": ">=6" + } + }, + "node_modules/@octokit/plugin-retry": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-7.1.2.tgz", + "integrity": "sha512-XOWnPpH2kJ5VTwozsxGurw+svB2e61aWlmk5EVIYZPwFK5F9h4cyPyj9CIKRyMXMHSwpIsI3mPOdpMmrRhe7UQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/request-error": "^6.0.0", + "@octokit/types": "^13.0.0", + "bottleneck": "^2.15.3" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": ">=6" + } + }, + "node_modules/@octokit/plugin-throttling": { + "version": "9.3.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-9.3.2.tgz", + "integrity": "sha512-FqpvcTpIWFpMMwIeSoypoJXysSAQ3R+ALJhXXSG1HTP3YZOIeLmcNcimKaXxTcws+Sh6yoRl13SJ5r8sXc1Fhw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^13.0.0", + "bottleneck": "^2.15.3" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": "^6.0.0" + } + }, + "node_modules/@octokit/request": { + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.3.tgz", + "integrity": "sha512-V+TFhu5fdF3K58rs1pGUJIDH5RZLbZm5BI+MNF+6o/ssFNT4vWlCh/tVpF3NxGtP15HUxTTMUbsG5llAuU2CZA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/endpoint": "^10.0.0", + "@octokit/request-error": "^6.0.1", + "@octokit/types": "^13.1.0", + "universal-user-agent": "^7.0.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/request-error": { + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.5.tgz", + "integrity": "sha512-IlBTfGX8Yn/oFPMwSfvugfncK2EwRLjzbrpifNaMY8o/HTEAFqCA1FZxjD9cWvSKBHgrIhc4CSBIzMxiLsbzFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^13.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/types": { + "version": "13.6.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.6.1.tgz", + "integrity": "sha512-PHZE9Z+kWXb23Ndik8MKPirBPziOc0D2/3KH1P+6jK5nGWe96kadZuE4jev2/Jq7FvIfTlT2Ltg8Fv2x1v0a5g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/openapi-types": "^22.2.0" + } + }, + "node_modules/@pnpm/config.env-replace": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz", + "integrity": "sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.22.0" + } + }, + "node_modules/@pnpm/network.ca-file": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@pnpm/network.ca-file/-/network.ca-file-1.0.2.tgz", + "integrity": "sha512-YcPQ8a0jwYU9bTdJDpXjMi7Brhkr1mXsXrUJvjqM2mQDgkRiz8jFaQGOdaLxgjtUfQgZhKy/O3cG/YwmgKaxLA==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "4.2.10" + }, + "engines": { + "node": ">=12.22.0" + } + }, + "node_modules/@pnpm/network.ca-file/node_modules/graceful-fs": { + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", + "dev": true, + "license": "ISC" + }, + "node_modules/@pnpm/npm-conf": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-2.3.1.tgz", + "integrity": "sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@pnpm/config.env-replace": "^1.1.0", + "@pnpm/network.ca-file": "^1.0.1", + "config-chain": "^1.1.11" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@sec-ant/readable-stream": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", + "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@semantic-release/commit-analyzer": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-13.0.0.tgz", + "integrity": "sha512-KtXWczvTAB1ZFZ6B4O+w8HkfYm/OgQb1dUGNFZtDgQ0csggrmkq8sTxhd+lwGF8kMb59/RnG9o4Tn7M/I8dQ9Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "conventional-changelog-angular": "^8.0.0", + "conventional-changelog-writer": "^8.0.0", + "conventional-commits-filter": "^5.0.0", + "conventional-commits-parser": "^6.0.0", + "debug": "^4.0.0", + "import-from-esm": "^1.0.3", + "lodash-es": "^4.17.21", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">=20.8.1" + }, + "peerDependencies": { + "semantic-release": ">=20.1.0" + } + }, + "node_modules/@semantic-release/error": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-4.0.0.tgz", + "integrity": "sha512-mgdxrHTLOjOddRVYIYDo0fR3/v61GNN1YGkfbrjuIKg/uMgCd+Qzo3UAXJ+woLQQpos4pl5Esuw5A7AoNlzjUQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@semantic-release/github": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-11.0.1.tgz", + "integrity": "sha512-Z9cr0LgU/zgucbT9cksH0/pX9zmVda9hkDPcgIE0uvjMQ8w/mElDivGjx1w1pEQ+MuQJ5CBq3VCF16S6G4VH3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/core": "^6.0.0", + "@octokit/plugin-paginate-rest": "^11.0.0", + "@octokit/plugin-retry": "^7.0.0", + "@octokit/plugin-throttling": "^9.0.0", + "@semantic-release/error": "^4.0.0", + "aggregate-error": "^5.0.0", + "debug": "^4.3.4", + "dir-glob": "^3.0.1", + "globby": "^14.0.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.0", + "issue-parser": "^7.0.0", + "lodash-es": "^4.17.21", + "mime": "^4.0.0", + "p-filter": "^4.0.0", + "url-join": "^5.0.0" + }, + "engines": { + "node": ">=20.8.1" + }, + "peerDependencies": { + "semantic-release": ">=24.1.0" + } + }, + "node_modules/@semantic-release/npm": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-12.0.1.tgz", + "integrity": "sha512-/6nntGSUGK2aTOI0rHPwY3ZjgY9FkXmEHbW9Kr+62NVOsyqpKKeP0lrCH+tphv+EsNdJNmqqwijTEnVWUMQ2Nw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@semantic-release/error": "^4.0.0", + "aggregate-error": "^5.0.0", + "execa": "^9.0.0", + "fs-extra": "^11.0.0", + "lodash-es": "^4.17.21", + "nerf-dart": "^1.0.0", + "normalize-url": "^8.0.0", + "npm": "^10.5.0", + "rc": "^1.2.8", + "read-pkg": "^9.0.0", + "registry-auth-token": "^5.0.0", + "semver": "^7.1.2", + "tempy": "^3.0.0" + }, + "engines": { + "node": ">=20.8.1" + }, + "peerDependencies": { + "semantic-release": ">=20.1.0" + } + }, + "node_modules/@semantic-release/release-notes-generator": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.1.tgz", + "integrity": "sha512-K0w+5220TM4HZTthE5dDpIuFrnkN1NfTGPidJFm04ULT1DEZ9WG89VNXN7F0c+6nMEpWgqmPvb7vY7JkB2jyyA==", + "dev": true, + "license": "MIT", + "dependencies": { + "conventional-changelog-angular": "^8.0.0", + "conventional-changelog-writer": "^8.0.0", + "conventional-commits-filter": "^5.0.0", + "conventional-commits-parser": "^6.0.0", + "debug": "^4.0.0", + "get-stream": "^7.0.0", + "import-from-esm": "^1.0.3", + "into-stream": "^7.0.0", + "lodash-es": "^4.17.21", + "read-package-up": "^11.0.0" + }, + "engines": { + "node": ">=20.8.1" + }, + "peerDependencies": { + "semantic-release": ">=20.1.0" + } + }, + "node_modules/@semantic-release/release-notes-generator/node_modules/get-stream": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-7.0.1.tgz", + "integrity": "sha512-3M8C1EOFN6r8AMUhwUAACIoXZJEOufDU5+0gFFN5uNs6XYOralD2Pqkl7m046va6x77FwposWXbAhPPIOus7mQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@sindresorhus/is": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", + "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "node_modules/@sindresorhus/merge-streams": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", + "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", + "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/semver": { + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", + "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/agent-base": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", + "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/aggregate-error": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-5.0.0.tgz", + "integrity": "sha512-gOsf2YwSlleG6IjRYG2A7k0HmBMEo6qVNk9Bp/EaLgAJT5ngH6PXbqa4ItvnEwCm/velL5jAnQgsHsWnjhGmvw==", + "dev": true, + "license": "MIT", + "dependencies": { + "clean-stack": "^5.2.0", + "indent-string": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-escapes": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.0.0.tgz", + "integrity": "sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "environment": "^1.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true, + "license": "MIT" + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/argv-formatter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/argv-formatter/-/argv-formatter-1.0.0.tgz", + "integrity": "sha512-F2+Hkm9xFaRg+GkaNnbwXNDV5O6pnCFEmqyhvfC/Ic5LbgOWjJh3L+mN/s91rxVL3znE7DYVpW0GJFT+4YBgWw==", + "dev": true, + "license": "MIT" + }, + "node_modules/array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", + "dev": true, + "license": "MIT" + }, + "node_modules/before-after-hook": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz", + "integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/bottleneck": { + "version": "2.19.5", + "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", + "integrity": "sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==", + "dev": true, + "license": "MIT" + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/clean-stack": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.2.0.tgz", + "integrity": "sha512-TyUIUJgdFnCISzG5zu3291TAsE77ddchd0bepon1VVQrKLGKFED4iXFEDQ24mIPdPBbyE16PK3F8MYE1CmcBEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "5.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-highlight": { + "version": "2.1.11", + "resolved": "https://registry.npmjs.org/cli-highlight/-/cli-highlight-2.1.11.tgz", + "integrity": "sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==", + "dev": true, + "license": "ISC", + "dependencies": { + "chalk": "^4.0.0", + "highlight.js": "^10.7.1", + "mz": "^2.4.0", + "parse5": "^5.1.1", + "parse5-htmlparser2-tree-adapter": "^6.0.0", + "yargs": "^16.0.0" + }, + "bin": { + "highlight": "bin/highlight" + }, + "engines": { + "node": ">=8.0.0", + "npm": ">=5.0.0" + } + }, + "node_modules/cli-highlight/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/cli-highlight/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/cli-highlight/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cli-highlight/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/cli-table3": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz", + "integrity": "sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "string-width": "^4.2.0" + }, + "engines": { + "node": "10.* || >= 12.*" + }, + "optionalDependencies": { + "@colors/colors": "1.5.0" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/compare-func": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", + "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-ify": "^1.0.0", + "dot-prop": "^5.1.0" + } + }, + "node_modules/config-chain": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", + "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ini": "^1.3.4", + "proto-list": "~1.2.1" + } + }, + "node_modules/conventional-changelog-angular": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-8.0.0.tgz", + "integrity": "sha512-CLf+zr6St0wIxos4bmaKHRXWAcsCXrJU6F4VdNDrGRK3B8LDLKoX3zuMV5GhtbGkVR/LohZ6MT6im43vZLSjmA==", + "dev": true, + "license": "ISC", + "dependencies": { + "compare-func": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/conventional-changelog-writer": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-8.0.0.tgz", + "integrity": "sha512-TQcoYGRatlAnT2qEWDON/XSfnVG38JzA7E0wcGScu7RElQBkg9WWgZd1peCWFcWDh1xfb2CfsrcvOn1bbSzztA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/semver": "^7.5.5", + "conventional-commits-filter": "^5.0.0", + "handlebars": "^4.7.7", + "meow": "^13.0.0", + "semver": "^7.5.2" + }, + "bin": { + "conventional-changelog-writer": "dist/cli/index.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/conventional-commits-filter": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-5.0.0.tgz", + "integrity": "sha512-tQMagCOC59EVgNZcC5zl7XqO30Wki9i9J3acbUvkaosCT6JX3EeFwJD7Qqp4MCikRnzS18WXV3BLIQ66ytu6+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/conventional-commits-parser": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.0.0.tgz", + "integrity": "sha512-TbsINLp48XeMXR8EvGjTnKGsZqBemisPoyWESlpRyR8lif0lcwzqz+NMtYSj1ooF/WYjSuu7wX0CtdeeMEQAmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "meow": "^13.0.0" + }, + "bin": { + "conventional-commits-parser": "dist/cli/index.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/convert-hrtime": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/convert-hrtime/-/convert-hrtime-5.0.0.tgz", + "integrity": "sha512-lOETlkIeYSJWcbbcvjRKGxVMXJR+8+OQb/mTPbA4ObPMytYIsUbuOE0Jzy60hjARYszq1id0j8KgVhC+WGZVTg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/cosmiconfig": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", + "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", + "dev": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/crypto-random-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-4.0.0.tgz", + "integrity": "sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/crypto-random-string/node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-obj": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "readable-stream": "^2.0.2" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/emojilib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/emojilib/-/emojilib-2.4.0.tgz", + "integrity": "sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==", + "dev": true, + "license": "MIT" + }, + "node_modules/env-ci": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-11.1.0.tgz", + "integrity": "sha512-Z8dnwSDbV1XYM9SBF2J0GcNVvmfmfh3a49qddGIROhBoVro6MZVTji15z/sJbQ2ko2ei8n988EU1wzoLU/tF+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "execa": "^8.0.0", + "java-properties": "^1.0.2" + }, + "engines": { + "node": "^18.17 || >=20.6.1" + } + }, + "node_modules/env-ci/node_modules/execa": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", + "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^3.0.0" + }, + "engines": { + "node": ">=16.17" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/env-ci/node_modules/get-stream": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", + "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/env-ci/node_modules/human-signals": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", + "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=16.17.0" + } + }, + "node_modules/env-ci/node_modules/is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/env-ci/node_modules/npm-run-path": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", + "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/env-ci/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/env-ci/node_modules/strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/environment": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", + "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/execa": { + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-9.5.1.tgz", + "integrity": "sha512-QY5PPtSonnGwhhHDNI7+3RvY285c7iuJFFB+lU+oEzMY/gEGJ808owqJsrr8Otd1E/x07po1LkUBmdAc5duPAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^4.0.0", + "cross-spawn": "^7.0.3", + "figures": "^6.1.0", + "get-stream": "^9.0.0", + "human-signals": "^8.0.0", + "is-plain-obj": "^4.1.0", + "is-stream": "^4.0.1", + "npm-run-path": "^6.0.0", + "pretty-ms": "^9.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^4.0.0", + "yoctocolors": "^2.0.0" + }, + "engines": { + "node": "^18.19.0 || >=20.5.0" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/execa/node_modules/get-stream": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", + "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sec-ant/readable-stream": "^0.4.1", + "is-stream": "^4.0.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/figures": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz", + "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-unicode-supported": "^2.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/find-up-simple": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.0.tgz", + "integrity": "sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/find-versions": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-6.0.0.tgz", + "integrity": "sha512-2kCCtc+JvcZ86IGAz3Z2Y0A1baIz9fL31pH/0S1IqZr9Iwnjq8izfPtrCyQKO6TLMPELLsQMre7VDqeIKCsHkA==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver-regex": "^4.0.5", + "super-regex": "^1.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/from2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", + "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + } + }, + "node_modules/fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/function-timeout": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/function-timeout/-/function-timeout-1.0.2.tgz", + "integrity": "sha512-939eZS4gJ3htTHAldmyyuzlrD58P03fHG49v2JfFXbV6OhvZKRC9j2yAtdHw/zrp2zXHuv05zMIy40F0ge7spA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-log-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/git-log-parser/-/git-log-parser-1.2.1.tgz", + "integrity": "sha512-PI+sPDvHXNPl5WNOErAK05s3j0lgwUzMN6o8cyQrDaKfT3qd7TmNJKeXX+SknI5I0QhG5fVPAEwSY4tRGDtYoQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "argv-formatter": "~1.0.0", + "spawn-error-forwarder": "~1.0.0", + "split2": "~1.0.0", + "stream-combiner2": "~1.1.1", + "through2": "~2.0.0", + "traverse": "0.6.8" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/globby": { + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", + "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.2", + "ignore": "^5.2.4", + "path-type": "^5.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/@sindresorhus/merge-streams": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", + "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/path-type": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", + "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/handlebars": { + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", + "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.2", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/highlight.js": { + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz", + "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, + "node_modules/hook-std": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hook-std/-/hook-std-3.0.0.tgz", + "integrity": "sha512-jHRQzjSDzMtFy34AGj1DN+vq54WVuhSvKgrHf0OMiFQTwDD4L/qqofVEWjLOBMTn5+lCD3fPg32W9yOfnEJTTw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/hosted-git-info": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-8.0.1.tgz", + "integrity": "sha512-/rLVQvNpQDQ2wG90ooueQe3hsRuoNBT3kh/vwcjgPjWCEODZbm44YwrShVr4Pnb9tNCIJlI6Q+OKxXLngV591g==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.0.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/human-signals": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.0.tgz", + "integrity": "sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-fresh/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/import-from-esm": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-1.3.4.tgz", + "integrity": "sha512-7EyUlPFC0HOlBDpUFGfYstsU7XHxZJKAAMzCT8wZ0hMW7b+hG51LIKTDcsgtz8Pu6YC0HqRVbX+rVUtsGMUKvg==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.3.4", + "import-meta-resolve": "^4.0.0" + }, + "engines": { + "node": ">=16.20" + } + }, + "node_modules/import-meta-resolve": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", + "integrity": "sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/index-to-position": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-0.1.2.tgz", + "integrity": "sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true, + "license": "ISC" + }, + "node_modules/into-stream": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-7.0.0.tgz", + "integrity": "sha512-2dYz766i9HprMBasCMvHMuazJ7u4WzhJwo5kb3iPSiW/iRYV6uPari3zHoqZlnuaR7V1bEiNMxikhp37rdBXbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "from2": "^2.3.0", + "p-is-promise": "^3.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-stream": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", + "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-unicode-supported": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/issue-parser": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.1.tgz", + "integrity": "sha512-3YZcUUR2Wt1WsapF+S/WiA2WmlW0cWAoPccMqne7AxEBhCdFeTPjfv/Axb8V2gyCgY3nRw+ksZ3xSUX+R47iAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash.capitalize": "^4.2.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.uniqby": "^4.7.0" + }, + "engines": { + "node": "^18.17 || >=20.6.1" + } + }, + "node_modules/java-properties": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/java-properties/-/java-properties-1.0.2.tgz", + "integrity": "sha512-qjdpeo2yKlYTH7nFdK0vbZWuTCesk4o63v5iVOlhMQPfuIZQfW/HI35SjfhA+4qpg36rnFSvUK5b1m+ckIblQQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, + "node_modules/load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/load-json-file/node_modules/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", + "dev": true, + "license": "MIT", + "dependencies": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.capitalize": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", + "integrity": "sha512-kZzYOKspf8XVX5AvmQF94gQW0lejFVgb80G85bU4ZWzoJ6C03PQg3coYAUpSTpQWelrZELd3XWgHzw4Ck5kaIw==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.escaperegexp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", + "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.uniqby": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz", + "integrity": "sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww==", + "dev": true, + "license": "MIT" + }, + "node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/marked": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", + "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==", + "dev": true, + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/marked-terminal": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-7.2.1.tgz", + "integrity": "sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^7.0.0", + "ansi-regex": "^6.1.0", + "chalk": "^5.3.0", + "cli-highlight": "^2.1.11", + "cli-table3": "^0.6.5", + "node-emoji": "^2.1.3", + "supports-hyperlinks": "^3.1.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "marked": ">=1 <15" + } + }, + "node_modules/meow": { + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", + "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true, + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.4.tgz", + "integrity": "sha512-v8yqInVjhXyqP6+Kw4fV3ZzeMRqEW6FotRsKXjRS5VMTNIuXsdRoAvklpoRgSqXm6o9VNH4/C0mgedko9DdLsQ==", + "dev": true, + "funding": [ + "https://github.com/sponsors/broofa" + ], + "license": "MIT", + "bin": { + "mime": "bin/cli.js" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "license": "MIT" + }, + "node_modules/nerf-dart": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/nerf-dart/-/nerf-dart-1.0.0.tgz", + "integrity": "sha512-EZSPZB70jiVsivaBLYDCyntd5eH8NTSMOn3rB+HxwdmKThGELLdYv8qVIMWvZEFy9w8ZZpW9h9OB32l1rGtj7g==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-emoji": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.1.3.tgz", + "integrity": "sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^4.6.0", + "char-regex": "^1.0.2", + "emojilib": "^2.4.0", + "skin-tone": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/normalize-package-data": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", + "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^7.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/normalize-package-data/node_modules/hosted-git-info": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", + "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/normalize-url": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz", + "integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm": { + "version": "10.9.0", + "resolved": "https://registry.npmjs.org/npm/-/npm-10.9.0.tgz", + "integrity": "sha512-ZanDioFylI9helNhl2LNd+ErmVD+H5I53ry41ixlLyCBgkuYb+58CvbAp99hW+zr5L9W4X7CchSoeqKdngOLSw==", + "bundleDependencies": [ + "@isaacs/string-locale-compare", + "@npmcli/arborist", + "@npmcli/config", + "@npmcli/fs", + "@npmcli/map-workspaces", + "@npmcli/package-json", + "@npmcli/promise-spawn", + "@npmcli/redact", + "@npmcli/run-script", + "@sigstore/tuf", + "abbrev", + "archy", + "cacache", + "chalk", + "ci-info", + "cli-columns", + "fastest-levenshtein", + "fs-minipass", + "glob", + "graceful-fs", + "hosted-git-info", + "ini", + "init-package-json", + "is-cidr", + "json-parse-even-better-errors", + "libnpmaccess", + "libnpmdiff", + "libnpmexec", + "libnpmfund", + "libnpmhook", + "libnpmorg", + "libnpmpack", + "libnpmpublish", + "libnpmsearch", + "libnpmteam", + "libnpmversion", + "make-fetch-happen", + "minimatch", + "minipass", + "minipass-pipeline", + "ms", + "node-gyp", + "nopt", + "normalize-package-data", + "npm-audit-report", + "npm-install-checks", + "npm-package-arg", + "npm-pick-manifest", + "npm-profile", + "npm-registry-fetch", + "npm-user-validate", + "p-map", + "pacote", + "parse-conflict-json", + "proc-log", + "qrcode-terminal", + "read", + "semver", + "spdx-expression-parse", + "ssri", + "supports-color", + "tar", + "text-table", + "tiny-relative-date", + "treeverse", + "validate-npm-package-name", + "which", + "write-file-atomic" + ], + "dev": true, + "license": "Artistic-2.0", + "workspaces": [ + "docs", + "smoke-tests", + "mock-globals", + "mock-registry", + "workspaces/*" + ], + "dependencies": { + "@isaacs/string-locale-compare": "^1.1.0", + "@npmcli/arborist": "^8.0.0", + "@npmcli/config": "^9.0.0", + "@npmcli/fs": "^4.0.0", + "@npmcli/map-workspaces": "^4.0.1", + "@npmcli/package-json": "^6.0.1", + "@npmcli/promise-spawn": "^8.0.1", + "@npmcli/redact": "^3.0.0", + "@npmcli/run-script": "^9.0.1", + "@sigstore/tuf": "^2.3.4", + "abbrev": "^3.0.0", + "archy": "~1.0.0", + "cacache": "^19.0.1", + "chalk": "^5.3.0", + "ci-info": "^4.0.0", + "cli-columns": "^4.0.0", + "fastest-levenshtein": "^1.0.16", + "fs-minipass": "^3.0.3", + "glob": "^10.4.5", + "graceful-fs": "^4.2.11", + "hosted-git-info": "^8.0.0", + "ini": "^5.0.0", + "init-package-json": "^7.0.1", + "is-cidr": "^5.1.0", + "json-parse-even-better-errors": "^4.0.0", + "libnpmaccess": "^9.0.0", + "libnpmdiff": "^7.0.0", + "libnpmexec": "^9.0.0", + "libnpmfund": "^6.0.0", + "libnpmhook": "^11.0.0", + "libnpmorg": "^7.0.0", + "libnpmpack": "^8.0.0", + "libnpmpublish": "^10.0.0", + "libnpmsearch": "^8.0.0", + "libnpmteam": "^7.0.0", + "libnpmversion": "^7.0.0", + "make-fetch-happen": "^14.0.1", + "minimatch": "^9.0.5", + "minipass": "^7.1.1", + "minipass-pipeline": "^1.2.4", + "ms": "^2.1.2", + "node-gyp": "^10.2.0", + "nopt": "^8.0.0", + "normalize-package-data": "^7.0.0", + "npm-audit-report": "^6.0.0", + "npm-install-checks": "^7.1.0", + "npm-package-arg": "^12.0.0", + "npm-pick-manifest": "^10.0.0", + "npm-profile": "^11.0.1", + "npm-registry-fetch": "^18.0.1", + "npm-user-validate": "^3.0.0", + "p-map": "^4.0.0", + "pacote": "^19.0.0", + "parse-conflict-json": "^4.0.0", + "proc-log": "^5.0.0", + "qrcode-terminal": "^0.12.0", + "read": "^4.0.0", + "semver": "^7.6.3", + "spdx-expression-parse": "^4.0.0", + "ssri": "^12.0.0", + "supports-color": "^9.4.0", + "tar": "^6.2.1", + "text-table": "~0.2.0", + "tiny-relative-date": "^1.3.0", + "treeverse": "^3.0.0", + "validate-npm-package-name": "^6.0.0", + "which": "^5.0.0", + "write-file-atomic": "^6.0.0" + }, + "bin": { + "npm": "bin/npm-cli.js", + "npx": "bin/npx-cli.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm-run-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-6.0.0.tgz", + "integrity": "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^4.0.0", + "unicorn-magic": "^0.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm-run-path/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm-run-path/node_modules/unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm/node_modules/@isaacs/cliui": { + "version": "8.0.2", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/npm/node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/npm/node_modules/@isaacs/string-locale-compare": { + "version": "1.1.0", + "dev": true, + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/@npmcli/agent": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "agent-base": "^7.1.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.3" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/arborist": { + "version": "8.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@isaacs/string-locale-compare": "^1.1.0", + "@npmcli/fs": "^4.0.0", + "@npmcli/installed-package-contents": "^3.0.0", + "@npmcli/map-workspaces": "^4.0.1", + "@npmcli/metavuln-calculator": "^8.0.0", + "@npmcli/name-from-folder": "^3.0.0", + "@npmcli/node-gyp": "^4.0.0", + "@npmcli/package-json": "^6.0.1", + "@npmcli/query": "^4.0.0", + "@npmcli/redact": "^3.0.0", + "@npmcli/run-script": "^9.0.1", + "bin-links": "^5.0.0", + "cacache": "^19.0.1", + "common-ancestor-path": "^1.0.1", + "hosted-git-info": "^8.0.0", + "json-parse-even-better-errors": "^4.0.0", + "json-stringify-nice": "^1.1.4", + "lru-cache": "^10.2.2", + "minimatch": "^9.0.4", + "nopt": "^8.0.0", + "npm-install-checks": "^7.1.0", + "npm-package-arg": "^12.0.0", + "npm-pick-manifest": "^10.0.0", + "npm-registry-fetch": "^18.0.1", + "pacote": "^19.0.0", + "parse-conflict-json": "^4.0.0", + "proc-log": "^5.0.0", + "proggy": "^3.0.0", + "promise-all-reject-late": "^1.0.0", + "promise-call-limit": "^3.0.1", + "read-package-json-fast": "^4.0.0", + "semver": "^7.3.7", + "ssri": "^12.0.0", + "treeverse": "^3.0.0", + "walk-up-path": "^3.0.1" + }, + "bin": { + "arborist": "bin/index.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/config": { + "version": "9.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/map-workspaces": "^4.0.1", + "@npmcli/package-json": "^6.0.1", + "ci-info": "^4.0.0", + "ini": "^5.0.0", + "nopt": "^8.0.0", + "proc-log": "^5.0.0", + "semver": "^7.3.5", + "walk-up-path": "^3.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/fs": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/git": { + "version": "6.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/promise-spawn": "^8.0.0", + "ini": "^5.0.0", + "lru-cache": "^10.0.1", + "npm-pick-manifest": "^10.0.0", + "proc-log": "^5.0.0", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/installed-package-contents": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-bundled": "^4.0.0", + "npm-normalize-package-bin": "^4.0.0" + }, + "bin": { + "installed-package-contents": "bin/index.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/map-workspaces": { + "version": "4.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/name-from-folder": "^3.0.0", + "@npmcli/package-json": "^6.0.0", + "glob": "^10.2.2", + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/metavuln-calculator": { + "version": "8.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "cacache": "^19.0.0", + "json-parse-even-better-errors": "^4.0.0", + "pacote": "^19.0.0", + "proc-log": "^5.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/name-from-folder": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/node-gyp": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/package-json": { + "version": "6.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^6.0.0", + "glob": "^10.2.2", + "hosted-git-info": "^8.0.0", + "json-parse-even-better-errors": "^4.0.0", + "normalize-package-data": "^7.0.0", + "proc-log": "^5.0.0", + "semver": "^7.5.3" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/promise-spawn": { + "version": "8.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "which": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/query": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "postcss-selector-parser": "^6.1.2" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/redact": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/run-script": { + "version": "9.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/node-gyp": "^4.0.0", + "@npmcli/package-json": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "node-gyp": "^10.0.0", + "proc-log": "^5.0.0", + "which": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/npm/node_modules/@sigstore/bundle": { + "version": "2.3.2", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.3.2" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/core": { + "version": "1.1.0", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/protobuf-specs": { + "version": "0.3.2", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/sign": { + "version": "2.3.2", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^2.3.2", + "@sigstore/core": "^1.0.0", + "@sigstore/protobuf-specs": "^0.3.2", + "make-fetch-happen": "^13.0.1", + "proc-log": "^4.2.0", + "promise-retry": "^2.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/sign/node_modules/@npmcli/agent": { + "version": "2.2.2", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "agent-base": "^7.1.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.3" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/sign/node_modules/@npmcli/fs": { + "version": "3.1.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/sign/node_modules/cacache": { + "version": "18.0.4", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/sign/node_modules/make-fetch-happen": { + "version": "13.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/agent": "^2.0.0", + "cacache": "^18.0.0", + "http-cache-semantics": "^4.1.1", + "is-lambda": "^1.0.1", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "proc-log": "^4.2.0", + "promise-retry": "^2.0.1", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/sign/node_modules/minipass-fetch": { + "version": "3.0.5", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/npm/node_modules/@sigstore/sign/node_modules/proc-log": { + "version": "4.2.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/sign/node_modules/ssri": { + "version": "10.0.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/sign/node_modules/unique-filename": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/sign/node_modules/unique-slug": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/tuf": { + "version": "2.3.4", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.3.2", + "tuf-js": "^2.2.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@sigstore/verify": { + "version": "1.2.1", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^2.3.2", + "@sigstore/core": "^1.1.0", + "@sigstore/protobuf-specs": "^0.3.2" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@tufjs/canonical-json": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/@tufjs/models": { + "version": "2.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "@tufjs/canonical-json": "2.0.0", + "minimatch": "^9.0.4" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/abbrev": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/agent-base": { + "version": "7.1.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/npm/node_modules/aggregate-error": { + "version": "3.1.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/ansi-regex": { + "version": "5.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/ansi-styles": { + "version": "6.2.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/npm/node_modules/aproba": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/archy": { + "version": "1.0.0", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/balanced-match": { + "version": "1.0.2", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/bin-links": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "cmd-shim": "^7.0.0", + "npm-normalize-package-bin": "^4.0.0", + "proc-log": "^5.0.0", + "read-cmd-shim": "^5.0.0", + "write-file-atomic": "^6.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/binary-extensions": { + "version": "2.3.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm/node_modules/brace-expansion": { + "version": "2.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/npm/node_modules/cacache": { + "version": "19.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^4.0.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^7.0.2", + "ssri": "^12.0.0", + "tar": "^7.4.3", + "unique-filename": "^4.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/chownr": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/minizlib": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.4", + "rimraf": "^5.0.5" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/mkdirp": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/p-map": { + "version": "7.0.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/tar": { + "version": "7.4.3", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/yallist": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/chalk": { + "version": "5.3.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/npm/node_modules/chownr": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/ci-info": { + "version": "4.0.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/cidr-regex": { + "version": "4.1.1", + "dev": true, + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "ip-regex": "^5.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/npm/node_modules/clean-stack": { + "version": "2.2.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/npm/node_modules/cli-columns": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/npm/node_modules/cmd-shim": { + "version": "7.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/color-convert": { + "version": "2.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/npm/node_modules/color-name": { + "version": "1.1.4", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/common-ancestor-path": { + "version": "1.0.1", + "dev": true, + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/cross-spawn": { + "version": "7.0.3", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/cssesc": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm/node_modules/debug": { + "version": "4.3.6", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/npm/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/diff": { + "version": "5.2.0", + "dev": true, + "inBundle": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/npm/node_modules/eastasianwidth": { + "version": "0.2.0", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/emoji-regex": { + "version": "8.0.0", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/encoding": { + "version": "0.1.13", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/npm/node_modules/env-paths": { + "version": "2.2.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/npm/node_modules/err-code": { + "version": "2.0.3", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/exponential-backoff": { + "version": "3.1.1", + "dev": true, + "inBundle": true, + "license": "Apache-2.0" + }, + "node_modules/npm/node_modules/fastest-levenshtein": { + "version": "1.0.16", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 4.9.1" + } + }, + "node_modules/npm/node_modules/foreground-child": { + "version": "3.3.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/fs-minipass": { + "version": "3.0.3", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/glob": { + "version": "10.4.5", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/graceful-fs": { + "version": "4.2.11", + "dev": true, + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/hosted-git-info": { + "version": "8.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/http-cache-semantics": { + "version": "4.1.1", + "dev": true, + "inBundle": true, + "license": "BSD-2-Clause" + }, + "node_modules/npm/node_modules/http-proxy-agent": { + "version": "7.0.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/npm/node_modules/https-proxy-agent": { + "version": "7.0.5", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.0.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/npm/node_modules/iconv-lite": { + "version": "0.6.3", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm/node_modules/ignore-walk": { + "version": "7.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/imurmurhash": { + "version": "0.1.4", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/npm/node_modules/indent-string": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/ini": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/init-package-json": { + "version": "7.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/package-json": "^6.0.0", + "npm-package-arg": "^12.0.0", + "promzard": "^2.0.0", + "read": "^4.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4", + "validate-npm-package-name": "^6.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/ip-address": { + "version": "9.0.5", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/npm/node_modules/ip-regex": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm/node_modules/is-cidr": { + "version": "5.1.0", + "dev": true, + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "cidr-regex": "^4.1.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/npm/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/is-lambda": { + "version": "1.0.1", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/isexe": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/jackspeak": { + "version": "3.4.3", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/npm/node_modules/jsbn": { + "version": "1.1.0", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/json-parse-even-better-errors": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/json-stringify-nice": { + "version": "1.1.4", + "dev": true, + "inBundle": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/jsonparse": { + "version": "1.3.1", + "dev": true, + "engines": [ + "node >= 0.2.0" + ], + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/just-diff": { + "version": "6.0.2", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/just-diff-apply": { + "version": "5.5.0", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/libnpmaccess": { + "version": "9.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-package-arg": "^12.0.0", + "npm-registry-fetch": "^18.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmdiff": { + "version": "7.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/arborist": "^8.0.0", + "@npmcli/installed-package-contents": "^3.0.0", + "binary-extensions": "^2.3.0", + "diff": "^5.1.0", + "minimatch": "^9.0.4", + "npm-package-arg": "^12.0.0", + "pacote": "^19.0.0", + "tar": "^6.2.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmexec": { + "version": "9.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/arborist": "^8.0.0", + "@npmcli/run-script": "^9.0.1", + "ci-info": "^4.0.0", + "npm-package-arg": "^12.0.0", + "pacote": "^19.0.0", + "proc-log": "^5.0.0", + "read": "^4.0.0", + "read-package-json-fast": "^4.0.0", + "semver": "^7.3.7", + "walk-up-path": "^3.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmfund": { + "version": "6.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/arborist": "^8.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmhook": { + "version": "11.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^18.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmorg": { + "version": "7.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^18.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmpack": { + "version": "8.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/arborist": "^8.0.0", + "@npmcli/run-script": "^9.0.1", + "npm-package-arg": "^12.0.0", + "pacote": "^19.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmpublish": { + "version": "10.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "ci-info": "^4.0.0", + "normalize-package-data": "^7.0.0", + "npm-package-arg": "^12.0.0", + "npm-registry-fetch": "^18.0.1", + "proc-log": "^5.0.0", + "semver": "^7.3.7", + "sigstore": "^2.2.0", + "ssri": "^12.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmsearch": { + "version": "8.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-registry-fetch": "^18.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmteam": { + "version": "7.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^18.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmversion": { + "version": "7.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^6.0.1", + "@npmcli/run-script": "^9.0.1", + "json-parse-even-better-errors": "^4.0.0", + "proc-log": "^5.0.0", + "semver": "^7.3.7" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/lru-cache": { + "version": "10.4.3", + "dev": true, + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/make-fetch-happen": { + "version": "14.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/agent": "^3.0.0", + "cacache": "^19.0.1", + "http-cache-semantics": "^4.1.1", + "minipass": "^7.0.2", + "minipass-fetch": "^4.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1", + "ssri": "^12.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/minimatch": { + "version": "9.0.5", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/minipass": { + "version": "7.1.2", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm/node_modules/minipass-collect": { + "version": "2.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm/node_modules/minipass-fetch": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^3.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/npm/node_modules/minipass-fetch/node_modules/minizlib": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.4", + "rimraf": "^5.0.5" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/npm/node_modules/minipass-flush": { + "version": "1.0.5", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/minipass-flush/node_modules/minipass": { + "version": "3.3.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/minipass-pipeline": { + "version": "1.2.4", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass": { + "version": "3.3.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/minipass-sized": { + "version": "1.0.3", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/minipass-sized/node_modules/minipass": { + "version": "3.3.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/minizlib": { + "version": "2.1.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/minizlib/node_modules/minipass": { + "version": "3.3.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/mkdirp": { + "version": "1.0.4", + "dev": true, + "inBundle": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/ms": { + "version": "2.1.3", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/mute-stream": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/negotiator": { + "version": "0.6.3", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/npm/node_modules/node-gyp": { + "version": "10.2.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.0", + "exponential-backoff": "^3.1.1", + "glob": "^10.3.10", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^13.0.0", + "nopt": "^7.0.0", + "proc-log": "^4.1.0", + "semver": "^7.3.5", + "tar": "^6.2.1", + "which": "^4.0.0" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent": { + "version": "2.2.2", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "agent-base": "^7.1.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.3" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/fs": { + "version": "3.1.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/abbrev": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/cacache": { + "version": "18.0.4", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/isexe": { + "version": "3.1.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=16" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen": { + "version": "13.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/agent": "^2.0.0", + "cacache": "^18.0.0", + "http-cache-semantics": "^4.1.1", + "is-lambda": "^1.0.1", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "proc-log": "^4.2.0", + "promise-retry": "^2.0.1", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/minipass-fetch": { + "version": "3.0.5", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/nopt": { + "version": "7.2.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "abbrev": "^2.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/proc-log": { + "version": "4.2.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/ssri": { + "version": "10.0.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/unique-filename": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/unique-slug": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/which": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/nopt": { + "version": "8.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "abbrev": "^2.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/nopt/node_modules/abbrev": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/normalize-package-data": { + "version": "7.0.0", + "dev": true, + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^8.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/npm-audit-report": { + "version": "6.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/npm-bundled": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-normalize-package-bin": "^4.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/npm-install-checks": { + "version": "7.1.0", + "dev": true, + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "semver": "^7.1.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/npm-normalize-package-bin": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/npm-package-arg": { + "version": "12.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^8.0.0", + "proc-log": "^5.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^6.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/npm-packlist": { + "version": "9.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "ignore-walk": "^7.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/npm-pick-manifest": { + "version": "10.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-install-checks": "^7.1.0", + "npm-normalize-package-bin": "^4.0.0", + "npm-package-arg": "^12.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/npm-profile": { + "version": "11.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-registry-fetch": "^18.0.0", + "proc-log": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/npm-registry-fetch": { + "version": "18.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/redact": "^3.0.0", + "jsonparse": "^1.3.1", + "make-fetch-happen": "^14.0.0", + "minipass": "^7.0.2", + "minipass-fetch": "^4.0.0", + "minizlib": "^3.0.1", + "npm-package-arg": "^12.0.0", + "proc-log": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/npm-registry-fetch/node_modules/minizlib": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.4", + "rimraf": "^5.0.5" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/npm/node_modules/npm-user-validate": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "BSD-2-Clause", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/p-map": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm/node_modules/package-json-from-dist": { + "version": "1.0.0", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0" + }, + "node_modules/npm/node_modules/pacote": { + "version": "19.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^6.0.0", + "@npmcli/installed-package-contents": "^3.0.0", + "@npmcli/package-json": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "@npmcli/run-script": "^9.0.0", + "cacache": "^19.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^7.0.2", + "npm-package-arg": "^12.0.0", + "npm-packlist": "^9.0.0", + "npm-pick-manifest": "^10.0.0", + "npm-registry-fetch": "^18.0.0", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1", + "sigstore": "^2.2.0", + "ssri": "^12.0.0", + "tar": "^6.1.11" + }, + "bin": { + "pacote": "bin/index.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/parse-conflict-json": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^4.0.0", + "just-diff": "^6.0.0", + "just-diff-apply": "^5.2.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/path-key": { + "version": "3.1.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/path-scurry": { + "version": "1.11.1", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/postcss-selector-parser": { + "version": "6.1.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm/node_modules/proc-log": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/proggy": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/promise-all-reject-late": { + "version": "1.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/promise-call-limit": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/promise-inflight": { + "version": "1.0.1", + "dev": true, + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/promise-retry": { + "version": "2.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "err-code": "^2.0.2", + "retry": "^0.12.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/promzard": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "read": "^4.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/qrcode-terminal": { + "version": "0.12.0", + "dev": true, + "inBundle": true, + "bin": { + "qrcode-terminal": "bin/qrcode-terminal.js" + } + }, + "node_modules/npm/node_modules/read": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "mute-stream": "^2.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/read-cmd-shim": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/read-package-json-fast": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^4.0.0", + "npm-normalize-package-bin": "^4.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/retry": { + "version": "0.12.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/npm/node_modules/rimraf": { + "version": "5.0.10", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "glob": "^10.3.7" + }, + "bin": { + "rimraf": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/safer-buffer": { + "version": "2.1.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/npm/node_modules/semver": { + "version": "7.6.3", + "dev": true, + "inBundle": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/shebang-command": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/shebang-regex": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/signal-exit": { + "version": "4.1.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/sigstore": { + "version": "2.3.1", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^2.3.2", + "@sigstore/core": "^1.0.0", + "@sigstore/protobuf-specs": "^0.3.2", + "@sigstore/sign": "^2.3.2", + "@sigstore/tuf": "^2.3.4", + "@sigstore/verify": "^1.2.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/smart-buffer": { + "version": "4.2.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/npm/node_modules/socks": { + "version": "2.8.3", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/npm/node_modules/socks-proxy-agent": { + "version": "8.0.4", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.1", + "debug": "^4.3.4", + "socks": "^2.8.3" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/npm/node_modules/spdx-correct": { + "version": "3.2.0", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/npm/node_modules/spdx-exceptions": { + "version": "2.5.0", + "dev": true, + "inBundle": true, + "license": "CC-BY-3.0" + }, + "node_modules/npm/node_modules/spdx-expression-parse": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/npm/node_modules/spdx-license-ids": { + "version": "3.0.18", + "dev": true, + "inBundle": true, + "license": "CC0-1.0" + }, + "node_modules/npm/node_modules/sprintf-js": { + "version": "1.1.3", + "dev": true, + "inBundle": true, + "license": "BSD-3-Clause" + }, + "node_modules/npm/node_modules/ssri": { + "version": "12.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/string-width": { + "version": "4.2.3", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/strip-ansi": { + "version": "6.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/supports-color": { + "version": "9.4.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/npm/node_modules/tar": { + "version": "6.2.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^5.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm/node_modules/tar/node_modules/fs-minipass": { + "version": "2.1.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { + "version": "3.3.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/tar/node_modules/minipass": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/text-table": { + "version": "0.2.0", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/tiny-relative-date": { + "version": "1.3.0", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/treeverse": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/tuf-js": { + "version": "2.2.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "@tufjs/models": "2.0.1", + "debug": "^4.3.4", + "make-fetch-happen": "^13.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/tuf-js/node_modules/@npmcli/agent": { + "version": "2.2.2", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "agent-base": "^7.1.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.3" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/tuf-js/node_modules/@npmcli/fs": { + "version": "3.1.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/tuf-js/node_modules/cacache": { + "version": "18.0.4", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/tuf-js/node_modules/make-fetch-happen": { + "version": "13.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/agent": "^2.0.0", + "cacache": "^18.0.0", + "http-cache-semantics": "^4.1.1", + "is-lambda": "^1.0.1", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "proc-log": "^4.2.0", + "promise-retry": "^2.0.1", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/tuf-js/node_modules/minipass-fetch": { + "version": "3.0.5", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/npm/node_modules/tuf-js/node_modules/proc-log": { + "version": "4.2.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/tuf-js/node_modules/ssri": { + "version": "10.0.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/tuf-js/node_modules/unique-filename": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/tuf-js/node_modules/unique-slug": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/unique-filename": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/unique-slug": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/util-deprecate": { + "version": "1.0.2", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/validate-npm-package-license": { + "version": "3.0.4", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/npm/node_modules/validate-npm-package-name": { + "version": "6.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/walk-up-path": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "ISC" + }, + "node_modules/npm/node_modules/which": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/which/node_modules/isexe": { + "version": "3.1.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=16" + } + }, + "node_modules/npm/node_modules/wrap-ansi": { + "version": "8.1.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/npm/node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex": { + "version": "9.2.2", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/npm/node_modules/wrap-ansi/node_modules/string-width": { + "version": "5.1.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/npm/node_modules/write-file-atomic": { + "version": "6.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC" + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-each-series": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-3.0.0.tgz", + "integrity": "sha512-lastgtAdoH9YaLyDa5i5z64q+kzOcQHsQ5SsZJD3q0VEyI8mq872S3geuNbRUQLVAE9siMfgKrpj7MloKFHruw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-filter": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-filter/-/p-filter-4.1.0.tgz", + "integrity": "sha512-37/tPdZ3oJwHaS3gNJdenCDB3Tz26i9sjhnguBtvN0vYlRIiDNnvTWkuh+0hETV9rLPdJ3rlL3yVOYPIAnM8rw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-map": "^7.0.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-is-promise": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-3.0.0.tgz", + "integrity": "sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/p-map": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.2.tgz", + "integrity": "sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-reduce": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-3.0.0.tgz", + "integrity": "sha512-xsrIUgI0Kn6iyDYm9StOpOeK29XM1aboGji26+QEortiFST1hGZaUQOLhtEbqHErPpGW/aSz6allwK2qcptp0Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse-ms": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", + "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse5": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", + "dev": true, + "license": "MIT" + }, + "node_modules/parse5-htmlparser2-tree-adapter": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz", + "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse5": "^6.0.1" + } + }, + "node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true, + "license": "MIT" + }, + "node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-conf": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz", + "integrity": "sha512-C+VUP+8jis7EsQZIhDYmS5qlNtjv2yP4SNtjXK9AP1ZcTRlnSfuumaTnRfYZnYgUUYVIKqL0fRvmUGDV2fmp6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^2.0.0", + "load-json-file": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pretty-ms": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.2.0.tgz", + "integrity": "sha512-4yf0QO/sllf/1zbZWYnvWw3NxCQwLXKzIj0G849LSufP15BXKM0rbD2Z3wVnkMfjdn/CB0Dpp444gYAACdsplg==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse-ms": "^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true, + "license": "MIT" + }, + "node_modules/proto-list": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", + "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", + "dev": true, + "license": "ISC" + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/read-package-up": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/read-package-up/-/read-package-up-11.0.0.tgz", + "integrity": "sha512-MbgfoNPANMdb4oRBNg5eqLbB2t2r+o5Ua1pNt8BqGp4I0FJZhuVSOj3PaBPni4azWuSzEdNn2evevzVmEk1ohQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up-simple": "^1.0.0", + "read-pkg": "^9.0.0", + "type-fest": "^4.6.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-9.0.1.tgz", + "integrity": "sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/normalize-package-data": "^2.4.3", + "normalize-package-data": "^6.0.0", + "parse-json": "^8.0.0", + "type-fest": "^4.6.0", + "unicorn-magic": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg/node_modules/parse-json": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.1.0.tgz", + "integrity": "sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.22.13", + "index-to-position": "^0.1.2", + "type-fest": "^4.7.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/registry-auth-token": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-5.0.2.tgz", + "integrity": "sha512-o/3ikDxtXaA59BmZuZrJZDJv8NMDGSj+6j6XaeBmHw8eY1i1qd9+6H+LjVvQXx3HN6aRCGa1cUdJ9RaJZUugnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@pnpm/npm-conf": "^2.1.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/semantic-release": { + "version": "24.2.0", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.2.0.tgz", + "integrity": "sha512-fQfn6e/aYToRtVJYKqneFM1Rg3KP2gh3wSWtpYsLlz6uaPKlISrTzvYAFn+mYWo07F0X1Cz5ucU89AVE8X1mbg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@semantic-release/commit-analyzer": "^13.0.0-beta.1", + "@semantic-release/error": "^4.0.0", + "@semantic-release/github": "^11.0.0", + "@semantic-release/npm": "^12.0.0", + "@semantic-release/release-notes-generator": "^14.0.0-beta.1", + "aggregate-error": "^5.0.0", + "cosmiconfig": "^9.0.0", + "debug": "^4.0.0", + "env-ci": "^11.0.0", + "execa": "^9.0.0", + "figures": "^6.0.0", + "find-versions": "^6.0.0", + "get-stream": "^6.0.0", + "git-log-parser": "^1.2.0", + "hook-std": "^3.0.0", + "hosted-git-info": "^8.0.0", + "import-from-esm": "^1.3.1", + "lodash-es": "^4.17.21", + "marked": "^12.0.0", + "marked-terminal": "^7.0.0", + "micromatch": "^4.0.2", + "p-each-series": "^3.0.0", + "p-reduce": "^3.0.0", + "read-package-up": "^11.0.0", + "resolve-from": "^5.0.0", + "semver": "^7.3.2", + "semver-diff": "^4.0.0", + "signale": "^1.2.1", + "yargs": "^17.5.1" + }, + "bin": { + "semantic-release": "bin/semantic-release.js" + }, + "engines": { + "node": ">=20.8.1" + } + }, + "node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-4.0.0.tgz", + "integrity": "sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/semver-regex": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-4.0.5.tgz", + "integrity": "sha512-hunMQrEy1T6Jr2uEVjrAIqjwWcQTgOAcIM52C8MY1EZSD3DDNft04XzvYKPqjED65bNVVko0YI38nYeEHCX3yw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/signale": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/signale/-/signale-1.4.0.tgz", + "integrity": "sha512-iuh+gPf28RkltuJC7W5MRi6XAjTDCAPC/prJUpQoG4vIP3MJZ+GTydVnodXA7pwvTKb2cA0m9OFZW/cdWy/I/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^2.3.2", + "figures": "^2.0.0", + "pkg-conf": "^2.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/signale/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/signale/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/signale/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/signale/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true, + "license": "MIT" + }, + "node_modules/signale/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/signale/node_modules/figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/signale/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/signale/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/skin-tone": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/skin-tone/-/skin-tone-2.0.0.tgz", + "integrity": "sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "unicode-emoji-modifier-base": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/spawn-error-forwarder": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/spawn-error-forwarder/-/spawn-error-forwarder-1.0.0.tgz", + "integrity": "sha512-gRjMgK5uFjbCvdibeGJuy3I5OYz6VLoVdsOJdA6wV0WlfQVLFueoqMxwwYD9RODdgb6oUIvlRlsyFSiQkMKu0g==", + "dev": true, + "license": "MIT" + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true, + "license": "CC-BY-3.0" + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz", + "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/split2": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-1.0.0.tgz", + "integrity": "sha512-NKywug4u4pX/AZBB1FCPzZ6/7O+Xhz1qMVbzTvvKvikjO99oPN87SkK08mEY9P63/5lWjK+wgOOgApnTg5r6qg==", + "dev": true, + "license": "ISC", + "dependencies": { + "through2": "~2.0.0" + } + }, + "node_modules/stream-combiner2": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", + "integrity": "sha512-3PnJbYgS56AeWgtKF5jtJRT6uFJe56Z0Hc5Ngg/6sI6rIt8iiMBTa9cvdyFfpMQjaVHr8dusbNeFGIIonxOvKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "duplexer2": "~0.1.0", + "readable-stream": "^2.0.2" + } + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-final-newline": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz", + "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/super-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/super-regex/-/super-regex-1.0.0.tgz", + "integrity": "sha512-CY8u7DtbvucKuquCmOFEKhr9Besln7n9uN8eFbwcoGYWXOMW07u2o8njWaiXt11ylS3qoGF55pILjRmPlbodyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-timeout": "^1.0.1", + "time-span": "^5.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-hyperlinks": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.1.0.tgz", + "integrity": "sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/temp-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz", + "integrity": "sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + } + }, + "node_modules/tempy": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/tempy/-/tempy-3.1.0.tgz", + "integrity": "sha512-7jDLIdD2Zp0bDe5r3D2qtkd1QOCacylBuL7oa4udvN6v2pqr4+LcCr67C8DR1zkpaZ8XosF5m1yQSabKAW6f2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-stream": "^3.0.0", + "temp-dir": "^3.0.0", + "type-fest": "^2.12.2", + "unique-string": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/tempy/node_modules/is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/tempy/node_modules/type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/time-span": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/time-span/-/time-span-5.1.0.tgz", + "integrity": "sha512-75voc/9G4rDIJleOo4jPvN4/YC4GRZrY8yy1uU4lwrB3XEQbWve8zXoO5No4eFrGcTAMYyoY67p8jRQdtA1HbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "convert-hrtime": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/traverse": { + "version": "0.6.8", + "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.8.tgz", + "integrity": "sha512-aXJDbk6SnumuaZSANd21XAo15ucCDE38H4fkqiGsc3MhCK+wOlZvLP9cB/TvpHT0mOyWgC4Z8EwRlzqYSUzdsA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/type-fest": { + "version": "4.27.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.27.0.tgz", + "integrity": "sha512-3IMSWgP7C5KSQqmo1wjhKrwsvXAtF33jO3QY+Uy++ia7hqvgSK6iXbbg5PbDBc1P2ZbNEDgejOrN4YooXvhwCw==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/uglify-js": { + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", + "dev": true, + "license": "BSD-2-Clause", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/unicode-emoji-modifier-base": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz", + "integrity": "sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/unicorn-magic": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/unique-string": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-3.0.0.tgz", + "integrity": "sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "crypto-random-string": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/universal-user-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", + "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==", + "dev": true, + "license": "ISC" + }, + "node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/url-join": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-5.0.0.tgz", + "integrity": "sha512-n2huDr9h9yzd6exQVnH/jU5mr+Pfx08LRXXZhkLLetAMESRj+anQsTAh940iMrIetKAmry9coFuZQ2jY8/p3WA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yoctocolors": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.1.1.tgz", + "integrity": "sha512-GQHQqAopRhwU8Kt1DDM8NjibDXHC8eoh1erhGAJPEyveY9qqVeXvVikNKrDz69sHowPMorbPUrH/mx8c50eiBQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "dev": true + }, + "@bufbuild/protobuf": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz", + "integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==" + }, + "@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true, + "optional": true + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "@octokit/auth-token": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.1.tgz", + "integrity": "sha512-rh3G3wDO8J9wSjfI436JUKzHIxq8NaiL0tVeB2aXmG6p/9859aUOAjA9pmSPNGGZxfwmaJ9ozOJImuNVJdpvbA==", + "dev": true + }, + "@octokit/core": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.2.tgz", + "integrity": "sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==", + "dev": true, + "requires": { + "@octokit/auth-token": "^5.0.0", + "@octokit/graphql": "^8.0.0", + "@octokit/request": "^9.0.0", + "@octokit/request-error": "^6.0.1", + "@octokit/types": "^13.0.0", + "before-after-hook": "^3.0.2", + "universal-user-agent": "^7.0.0" + } + }, + "@octokit/endpoint": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.1.tgz", + "integrity": "sha512-JYjh5rMOwXMJyUpj028cu0Gbp7qe/ihxfJMLc8VZBMMqSwLgOxDI1911gV4Enl1QSavAQNJcwmwBF9M0VvLh6Q==", + "dev": true, + "requires": { + "@octokit/types": "^13.0.0", + "universal-user-agent": "^7.0.2" + } + }, + "@octokit/graphql": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.1.1.tgz", + "integrity": "sha512-ukiRmuHTi6ebQx/HFRCXKbDlOh/7xEV6QUXaE7MJEKGNAncGI/STSbOkl12qVXZrfZdpXctx5O9X1AIaebiDBg==", + "dev": true, + "requires": { + "@octokit/request": "^9.0.0", + "@octokit/types": "^13.0.0", + "universal-user-agent": "^7.0.0" + } + }, + "@octokit/openapi-types": { + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", + "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==", + "dev": true + }, + "@octokit/plugin-paginate-rest": { + "version": "11.3.5", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.3.5.tgz", + "integrity": "sha512-cgwIRtKrpwhLoBi0CUNuY83DPGRMaWVjqVI/bGKsLJ4PzyWZNaEmhHroI2xlrVXkk6nFv0IsZpOp+ZWSWUS2AQ==", + "dev": true, + "requires": { + "@octokit/types": "^13.6.0" + } + }, + "@octokit/plugin-retry": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-7.1.2.tgz", + "integrity": "sha512-XOWnPpH2kJ5VTwozsxGurw+svB2e61aWlmk5EVIYZPwFK5F9h4cyPyj9CIKRyMXMHSwpIsI3mPOdpMmrRhe7UQ==", + "dev": true, + "requires": { + "@octokit/request-error": "^6.0.0", + "@octokit/types": "^13.0.0", + "bottleneck": "^2.15.3" + } + }, + "@octokit/plugin-throttling": { + "version": "9.3.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-9.3.2.tgz", + "integrity": "sha512-FqpvcTpIWFpMMwIeSoypoJXysSAQ3R+ALJhXXSG1HTP3YZOIeLmcNcimKaXxTcws+Sh6yoRl13SJ5r8sXc1Fhw==", + "dev": true, + "requires": { + "@octokit/types": "^13.0.0", + "bottleneck": "^2.15.3" + } + }, + "@octokit/request": { + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.3.tgz", + "integrity": "sha512-V+TFhu5fdF3K58rs1pGUJIDH5RZLbZm5BI+MNF+6o/ssFNT4vWlCh/tVpF3NxGtP15HUxTTMUbsG5llAuU2CZA==", + "dev": true, + "requires": { + "@octokit/endpoint": "^10.0.0", + "@octokit/request-error": "^6.0.1", + "@octokit/types": "^13.1.0", + "universal-user-agent": "^7.0.2" + } + }, + "@octokit/request-error": { + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.5.tgz", + "integrity": "sha512-IlBTfGX8Yn/oFPMwSfvugfncK2EwRLjzbrpifNaMY8o/HTEAFqCA1FZxjD9cWvSKBHgrIhc4CSBIzMxiLsbzFQ==", + "dev": true, + "requires": { + "@octokit/types": "^13.0.0" + } + }, + "@octokit/types": { + "version": "13.6.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.6.1.tgz", + "integrity": "sha512-PHZE9Z+kWXb23Ndik8MKPirBPziOc0D2/3KH1P+6jK5nGWe96kadZuE4jev2/Jq7FvIfTlT2Ltg8Fv2x1v0a5g==", + "dev": true, + "requires": { + "@octokit/openapi-types": "^22.2.0" + } + }, + "@pnpm/config.env-replace": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz", + "integrity": "sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w==", + "dev": true + }, + "@pnpm/network.ca-file": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@pnpm/network.ca-file/-/network.ca-file-1.0.2.tgz", + "integrity": "sha512-YcPQ8a0jwYU9bTdJDpXjMi7Brhkr1mXsXrUJvjqM2mQDgkRiz8jFaQGOdaLxgjtUfQgZhKy/O3cG/YwmgKaxLA==", + "dev": true, + "requires": { + "graceful-fs": "4.2.10" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", + "dev": true + } + } + }, + "@pnpm/npm-conf": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-2.3.1.tgz", + "integrity": "sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw==", + "dev": true, + "requires": { + "@pnpm/config.env-replace": "^1.1.0", + "@pnpm/network.ca-file": "^1.0.1", + "config-chain": "^1.1.11" + } + }, + "@sec-ant/readable-stream": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", + "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", + "dev": true + }, + "@semantic-release/commit-analyzer": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-13.0.0.tgz", + "integrity": "sha512-KtXWczvTAB1ZFZ6B4O+w8HkfYm/OgQb1dUGNFZtDgQ0csggrmkq8sTxhd+lwGF8kMb59/RnG9o4Tn7M/I8dQ9Q==", + "dev": true, + "requires": { + "conventional-changelog-angular": "^8.0.0", + "conventional-changelog-writer": "^8.0.0", + "conventional-commits-filter": "^5.0.0", + "conventional-commits-parser": "^6.0.0", + "debug": "^4.0.0", + "import-from-esm": "^1.0.3", + "lodash-es": "^4.17.21", + "micromatch": "^4.0.2" + } + }, + "@semantic-release/error": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-4.0.0.tgz", + "integrity": "sha512-mgdxrHTLOjOddRVYIYDo0fR3/v61GNN1YGkfbrjuIKg/uMgCd+Qzo3UAXJ+woLQQpos4pl5Esuw5A7AoNlzjUQ==", + "dev": true + }, + "@semantic-release/github": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-11.0.1.tgz", + "integrity": "sha512-Z9cr0LgU/zgucbT9cksH0/pX9zmVda9hkDPcgIE0uvjMQ8w/mElDivGjx1w1pEQ+MuQJ5CBq3VCF16S6G4VH3A==", + "dev": true, + "requires": { + "@octokit/core": "^6.0.0", + "@octokit/plugin-paginate-rest": "^11.0.0", + "@octokit/plugin-retry": "^7.0.0", + "@octokit/plugin-throttling": "^9.0.0", + "@semantic-release/error": "^4.0.0", + "aggregate-error": "^5.0.0", + "debug": "^4.3.4", + "dir-glob": "^3.0.1", + "globby": "^14.0.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.0", + "issue-parser": "^7.0.0", + "lodash-es": "^4.17.21", + "mime": "^4.0.0", + "p-filter": "^4.0.0", + "url-join": "^5.0.0" + } + }, + "@semantic-release/npm": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-12.0.1.tgz", + "integrity": "sha512-/6nntGSUGK2aTOI0rHPwY3ZjgY9FkXmEHbW9Kr+62NVOsyqpKKeP0lrCH+tphv+EsNdJNmqqwijTEnVWUMQ2Nw==", + "dev": true, + "requires": { + "@semantic-release/error": "^4.0.0", + "aggregate-error": "^5.0.0", + "execa": "^9.0.0", + "fs-extra": "^11.0.0", + "lodash-es": "^4.17.21", + "nerf-dart": "^1.0.0", + "normalize-url": "^8.0.0", + "npm": "^10.5.0", + "rc": "^1.2.8", + "read-pkg": "^9.0.0", + "registry-auth-token": "^5.0.0", + "semver": "^7.1.2", + "tempy": "^3.0.0" + } + }, + "@semantic-release/release-notes-generator": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.1.tgz", + "integrity": "sha512-K0w+5220TM4HZTthE5dDpIuFrnkN1NfTGPidJFm04ULT1DEZ9WG89VNXN7F0c+6nMEpWgqmPvb7vY7JkB2jyyA==", + "dev": true, + "requires": { + "conventional-changelog-angular": "^8.0.0", + "conventional-changelog-writer": "^8.0.0", + "conventional-commits-filter": "^5.0.0", + "conventional-commits-parser": "^6.0.0", + "debug": "^4.0.0", + "get-stream": "^7.0.0", + "import-from-esm": "^1.0.3", + "into-stream": "^7.0.0", + "lodash-es": "^4.17.21", + "read-package-up": "^11.0.0" + }, + "dependencies": { + "get-stream": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-7.0.1.tgz", + "integrity": "sha512-3M8C1EOFN6r8AMUhwUAACIoXZJEOufDU5+0gFFN5uNs6XYOralD2Pqkl7m046va6x77FwposWXbAhPPIOus7mQ==", + "dev": true + } + } + }, + "@sindresorhus/is": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", + "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==", + "dev": true + }, + "@sindresorhus/merge-streams": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", + "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", + "dev": true + }, + "@types/normalize-package-data": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", + "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", + "dev": true + }, + "@types/semver": { + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", + "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", + "dev": true + }, + "agent-base": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", + "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "dev": true, + "requires": { + "debug": "^4.3.4" + } + }, + "aggregate-error": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-5.0.0.tgz", + "integrity": "sha512-gOsf2YwSlleG6IjRYG2A7k0HmBMEo6qVNk9Bp/EaLgAJT5ngH6PXbqa4ItvnEwCm/velL5jAnQgsHsWnjhGmvw==", + "dev": true, + "requires": { + "clean-stack": "^5.2.0", + "indent-string": "^5.0.0" + } + }, + "ansi-escapes": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.0.0.tgz", + "integrity": "sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==", + "dev": true, + "requires": { + "environment": "^1.0.0" + } + }, + "ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "argv-formatter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/argv-formatter/-/argv-formatter-1.0.0.tgz", + "integrity": "sha512-F2+Hkm9xFaRg+GkaNnbwXNDV5O6pnCFEmqyhvfC/Ic5LbgOWjJh3L+mN/s91rxVL3znE7DYVpW0GJFT+4YBgWw==", + "dev": true + }, + "array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", + "dev": true + }, + "before-after-hook": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz", + "integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==", + "dev": true + }, + "bottleneck": { + "version": "2.19.5", + "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", + "integrity": "sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==", + "dev": true + }, + "braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "requires": { + "fill-range": "^7.1.1" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true + }, + "char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true + }, + "clean-stack": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.2.0.tgz", + "integrity": "sha512-TyUIUJgdFnCISzG5zu3291TAsE77ddchd0bepon1VVQrKLGKFED4iXFEDQ24mIPdPBbyE16PK3F8MYE1CmcBEQ==", + "dev": true, + "requires": { + "escape-string-regexp": "5.0.0" + } + }, + "cli-highlight": { + "version": "2.1.11", + "resolved": "https://registry.npmjs.org/cli-highlight/-/cli-highlight-2.1.11.tgz", + "integrity": "sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "highlight.js": "^10.7.1", + "mz": "^2.4.0", + "parse5": "^5.1.1", + "parse5-htmlparser2-tree-adapter": "^6.0.0", + "yargs": "^16.0.0" + }, + "dependencies": { + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true + } + } + }, + "cli-table3": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz", + "integrity": "sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==", + "dev": true, + "requires": { + "@colors/colors": "1.5.0", + "string-width": "^4.2.0" + } + }, + "cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "compare-func": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", + "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", + "dev": true, + "requires": { + "array-ify": "^1.0.0", + "dot-prop": "^5.1.0" + } + }, + "config-chain": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", + "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", + "dev": true, + "requires": { + "ini": "^1.3.4", + "proto-list": "~1.2.1" + } + }, + "conventional-changelog-angular": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-8.0.0.tgz", + "integrity": "sha512-CLf+zr6St0wIxos4bmaKHRXWAcsCXrJU6F4VdNDrGRK3B8LDLKoX3zuMV5GhtbGkVR/LohZ6MT6im43vZLSjmA==", + "dev": true, + "requires": { + "compare-func": "^2.0.0" + } + }, + "conventional-changelog-writer": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-8.0.0.tgz", + "integrity": "sha512-TQcoYGRatlAnT2qEWDON/XSfnVG38JzA7E0wcGScu7RElQBkg9WWgZd1peCWFcWDh1xfb2CfsrcvOn1bbSzztA==", + "dev": true, + "requires": { + "@types/semver": "^7.5.5", + "conventional-commits-filter": "^5.0.0", + "handlebars": "^4.7.7", + "meow": "^13.0.0", + "semver": "^7.5.2" + } + }, + "conventional-commits-filter": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-5.0.0.tgz", + "integrity": "sha512-tQMagCOC59EVgNZcC5zl7XqO30Wki9i9J3acbUvkaosCT6JX3EeFwJD7Qqp4MCikRnzS18WXV3BLIQ66ytu6+Q==", + "dev": true + }, + "conventional-commits-parser": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.0.0.tgz", + "integrity": "sha512-TbsINLp48XeMXR8EvGjTnKGsZqBemisPoyWESlpRyR8lif0lcwzqz+NMtYSj1ooF/WYjSuu7wX0CtdeeMEQAmA==", + "dev": true, + "requires": { + "meow": "^13.0.0" + } + }, + "convert-hrtime": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/convert-hrtime/-/convert-hrtime-5.0.0.tgz", + "integrity": "sha512-lOETlkIeYSJWcbbcvjRKGxVMXJR+8+OQb/mTPbA4ObPMytYIsUbuOE0Jzy60hjARYszq1id0j8KgVhC+WGZVTg==", + "dev": true + }, + "core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "dev": true + }, + "cosmiconfig": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", + "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", + "dev": true, + "requires": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + } + }, + "cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "crypto-random-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-4.0.0.tgz", + "integrity": "sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==", + "dev": true, + "requires": { + "type-fest": "^1.0.1" + }, + "dependencies": { + "type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true + } + } + }, + "debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dev": true, + "requires": { + "ms": "^2.1.3" + } + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true + }, + "dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "requires": { + "path-type": "^4.0.0" + } + }, + "dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, + "requires": { + "is-obj": "^2.0.0" + } + }, + "duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==", + "dev": true, + "requires": { + "readable-stream": "^2.0.2" + } + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "emojilib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/emojilib/-/emojilib-2.4.0.tgz", + "integrity": "sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==", + "dev": true + }, + "env-ci": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-11.1.0.tgz", + "integrity": "sha512-Z8dnwSDbV1XYM9SBF2J0GcNVvmfmfh3a49qddGIROhBoVro6MZVTji15z/sJbQ2ko2ei8n988EU1wzoLU/tF+g==", + "dev": true, + "requires": { + "execa": "^8.0.0", + "java-properties": "^1.0.2" + }, + "dependencies": { + "execa": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", + "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^3.0.0" + } + }, + "get-stream": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", + "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", + "dev": true + }, + "human-signals": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", + "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", + "dev": true + }, + "is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true + }, + "npm-run-path": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", + "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", + "dev": true, + "requires": { + "path-key": "^4.0.0" + } + }, + "path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true + }, + "strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "dev": true + } + } + }, + "env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true + }, + "environment": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", + "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", + "dev": true + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true + }, + "escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "dev": true + }, + "execa": { + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-9.5.1.tgz", + "integrity": "sha512-QY5PPtSonnGwhhHDNI7+3RvY285c7iuJFFB+lU+oEzMY/gEGJ808owqJsrr8Otd1E/x07po1LkUBmdAc5duPAg==", + "dev": true, + "requires": { + "@sindresorhus/merge-streams": "^4.0.0", + "cross-spawn": "^7.0.3", + "figures": "^6.1.0", + "get-stream": "^9.0.0", + "human-signals": "^8.0.0", + "is-plain-obj": "^4.1.0", + "is-stream": "^4.0.1", + "npm-run-path": "^6.0.0", + "pretty-ms": "^9.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^4.0.0", + "yoctocolors": "^2.0.0" + }, + "dependencies": { + "get-stream": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", + "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", + "dev": true, + "requires": { + "@sec-ant/readable-stream": "^0.4.1", + "is-stream": "^4.0.1" + } + } + } + }, + "fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + } + }, + "fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "dev": true, + "requires": { + "reusify": "^1.0.4" + } + }, + "figures": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz", + "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==", + "dev": true, + "requires": { + "is-unicode-supported": "^2.0.0" + } + }, + "fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "find-up-simple": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.0.tgz", + "integrity": "sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==", + "dev": true + }, + "find-versions": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-6.0.0.tgz", + "integrity": "sha512-2kCCtc+JvcZ86IGAz3Z2Y0A1baIz9fL31pH/0S1IqZr9Iwnjq8izfPtrCyQKO6TLMPELLsQMre7VDqeIKCsHkA==", + "dev": true, + "requires": { + "semver-regex": "^4.0.5", + "super-regex": "^1.0.0" + } + }, + "from2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", + "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + } + }, + "fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "function-timeout": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/function-timeout/-/function-timeout-1.0.2.tgz", + "integrity": "sha512-939eZS4gJ3htTHAldmyyuzlrD58P03fHG49v2JfFXbV6OhvZKRC9j2yAtdHw/zrp2zXHuv05zMIy40F0ge7spA==", + "dev": true + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + }, + "git-log-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/git-log-parser/-/git-log-parser-1.2.1.tgz", + "integrity": "sha512-PI+sPDvHXNPl5WNOErAK05s3j0lgwUzMN6o8cyQrDaKfT3qd7TmNJKeXX+SknI5I0QhG5fVPAEwSY4tRGDtYoQ==", + "dev": true, + "requires": { + "argv-formatter": "~1.0.0", + "spawn-error-forwarder": "~1.0.0", + "split2": "~1.0.0", + "stream-combiner2": "~1.1.1", + "through2": "~2.0.0", + "traverse": "0.6.8" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, + "globby": { + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", + "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", + "dev": true, + "requires": { + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.2", + "ignore": "^5.2.4", + "path-type": "^5.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.1.0" + }, + "dependencies": { + "@sindresorhus/merge-streams": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", + "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", + "dev": true + }, + "path-type": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", + "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", + "dev": true + } + } + }, + "graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "handlebars": { + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", + "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", + "dev": true, + "requires": { + "minimist": "^1.2.5", + "neo-async": "^2.6.2", + "source-map": "^0.6.1", + "uglify-js": "^3.1.4", + "wordwrap": "^1.0.0" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "highlight.js": { + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz", + "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==", + "dev": true + }, + "hook-std": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hook-std/-/hook-std-3.0.0.tgz", + "integrity": "sha512-jHRQzjSDzMtFy34AGj1DN+vq54WVuhSvKgrHf0OMiFQTwDD4L/qqofVEWjLOBMTn5+lCD3fPg32W9yOfnEJTTw==", + "dev": true + }, + "hosted-git-info": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-8.0.1.tgz", + "integrity": "sha512-/rLVQvNpQDQ2wG90ooueQe3hsRuoNBT3kh/vwcjgPjWCEODZbm44YwrShVr4Pnb9tNCIJlI6Q+OKxXLngV591g==", + "dev": true, + "requires": { + "lru-cache": "^10.0.1" + } + }, + "http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "requires": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + } + }, + "https-proxy-agent": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "dev": true, + "requires": { + "agent-base": "^7.0.2", + "debug": "4" + } + }, + "human-signals": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.0.tgz", + "integrity": "sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==", + "dev": true + }, + "ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "dependencies": { + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + } + } + }, + "import-from-esm": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-1.3.4.tgz", + "integrity": "sha512-7EyUlPFC0HOlBDpUFGfYstsU7XHxZJKAAMzCT8wZ0hMW7b+hG51LIKTDcsgtz8Pu6YC0HqRVbX+rVUtsGMUKvg==", + "dev": true, + "requires": { + "debug": "^4.3.4", + "import-meta-resolve": "^4.0.0" + } + }, + "import-meta-resolve": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", + "integrity": "sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==", + "dev": true + }, + "indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true + }, + "index-to-position": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-0.1.2.tgz", + "integrity": "sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==", + "dev": true + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true + }, + "into-stream": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-7.0.0.tgz", + "integrity": "sha512-2dYz766i9HprMBasCMvHMuazJ7u4WzhJwo5kb3iPSiW/iRYV6uPari3zHoqZlnuaR7V1bEiNMxikhp37rdBXbw==", + "dev": true, + "requires": { + "from2": "^2.3.0", + "p-is-promise": "^3.0.0" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true + }, + "is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "dev": true + }, + "is-stream": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", + "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", + "dev": true + }, + "is-unicode-supported": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "issue-parser": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.1.tgz", + "integrity": "sha512-3YZcUUR2Wt1WsapF+S/WiA2WmlW0cWAoPccMqne7AxEBhCdFeTPjfv/Axb8V2gyCgY3nRw+ksZ3xSUX+R47iAg==", + "dev": true, + "requires": { + "lodash.capitalize": "^4.2.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.uniqby": "^4.7.0" + } + }, + "java-properties": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/java-properties/-/java-properties-1.0.2.tgz", + "integrity": "sha512-qjdpeo2yKlYTH7nFdK0vbZWuTCesk4o63v5iVOlhMQPfuIZQfW/HI35SjfhA+4qpg36rnFSvUK5b1m+ckIblQQ==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + }, + "dependencies": { + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + } + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "dev": true + }, + "lodash.capitalize": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", + "integrity": "sha512-kZzYOKspf8XVX5AvmQF94gQW0lejFVgb80G85bU4ZWzoJ6C03PQg3coYAUpSTpQWelrZELd3XWgHzw4Ck5kaIw==", + "dev": true + }, + "lodash.escaperegexp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", + "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==", + "dev": true + }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "dev": true + }, + "lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", + "dev": true + }, + "lodash.uniqby": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz", + "integrity": "sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww==", + "dev": true + }, + "lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true + }, + "marked": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", + "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==", + "dev": true + }, + "marked-terminal": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-7.2.1.tgz", + "integrity": "sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==", + "dev": true, + "requires": { + "ansi-escapes": "^7.0.0", + "ansi-regex": "^6.1.0", + "chalk": "^5.3.0", + "cli-highlight": "^2.1.11", + "cli-table3": "^0.6.5", + "node-emoji": "^2.1.3", + "supports-hyperlinks": "^3.1.0" + } + }, + "meow": { + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", + "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==", + "dev": true + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true + }, + "micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "requires": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + } + }, + "mime": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.4.tgz", + "integrity": "sha512-v8yqInVjhXyqP6+Kw4fV3ZzeMRqEW6FotRsKXjRS5VMTNIuXsdRoAvklpoRgSqXm6o9VNH4/C0mgedko9DdLsQ==", + "dev": true + }, + "mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "dev": true + }, + "minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "requires": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true + }, + "nerf-dart": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/nerf-dart/-/nerf-dart-1.0.0.tgz", + "integrity": "sha512-EZSPZB70jiVsivaBLYDCyntd5eH8NTSMOn3rB+HxwdmKThGELLdYv8qVIMWvZEFy9w8ZZpW9h9OB32l1rGtj7g==", + "dev": true + }, + "node-emoji": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.1.3.tgz", + "integrity": "sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==", + "dev": true, + "requires": { + "@sindresorhus/is": "^4.6.0", + "char-regex": "^1.0.2", + "emojilib": "^2.4.0", + "skin-tone": "^2.0.0" + } + }, + "normalize-package-data": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", + "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", + "dev": true, + "requires": { + "hosted-git-info": "^7.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "dependencies": { + "hosted-git-info": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", + "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", + "dev": true, + "requires": { + "lru-cache": "^10.0.1" + } + } + } + }, + "normalize-url": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz", + "integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==", + "dev": true + }, + "npm": { + "version": "10.9.0", + "resolved": "https://registry.npmjs.org/npm/-/npm-10.9.0.tgz", + "integrity": "sha512-ZanDioFylI9helNhl2LNd+ErmVD+H5I53ry41ixlLyCBgkuYb+58CvbAp99hW+zr5L9W4X7CchSoeqKdngOLSw==", + "dev": true, + "requires": { + "@isaacs/string-locale-compare": "^1.1.0", + "@npmcli/arborist": "^8.0.0", + "@npmcli/config": "^9.0.0", + "@npmcli/fs": "^4.0.0", + "@npmcli/map-workspaces": "^4.0.1", + "@npmcli/package-json": "^6.0.1", + "@npmcli/promise-spawn": "^8.0.1", + "@npmcli/redact": "^3.0.0", + "@npmcli/run-script": "^9.0.1", + "@sigstore/tuf": "^2.3.4", + "abbrev": "^3.0.0", + "archy": "~1.0.0", + "cacache": "^19.0.1", + "chalk": "^5.3.0", + "ci-info": "^4.0.0", + "cli-columns": "^4.0.0", + "fastest-levenshtein": "^1.0.16", + "fs-minipass": "^3.0.3", + "glob": "^10.4.5", + "graceful-fs": "^4.2.11", + "hosted-git-info": "^8.0.0", + "ini": "^5.0.0", + "init-package-json": "^7.0.1", + "is-cidr": "^5.1.0", + "json-parse-even-better-errors": "^4.0.0", + "libnpmaccess": "^9.0.0", + "libnpmdiff": "^7.0.0", + "libnpmexec": "^9.0.0", + "libnpmfund": "^6.0.0", + "libnpmhook": "^11.0.0", + "libnpmorg": "^7.0.0", + "libnpmpack": "^8.0.0", + "libnpmpublish": "^10.0.0", + "libnpmsearch": "^8.0.0", + "libnpmteam": "^7.0.0", + "libnpmversion": "^7.0.0", + "make-fetch-happen": "^14.0.1", + "minimatch": "^9.0.5", + "minipass": "^7.1.1", + "minipass-pipeline": "^1.2.4", + "ms": "^2.1.2", + "node-gyp": "^10.2.0", + "nopt": "^8.0.0", + "normalize-package-data": "^7.0.0", + "npm-audit-report": "^6.0.0", + "npm-install-checks": "^7.1.0", + "npm-package-arg": "^12.0.0", + "npm-pick-manifest": "^10.0.0", + "npm-profile": "^11.0.1", + "npm-registry-fetch": "^18.0.1", + "npm-user-validate": "^3.0.0", + "p-map": "^4.0.0", + "pacote": "^19.0.0", + "parse-conflict-json": "^4.0.0", + "proc-log": "^5.0.0", + "qrcode-terminal": "^0.12.0", + "read": "^4.0.0", + "semver": "^7.6.3", + "spdx-expression-parse": "^4.0.0", + "ssri": "^12.0.0", + "supports-color": "^9.4.0", + "tar": "^6.2.1", + "text-table": "~0.2.0", + "tiny-relative-date": "^1.3.0", + "treeverse": "^3.0.0", + "validate-npm-package-name": "^6.0.0", + "which": "^5.0.0", + "write-file-atomic": "^6.0.0" + }, + "dependencies": { + "@isaacs/cliui": { + "version": "8.0.2", + "bundled": true, + "dev": true, + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "bundled": true, + "dev": true + }, + "emoji-regex": { + "version": "9.2.2", + "bundled": true, + "dev": true + }, + "string-width": { + "version": "5.1.2", + "bundled": true, + "dev": true, + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.1.0", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, + "@isaacs/fs-minipass": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^7.0.4" + } + }, + "@isaacs/string-locale-compare": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "@npmcli/agent": { + "version": "3.0.0", + "bundled": true, + "dev": true, + "requires": { + "agent-base": "^7.1.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.3" + } + }, + "@npmcli/arborist": { + "version": "8.0.0", + "bundled": true, + "dev": true, + "requires": { + "@isaacs/string-locale-compare": "^1.1.0", + "@npmcli/fs": "^4.0.0", + "@npmcli/installed-package-contents": "^3.0.0", + "@npmcli/map-workspaces": "^4.0.1", + "@npmcli/metavuln-calculator": "^8.0.0", + "@npmcli/name-from-folder": "^3.0.0", + "@npmcli/node-gyp": "^4.0.0", + "@npmcli/package-json": "^6.0.1", + "@npmcli/query": "^4.0.0", + "@npmcli/redact": "^3.0.0", + "@npmcli/run-script": "^9.0.1", + "bin-links": "^5.0.0", + "cacache": "^19.0.1", + "common-ancestor-path": "^1.0.1", + "hosted-git-info": "^8.0.0", + "json-parse-even-better-errors": "^4.0.0", + "json-stringify-nice": "^1.1.4", + "lru-cache": "^10.2.2", + "minimatch": "^9.0.4", + "nopt": "^8.0.0", + "npm-install-checks": "^7.1.0", + "npm-package-arg": "^12.0.0", + "npm-pick-manifest": "^10.0.0", + "npm-registry-fetch": "^18.0.1", + "pacote": "^19.0.0", + "parse-conflict-json": "^4.0.0", + "proc-log": "^5.0.0", + "proggy": "^3.0.0", + "promise-all-reject-late": "^1.0.0", + "promise-call-limit": "^3.0.1", + "read-package-json-fast": "^4.0.0", + "semver": "^7.3.7", + "ssri": "^12.0.0", + "treeverse": "^3.0.0", + "walk-up-path": "^3.0.1" + } + }, + "@npmcli/config": { + "version": "9.0.0", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/map-workspaces": "^4.0.1", + "@npmcli/package-json": "^6.0.1", + "ci-info": "^4.0.0", + "ini": "^5.0.0", + "nopt": "^8.0.0", + "proc-log": "^5.0.0", + "semver": "^7.3.5", + "walk-up-path": "^3.0.1" + } + }, + "@npmcli/fs": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "semver": "^7.3.5" + } + }, + "@npmcli/git": { + "version": "6.0.1", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/promise-spawn": "^8.0.0", + "ini": "^5.0.0", + "lru-cache": "^10.0.1", + "npm-pick-manifest": "^10.0.0", + "proc-log": "^5.0.0", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^5.0.0" + } + }, + "@npmcli/installed-package-contents": { + "version": "3.0.0", + "bundled": true, + "dev": true, + "requires": { + "npm-bundled": "^4.0.0", + "npm-normalize-package-bin": "^4.0.0" + } + }, + "@npmcli/map-workspaces": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/name-from-folder": "^3.0.0", + "@npmcli/package-json": "^6.0.0", + "glob": "^10.2.2", + "minimatch": "^9.0.0" + } + }, + "@npmcli/metavuln-calculator": { + "version": "8.0.0", + "bundled": true, + "dev": true, + "requires": { + "cacache": "^19.0.0", + "json-parse-even-better-errors": "^4.0.0", + "pacote": "^19.0.0", + "proc-log": "^5.0.0", + "semver": "^7.3.5" + } + }, + "@npmcli/name-from-folder": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "@npmcli/node-gyp": { + "version": "4.0.0", + "bundled": true, + "dev": true + }, + "@npmcli/package-json": { + "version": "6.0.1", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/git": "^6.0.0", + "glob": "^10.2.2", + "hosted-git-info": "^8.0.0", + "json-parse-even-better-errors": "^4.0.0", + "normalize-package-data": "^7.0.0", + "proc-log": "^5.0.0", + "semver": "^7.5.3" + } + }, + "@npmcli/promise-spawn": { + "version": "8.0.1", + "bundled": true, + "dev": true, + "requires": { + "which": "^5.0.0" + } + }, + "@npmcli/query": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "postcss-selector-parser": "^6.1.2" + } + }, + "@npmcli/redact": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "@npmcli/run-script": { + "version": "9.0.1", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/node-gyp": "^4.0.0", + "@npmcli/package-json": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "node-gyp": "^10.0.0", + "proc-log": "^5.0.0", + "which": "^5.0.0" + } + }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "bundled": true, + "dev": true, + "optional": true + }, + "@sigstore/bundle": { + "version": "2.3.2", + "bundled": true, + "dev": true, + "requires": { + "@sigstore/protobuf-specs": "^0.3.2" + } + }, + "@sigstore/core": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "@sigstore/protobuf-specs": { + "version": "0.3.2", + "bundled": true, + "dev": true + }, + "@sigstore/sign": { + "version": "2.3.2", + "bundled": true, + "dev": true, + "requires": { + "@sigstore/bundle": "^2.3.2", + "@sigstore/core": "^1.0.0", + "@sigstore/protobuf-specs": "^0.3.2", + "make-fetch-happen": "^13.0.1", + "proc-log": "^4.2.0", + "promise-retry": "^2.0.1" + }, + "dependencies": { + "@npmcli/agent": { + "version": "2.2.2", + "bundled": true, + "dev": true, + "requires": { + "agent-base": "^7.1.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.3" + } + }, + "@npmcli/fs": { + "version": "3.1.1", + "bundled": true, + "dev": true, + "requires": { + "semver": "^7.3.5" + } + }, + "cacache": { + "version": "18.0.4", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + } + }, + "make-fetch-happen": { + "version": "13.0.1", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/agent": "^2.0.0", + "cacache": "^18.0.0", + "http-cache-semantics": "^4.1.1", + "is-lambda": "^1.0.1", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "proc-log": "^4.2.0", + "promise-retry": "^2.0.1", + "ssri": "^10.0.0" + } + }, + "minipass-fetch": { + "version": "3.0.5", + "bundled": true, + "dev": true, + "requires": { + "encoding": "^0.1.13", + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + } + }, + "proc-log": { + "version": "4.2.0", + "bundled": true, + "dev": true + }, + "ssri": { + "version": "10.0.6", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^7.0.3" + } + }, + "unique-filename": { + "version": "3.0.0", + "bundled": true, + "dev": true, + "requires": { + "unique-slug": "^4.0.0" + } + }, + "unique-slug": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "imurmurhash": "^0.1.4" + } + } + } + }, + "@sigstore/tuf": { + "version": "2.3.4", + "bundled": true, + "dev": true, + "requires": { + "@sigstore/protobuf-specs": "^0.3.2", + "tuf-js": "^2.2.1" + } + }, + "@sigstore/verify": { + "version": "1.2.1", + "bundled": true, + "dev": true, + "requires": { + "@sigstore/bundle": "^2.3.2", + "@sigstore/core": "^1.1.0", + "@sigstore/protobuf-specs": "^0.3.2" + } + }, + "@tufjs/canonical-json": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "@tufjs/models": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "@tufjs/canonical-json": "2.0.0", + "minimatch": "^9.0.4" + } + }, + "abbrev": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "agent-base": { + "version": "7.1.1", + "bundled": true, + "dev": true, + "requires": { + "debug": "^4.3.4" + } + }, + "aggregate-error": { + "version": "3.1.0", + "bundled": true, + "dev": true, + "requires": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + } + }, + "ansi-regex": { + "version": "5.0.1", + "bundled": true, + "dev": true + }, + "ansi-styles": { + "version": "6.2.1", + "bundled": true, + "dev": true + }, + "aproba": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "archy": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "balanced-match": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "bin-links": { + "version": "5.0.0", + "bundled": true, + "dev": true, + "requires": { + "cmd-shim": "^7.0.0", + "npm-normalize-package-bin": "^4.0.0", + "proc-log": "^5.0.0", + "read-cmd-shim": "^5.0.0", + "write-file-atomic": "^6.0.0" + } + }, + "binary-extensions": { + "version": "2.3.0", + "bundled": true, + "dev": true + }, + "brace-expansion": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "cacache": { + "version": "19.0.1", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/fs": "^4.0.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^7.0.2", + "ssri": "^12.0.0", + "tar": "^7.4.3", + "unique-filename": "^4.0.0" + }, + "dependencies": { + "chownr": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "minizlib": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^7.0.4", + "rimraf": "^5.0.5" + } + }, + "mkdirp": { + "version": "3.0.1", + "bundled": true, + "dev": true + }, + "p-map": { + "version": "7.0.2", + "bundled": true, + "dev": true + }, + "tar": { + "version": "7.4.3", + "bundled": true, + "dev": true, + "requires": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + } + }, + "yallist": { + "version": "5.0.0", + "bundled": true, + "dev": true + } + } + }, + "chalk": { + "version": "5.3.0", + "bundled": true, + "dev": true + }, + "chownr": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "ci-info": { + "version": "4.0.0", + "bundled": true, + "dev": true + }, + "cidr-regex": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "requires": { + "ip-regex": "^5.0.0" + } + }, + "clean-stack": { + "version": "2.2.0", + "bundled": true, + "dev": true + }, + "cli-columns": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1" + } + }, + "cmd-shim": { + "version": "7.0.0", + "bundled": true, + "dev": true + }, + "color-convert": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "bundled": true, + "dev": true + }, + "common-ancestor-path": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "cross-spawn": { + "version": "7.0.3", + "bundled": true, + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "dependencies": { + "which": { + "version": "2.0.2", + "bundled": true, + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "cssesc": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "debug": { + "version": "4.3.6", + "bundled": true, + "dev": true, + "requires": { + "ms": "2.1.2" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "bundled": true, + "dev": true + } + } + }, + "diff": { + "version": "5.2.0", + "bundled": true, + "dev": true + }, + "eastasianwidth": { + "version": "0.2.0", + "bundled": true, + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "bundled": true, + "dev": true + }, + "encoding": { + "version": "0.1.13", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "iconv-lite": "^0.6.2" + } + }, + "env-paths": { + "version": "2.2.1", + "bundled": true, + "dev": true + }, + "err-code": { + "version": "2.0.3", + "bundled": true, + "dev": true + }, + "exponential-backoff": { + "version": "3.1.1", + "bundled": true, + "dev": true + }, + "fastest-levenshtein": { + "version": "1.0.16", + "bundled": true, + "dev": true + }, + "foreground-child": { + "version": "3.3.0", + "bundled": true, + "dev": true, + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + } + }, + "fs-minipass": { + "version": "3.0.3", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^7.0.3" + } + }, + "glob": { + "version": "10.4.5", + "bundled": true, + "dev": true, + "requires": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + } + }, + "graceful-fs": { + "version": "4.2.11", + "bundled": true, + "dev": true + }, + "hosted-git-info": { + "version": "8.0.0", + "bundled": true, + "dev": true, + "requires": { + "lru-cache": "^10.0.1" + } + }, + "http-cache-semantics": { + "version": "4.1.1", + "bundled": true, + "dev": true + }, + "http-proxy-agent": { + "version": "7.0.2", + "bundled": true, + "dev": true, + "requires": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + } + }, + "https-proxy-agent": { + "version": "7.0.5", + "bundled": true, + "dev": true, + "requires": { + "agent-base": "^7.0.2", + "debug": "4" + } + }, + "iconv-lite": { + "version": "0.6.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "ignore-walk": { + "version": "7.0.0", + "bundled": true, + "dev": true, + "requires": { + "minimatch": "^9.0.0" + } + }, + "imurmurhash": { + "version": "0.1.4", + "bundled": true, + "dev": true + }, + "indent-string": { + "version": "4.0.0", + "bundled": true, + "dev": true + }, + "ini": { + "version": "5.0.0", + "bundled": true, + "dev": true + }, + "init-package-json": { + "version": "7.0.1", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/package-json": "^6.0.0", + "npm-package-arg": "^12.0.0", + "promzard": "^2.0.0", + "read": "^4.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4", + "validate-npm-package-name": "^6.0.0" + } + }, + "ip-address": { + "version": "9.0.5", + "bundled": true, + "dev": true, + "requires": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + } + }, + "ip-regex": { + "version": "5.0.0", + "bundled": true, + "dev": true + }, + "is-cidr": { + "version": "5.1.0", + "bundled": true, + "dev": true, + "requires": { + "cidr-regex": "^4.1.1" + } + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "is-lambda": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "isexe": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "jackspeak": { + "version": "3.4.3", + "bundled": true, + "dev": true, + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, + "jsbn": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "json-parse-even-better-errors": { + "version": "4.0.0", + "bundled": true, + "dev": true + }, + "json-stringify-nice": { + "version": "1.1.4", + "bundled": true, + "dev": true + }, + "jsonparse": { + "version": "1.3.1", + "bundled": true, + "dev": true + }, + "just-diff": { + "version": "6.0.2", + "bundled": true, + "dev": true + }, + "just-diff-apply": { + "version": "5.5.0", + "bundled": true, + "dev": true + }, + "libnpmaccess": { + "version": "9.0.0", + "bundled": true, + "dev": true, + "requires": { + "npm-package-arg": "^12.0.0", + "npm-registry-fetch": "^18.0.1" + } + }, + "libnpmdiff": { + "version": "7.0.0", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/arborist": "^8.0.0", + "@npmcli/installed-package-contents": "^3.0.0", + "binary-extensions": "^2.3.0", + "diff": "^5.1.0", + "minimatch": "^9.0.4", + "npm-package-arg": "^12.0.0", + "pacote": "^19.0.0", + "tar": "^6.2.1" + } + }, + "libnpmexec": { + "version": "9.0.0", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/arborist": "^8.0.0", + "@npmcli/run-script": "^9.0.1", + "ci-info": "^4.0.0", + "npm-package-arg": "^12.0.0", + "pacote": "^19.0.0", + "proc-log": "^5.0.0", + "read": "^4.0.0", + "read-package-json-fast": "^4.0.0", + "semver": "^7.3.7", + "walk-up-path": "^3.0.1" + } + }, + "libnpmfund": { + "version": "6.0.0", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/arborist": "^8.0.0" + } + }, + "libnpmhook": { + "version": "11.0.0", + "bundled": true, + "dev": true, + "requires": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^18.0.1" + } + }, + "libnpmorg": { + "version": "7.0.0", + "bundled": true, + "dev": true, + "requires": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^18.0.1" + } + }, + "libnpmpack": { + "version": "8.0.0", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/arborist": "^8.0.0", + "@npmcli/run-script": "^9.0.1", + "npm-package-arg": "^12.0.0", + "pacote": "^19.0.0" + } + }, + "libnpmpublish": { + "version": "10.0.0", + "bundled": true, + "dev": true, + "requires": { + "ci-info": "^4.0.0", + "normalize-package-data": "^7.0.0", + "npm-package-arg": "^12.0.0", + "npm-registry-fetch": "^18.0.1", + "proc-log": "^5.0.0", + "semver": "^7.3.7", + "sigstore": "^2.2.0", + "ssri": "^12.0.0" + } + }, + "libnpmsearch": { + "version": "8.0.0", + "bundled": true, + "dev": true, + "requires": { + "npm-registry-fetch": "^18.0.1" + } + }, + "libnpmteam": { + "version": "7.0.0", + "bundled": true, + "dev": true, + "requires": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^18.0.1" + } + }, + "libnpmversion": { + "version": "7.0.0", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/git": "^6.0.1", + "@npmcli/run-script": "^9.0.1", + "json-parse-even-better-errors": "^4.0.0", + "proc-log": "^5.0.0", + "semver": "^7.3.7" + } + }, + "lru-cache": { + "version": "10.4.3", + "bundled": true, + "dev": true + }, + "make-fetch-happen": { + "version": "14.0.1", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/agent": "^3.0.0", + "cacache": "^19.0.1", + "http-cache-semantics": "^4.1.1", + "minipass": "^7.0.2", + "minipass-fetch": "^4.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1", + "ssri": "^12.0.0" + } + }, + "minimatch": { + "version": "9.0.5", + "bundled": true, + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "minipass": { + "version": "7.1.2", + "bundled": true, + "dev": true + }, + "minipass-collect": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^7.0.3" + } + }, + "minipass-fetch": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "encoding": "^0.1.13", + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^3.0.1" + }, + "dependencies": { + "minizlib": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^7.0.4", + "rimraf": "^5.0.5" + } + } + } + }, + "minipass-flush": { + "version": "1.0.5", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^3.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.3.6", + "bundled": true, + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + } + } + }, + "minipass-pipeline": { + "version": "1.2.4", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^3.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.3.6", + "bundled": true, + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + } + } + }, + "minipass-sized": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^3.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.3.6", + "bundled": true, + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + } + } + }, + "minizlib": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.3.6", + "bundled": true, + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + } + } + }, + "mkdirp": { + "version": "1.0.4", + "bundled": true, + "dev": true + }, + "ms": { + "version": "2.1.3", + "bundled": true, + "dev": true + }, + "mute-stream": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "negotiator": { + "version": "0.6.3", + "bundled": true, + "dev": true + }, + "node-gyp": { + "version": "10.2.0", + "bundled": true, + "dev": true, + "requires": { + "env-paths": "^2.2.0", + "exponential-backoff": "^3.1.1", + "glob": "^10.3.10", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^13.0.0", + "nopt": "^7.0.0", + "proc-log": "^4.1.0", + "semver": "^7.3.5", + "tar": "^6.2.1", + "which": "^4.0.0" + }, + "dependencies": { + "@npmcli/agent": { + "version": "2.2.2", + "bundled": true, + "dev": true, + "requires": { + "agent-base": "^7.1.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.3" + } + }, + "@npmcli/fs": { + "version": "3.1.1", + "bundled": true, + "dev": true, + "requires": { + "semver": "^7.3.5" + } + }, + "abbrev": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "cacache": { + "version": "18.0.4", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + } + }, + "isexe": { + "version": "3.1.1", + "bundled": true, + "dev": true + }, + "make-fetch-happen": { + "version": "13.0.1", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/agent": "^2.0.0", + "cacache": "^18.0.0", + "http-cache-semantics": "^4.1.1", + "is-lambda": "^1.0.1", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "proc-log": "^4.2.0", + "promise-retry": "^2.0.1", + "ssri": "^10.0.0" + } + }, + "minipass-fetch": { + "version": "3.0.5", + "bundled": true, + "dev": true, + "requires": { + "encoding": "^0.1.13", + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + } + }, + "nopt": { + "version": "7.2.1", + "bundled": true, + "dev": true, + "requires": { + "abbrev": "^2.0.0" + } + }, + "proc-log": { + "version": "4.2.0", + "bundled": true, + "dev": true + }, + "ssri": { + "version": "10.0.6", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^7.0.3" + } + }, + "unique-filename": { + "version": "3.0.0", + "bundled": true, + "dev": true, + "requires": { + "unique-slug": "^4.0.0" + } + }, + "unique-slug": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "imurmurhash": "^0.1.4" + } + }, + "which": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "isexe": "^3.1.1" + } + } + } + }, + "nopt": { + "version": "8.0.0", + "bundled": true, + "dev": true, + "requires": { + "abbrev": "^2.0.0" + }, + "dependencies": { + "abbrev": { + "version": "2.0.0", + "bundled": true, + "dev": true + } + } + }, + "normalize-package-data": { + "version": "7.0.0", + "bundled": true, + "dev": true, + "requires": { + "hosted-git-info": "^8.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + } + }, + "npm-audit-report": { + "version": "6.0.0", + "bundled": true, + "dev": true + }, + "npm-bundled": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "npm-normalize-package-bin": "^4.0.0" + } + }, + "npm-install-checks": { + "version": "7.1.0", + "bundled": true, + "dev": true, + "requires": { + "semver": "^7.1.1" + } + }, + "npm-normalize-package-bin": { + "version": "4.0.0", + "bundled": true, + "dev": true + }, + "npm-package-arg": { + "version": "12.0.0", + "bundled": true, + "dev": true, + "requires": { + "hosted-git-info": "^8.0.0", + "proc-log": "^5.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^6.0.0" + } + }, + "npm-packlist": { + "version": "9.0.0", + "bundled": true, + "dev": true, + "requires": { + "ignore-walk": "^7.0.0" + } + }, + "npm-pick-manifest": { + "version": "10.0.0", + "bundled": true, + "dev": true, + "requires": { + "npm-install-checks": "^7.1.0", + "npm-normalize-package-bin": "^4.0.0", + "npm-package-arg": "^12.0.0", + "semver": "^7.3.5" + } + }, + "npm-profile": { + "version": "11.0.1", + "bundled": true, + "dev": true, + "requires": { + "npm-registry-fetch": "^18.0.0", + "proc-log": "^5.0.0" + } + }, + "npm-registry-fetch": { + "version": "18.0.1", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/redact": "^3.0.0", + "jsonparse": "^1.3.1", + "make-fetch-happen": "^14.0.0", + "minipass": "^7.0.2", + "minipass-fetch": "^4.0.0", + "minizlib": "^3.0.1", + "npm-package-arg": "^12.0.0", + "proc-log": "^5.0.0" + }, + "dependencies": { + "minizlib": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^7.0.4", + "rimraf": "^5.0.5" + } + } + } + }, + "npm-user-validate": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "p-map": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "aggregate-error": "^3.0.0" + } + }, + "package-json-from-dist": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "pacote": { + "version": "19.0.0", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/git": "^6.0.0", + "@npmcli/installed-package-contents": "^3.0.0", + "@npmcli/package-json": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "@npmcli/run-script": "^9.0.0", + "cacache": "^19.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^7.0.2", + "npm-package-arg": "^12.0.0", + "npm-packlist": "^9.0.0", + "npm-pick-manifest": "^10.0.0", + "npm-registry-fetch": "^18.0.0", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1", + "sigstore": "^2.2.0", + "ssri": "^12.0.0", + "tar": "^6.1.11" + } + }, + "parse-conflict-json": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "json-parse-even-better-errors": "^4.0.0", + "just-diff": "^6.0.0", + "just-diff-apply": "^5.2.0" + } + }, + "path-key": { + "version": "3.1.1", + "bundled": true, + "dev": true + }, + "path-scurry": { + "version": "1.11.1", + "bundled": true, + "dev": true, + "requires": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + } + }, + "postcss-selector-parser": { + "version": "6.1.2", + "bundled": true, + "dev": true, + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + }, + "proc-log": { + "version": "5.0.0", + "bundled": true, + "dev": true + }, + "proggy": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "promise-all-reject-late": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "promise-call-limit": { + "version": "3.0.1", + "bundled": true, + "dev": true + }, + "promise-inflight": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "promise-retry": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "err-code": "^2.0.2", + "retry": "^0.12.0" + } + }, + "promzard": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "requires": { + "read": "^4.0.0" + } + }, + "qrcode-terminal": { + "version": "0.12.0", + "bundled": true, + "dev": true + }, + "read": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "mute-stream": "^2.0.0" + } + }, + "read-cmd-shim": { + "version": "5.0.0", + "bundled": true, + "dev": true + }, + "read-package-json-fast": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "json-parse-even-better-errors": "^4.0.0", + "npm-normalize-package-bin": "^4.0.0" + } + }, + "retry": { + "version": "0.12.0", + "bundled": true, + "dev": true + }, + "rimraf": { + "version": "5.0.10", + "bundled": true, + "dev": true, + "requires": { + "glob": "^10.3.7" + } + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "semver": { + "version": "7.6.3", + "bundled": true, + "dev": true + }, + "shebang-command": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "signal-exit": { + "version": "4.1.0", + "bundled": true, + "dev": true + }, + "sigstore": { + "version": "2.3.1", + "bundled": true, + "dev": true, + "requires": { + "@sigstore/bundle": "^2.3.2", + "@sigstore/core": "^1.0.0", + "@sigstore/protobuf-specs": "^0.3.2", + "@sigstore/sign": "^2.3.2", + "@sigstore/tuf": "^2.3.4", + "@sigstore/verify": "^1.2.1" + } + }, + "smart-buffer": { + "version": "4.2.0", + "bundled": true, + "dev": true + }, + "socks": { + "version": "2.8.3", + "bundled": true, + "dev": true, + "requires": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + } + }, + "socks-proxy-agent": { + "version": "8.0.4", + "bundled": true, + "dev": true, + "requires": { + "agent-base": "^7.1.1", + "debug": "^4.3.4", + "socks": "^2.8.3" + } + }, + "spdx-correct": { + "version": "3.2.0", + "bundled": true, + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + }, + "dependencies": { + "spdx-expression-parse": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + } + } + }, + "spdx-exceptions": { + "version": "2.5.0", + "bundled": true, + "dev": true + }, + "spdx-expression-parse": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.18", + "bundled": true, + "dev": true + }, + "sprintf-js": { + "version": "1.1.3", + "bundled": true, + "dev": true + }, + "ssri": { + "version": "12.0.0", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^7.0.3" + } + }, + "string-width": { + "version": "4.2.3", + "bundled": true, + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "bundled": true, + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "supports-color": { + "version": "9.4.0", + "bundled": true, + "dev": true + }, + "tar": { + "version": "6.2.1", + "bundled": true, + "dev": true, + "requires": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^5.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "dependencies": { + "fs-minipass": { + "version": "2.1.0", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^3.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.3.6", + "bundled": true, + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + } + } + }, + "minipass": { + "version": "5.0.0", + "bundled": true, + "dev": true + } + } + }, + "text-table": { + "version": "0.2.0", + "bundled": true, + "dev": true + }, + "tiny-relative-date": { + "version": "1.3.0", + "bundled": true, + "dev": true + }, + "treeverse": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "tuf-js": { + "version": "2.2.1", + "bundled": true, + "dev": true, + "requires": { + "@tufjs/models": "2.0.1", + "debug": "^4.3.4", + "make-fetch-happen": "^13.0.1" + }, + "dependencies": { + "@npmcli/agent": { + "version": "2.2.2", + "bundled": true, + "dev": true, + "requires": { + "agent-base": "^7.1.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.3" + } + }, + "@npmcli/fs": { + "version": "3.1.1", + "bundled": true, + "dev": true, + "requires": { + "semver": "^7.3.5" + } + }, + "cacache": { + "version": "18.0.4", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + } + }, + "make-fetch-happen": { + "version": "13.0.1", + "bundled": true, + "dev": true, + "requires": { + "@npmcli/agent": "^2.0.0", + "cacache": "^18.0.0", + "http-cache-semantics": "^4.1.1", + "is-lambda": "^1.0.1", + "minipass": "^7.0.2", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "proc-log": "^4.2.0", + "promise-retry": "^2.0.1", + "ssri": "^10.0.0" + } + }, + "minipass-fetch": { + "version": "3.0.5", + "bundled": true, + "dev": true, + "requires": { + "encoding": "^0.1.13", + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + } + }, + "proc-log": { + "version": "4.2.0", + "bundled": true, + "dev": true + }, + "ssri": { + "version": "10.0.6", + "bundled": true, + "dev": true, + "requires": { + "minipass": "^7.0.3" + } + }, + "unique-filename": { + "version": "3.0.0", + "bundled": true, + "dev": true, + "requires": { + "unique-slug": "^4.0.0" + } + }, + "unique-slug": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "imurmurhash": "^0.1.4" + } + } + } + }, + "unique-filename": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "unique-slug": "^5.0.0" + } + }, + "unique-slug": { + "version": "5.0.0", + "bundled": true, + "dev": true, + "requires": { + "imurmurhash": "^0.1.4" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + }, + "dependencies": { + "spdx-expression-parse": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + } + } + }, + "validate-npm-package-name": { + "version": "6.0.0", + "bundled": true, + "dev": true + }, + "walk-up-path": { + "version": "3.0.1", + "bundled": true, + "dev": true + }, + "which": { + "version": "5.0.0", + "bundled": true, + "dev": true, + "requires": { + "isexe": "^3.1.1" + }, + "dependencies": { + "isexe": { + "version": "3.1.1", + "bundled": true, + "dev": true + } + } + }, + "wrap-ansi": { + "version": "8.1.0", + "bundled": true, + "dev": true, + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "bundled": true, + "dev": true + }, + "emoji-regex": { + "version": "9.2.2", + "bundled": true, + "dev": true + }, + "string-width": { + "version": "5.1.2", + "bundled": true, + "dev": true, + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.1.0", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "bundled": true, + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "bundled": true, + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + } + } + }, + "write-file-atomic": { + "version": "6.0.0", + "bundled": true, + "dev": true, + "requires": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + } + }, + "yallist": { + "version": "4.0.0", + "bundled": true, + "dev": true + } + } + }, + "npm-run-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-6.0.0.tgz", + "integrity": "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==", + "dev": true, + "requires": { + "path-key": "^4.0.0", + "unicorn-magic": "^0.3.0" + }, + "dependencies": { + "path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true + }, + "unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "dev": true + } + } + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true + }, + "onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "dev": true, + "requires": { + "mimic-fn": "^4.0.0" + } + }, + "p-each-series": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-3.0.0.tgz", + "integrity": "sha512-lastgtAdoH9YaLyDa5i5z64q+kzOcQHsQ5SsZJD3q0VEyI8mq872S3geuNbRUQLVAE9siMfgKrpj7MloKFHruw==", + "dev": true + }, + "p-filter": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-filter/-/p-filter-4.1.0.tgz", + "integrity": "sha512-37/tPdZ3oJwHaS3gNJdenCDB3Tz26i9sjhnguBtvN0vYlRIiDNnvTWkuh+0hETV9rLPdJ3rlL3yVOYPIAnM8rw==", + "dev": true, + "requires": { + "p-map": "^7.0.1" + } + }, + "p-is-promise": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-3.0.0.tgz", + "integrity": "sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==", + "dev": true + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-map": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.2.tgz", + "integrity": "sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==", + "dev": true + }, + "p-reduce": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-3.0.0.tgz", + "integrity": "sha512-xsrIUgI0Kn6iyDYm9StOpOeK29XM1aboGji26+QEortiFST1hGZaUQOLhtEbqHErPpGW/aSz6allwK2qcptp0Q==", + "dev": true + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", + "dev": true + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + } + }, + "parse-ms": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", + "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", + "dev": true + }, + "parse5": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", + "dev": true + }, + "parse5-htmlparser2-tree-adapter": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz", + "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==", + "dev": true, + "requires": { + "parse5": "^6.0.1" + }, + "dependencies": { + "parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + } + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "dev": true + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + }, + "picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "dev": true + }, + "pkg-conf": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz", + "integrity": "sha512-C+VUP+8jis7EsQZIhDYmS5qlNtjv2yP4SNtjXK9AP1ZcTRlnSfuumaTnRfYZnYgUUYVIKqL0fRvmUGDV2fmp6g==", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "load-json-file": "^4.0.0" + } + }, + "pretty-ms": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.2.0.tgz", + "integrity": "sha512-4yf0QO/sllf/1zbZWYnvWw3NxCQwLXKzIj0G849LSufP15BXKM0rbD2Z3wVnkMfjdn/CB0Dpp444gYAACdsplg==", + "dev": true, + "requires": { + "parse-ms": "^4.0.0" + } + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true + }, + "proto-list": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", + "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", + "dev": true + }, + "queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + } + }, + "read-package-up": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/read-package-up/-/read-package-up-11.0.0.tgz", + "integrity": "sha512-MbgfoNPANMdb4oRBNg5eqLbB2t2r+o5Ua1pNt8BqGp4I0FJZhuVSOj3PaBPni4azWuSzEdNn2evevzVmEk1ohQ==", + "dev": true, + "requires": { + "find-up-simple": "^1.0.0", + "read-pkg": "^9.0.0", + "type-fest": "^4.6.0" + } + }, + "read-pkg": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-9.0.1.tgz", + "integrity": "sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.3", + "normalize-package-data": "^6.0.0", + "parse-json": "^8.0.0", + "type-fest": "^4.6.0", + "unicorn-magic": "^0.1.0" + }, + "dependencies": { + "parse-json": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.1.0.tgz", + "integrity": "sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.22.13", + "index-to-position": "^0.1.2", + "type-fest": "^4.7.1" + } + } + } + }, + "readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "registry-auth-token": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-5.0.2.tgz", + "integrity": "sha512-o/3ikDxtXaA59BmZuZrJZDJv8NMDGSj+6j6XaeBmHw8eY1i1qd9+6H+LjVvQXx3HN6aRCGa1cUdJ9RaJZUugnQ==", + "dev": true, + "requires": { + "@pnpm/npm-conf": "^2.1.0" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + }, + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true + }, + "run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "requires": { + "queue-microtask": "^1.2.2" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "semantic-release": { + "version": "24.2.0", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.2.0.tgz", + "integrity": "sha512-fQfn6e/aYToRtVJYKqneFM1Rg3KP2gh3wSWtpYsLlz6uaPKlISrTzvYAFn+mYWo07F0X1Cz5ucU89AVE8X1mbg==", + "dev": true, + "requires": { + "@semantic-release/commit-analyzer": "^13.0.0-beta.1", + "@semantic-release/error": "^4.0.0", + "@semantic-release/github": "^11.0.0", + "@semantic-release/npm": "^12.0.0", + "@semantic-release/release-notes-generator": "^14.0.0-beta.1", + "aggregate-error": "^5.0.0", + "cosmiconfig": "^9.0.0", + "debug": "^4.0.0", + "env-ci": "^11.0.0", + "execa": "^9.0.0", + "figures": "^6.0.0", + "find-versions": "^6.0.0", + "get-stream": "^6.0.0", + "git-log-parser": "^1.2.0", + "hook-std": "^3.0.0", + "hosted-git-info": "^8.0.0", + "import-from-esm": "^1.3.1", + "lodash-es": "^4.17.21", + "marked": "^12.0.0", + "marked-terminal": "^7.0.0", + "micromatch": "^4.0.2", + "p-each-series": "^3.0.0", + "p-reduce": "^3.0.0", + "read-package-up": "^11.0.0", + "resolve-from": "^5.0.0", + "semver": "^7.3.2", + "semver-diff": "^4.0.0", + "signale": "^1.2.1", + "yargs": "^17.5.1" + } + }, + "semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true + }, + "semver-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-4.0.0.tgz", + "integrity": "sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==", + "dev": true, + "requires": { + "semver": "^7.3.5" + } + }, + "semver-regex": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-4.0.5.tgz", + "integrity": "sha512-hunMQrEy1T6Jr2uEVjrAIqjwWcQTgOAcIM52C8MY1EZSD3DDNft04XzvYKPqjED65bNVVko0YI38nYeEHCX3yw==", + "dev": true + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true + }, + "signale": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/signale/-/signale-1.4.0.tgz", + "integrity": "sha512-iuh+gPf28RkltuJC7W5MRi6XAjTDCAPC/prJUpQoG4vIP3MJZ+GTydVnodXA7pwvTKb2cA0m9OFZW/cdWy/I/w==", + "dev": true, + "requires": { + "chalk": "^2.3.2", + "figures": "^2.0.0", + "pkg-conf": "^2.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "skin-tone": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/skin-tone/-/skin-tone-2.0.0.tgz", + "integrity": "sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==", + "dev": true, + "requires": { + "unicode-emoji-modifier-base": "^1.0.0" + } + }, + "slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "spawn-error-forwarder": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/spawn-error-forwarder/-/spawn-error-forwarder-1.0.0.tgz", + "integrity": "sha512-gRjMgK5uFjbCvdibeGJuy3I5OYz6VLoVdsOJdA6wV0WlfQVLFueoqMxwwYD9RODdgb6oUIvlRlsyFSiQkMKu0g==", + "dev": true + }, + "spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz", + "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==", + "dev": true + }, + "split2": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-1.0.0.tgz", + "integrity": "sha512-NKywug4u4pX/AZBB1FCPzZ6/7O+Xhz1qMVbzTvvKvikjO99oPN87SkK08mEY9P63/5lWjK+wgOOgApnTg5r6qg==", + "dev": true, + "requires": { + "through2": "~2.0.0" + } + }, + "stream-combiner2": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", + "integrity": "sha512-3PnJbYgS56AeWgtKF5jtJRT6uFJe56Z0Hc5Ngg/6sI6rIt8iiMBTa9cvdyFfpMQjaVHr8dusbNeFGIIonxOvKw==", + "dev": true, + "requires": { + "duplexer2": "~0.1.0", + "readable-stream": "^2.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + } + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true + }, + "strip-final-newline": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz", + "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==", + "dev": true + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", + "dev": true + }, + "super-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/super-regex/-/super-regex-1.0.0.tgz", + "integrity": "sha512-CY8u7DtbvucKuquCmOFEKhr9Besln7n9uN8eFbwcoGYWXOMW07u2o8njWaiXt11ylS3qoGF55pILjRmPlbodyg==", + "dev": true, + "requires": { + "function-timeout": "^1.0.1", + "time-span": "^5.1.0" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "supports-hyperlinks": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.1.0.tgz", + "integrity": "sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==", + "dev": true, + "requires": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + } + }, + "temp-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz", + "integrity": "sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==", + "dev": true + }, + "tempy": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/tempy/-/tempy-3.1.0.tgz", + "integrity": "sha512-7jDLIdD2Zp0bDe5r3D2qtkd1QOCacylBuL7oa4udvN6v2pqr4+LcCr67C8DR1zkpaZ8XosF5m1yQSabKAW6f2g==", + "dev": true, + "requires": { + "is-stream": "^3.0.0", + "temp-dir": "^3.0.0", + "type-fest": "^2.12.2", + "unique-string": "^3.0.0" + }, + "dependencies": { + "is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true + }, + "type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", + "dev": true + } + } + }, + "thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "requires": { + "any-promise": "^1.0.0" + } + }, + "thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "requires": { + "thenify": ">= 3.1.0 < 4" + } + }, + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "time-span": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/time-span/-/time-span-5.1.0.tgz", + "integrity": "sha512-75voc/9G4rDIJleOo4jPvN4/YC4GRZrY8yy1uU4lwrB3XEQbWve8zXoO5No4eFrGcTAMYyoY67p8jRQdtA1HbA==", + "dev": true, + "requires": { + "convert-hrtime": "^5.0.0" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "traverse": { + "version": "0.6.8", + "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.8.tgz", + "integrity": "sha512-aXJDbk6SnumuaZSANd21XAo15ucCDE38H4fkqiGsc3MhCK+wOlZvLP9cB/TvpHT0mOyWgC4Z8EwRlzqYSUzdsA==", + "dev": true + }, + "type-fest": { + "version": "4.27.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.27.0.tgz", + "integrity": "sha512-3IMSWgP7C5KSQqmo1wjhKrwsvXAtF33jO3QY+Uy++ia7hqvgSK6iXbbg5PbDBc1P2ZbNEDgejOrN4YooXvhwCw==", + "dev": true + }, + "uglify-js": { + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", + "dev": true, + "optional": true + }, + "unicode-emoji-modifier-base": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz", + "integrity": "sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==", + "dev": true + }, + "unicorn-magic": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", + "dev": true + }, + "unique-string": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-3.0.0.tgz", + "integrity": "sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==", + "dev": true, + "requires": { + "crypto-random-string": "^4.0.0" + } + }, + "universal-user-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", + "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==", + "dev": true + }, + "universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true + }, + "url-join": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-5.0.0.tgz", + "integrity": "sha512-n2huDr9h9yzd6exQVnH/jU5mr+Pfx08LRXXZhkLLetAMESRj+anQsTAh940iMrIetKAmry9coFuZQ2jY8/p3WA==", + "dev": true + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", + "dev": true + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true + }, + "yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true + }, + "yoctocolors": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.1.1.tgz", + "integrity": "sha512-GQHQqAopRhwU8Kt1DDM8NjibDXHC8eoh1erhGAJPEyveY9qqVeXvVikNKrDz69sHowPMorbPUrH/mx8c50eiBQ==", + "dev": true } } } diff --git a/package.json b/package.json index 130e366..05b0d35 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { - "name": "@anduril/lattice-sdk-javascript", - "version": "1.0.13", + "name": "@anduril/lattice-sdk", + "version": "0.0.0-development", "description": "The Lattice SDK vended in Javascript", + "license": "SEE LICENSE IN LICENSE.txt", "repository": { "type": "git", "url": "git+https://github.com/anduril/lattice-sdk-javascript.git" @@ -11,10 +12,10 @@ "url": "https://github.com/anduril/lattice-sdk-javascript/issues" }, "homepage": "https://github.com/anduril/lattice-sdk-javascript#readme", - "publishConfig": { - "registry": "https://npm.pkg.github.com" - }, "dependencies": { "@bufbuild/protobuf": "^1.10.0" + }, + "devDependencies": { + "semantic-release": "^24.2.0" } }