@in-human-resources/backend-proto 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/api/v1/README.md +7 -0
- package/api/v1/hiring.proto +19 -0
- package/api/v1/pipeline.proto +156 -0
- package/buf.gen.yaml +3 -3
- package/gen/ts/api/v1/auth_connect.ts +3 -3
- package/gen/ts/api/v1/auth_pb.ts +2 -2
- package/gen/ts/api/v1/candidate_connect.ts +3 -3
- package/gen/ts/api/v1/candidate_pb.ts +1 -1
- package/gen/ts/api/v1/common_pb.ts +1 -1
- package/gen/ts/api/v1/company_connect.ts +3 -3
- package/gen/ts/api/v1/company_pb.ts +1 -1
- package/gen/ts/api/v1/hiring_connect.ts +95 -2
- package/gen/ts/api/v1/hiring_pb.ts +31 -1
- package/gen/ts/api/v1/pipeline_pb.ts +1220 -0
- package/gen/ts/auth/v1/service_connect.ts +2 -2
- package/gen/ts/auth/v1/service_pb.ts +2 -2
- package/gen/ts/common/v1/common_pb.ts +1 -1
- package/gen/ts/hiring/v1/pipeline_pb.ts +1220 -0
- package/gen/ts/hiring/v1/service_connect.ts +95 -2
- package/gen/ts/hiring/v1/service_pb.ts +31 -1
- package/gen/ts/in-human-resources-backend-proto-0.1.6-local.tgz +0 -0
- package/gen/ts/node_modules/.package-lock.json +39 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/README.md +43 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.d.ts +422 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.js +444 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.d.ts +113 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.js +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.d.ts +33 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.js +69 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.d.ts +36 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.js +910 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.d.ts +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.js +264 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.d.ts +13 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.js +103 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.d.ts +672 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.js +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/enum.d.ts +35 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/enum.js +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.d.ts +35 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.js +114 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension.d.ts +24 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension.js +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field-list.d.ts +27 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field-list.js +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field.d.ts +314 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field.js +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.d.ts +157 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.js +273 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.d.ts +256 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.js +316 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.d.ts +271 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.js +219 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.d.ts +2277 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.js +2077 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.d.ts +100 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.js +169 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.d.ts +28 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.js +52 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.d.ts +227 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.js +311 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.d.ts +29 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.js +55 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.d.ts +158 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.js +240 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.d.ts +132 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.js +213 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.d.ts +437 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.js +562 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.d.ts +267 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.js +569 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.d.ts +70 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.js +323 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts +42 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/index.js +85 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts +22 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js +52 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/json-format.d.ts +111 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/json-format.js +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message-type.d.ts +51 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message-type.js +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message.d.ts +131 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message.js +129 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/package.json +1 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.d.ts +16 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.js +59 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.d.ts +7 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.js +431 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.d.ts +27 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.js +94 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.d.ts +34 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.js +86 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.d.ts +19 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.js +120 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.d.ts +18 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.js +76 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.d.ts +9 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.js +69 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.d.ts +25 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.js +57 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field.d.ts +16 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field.js +45 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.d.ts +2 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.js +626 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.d.ts +18 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.js +50 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/names.d.ts +43 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/names.js +278 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.d.ts +7 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.js +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.d.ts +53 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.js +41 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.d.ts +9 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.js +79 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.d.ts +102 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.js +172 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.d.ts +18 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.js +105 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.d.ts +4 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.js +189 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.d.ts +2 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.js +247 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util.d.ts +38 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util.js +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.d.ts +18 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.js +128 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.d.ts +54 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.js +155 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.d.ts +5 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.js +29 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts +95 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js +116 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto2.d.ts +4 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto2.js +53 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto3.d.ts +4 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto3.js +56 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/scalar.d.ts +53 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/scalar.js +81 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/service-type.d.ts +96 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/service-type.js +53 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.d.ts +12 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.js +72 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.d.ts +66 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.js +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.d.ts +422 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.js +439 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-format.d.ts +113 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-format.js +14 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.d.ts +33 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.js +67 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.d.ts +36 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.js +906 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.d.ts +15 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.js +261 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry.d.ts +13 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry.js +98 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.d.ts +672 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.js +14 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/enum.d.ts +35 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/enum.js +14 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.d.ts +35 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.js +107 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension.d.ts +24 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension.js +14 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field-list.d.ts +27 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field-list.js +14 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field.d.ts +314 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field.js +14 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.d.ts +157 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.js +269 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.d.ts +256 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.js +310 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.d.ts +271 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.js +212 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.d.ts +2277 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.js +2041 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.d.ts +100 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.js +165 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.d.ts +28 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.js +48 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.d.ts +227 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.js +307 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.d.ts +29 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.js +51 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.d.ts +158 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.js +234 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.d.ts +132 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.js +209 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.d.ts +437 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.js +554 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.d.ts +267 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.js +557 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/varint.d.ts +70 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/varint.js +313 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts +42 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/index.js +43 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts +22 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +48 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/json-format.d.ts +111 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/json-format.js +14 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message-type.d.ts +51 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message-type.js +14 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message.d.ts +131 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message.js +125 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/assert.d.ts +16 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/assert.js +52 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.d.ts +7 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.js +427 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/enum.d.ts +27 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/enum.js +87 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.d.ts +34 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.js +81 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.d.ts +19 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.js +116 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.d.ts +18 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.js +72 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.d.ts +9 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.js +65 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.d.ts +25 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.js +53 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field.d.ts +16 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field.js +41 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.d.ts +2 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.js +623 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.d.ts +18 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.js +46 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/names.d.ts +43 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/names.js +269 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.d.ts +7 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.js +14 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.d.ts +53 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.js +37 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.d.ts +9 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.js +74 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.d.ts +102 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.js +168 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.d.ts +18 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.js +99 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.d.ts +4 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.js +184 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.d.ts +2 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.js +244 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util.d.ts +38 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util.js +14 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.d.ts +18 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.js +125 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.d.ts +54 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.js +152 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-double.d.ts +5 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-double.js +26 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts +95 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +113 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto2.d.ts +4 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto2.js +50 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto3.d.ts +4 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto3.js +53 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/scalar.d.ts +53 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/scalar.js +78 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/service-type.d.ts +96 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/service-type.js +50 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.d.ts +12 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.js +70 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/type-registry.d.ts +66 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/type-registry.js +14 -0
- package/gen/ts/node_modules/@bufbuild/protobuf/package.json +40 -0
- package/gen/ts/node_modules/@connectrpc/connect/README.md +62 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/any-client.d.ts +22 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/any-client.js +34 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/call-options.d.ts +34 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/call-options.js +15 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/callback-client.d.ts +31 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/callback-client.js +116 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/code.d.ts +75 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/code.js +92 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/connect-error.d.ts +90 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/connect-error.js +134 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/context-values.d.ts +34 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/context-values.js +41 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/cors.d.ts +45 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/cors.js +82 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/http-headers.d.ts +36 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/http-headers.js +68 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/implementation.d.ts +165 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/implementation.js +79 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/index.d.ts +22 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/index.js +47 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/interceptor.d.ts +155 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/interceptor.js +27 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/method-type.d.ts +43 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/method-type.js +15 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/package.json +1 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/promise-client.d.ts +49 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/promise-client.js +147 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.d.ts +527 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.js +959 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.d.ts +48 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.js +75 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.d.ts +16 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.js +43 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.d.ts +17 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.js +36 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.d.ts +59 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.js +152 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/index.d.ts +24 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/index.js +93 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.d.ts +21 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.js +250 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.d.ts +24 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.js +80 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.d.ts +12 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.js +56 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.d.ts +18 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.js +15 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.d.ts +45 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.js +119 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.d.ts +104 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.js +148 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.d.ts +36 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.js +100 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.d.ts +98 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.js +15 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.d.ts +35 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.js +150 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.d.ts +7 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.js +90 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.d.ts +155 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.js +131 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.d.ts +102 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.js +78 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.d.ts +16 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.js +52 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.d.ts +40 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.js +71 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.d.ts +44 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.js +132 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.d.ts +36 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.js +163 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.d.ts +7 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.js +68 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.js +281 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.d.ts +12 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.js +28 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.d.ts +15 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.js +90 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.d.ts +16 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.js +81 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.js +44 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.d.ts +8 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.js +24 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.d.ts +19 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.js +70 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.d.ts +19 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.js +53 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.js +214 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.d.ts +30 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.js +72 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.d.ts +20 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.js +58 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.d.ts +16 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.js +38 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.d.ts +89 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.js +120 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.js +122 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.d.ts +12 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.js +28 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.d.ts +8 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.js +46 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.d.ts +10 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.js +61 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.js +53 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.js +56 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.d.ts +28 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.js +104 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.js +185 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.d.ts +33 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.js +75 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.js +44 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.d.ts +19 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.js +41 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.js +128 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.d.ts +20 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.js +44 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.d.ts +8 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.js +61 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.js +59 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.d.ts +27 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.js +71 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.js +238 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.d.ts +34 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.js +73 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router-transport.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router-transport.js +32 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router.d.ts +88 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router.js +83 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/transport.d.ts +20 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/transport.js +15 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/any-client.d.ts +22 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/any-client.js +31 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/call-options.d.ts +34 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/call-options.js +14 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/callback-client.d.ts +31 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/callback-client.js +113 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/code.d.ts +75 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/code.js +89 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/connect-error.d.ts +90 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/connect-error.js +130 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/context-values.d.ts +34 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/context-values.js +37 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/cors.d.ts +45 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/cors.js +79 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/http-headers.d.ts +36 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/http-headers.js +63 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/implementation.d.ts +165 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/implementation.js +75 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/index.d.ts +22 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/index.js +27 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/interceptor.d.ts +155 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/interceptor.js +24 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/method-type.d.ts +43 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/method-type.js +14 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/promise-client.d.ts +49 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/promise-client.js +139 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.d.ts +527 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.js +937 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/compression.d.ts +48 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/compression.js +71 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.d.ts +16 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.js +40 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.d.ts +17 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.js +33 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.d.ts +59 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.js +145 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/index.d.ts +24 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/index.js +32 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.d.ts +21 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.js +246 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.d.ts +24 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.js +75 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.d.ts +12 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.js +53 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.d.ts +18 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.js +14 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.d.ts +45 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.js +115 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.d.ts +104 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.js +140 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/signals.d.ts +36 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/signals.js +95 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.d.ts +98 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.js +14 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.d.ts +35 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.js +142 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.d.ts +7 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.js +87 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.d.ts +155 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.js +125 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal.d.ts +102 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal.js +74 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.d.ts +16 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.js +48 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.d.ts +40 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.js +66 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.d.ts +44 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.js +126 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.d.ts +36 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.js +157 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.d.ts +7 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.js +65 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.js +278 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.d.ts +12 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.js +25 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.d.ts +15 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.js +86 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.d.ts +16 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.js +33 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.js +41 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.d.ts +8 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.js +21 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.d.ts +19 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.js +66 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.d.ts +19 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.js +49 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.js +211 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.d.ts +30 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.js +68 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.d.ts +20 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.js +53 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.d.ts +16 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.js +34 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.d.ts +89 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.js +116 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.js +119 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.d.ts +12 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.js +25 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.d.ts +8 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.js +43 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.d.ts +10 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.js +28 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.js +50 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.js +52 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.d.ts +28 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.js +99 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.js +182 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.d.ts +33 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.js +71 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.js +41 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.d.ts +19 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.js +37 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.js +125 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.d.ts +20 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.js +33 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.d.ts +8 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.js +26 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.js +55 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.d.ts +27 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.js +65 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.d.ts +6 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.js +235 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.d.ts +34 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.js +69 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router-transport.d.ts +13 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router-transport.js +29 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router.d.ts +88 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router.js +80 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/transport.d.ts +20 -0
- package/gen/ts/node_modules/@connectrpc/connect/dist/esm/transport.js +14 -0
- package/gen/ts/node_modules/@connectrpc/connect/package.json +75 -0
- package/gen/ts/node_modules/@connectrpc/connect/protocol-connect.js +16 -0
- package/gen/ts/node_modules/@connectrpc/connect/protocol-grpc-web.js +16 -0
- package/gen/ts/node_modules/@connectrpc/connect/protocol-grpc.js +16 -0
- package/gen/ts/node_modules/@connectrpc/connect/protocol.js +16 -0
- package/gen/ts/node_modules/typescript/LICENSE.txt +55 -0
- package/gen/ts/node_modules/typescript/README.md +50 -0
- package/gen/ts/node_modules/typescript/SECURITY.md +41 -0
- package/gen/ts/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
- package/gen/ts/node_modules/typescript/bin/tsc +2 -0
- package/gen/ts/node_modules/typescript/bin/tsserver +2 -0
- package/gen/ts/node_modules/typescript/lib/_tsc.js +133818 -0
- package/gen/ts/node_modules/typescript/lib/_tsserver.js +659 -0
- package/gen/ts/node_modules/typescript/lib/_typingsInstaller.js +222 -0
- package/gen/ts/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/lib.d.ts +22 -0
- package/gen/ts/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
- package/gen/ts/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
- package/gen/ts/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
- package/gen/ts/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
- package/gen/ts/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
- package/gen/ts/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
- package/gen/ts/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
- package/gen/ts/node_modules/typescript/lib/lib.es6.d.ts +23 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.float16.d.ts +445 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
- package/gen/ts/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
- package/gen/ts/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
- package/gen/ts/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
- package/gen/ts/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
- package/gen/ts/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
- package/gen/ts/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
- package/gen/ts/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/tsc.js +8 -0
- package/gen/ts/node_modules/typescript/lib/tsserver.js +8 -0
- package/gen/ts/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
- package/gen/ts/node_modules/typescript/lib/tsserverlibrary.js +21 -0
- package/gen/ts/node_modules/typescript/lib/typesMap.json +497 -0
- package/gen/ts/node_modules/typescript/lib/typescript.d.ts +11437 -0
- package/gen/ts/node_modules/typescript/lib/typescript.js +200276 -0
- package/gen/ts/node_modules/typescript/lib/typingsInstaller.js +8 -0
- package/gen/ts/node_modules/typescript/lib/watchGuard.js +53 -0
- package/gen/ts/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
- package/gen/ts/node_modules/typescript/package.json +120 -0
- package/gen/ts/package-lock.json +51 -0
- package/gen/ts/workflow/v1/service_connect.ts +87 -0
- package/gen/ts/workflow/v1/service_pb.ts +594 -0
- package/hiring/v1/pipeline.proto +156 -0
- package/hiring/v1/service.proto +19 -0
- package/package.json +14 -2
- package/workflow/v1/service.proto +87 -0
|
@@ -0,0 +1,623 @@
|
|
|
1
|
+
// Copyright 2021-2024 Buf Technologies, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
import { Message } from "../message.js";
|
|
15
|
+
import { assert, assertFloat32, assertInt32, assertUInt32 } from "./assert.js";
|
|
16
|
+
import { protoInt64 } from "../proto-int64.js";
|
|
17
|
+
import { protoBase64 } from "../proto-base64.js";
|
|
18
|
+
import { createExtensionContainer } from "./extensions.js";
|
|
19
|
+
import { getExtension, hasExtension, setExtension, } from "../extension-accessor.js";
|
|
20
|
+
import { clearField, isFieldSet } from "./reflect.js";
|
|
21
|
+
import { wrapField } from "./field-wrapper.js";
|
|
22
|
+
import { scalarZeroValue } from "./scalars.js";
|
|
23
|
+
import { isScalarZeroValue } from "./scalars.js";
|
|
24
|
+
import { LongType, ScalarType } from "../scalar.js";
|
|
25
|
+
import { isMessage } from "../is-message.js";
|
|
26
|
+
/* eslint-disable no-case-declarations,@typescript-eslint/no-unsafe-argument,@typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-member-access,@typescript-eslint/no-unsafe-call */
|
|
27
|
+
// Default options for parsing JSON.
|
|
28
|
+
const jsonReadDefaults = {
|
|
29
|
+
ignoreUnknownFields: false,
|
|
30
|
+
};
|
|
31
|
+
// Default options for serializing to JSON.
|
|
32
|
+
const jsonWriteDefaults = {
|
|
33
|
+
emitDefaultValues: false,
|
|
34
|
+
enumAsInteger: false,
|
|
35
|
+
useProtoFieldName: false,
|
|
36
|
+
prettySpaces: 0,
|
|
37
|
+
};
|
|
38
|
+
function makeReadOptions(options) {
|
|
39
|
+
return options ? Object.assign(Object.assign({}, jsonReadDefaults), options) : jsonReadDefaults;
|
|
40
|
+
}
|
|
41
|
+
function makeWriteOptions(options) {
|
|
42
|
+
return options ? Object.assign(Object.assign({}, jsonWriteDefaults), options) : jsonWriteDefaults;
|
|
43
|
+
}
|
|
44
|
+
const tokenNull = Symbol();
|
|
45
|
+
const tokenIgnoredUnknownEnum = Symbol();
|
|
46
|
+
export function makeJsonFormat() {
|
|
47
|
+
return {
|
|
48
|
+
makeReadOptions,
|
|
49
|
+
makeWriteOptions,
|
|
50
|
+
readMessage(type, json, options, message) {
|
|
51
|
+
if (json == null || Array.isArray(json) || typeof json != "object") {
|
|
52
|
+
throw new Error(`cannot decode message ${type.typeName} from JSON: ${debugJsonValue(json)}`);
|
|
53
|
+
}
|
|
54
|
+
message = message !== null && message !== void 0 ? message : new type();
|
|
55
|
+
const oneofSeen = new Map();
|
|
56
|
+
const registry = options.typeRegistry;
|
|
57
|
+
for (const [jsonKey, jsonValue] of Object.entries(json)) {
|
|
58
|
+
const field = type.fields.findJsonName(jsonKey);
|
|
59
|
+
if (field) {
|
|
60
|
+
if (field.oneof) {
|
|
61
|
+
if (jsonValue === null && field.kind == "scalar") {
|
|
62
|
+
// see conformance test Required.Proto3.JsonInput.OneofFieldNull{First,Second}
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
const seen = oneofSeen.get(field.oneof);
|
|
66
|
+
if (seen !== undefined) {
|
|
67
|
+
throw new Error(`cannot decode message ${type.typeName} from JSON: multiple keys for oneof "${field.oneof.name}" present: "${seen}", "${jsonKey}"`);
|
|
68
|
+
}
|
|
69
|
+
oneofSeen.set(field.oneof, jsonKey);
|
|
70
|
+
}
|
|
71
|
+
readField(message, jsonValue, field, options, type);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
let found = false;
|
|
75
|
+
if ((registry === null || registry === void 0 ? void 0 : registry.findExtension) &&
|
|
76
|
+
jsonKey.startsWith("[") &&
|
|
77
|
+
jsonKey.endsWith("]")) {
|
|
78
|
+
const ext = registry.findExtension(jsonKey.substring(1, jsonKey.length - 1));
|
|
79
|
+
if (ext && ext.extendee.typeName == type.typeName) {
|
|
80
|
+
found = true;
|
|
81
|
+
const [container, get] = createExtensionContainer(ext);
|
|
82
|
+
readField(container, jsonValue, ext.field, options, ext);
|
|
83
|
+
// We pass on the options as BinaryReadOptions/BinaryWriteOptions,
|
|
84
|
+
// so that users can bring their own binary reader and writer factories
|
|
85
|
+
// if necessary.
|
|
86
|
+
setExtension(message, ext, get(), options);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
if (!found && !options.ignoreUnknownFields) {
|
|
90
|
+
throw new Error(`cannot decode message ${type.typeName} from JSON: key "${jsonKey}" is unknown`);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
writeMessage(message, options) {
|
|
97
|
+
const type = message.getType();
|
|
98
|
+
const json = {};
|
|
99
|
+
let field;
|
|
100
|
+
try {
|
|
101
|
+
for (field of type.fields.byNumber()) {
|
|
102
|
+
if (!isFieldSet(field, message)) {
|
|
103
|
+
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
|
|
104
|
+
if (field.req) {
|
|
105
|
+
throw `required field not set`;
|
|
106
|
+
}
|
|
107
|
+
if (!options.emitDefaultValues) {
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
if (!canEmitFieldDefaultValue(field)) {
|
|
111
|
+
continue;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
const value = field.oneof
|
|
115
|
+
? message[field.oneof.localName].value
|
|
116
|
+
: message[field.localName];
|
|
117
|
+
const jsonValue = writeField(field, value, options);
|
|
118
|
+
if (jsonValue !== undefined) {
|
|
119
|
+
json[options.useProtoFieldName ? field.name : field.jsonName] =
|
|
120
|
+
jsonValue;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
const registry = options.typeRegistry;
|
|
124
|
+
if (registry === null || registry === void 0 ? void 0 : registry.findExtensionFor) {
|
|
125
|
+
for (const uf of type.runtime.bin.listUnknownFields(message)) {
|
|
126
|
+
const ext = registry.findExtensionFor(type.typeName, uf.no);
|
|
127
|
+
if (ext && hasExtension(message, ext)) {
|
|
128
|
+
// We pass on the options as BinaryReadOptions, so that users can bring their own
|
|
129
|
+
// binary reader factory if necessary.
|
|
130
|
+
const value = getExtension(message, ext, options);
|
|
131
|
+
const jsonValue = writeField(ext.field, value, options);
|
|
132
|
+
if (jsonValue !== undefined) {
|
|
133
|
+
json[ext.field.jsonName] = jsonValue;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
catch (e) {
|
|
140
|
+
const m = field
|
|
141
|
+
? `cannot encode field ${type.typeName}.${field.name} to JSON`
|
|
142
|
+
: `cannot encode message ${type.typeName} to JSON`;
|
|
143
|
+
const r = e instanceof Error ? e.message : String(e);
|
|
144
|
+
throw new Error(m + (r.length > 0 ? `: ${r}` : ""));
|
|
145
|
+
}
|
|
146
|
+
return json;
|
|
147
|
+
},
|
|
148
|
+
readScalar(type, json, longType) {
|
|
149
|
+
// The signature of our internal function has changed. For backwards-
|
|
150
|
+
// compatibility, we support the old form that is part of the public API
|
|
151
|
+
// through the interface JsonFormat.
|
|
152
|
+
return readScalar(type, json, longType !== null && longType !== void 0 ? longType : LongType.BIGINT, true);
|
|
153
|
+
},
|
|
154
|
+
writeScalar(type, value, emitDefaultValues) {
|
|
155
|
+
// The signature of our internal function has changed. For backwards-
|
|
156
|
+
// compatibility, we support the old form that is part of the public API
|
|
157
|
+
// through the interface JsonFormat.
|
|
158
|
+
if (value === undefined) {
|
|
159
|
+
return undefined;
|
|
160
|
+
}
|
|
161
|
+
if (emitDefaultValues || isScalarZeroValue(type, value)) {
|
|
162
|
+
return writeScalar(type, value);
|
|
163
|
+
}
|
|
164
|
+
return undefined;
|
|
165
|
+
},
|
|
166
|
+
debug: debugJsonValue,
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
function debugJsonValue(json) {
|
|
170
|
+
if (json === null) {
|
|
171
|
+
return "null";
|
|
172
|
+
}
|
|
173
|
+
switch (typeof json) {
|
|
174
|
+
case "object":
|
|
175
|
+
return Array.isArray(json) ? "array" : "object";
|
|
176
|
+
case "string":
|
|
177
|
+
return json.length > 100 ? "string" : `"${json.split('"').join('\\"')}"`;
|
|
178
|
+
default:
|
|
179
|
+
return String(json);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
// Read a JSON value for a field.
|
|
183
|
+
// The "parentType" argument is only used to provide context in errors.
|
|
184
|
+
function readField(target, jsonValue, field, options, parentType) {
|
|
185
|
+
let localName = field.localName;
|
|
186
|
+
if (field.repeated) {
|
|
187
|
+
assert(field.kind != "map");
|
|
188
|
+
if (jsonValue === null) {
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
if (!Array.isArray(jsonValue)) {
|
|
192
|
+
throw new Error(`cannot decode field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonValue)}`);
|
|
193
|
+
}
|
|
194
|
+
const targetArray = target[localName];
|
|
195
|
+
for (const jsonItem of jsonValue) {
|
|
196
|
+
if (jsonItem === null) {
|
|
197
|
+
throw new Error(`cannot decode field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonItem)}`);
|
|
198
|
+
}
|
|
199
|
+
switch (field.kind) {
|
|
200
|
+
case "message":
|
|
201
|
+
targetArray.push(field.T.fromJson(jsonItem, options));
|
|
202
|
+
break;
|
|
203
|
+
case "enum":
|
|
204
|
+
const enumValue = readEnum(field.T, jsonItem, options.ignoreUnknownFields, true);
|
|
205
|
+
if (enumValue !== tokenIgnoredUnknownEnum) {
|
|
206
|
+
targetArray.push(enumValue);
|
|
207
|
+
}
|
|
208
|
+
break;
|
|
209
|
+
case "scalar":
|
|
210
|
+
try {
|
|
211
|
+
targetArray.push(readScalar(field.T, jsonItem, field.L, true));
|
|
212
|
+
}
|
|
213
|
+
catch (e) {
|
|
214
|
+
let m = `cannot decode field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonItem)}`;
|
|
215
|
+
if (e instanceof Error && e.message.length > 0) {
|
|
216
|
+
m += `: ${e.message}`;
|
|
217
|
+
}
|
|
218
|
+
throw new Error(m);
|
|
219
|
+
}
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
else if (field.kind == "map") {
|
|
225
|
+
if (jsonValue === null) {
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
if (typeof jsonValue != "object" || Array.isArray(jsonValue)) {
|
|
229
|
+
throw new Error(`cannot decode field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonValue)}`);
|
|
230
|
+
}
|
|
231
|
+
const targetMap = target[localName];
|
|
232
|
+
for (const [jsonMapKey, jsonMapValue] of Object.entries(jsonValue)) {
|
|
233
|
+
if (jsonMapValue === null) {
|
|
234
|
+
throw new Error(`cannot decode field ${parentType.typeName}.${field.name} from JSON: map value null`);
|
|
235
|
+
}
|
|
236
|
+
let key;
|
|
237
|
+
try {
|
|
238
|
+
key = readMapKey(field.K, jsonMapKey);
|
|
239
|
+
}
|
|
240
|
+
catch (e) {
|
|
241
|
+
let m = `cannot decode map key for field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonValue)}`;
|
|
242
|
+
if (e instanceof Error && e.message.length > 0) {
|
|
243
|
+
m += `: ${e.message}`;
|
|
244
|
+
}
|
|
245
|
+
throw new Error(m);
|
|
246
|
+
}
|
|
247
|
+
switch (field.V.kind) {
|
|
248
|
+
case "message":
|
|
249
|
+
targetMap[key] = field.V.T.fromJson(jsonMapValue, options);
|
|
250
|
+
break;
|
|
251
|
+
case "enum":
|
|
252
|
+
const enumValue = readEnum(field.V.T, jsonMapValue, options.ignoreUnknownFields, true);
|
|
253
|
+
if (enumValue !== tokenIgnoredUnknownEnum) {
|
|
254
|
+
targetMap[key] = enumValue;
|
|
255
|
+
}
|
|
256
|
+
break;
|
|
257
|
+
case "scalar":
|
|
258
|
+
try {
|
|
259
|
+
targetMap[key] = readScalar(field.V.T, jsonMapValue, LongType.BIGINT, true);
|
|
260
|
+
}
|
|
261
|
+
catch (e) {
|
|
262
|
+
let m = `cannot decode map value for field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonValue)}`;
|
|
263
|
+
if (e instanceof Error && e.message.length > 0) {
|
|
264
|
+
m += `: ${e.message}`;
|
|
265
|
+
}
|
|
266
|
+
throw new Error(m);
|
|
267
|
+
}
|
|
268
|
+
break;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
else {
|
|
273
|
+
if (field.oneof) {
|
|
274
|
+
target = target[field.oneof.localName] = { case: localName };
|
|
275
|
+
localName = "value";
|
|
276
|
+
}
|
|
277
|
+
switch (field.kind) {
|
|
278
|
+
case "message":
|
|
279
|
+
const messageType = field.T;
|
|
280
|
+
if (jsonValue === null &&
|
|
281
|
+
messageType.typeName != "google.protobuf.Value") {
|
|
282
|
+
return;
|
|
283
|
+
}
|
|
284
|
+
let currentValue = target[localName];
|
|
285
|
+
if (isMessage(currentValue)) {
|
|
286
|
+
currentValue.fromJson(jsonValue, options);
|
|
287
|
+
}
|
|
288
|
+
else {
|
|
289
|
+
target[localName] = currentValue = messageType.fromJson(jsonValue, options);
|
|
290
|
+
if (messageType.fieldWrapper && !field.oneof) {
|
|
291
|
+
target[localName] =
|
|
292
|
+
messageType.fieldWrapper.unwrapField(currentValue);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
break;
|
|
296
|
+
case "enum":
|
|
297
|
+
const enumValue = readEnum(field.T, jsonValue, options.ignoreUnknownFields, false);
|
|
298
|
+
switch (enumValue) {
|
|
299
|
+
case tokenNull:
|
|
300
|
+
clearField(field, target);
|
|
301
|
+
break;
|
|
302
|
+
case tokenIgnoredUnknownEnum:
|
|
303
|
+
break;
|
|
304
|
+
default:
|
|
305
|
+
target[localName] = enumValue;
|
|
306
|
+
break;
|
|
307
|
+
}
|
|
308
|
+
break;
|
|
309
|
+
case "scalar":
|
|
310
|
+
try {
|
|
311
|
+
const scalarValue = readScalar(field.T, jsonValue, field.L, false);
|
|
312
|
+
switch (scalarValue) {
|
|
313
|
+
case tokenNull:
|
|
314
|
+
clearField(field, target);
|
|
315
|
+
break;
|
|
316
|
+
default:
|
|
317
|
+
target[localName] = scalarValue;
|
|
318
|
+
break;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
catch (e) {
|
|
322
|
+
let m = `cannot decode field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonValue)}`;
|
|
323
|
+
if (e instanceof Error && e.message.length > 0) {
|
|
324
|
+
m += `: ${e.message}`;
|
|
325
|
+
}
|
|
326
|
+
throw new Error(m);
|
|
327
|
+
}
|
|
328
|
+
break;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
function readMapKey(type, json) {
|
|
333
|
+
if (type === ScalarType.BOOL) {
|
|
334
|
+
// eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check
|
|
335
|
+
switch (json) {
|
|
336
|
+
case "true":
|
|
337
|
+
json = true;
|
|
338
|
+
break;
|
|
339
|
+
case "false":
|
|
340
|
+
json = false;
|
|
341
|
+
break;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
return readScalar(type, json, LongType.BIGINT, true).toString();
|
|
345
|
+
}
|
|
346
|
+
function readScalar(type, json, longType, nullAsZeroValue) {
|
|
347
|
+
if (json === null) {
|
|
348
|
+
if (nullAsZeroValue) {
|
|
349
|
+
return scalarZeroValue(type, longType);
|
|
350
|
+
}
|
|
351
|
+
return tokenNull;
|
|
352
|
+
}
|
|
353
|
+
// every valid case in the switch below returns, and every fall
|
|
354
|
+
// through is regarded as a failure.
|
|
355
|
+
switch (type) {
|
|
356
|
+
// float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity".
|
|
357
|
+
// Either numbers or strings are accepted. Exponent notation is also accepted.
|
|
358
|
+
case ScalarType.DOUBLE:
|
|
359
|
+
case ScalarType.FLOAT:
|
|
360
|
+
if (json === "NaN")
|
|
361
|
+
return Number.NaN;
|
|
362
|
+
if (json === "Infinity")
|
|
363
|
+
return Number.POSITIVE_INFINITY;
|
|
364
|
+
if (json === "-Infinity")
|
|
365
|
+
return Number.NEGATIVE_INFINITY;
|
|
366
|
+
if (json === "") {
|
|
367
|
+
// empty string is not a number
|
|
368
|
+
break;
|
|
369
|
+
}
|
|
370
|
+
if (typeof json == "string" && json.trim().length !== json.length) {
|
|
371
|
+
// extra whitespace
|
|
372
|
+
break;
|
|
373
|
+
}
|
|
374
|
+
if (typeof json != "string" && typeof json != "number") {
|
|
375
|
+
break;
|
|
376
|
+
}
|
|
377
|
+
const float = Number(json);
|
|
378
|
+
if (Number.isNaN(float)) {
|
|
379
|
+
// not a number
|
|
380
|
+
break;
|
|
381
|
+
}
|
|
382
|
+
if (!Number.isFinite(float)) {
|
|
383
|
+
// infinity and -infinity are handled by string representation above, so this is an error
|
|
384
|
+
break;
|
|
385
|
+
}
|
|
386
|
+
if (type == ScalarType.FLOAT)
|
|
387
|
+
assertFloat32(float);
|
|
388
|
+
return float;
|
|
389
|
+
// int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted.
|
|
390
|
+
case ScalarType.INT32:
|
|
391
|
+
case ScalarType.FIXED32:
|
|
392
|
+
case ScalarType.SFIXED32:
|
|
393
|
+
case ScalarType.SINT32:
|
|
394
|
+
case ScalarType.UINT32:
|
|
395
|
+
let int32;
|
|
396
|
+
if (typeof json == "number")
|
|
397
|
+
int32 = json;
|
|
398
|
+
else if (typeof json == "string" && json.length > 0) {
|
|
399
|
+
if (json.trim().length === json.length)
|
|
400
|
+
int32 = Number(json);
|
|
401
|
+
}
|
|
402
|
+
if (int32 === undefined)
|
|
403
|
+
break;
|
|
404
|
+
if (type == ScalarType.UINT32 || type == ScalarType.FIXED32)
|
|
405
|
+
assertUInt32(int32);
|
|
406
|
+
else
|
|
407
|
+
assertInt32(int32);
|
|
408
|
+
return int32;
|
|
409
|
+
// int64, fixed64, uint64: JSON value will be a decimal string. Either numbers or strings are accepted.
|
|
410
|
+
case ScalarType.INT64:
|
|
411
|
+
case ScalarType.SFIXED64:
|
|
412
|
+
case ScalarType.SINT64:
|
|
413
|
+
if (typeof json != "number" && typeof json != "string")
|
|
414
|
+
break;
|
|
415
|
+
const long = protoInt64.parse(json);
|
|
416
|
+
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
|
|
417
|
+
return longType ? long.toString() : long;
|
|
418
|
+
case ScalarType.FIXED64:
|
|
419
|
+
case ScalarType.UINT64:
|
|
420
|
+
if (typeof json != "number" && typeof json != "string")
|
|
421
|
+
break;
|
|
422
|
+
const uLong = protoInt64.uParse(json);
|
|
423
|
+
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
|
|
424
|
+
return longType ? uLong.toString() : uLong;
|
|
425
|
+
// bool:
|
|
426
|
+
case ScalarType.BOOL:
|
|
427
|
+
if (typeof json !== "boolean")
|
|
428
|
+
break;
|
|
429
|
+
return json;
|
|
430
|
+
// string:
|
|
431
|
+
case ScalarType.STRING:
|
|
432
|
+
if (typeof json !== "string") {
|
|
433
|
+
break;
|
|
434
|
+
}
|
|
435
|
+
// A string must always contain UTF-8 encoded or 7-bit ASCII.
|
|
436
|
+
// We validate with encodeURIComponent, which appears to be the fastest widely available option.
|
|
437
|
+
try {
|
|
438
|
+
encodeURIComponent(json);
|
|
439
|
+
}
|
|
440
|
+
catch (e) {
|
|
441
|
+
throw new Error("invalid UTF8");
|
|
442
|
+
}
|
|
443
|
+
return json;
|
|
444
|
+
// bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings.
|
|
445
|
+
// Either standard or URL-safe base64 encoding with/without paddings are accepted.
|
|
446
|
+
case ScalarType.BYTES:
|
|
447
|
+
if (json === "")
|
|
448
|
+
return new Uint8Array(0);
|
|
449
|
+
if (typeof json !== "string")
|
|
450
|
+
break;
|
|
451
|
+
return protoBase64.dec(json);
|
|
452
|
+
}
|
|
453
|
+
throw new Error();
|
|
454
|
+
}
|
|
455
|
+
function readEnum(type, json, ignoreUnknownFields, nullAsZeroValue) {
|
|
456
|
+
if (json === null) {
|
|
457
|
+
if (type.typeName == "google.protobuf.NullValue") {
|
|
458
|
+
return 0; // google.protobuf.NullValue.NULL_VALUE = 0
|
|
459
|
+
}
|
|
460
|
+
return nullAsZeroValue ? type.values[0].no : tokenNull;
|
|
461
|
+
}
|
|
462
|
+
// eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check
|
|
463
|
+
switch (typeof json) {
|
|
464
|
+
case "number":
|
|
465
|
+
if (Number.isInteger(json)) {
|
|
466
|
+
return json;
|
|
467
|
+
}
|
|
468
|
+
break;
|
|
469
|
+
case "string":
|
|
470
|
+
const value = type.findName(json);
|
|
471
|
+
if (value !== undefined) {
|
|
472
|
+
return value.no;
|
|
473
|
+
}
|
|
474
|
+
if (ignoreUnknownFields) {
|
|
475
|
+
return tokenIgnoredUnknownEnum;
|
|
476
|
+
}
|
|
477
|
+
break;
|
|
478
|
+
}
|
|
479
|
+
throw new Error(`cannot decode enum ${type.typeName} from JSON: ${debugJsonValue(json)}`);
|
|
480
|
+
}
|
|
481
|
+
// Decide whether an unset field should be emitted with JSON write option `emitDefaultValues`
|
|
482
|
+
function canEmitFieldDefaultValue(field) {
|
|
483
|
+
if (field.repeated || field.kind == "map") {
|
|
484
|
+
// maps are {}, repeated fields are []
|
|
485
|
+
return true;
|
|
486
|
+
}
|
|
487
|
+
if (field.oneof) {
|
|
488
|
+
// oneof fields are never emitted
|
|
489
|
+
return false;
|
|
490
|
+
}
|
|
491
|
+
if (field.kind == "message") {
|
|
492
|
+
// singular message field are allowed to emit JSON null, but we do not
|
|
493
|
+
return false;
|
|
494
|
+
}
|
|
495
|
+
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
|
|
496
|
+
if (field.opt || field.req) {
|
|
497
|
+
// the field uses explicit presence, so we cannot emit a zero value
|
|
498
|
+
return false;
|
|
499
|
+
}
|
|
500
|
+
return true;
|
|
501
|
+
}
|
|
502
|
+
function writeField(field, value, options) {
|
|
503
|
+
if (field.kind == "map") {
|
|
504
|
+
assert(typeof value == "object" && value != null);
|
|
505
|
+
const jsonObj = {};
|
|
506
|
+
const entries = Object.entries(value);
|
|
507
|
+
switch (field.V.kind) {
|
|
508
|
+
case "scalar":
|
|
509
|
+
for (const [entryKey, entryValue] of entries) {
|
|
510
|
+
jsonObj[entryKey.toString()] = writeScalar(field.V.T, entryValue); // JSON standard allows only (double quoted) string as property key
|
|
511
|
+
}
|
|
512
|
+
break;
|
|
513
|
+
case "message":
|
|
514
|
+
for (const [entryKey, entryValue] of entries) {
|
|
515
|
+
// JSON standard allows only (double quoted) string as property key
|
|
516
|
+
jsonObj[entryKey.toString()] = entryValue.toJson(options);
|
|
517
|
+
}
|
|
518
|
+
break;
|
|
519
|
+
case "enum":
|
|
520
|
+
const enumType = field.V.T;
|
|
521
|
+
for (const [entryKey, entryValue] of entries) {
|
|
522
|
+
// JSON standard allows only (double quoted) string as property key
|
|
523
|
+
jsonObj[entryKey.toString()] = writeEnum(enumType, entryValue, options.enumAsInteger);
|
|
524
|
+
}
|
|
525
|
+
break;
|
|
526
|
+
}
|
|
527
|
+
return options.emitDefaultValues || entries.length > 0
|
|
528
|
+
? jsonObj
|
|
529
|
+
: undefined;
|
|
530
|
+
}
|
|
531
|
+
if (field.repeated) {
|
|
532
|
+
assert(Array.isArray(value));
|
|
533
|
+
const jsonArr = [];
|
|
534
|
+
switch (field.kind) {
|
|
535
|
+
case "scalar":
|
|
536
|
+
for (let i = 0; i < value.length; i++) {
|
|
537
|
+
jsonArr.push(writeScalar(field.T, value[i]));
|
|
538
|
+
}
|
|
539
|
+
break;
|
|
540
|
+
case "enum":
|
|
541
|
+
for (let i = 0; i < value.length; i++) {
|
|
542
|
+
jsonArr.push(writeEnum(field.T, value[i], options.enumAsInteger));
|
|
543
|
+
}
|
|
544
|
+
break;
|
|
545
|
+
case "message":
|
|
546
|
+
for (let i = 0; i < value.length; i++) {
|
|
547
|
+
jsonArr.push(value[i].toJson(options));
|
|
548
|
+
}
|
|
549
|
+
break;
|
|
550
|
+
}
|
|
551
|
+
return options.emitDefaultValues || jsonArr.length > 0
|
|
552
|
+
? jsonArr
|
|
553
|
+
: undefined;
|
|
554
|
+
}
|
|
555
|
+
switch (field.kind) {
|
|
556
|
+
case "scalar":
|
|
557
|
+
return writeScalar(field.T, value);
|
|
558
|
+
case "enum":
|
|
559
|
+
return writeEnum(field.T, value, options.enumAsInteger);
|
|
560
|
+
case "message":
|
|
561
|
+
return wrapField(field.T, value).toJson(options);
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
function writeEnum(type, value, enumAsInteger) {
|
|
565
|
+
var _a;
|
|
566
|
+
assert(typeof value == "number");
|
|
567
|
+
if (type.typeName == "google.protobuf.NullValue") {
|
|
568
|
+
return null;
|
|
569
|
+
}
|
|
570
|
+
if (enumAsInteger) {
|
|
571
|
+
return value;
|
|
572
|
+
}
|
|
573
|
+
const val = type.findNumber(value);
|
|
574
|
+
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
|
|
575
|
+
}
|
|
576
|
+
function writeScalar(type, value) {
|
|
577
|
+
switch (type) {
|
|
578
|
+
// int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted.
|
|
579
|
+
case ScalarType.INT32:
|
|
580
|
+
case ScalarType.SFIXED32:
|
|
581
|
+
case ScalarType.SINT32:
|
|
582
|
+
case ScalarType.FIXED32:
|
|
583
|
+
case ScalarType.UINT32:
|
|
584
|
+
assert(typeof value == "number");
|
|
585
|
+
return value;
|
|
586
|
+
// float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity".
|
|
587
|
+
// Either numbers or strings are accepted. Exponent notation is also accepted.
|
|
588
|
+
case ScalarType.FLOAT:
|
|
589
|
+
// assertFloat32(value);
|
|
590
|
+
case ScalarType.DOUBLE: // eslint-disable-line no-fallthrough
|
|
591
|
+
assert(typeof value == "number");
|
|
592
|
+
if (Number.isNaN(value))
|
|
593
|
+
return "NaN";
|
|
594
|
+
if (value === Number.POSITIVE_INFINITY)
|
|
595
|
+
return "Infinity";
|
|
596
|
+
if (value === Number.NEGATIVE_INFINITY)
|
|
597
|
+
return "-Infinity";
|
|
598
|
+
return value;
|
|
599
|
+
// string:
|
|
600
|
+
case ScalarType.STRING:
|
|
601
|
+
assert(typeof value == "string");
|
|
602
|
+
return value;
|
|
603
|
+
// bool:
|
|
604
|
+
case ScalarType.BOOL:
|
|
605
|
+
assert(typeof value == "boolean");
|
|
606
|
+
return value;
|
|
607
|
+
// JSON value will be a decimal string. Either numbers or strings are accepted.
|
|
608
|
+
case ScalarType.UINT64:
|
|
609
|
+
case ScalarType.FIXED64:
|
|
610
|
+
case ScalarType.INT64:
|
|
611
|
+
case ScalarType.SFIXED64:
|
|
612
|
+
case ScalarType.SINT64:
|
|
613
|
+
assert(typeof value == "bigint" ||
|
|
614
|
+
typeof value == "string" ||
|
|
615
|
+
typeof value == "number");
|
|
616
|
+
return value.toString();
|
|
617
|
+
// bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings.
|
|
618
|
+
// Either standard or URL-safe base64 encoding with/without paddings are accepted.
|
|
619
|
+
case ScalarType.BYTES:
|
|
620
|
+
assert(value instanceof Uint8Array);
|
|
621
|
+
return protoBase64.enc(value);
|
|
622
|
+
}
|
|
623
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Message } from "../message.js";
|
|
2
|
+
import type { AnyMessage } from "../message.js";
|
|
3
|
+
import type { FieldListSource } from "./field-list.js";
|
|
4
|
+
import type { MessageType } from "../message-type.js";
|
|
5
|
+
import type { ProtoRuntime } from "./proto-runtime.js";
|
|
6
|
+
/**
|
|
7
|
+
* Create a new message type using the given runtime.
|
|
8
|
+
*/
|
|
9
|
+
export declare function makeMessageType<T extends Message<T> = AnyMessage>(runtime: ProtoRuntime, typeName: string, fields: FieldListSource, opt?: {
|
|
10
|
+
/**
|
|
11
|
+
* localName is the "name" property of the constructed function.
|
|
12
|
+
* It is useful in stack traces, debuggers and test frameworks,
|
|
13
|
+
* but has no other implications.
|
|
14
|
+
*
|
|
15
|
+
* If omitted, the last part of the typeName is used.
|
|
16
|
+
*/
|
|
17
|
+
localName?: string;
|
|
18
|
+
}): MessageType<T>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// Copyright 2021-2024 Buf Technologies, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
import { Message } from "../message.js";
|
|
15
|
+
/**
|
|
16
|
+
* Create a new message type using the given runtime.
|
|
17
|
+
*/
|
|
18
|
+
export function makeMessageType(runtime, typeName, fields, opt) {
|
|
19
|
+
var _a;
|
|
20
|
+
const localName = (_a = opt === null || opt === void 0 ? void 0 : opt.localName) !== null && _a !== void 0 ? _a : typeName.substring(typeName.lastIndexOf(".") + 1);
|
|
21
|
+
const type = {
|
|
22
|
+
[localName]: function (data) {
|
|
23
|
+
runtime.util.initFields(this);
|
|
24
|
+
runtime.util.initPartial(data, this);
|
|
25
|
+
},
|
|
26
|
+
}[localName];
|
|
27
|
+
Object.setPrototypeOf(type.prototype, new Message());
|
|
28
|
+
Object.assign(type, {
|
|
29
|
+
runtime,
|
|
30
|
+
typeName,
|
|
31
|
+
fields: runtime.util.newFieldList(fields),
|
|
32
|
+
fromBinary(bytes, options) {
|
|
33
|
+
return new type().fromBinary(bytes, options);
|
|
34
|
+
},
|
|
35
|
+
fromJson(jsonValue, options) {
|
|
36
|
+
return new type().fromJson(jsonValue, options);
|
|
37
|
+
},
|
|
38
|
+
fromJsonString(jsonString, options) {
|
|
39
|
+
return new type().fromJsonString(jsonString, options);
|
|
40
|
+
},
|
|
41
|
+
equals(a, b) {
|
|
42
|
+
return runtime.util.equals(type, a, b);
|
|
43
|
+
},
|
|
44
|
+
});
|
|
45
|
+
return type;
|
|
46
|
+
}
|