@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,92 @@
|
|
|
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.Code = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Connect represents categories of errors as codes, and each code maps to a
|
|
19
|
+
* specific HTTP status code. The codes and their semantics were chosen to
|
|
20
|
+
* match gRPC. Only the codes below are valid — there are no user-defined
|
|
21
|
+
* codes.
|
|
22
|
+
*
|
|
23
|
+
* See the specification at https://connectrpc.com/docs/protocol#error-codes
|
|
24
|
+
* for details.
|
|
25
|
+
*/
|
|
26
|
+
var Code;
|
|
27
|
+
(function (Code) {
|
|
28
|
+
/**
|
|
29
|
+
* Canceled, usually be the user
|
|
30
|
+
*/
|
|
31
|
+
Code[Code["Canceled"] = 1] = "Canceled";
|
|
32
|
+
/**
|
|
33
|
+
* Unknown error
|
|
34
|
+
*/
|
|
35
|
+
Code[Code["Unknown"] = 2] = "Unknown";
|
|
36
|
+
/**
|
|
37
|
+
* Argument invalid regardless of system state
|
|
38
|
+
*/
|
|
39
|
+
Code[Code["InvalidArgument"] = 3] = "InvalidArgument";
|
|
40
|
+
/**
|
|
41
|
+
* Operation expired, may or may not have completed.
|
|
42
|
+
*/
|
|
43
|
+
Code[Code["DeadlineExceeded"] = 4] = "DeadlineExceeded";
|
|
44
|
+
/**
|
|
45
|
+
* Entity not found.
|
|
46
|
+
*/
|
|
47
|
+
Code[Code["NotFound"] = 5] = "NotFound";
|
|
48
|
+
/**
|
|
49
|
+
* Entity already exists.
|
|
50
|
+
*/
|
|
51
|
+
Code[Code["AlreadyExists"] = 6] = "AlreadyExists";
|
|
52
|
+
/**
|
|
53
|
+
* Operation not authorized.
|
|
54
|
+
*/
|
|
55
|
+
Code[Code["PermissionDenied"] = 7] = "PermissionDenied";
|
|
56
|
+
/**
|
|
57
|
+
* Quota exhausted.
|
|
58
|
+
*/
|
|
59
|
+
Code[Code["ResourceExhausted"] = 8] = "ResourceExhausted";
|
|
60
|
+
/**
|
|
61
|
+
* Argument invalid in current system state.
|
|
62
|
+
*/
|
|
63
|
+
Code[Code["FailedPrecondition"] = 9] = "FailedPrecondition";
|
|
64
|
+
/**
|
|
65
|
+
* Operation aborted.
|
|
66
|
+
*/
|
|
67
|
+
Code[Code["Aborted"] = 10] = "Aborted";
|
|
68
|
+
/**
|
|
69
|
+
* Out of bounds, use instead of FailedPrecondition.
|
|
70
|
+
*/
|
|
71
|
+
Code[Code["OutOfRange"] = 11] = "OutOfRange";
|
|
72
|
+
/**
|
|
73
|
+
* Operation not implemented or disabled.
|
|
74
|
+
*/
|
|
75
|
+
Code[Code["Unimplemented"] = 12] = "Unimplemented";
|
|
76
|
+
/**
|
|
77
|
+
* Internal error, reserved for "serious errors".
|
|
78
|
+
*/
|
|
79
|
+
Code[Code["Internal"] = 13] = "Internal";
|
|
80
|
+
/**
|
|
81
|
+
* Unavailable, client should back off and retry.
|
|
82
|
+
*/
|
|
83
|
+
Code[Code["Unavailable"] = 14] = "Unavailable";
|
|
84
|
+
/**
|
|
85
|
+
* Unrecoverable data loss or corruption.
|
|
86
|
+
*/
|
|
87
|
+
Code[Code["DataLoss"] = 15] = "DataLoss";
|
|
88
|
+
/**
|
|
89
|
+
* Request isn't authenticated.
|
|
90
|
+
*/
|
|
91
|
+
Code[Code["Unauthenticated"] = 16] = "Unauthenticated";
|
|
92
|
+
})(Code || (exports.Code = Code = {}));
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Code } from "./code.js";
|
|
2
|
+
import type { Message, AnyMessage, IMessageTypeRegistry, JsonValue, MessageType } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* ConnectError captures four pieces of information: a Code, an error
|
|
5
|
+
* message, an optional cause of the error, and an optional collection of
|
|
6
|
+
* arbitrary Protobuf messages called "details".
|
|
7
|
+
*
|
|
8
|
+
* Because developer tools typically show just the error message, we prefix
|
|
9
|
+
* it with the status code, so that the most important information is always
|
|
10
|
+
* visible immediately.
|
|
11
|
+
*
|
|
12
|
+
* Error details are wrapped with google.protobuf.Any on the wire, so that
|
|
13
|
+
* a server or middleware can attach arbitrary data to an error. Use the
|
|
14
|
+
* method findDetails() to retrieve the details.
|
|
15
|
+
*/
|
|
16
|
+
export declare class ConnectError extends Error {
|
|
17
|
+
/**
|
|
18
|
+
* The Code for this error.
|
|
19
|
+
*/
|
|
20
|
+
readonly code: Code;
|
|
21
|
+
/**
|
|
22
|
+
* A union of response headers and trailers associated with this error.
|
|
23
|
+
*/
|
|
24
|
+
readonly metadata: Headers;
|
|
25
|
+
/**
|
|
26
|
+
* When an error is parsed from the wire, incoming error details are stored
|
|
27
|
+
* in this property. They can be retrieved using findDetails().
|
|
28
|
+
*
|
|
29
|
+
* When an error is constructed to be sent over the wire, outgoing error
|
|
30
|
+
* details are stored in this property as well.
|
|
31
|
+
*/
|
|
32
|
+
details: (Message | IncomingDetail)[];
|
|
33
|
+
/**
|
|
34
|
+
* The error message, but without a status code in front.
|
|
35
|
+
*
|
|
36
|
+
* For example, a new `ConnectError("hello", Code.NotFound)` will have
|
|
37
|
+
* the message `[not found] hello`, and the rawMessage `hello`.
|
|
38
|
+
*/
|
|
39
|
+
readonly rawMessage: string;
|
|
40
|
+
name: string;
|
|
41
|
+
/**
|
|
42
|
+
* The underlying cause of this error, if any. In cases where the actual cause
|
|
43
|
+
* is elided with the error message, the cause is specified here so that we
|
|
44
|
+
* don't leak the underlying error, but instead make it available for logging.
|
|
45
|
+
*/
|
|
46
|
+
cause: unknown;
|
|
47
|
+
/**
|
|
48
|
+
* Create a new ConnectError.
|
|
49
|
+
* If no code is provided, code "unknown" is used.
|
|
50
|
+
* Outgoing details are only relevant for the server side - a service may
|
|
51
|
+
* raise an error with details, and it is up to the protocol implementation
|
|
52
|
+
* to encode and send the details along with error.
|
|
53
|
+
*/
|
|
54
|
+
constructor(message: string, code?: Code, metadata?: HeadersInit, outgoingDetails?: Message[], cause?: unknown);
|
|
55
|
+
/**
|
|
56
|
+
* Convert any value - typically a caught error into a ConnectError,
|
|
57
|
+
* following these rules:
|
|
58
|
+
* - If the value is already a ConnectError, return it as is.
|
|
59
|
+
* - If the value is an AbortError from the fetch API, return the message
|
|
60
|
+
* of the AbortError with code Canceled.
|
|
61
|
+
* - For other Errors, return the error message with code Unknown by default.
|
|
62
|
+
* - For other values, return the values String representation as a message,
|
|
63
|
+
* with the code Unknown by default.
|
|
64
|
+
* The original value will be used for the "cause" property for the new
|
|
65
|
+
* ConnectError.
|
|
66
|
+
*/
|
|
67
|
+
static from(reason: unknown, code?: Code): ConnectError;
|
|
68
|
+
static [Symbol.hasInstance](v: unknown): boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Retrieve error details from a ConnectError. On the wire, error details are
|
|
71
|
+
* wrapped with google.protobuf.Any, so that a server or middleware can attach
|
|
72
|
+
* arbitrary data to an error. This function decodes the array of error details
|
|
73
|
+
* from the ConnectError object, and returns an array with the decoded
|
|
74
|
+
* messages. Any decoding errors are ignored, and the detail will simply be
|
|
75
|
+
* omitted from the list.
|
|
76
|
+
*/
|
|
77
|
+
findDetails<T extends Message<T>>(type: MessageType<T>): T[];
|
|
78
|
+
findDetails(registry: IMessageTypeRegistry): AnyMessage[];
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* An incoming detail is basically a google.protobuf.Any, but it includes an
|
|
82
|
+
* optional JSON representation in the "debug" key, and stores a type name
|
|
83
|
+
* instead of a type URL.
|
|
84
|
+
*/
|
|
85
|
+
type IncomingDetail = {
|
|
86
|
+
type: string;
|
|
87
|
+
value: Uint8Array;
|
|
88
|
+
debug?: JsonValue;
|
|
89
|
+
};
|
|
90
|
+
export {};
|
|
@@ -0,0 +1,134 @@
|
|
|
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.ConnectError = void 0;
|
|
17
|
+
const code_js_1 = require("./code.js");
|
|
18
|
+
const code_string_js_1 = require("./protocol-connect/code-string.js");
|
|
19
|
+
/**
|
|
20
|
+
* ConnectError captures four pieces of information: a Code, an error
|
|
21
|
+
* message, an optional cause of the error, and an optional collection of
|
|
22
|
+
* arbitrary Protobuf messages called "details".
|
|
23
|
+
*
|
|
24
|
+
* Because developer tools typically show just the error message, we prefix
|
|
25
|
+
* it with the status code, so that the most important information is always
|
|
26
|
+
* visible immediately.
|
|
27
|
+
*
|
|
28
|
+
* Error details are wrapped with google.protobuf.Any on the wire, so that
|
|
29
|
+
* a server or middleware can attach arbitrary data to an error. Use the
|
|
30
|
+
* method findDetails() to retrieve the details.
|
|
31
|
+
*/
|
|
32
|
+
class ConnectError extends Error {
|
|
33
|
+
/**
|
|
34
|
+
* Create a new ConnectError.
|
|
35
|
+
* If no code is provided, code "unknown" is used.
|
|
36
|
+
* Outgoing details are only relevant for the server side - a service may
|
|
37
|
+
* raise an error with details, and it is up to the protocol implementation
|
|
38
|
+
* to encode and send the details along with error.
|
|
39
|
+
*/
|
|
40
|
+
constructor(message, code = code_js_1.Code.Unknown, metadata, outgoingDetails, cause) {
|
|
41
|
+
super(createMessage(message, code));
|
|
42
|
+
this.name = "ConnectError";
|
|
43
|
+
// see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-2.html#example
|
|
44
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
45
|
+
this.rawMessage = message;
|
|
46
|
+
this.code = code;
|
|
47
|
+
this.metadata = new Headers(metadata !== null && metadata !== void 0 ? metadata : {});
|
|
48
|
+
this.details = outgoingDetails !== null && outgoingDetails !== void 0 ? outgoingDetails : [];
|
|
49
|
+
this.cause = cause;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Convert any value - typically a caught error into a ConnectError,
|
|
53
|
+
* following these rules:
|
|
54
|
+
* - If the value is already a ConnectError, return it as is.
|
|
55
|
+
* - If the value is an AbortError from the fetch API, return the message
|
|
56
|
+
* of the AbortError with code Canceled.
|
|
57
|
+
* - For other Errors, return the error message with code Unknown by default.
|
|
58
|
+
* - For other values, return the values String representation as a message,
|
|
59
|
+
* with the code Unknown by default.
|
|
60
|
+
* The original value will be used for the "cause" property for the new
|
|
61
|
+
* ConnectError.
|
|
62
|
+
*/
|
|
63
|
+
static from(reason, code = code_js_1.Code.Unknown) {
|
|
64
|
+
if (reason instanceof ConnectError) {
|
|
65
|
+
return reason;
|
|
66
|
+
}
|
|
67
|
+
if (reason instanceof Error) {
|
|
68
|
+
if (reason.name == "AbortError") {
|
|
69
|
+
// Fetch requests can only be canceled with an AbortController.
|
|
70
|
+
// We detect that condition by looking at the name of the raised
|
|
71
|
+
// error object, and translate to the appropriate status code.
|
|
72
|
+
return new ConnectError(reason.message, code_js_1.Code.Canceled);
|
|
73
|
+
}
|
|
74
|
+
return new ConnectError(reason.message, code, undefined, undefined, reason);
|
|
75
|
+
}
|
|
76
|
+
return new ConnectError(String(reason), code, undefined, undefined, reason);
|
|
77
|
+
}
|
|
78
|
+
static [Symbol.hasInstance](v) {
|
|
79
|
+
if (!(v instanceof Error)) {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
if (Object.getPrototypeOf(v) === ConnectError.prototype) {
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
return (v.name === "ConnectError" &&
|
|
86
|
+
"code" in v &&
|
|
87
|
+
typeof v.code === "number" &&
|
|
88
|
+
"metadata" in v &&
|
|
89
|
+
"details" in v &&
|
|
90
|
+
Array.isArray(v.details) &&
|
|
91
|
+
"rawMessage" in v &&
|
|
92
|
+
typeof v.rawMessage == "string" &&
|
|
93
|
+
"cause" in v);
|
|
94
|
+
}
|
|
95
|
+
findDetails(typeOrRegistry) {
|
|
96
|
+
const registry = "typeName" in typeOrRegistry
|
|
97
|
+
? {
|
|
98
|
+
findMessage: (typeName) => typeName === typeOrRegistry.typeName ? typeOrRegistry : undefined,
|
|
99
|
+
}
|
|
100
|
+
: typeOrRegistry;
|
|
101
|
+
const details = [];
|
|
102
|
+
for (const data of this.details) {
|
|
103
|
+
if ("getType" in data) {
|
|
104
|
+
if (registry.findMessage(data.getType().typeName)) {
|
|
105
|
+
details.push(data);
|
|
106
|
+
}
|
|
107
|
+
continue;
|
|
108
|
+
}
|
|
109
|
+
const type = registry.findMessage(data.type);
|
|
110
|
+
if (type) {
|
|
111
|
+
try {
|
|
112
|
+
details.push(type.fromBinary(data.value));
|
|
113
|
+
}
|
|
114
|
+
catch (_) {
|
|
115
|
+
// We silently give up if we are unable to parse the detail, because
|
|
116
|
+
// that appears to be the least worst behavior.
|
|
117
|
+
// It is very unlikely that a user surrounds a catch body handling the
|
|
118
|
+
// error with another try-catch statement, and we do not want to
|
|
119
|
+
// recommend doing so.
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return details;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.ConnectError = ConnectError;
|
|
127
|
+
/**
|
|
128
|
+
* Create an error message, prefixing the given code.
|
|
129
|
+
*/
|
|
130
|
+
function createMessage(message, code) {
|
|
131
|
+
return message.length
|
|
132
|
+
? `[${(0, code_string_js_1.codeToString)(code)}] ${message}`
|
|
133
|
+
: `[${(0, code_string_js_1.codeToString)(code)}]`;
|
|
134
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ContextValues is a collection of context values.
|
|
3
|
+
*/
|
|
4
|
+
export interface ContextValues {
|
|
5
|
+
/**
|
|
6
|
+
* get returns a context value.
|
|
7
|
+
*/
|
|
8
|
+
get<T>(key: ContextKey<T>): T;
|
|
9
|
+
/**
|
|
10
|
+
* set sets a context value. It returns the ContextValues to allow chaining.
|
|
11
|
+
*/
|
|
12
|
+
set<T>(key: ContextKey<T>, value: T): this;
|
|
13
|
+
/**
|
|
14
|
+
* delete deletes a context value. It returns the ContextValues to allow chaining.
|
|
15
|
+
*/
|
|
16
|
+
delete(key: ContextKey<unknown>): this;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* createContextValues creates a new ContextValues.
|
|
20
|
+
*/
|
|
21
|
+
export declare function createContextValues(): ContextValues;
|
|
22
|
+
/**
|
|
23
|
+
* ContextKey is a unique identifier for a context value.
|
|
24
|
+
*/
|
|
25
|
+
export type ContextKey<T> = {
|
|
26
|
+
id: symbol;
|
|
27
|
+
defaultValue: T;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* createContextKey creates a new ContextKey.
|
|
31
|
+
*/
|
|
32
|
+
export declare function createContextKey<T>(defaultValue: T, options?: {
|
|
33
|
+
description?: string;
|
|
34
|
+
}): ContextKey<T>;
|
|
@@ -0,0 +1,41 @@
|
|
|
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.createContextValues = createContextValues;
|
|
17
|
+
exports.createContextKey = createContextKey;
|
|
18
|
+
/**
|
|
19
|
+
* createContextValues creates a new ContextValues.
|
|
20
|
+
*/
|
|
21
|
+
function createContextValues() {
|
|
22
|
+
return {
|
|
23
|
+
get(key) {
|
|
24
|
+
return key.id in this ? this[key.id] : key.defaultValue;
|
|
25
|
+
},
|
|
26
|
+
set(key, value) {
|
|
27
|
+
this[key.id] = value;
|
|
28
|
+
return this;
|
|
29
|
+
},
|
|
30
|
+
delete(key) {
|
|
31
|
+
delete this[key.id];
|
|
32
|
+
return this;
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* createContextKey creates a new ContextKey.
|
|
38
|
+
*/
|
|
39
|
+
function createContextKey(defaultValue, options) {
|
|
40
|
+
return { id: Symbol(options === null || options === void 0 ? void 0 : options.description), defaultValue };
|
|
41
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CORS prevents rogue scripts in a web browser from making arbitrary requests
|
|
3
|
+
* to other web servers.
|
|
4
|
+
*
|
|
5
|
+
* This object provides helpful constants to configure CORS middleware for
|
|
6
|
+
* cross-domain requests with the protocols supported by Connect.
|
|
7
|
+
*
|
|
8
|
+
* Make sure to add application-specific headers that your application
|
|
9
|
+
* uses as well.
|
|
10
|
+
*/
|
|
11
|
+
export declare const cors: {
|
|
12
|
+
/**
|
|
13
|
+
* Request methods that scripts running in the browser are permitted to use.
|
|
14
|
+
*
|
|
15
|
+
* To support cross-domain requests with the protocols supported by Connect,
|
|
16
|
+
* these headers fields must be included in the preflight response header
|
|
17
|
+
* Access-Control-Allow-Methods.
|
|
18
|
+
*/
|
|
19
|
+
allowedMethods: ReadonlyArray<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Header fields that scripts running in the browser are permitted to send.
|
|
22
|
+
*
|
|
23
|
+
* To support cross-domain requests with the protocols supported by Connect,
|
|
24
|
+
* these field names must be included in the preflight response header
|
|
25
|
+
* Access-Control-Allow-Headers.
|
|
26
|
+
*
|
|
27
|
+
* Make sure to include any application-specific headers your browser client
|
|
28
|
+
* may send.
|
|
29
|
+
*/
|
|
30
|
+
allowedHeaders: ReadonlyArray<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Header fields that scripts running the browser are permitted to see.
|
|
33
|
+
*
|
|
34
|
+
* To support cross-domain requests with the protocols supported by Connect,
|
|
35
|
+
* these field names must be included in header Access-Control-Expose-Headers
|
|
36
|
+
* of the actual response.
|
|
37
|
+
*
|
|
38
|
+
* Make sure to include any application-specific headers your browser client
|
|
39
|
+
* should see. If your application uses trailers, they will be sent as header
|
|
40
|
+
* fields with a `Trailer-` prefix for Connect unary RPCs - make sure to
|
|
41
|
+
* expose them as well if you want them to be visible in all supported
|
|
42
|
+
* protocols.
|
|
43
|
+
*/
|
|
44
|
+
exposedHeaders: ReadonlyArray<string>;
|
|
45
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
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.cors = void 0;
|
|
17
|
+
const connect = require("./protocol-connect/headers.js");
|
|
18
|
+
const grpc = require("./protocol-grpc/headers.js");
|
|
19
|
+
const grpcWeb = require("./protocol-grpc-web/headers.js");
|
|
20
|
+
/**
|
|
21
|
+
* CORS prevents rogue scripts in a web browser from making arbitrary requests
|
|
22
|
+
* to other web servers.
|
|
23
|
+
*
|
|
24
|
+
* This object provides helpful constants to configure CORS middleware for
|
|
25
|
+
* cross-domain requests with the protocols supported by Connect.
|
|
26
|
+
*
|
|
27
|
+
* Make sure to add application-specific headers that your application
|
|
28
|
+
* uses as well.
|
|
29
|
+
*/
|
|
30
|
+
exports.cors = {
|
|
31
|
+
/**
|
|
32
|
+
* Request methods that scripts running in the browser are permitted to use.
|
|
33
|
+
*
|
|
34
|
+
* To support cross-domain requests with the protocols supported by Connect,
|
|
35
|
+
* these headers fields must be included in the preflight response header
|
|
36
|
+
* Access-Control-Allow-Methods.
|
|
37
|
+
*/
|
|
38
|
+
allowedMethods: ["POST", "GET"],
|
|
39
|
+
/**
|
|
40
|
+
* Header fields that scripts running in the browser are permitted to send.
|
|
41
|
+
*
|
|
42
|
+
* To support cross-domain requests with the protocols supported by Connect,
|
|
43
|
+
* these field names must be included in the preflight response header
|
|
44
|
+
* Access-Control-Allow-Headers.
|
|
45
|
+
*
|
|
46
|
+
* Make sure to include any application-specific headers your browser client
|
|
47
|
+
* may send.
|
|
48
|
+
*/
|
|
49
|
+
allowedHeaders: [
|
|
50
|
+
connect.headerContentType,
|
|
51
|
+
connect.headerProtocolVersion,
|
|
52
|
+
connect.headerTimeout,
|
|
53
|
+
connect.headerStreamEncoding, // Unused in web browsers, but added for future-proofing
|
|
54
|
+
connect.headerStreamAcceptEncoding, // Unused in web browsers, but added for future-proofing
|
|
55
|
+
connect.headerUnaryEncoding, // Unused in web browsers, but added for future-proofing
|
|
56
|
+
connect.headerUnaryAcceptEncoding, // Unused in web browsers, but added for future-proofing
|
|
57
|
+
grpc.headerMessageType, // Unused in web browsers, but added for future-proofing
|
|
58
|
+
grpcWeb.headerXGrpcWeb,
|
|
59
|
+
grpcWeb.headerXUserAgent,
|
|
60
|
+
grpcWeb.headerTimeout,
|
|
61
|
+
],
|
|
62
|
+
/**
|
|
63
|
+
* Header fields that scripts running the browser are permitted to see.
|
|
64
|
+
*
|
|
65
|
+
* To support cross-domain requests with the protocols supported by Connect,
|
|
66
|
+
* these field names must be included in header Access-Control-Expose-Headers
|
|
67
|
+
* of the actual response.
|
|
68
|
+
*
|
|
69
|
+
* Make sure to include any application-specific headers your browser client
|
|
70
|
+
* should see. If your application uses trailers, they will be sent as header
|
|
71
|
+
* fields with a `Trailer-` prefix for Connect unary RPCs - make sure to
|
|
72
|
+
* expose them as well if you want them to be visible in all supported
|
|
73
|
+
* protocols.
|
|
74
|
+
*/
|
|
75
|
+
exposedHeaders: [
|
|
76
|
+
grpcWeb.headerGrpcStatus, // Crucial for gRPC-web
|
|
77
|
+
grpcWeb.headerGrpcMessage, // Crucial for gRPC-web
|
|
78
|
+
grpcWeb.headerStatusDetailsBin, // Error details in gRPC, gRPC-web
|
|
79
|
+
connect.headerUnaryEncoding, // Unused in web browsers, but added for future-proofing
|
|
80
|
+
connect.headerStreamEncoding, // Unused in web browsers, but added for future-proofing
|
|
81
|
+
],
|
|
82
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Message, BinaryReadOptions, MessageType } from "@bufbuild/protobuf";
|
|
2
|
+
/**
|
|
3
|
+
* Encode a single binary header value according to the Connect
|
|
4
|
+
* and gRPC specifications.
|
|
5
|
+
*
|
|
6
|
+
* This function accepts raw binary data from a buffer, a string
|
|
7
|
+
* with UTF-8 text, or a protobuf message. It encodes the input
|
|
8
|
+
* with unpadded base64 and returns a string that can be used for
|
|
9
|
+
* a header whose name ends with `-bin`.
|
|
10
|
+
*/
|
|
11
|
+
export declare function encodeBinaryHeader(value: Uint8Array | ArrayBufferLike | Message | string): string;
|
|
12
|
+
/**
|
|
13
|
+
* Decode a single binary header value according to the Connect
|
|
14
|
+
* and gRPC specifications.
|
|
15
|
+
*
|
|
16
|
+
* This function returns the raw binary data from a header whose
|
|
17
|
+
* name ends with `-bin`. If given a message type in the second
|
|
18
|
+
* argument, it deserializes a protobuf message. To decode a value
|
|
19
|
+
* that contains unicode text, pass the raw binary data returned
|
|
20
|
+
* from this function through TextDecoder.decode.
|
|
21
|
+
*
|
|
22
|
+
* Note that duplicate header names may have their values joined
|
|
23
|
+
* with a `,` as the delimiter, so you most likely will want to
|
|
24
|
+
* split by `,` first.
|
|
25
|
+
*
|
|
26
|
+
* If this function detects invalid base-64 encoding, or invalid
|
|
27
|
+
* binary message data, it throws a ConnectError with code
|
|
28
|
+
* DataLoss.
|
|
29
|
+
*/
|
|
30
|
+
export declare function decodeBinaryHeader(value: string): Uint8Array;
|
|
31
|
+
export declare function decodeBinaryHeader<T extends Message<T>>(value: string, type: MessageType<T>, options?: Partial<BinaryReadOptions>): T;
|
|
32
|
+
/**
|
|
33
|
+
* Merge two or more Headers objects by appending all fields from
|
|
34
|
+
* all inputs to a new Headers object.
|
|
35
|
+
*/
|
|
36
|
+
export declare function appendHeaders(...headers: Headers[]): Headers;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.encodeBinaryHeader = encodeBinaryHeader;
|
|
17
|
+
exports.decodeBinaryHeader = decodeBinaryHeader;
|
|
18
|
+
exports.appendHeaders = appendHeaders;
|
|
19
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
20
|
+
const connect_error_js_1 = require("./connect-error.js");
|
|
21
|
+
const code_js_1 = require("./code.js");
|
|
22
|
+
/**
|
|
23
|
+
* Encode a single binary header value according to the Connect
|
|
24
|
+
* and gRPC specifications.
|
|
25
|
+
*
|
|
26
|
+
* This function accepts raw binary data from a buffer, a string
|
|
27
|
+
* with UTF-8 text, or a protobuf message. It encodes the input
|
|
28
|
+
* with unpadded base64 and returns a string that can be used for
|
|
29
|
+
* a header whose name ends with `-bin`.
|
|
30
|
+
*/
|
|
31
|
+
function encodeBinaryHeader(value) {
|
|
32
|
+
let bytes;
|
|
33
|
+
if (typeof value == "object" && "getType" in value) {
|
|
34
|
+
bytes = value.toBinary();
|
|
35
|
+
}
|
|
36
|
+
else if (typeof value == "string") {
|
|
37
|
+
bytes = new TextEncoder().encode(value);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
bytes = value instanceof Uint8Array ? value : new Uint8Array(value);
|
|
41
|
+
}
|
|
42
|
+
return protobuf_1.protoBase64.enc(bytes).replace(/=+$/, "");
|
|
43
|
+
}
|
|
44
|
+
function decodeBinaryHeader(value, type, options) {
|
|
45
|
+
try {
|
|
46
|
+
const bytes = protobuf_1.protoBase64.dec(value);
|
|
47
|
+
if (type) {
|
|
48
|
+
return type.fromBinary(bytes, options);
|
|
49
|
+
}
|
|
50
|
+
return bytes;
|
|
51
|
+
}
|
|
52
|
+
catch (e) {
|
|
53
|
+
throw connect_error_js_1.ConnectError.from(e, code_js_1.Code.DataLoss);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Merge two or more Headers objects by appending all fields from
|
|
58
|
+
* all inputs to a new Headers object.
|
|
59
|
+
*/
|
|
60
|
+
function appendHeaders(...headers) {
|
|
61
|
+
const h = new Headers();
|
|
62
|
+
for (const e of headers) {
|
|
63
|
+
e.forEach((value, key) => {
|
|
64
|
+
h.append(key, value);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
return h;
|
|
68
|
+
}
|