@in-human-resources/backend-proto 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (692) hide show
  1. package/README.md +16 -1
  2. package/api/v1/README.md +7 -0
  3. package/api/v1/hiring.proto +19 -0
  4. package/api/v1/pipeline.proto +156 -0
  5. package/buf.gen.yaml +3 -3
  6. package/gen/ts/api/v1/auth_connect.ts +3 -3
  7. package/gen/ts/api/v1/auth_pb.ts +2 -2
  8. package/gen/ts/api/v1/candidate_connect.ts +3 -3
  9. package/gen/ts/api/v1/candidate_pb.ts +1 -1
  10. package/gen/ts/api/v1/common_pb.ts +1 -1
  11. package/gen/ts/api/v1/company_connect.ts +3 -3
  12. package/gen/ts/api/v1/company_pb.ts +1 -1
  13. package/gen/ts/api/v1/hiring_connect.ts +95 -2
  14. package/gen/ts/api/v1/hiring_pb.ts +31 -1
  15. package/gen/ts/api/v1/pipeline_pb.ts +1220 -0
  16. package/gen/ts/auth/v1/service_connect.ts +2 -2
  17. package/gen/ts/auth/v1/service_pb.ts +2 -2
  18. package/gen/ts/common/v1/common_pb.ts +1 -1
  19. package/gen/ts/hiring/v1/pipeline_pb.ts +1220 -0
  20. package/gen/ts/hiring/v1/service_connect.ts +95 -2
  21. package/gen/ts/hiring/v1/service_pb.ts +31 -1
  22. package/gen/ts/in-human-resources-backend-proto-0.1.6-local.tgz +0 -0
  23. package/gen/ts/node_modules/.package-lock.json +39 -0
  24. package/gen/ts/node_modules/@bufbuild/protobuf/README.md +43 -0
  25. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.d.ts +422 -0
  26. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.js +444 -0
  27. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.d.ts +113 -0
  28. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.js +15 -0
  29. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.d.ts +33 -0
  30. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.js +69 -0
  31. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.d.ts +36 -0
  32. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.js +910 -0
  33. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.d.ts +15 -0
  34. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.js +264 -0
  35. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.d.ts +13 -0
  36. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.js +103 -0
  37. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.d.ts +672 -0
  38. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.js +15 -0
  39. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/enum.d.ts +35 -0
  40. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/enum.js +15 -0
  41. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.d.ts +35 -0
  42. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.js +114 -0
  43. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension.d.ts +24 -0
  44. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension.js +15 -0
  45. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field-list.d.ts +27 -0
  46. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field-list.js +15 -0
  47. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field.d.ts +314 -0
  48. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field.js +15 -0
  49. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.d.ts +157 -0
  50. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.js +273 -0
  51. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.d.ts +256 -0
  52. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.js +316 -0
  53. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.d.ts +271 -0
  54. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.js +219 -0
  55. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.d.ts +2277 -0
  56. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.js +2077 -0
  57. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.d.ts +100 -0
  58. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.js +169 -0
  59. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.d.ts +28 -0
  60. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.js +52 -0
  61. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.d.ts +227 -0
  62. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.js +311 -0
  63. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.d.ts +29 -0
  64. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.js +55 -0
  65. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.d.ts +158 -0
  66. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.js +240 -0
  67. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.d.ts +132 -0
  68. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.js +213 -0
  69. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.d.ts +437 -0
  70. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.js +562 -0
  71. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.d.ts +267 -0
  72. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.js +569 -0
  73. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.d.ts +70 -0
  74. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.js +323 -0
  75. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts +42 -0
  76. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/index.js +85 -0
  77. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts +22 -0
  78. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js +52 -0
  79. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/json-format.d.ts +111 -0
  80. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/json-format.js +15 -0
  81. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message-type.d.ts +51 -0
  82. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message-type.js +15 -0
  83. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message.d.ts +131 -0
  84. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message.js +129 -0
  85. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/package.json +1 -0
  86. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.d.ts +16 -0
  87. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.js +59 -0
  88. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.d.ts +7 -0
  89. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.js +431 -0
  90. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.d.ts +27 -0
  91. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.js +94 -0
  92. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.d.ts +34 -0
  93. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.js +86 -0
  94. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.d.ts +19 -0
  95. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.js +120 -0
  96. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.d.ts +18 -0
  97. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.js +76 -0
  98. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.d.ts +9 -0
  99. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.js +69 -0
  100. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.d.ts +25 -0
  101. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.js +57 -0
  102. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field.d.ts +16 -0
  103. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field.js +45 -0
  104. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.d.ts +2 -0
  105. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.js +626 -0
  106. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.d.ts +18 -0
  107. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.js +50 -0
  108. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/names.d.ts +43 -0
  109. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/names.js +278 -0
  110. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.d.ts +7 -0
  111. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.js +15 -0
  112. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.d.ts +53 -0
  113. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.js +41 -0
  114. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.d.ts +9 -0
  115. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.js +79 -0
  116. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.d.ts +102 -0
  117. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.js +172 -0
  118. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.d.ts +18 -0
  119. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.js +105 -0
  120. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.d.ts +4 -0
  121. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.js +189 -0
  122. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.d.ts +2 -0
  123. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.js +247 -0
  124. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util.d.ts +38 -0
  125. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util.js +15 -0
  126. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.d.ts +18 -0
  127. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.js +128 -0
  128. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.d.ts +54 -0
  129. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.js +155 -0
  130. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.d.ts +5 -0
  131. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.js +29 -0
  132. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts +95 -0
  133. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js +116 -0
  134. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto2.d.ts +4 -0
  135. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto2.js +53 -0
  136. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto3.d.ts +4 -0
  137. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto3.js +56 -0
  138. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/scalar.d.ts +53 -0
  139. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/scalar.js +81 -0
  140. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/service-type.d.ts +96 -0
  141. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/service-type.js +53 -0
  142. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.d.ts +12 -0
  143. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.js +72 -0
  144. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.d.ts +66 -0
  145. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.js +15 -0
  146. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.d.ts +422 -0
  147. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.js +439 -0
  148. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-format.d.ts +113 -0
  149. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-format.js +14 -0
  150. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.d.ts +33 -0
  151. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.js +67 -0
  152. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.d.ts +36 -0
  153. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.js +906 -0
  154. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.d.ts +15 -0
  155. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.js +261 -0
  156. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry.d.ts +13 -0
  157. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry.js +98 -0
  158. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.d.ts +672 -0
  159. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.js +14 -0
  160. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/enum.d.ts +35 -0
  161. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/enum.js +14 -0
  162. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.d.ts +35 -0
  163. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.js +107 -0
  164. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension.d.ts +24 -0
  165. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension.js +14 -0
  166. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field-list.d.ts +27 -0
  167. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field-list.js +14 -0
  168. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field.d.ts +314 -0
  169. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field.js +14 -0
  170. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.d.ts +157 -0
  171. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.js +269 -0
  172. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.d.ts +256 -0
  173. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.js +310 -0
  174. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.d.ts +271 -0
  175. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.js +212 -0
  176. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.d.ts +2277 -0
  177. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.js +2041 -0
  178. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.d.ts +100 -0
  179. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.js +165 -0
  180. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.d.ts +28 -0
  181. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.js +48 -0
  182. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.d.ts +227 -0
  183. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.js +307 -0
  184. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.d.ts +29 -0
  185. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.js +51 -0
  186. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.d.ts +158 -0
  187. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.js +234 -0
  188. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.d.ts +132 -0
  189. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.js +209 -0
  190. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.d.ts +437 -0
  191. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.js +554 -0
  192. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.d.ts +267 -0
  193. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.js +557 -0
  194. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/varint.d.ts +70 -0
  195. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/varint.js +313 -0
  196. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts +42 -0
  197. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/index.js +43 -0
  198. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts +22 -0
  199. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +48 -0
  200. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/json-format.d.ts +111 -0
  201. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/json-format.js +14 -0
  202. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message-type.d.ts +51 -0
  203. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message-type.js +14 -0
  204. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message.d.ts +131 -0
  205. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message.js +125 -0
  206. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/assert.d.ts +16 -0
  207. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/assert.js +52 -0
  208. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.d.ts +7 -0
  209. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.js +427 -0
  210. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/enum.d.ts +27 -0
  211. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/enum.js +87 -0
  212. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.d.ts +34 -0
  213. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.js +81 -0
  214. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.d.ts +19 -0
  215. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.js +116 -0
  216. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.d.ts +18 -0
  217. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.js +72 -0
  218. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.d.ts +9 -0
  219. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.js +65 -0
  220. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.d.ts +25 -0
  221. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.js +53 -0
  222. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field.d.ts +16 -0
  223. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field.js +41 -0
  224. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.d.ts +2 -0
  225. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.js +623 -0
  226. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.d.ts +18 -0
  227. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.js +46 -0
  228. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/names.d.ts +43 -0
  229. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/names.js +269 -0
  230. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.d.ts +7 -0
  231. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.js +14 -0
  232. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.d.ts +53 -0
  233. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.js +37 -0
  234. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.d.ts +9 -0
  235. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.js +74 -0
  236. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.d.ts +102 -0
  237. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.js +168 -0
  238. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.d.ts +18 -0
  239. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.js +99 -0
  240. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.d.ts +4 -0
  241. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.js +184 -0
  242. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.d.ts +2 -0
  243. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.js +244 -0
  244. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util.d.ts +38 -0
  245. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util.js +14 -0
  246. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.d.ts +18 -0
  247. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.js +125 -0
  248. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.d.ts +54 -0
  249. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.js +152 -0
  250. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-double.d.ts +5 -0
  251. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-double.js +26 -0
  252. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts +95 -0
  253. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +113 -0
  254. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto2.d.ts +4 -0
  255. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto2.js +50 -0
  256. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto3.d.ts +4 -0
  257. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto3.js +53 -0
  258. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/scalar.d.ts +53 -0
  259. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/scalar.js +78 -0
  260. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/service-type.d.ts +96 -0
  261. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/service-type.js +50 -0
  262. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.d.ts +12 -0
  263. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.js +70 -0
  264. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/type-registry.d.ts +66 -0
  265. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/type-registry.js +14 -0
  266. package/gen/ts/node_modules/@bufbuild/protobuf/package.json +40 -0
  267. package/gen/ts/node_modules/@connectrpc/connect/README.md +62 -0
  268. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/any-client.d.ts +22 -0
  269. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/any-client.js +34 -0
  270. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/call-options.d.ts +34 -0
  271. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/call-options.js +15 -0
  272. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/callback-client.d.ts +31 -0
  273. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/callback-client.js +116 -0
  274. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/code.d.ts +75 -0
  275. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/code.js +92 -0
  276. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/connect-error.d.ts +90 -0
  277. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/connect-error.js +134 -0
  278. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/context-values.d.ts +34 -0
  279. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/context-values.js +41 -0
  280. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/cors.d.ts +45 -0
  281. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/cors.js +82 -0
  282. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/http-headers.d.ts +36 -0
  283. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/http-headers.js +68 -0
  284. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/implementation.d.ts +165 -0
  285. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/implementation.js +79 -0
  286. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/index.d.ts +22 -0
  287. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/index.js +47 -0
  288. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/interceptor.d.ts +155 -0
  289. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/interceptor.js +27 -0
  290. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/method-type.d.ts +43 -0
  291. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/method-type.js +15 -0
  292. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/package.json +1 -0
  293. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/promise-client.d.ts +49 -0
  294. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/promise-client.js +147 -0
  295. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.d.ts +527 -0
  296. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.js +959 -0
  297. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.d.ts +48 -0
  298. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.js +75 -0
  299. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.d.ts +16 -0
  300. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.js +43 -0
  301. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.d.ts +17 -0
  302. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.js +36 -0
  303. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.d.ts +59 -0
  304. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.js +152 -0
  305. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/index.d.ts +24 -0
  306. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/index.js +93 -0
  307. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.d.ts +21 -0
  308. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.js +250 -0
  309. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.d.ts +24 -0
  310. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.js +80 -0
  311. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.d.ts +12 -0
  312. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.js +56 -0
  313. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.d.ts +18 -0
  314. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.js +15 -0
  315. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.d.ts +45 -0
  316. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.js +119 -0
  317. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.d.ts +104 -0
  318. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.js +148 -0
  319. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.d.ts +36 -0
  320. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.js +100 -0
  321. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.d.ts +98 -0
  322. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.js +15 -0
  323. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.d.ts +35 -0
  324. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.js +150 -0
  325. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.d.ts +7 -0
  326. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.js +90 -0
  327. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.d.ts +155 -0
  328. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.js +131 -0
  329. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.d.ts +102 -0
  330. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.js +78 -0
  331. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.d.ts +16 -0
  332. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.js +52 -0
  333. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.d.ts +40 -0
  334. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.js +71 -0
  335. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.d.ts +44 -0
  336. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.js +132 -0
  337. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.d.ts +36 -0
  338. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.js +163 -0
  339. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.d.ts +7 -0
  340. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.js +68 -0
  341. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.d.ts +6 -0
  342. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.js +281 -0
  343. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.d.ts +12 -0
  344. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.js +28 -0
  345. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.d.ts +15 -0
  346. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.js +90 -0
  347. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.d.ts +16 -0
  348. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.js +81 -0
  349. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.d.ts +13 -0
  350. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.js +44 -0
  351. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.d.ts +8 -0
  352. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.js +24 -0
  353. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.d.ts +19 -0
  354. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.js +70 -0
  355. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.d.ts +19 -0
  356. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.js +53 -0
  357. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.d.ts +6 -0
  358. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.js +214 -0
  359. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.d.ts +30 -0
  360. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.js +72 -0
  361. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.d.ts +20 -0
  362. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.js +58 -0
  363. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.d.ts +16 -0
  364. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.js +38 -0
  365. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.d.ts +89 -0
  366. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.js +120 -0
  367. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.d.ts +6 -0
  368. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.js +122 -0
  369. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.d.ts +12 -0
  370. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.js +28 -0
  371. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.d.ts +8 -0
  372. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.js +46 -0
  373. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.d.ts +10 -0
  374. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.js +61 -0
  375. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.d.ts +13 -0
  376. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.js +53 -0
  377. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.d.ts +13 -0
  378. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.js +56 -0
  379. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.d.ts +28 -0
  380. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.js +104 -0
  381. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.d.ts +6 -0
  382. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.js +185 -0
  383. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.d.ts +33 -0
  384. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.js +75 -0
  385. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.d.ts +13 -0
  386. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.js +44 -0
  387. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.d.ts +19 -0
  388. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.js +41 -0
  389. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.d.ts +6 -0
  390. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.js +128 -0
  391. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.d.ts +20 -0
  392. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.js +44 -0
  393. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.d.ts +8 -0
  394. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.js +61 -0
  395. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.d.ts +13 -0
  396. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.js +59 -0
  397. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.d.ts +27 -0
  398. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.js +71 -0
  399. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.d.ts +6 -0
  400. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.js +238 -0
  401. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.d.ts +34 -0
  402. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.js +73 -0
  403. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router-transport.d.ts +13 -0
  404. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router-transport.js +32 -0
  405. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router.d.ts +88 -0
  406. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router.js +83 -0
  407. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/transport.d.ts +20 -0
  408. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/transport.js +15 -0
  409. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/any-client.d.ts +22 -0
  410. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/any-client.js +31 -0
  411. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/call-options.d.ts +34 -0
  412. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/call-options.js +14 -0
  413. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/callback-client.d.ts +31 -0
  414. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/callback-client.js +113 -0
  415. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/code.d.ts +75 -0
  416. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/code.js +89 -0
  417. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/connect-error.d.ts +90 -0
  418. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/connect-error.js +130 -0
  419. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/context-values.d.ts +34 -0
  420. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/context-values.js +37 -0
  421. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/cors.d.ts +45 -0
  422. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/cors.js +79 -0
  423. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/http-headers.d.ts +36 -0
  424. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/http-headers.js +63 -0
  425. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/implementation.d.ts +165 -0
  426. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/implementation.js +75 -0
  427. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/index.d.ts +22 -0
  428. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/index.js +27 -0
  429. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/interceptor.d.ts +155 -0
  430. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/interceptor.js +24 -0
  431. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/method-type.d.ts +43 -0
  432. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/method-type.js +14 -0
  433. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/promise-client.d.ts +49 -0
  434. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/promise-client.js +139 -0
  435. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.d.ts +527 -0
  436. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.js +937 -0
  437. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/compression.d.ts +48 -0
  438. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/compression.js +71 -0
  439. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.d.ts +16 -0
  440. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.js +40 -0
  441. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.d.ts +17 -0
  442. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.js +33 -0
  443. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.d.ts +59 -0
  444. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.js +145 -0
  445. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/index.d.ts +24 -0
  446. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/index.js +32 -0
  447. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.d.ts +21 -0
  448. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.js +246 -0
  449. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.d.ts +24 -0
  450. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.js +75 -0
  451. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.d.ts +12 -0
  452. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.js +53 -0
  453. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.d.ts +18 -0
  454. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.js +14 -0
  455. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.d.ts +45 -0
  456. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.js +115 -0
  457. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.d.ts +104 -0
  458. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.js +140 -0
  459. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/signals.d.ts +36 -0
  460. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/signals.js +95 -0
  461. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.d.ts +98 -0
  462. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.js +14 -0
  463. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.d.ts +35 -0
  464. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.js +142 -0
  465. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.d.ts +7 -0
  466. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.js +87 -0
  467. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.d.ts +155 -0
  468. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.js +125 -0
  469. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal.d.ts +102 -0
  470. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal.js +74 -0
  471. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.d.ts +16 -0
  472. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.js +48 -0
  473. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.d.ts +40 -0
  474. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.js +66 -0
  475. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.d.ts +44 -0
  476. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.js +126 -0
  477. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.d.ts +36 -0
  478. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.js +157 -0
  479. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.d.ts +7 -0
  480. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.js +65 -0
  481. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.d.ts +6 -0
  482. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.js +278 -0
  483. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.d.ts +12 -0
  484. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.js +25 -0
  485. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.d.ts +15 -0
  486. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.js +86 -0
  487. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.d.ts +16 -0
  488. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.js +33 -0
  489. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.d.ts +13 -0
  490. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.js +41 -0
  491. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.d.ts +8 -0
  492. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.js +21 -0
  493. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.d.ts +19 -0
  494. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.js +66 -0
  495. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.d.ts +19 -0
  496. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.js +49 -0
  497. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.d.ts +6 -0
  498. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.js +211 -0
  499. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.d.ts +30 -0
  500. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.js +68 -0
  501. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.d.ts +20 -0
  502. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.js +53 -0
  503. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.d.ts +16 -0
  504. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.js +34 -0
  505. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.d.ts +89 -0
  506. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.js +116 -0
  507. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.d.ts +6 -0
  508. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.js +119 -0
  509. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.d.ts +12 -0
  510. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.js +25 -0
  511. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.d.ts +8 -0
  512. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.js +43 -0
  513. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.d.ts +10 -0
  514. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.js +28 -0
  515. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.d.ts +13 -0
  516. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.js +50 -0
  517. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.d.ts +13 -0
  518. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.js +52 -0
  519. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.d.ts +28 -0
  520. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.js +99 -0
  521. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.d.ts +6 -0
  522. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.js +182 -0
  523. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.d.ts +33 -0
  524. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.js +71 -0
  525. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.d.ts +13 -0
  526. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.js +41 -0
  527. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.d.ts +19 -0
  528. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.js +37 -0
  529. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.d.ts +6 -0
  530. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.js +125 -0
  531. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.d.ts +20 -0
  532. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.js +33 -0
  533. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.d.ts +8 -0
  534. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.js +26 -0
  535. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.d.ts +13 -0
  536. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.js +55 -0
  537. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.d.ts +27 -0
  538. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.js +65 -0
  539. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.d.ts +6 -0
  540. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.js +235 -0
  541. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.d.ts +34 -0
  542. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.js +69 -0
  543. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router-transport.d.ts +13 -0
  544. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router-transport.js +29 -0
  545. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router.d.ts +88 -0
  546. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router.js +80 -0
  547. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/transport.d.ts +20 -0
  548. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/transport.js +14 -0
  549. package/gen/ts/node_modules/@connectrpc/connect/package.json +75 -0
  550. package/gen/ts/node_modules/@connectrpc/connect/protocol-connect.js +16 -0
  551. package/gen/ts/node_modules/@connectrpc/connect/protocol-grpc-web.js +16 -0
  552. package/gen/ts/node_modules/@connectrpc/connect/protocol-grpc.js +16 -0
  553. package/gen/ts/node_modules/@connectrpc/connect/protocol.js +16 -0
  554. package/gen/ts/node_modules/typescript/LICENSE.txt +55 -0
  555. package/gen/ts/node_modules/typescript/README.md +50 -0
  556. package/gen/ts/node_modules/typescript/SECURITY.md +41 -0
  557. package/gen/ts/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  558. package/gen/ts/node_modules/typescript/bin/tsc +2 -0
  559. package/gen/ts/node_modules/typescript/bin/tsserver +2 -0
  560. package/gen/ts/node_modules/typescript/lib/_tsc.js +133818 -0
  561. package/gen/ts/node_modules/typescript/lib/_tsserver.js +659 -0
  562. package/gen/ts/node_modules/typescript/lib/_typingsInstaller.js +222 -0
  563. package/gen/ts/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
  564. package/gen/ts/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
  565. package/gen/ts/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
  566. package/gen/ts/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
  567. package/gen/ts/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
  568. package/gen/ts/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
  569. package/gen/ts/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
  570. package/gen/ts/node_modules/typescript/lib/lib.d.ts +22 -0
  571. package/gen/ts/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
  572. package/gen/ts/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  573. package/gen/ts/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
  574. package/gen/ts/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
  575. package/gen/ts/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
  576. package/gen/ts/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  577. package/gen/ts/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  578. package/gen/ts/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  579. package/gen/ts/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  580. package/gen/ts/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
  581. package/gen/ts/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  582. package/gen/ts/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  583. package/gen/ts/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  584. package/gen/ts/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  585. package/gen/ts/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  586. package/gen/ts/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  587. package/gen/ts/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  588. package/gen/ts/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  589. package/gen/ts/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  590. package/gen/ts/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
  591. package/gen/ts/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
  592. package/gen/ts/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  593. package/gen/ts/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  594. package/gen/ts/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  595. package/gen/ts/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  596. package/gen/ts/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  597. package/gen/ts/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  598. package/gen/ts/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  599. package/gen/ts/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  600. package/gen/ts/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
  601. package/gen/ts/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  602. package/gen/ts/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  603. package/gen/ts/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  604. package/gen/ts/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  605. package/gen/ts/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  606. package/gen/ts/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  607. package/gen/ts/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  608. package/gen/ts/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  609. package/gen/ts/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  610. package/gen/ts/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  611. package/gen/ts/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  612. package/gen/ts/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  613. package/gen/ts/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
  614. package/gen/ts/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  615. package/gen/ts/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  616. package/gen/ts/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  617. package/gen/ts/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  618. package/gen/ts/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  619. package/gen/ts/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  620. package/gen/ts/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
  621. package/gen/ts/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
  622. package/gen/ts/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  623. package/gen/ts/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  624. package/gen/ts/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  625. package/gen/ts/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  626. package/gen/ts/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  627. package/gen/ts/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  628. package/gen/ts/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
  629. package/gen/ts/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  630. package/gen/ts/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
  631. package/gen/ts/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
  632. package/gen/ts/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  633. package/gen/ts/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
  634. package/gen/ts/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  635. package/gen/ts/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  636. package/gen/ts/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  637. package/gen/ts/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  638. package/gen/ts/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  639. package/gen/ts/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  640. package/gen/ts/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  641. package/gen/ts/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  642. package/gen/ts/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  643. package/gen/ts/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  644. package/gen/ts/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  645. package/gen/ts/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
  646. package/gen/ts/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
  647. package/gen/ts/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
  648. package/gen/ts/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
  649. package/gen/ts/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
  650. package/gen/ts/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
  651. package/gen/ts/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
  652. package/gen/ts/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  653. package/gen/ts/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  654. package/gen/ts/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
  655. package/gen/ts/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
  656. package/gen/ts/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  657. package/gen/ts/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
  658. package/gen/ts/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
  659. package/gen/ts/node_modules/typescript/lib/lib.esnext.float16.d.ts +445 -0
  660. package/gen/ts/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  661. package/gen/ts/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  662. package/gen/ts/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
  663. package/gen/ts/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  664. package/gen/ts/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
  665. package/gen/ts/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  666. package/gen/ts/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
  667. package/gen/ts/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
  668. package/gen/ts/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  669. package/gen/ts/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
  670. package/gen/ts/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
  671. package/gen/ts/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
  672. package/gen/ts/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
  673. package/gen/ts/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
  674. package/gen/ts/node_modules/typescript/lib/tsc.js +8 -0
  675. package/gen/ts/node_modules/typescript/lib/tsserver.js +8 -0
  676. package/gen/ts/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  677. package/gen/ts/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  678. package/gen/ts/node_modules/typescript/lib/typesMap.json +497 -0
  679. package/gen/ts/node_modules/typescript/lib/typescript.d.ts +11437 -0
  680. package/gen/ts/node_modules/typescript/lib/typescript.js +200276 -0
  681. package/gen/ts/node_modules/typescript/lib/typingsInstaller.js +8 -0
  682. package/gen/ts/node_modules/typescript/lib/watchGuard.js +53 -0
  683. package/gen/ts/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
  684. package/gen/ts/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
  685. package/gen/ts/node_modules/typescript/package.json +120 -0
  686. package/gen/ts/package-lock.json +51 -0
  687. package/gen/ts/workflow/v1/service_connect.ts +87 -0
  688. package/gen/ts/workflow/v1/service_pb.ts +594 -0
  689. package/hiring/v1/pipeline.proto +156 -0
  690. package/hiring/v1/service.proto +19 -0
  691. package/package.json +14 -2
  692. package/workflow/v1/service.proto +87 -0
@@ -0,0 +1,37 @@
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
+ * createContextValues creates a new ContextValues.
16
+ */
17
+ export function createContextValues() {
18
+ return {
19
+ get(key) {
20
+ return key.id in this ? this[key.id] : key.defaultValue;
21
+ },
22
+ set(key, value) {
23
+ this[key.id] = value;
24
+ return this;
25
+ },
26
+ delete(key) {
27
+ delete this[key.id];
28
+ return this;
29
+ },
30
+ };
31
+ }
32
+ /**
33
+ * createContextKey creates a new ContextKey.
34
+ */
35
+ export function createContextKey(defaultValue, options) {
36
+ return { id: Symbol(options === null || options === void 0 ? void 0 : options.description), defaultValue };
37
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * CORS prevents rogue scripts in a web browser from making arbitrary requests
3
+ * to other web servers.
4
+ *
5
+ * This object provides helpful constants to configure CORS middleware for
6
+ * cross-domain requests with the protocols supported by Connect.
7
+ *
8
+ * Make sure to add application-specific headers that your application
9
+ * uses as well.
10
+ */
11
+ export declare const cors: {
12
+ /**
13
+ * Request methods that scripts running in the browser are permitted to use.
14
+ *
15
+ * To support cross-domain requests with the protocols supported by Connect,
16
+ * these headers fields must be included in the preflight response header
17
+ * Access-Control-Allow-Methods.
18
+ */
19
+ allowedMethods: ReadonlyArray<string>;
20
+ /**
21
+ * Header fields that scripts running in the browser are permitted to send.
22
+ *
23
+ * To support cross-domain requests with the protocols supported by Connect,
24
+ * these field names must be included in the preflight response header
25
+ * Access-Control-Allow-Headers.
26
+ *
27
+ * Make sure to include any application-specific headers your browser client
28
+ * may send.
29
+ */
30
+ allowedHeaders: ReadonlyArray<string>;
31
+ /**
32
+ * Header fields that scripts running the browser are permitted to see.
33
+ *
34
+ * To support cross-domain requests with the protocols supported by Connect,
35
+ * these field names must be included in header Access-Control-Expose-Headers
36
+ * of the actual response.
37
+ *
38
+ * Make sure to include any application-specific headers your browser client
39
+ * should see. If your application uses trailers, they will be sent as header
40
+ * fields with a `Trailer-` prefix for Connect unary RPCs - make sure to
41
+ * expose them as well if you want them to be visible in all supported
42
+ * protocols.
43
+ */
44
+ exposedHeaders: ReadonlyArray<string>;
45
+ };
@@ -0,0 +1,79 @@
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 * as connect from "./protocol-connect/headers.js";
15
+ import * as grpc from "./protocol-grpc/headers.js";
16
+ import * as grpcWeb from "./protocol-grpc-web/headers.js";
17
+ /**
18
+ * CORS prevents rogue scripts in a web browser from making arbitrary requests
19
+ * to other web servers.
20
+ *
21
+ * This object provides helpful constants to configure CORS middleware for
22
+ * cross-domain requests with the protocols supported by Connect.
23
+ *
24
+ * Make sure to add application-specific headers that your application
25
+ * uses as well.
26
+ */
27
+ export const cors = {
28
+ /**
29
+ * Request methods that scripts running in the browser are permitted to use.
30
+ *
31
+ * To support cross-domain requests with the protocols supported by Connect,
32
+ * these headers fields must be included in the preflight response header
33
+ * Access-Control-Allow-Methods.
34
+ */
35
+ allowedMethods: ["POST", "GET"],
36
+ /**
37
+ * Header fields that scripts running in the browser are permitted to send.
38
+ *
39
+ * To support cross-domain requests with the protocols supported by Connect,
40
+ * these field names must be included in the preflight response header
41
+ * Access-Control-Allow-Headers.
42
+ *
43
+ * Make sure to include any application-specific headers your browser client
44
+ * may send.
45
+ */
46
+ allowedHeaders: [
47
+ connect.headerContentType,
48
+ connect.headerProtocolVersion,
49
+ connect.headerTimeout,
50
+ connect.headerStreamEncoding, // Unused in web browsers, but added for future-proofing
51
+ connect.headerStreamAcceptEncoding, // Unused in web browsers, but added for future-proofing
52
+ connect.headerUnaryEncoding, // Unused in web browsers, but added for future-proofing
53
+ connect.headerUnaryAcceptEncoding, // Unused in web browsers, but added for future-proofing
54
+ grpc.headerMessageType, // Unused in web browsers, but added for future-proofing
55
+ grpcWeb.headerXGrpcWeb,
56
+ grpcWeb.headerXUserAgent,
57
+ grpcWeb.headerTimeout,
58
+ ],
59
+ /**
60
+ * Header fields that scripts running the browser are permitted to see.
61
+ *
62
+ * To support cross-domain requests with the protocols supported by Connect,
63
+ * these field names must be included in header Access-Control-Expose-Headers
64
+ * of the actual response.
65
+ *
66
+ * Make sure to include any application-specific headers your browser client
67
+ * should see. If your application uses trailers, they will be sent as header
68
+ * fields with a `Trailer-` prefix for Connect unary RPCs - make sure to
69
+ * expose them as well if you want them to be visible in all supported
70
+ * protocols.
71
+ */
72
+ exposedHeaders: [
73
+ grpcWeb.headerGrpcStatus, // Crucial for gRPC-web
74
+ grpcWeb.headerGrpcMessage, // Crucial for gRPC-web
75
+ grpcWeb.headerStatusDetailsBin, // Error details in gRPC, gRPC-web
76
+ connect.headerUnaryEncoding, // Unused in web browsers, but added for future-proofing
77
+ connect.headerStreamEncoding, // Unused in web browsers, but added for future-proofing
78
+ ],
79
+ };
@@ -0,0 +1,36 @@
1
+ import type { Message, BinaryReadOptions, MessageType } from "@bufbuild/protobuf";
2
+ /**
3
+ * Encode a single binary header value according to the Connect
4
+ * and gRPC specifications.
5
+ *
6
+ * This function accepts raw binary data from a buffer, a string
7
+ * with UTF-8 text, or a protobuf message. It encodes the input
8
+ * with unpadded base64 and returns a string that can be used for
9
+ * a header whose name ends with `-bin`.
10
+ */
11
+ export declare function encodeBinaryHeader(value: Uint8Array | ArrayBufferLike | Message | string): string;
12
+ /**
13
+ * Decode a single binary header value according to the Connect
14
+ * and gRPC specifications.
15
+ *
16
+ * This function returns the raw binary data from a header whose
17
+ * name ends with `-bin`. If given a message type in the second
18
+ * argument, it deserializes a protobuf message. To decode a value
19
+ * that contains unicode text, pass the raw binary data returned
20
+ * from this function through TextDecoder.decode.
21
+ *
22
+ * Note that duplicate header names may have their values joined
23
+ * with a `,` as the delimiter, so you most likely will want to
24
+ * split by `,` first.
25
+ *
26
+ * If this function detects invalid base-64 encoding, or invalid
27
+ * binary message data, it throws a ConnectError with code
28
+ * DataLoss.
29
+ */
30
+ export declare function decodeBinaryHeader(value: string): Uint8Array;
31
+ export declare function decodeBinaryHeader<T extends Message<T>>(value: string, type: MessageType<T>, options?: Partial<BinaryReadOptions>): T;
32
+ /**
33
+ * Merge two or more Headers objects by appending all fields from
34
+ * all inputs to a new Headers object.
35
+ */
36
+ export declare function appendHeaders(...headers: Headers[]): Headers;
@@ -0,0 +1,63 @@
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 { protoBase64 } from "@bufbuild/protobuf";
15
+ import { ConnectError } from "./connect-error.js";
16
+ import { Code } from "./code.js";
17
+ /**
18
+ * Encode a single binary header value according to the Connect
19
+ * and gRPC specifications.
20
+ *
21
+ * This function accepts raw binary data from a buffer, a string
22
+ * with UTF-8 text, or a protobuf message. It encodes the input
23
+ * with unpadded base64 and returns a string that can be used for
24
+ * a header whose name ends with `-bin`.
25
+ */
26
+ export function encodeBinaryHeader(value) {
27
+ let bytes;
28
+ if (typeof value == "object" && "getType" in value) {
29
+ bytes = value.toBinary();
30
+ }
31
+ else if (typeof value == "string") {
32
+ bytes = new TextEncoder().encode(value);
33
+ }
34
+ else {
35
+ bytes = value instanceof Uint8Array ? value : new Uint8Array(value);
36
+ }
37
+ return protoBase64.enc(bytes).replace(/=+$/, "");
38
+ }
39
+ export function decodeBinaryHeader(value, type, options) {
40
+ try {
41
+ const bytes = protoBase64.dec(value);
42
+ if (type) {
43
+ return type.fromBinary(bytes, options);
44
+ }
45
+ return bytes;
46
+ }
47
+ catch (e) {
48
+ throw ConnectError.from(e, Code.DataLoss);
49
+ }
50
+ }
51
+ /**
52
+ * Merge two or more Headers objects by appending all fields from
53
+ * all inputs to a new Headers object.
54
+ */
55
+ export function appendHeaders(...headers) {
56
+ const h = new Headers();
57
+ for (const e of headers) {
58
+ e.forEach((value, key) => {
59
+ h.append(key, value);
60
+ });
61
+ }
62
+ return h;
63
+ }
@@ -0,0 +1,165 @@
1
+ import type { AnyMessage, Message, MessageType, MethodIdempotency, MethodInfo, PartialMessage, ServiceType } from "@bufbuild/protobuf";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ import type { ContextValues } from "./context-values.js";
4
+ /**
5
+ * ServiceImpl is the interface of the implementation of a service.
6
+ */
7
+ export type ServiceImpl<T extends ServiceType> = {
8
+ [P in keyof T["methods"]]: MethodImpl<T["methods"][P]>;
9
+ };
10
+ /**
11
+ * MethodImpl is the signature of the implementation of an RPC.
12
+ */
13
+ export type MethodImpl<M extends MI> = M extends MI<infer I, infer O, MethodKind.Unary> ? UnaryImpl<I, O> : M extends MI<infer I, infer O, MethodKind.ServerStreaming> ? ServerStreamingImpl<I, O> : M extends MI<infer I, infer O, MethodKind.ClientStreaming> ? ClientStreamingImpl<I, O> : M extends MI<infer I, infer O, MethodKind.BiDiStreaming> ? BiDiStreamingImpl<I, O> : never;
14
+ interface MI<I extends Message<I> = AnyMessage, O extends Message<O> = AnyMessage, K extends MethodKind = MethodKind> {
15
+ readonly kind: K;
16
+ readonly name: string;
17
+ readonly I: MessageType<I>;
18
+ readonly O: MessageType<O>;
19
+ readonly idempotency?: MethodIdempotency;
20
+ }
21
+ /**
22
+ * Context for an RPC on the server. Every RPC implementation can accept a
23
+ * HandlerContext as an argument to gain access to headers and service metadata.
24
+ */
25
+ export interface HandlerContext {
26
+ /**
27
+ * Metadata for the method being called.
28
+ */
29
+ readonly method: MethodInfo;
30
+ /**
31
+ * Metadata for the service being called.
32
+ */
33
+ readonly service: ServiceType;
34
+ /**
35
+ * An AbortSignal that is aborted when the connection with the client is closed
36
+ * or when the deadline is reached.
37
+ *
38
+ * The signal can be used to automatically cancel downstream calls.
39
+ */
40
+ readonly signal: AbortSignal;
41
+ /**
42
+ * If the current request has a timeout, this function returns the remaining
43
+ * time.
44
+ */
45
+ readonly timeoutMs: () => number | undefined;
46
+ /**
47
+ * HTTP method of incoming request, usually "POST", but "GET" in the case of
48
+ * Connect Get.
49
+ */
50
+ readonly requestMethod: string;
51
+ /**
52
+ * Incoming request headers.
53
+ */
54
+ readonly requestHeader: Headers;
55
+ /**
56
+ * Outgoing response headers.
57
+ *
58
+ * For methods that return a stream, response headers must be set before
59
+ * yielding the first response message.
60
+ */
61
+ readonly responseHeader: Headers;
62
+ /**
63
+ * Outgoing response trailers.
64
+ */
65
+ readonly responseTrailer: Headers;
66
+ /**
67
+ * Name of the RPC protocol in use; one of "connect", "grpc" or "grpc-web".
68
+ */
69
+ readonly protocolName: string;
70
+ /**
71
+ * Per RPC context values that can be used to pass data to handlers.
72
+ */
73
+ readonly values: ContextValues;
74
+ /**
75
+ * The URL received by the server.
76
+ */
77
+ readonly url: string;
78
+ }
79
+ /**
80
+ * Options for creating a HandlerContext.
81
+ */
82
+ interface HandlerContextInit {
83
+ service: ServiceType;
84
+ method: MethodInfo;
85
+ protocolName: string;
86
+ requestMethod: string;
87
+ url: string;
88
+ timeoutMs?: number;
89
+ shutdownSignal?: AbortSignal;
90
+ requestSignal?: AbortSignal;
91
+ requestHeader?: HeadersInit;
92
+ responseHeader?: HeadersInit;
93
+ responseTrailer?: HeadersInit;
94
+ contextValues?: ContextValues;
95
+ }
96
+ interface HandlerContextController extends HandlerContext {
97
+ abort(reason?: unknown): void;
98
+ }
99
+ /**
100
+ * Create a new HandlerContext.
101
+ *
102
+ * The context is usually automatically created by handlers, but if a service
103
+ * implementation is used in unit tests, this function can be used to create
104
+ * a context.
105
+ */
106
+ export declare function createHandlerContext(init: HandlerContextInit): HandlerContextController;
107
+ /**
108
+ * UnaryImp is the signature of the implementation of a unary RPC.
109
+ */
110
+ export type UnaryImpl<I extends Message<I>, O extends Message<O>> = (request: I, context: HandlerContext) => Promise<O | PartialMessage<O>> | O | PartialMessage<O>;
111
+ /**
112
+ * ClientStreamingImpl is the signature of the implementation of a
113
+ * client-streaming RPC.
114
+ */
115
+ export type ClientStreamingImpl<I extends Message<I>, O extends Message<O>> = (requests: AsyncIterable<I>, context: HandlerContext) => Promise<O | PartialMessage<O>>;
116
+ /**
117
+ * ServerStreamingImpl is the signature of the implementation of a
118
+ * server-streaming RPC.
119
+ */
120
+ export type ServerStreamingImpl<I extends Message<I>, O extends Message<O>> = (request: I, context: HandlerContext) => AsyncIterable<O | PartialMessage<O>>;
121
+ /**
122
+ * BiDiStreamingImpl is the signature of the implementation of a bi-di
123
+ * streaming RPC.
124
+ */
125
+ export type BiDiStreamingImpl<I extends Message<I>, O extends Message<O>> = (requests: AsyncIterable<I>, context: HandlerContext) => AsyncIterable<O | PartialMessage<O>>;
126
+ /**
127
+ * Wraps a user-provided implementation along with service and method
128
+ * metadata in a discriminated union type.
129
+ */
130
+ export type MethodImplSpec<I extends Message<I> = AnyMessage, O extends Message<O> = AnyMessage> = {
131
+ service: ServiceType;
132
+ method: MethodInfo<I, O>;
133
+ } & ({
134
+ kind: MethodKind.Unary;
135
+ impl: UnaryImpl<I, O>;
136
+ } | {
137
+ kind: MethodKind.ServerStreaming;
138
+ impl: ServerStreamingImpl<I, O>;
139
+ } | {
140
+ kind: MethodKind.ClientStreaming;
141
+ impl: ClientStreamingImpl<I, O>;
142
+ } | {
143
+ kind: MethodKind.BiDiStreaming;
144
+ impl: BiDiStreamingImpl<I, O>;
145
+ });
146
+ /**
147
+ * Wraps a user-provided service implementation and provides metadata.
148
+ */
149
+ export type ServiceImplSpec = {
150
+ service: ServiceType;
151
+ methods: {
152
+ [key: string]: MethodImplSpec;
153
+ };
154
+ };
155
+ /**
156
+ * Create an MethodImplSpec - a user-provided implementation for a method,
157
+ * wrapped in a discriminated union type along with service and method metadata.
158
+ */
159
+ export declare function createMethodImplSpec<M extends MethodInfo>(service: ServiceType, method: M, impl: MethodImpl<M>): MethodImplSpec;
160
+ /**
161
+ * Create an ServiceImplSpec - a user-provided service implementation wrapped
162
+ * with metadata.
163
+ */
164
+ export declare function createServiceImplSpec<T extends ServiceType>(service: T, impl: Partial<ServiceImpl<T>>): ServiceImplSpec;
165
+ export {};
@@ -0,0 +1,75 @@
1
+ // Copyright 2021-2024 The Connect Authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+ import { MethodKind } from "@bufbuild/protobuf";
15
+ import { ConnectError } from "./connect-error.js";
16
+ import { Code } from "./code.js";
17
+ import { createDeadlineSignal, createLinkedAbortController, } from "./protocol/signals.js";
18
+ import { createContextValues } from "./context-values.js";
19
+ /**
20
+ * Create a new HandlerContext.
21
+ *
22
+ * The context is usually automatically created by handlers, but if a service
23
+ * implementation is used in unit tests, this function can be used to create
24
+ * a context.
25
+ */
26
+ export function createHandlerContext(init) {
27
+ var _a;
28
+ let timeoutMs;
29
+ if (init.timeoutMs !== undefined) {
30
+ const date = new Date(Date.now() + init.timeoutMs);
31
+ timeoutMs = () => date.getTime() - Date.now();
32
+ }
33
+ else {
34
+ timeoutMs = () => undefined;
35
+ }
36
+ const deadline = createDeadlineSignal(init.timeoutMs);
37
+ const abortController = createLinkedAbortController(deadline.signal, init.requestSignal, init.shutdownSignal);
38
+ return Object.assign(Object.assign({}, init), { signal: abortController.signal, timeoutMs, requestHeader: new Headers(init.requestHeader), responseHeader: new Headers(init.responseHeader), responseTrailer: new Headers(init.responseTrailer), abort(reason) {
39
+ deadline.cleanup();
40
+ abortController.abort(reason);
41
+ }, values: (_a = init.contextValues) !== null && _a !== void 0 ? _a : createContextValues() });
42
+ }
43
+ /**
44
+ * Create an MethodImplSpec - a user-provided implementation for a method,
45
+ * wrapped in a discriminated union type along with service and method metadata.
46
+ */
47
+ export function createMethodImplSpec(service, method, impl) {
48
+ return {
49
+ kind: method.kind,
50
+ service,
51
+ method,
52
+ impl,
53
+ };
54
+ }
55
+ /**
56
+ * Create an ServiceImplSpec - a user-provided service implementation wrapped
57
+ * with metadata.
58
+ */
59
+ export function createServiceImplSpec(service, impl) {
60
+ const s = { service, methods: {} };
61
+ for (const [localName, methodInfo] of Object.entries(service.methods)) {
62
+ let fn = impl[localName];
63
+ if (typeof fn == "function") {
64
+ fn = fn.bind(impl);
65
+ }
66
+ else {
67
+ const message = `${service.typeName}.${methodInfo.name} is not implemented`;
68
+ fn = function unimplemented() {
69
+ throw new ConnectError(message, Code.Unimplemented);
70
+ };
71
+ }
72
+ s.methods[localName] = createMethodImplSpec(service, methodInfo, fn);
73
+ }
74
+ return s;
75
+ }
@@ -0,0 +1,22 @@
1
+ export { ConnectError } from "./connect-error.js";
2
+ export { Code } from "./code.js";
3
+ export { encodeBinaryHeader, decodeBinaryHeader, appendHeaders, } from "./http-headers.js";
4
+ export { createCallbackClient } from "./callback-client.js";
5
+ export type { CallbackClient } from "./callback-client.js";
6
+ export { createClient, createPromiseClient } from "./promise-client.js";
7
+ export type { Client, PromiseClient } from "./promise-client.js";
8
+ export type { CallOptions } from "./call-options.js";
9
+ export type { Transport } from "./transport.js";
10
+ export type { Interceptor, UnaryRequest, UnaryResponse, StreamRequest, StreamResponse, } from "./interceptor.js";
11
+ export type { ServiceImpl, MethodImpl, HandlerContext, } from "./implementation.js";
12
+ export { createConnectRouter } from "./router.js";
13
+ export type { ConnectRouter, ConnectRouterOptions } from "./router.js";
14
+ export { createHandlerContext } from "./implementation.js";
15
+ export { cors } from "./cors.js";
16
+ export { createContextKey, createContextValues } from "./context-values.js";
17
+ export type { ContextKey, ContextValues } from "./context-values.js";
18
+ export { makeAnyClient } from "./any-client.js";
19
+ export type { AnyClient } from "./any-client.js";
20
+ export { createServiceImplSpec, createMethodImplSpec, } from "./implementation.js";
21
+ export type { ServiceImplSpec, MethodImplSpec } from "./implementation.js";
22
+ export { createRouterTransport } from "./router-transport.js";
@@ -0,0 +1,27 @@
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
+ export { ConnectError } from "./connect-error.js";
15
+ export { Code } from "./code.js";
16
+ export { encodeBinaryHeader, decodeBinaryHeader, appendHeaders, } from "./http-headers.js";
17
+ export { createCallbackClient } from "./callback-client.js";
18
+ export { createClient, createPromiseClient } from "./promise-client.js";
19
+ export { createConnectRouter } from "./router.js";
20
+ export { createHandlerContext } from "./implementation.js";
21
+ export { cors } from "./cors.js";
22
+ export { createContextKey, createContextValues } from "./context-values.js";
23
+ // Symbols above should be relevant to end users.
24
+ // Symbols below should only be relevant for other libraries.
25
+ export { makeAnyClient } from "./any-client.js";
26
+ export { createServiceImplSpec, createMethodImplSpec, } from "./implementation.js";
27
+ export { createRouterTransport } from "./router-transport.js";