@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,87 @@
|
|
|
1
|
+
// Copyright 2021-2024 The Connect Authors
|
|
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 { Code } from "../code.js";
|
|
15
|
+
import { ConnectError } from "../connect-error.js";
|
|
16
|
+
import { createAsyncIterable, pipe } from "./async-iterable.js";
|
|
17
|
+
import { getAbortSignalReason } from "./signals.js";
|
|
18
|
+
/**
|
|
19
|
+
* An in-memory UniversalClientFn that can be used to route requests to a ConnectRouter
|
|
20
|
+
* bypassing network calls. Useful for testing and calling in-process services.
|
|
21
|
+
*/
|
|
22
|
+
export function createUniversalHandlerClient(uHandlers) {
|
|
23
|
+
const handlerMap = new Map();
|
|
24
|
+
for (const handler of uHandlers) {
|
|
25
|
+
handlerMap.set(handler.requestPath, handler);
|
|
26
|
+
}
|
|
27
|
+
return async (uClientReq) => {
|
|
28
|
+
var _a, _b, _c;
|
|
29
|
+
const pathname = new URL(uClientReq.url).pathname;
|
|
30
|
+
const handler = handlerMap.get(pathname);
|
|
31
|
+
if (!handler) {
|
|
32
|
+
throw new ConnectError(`RouterHttpClient: no handler registered for ${pathname}`, Code.Unimplemented);
|
|
33
|
+
}
|
|
34
|
+
const reqSignal = (_a = uClientReq.signal) !== null && _a !== void 0 ? _a : new AbortController().signal;
|
|
35
|
+
const uServerRes = await raceSignal(reqSignal, handler({
|
|
36
|
+
body: (_b = uClientReq.body) !== null && _b !== void 0 ? _b : createAsyncIterable([]),
|
|
37
|
+
httpVersion: "2.0",
|
|
38
|
+
method: uClientReq.method,
|
|
39
|
+
url: uClientReq.url,
|
|
40
|
+
header: uClientReq.header,
|
|
41
|
+
signal: reqSignal,
|
|
42
|
+
}));
|
|
43
|
+
const body = (_c = uServerRes.body) !== null && _c !== void 0 ? _c : createAsyncIterable([]);
|
|
44
|
+
return {
|
|
45
|
+
body: pipe(body, (iterable) => {
|
|
46
|
+
return {
|
|
47
|
+
[Symbol.asyncIterator]() {
|
|
48
|
+
const it = iterable[Symbol.asyncIterator]();
|
|
49
|
+
const w = {
|
|
50
|
+
next() {
|
|
51
|
+
return raceSignal(reqSignal, it.next());
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
if (it.throw !== undefined) {
|
|
55
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- can't handle mutated object sensibly
|
|
56
|
+
w.throw = (e) => it.throw(e);
|
|
57
|
+
}
|
|
58
|
+
if (it.return !== undefined) {
|
|
59
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion,@typescript-eslint/no-explicit-any -- can't handle mutated object sensibly
|
|
60
|
+
w.return = (value) => it.return(value);
|
|
61
|
+
}
|
|
62
|
+
return w;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
}),
|
|
66
|
+
header: new Headers(uServerRes.header),
|
|
67
|
+
status: uServerRes.status,
|
|
68
|
+
trailer: new Headers(uServerRes.trailer),
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Wrap a promise, and reject early if the given signal triggers before the
|
|
74
|
+
* promise is settled.
|
|
75
|
+
*/
|
|
76
|
+
function raceSignal(signal, promise) {
|
|
77
|
+
let cleanup;
|
|
78
|
+
const signalPromise = new Promise((_, reject) => {
|
|
79
|
+
const onAbort = () => reject(getAbortSignalReason(signal));
|
|
80
|
+
if (signal.aborted) {
|
|
81
|
+
return onAbort();
|
|
82
|
+
}
|
|
83
|
+
signal.addEventListener("abort", onAbort);
|
|
84
|
+
cleanup = () => signal.removeEventListener("abort", onAbort);
|
|
85
|
+
});
|
|
86
|
+
return Promise.race([signalPromise, promise]).finally(cleanup);
|
|
87
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import type { BinaryReadOptions, BinaryWriteOptions, JsonReadOptions, JsonWriteOptions, MethodInfo, ServiceType } from "@bufbuild/protobuf";
|
|
2
|
+
import type { MethodImplSpec, ServiceImplSpec } from "../implementation.js";
|
|
3
|
+
import type { UniversalHandlerFn } from "./universal.js";
|
|
4
|
+
import type { ContentTypeMatcher } from "./content-type-matcher.js";
|
|
5
|
+
import type { Compression } from "./compression.js";
|
|
6
|
+
import type { ProtocolHandlerFactory } from "./protocol-handler-factory.js";
|
|
7
|
+
import type { Interceptor } from "../interceptor.js";
|
|
8
|
+
/**
|
|
9
|
+
* Common options for handlers.
|
|
10
|
+
*
|
|
11
|
+
* @private Internal code, does not follow semantic versioning.
|
|
12
|
+
*/
|
|
13
|
+
export interface UniversalHandlerOptions {
|
|
14
|
+
/**
|
|
15
|
+
* Compression algorithms available to a server for decompressing request
|
|
16
|
+
* messages, and for compressing response messages.
|
|
17
|
+
*/
|
|
18
|
+
acceptCompression: Compression[];
|
|
19
|
+
/**
|
|
20
|
+
* Sets a minimum size threshold for compression: Messages that are smaller
|
|
21
|
+
* than the configured minimum are sent uncompressed.
|
|
22
|
+
*
|
|
23
|
+
* The default value is 1 kibibyte, because the CPU cost of compressing very
|
|
24
|
+
* small messages usually isn't worth the small reduction in network I/O.
|
|
25
|
+
*/
|
|
26
|
+
compressMinBytes: number;
|
|
27
|
+
/**
|
|
28
|
+
* Limits the performance impact of pathologically large messages sent by the
|
|
29
|
+
* client. Limits apply to each individual message, not to the stream as a
|
|
30
|
+
* whole.
|
|
31
|
+
*
|
|
32
|
+
* The default limit is the maximum supported value of ~4GiB.
|
|
33
|
+
*/
|
|
34
|
+
readMaxBytes: number;
|
|
35
|
+
/**
|
|
36
|
+
* Prevents sending messages too large for the client to handle.
|
|
37
|
+
*
|
|
38
|
+
* The default limit is the maximum supported value of ~4GiB.
|
|
39
|
+
*/
|
|
40
|
+
writeMaxBytes: number;
|
|
41
|
+
/**
|
|
42
|
+
* Options for the JSON format.
|
|
43
|
+
* By default, unknown fields are ignored.
|
|
44
|
+
*/
|
|
45
|
+
jsonOptions?: Partial<JsonReadOptions & JsonWriteOptions>;
|
|
46
|
+
/**
|
|
47
|
+
* Options for the binary wire format.
|
|
48
|
+
*/
|
|
49
|
+
binaryOptions?: Partial<BinaryReadOptions & BinaryWriteOptions>;
|
|
50
|
+
/**
|
|
51
|
+
* The maximum value for timeouts that clients may specify.
|
|
52
|
+
* If a clients requests a timeout that is greater than maxTimeoutMs,
|
|
53
|
+
* the server responds with the error code InvalidArgument.
|
|
54
|
+
*/
|
|
55
|
+
maxTimeoutMs: number;
|
|
56
|
+
/**
|
|
57
|
+
* To shut down servers gracefully, this option takes an AbortSignal.
|
|
58
|
+
* If this signal is aborted, all signals in handler contexts will be aborted
|
|
59
|
+
* as well. This gives implementations a chance to wrap up work before the
|
|
60
|
+
* server process is killed.
|
|
61
|
+
* Abort this signal with a ConnectError to send a message and code to
|
|
62
|
+
* clients.
|
|
63
|
+
*/
|
|
64
|
+
shutdownSignal?: AbortSignal;
|
|
65
|
+
/**
|
|
66
|
+
* Require requests using the Connect protocol to include the header
|
|
67
|
+
* Connect-Protocol-Version. This ensures that HTTP proxies and other
|
|
68
|
+
* code inspecting traffic can easily identify Connect RPC requests,
|
|
69
|
+
* even if they use a common Content-Type like application/json.
|
|
70
|
+
*
|
|
71
|
+
* If a Connect request does not include the Connect-Protocol-Version
|
|
72
|
+
* header, an error with code invalid_argument (HTTP 400) is returned.
|
|
73
|
+
* This option has no effect if the client uses the gRPC or the gRPC-web
|
|
74
|
+
* protocol.
|
|
75
|
+
*/
|
|
76
|
+
requireConnectProtocolHeader: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Interceptors that should be applied to all calls running through
|
|
79
|
+
* this router. See the Interceptor type for details.
|
|
80
|
+
*/
|
|
81
|
+
interceptors: Interceptor[];
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* An HTTP handler for one specific RPC - a procedure typically defined in
|
|
85
|
+
* protobuf.
|
|
86
|
+
*/
|
|
87
|
+
export interface UniversalHandler extends UniversalHandlerFn {
|
|
88
|
+
/**
|
|
89
|
+
* The name of the protocols this handler implements.
|
|
90
|
+
*/
|
|
91
|
+
protocolNames: string[];
|
|
92
|
+
/**
|
|
93
|
+
* Information about the related protobuf service.
|
|
94
|
+
*/
|
|
95
|
+
service: ServiceType;
|
|
96
|
+
/**
|
|
97
|
+
* Information about the method of the protobuf service.
|
|
98
|
+
*/
|
|
99
|
+
method: MethodInfo;
|
|
100
|
+
/**
|
|
101
|
+
* The request path of the procedure, without any prefixes.
|
|
102
|
+
* For example, "/something/foo.FooService/Bar" for the method
|
|
103
|
+
* "Bar" of the service "foo.FooService".
|
|
104
|
+
*/
|
|
105
|
+
requestPath: string;
|
|
106
|
+
/**
|
|
107
|
+
* The HTTP request methods this procedure allows. For example, "POST".
|
|
108
|
+
*/
|
|
109
|
+
allowedMethods: string[];
|
|
110
|
+
/**
|
|
111
|
+
* A matcher for Content-Type header values that this procedure supports.
|
|
112
|
+
*/
|
|
113
|
+
supportedContentType: ContentTypeMatcher;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Asserts that the options are within sane limits, and returns default values
|
|
117
|
+
* where no value is provided.
|
|
118
|
+
*
|
|
119
|
+
* Note that this function does not set default values for `acceptCompression`.
|
|
120
|
+
*
|
|
121
|
+
* @private Internal code, does not follow semantic versioning.
|
|
122
|
+
*/
|
|
123
|
+
export declare function validateUniversalHandlerOptions(opt: Partial<UniversalHandlerOptions> | undefined): UniversalHandlerOptions;
|
|
124
|
+
/**
|
|
125
|
+
* For the given service implementation, return a universal handler for each
|
|
126
|
+
* RPC. The handler serves the given protocols.
|
|
127
|
+
*
|
|
128
|
+
* At least one protocol is required.
|
|
129
|
+
*
|
|
130
|
+
* @private Internal code, does not follow semantic versioning.
|
|
131
|
+
*/
|
|
132
|
+
export declare function createUniversalServiceHandlers(spec: ServiceImplSpec, protocols: ProtocolHandlerFactory[]): UniversalHandler[];
|
|
133
|
+
/**
|
|
134
|
+
* Return a universal handler for the given RPC implementation.
|
|
135
|
+
* The handler serves the given protocols.
|
|
136
|
+
*
|
|
137
|
+
* At least one protocol is required.
|
|
138
|
+
*
|
|
139
|
+
* @private Internal code, does not follow semantic versioning.
|
|
140
|
+
*/
|
|
141
|
+
export declare function createUniversalMethodHandler(spec: MethodImplSpec, protocols: ProtocolHandlerFactory[]): UniversalHandler;
|
|
142
|
+
/**
|
|
143
|
+
* Create a universal handler that negotiates the protocol.
|
|
144
|
+
*
|
|
145
|
+
* This functions takes one or more handlers - all for the same RPC, but for
|
|
146
|
+
* different protocols - and returns a single handler that looks at the
|
|
147
|
+
* Content-Type header and the HTTP verb of the incoming request to select
|
|
148
|
+
* the appropriate protocol-specific handler.
|
|
149
|
+
*
|
|
150
|
+
* Raises an error if no protocol handlers were provided, or if they do not
|
|
151
|
+
* handle exactly the same RPC.
|
|
152
|
+
*
|
|
153
|
+
* @private Internal code, does not follow semantic versioning.
|
|
154
|
+
*/
|
|
155
|
+
export declare function negotiateProtocol(protocolHandlers: UniversalHandler[]): UniversalHandler;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
// Copyright 2021-2024 The Connect Authors
|
|
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 { MethodKind } from "@bufbuild/protobuf";
|
|
15
|
+
import { uResponseMethodNotAllowed, uResponseUnsupportedMediaType, uResponseVersionNotSupported, } from "./universal.js";
|
|
16
|
+
import { contentTypeMatcher } from "./content-type-matcher.js";
|
|
17
|
+
import { validateReadWriteMaxBytes } from "./limit-io.js";
|
|
18
|
+
import { ConnectError } from "../connect-error.js";
|
|
19
|
+
import { Code } from "../code.js";
|
|
20
|
+
/**
|
|
21
|
+
* Asserts that the options are within sane limits, and returns default values
|
|
22
|
+
* where no value is provided.
|
|
23
|
+
*
|
|
24
|
+
* Note that this function does not set default values for `acceptCompression`.
|
|
25
|
+
*
|
|
26
|
+
* @private Internal code, does not follow semantic versioning.
|
|
27
|
+
*/
|
|
28
|
+
export function validateUniversalHandlerOptions(opt) {
|
|
29
|
+
var _a, _b, _c;
|
|
30
|
+
opt !== null && opt !== void 0 ? opt : (opt = {});
|
|
31
|
+
const acceptCompression = opt.acceptCompression
|
|
32
|
+
? [...opt.acceptCompression]
|
|
33
|
+
: [];
|
|
34
|
+
const requireConnectProtocolHeader = (_a = opt.requireConnectProtocolHeader) !== null && _a !== void 0 ? _a : false;
|
|
35
|
+
const maxTimeoutMs = (_b = opt.maxTimeoutMs) !== null && _b !== void 0 ? _b : Number.MAX_SAFE_INTEGER;
|
|
36
|
+
return Object.assign(Object.assign({ acceptCompression }, validateReadWriteMaxBytes(opt.readMaxBytes, opt.writeMaxBytes, opt.compressMinBytes)), { jsonOptions: opt.jsonOptions, binaryOptions: opt.binaryOptions, maxTimeoutMs, shutdownSignal: opt.shutdownSignal, requireConnectProtocolHeader, interceptors: (_c = opt.interceptors) !== null && _c !== void 0 ? _c : [] });
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* For the given service implementation, return a universal handler for each
|
|
40
|
+
* RPC. The handler serves the given protocols.
|
|
41
|
+
*
|
|
42
|
+
* At least one protocol is required.
|
|
43
|
+
*
|
|
44
|
+
* @private Internal code, does not follow semantic versioning.
|
|
45
|
+
*/
|
|
46
|
+
export function createUniversalServiceHandlers(spec, protocols) {
|
|
47
|
+
return Object.entries(spec.methods).map(([, implSpec]) => createUniversalMethodHandler(implSpec, protocols));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Return a universal handler for the given RPC implementation.
|
|
51
|
+
* The handler serves the given protocols.
|
|
52
|
+
*
|
|
53
|
+
* At least one protocol is required.
|
|
54
|
+
*
|
|
55
|
+
* @private Internal code, does not follow semantic versioning.
|
|
56
|
+
*/
|
|
57
|
+
export function createUniversalMethodHandler(spec, protocols) {
|
|
58
|
+
return negotiateProtocol(protocols.map((f) => f(spec)));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Create a universal handler that negotiates the protocol.
|
|
62
|
+
*
|
|
63
|
+
* This functions takes one or more handlers - all for the same RPC, but for
|
|
64
|
+
* different protocols - and returns a single handler that looks at the
|
|
65
|
+
* Content-Type header and the HTTP verb of the incoming request to select
|
|
66
|
+
* the appropriate protocol-specific handler.
|
|
67
|
+
*
|
|
68
|
+
* Raises an error if no protocol handlers were provided, or if they do not
|
|
69
|
+
* handle exactly the same RPC.
|
|
70
|
+
*
|
|
71
|
+
* @private Internal code, does not follow semantic versioning.
|
|
72
|
+
*/
|
|
73
|
+
export function negotiateProtocol(protocolHandlers) {
|
|
74
|
+
if (protocolHandlers.length == 0) {
|
|
75
|
+
throw new ConnectError("at least one protocol is required", Code.Internal);
|
|
76
|
+
}
|
|
77
|
+
const service = protocolHandlers[0].service;
|
|
78
|
+
const method = protocolHandlers[0].method;
|
|
79
|
+
const requestPath = protocolHandlers[0].requestPath;
|
|
80
|
+
if (protocolHandlers.some((h) => h.service !== service || h.method !== method)) {
|
|
81
|
+
throw new ConnectError("cannot negotiate protocol for different RPCs", Code.Internal);
|
|
82
|
+
}
|
|
83
|
+
if (protocolHandlers.some((h) => h.requestPath !== requestPath)) {
|
|
84
|
+
throw new ConnectError("cannot negotiate protocol for different requestPaths", Code.Internal);
|
|
85
|
+
}
|
|
86
|
+
async function protocolNegotiatingHandler(request) {
|
|
87
|
+
var _a;
|
|
88
|
+
if (method.kind == MethodKind.BiDiStreaming &&
|
|
89
|
+
request.httpVersion.startsWith("1.")) {
|
|
90
|
+
return Object.assign(Object.assign({}, uResponseVersionNotSupported), {
|
|
91
|
+
// Clients coded to expect full-duplex connections may hang if they've
|
|
92
|
+
// mistakenly negotiated HTTP/1.1. To unblock them, we must close the
|
|
93
|
+
// underlying TCP connection.
|
|
94
|
+
header: new Headers({ Connection: "close" }) });
|
|
95
|
+
}
|
|
96
|
+
const contentType = (_a = request.header.get("Content-Type")) !== null && _a !== void 0 ? _a : "";
|
|
97
|
+
const matchingMethod = protocolHandlers.filter((h) => h.allowedMethods.includes(request.method));
|
|
98
|
+
if (matchingMethod.length == 0) {
|
|
99
|
+
return uResponseMethodNotAllowed;
|
|
100
|
+
}
|
|
101
|
+
// If Content-Type is unset but only one handler matches, use it.
|
|
102
|
+
if (matchingMethod.length == 1 && contentType === "") {
|
|
103
|
+
const onlyMatch = matchingMethod[0];
|
|
104
|
+
return onlyMatch(request);
|
|
105
|
+
}
|
|
106
|
+
const matchingContentTypes = matchingMethod.filter((h) => h.supportedContentType(contentType));
|
|
107
|
+
if (matchingContentTypes.length == 0) {
|
|
108
|
+
return uResponseUnsupportedMediaType;
|
|
109
|
+
}
|
|
110
|
+
const firstMatch = matchingContentTypes[0];
|
|
111
|
+
return firstMatch(request);
|
|
112
|
+
}
|
|
113
|
+
return Object.assign(protocolNegotiatingHandler, {
|
|
114
|
+
service,
|
|
115
|
+
method,
|
|
116
|
+
requestPath,
|
|
117
|
+
supportedContentType: contentTypeMatcher(...protocolHandlers.map((h) => h.supportedContentType)),
|
|
118
|
+
protocolNames: protocolHandlers
|
|
119
|
+
.flatMap((h) => h.protocolNames)
|
|
120
|
+
.filter((value, index, array) => array.indexOf(value) === index),
|
|
121
|
+
allowedMethods: protocolHandlers
|
|
122
|
+
.flatMap((h) => h.allowedMethods)
|
|
123
|
+
.filter((value, index, array) => array.indexOf(value) === index),
|
|
124
|
+
});
|
|
125
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { JsonValue } from "@bufbuild/protobuf";
|
|
2
|
+
import type { ContextValues } from "../context-values.js";
|
|
3
|
+
/**
|
|
4
|
+
* A minimal abstraction of an HTTP client.
|
|
5
|
+
*/
|
|
6
|
+
export type UniversalClientFn = (request: UniversalClientRequest) => Promise<UniversalClientResponse>;
|
|
7
|
+
/**
|
|
8
|
+
* A minimal abstraction of an HTTP request on the client side.
|
|
9
|
+
*/
|
|
10
|
+
export interface UniversalClientRequest {
|
|
11
|
+
url: string;
|
|
12
|
+
method: string;
|
|
13
|
+
header: Headers;
|
|
14
|
+
body?: AsyncIterable<Uint8Array>;
|
|
15
|
+
signal?: AbortSignal;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A minimal abstraction of an HTTP request on the client side.
|
|
19
|
+
*/
|
|
20
|
+
export interface UniversalClientResponse {
|
|
21
|
+
status: number;
|
|
22
|
+
header: Headers;
|
|
23
|
+
body: AsyncIterable<Uint8Array>;
|
|
24
|
+
trailer: Headers;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A minimal abstraction of an HTTP handler.
|
|
28
|
+
*/
|
|
29
|
+
export type UniversalHandlerFn = (request: UniversalServerRequest) => Promise<UniversalServerResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* A minimal abstraction of an HTTP request on the server side.
|
|
32
|
+
*/
|
|
33
|
+
export interface UniversalServerRequest {
|
|
34
|
+
httpVersion: string;
|
|
35
|
+
url: string;
|
|
36
|
+
method: string;
|
|
37
|
+
header: Headers;
|
|
38
|
+
/**
|
|
39
|
+
* Many server frameworks parse request bodies with the mime type
|
|
40
|
+
* application/json automatically. We accept a JSON value as an
|
|
41
|
+
* alternative to a byte stream here so that this situation can be
|
|
42
|
+
* handled efficiently.
|
|
43
|
+
*/
|
|
44
|
+
body: AsyncIterable<Uint8Array> | JsonValue;
|
|
45
|
+
signal: AbortSignal;
|
|
46
|
+
contextValues?: ContextValues;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* A minimal abstraction of an HTTP response on the server side.
|
|
50
|
+
*/
|
|
51
|
+
export interface UniversalServerResponse {
|
|
52
|
+
status: number;
|
|
53
|
+
header?: Headers;
|
|
54
|
+
body?: AsyncIterable<Uint8Array>;
|
|
55
|
+
trailer?: Headers;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Assert that the given UniversalServerRequest has a byte stream body, not
|
|
59
|
+
* a JSON value.
|
|
60
|
+
*
|
|
61
|
+
* We accept a JSON object or a byte stream in server requests.
|
|
62
|
+
* In practice, only Connect unary handlers will receive a parse
|
|
63
|
+
* JSON object. Other call-sites can use this assertion to narrow
|
|
64
|
+
* the union type. A failure in such a call-sites indicates that
|
|
65
|
+
* the contract between a server framework and the connect-node \
|
|
66
|
+
* handler is broken.
|
|
67
|
+
*
|
|
68
|
+
* @private Internal code, does not follow semantic versioning.
|
|
69
|
+
*/
|
|
70
|
+
export declare function assertByteStreamRequest(req: UniversalServerRequest): asserts req is Omit<UniversalServerRequest, "body"> & {
|
|
71
|
+
body: AsyncIterable<Uint8Array>;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* HTTP 200 OK
|
|
75
|
+
*
|
|
76
|
+
* @private Internal code, does not follow semantic versioning.
|
|
77
|
+
*/
|
|
78
|
+
export declare const uResponseOk: Readonly<UniversalServerResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* HTTP 404 Not Found
|
|
81
|
+
*
|
|
82
|
+
* @private Internal code, does not follow semantic versioning.
|
|
83
|
+
*/
|
|
84
|
+
export declare const uResponseNotFound: Readonly<UniversalServerResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* HTTP 415 Unsupported Media Type
|
|
87
|
+
*
|
|
88
|
+
* @private Internal code, does not follow semantic versioning.
|
|
89
|
+
*/
|
|
90
|
+
export declare const uResponseUnsupportedMediaType: Readonly<UniversalServerResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* HTTP 405 Method Not Allowed
|
|
93
|
+
*
|
|
94
|
+
* @private Internal code, does not follow semantic versioning.
|
|
95
|
+
*/
|
|
96
|
+
export declare const uResponseMethodNotAllowed: Readonly<UniversalServerResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* HTTP 505 Version Not Supported
|
|
99
|
+
*
|
|
100
|
+
* @private Internal code, does not follow semantic versioning.
|
|
101
|
+
*/
|
|
102
|
+
export declare const uResponseVersionNotSupported: Readonly<UniversalServerResponse>;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// Copyright 2021-2024 The Connect Authors
|
|
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
|
+
/**
|
|
15
|
+
* Assert that the given UniversalServerRequest has a byte stream body, not
|
|
16
|
+
* a JSON value.
|
|
17
|
+
*
|
|
18
|
+
* We accept a JSON object or a byte stream in server requests.
|
|
19
|
+
* In practice, only Connect unary handlers will receive a parse
|
|
20
|
+
* JSON object. Other call-sites can use this assertion to narrow
|
|
21
|
+
* the union type. A failure in such a call-sites indicates that
|
|
22
|
+
* the contract between a server framework and the connect-node \
|
|
23
|
+
* handler is broken.
|
|
24
|
+
*
|
|
25
|
+
* @private Internal code, does not follow semantic versioning.
|
|
26
|
+
*/
|
|
27
|
+
export function assertByteStreamRequest(req) {
|
|
28
|
+
if (typeof req.body == "object" &&
|
|
29
|
+
req.body !== null &&
|
|
30
|
+
Symbol.asyncIterator in req.body) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
throw new Error("byte stream required, but received JSON");
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* HTTP 200 OK
|
|
37
|
+
*
|
|
38
|
+
* @private Internal code, does not follow semantic versioning.
|
|
39
|
+
*/
|
|
40
|
+
export const uResponseOk = {
|
|
41
|
+
status: 200,
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* HTTP 404 Not Found
|
|
45
|
+
*
|
|
46
|
+
* @private Internal code, does not follow semantic versioning.
|
|
47
|
+
*/
|
|
48
|
+
export const uResponseNotFound = {
|
|
49
|
+
status: 404,
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* HTTP 415 Unsupported Media Type
|
|
53
|
+
*
|
|
54
|
+
* @private Internal code, does not follow semantic versioning.
|
|
55
|
+
*/
|
|
56
|
+
export const uResponseUnsupportedMediaType = {
|
|
57
|
+
status: 415,
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* HTTP 405 Method Not Allowed
|
|
61
|
+
*
|
|
62
|
+
* @private Internal code, does not follow semantic versioning.
|
|
63
|
+
*/
|
|
64
|
+
export const uResponseMethodNotAllowed = {
|
|
65
|
+
status: 405,
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* HTTP 505 Version Not Supported
|
|
69
|
+
*
|
|
70
|
+
* @private Internal code, does not follow semantic versioning.
|
|
71
|
+
*/
|
|
72
|
+
export const uResponseVersionNotSupported = {
|
|
73
|
+
status: 505,
|
|
74
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Code } from "../code.js";
|
|
2
|
+
/**
|
|
3
|
+
* codeToString returns the string representation of a Code.
|
|
4
|
+
*
|
|
5
|
+
* @private Internal code, does not follow semantic versioning.
|
|
6
|
+
*/
|
|
7
|
+
export declare function codeToString(value: Code): string;
|
|
8
|
+
/**
|
|
9
|
+
* codeFromString parses the string representation of a Code in snake_case.
|
|
10
|
+
* For example, the string "permission_denied" parses into Code.PermissionDenied.
|
|
11
|
+
*
|
|
12
|
+
* If the given string cannot be parsed, the function returns undefined.
|
|
13
|
+
*
|
|
14
|
+
* @private Internal code, does not follow semantic versioning.
|
|
15
|
+
*/
|
|
16
|
+
export declare function codeFromString(value: string): Code | undefined;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// Copyright 2021-2024 The Connect Authors
|
|
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 { Code } from "../code.js";
|
|
15
|
+
/**
|
|
16
|
+
* codeToString returns the string representation of a Code.
|
|
17
|
+
*
|
|
18
|
+
* @private Internal code, does not follow semantic versioning.
|
|
19
|
+
*/
|
|
20
|
+
export function codeToString(value) {
|
|
21
|
+
const name = Code[value];
|
|
22
|
+
if (typeof name != "string") {
|
|
23
|
+
return value.toString();
|
|
24
|
+
}
|
|
25
|
+
return (name[0].toLowerCase() +
|
|
26
|
+
name.substring(1).replace(/[A-Z]/g, (c) => "_" + c.toLowerCase()));
|
|
27
|
+
}
|
|
28
|
+
let stringToCode;
|
|
29
|
+
/**
|
|
30
|
+
* codeFromString parses the string representation of a Code in snake_case.
|
|
31
|
+
* For example, the string "permission_denied" parses into Code.PermissionDenied.
|
|
32
|
+
*
|
|
33
|
+
* If the given string cannot be parsed, the function returns undefined.
|
|
34
|
+
*
|
|
35
|
+
* @private Internal code, does not follow semantic versioning.
|
|
36
|
+
*/
|
|
37
|
+
export function codeFromString(value) {
|
|
38
|
+
if (!stringToCode) {
|
|
39
|
+
stringToCode = {};
|
|
40
|
+
for (const value of Object.values(Code)) {
|
|
41
|
+
if (typeof value == "string") {
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
stringToCode[codeToString(value)] = value;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return stringToCode[value];
|
|
48
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regular Expression that matches any valid Connect Content-Type header value.
|
|
3
|
+
*
|
|
4
|
+
* @private Internal code, does not follow semantic versioning.
|
|
5
|
+
*/
|
|
6
|
+
export declare const contentTypeRegExp: RegExp;
|
|
7
|
+
/**
|
|
8
|
+
* Regular Expression that matches a Connect unary Content-Type header value.
|
|
9
|
+
*
|
|
10
|
+
* @private Internal code, does not follow semantic versioning.
|
|
11
|
+
*/
|
|
12
|
+
export declare const contentTypeUnaryRegExp: RegExp;
|
|
13
|
+
/**
|
|
14
|
+
* Regular Expression that matches a Connect streaming Content-Type header value.
|
|
15
|
+
*
|
|
16
|
+
* @private Internal code, does not follow semantic versioning.
|
|
17
|
+
*/
|
|
18
|
+
export declare const contentTypeStreamRegExp: RegExp;
|
|
19
|
+
export declare const contentTypeUnaryProto = "application/proto";
|
|
20
|
+
export declare const contentTypeUnaryJson = "application/json";
|
|
21
|
+
export declare const contentTypeStreamProto = "application/connect+proto";
|
|
22
|
+
export declare const contentTypeStreamJson = "application/connect+json";
|
|
23
|
+
/**
|
|
24
|
+
* Parse a Connect Content-Type header.
|
|
25
|
+
*
|
|
26
|
+
* @private Internal code, does not follow semantic versioning.
|
|
27
|
+
*/
|
|
28
|
+
export declare function parseContentType(contentType: string | null): {
|
|
29
|
+
stream: boolean;
|
|
30
|
+
binary: boolean;
|
|
31
|
+
} | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Parse a Connect Get encoding query parameter.
|
|
34
|
+
*
|
|
35
|
+
* @private Internal code, does not follow semantic versioning.
|
|
36
|
+
*/
|
|
37
|
+
export declare function parseEncodingQuery(encoding: string | null): {
|
|
38
|
+
stream: boolean;
|
|
39
|
+
binary: boolean;
|
|
40
|
+
} | undefined;
|