@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,104 @@
|
|
|
1
|
+
import type { BinaryReadOptions, BinaryWriteOptions, JsonReadOptions, JsonWriteOptions, Message, MessageType, MethodInfo } from "@bufbuild/protobuf";
|
|
2
|
+
/**
|
|
3
|
+
* Serialization provides methods to serialize or parse data with a certain
|
|
4
|
+
* format.
|
|
5
|
+
*
|
|
6
|
+
* @private Internal code, does not follow semantic versioning.
|
|
7
|
+
*/
|
|
8
|
+
export interface Serialization<T> {
|
|
9
|
+
/**
|
|
10
|
+
* Serialize T. Raises a ConnectError with Code.Internal if an error occurs.
|
|
11
|
+
*/
|
|
12
|
+
serialize: (data: T) => Uint8Array;
|
|
13
|
+
/**
|
|
14
|
+
* Parse T. Raises a ConnectError with Code.InvalidArgument if an error occurs.
|
|
15
|
+
*/
|
|
16
|
+
parse: (data: Uint8Array) => T;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Sets default JSON serialization options for connect-es.
|
|
20
|
+
*
|
|
21
|
+
* With standard protobuf JSON serialization, unknown JSON fields are
|
|
22
|
+
* rejected by default. In connect-es, unknown JSON fields are ignored
|
|
23
|
+
* by default.
|
|
24
|
+
*/
|
|
25
|
+
export declare function getJsonOptions(options: Partial<JsonReadOptions & JsonWriteOptions> | undefined): {
|
|
26
|
+
ignoreUnknownFields?: boolean | undefined;
|
|
27
|
+
typeRegistry?: import("@bufbuild/protobuf").IMessageTypeRegistry & Partial<import("@bufbuild/protobuf").IExtensionRegistry>;
|
|
28
|
+
emitDefaultValues?: boolean | undefined;
|
|
29
|
+
enumAsInteger?: boolean | undefined;
|
|
30
|
+
useProtoFieldName?: boolean | undefined;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Create an object that provides convenient access to request and response
|
|
34
|
+
* message serialization for a given method.
|
|
35
|
+
*
|
|
36
|
+
* @private Internal code, does not follow semantic versioning.
|
|
37
|
+
*/
|
|
38
|
+
export declare function createMethodSerializationLookup<I extends Message<I>, O extends Message<O>>(method: MethodInfo<I, O>, binaryOptions: Partial<BinaryReadOptions & BinaryWriteOptions> | undefined, jsonOptions: Partial<JsonReadOptions & JsonWriteOptions> | undefined, limitOptions: {
|
|
39
|
+
writeMaxBytes: number;
|
|
40
|
+
readMaxBytes: number;
|
|
41
|
+
}): MethodSerializationLookup<I, O>;
|
|
42
|
+
/**
|
|
43
|
+
* MethodSerializationLookup provides convenient access to request and response
|
|
44
|
+
* message serialization for a given method.
|
|
45
|
+
*
|
|
46
|
+
* @private Internal code, does not follow semantic versioning.
|
|
47
|
+
*/
|
|
48
|
+
export interface MethodSerializationLookup<I extends Message<I>, O extends Message<O>> {
|
|
49
|
+
/**
|
|
50
|
+
* Get the JSON or binary serialization for the request message type.
|
|
51
|
+
*/
|
|
52
|
+
getI(useBinaryFormat: boolean): Serialization<I>;
|
|
53
|
+
/**
|
|
54
|
+
* Get the JSON or binary serialization for the response message type.
|
|
55
|
+
*/
|
|
56
|
+
getO(useBinaryFormat: boolean): Serialization<O>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns functions to normalize and serialize the input message
|
|
60
|
+
* of an RPC, and to parse the output message of an RPC.
|
|
61
|
+
*
|
|
62
|
+
* @private Internal code, does not follow semantic versioning.
|
|
63
|
+
*/
|
|
64
|
+
export declare function createClientMethodSerializers<I extends Message<I>, O extends Message<O>>(method: MethodInfo<I, O>, useBinaryFormat: boolean, jsonOptions?: JsonSerializationOptions, binaryOptions?: BinarySerializationOptions): {
|
|
65
|
+
parse: (data: Uint8Array) => O;
|
|
66
|
+
serialize: (data: I) => Uint8Array;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Apply I/O limits to a Serialization object, returning a new object.
|
|
70
|
+
*
|
|
71
|
+
* @private Internal code, does not follow semantic versioning.
|
|
72
|
+
*/
|
|
73
|
+
export declare function limitSerialization<T>(serialization: Serialization<T>, limitOptions: {
|
|
74
|
+
writeMaxBytes: number;
|
|
75
|
+
readMaxBytes: number;
|
|
76
|
+
}): Serialization<T>;
|
|
77
|
+
/**
|
|
78
|
+
* Options for createBinarySerialization()
|
|
79
|
+
*/
|
|
80
|
+
type BinarySerializationOptions = Partial<BinaryReadOptions & BinaryWriteOptions>;
|
|
81
|
+
/**
|
|
82
|
+
* Creates a Serialization object for serializing the given protobuf message
|
|
83
|
+
* with the protobuf binary format.
|
|
84
|
+
*/
|
|
85
|
+
export declare function createBinarySerialization<T extends Message<T>>(messageType: MessageType<T>, options: BinarySerializationOptions | undefined): Serialization<T>;
|
|
86
|
+
/**
|
|
87
|
+
* Options for createJsonSerialization()
|
|
88
|
+
*/
|
|
89
|
+
type JsonSerializationOptions = Partial<JsonReadOptions & JsonWriteOptions> & {
|
|
90
|
+
textEncoder?: {
|
|
91
|
+
encode(input?: string): Uint8Array;
|
|
92
|
+
};
|
|
93
|
+
textDecoder?: {
|
|
94
|
+
decode(input?: Uint8Array): string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Creates a Serialization object for serializing the given protobuf message
|
|
99
|
+
* with the protobuf canonical JSON encoding.
|
|
100
|
+
*
|
|
101
|
+
* By default, unknown fields are ignored.
|
|
102
|
+
*/
|
|
103
|
+
export declare function createJsonSerialization<T extends Message<T>>(messageType: MessageType<T>, options: JsonSerializationOptions | undefined): Serialization<T>;
|
|
104
|
+
export {};
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2021-2024 The Connect Authors
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.getJsonOptions = getJsonOptions;
|
|
17
|
+
exports.createMethodSerializationLookup = createMethodSerializationLookup;
|
|
18
|
+
exports.createClientMethodSerializers = createClientMethodSerializers;
|
|
19
|
+
exports.limitSerialization = limitSerialization;
|
|
20
|
+
exports.createBinarySerialization = createBinarySerialization;
|
|
21
|
+
exports.createJsonSerialization = createJsonSerialization;
|
|
22
|
+
const connect_error_js_1 = require("../connect-error.js");
|
|
23
|
+
const code_js_1 = require("../code.js");
|
|
24
|
+
const limit_io_js_1 = require("./limit-io.js");
|
|
25
|
+
/**
|
|
26
|
+
* Sets default JSON serialization options for connect-es.
|
|
27
|
+
*
|
|
28
|
+
* With standard protobuf JSON serialization, unknown JSON fields are
|
|
29
|
+
* rejected by default. In connect-es, unknown JSON fields are ignored
|
|
30
|
+
* by default.
|
|
31
|
+
*/
|
|
32
|
+
function getJsonOptions(options) {
|
|
33
|
+
var _a;
|
|
34
|
+
const o = Object.assign({}, options);
|
|
35
|
+
(_a = o.ignoreUnknownFields) !== null && _a !== void 0 ? _a : (o.ignoreUnknownFields = true);
|
|
36
|
+
return o;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Create an object that provides convenient access to request and response
|
|
40
|
+
* message serialization for a given method.
|
|
41
|
+
*
|
|
42
|
+
* @private Internal code, does not follow semantic versioning.
|
|
43
|
+
*/
|
|
44
|
+
function createMethodSerializationLookup(method, binaryOptions, jsonOptions, limitOptions) {
|
|
45
|
+
const inputBinary = limitSerialization(createBinarySerialization(method.I, binaryOptions), limitOptions);
|
|
46
|
+
const inputJson = limitSerialization(createJsonSerialization(method.I, jsonOptions), limitOptions);
|
|
47
|
+
const outputBinary = limitSerialization(createBinarySerialization(method.O, binaryOptions), limitOptions);
|
|
48
|
+
const outputJson = limitSerialization(createJsonSerialization(method.O, jsonOptions), limitOptions);
|
|
49
|
+
return {
|
|
50
|
+
getI(useBinaryFormat) {
|
|
51
|
+
return useBinaryFormat ? inputBinary : inputJson;
|
|
52
|
+
},
|
|
53
|
+
getO(useBinaryFormat) {
|
|
54
|
+
return useBinaryFormat ? outputBinary : outputJson;
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns functions to normalize and serialize the input message
|
|
60
|
+
* of an RPC, and to parse the output message of an RPC.
|
|
61
|
+
*
|
|
62
|
+
* @private Internal code, does not follow semantic versioning.
|
|
63
|
+
*/
|
|
64
|
+
function createClientMethodSerializers(method, useBinaryFormat, jsonOptions, binaryOptions) {
|
|
65
|
+
const input = useBinaryFormat
|
|
66
|
+
? createBinarySerialization(method.I, binaryOptions)
|
|
67
|
+
: createJsonSerialization(method.I, jsonOptions);
|
|
68
|
+
const output = useBinaryFormat
|
|
69
|
+
? createBinarySerialization(method.O, binaryOptions)
|
|
70
|
+
: createJsonSerialization(method.O, jsonOptions);
|
|
71
|
+
return { parse: output.parse, serialize: input.serialize };
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Apply I/O limits to a Serialization object, returning a new object.
|
|
75
|
+
*
|
|
76
|
+
* @private Internal code, does not follow semantic versioning.
|
|
77
|
+
*/
|
|
78
|
+
function limitSerialization(serialization, limitOptions) {
|
|
79
|
+
return {
|
|
80
|
+
serialize(data) {
|
|
81
|
+
const bytes = serialization.serialize(data);
|
|
82
|
+
(0, limit_io_js_1.assertWriteMaxBytes)(limitOptions.writeMaxBytes, bytes.byteLength);
|
|
83
|
+
return bytes;
|
|
84
|
+
},
|
|
85
|
+
parse(data) {
|
|
86
|
+
(0, limit_io_js_1.assertReadMaxBytes)(limitOptions.readMaxBytes, data.byteLength, true);
|
|
87
|
+
return serialization.parse(data);
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Creates a Serialization object for serializing the given protobuf message
|
|
93
|
+
* with the protobuf binary format.
|
|
94
|
+
*/
|
|
95
|
+
function createBinarySerialization(messageType, options) {
|
|
96
|
+
return {
|
|
97
|
+
parse(data) {
|
|
98
|
+
try {
|
|
99
|
+
return messageType.fromBinary(data, options);
|
|
100
|
+
}
|
|
101
|
+
catch (e) {
|
|
102
|
+
const m = e instanceof Error ? e.message : String(e);
|
|
103
|
+
throw new connect_error_js_1.ConnectError(`parse binary: ${m}`, code_js_1.Code.Internal);
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
serialize(data) {
|
|
107
|
+
try {
|
|
108
|
+
return data.toBinary(options);
|
|
109
|
+
}
|
|
110
|
+
catch (e) {
|
|
111
|
+
const m = e instanceof Error ? e.message : String(e);
|
|
112
|
+
throw new connect_error_js_1.ConnectError(`serialize binary: ${m}`, code_js_1.Code.Internal);
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Creates a Serialization object for serializing the given protobuf message
|
|
119
|
+
* with the protobuf canonical JSON encoding.
|
|
120
|
+
*
|
|
121
|
+
* By default, unknown fields are ignored.
|
|
122
|
+
*/
|
|
123
|
+
function createJsonSerialization(messageType, options) {
|
|
124
|
+
var _a, _b;
|
|
125
|
+
const textEncoder = (_a = options === null || options === void 0 ? void 0 : options.textEncoder) !== null && _a !== void 0 ? _a : new TextEncoder();
|
|
126
|
+
const textDecoder = (_b = options === null || options === void 0 ? void 0 : options.textDecoder) !== null && _b !== void 0 ? _b : new TextDecoder();
|
|
127
|
+
const o = getJsonOptions(options);
|
|
128
|
+
return {
|
|
129
|
+
parse(data) {
|
|
130
|
+
try {
|
|
131
|
+
const json = textDecoder.decode(data);
|
|
132
|
+
return messageType.fromJsonString(json, o);
|
|
133
|
+
}
|
|
134
|
+
catch (e) {
|
|
135
|
+
throw connect_error_js_1.ConnectError.from(e, code_js_1.Code.InvalidArgument);
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
serialize(data) {
|
|
139
|
+
try {
|
|
140
|
+
const json = data.toJsonString(o);
|
|
141
|
+
return textEncoder.encode(json);
|
|
142
|
+
}
|
|
143
|
+
catch (e) {
|
|
144
|
+
throw connect_error_js_1.ConnectError.from(e, code_js_1.Code.Internal);
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
};
|
|
148
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create an AbortController that is automatically aborted if one of the given
|
|
3
|
+
* signals is aborted.
|
|
4
|
+
*
|
|
5
|
+
* For convenience, the linked AbortSignals can be undefined.
|
|
6
|
+
*
|
|
7
|
+
* If the controller or any of the signals is aborted, all event listeners are
|
|
8
|
+
* removed.
|
|
9
|
+
*
|
|
10
|
+
* @private Internal code, does not follow semantic versioning.
|
|
11
|
+
*/
|
|
12
|
+
export declare function createLinkedAbortController(...signals: (AbortSignal | undefined)[]): AbortController;
|
|
13
|
+
/**
|
|
14
|
+
* Create a deadline signal. The returned object contains an AbortSignal, but
|
|
15
|
+
* also a cleanup function to stop the timer, which must be called once the
|
|
16
|
+
* calling code is no longer interested in the signal.
|
|
17
|
+
*
|
|
18
|
+
* Ideally, we would simply use AbortSignal.timeout(), but it is not widely
|
|
19
|
+
* available yet.
|
|
20
|
+
*
|
|
21
|
+
* @private Internal code, does not follow semantic versioning.
|
|
22
|
+
*/
|
|
23
|
+
export declare function createDeadlineSignal(timeoutMs: number | undefined): {
|
|
24
|
+
signal: AbortSignal;
|
|
25
|
+
cleanup: () => void;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Returns the reason why an AbortSignal was aborted. Returns undefined if the
|
|
29
|
+
* signal has not been aborted.
|
|
30
|
+
*
|
|
31
|
+
* The property AbortSignal.reason is not widely available. This function
|
|
32
|
+
* returns an AbortError if the signal is aborted, but reason is undefined.
|
|
33
|
+
*
|
|
34
|
+
* @private Internal code, does not follow semantic versioning.
|
|
35
|
+
*/
|
|
36
|
+
export declare function getAbortSignalReason(signal: AbortSignal): unknown;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2021-2024 The Connect Authors
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.createLinkedAbortController = createLinkedAbortController;
|
|
17
|
+
exports.createDeadlineSignal = createDeadlineSignal;
|
|
18
|
+
exports.getAbortSignalReason = getAbortSignalReason;
|
|
19
|
+
const connect_error_js_1 = require("../connect-error.js");
|
|
20
|
+
const code_js_1 = require("../code.js");
|
|
21
|
+
/**
|
|
22
|
+
* Create an AbortController that is automatically aborted if one of the given
|
|
23
|
+
* signals is aborted.
|
|
24
|
+
*
|
|
25
|
+
* For convenience, the linked AbortSignals can be undefined.
|
|
26
|
+
*
|
|
27
|
+
* If the controller or any of the signals is aborted, all event listeners are
|
|
28
|
+
* removed.
|
|
29
|
+
*
|
|
30
|
+
* @private Internal code, does not follow semantic versioning.
|
|
31
|
+
*/
|
|
32
|
+
function createLinkedAbortController(...signals) {
|
|
33
|
+
const controller = new AbortController();
|
|
34
|
+
const sa = signals.filter((s) => s !== undefined).concat(controller.signal);
|
|
35
|
+
for (const signal of sa) {
|
|
36
|
+
if (signal.aborted) {
|
|
37
|
+
onAbort.apply(signal);
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
signal.addEventListener("abort", onAbort);
|
|
41
|
+
}
|
|
42
|
+
function onAbort() {
|
|
43
|
+
if (!controller.signal.aborted) {
|
|
44
|
+
controller.abort(getAbortSignalReason(this));
|
|
45
|
+
}
|
|
46
|
+
for (const signal of sa) {
|
|
47
|
+
signal.removeEventListener("abort", onAbort);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return controller;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Create a deadline signal. The returned object contains an AbortSignal, but
|
|
54
|
+
* also a cleanup function to stop the timer, which must be called once the
|
|
55
|
+
* calling code is no longer interested in the signal.
|
|
56
|
+
*
|
|
57
|
+
* Ideally, we would simply use AbortSignal.timeout(), but it is not widely
|
|
58
|
+
* available yet.
|
|
59
|
+
*
|
|
60
|
+
* @private Internal code, does not follow semantic versioning.
|
|
61
|
+
*/
|
|
62
|
+
function createDeadlineSignal(timeoutMs) {
|
|
63
|
+
const controller = new AbortController();
|
|
64
|
+
const listener = () => {
|
|
65
|
+
controller.abort(new connect_error_js_1.ConnectError("the operation timed out", code_js_1.Code.DeadlineExceeded));
|
|
66
|
+
};
|
|
67
|
+
let timeoutId;
|
|
68
|
+
if (timeoutMs !== undefined) {
|
|
69
|
+
if (timeoutMs <= 0)
|
|
70
|
+
listener();
|
|
71
|
+
else
|
|
72
|
+
timeoutId = setTimeout(listener, timeoutMs);
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
signal: controller.signal,
|
|
76
|
+
cleanup: () => clearTimeout(timeoutId),
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns the reason why an AbortSignal was aborted. Returns undefined if the
|
|
81
|
+
* signal has not been aborted.
|
|
82
|
+
*
|
|
83
|
+
* The property AbortSignal.reason is not widely available. This function
|
|
84
|
+
* returns an AbortError if the signal is aborted, but reason is undefined.
|
|
85
|
+
*
|
|
86
|
+
* @private Internal code, does not follow semantic versioning.
|
|
87
|
+
*/
|
|
88
|
+
function getAbortSignalReason(signal) {
|
|
89
|
+
if (!signal.aborted) {
|
|
90
|
+
return undefined;
|
|
91
|
+
}
|
|
92
|
+
if (signal.reason !== undefined) {
|
|
93
|
+
return signal.reason;
|
|
94
|
+
}
|
|
95
|
+
// AbortSignal.reason is available in Node.js v16, v18, and later,
|
|
96
|
+
// and in all browsers since early 2022.
|
|
97
|
+
const e = new Error("This operation was aborted");
|
|
98
|
+
e.name = "AbortError";
|
|
99
|
+
return e;
|
|
100
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { BinaryReadOptions, BinaryWriteOptions, JsonReadOptions, JsonWriteOptions } from "@bufbuild/protobuf";
|
|
2
|
+
import type { UniversalClientFn } from "./universal.js";
|
|
3
|
+
import type { Interceptor } from "../interceptor.js";
|
|
4
|
+
import type { Compression } from "./compression.js";
|
|
5
|
+
/**
|
|
6
|
+
* @private Internal code, does not follow semantic versioning.
|
|
7
|
+
*/
|
|
8
|
+
export interface CommonTransportOptions {
|
|
9
|
+
/**
|
|
10
|
+
* The HTTP client to use.
|
|
11
|
+
*/
|
|
12
|
+
httpClient: UniversalClientFn;
|
|
13
|
+
/**
|
|
14
|
+
* Base URI for all HTTP requests.
|
|
15
|
+
*
|
|
16
|
+
* Requests will be made to <baseUrl>/<package>.<service>/method
|
|
17
|
+
*
|
|
18
|
+
* Example: `baseUrl: "https://example.com/my-api"`
|
|
19
|
+
*
|
|
20
|
+
* This will make a `POST /my-api/my_package.MyService/Foo` to
|
|
21
|
+
* `example.com` via HTTPS.
|
|
22
|
+
*/
|
|
23
|
+
baseUrl: string;
|
|
24
|
+
/**
|
|
25
|
+
* By default, clients use the binary format for gRPC-web, because
|
|
26
|
+
* not all gRPC-web implementations support JSON.
|
|
27
|
+
*/
|
|
28
|
+
useBinaryFormat: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Interceptors that should be applied to all calls running through
|
|
31
|
+
* this transport. See the Interceptor type for details.
|
|
32
|
+
*/
|
|
33
|
+
interceptors: Interceptor[];
|
|
34
|
+
/**
|
|
35
|
+
* Options for the JSON format.
|
|
36
|
+
* By default, unknown fields are ignored.
|
|
37
|
+
*/
|
|
38
|
+
jsonOptions?: Partial<JsonReadOptions & JsonWriteOptions>;
|
|
39
|
+
/**
|
|
40
|
+
* Options for the binary wire format.
|
|
41
|
+
*/
|
|
42
|
+
binaryOptions?: Partial<BinaryReadOptions & BinaryWriteOptions>;
|
|
43
|
+
/**
|
|
44
|
+
* Compression algorithms available to a client. Clients ask servers to
|
|
45
|
+
* compress responses using any of the registered algorithms. The first
|
|
46
|
+
* registered algorithm is the most preferred.
|
|
47
|
+
*
|
|
48
|
+
* It is safe to use this option liberally: servers will ignore any
|
|
49
|
+
* compression algorithms they don't support. To compress requests, pair this
|
|
50
|
+
* option with `sendCompression`.
|
|
51
|
+
*
|
|
52
|
+
* If this option is not provided, the compression algorithms "gzip" and "br"
|
|
53
|
+
* (Brotli) are accepted. To opt out of response compression, pass an
|
|
54
|
+
* empty array.
|
|
55
|
+
*/
|
|
56
|
+
acceptCompression: Compression[];
|
|
57
|
+
/**
|
|
58
|
+
* Configures the client to use the specified algorithm to compress request
|
|
59
|
+
* messages.
|
|
60
|
+
*
|
|
61
|
+
* Because some servers don't support compression, clients default to sending
|
|
62
|
+
* uncompressed requests.
|
|
63
|
+
*/
|
|
64
|
+
sendCompression: Compression | null;
|
|
65
|
+
/**
|
|
66
|
+
* Sets a minimum size threshold for compression: Messages that are smaller
|
|
67
|
+
* than the configured minimum are sent uncompressed.
|
|
68
|
+
*
|
|
69
|
+
* The default value is 1 kibibyte, because the CPU cost of compressing very
|
|
70
|
+
* small messages usually isn't worth the small reduction in network I/O.
|
|
71
|
+
*/
|
|
72
|
+
compressMinBytes: number;
|
|
73
|
+
/**
|
|
74
|
+
* Limits the performance impact of pathologically large messages sent by the
|
|
75
|
+
* server. Limits apply to each individual message, not to the stream as a
|
|
76
|
+
* whole.
|
|
77
|
+
*
|
|
78
|
+
* The default limit is the maximum supported value of ~4GiB.
|
|
79
|
+
*/
|
|
80
|
+
readMaxBytes: number;
|
|
81
|
+
/**
|
|
82
|
+
* Prevents sending messages too large for the server to handle.
|
|
83
|
+
*
|
|
84
|
+
* The default limit is the maximum supported value of ~4GiB.
|
|
85
|
+
*/
|
|
86
|
+
writeMaxBytes: number;
|
|
87
|
+
/**
|
|
88
|
+
* Controls whether or not Connect GET requests should be used when
|
|
89
|
+
* available, on side-effect free methods. Defaults to false.
|
|
90
|
+
*/
|
|
91
|
+
useHttpGet?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* The timeout in milliseconds to apply to all requests.
|
|
94
|
+
*
|
|
95
|
+
* This can be overridden on a per-request basis by passing a timeoutMs.
|
|
96
|
+
*/
|
|
97
|
+
defaultTimeoutMs?: number;
|
|
98
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2021-2024 The Connect Authors
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { UniversalClientFn, UniversalClientRequest, UniversalClientResponse, UniversalHandlerFn, UniversalServerRequest, UniversalServerResponse } from "./universal.js";
|
|
2
|
+
/**
|
|
3
|
+
* Create a universal client function, a minimal abstraction of an HTTP client,
|
|
4
|
+
* using the given fetch() implementation.
|
|
5
|
+
*/
|
|
6
|
+
export declare function createFetchClient(fetchFn: typeof fetch): UniversalClientFn;
|
|
7
|
+
/**
|
|
8
|
+
* FetchHandlerFn is a minimal abstraction of an HTTP handler with the fetch API
|
|
9
|
+
* Request and Response types.
|
|
10
|
+
*/
|
|
11
|
+
type FetchHandlerFn = (req: Request) => Promise<Response>;
|
|
12
|
+
interface FetchHandlerOptions {
|
|
13
|
+
httpVersion?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Convert a universal handler function to a fetch handler.
|
|
17
|
+
*/
|
|
18
|
+
export declare function createFetchHandler(uHandler: UniversalHandlerFn, options?: FetchHandlerOptions): FetchHandlerFn;
|
|
19
|
+
/**
|
|
20
|
+
* Convert a universal client request to a fetch request.
|
|
21
|
+
*/
|
|
22
|
+
export declare function universalClientRequestToFetch(req: UniversalClientRequest): Request;
|
|
23
|
+
/**
|
|
24
|
+
* Convert a fetch response to a universal client response.
|
|
25
|
+
*/
|
|
26
|
+
export declare function universalClientResponseFromFetch(res: Response): UniversalClientResponse;
|
|
27
|
+
/**
|
|
28
|
+
* Convert a fetch request to a universal server request.
|
|
29
|
+
*/
|
|
30
|
+
export declare function universalServerRequestFromFetch(req: Request, options: FetchHandlerOptions): UniversalServerRequest;
|
|
31
|
+
/**
|
|
32
|
+
* Convert a universal server response to a fetch response.
|
|
33
|
+
*/
|
|
34
|
+
export declare function universalServerResponseToFetch(res: UniversalServerResponse): Response;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2021-2024 The Connect Authors
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.createFetchClient = createFetchClient;
|
|
17
|
+
exports.createFetchHandler = createFetchHandler;
|
|
18
|
+
exports.universalClientRequestToFetch = universalClientRequestToFetch;
|
|
19
|
+
exports.universalClientResponseFromFetch = universalClientResponseFromFetch;
|
|
20
|
+
exports.universalServerRequestFromFetch = universalServerRequestFromFetch;
|
|
21
|
+
exports.universalServerResponseToFetch = universalServerResponseToFetch;
|
|
22
|
+
/**
|
|
23
|
+
* Create a universal client function, a minimal abstraction of an HTTP client,
|
|
24
|
+
* using the given fetch() implementation.
|
|
25
|
+
*/
|
|
26
|
+
function createFetchClient(fetchFn) {
|
|
27
|
+
return async function fetchClient(request) {
|
|
28
|
+
const res = await fetchFn(universalClientRequestToFetch(request));
|
|
29
|
+
return universalClientResponseFromFetch(res);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Convert a universal handler function to a fetch handler.
|
|
34
|
+
*/
|
|
35
|
+
function createFetchHandler(uHandler, options) {
|
|
36
|
+
async function handleFetch(req) {
|
|
37
|
+
const uReq = universalServerRequestFromFetch(req, options !== null && options !== void 0 ? options : {});
|
|
38
|
+
const uRes = await uHandler(uReq);
|
|
39
|
+
return universalServerResponseToFetch(uRes);
|
|
40
|
+
}
|
|
41
|
+
return Object.assign(handleFetch, uHandler);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Convert a universal client request to a fetch request.
|
|
45
|
+
*/
|
|
46
|
+
function universalClientRequestToFetch(req) {
|
|
47
|
+
const body = req.body === undefined ? null : iterableToReadableStream(req.body);
|
|
48
|
+
return new Request(req.url, {
|
|
49
|
+
method: req.method,
|
|
50
|
+
headers: req.header,
|
|
51
|
+
signal: req.signal,
|
|
52
|
+
body,
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Convert a fetch response to a universal client response.
|
|
57
|
+
*/
|
|
58
|
+
function universalClientResponseFromFetch(res) {
|
|
59
|
+
return {
|
|
60
|
+
status: res.status,
|
|
61
|
+
header: res.headers,
|
|
62
|
+
body: iterableFromReadableStream(res.body),
|
|
63
|
+
trailer: new Headers(),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Convert a fetch request to a universal server request.
|
|
68
|
+
*/
|
|
69
|
+
function universalServerRequestFromFetch(req, options) {
|
|
70
|
+
var _a;
|
|
71
|
+
return {
|
|
72
|
+
httpVersion: (_a = options.httpVersion) !== null && _a !== void 0 ? _a : "",
|
|
73
|
+
method: req.method,
|
|
74
|
+
url: req.url,
|
|
75
|
+
header: req.headers,
|
|
76
|
+
body: iterableFromReadableStream(req.body),
|
|
77
|
+
signal: req.signal,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Convert a universal server response to a fetch response.
|
|
82
|
+
*/
|
|
83
|
+
function universalServerResponseToFetch(res) {
|
|
84
|
+
let body = null;
|
|
85
|
+
if (res.body !== undefined) {
|
|
86
|
+
body = iterableToReadableStream(res.body);
|
|
87
|
+
}
|
|
88
|
+
return new Response(body, {
|
|
89
|
+
status: res.status,
|
|
90
|
+
headers: res.header,
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
function iterableToReadableStream(iterable) {
|
|
94
|
+
const it = iterable[Symbol.asyncIterator]();
|
|
95
|
+
return new ReadableStream({
|
|
96
|
+
async pull(controller) {
|
|
97
|
+
const r = await it.next();
|
|
98
|
+
if (r.done === true) {
|
|
99
|
+
controller.close();
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
controller.enqueue(r.value);
|
|
103
|
+
},
|
|
104
|
+
async cancel(reason) {
|
|
105
|
+
if (it.throw) {
|
|
106
|
+
try {
|
|
107
|
+
await it.throw(reason);
|
|
108
|
+
}
|
|
109
|
+
catch (_a) {
|
|
110
|
+
// iterator.throw on a generator function rethrows unless the
|
|
111
|
+
// body catches and swallows.
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
function iterableFromReadableStream(body) {
|
|
118
|
+
const reader = body === null || body === void 0 ? void 0 : body.getReader();
|
|
119
|
+
return {
|
|
120
|
+
[Symbol.asyncIterator]() {
|
|
121
|
+
return {
|
|
122
|
+
async next() {
|
|
123
|
+
if (reader !== undefined) {
|
|
124
|
+
const r = await reader.read();
|
|
125
|
+
if (r.done) {
|
|
126
|
+
return {
|
|
127
|
+
done: true,
|
|
128
|
+
value: undefined,
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
return r;
|
|
132
|
+
}
|
|
133
|
+
return {
|
|
134
|
+
done: true,
|
|
135
|
+
value: undefined,
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
async throw(e) {
|
|
139
|
+
if (reader !== undefined) {
|
|
140
|
+
await reader.cancel(e);
|
|
141
|
+
}
|
|
142
|
+
return {
|
|
143
|
+
done: true,
|
|
144
|
+
value: undefined,
|
|
145
|
+
};
|
|
146
|
+
},
|
|
147
|
+
};
|
|
148
|
+
},
|
|
149
|
+
};
|
|
150
|
+
}
|