@in-human-resources/backend-proto 0.1.5 → 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/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 +2 -2
- package/gen/ts/workflow/v1/service_pb.ts +15 -1
- package/package.json +12 -1
|
@@ -0,0 +1,55 @@
|
|
|
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 { headerAcceptEncoding, headerContentType, headerEncoding, headerTimeout, headerXGrpcWeb, headerUserAgent, headerXUserAgent, } from "./headers.js";
|
|
15
|
+
import { contentTypeJson, contentTypeProto } from "./content-type.js";
|
|
16
|
+
/**
|
|
17
|
+
* Creates headers for a gRPC-web request.
|
|
18
|
+
*
|
|
19
|
+
* @private Internal code, does not follow semantic versioning.
|
|
20
|
+
*/
|
|
21
|
+
export function requestHeader(useBinaryFormat, timeoutMs, userProvidedHeaders, setUserAgent) {
|
|
22
|
+
var _a, _b;
|
|
23
|
+
const result = new Headers(userProvidedHeaders !== null && userProvidedHeaders !== void 0 ? userProvidedHeaders : {});
|
|
24
|
+
// Note that we do not support the grpc-web-text format.
|
|
25
|
+
// https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-WEB.md#protocol-differences-vs-grpc-over-http2
|
|
26
|
+
result.set(headerContentType, useBinaryFormat ? contentTypeProto : contentTypeJson);
|
|
27
|
+
result.set(headerXGrpcWeb, "1");
|
|
28
|
+
// Note that we do not strictly comply with gRPC user agents.
|
|
29
|
+
// We use "connect-es/1.2.3" where gRPC would use "grpc-es/1.2.3".
|
|
30
|
+
// See https://github.com/grpc/grpc/blob/c462bb8d485fc1434ecfae438823ca8d14cf3154/doc/PROTOCOL-HTTP2.md#user-agents
|
|
31
|
+
const userAgent = (_b = (_a = result.get(headerUserAgent)) !== null && _a !== void 0 ? _a : result.get(headerXUserAgent)) !== null && _b !== void 0 ? _b : "connect-es/1.7.0";
|
|
32
|
+
result.set(headerXUserAgent, userAgent);
|
|
33
|
+
if (setUserAgent) {
|
|
34
|
+
result.set(headerUserAgent, userAgent);
|
|
35
|
+
}
|
|
36
|
+
if (timeoutMs !== undefined) {
|
|
37
|
+
result.set(headerTimeout, `${timeoutMs}m`);
|
|
38
|
+
}
|
|
39
|
+
return result;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Creates headers for a gRPC-web request with compression.
|
|
43
|
+
*
|
|
44
|
+
* @private Internal code, does not follow semantic versioning.
|
|
45
|
+
*/
|
|
46
|
+
export function requestHeaderWithCompression(useBinaryFormat, timeoutMs, userProvidedHeaders, acceptCompression, sendCompression, setUserAgent) {
|
|
47
|
+
const result = requestHeader(useBinaryFormat, timeoutMs, userProvidedHeaders, setUserAgent);
|
|
48
|
+
if (sendCompression != null) {
|
|
49
|
+
result.set(headerEncoding, sendCompression.name);
|
|
50
|
+
}
|
|
51
|
+
if (acceptCompression.length > 0) {
|
|
52
|
+
result.set(headerAcceptEncoding, acceptCompression.map((c) => c.name).join(","));
|
|
53
|
+
}
|
|
54
|
+
return result;
|
|
55
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Serialization } from "../protocol/serialization.js";
|
|
2
|
+
/**
|
|
3
|
+
* trailerFlag indicates that the data in a EnvelopedMessage
|
|
4
|
+
* is a set of trailers of the gRPC-web protocol.
|
|
5
|
+
*
|
|
6
|
+
* @private Internal code, does not follow semantic versioning.
|
|
7
|
+
*/
|
|
8
|
+
export declare const trailerFlag = 128;
|
|
9
|
+
/**
|
|
10
|
+
* Parse a gRPC-web trailer, a set of header fields separated by CRLF.
|
|
11
|
+
*
|
|
12
|
+
* @private Internal code, does not follow semantic versioning.
|
|
13
|
+
*/
|
|
14
|
+
export declare function trailerParse(data: Uint8Array): Headers;
|
|
15
|
+
/**
|
|
16
|
+
* Serialize a Headers object as a gRPC-web trailer.
|
|
17
|
+
*
|
|
18
|
+
* @private Internal code, does not follow semantic versioning.
|
|
19
|
+
*/
|
|
20
|
+
export declare function trailerSerialize(trailer: Headers): Uint8Array;
|
|
21
|
+
/**
|
|
22
|
+
* Create a Serialization object that serializes a gRPC-web trailer, a Headers
|
|
23
|
+
* object that is serialized as a set of header fields, separated by CRLF.
|
|
24
|
+
*
|
|
25
|
+
* @private Internal code, does not follow semantic versioning.
|
|
26
|
+
*/
|
|
27
|
+
export declare function createTrailerSerialization(): Serialization<Headers>;
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
* trailerFlag indicates that the data in a EnvelopedMessage
|
|
16
|
+
* is a set of trailers of the gRPC-web protocol.
|
|
17
|
+
*
|
|
18
|
+
* @private Internal code, does not follow semantic versioning.
|
|
19
|
+
*/
|
|
20
|
+
export const trailerFlag = 0b10000000;
|
|
21
|
+
/**
|
|
22
|
+
* Parse a gRPC-web trailer, a set of header fields separated by CRLF.
|
|
23
|
+
*
|
|
24
|
+
* @private Internal code, does not follow semantic versioning.
|
|
25
|
+
*/
|
|
26
|
+
export function trailerParse(data) {
|
|
27
|
+
const headers = new Headers();
|
|
28
|
+
const lines = new TextDecoder().decode(data).split("\r\n");
|
|
29
|
+
for (const line of lines) {
|
|
30
|
+
if (line === "") {
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
const i = line.indexOf(":");
|
|
34
|
+
if (i > 0) {
|
|
35
|
+
const name = line.substring(0, i).trim();
|
|
36
|
+
const value = line.substring(i + 1).trim();
|
|
37
|
+
headers.append(name, value);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return headers;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Serialize a Headers object as a gRPC-web trailer.
|
|
44
|
+
*
|
|
45
|
+
* @private Internal code, does not follow semantic versioning.
|
|
46
|
+
*/
|
|
47
|
+
export function trailerSerialize(trailer) {
|
|
48
|
+
const lines = [];
|
|
49
|
+
trailer.forEach((value, key) => {
|
|
50
|
+
lines.push(`${key}: ${value}\r\n`);
|
|
51
|
+
});
|
|
52
|
+
return new TextEncoder().encode(lines.join(""));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Create a Serialization object that serializes a gRPC-web trailer, a Headers
|
|
56
|
+
* object that is serialized as a set of header fields, separated by CRLF.
|
|
57
|
+
*
|
|
58
|
+
* @private Internal code, does not follow semantic versioning.
|
|
59
|
+
*/
|
|
60
|
+
export function createTrailerSerialization() {
|
|
61
|
+
return {
|
|
62
|
+
serialize: trailerSerialize,
|
|
63
|
+
parse: trailerParse,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommonTransportOptions } from "../protocol/transport-options.js";
|
|
2
|
+
import type { Transport } from "../transport.js";
|
|
3
|
+
/**
|
|
4
|
+
* Create a Transport for the gRPC-web protocol.
|
|
5
|
+
*/
|
|
6
|
+
export declare function createTransport(opt: CommonTransportOptions): Transport;
|
|
@@ -0,0 +1,235 @@
|
|
|
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
|
+
var __asyncValues = (this && this.__asyncValues) || function (o) {
|
|
15
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
16
|
+
var m = o[Symbol.asyncIterator], i;
|
|
17
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
18
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
19
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
20
|
+
};
|
|
21
|
+
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
|
22
|
+
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
|
23
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
24
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
25
|
+
return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
26
|
+
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
|
27
|
+
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
|
|
28
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
29
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
30
|
+
function fulfill(value) { resume("next", value); }
|
|
31
|
+
function reject(value) { resume("throw", value); }
|
|
32
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
33
|
+
};
|
|
34
|
+
import { validateTrailer } from "../protocol-grpc/validate-trailer.js";
|
|
35
|
+
import { requestHeaderWithCompression } from "./request-header.js";
|
|
36
|
+
import { validateResponseWithCompression } from "./validate-response.js";
|
|
37
|
+
import { createTrailerSerialization, trailerFlag } from "./trailer.js";
|
|
38
|
+
import { Code } from "../code.js";
|
|
39
|
+
import { ConnectError } from "../connect-error.js";
|
|
40
|
+
import { pipe, createAsyncIterable, transformSerializeEnvelope, transformCompressEnvelope, transformJoinEnvelopes, pipeTo, transformSplitEnvelope, transformDecompressEnvelope, transformParseEnvelope, } from "../protocol/async-iterable.js";
|
|
41
|
+
import { createMethodUrl } from "../protocol/create-method-url.js";
|
|
42
|
+
import { runUnaryCall, runStreamingCall } from "../protocol/run-call.js";
|
|
43
|
+
import { createMethodSerializationLookup } from "../protocol/serialization.js";
|
|
44
|
+
import { createContextValues } from "../context-values.js";
|
|
45
|
+
import { headerGrpcStatus } from "./headers.js";
|
|
46
|
+
/**
|
|
47
|
+
* Create a Transport for the gRPC-web protocol.
|
|
48
|
+
*/
|
|
49
|
+
export function createTransport(opt) {
|
|
50
|
+
return {
|
|
51
|
+
async unary(service, method, signal, timeoutMs, header, message, contextValues) {
|
|
52
|
+
const serialization = createMethodSerializationLookup(method, opt.binaryOptions, opt.jsonOptions, opt);
|
|
53
|
+
timeoutMs =
|
|
54
|
+
timeoutMs === undefined
|
|
55
|
+
? opt.defaultTimeoutMs
|
|
56
|
+
: timeoutMs <= 0
|
|
57
|
+
? undefined
|
|
58
|
+
: timeoutMs;
|
|
59
|
+
return await runUnaryCall({
|
|
60
|
+
interceptors: opt.interceptors,
|
|
61
|
+
signal,
|
|
62
|
+
timeoutMs,
|
|
63
|
+
req: {
|
|
64
|
+
stream: false,
|
|
65
|
+
service,
|
|
66
|
+
method,
|
|
67
|
+
url: createMethodUrl(opt.baseUrl, service, method),
|
|
68
|
+
init: {},
|
|
69
|
+
header: requestHeaderWithCompression(opt.useBinaryFormat, timeoutMs, header, opt.acceptCompression, opt.sendCompression, true),
|
|
70
|
+
contextValues: contextValues !== null && contextValues !== void 0 ? contextValues : createContextValues(),
|
|
71
|
+
message,
|
|
72
|
+
},
|
|
73
|
+
next: async (req) => {
|
|
74
|
+
const uRes = await opt.httpClient({
|
|
75
|
+
url: req.url,
|
|
76
|
+
method: "POST",
|
|
77
|
+
header: req.header,
|
|
78
|
+
signal: req.signal,
|
|
79
|
+
body: pipe(createAsyncIterable([req.message]), transformSerializeEnvelope(serialization.getI(opt.useBinaryFormat)), transformCompressEnvelope(opt.sendCompression, opt.compressMinBytes), transformJoinEnvelopes(), {
|
|
80
|
+
propagateDownStreamError: true,
|
|
81
|
+
}),
|
|
82
|
+
});
|
|
83
|
+
const { compression, headerError } = validateResponseWithCompression(opt.acceptCompression, uRes.status, uRes.header);
|
|
84
|
+
const { trailer, message } = await pipeTo(uRes.body, transformSplitEnvelope(opt.readMaxBytes), transformDecompressEnvelope(compression !== null && compression !== void 0 ? compression : null, opt.readMaxBytes), transformParseEnvelope(serialization.getO(opt.useBinaryFormat), trailerFlag, createTrailerSerialization()), async (iterable) => {
|
|
85
|
+
var _a, e_1, _b, _c;
|
|
86
|
+
let message;
|
|
87
|
+
let trailer;
|
|
88
|
+
try {
|
|
89
|
+
for (var _d = true, iterable_1 = __asyncValues(iterable), iterable_1_1; iterable_1_1 = await iterable_1.next(), _a = iterable_1_1.done, !_a; _d = true) {
|
|
90
|
+
_c = iterable_1_1.value;
|
|
91
|
+
_d = false;
|
|
92
|
+
const env = _c;
|
|
93
|
+
if (env.end) {
|
|
94
|
+
if (trailer !== undefined) {
|
|
95
|
+
throw new ConnectError("protocol error: received extra trailer", Code.Unimplemented);
|
|
96
|
+
}
|
|
97
|
+
trailer = env.value;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
if (message !== undefined) {
|
|
101
|
+
throw new ConnectError("protocol error: received extra output message for unary method", Code.Unimplemented);
|
|
102
|
+
}
|
|
103
|
+
message = env.value;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
108
|
+
finally {
|
|
109
|
+
try {
|
|
110
|
+
if (!_d && !_a && (_b = iterable_1.return)) await _b.call(iterable_1);
|
|
111
|
+
}
|
|
112
|
+
finally { if (e_1) throw e_1.error; }
|
|
113
|
+
}
|
|
114
|
+
return { trailer, message };
|
|
115
|
+
}, {
|
|
116
|
+
propagateDownStreamError: false,
|
|
117
|
+
});
|
|
118
|
+
if (trailer === undefined) {
|
|
119
|
+
if (headerError != undefined) {
|
|
120
|
+
throw headerError;
|
|
121
|
+
}
|
|
122
|
+
throw new ConnectError("protocol error: missing trailer", uRes.header.has(headerGrpcStatus)
|
|
123
|
+
? Code.Unimplemented
|
|
124
|
+
: Code.Unknown);
|
|
125
|
+
}
|
|
126
|
+
validateTrailer(trailer, uRes.header);
|
|
127
|
+
if (message === undefined) {
|
|
128
|
+
throw new ConnectError("protocol error: missing output message for unary method", trailer.has(headerGrpcStatus) ? Code.Unimplemented : Code.Unknown);
|
|
129
|
+
}
|
|
130
|
+
return {
|
|
131
|
+
stream: false,
|
|
132
|
+
service,
|
|
133
|
+
method,
|
|
134
|
+
header: uRes.header,
|
|
135
|
+
message,
|
|
136
|
+
trailer,
|
|
137
|
+
};
|
|
138
|
+
},
|
|
139
|
+
});
|
|
140
|
+
},
|
|
141
|
+
async stream(service, method, signal, timeoutMs, header, input, contextValues) {
|
|
142
|
+
const serialization = createMethodSerializationLookup(method, opt.binaryOptions, opt.jsonOptions, opt);
|
|
143
|
+
timeoutMs =
|
|
144
|
+
timeoutMs === undefined
|
|
145
|
+
? opt.defaultTimeoutMs
|
|
146
|
+
: timeoutMs <= 0
|
|
147
|
+
? undefined
|
|
148
|
+
: timeoutMs;
|
|
149
|
+
return runStreamingCall({
|
|
150
|
+
interceptors: opt.interceptors,
|
|
151
|
+
signal,
|
|
152
|
+
timeoutMs,
|
|
153
|
+
req: {
|
|
154
|
+
stream: true,
|
|
155
|
+
service,
|
|
156
|
+
method,
|
|
157
|
+
url: createMethodUrl(opt.baseUrl, service, method),
|
|
158
|
+
init: {
|
|
159
|
+
method: "POST",
|
|
160
|
+
redirect: "error",
|
|
161
|
+
mode: "cors",
|
|
162
|
+
},
|
|
163
|
+
header: requestHeaderWithCompression(opt.useBinaryFormat, timeoutMs, header, opt.acceptCompression, opt.sendCompression, true),
|
|
164
|
+
contextValues: contextValues !== null && contextValues !== void 0 ? contextValues : createContextValues(),
|
|
165
|
+
message: input,
|
|
166
|
+
},
|
|
167
|
+
next: async (req) => {
|
|
168
|
+
const uRes = await opt.httpClient({
|
|
169
|
+
url: req.url,
|
|
170
|
+
method: "POST",
|
|
171
|
+
header: req.header,
|
|
172
|
+
signal: req.signal,
|
|
173
|
+
body: pipe(req.message, transformSerializeEnvelope(serialization.getI(opt.useBinaryFormat)), transformCompressEnvelope(opt.sendCompression, opt.compressMinBytes), transformJoinEnvelopes(), { propagateDownStreamError: true }),
|
|
174
|
+
});
|
|
175
|
+
const { compression, foundStatus, headerError } = validateResponseWithCompression(opt.acceptCompression, uRes.status, uRes.header);
|
|
176
|
+
if (headerError) {
|
|
177
|
+
throw headerError;
|
|
178
|
+
}
|
|
179
|
+
const res = Object.assign(Object.assign({}, req), { header: uRes.header, trailer: new Headers(), message: pipe(uRes.body, transformSplitEnvelope(opt.readMaxBytes), transformDecompressEnvelope(compression !== null && compression !== void 0 ? compression : null, opt.readMaxBytes), transformParseEnvelope(serialization.getO(opt.useBinaryFormat), trailerFlag, createTrailerSerialization()), function (iterable) {
|
|
180
|
+
return __asyncGenerator(this, arguments, function* () {
|
|
181
|
+
var _a, e_2, _b, _c;
|
|
182
|
+
if (foundStatus) {
|
|
183
|
+
// A grpc-status: 0 response header was present. This is a "trailers-only"
|
|
184
|
+
// response (a response without a body and no trailers).
|
|
185
|
+
//
|
|
186
|
+
// The spec seems to disallow a trailers-only response for status 0 - we are
|
|
187
|
+
// lenient and only verify that the body is empty.
|
|
188
|
+
//
|
|
189
|
+
// > [...] Trailers-Only is permitted for calls that produce an immediate error.
|
|
190
|
+
// See https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
|
|
191
|
+
const r = yield __await(iterable[Symbol.asyncIterator]().next());
|
|
192
|
+
if (r.done !== true) {
|
|
193
|
+
throw new ConnectError("protocol error: extra data for trailers-only", Code.InvalidArgument);
|
|
194
|
+
}
|
|
195
|
+
return yield __await(void 0);
|
|
196
|
+
}
|
|
197
|
+
let trailerReceived = false;
|
|
198
|
+
try {
|
|
199
|
+
for (var _d = true, iterable_2 = __asyncValues(iterable), iterable_2_1; iterable_2_1 = yield __await(iterable_2.next()), _a = iterable_2_1.done, !_a; _d = true) {
|
|
200
|
+
_c = iterable_2_1.value;
|
|
201
|
+
_d = false;
|
|
202
|
+
const chunk = _c;
|
|
203
|
+
if (chunk.end) {
|
|
204
|
+
if (trailerReceived) {
|
|
205
|
+
throw new ConnectError("protocol error: received extra trailer", Code.InvalidArgument);
|
|
206
|
+
}
|
|
207
|
+
trailerReceived = true;
|
|
208
|
+
validateTrailer(chunk.value, uRes.header);
|
|
209
|
+
chunk.value.forEach((value, key) => res.trailer.set(key, value));
|
|
210
|
+
continue;
|
|
211
|
+
}
|
|
212
|
+
if (trailerReceived) {
|
|
213
|
+
throw new ConnectError("protocol error: received extra message after trailer", Code.InvalidArgument);
|
|
214
|
+
}
|
|
215
|
+
yield yield __await(chunk.value);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
219
|
+
finally {
|
|
220
|
+
try {
|
|
221
|
+
if (!_d && !_a && (_b = iterable_2.return)) yield __await(_b.call(iterable_2));
|
|
222
|
+
}
|
|
223
|
+
finally { if (e_2) throw e_2.error; }
|
|
224
|
+
}
|
|
225
|
+
if (!trailerReceived) {
|
|
226
|
+
throw new ConnectError("protocol error: missing trailer", Code.Internal);
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
}, { propagateDownStreamError: true }) });
|
|
230
|
+
return res;
|
|
231
|
+
},
|
|
232
|
+
});
|
|
233
|
+
},
|
|
234
|
+
};
|
|
235
|
+
}
|
package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ConnectError } from "../connect-error.js";
|
|
2
|
+
import type { Compression } from "../protocol/compression.js";
|
|
3
|
+
/**
|
|
4
|
+
* Validates response status and header for the gRPC-web protocol.
|
|
5
|
+
*
|
|
6
|
+
* Throws a ConnectError if the header contains an error status,
|
|
7
|
+
* or if the HTTP status indicates an error.
|
|
8
|
+
*
|
|
9
|
+
* Returns an object that indicates whether a gRPC status was found
|
|
10
|
+
* in the response header. In this case, clients can not expect a
|
|
11
|
+
* trailer.
|
|
12
|
+
*
|
|
13
|
+
* @private Internal code, does not follow semantic versioning.
|
|
14
|
+
*/
|
|
15
|
+
export declare function validateResponse(status: number, headers: Headers): {
|
|
16
|
+
foundStatus: boolean;
|
|
17
|
+
headerError?: ConnectError;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Validates response status and header for the gRPC-web protocol.
|
|
21
|
+
* This function is identical to validateResponse(), but also verifies
|
|
22
|
+
* that a given encoding header is acceptable.
|
|
23
|
+
*
|
|
24
|
+
* Returns an object with the response compression, and a boolean
|
|
25
|
+
* indicating whether a gRPC status was found in the response header
|
|
26
|
+
* (in this case, clients can not expect a trailer).
|
|
27
|
+
*
|
|
28
|
+
* @private Internal code, does not follow semantic versioning.
|
|
29
|
+
*/
|
|
30
|
+
export declare function validateResponseWithCompression(acceptCompression: Compression[], status: number, headers: Headers): {
|
|
31
|
+
foundStatus: boolean;
|
|
32
|
+
compression: Compression | undefined;
|
|
33
|
+
headerError?: ConnectError;
|
|
34
|
+
};
|
package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.js
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
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 { ConnectError } from "../connect-error.js";
|
|
15
|
+
import { Code } from "../code.js";
|
|
16
|
+
import { headerEncoding, headerGrpcMessage, headerGrpcStatus, } from "./headers.js";
|
|
17
|
+
import { codeFromHttpStatus } from "../protocol-grpc/http-status.js";
|
|
18
|
+
import { findTrailerError } from "../protocol-grpc/trailer-status.js";
|
|
19
|
+
/**
|
|
20
|
+
* Validates response status and header for the gRPC-web protocol.
|
|
21
|
+
*
|
|
22
|
+
* Throws a ConnectError if the header contains an error status,
|
|
23
|
+
* or if the HTTP status indicates an error.
|
|
24
|
+
*
|
|
25
|
+
* Returns an object that indicates whether a gRPC status was found
|
|
26
|
+
* in the response header. In this case, clients can not expect a
|
|
27
|
+
* trailer.
|
|
28
|
+
*
|
|
29
|
+
* @private Internal code, does not follow semantic versioning.
|
|
30
|
+
*/
|
|
31
|
+
export function validateResponse(status, headers) {
|
|
32
|
+
var _a;
|
|
33
|
+
// For compatibility with the `grpc-web` package, we treat all HTTP status
|
|
34
|
+
// codes in the 200 range as valid, not just HTTP 200.
|
|
35
|
+
if (status >= 200 && status < 300) {
|
|
36
|
+
return {
|
|
37
|
+
foundStatus: headers.has(headerGrpcStatus),
|
|
38
|
+
headerError: findTrailerError(headers),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
throw new ConnectError(decodeURIComponent((_a = headers.get(headerGrpcMessage)) !== null && _a !== void 0 ? _a : `HTTP ${status}`), codeFromHttpStatus(status), headers);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Validates response status and header for the gRPC-web protocol.
|
|
45
|
+
* This function is identical to validateResponse(), but also verifies
|
|
46
|
+
* that a given encoding header is acceptable.
|
|
47
|
+
*
|
|
48
|
+
* Returns an object with the response compression, and a boolean
|
|
49
|
+
* indicating whether a gRPC status was found in the response header
|
|
50
|
+
* (in this case, clients can not expect a trailer).
|
|
51
|
+
*
|
|
52
|
+
* @private Internal code, does not follow semantic versioning.
|
|
53
|
+
*/
|
|
54
|
+
export function validateResponseWithCompression(acceptCompression, status, headers) {
|
|
55
|
+
const { foundStatus, headerError } = validateResponse(status, headers);
|
|
56
|
+
let compression;
|
|
57
|
+
const encoding = headers.get(headerEncoding);
|
|
58
|
+
if (encoding !== null && encoding.toLowerCase() !== "identity") {
|
|
59
|
+
compression = acceptCompression.find((c) => c.name === encoding);
|
|
60
|
+
if (!compression) {
|
|
61
|
+
throw new ConnectError(`unsupported response encoding "${encoding}"`, Code.Internal, headers);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
foundStatus,
|
|
66
|
+
compression,
|
|
67
|
+
headerError,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CommonTransportOptions } from "./protocol/transport-options.js";
|
|
2
|
+
import type { ConnectRouter, ConnectRouterOptions } from "./router.js";
|
|
3
|
+
/**
|
|
4
|
+
* Creates a Transport that routes requests to the configured router. Useful for testing
|
|
5
|
+
* and calling services running in the same process.
|
|
6
|
+
*
|
|
7
|
+
* This can be used to test both client logic by using this to stub/mock the backend,
|
|
8
|
+
* and to test server logic by using this to run without needing to spin up a server.
|
|
9
|
+
*/
|
|
10
|
+
export declare function createRouterTransport(routes: (router: ConnectRouter) => void, options?: {
|
|
11
|
+
transport?: Partial<CommonTransportOptions>;
|
|
12
|
+
router?: ConnectRouterOptions;
|
|
13
|
+
}): import("./transport.js").Transport;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { createTransport } from "./protocol-connect/transport.js";
|
|
15
|
+
import { createUniversalHandlerClient } from "./protocol/universal-handler-client.js";
|
|
16
|
+
import { createConnectRouter } from "./router.js";
|
|
17
|
+
/**
|
|
18
|
+
* Creates a Transport that routes requests to the configured router. Useful for testing
|
|
19
|
+
* and calling services running in the same process.
|
|
20
|
+
*
|
|
21
|
+
* This can be used to test both client logic by using this to stub/mock the backend,
|
|
22
|
+
* and to test server logic by using this to run without needing to spin up a server.
|
|
23
|
+
*/
|
|
24
|
+
export function createRouterTransport(routes, options) {
|
|
25
|
+
var _a, _b;
|
|
26
|
+
const router = createConnectRouter(Object.assign(Object.assign({}, ((_a = options === null || options === void 0 ? void 0 : options.router) !== null && _a !== void 0 ? _a : {})), { connect: true }));
|
|
27
|
+
routes(router);
|
|
28
|
+
return createTransport(Object.assign({ httpClient: createUniversalHandlerClient(router.handlers), baseUrl: "https://in-memory", useBinaryFormat: true, interceptors: [], acceptCompression: [], sendCompression: null, compressMinBytes: Number.MAX_SAFE_INTEGER, readMaxBytes: Number.MAX_SAFE_INTEGER, writeMaxBytes: Number.MAX_SAFE_INTEGER }, ((_b = options === null || options === void 0 ? void 0 : options.transport) !== null && _b !== void 0 ? _b : {})));
|
|
29
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { MethodInfo, ServiceType } from "@bufbuild/protobuf";
|
|
2
|
+
import type { MethodImpl, ServiceImpl } from "./implementation.js";
|
|
3
|
+
import type { UniversalHandler, UniversalHandlerOptions } from "./protocol/universal-handler.js";
|
|
4
|
+
import type { MethodType } from "./method-type.js";
|
|
5
|
+
/**
|
|
6
|
+
* ConnectRouter is your single registration point for RPCs.
|
|
7
|
+
*
|
|
8
|
+
* Create a file `connect.ts` with a default export such as this:
|
|
9
|
+
*
|
|
10
|
+
* ```ts
|
|
11
|
+
* import {ConnectRouter} from "@connectrpc/connect";
|
|
12
|
+
*
|
|
13
|
+
* export default (router: ConnectRouter) => {
|
|
14
|
+
* router.service(ElizaService, {});
|
|
15
|
+
* }
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* The pass this function to adapters and plugins, for example
|
|
19
|
+
* from @connectrpc/connect-node, or from @connectrpc/connect-fastify.
|
|
20
|
+
*/
|
|
21
|
+
export interface ConnectRouter {
|
|
22
|
+
readonly handlers: UniversalHandler[];
|
|
23
|
+
/**
|
|
24
|
+
* Register a service implementation, and object with methods for the
|
|
25
|
+
* individual RPCs.
|
|
26
|
+
*
|
|
27
|
+
* You don't have to implement all RPCs of a service. If you omit a method,
|
|
28
|
+
* the router adds a method that responds with an error code `unimplemented`.
|
|
29
|
+
*/
|
|
30
|
+
service<T extends ServiceType>(service: T, implementation: Partial<ServiceImpl<T>>, options?: Partial<UniversalHandlerOptions>): this;
|
|
31
|
+
/**
|
|
32
|
+
* Register a single RPC implementation.
|
|
33
|
+
*/
|
|
34
|
+
rpc<M extends MethodInfo>(service: ServiceType, method: M, impl: MethodImpl<M>, options?: Partial<UniversalHandlerOptions>): this;
|
|
35
|
+
/**
|
|
36
|
+
* Register a single RPC implementation for a method type.
|
|
37
|
+
*
|
|
38
|
+
* @private This is an experimental API. Please do not rely on it yet.
|
|
39
|
+
*/
|
|
40
|
+
rpc<M extends MethodType>(method: M, impl: MethodImpl<M>, options?: Partial<UniversalHandlerOptions>): this;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Options for a ConnectRouter. By default, all three protocols gRPC, gRPC-web,
|
|
44
|
+
* and Connect are enabled.
|
|
45
|
+
*/
|
|
46
|
+
export interface ConnectRouterOptions extends Partial<UniversalHandlerOptions> {
|
|
47
|
+
/**
|
|
48
|
+
* Enable the gRPC protocol and make your API available to all gRPC clients
|
|
49
|
+
* for various platforms and languages. See https://grpc.io/
|
|
50
|
+
*
|
|
51
|
+
* The protocol is enabled by default. Set this option to `false` to disable
|
|
52
|
+
* it, but mind that at least one protocol must be enabled.
|
|
53
|
+
*
|
|
54
|
+
* Note that gRPC is typically served with TLS over HTTP/2 and requires access
|
|
55
|
+
* to HTTP trailers.
|
|
56
|
+
*/
|
|
57
|
+
grpc?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Enable the gRPC-web protocol and make your API available to all gRPC-web
|
|
60
|
+
* clients. gRPC-web is commonly used in web browsers, but there are client
|
|
61
|
+
* implementations for other platforms as well, for example in Dart, Kotlin,
|
|
62
|
+
* and Swift. See https://github.com/grpc/grpc-web
|
|
63
|
+
*
|
|
64
|
+
* The protocol is enabled by default. Set this option to `false` to disable
|
|
65
|
+
* it, but mind that at least one protocol must be enabled.
|
|
66
|
+
*
|
|
67
|
+
* gRPC-web works over HTTP 1.1 or HTTP/2 and does not require access to HTTP
|
|
68
|
+
* trailers. Note that bidi streaming requires HTTP/2, and web browsers may
|
|
69
|
+
* not support all streaming types.
|
|
70
|
+
*/
|
|
71
|
+
grpcWeb?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Enable the Connect protocol and make your API available to all Connect
|
|
74
|
+
* clients, but also for a simple call with curl. See https://connectrpc.com/
|
|
75
|
+
*
|
|
76
|
+
* The protocol is enabled by default. Set this option to `false` to disable
|
|
77
|
+
* it, but mind that at least one protocol must be enabled.
|
|
78
|
+
*
|
|
79
|
+
* Connect works over HTTP 1.1 or HTTP/2 and does not require access to HTTP
|
|
80
|
+
* trailers. Note that bidi streaming requires HTTP/2, and web browsers may
|
|
81
|
+
* not support all streaming types.
|
|
82
|
+
*/
|
|
83
|
+
connect?: boolean;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Create a new ConnectRouter.
|
|
87
|
+
*/
|
|
88
|
+
export declare function createConnectRouter(routerOptions?: ConnectRouterOptions): ConnectRouter;
|