@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.
Files changed (686) hide show
  1. package/README.md +16 -1
  2. package/buf.gen.yaml +3 -3
  3. package/gen/ts/api/v1/auth_connect.ts +3 -3
  4. package/gen/ts/api/v1/auth_pb.ts +2 -2
  5. package/gen/ts/api/v1/candidate_connect.ts +3 -3
  6. package/gen/ts/api/v1/candidate_pb.ts +1 -1
  7. package/gen/ts/api/v1/common_pb.ts +1 -1
  8. package/gen/ts/api/v1/company_connect.ts +3 -3
  9. package/gen/ts/api/v1/company_pb.ts +1 -1
  10. package/gen/ts/api/v1/hiring_connect.ts +95 -2
  11. package/gen/ts/api/v1/hiring_pb.ts +31 -1
  12. package/gen/ts/api/v1/pipeline_pb.ts +1220 -0
  13. package/gen/ts/auth/v1/service_connect.ts +2 -2
  14. package/gen/ts/auth/v1/service_pb.ts +2 -2
  15. package/gen/ts/common/v1/common_pb.ts +1 -1
  16. package/gen/ts/hiring/v1/pipeline_pb.ts +1220 -0
  17. package/gen/ts/hiring/v1/service_connect.ts +95 -2
  18. package/gen/ts/hiring/v1/service_pb.ts +31 -1
  19. package/gen/ts/in-human-resources-backend-proto-0.1.6-local.tgz +0 -0
  20. package/gen/ts/node_modules/.package-lock.json +39 -0
  21. package/gen/ts/node_modules/@bufbuild/protobuf/README.md +43 -0
  22. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.d.ts +422 -0
  23. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.js +444 -0
  24. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.d.ts +113 -0
  25. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.js +15 -0
  26. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.d.ts +33 -0
  27. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.js +69 -0
  28. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.d.ts +36 -0
  29. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.js +910 -0
  30. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.d.ts +15 -0
  31. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.js +264 -0
  32. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.d.ts +13 -0
  33. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.js +103 -0
  34. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.d.ts +672 -0
  35. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.js +15 -0
  36. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/enum.d.ts +35 -0
  37. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/enum.js +15 -0
  38. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.d.ts +35 -0
  39. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.js +114 -0
  40. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension.d.ts +24 -0
  41. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/extension.js +15 -0
  42. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field-list.d.ts +27 -0
  43. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field-list.js +15 -0
  44. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field.d.ts +314 -0
  45. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/field.js +15 -0
  46. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.d.ts +157 -0
  47. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.js +273 -0
  48. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.d.ts +256 -0
  49. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.js +316 -0
  50. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.d.ts +271 -0
  51. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.js +219 -0
  52. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.d.ts +2277 -0
  53. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.js +2077 -0
  54. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.d.ts +100 -0
  55. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.js +169 -0
  56. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.d.ts +28 -0
  57. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.js +52 -0
  58. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.d.ts +227 -0
  59. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.js +311 -0
  60. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.d.ts +29 -0
  61. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.js +55 -0
  62. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.d.ts +158 -0
  63. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.js +240 -0
  64. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.d.ts +132 -0
  65. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.js +213 -0
  66. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.d.ts +437 -0
  67. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.js +562 -0
  68. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.d.ts +267 -0
  69. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.js +569 -0
  70. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.d.ts +70 -0
  71. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.js +323 -0
  72. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts +42 -0
  73. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/index.js +85 -0
  74. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts +22 -0
  75. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js +52 -0
  76. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/json-format.d.ts +111 -0
  77. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/json-format.js +15 -0
  78. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message-type.d.ts +51 -0
  79. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message-type.js +15 -0
  80. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message.d.ts +131 -0
  81. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/message.js +129 -0
  82. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/package.json +1 -0
  83. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.d.ts +16 -0
  84. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.js +59 -0
  85. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.d.ts +7 -0
  86. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.js +431 -0
  87. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.d.ts +27 -0
  88. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.js +94 -0
  89. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.d.ts +34 -0
  90. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.js +86 -0
  91. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.d.ts +19 -0
  92. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.js +120 -0
  93. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.d.ts +18 -0
  94. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.js +76 -0
  95. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.d.ts +9 -0
  96. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.js +69 -0
  97. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.d.ts +25 -0
  98. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.js +57 -0
  99. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field.d.ts +16 -0
  100. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/field.js +45 -0
  101. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.d.ts +2 -0
  102. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.js +626 -0
  103. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.d.ts +18 -0
  104. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.js +50 -0
  105. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/names.d.ts +43 -0
  106. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/names.js +278 -0
  107. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.d.ts +7 -0
  108. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.js +15 -0
  109. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.d.ts +53 -0
  110. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.js +41 -0
  111. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.d.ts +9 -0
  112. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.js +79 -0
  113. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.d.ts +102 -0
  114. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.js +172 -0
  115. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.d.ts +18 -0
  116. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.js +105 -0
  117. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.d.ts +4 -0
  118. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.js +189 -0
  119. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.d.ts +2 -0
  120. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.js +247 -0
  121. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util.d.ts +38 -0
  122. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/private/util.js +15 -0
  123. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.d.ts +18 -0
  124. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.js +128 -0
  125. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.d.ts +54 -0
  126. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.js +155 -0
  127. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.d.ts +5 -0
  128. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.js +29 -0
  129. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts +95 -0
  130. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js +116 -0
  131. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto2.d.ts +4 -0
  132. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto2.js +53 -0
  133. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto3.d.ts +4 -0
  134. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/proto3.js +56 -0
  135. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/scalar.d.ts +53 -0
  136. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/scalar.js +81 -0
  137. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/service-type.d.ts +96 -0
  138. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/service-type.js +53 -0
  139. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.d.ts +12 -0
  140. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.js +72 -0
  141. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.d.ts +66 -0
  142. package/gen/ts/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.js +15 -0
  143. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.d.ts +422 -0
  144. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.js +439 -0
  145. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-format.d.ts +113 -0
  146. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/binary-format.js +14 -0
  147. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.d.ts +33 -0
  148. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.js +67 -0
  149. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.d.ts +36 -0
  150. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.js +906 -0
  151. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.d.ts +15 -0
  152. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.js +261 -0
  153. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry.d.ts +13 -0
  154. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/create-registry.js +98 -0
  155. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.d.ts +672 -0
  156. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.js +14 -0
  157. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/enum.d.ts +35 -0
  158. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/enum.js +14 -0
  159. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.d.ts +35 -0
  160. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.js +107 -0
  161. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension.d.ts +24 -0
  162. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/extension.js +14 -0
  163. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field-list.d.ts +27 -0
  164. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field-list.js +14 -0
  165. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field.d.ts +314 -0
  166. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/field.js +14 -0
  167. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.d.ts +157 -0
  168. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.js +269 -0
  169. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.d.ts +256 -0
  170. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.js +310 -0
  171. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.d.ts +271 -0
  172. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.js +212 -0
  173. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.d.ts +2277 -0
  174. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.js +2041 -0
  175. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.d.ts +100 -0
  176. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.js +165 -0
  177. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.d.ts +28 -0
  178. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.js +48 -0
  179. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.d.ts +227 -0
  180. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.js +307 -0
  181. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.d.ts +29 -0
  182. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.js +51 -0
  183. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.d.ts +158 -0
  184. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.js +234 -0
  185. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.d.ts +132 -0
  186. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.js +209 -0
  187. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.d.ts +437 -0
  188. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.js +554 -0
  189. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.d.ts +267 -0
  190. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.js +557 -0
  191. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/varint.d.ts +70 -0
  192. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/google/varint.js +313 -0
  193. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts +42 -0
  194. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/index.js +43 -0
  195. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts +22 -0
  196. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +48 -0
  197. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/json-format.d.ts +111 -0
  198. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/json-format.js +14 -0
  199. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message-type.d.ts +51 -0
  200. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message-type.js +14 -0
  201. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message.d.ts +131 -0
  202. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/message.js +125 -0
  203. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/assert.d.ts +16 -0
  204. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/assert.js +52 -0
  205. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.d.ts +7 -0
  206. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.js +427 -0
  207. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/enum.d.ts +27 -0
  208. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/enum.js +87 -0
  209. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.d.ts +34 -0
  210. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.js +81 -0
  211. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.d.ts +19 -0
  212. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.js +116 -0
  213. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.d.ts +18 -0
  214. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.js +72 -0
  215. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.d.ts +9 -0
  216. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.js +65 -0
  217. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.d.ts +25 -0
  218. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.js +53 -0
  219. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field.d.ts +16 -0
  220. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/field.js +41 -0
  221. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.d.ts +2 -0
  222. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.js +623 -0
  223. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.d.ts +18 -0
  224. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.js +46 -0
  225. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/names.d.ts +43 -0
  226. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/names.js +269 -0
  227. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.d.ts +7 -0
  228. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.js +14 -0
  229. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.d.ts +53 -0
  230. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.js +37 -0
  231. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.d.ts +9 -0
  232. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.js +74 -0
  233. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.d.ts +102 -0
  234. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.js +168 -0
  235. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.d.ts +18 -0
  236. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.js +99 -0
  237. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.d.ts +4 -0
  238. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.js +184 -0
  239. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.d.ts +2 -0
  240. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.js +244 -0
  241. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util.d.ts +38 -0
  242. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/private/util.js +14 -0
  243. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.d.ts +18 -0
  244. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.js +125 -0
  245. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.d.ts +54 -0
  246. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.js +152 -0
  247. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-double.d.ts +5 -0
  248. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-double.js +26 -0
  249. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts +95 -0
  250. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +113 -0
  251. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto2.d.ts +4 -0
  252. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto2.js +50 -0
  253. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto3.d.ts +4 -0
  254. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/proto3.js +53 -0
  255. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/scalar.d.ts +53 -0
  256. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/scalar.js +78 -0
  257. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/service-type.d.ts +96 -0
  258. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/service-type.js +50 -0
  259. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.d.ts +12 -0
  260. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.js +70 -0
  261. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/type-registry.d.ts +66 -0
  262. package/gen/ts/node_modules/@bufbuild/protobuf/dist/esm/type-registry.js +14 -0
  263. package/gen/ts/node_modules/@bufbuild/protobuf/package.json +40 -0
  264. package/gen/ts/node_modules/@connectrpc/connect/README.md +62 -0
  265. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/any-client.d.ts +22 -0
  266. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/any-client.js +34 -0
  267. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/call-options.d.ts +34 -0
  268. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/call-options.js +15 -0
  269. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/callback-client.d.ts +31 -0
  270. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/callback-client.js +116 -0
  271. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/code.d.ts +75 -0
  272. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/code.js +92 -0
  273. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/connect-error.d.ts +90 -0
  274. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/connect-error.js +134 -0
  275. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/context-values.d.ts +34 -0
  276. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/context-values.js +41 -0
  277. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/cors.d.ts +45 -0
  278. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/cors.js +82 -0
  279. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/http-headers.d.ts +36 -0
  280. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/http-headers.js +68 -0
  281. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/implementation.d.ts +165 -0
  282. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/implementation.js +79 -0
  283. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/index.d.ts +22 -0
  284. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/index.js +47 -0
  285. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/interceptor.d.ts +155 -0
  286. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/interceptor.js +27 -0
  287. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/method-type.d.ts +43 -0
  288. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/method-type.js +15 -0
  289. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/package.json +1 -0
  290. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/promise-client.d.ts +49 -0
  291. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/promise-client.js +147 -0
  292. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.d.ts +527 -0
  293. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.js +959 -0
  294. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.d.ts +48 -0
  295. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.js +75 -0
  296. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.d.ts +16 -0
  297. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.js +43 -0
  298. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.d.ts +17 -0
  299. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.js +36 -0
  300. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.d.ts +59 -0
  301. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.js +152 -0
  302. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/index.d.ts +24 -0
  303. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/index.js +93 -0
  304. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.d.ts +21 -0
  305. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.js +250 -0
  306. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.d.ts +24 -0
  307. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.js +80 -0
  308. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.d.ts +12 -0
  309. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.js +56 -0
  310. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.d.ts +18 -0
  311. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.js +15 -0
  312. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.d.ts +45 -0
  313. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.js +119 -0
  314. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.d.ts +104 -0
  315. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.js +148 -0
  316. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.d.ts +36 -0
  317. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.js +100 -0
  318. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.d.ts +98 -0
  319. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.js +15 -0
  320. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.d.ts +35 -0
  321. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.js +150 -0
  322. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.d.ts +7 -0
  323. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.js +90 -0
  324. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.d.ts +155 -0
  325. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.js +131 -0
  326. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.d.ts +102 -0
  327. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.js +78 -0
  328. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.d.ts +16 -0
  329. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.js +52 -0
  330. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.d.ts +40 -0
  331. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.js +71 -0
  332. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.d.ts +44 -0
  333. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.js +132 -0
  334. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.d.ts +36 -0
  335. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.js +163 -0
  336. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.d.ts +7 -0
  337. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.js +68 -0
  338. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.d.ts +6 -0
  339. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.js +281 -0
  340. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.d.ts +12 -0
  341. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.js +28 -0
  342. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.d.ts +15 -0
  343. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.js +90 -0
  344. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.d.ts +16 -0
  345. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.js +81 -0
  346. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.d.ts +13 -0
  347. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.js +44 -0
  348. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.d.ts +8 -0
  349. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.js +24 -0
  350. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.d.ts +19 -0
  351. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.js +70 -0
  352. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.d.ts +19 -0
  353. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.js +53 -0
  354. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.d.ts +6 -0
  355. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.js +214 -0
  356. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.d.ts +30 -0
  357. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.js +72 -0
  358. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.d.ts +20 -0
  359. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.js +58 -0
  360. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.d.ts +16 -0
  361. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.js +38 -0
  362. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.d.ts +89 -0
  363. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.js +120 -0
  364. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.d.ts +6 -0
  365. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.js +122 -0
  366. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.d.ts +12 -0
  367. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.js +28 -0
  368. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.d.ts +8 -0
  369. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.js +46 -0
  370. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.d.ts +10 -0
  371. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.js +61 -0
  372. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.d.ts +13 -0
  373. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.js +53 -0
  374. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.d.ts +13 -0
  375. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.js +56 -0
  376. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.d.ts +28 -0
  377. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.js +104 -0
  378. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.d.ts +6 -0
  379. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.js +185 -0
  380. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.d.ts +33 -0
  381. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.js +75 -0
  382. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.d.ts +13 -0
  383. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.js +44 -0
  384. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.d.ts +19 -0
  385. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.js +41 -0
  386. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.d.ts +6 -0
  387. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.js +128 -0
  388. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.d.ts +20 -0
  389. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.js +44 -0
  390. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.d.ts +8 -0
  391. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.js +61 -0
  392. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.d.ts +13 -0
  393. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.js +59 -0
  394. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.d.ts +27 -0
  395. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.js +71 -0
  396. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.d.ts +6 -0
  397. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.js +238 -0
  398. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.d.ts +34 -0
  399. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.js +73 -0
  400. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router-transport.d.ts +13 -0
  401. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router-transport.js +32 -0
  402. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router.d.ts +88 -0
  403. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/router.js +83 -0
  404. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/transport.d.ts +20 -0
  405. package/gen/ts/node_modules/@connectrpc/connect/dist/cjs/transport.js +15 -0
  406. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/any-client.d.ts +22 -0
  407. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/any-client.js +31 -0
  408. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/call-options.d.ts +34 -0
  409. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/call-options.js +14 -0
  410. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/callback-client.d.ts +31 -0
  411. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/callback-client.js +113 -0
  412. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/code.d.ts +75 -0
  413. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/code.js +89 -0
  414. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/connect-error.d.ts +90 -0
  415. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/connect-error.js +130 -0
  416. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/context-values.d.ts +34 -0
  417. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/context-values.js +37 -0
  418. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/cors.d.ts +45 -0
  419. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/cors.js +79 -0
  420. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/http-headers.d.ts +36 -0
  421. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/http-headers.js +63 -0
  422. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/implementation.d.ts +165 -0
  423. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/implementation.js +75 -0
  424. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/index.d.ts +22 -0
  425. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/index.js +27 -0
  426. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/interceptor.d.ts +155 -0
  427. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/interceptor.js +24 -0
  428. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/method-type.d.ts +43 -0
  429. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/method-type.js +14 -0
  430. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/promise-client.d.ts +49 -0
  431. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/promise-client.js +139 -0
  432. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.d.ts +527 -0
  433. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.js +937 -0
  434. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/compression.d.ts +48 -0
  435. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/compression.js +71 -0
  436. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.d.ts +16 -0
  437. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.js +40 -0
  438. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.d.ts +17 -0
  439. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.js +33 -0
  440. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.d.ts +59 -0
  441. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.js +145 -0
  442. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/index.d.ts +24 -0
  443. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/index.js +32 -0
  444. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.d.ts +21 -0
  445. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.js +246 -0
  446. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.d.ts +24 -0
  447. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.js +75 -0
  448. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.d.ts +12 -0
  449. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.js +53 -0
  450. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.d.ts +18 -0
  451. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.js +14 -0
  452. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.d.ts +45 -0
  453. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.js +115 -0
  454. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.d.ts +104 -0
  455. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.js +140 -0
  456. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/signals.d.ts +36 -0
  457. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/signals.js +95 -0
  458. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.d.ts +98 -0
  459. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.js +14 -0
  460. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.d.ts +35 -0
  461. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.js +142 -0
  462. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.d.ts +7 -0
  463. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.js +87 -0
  464. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.d.ts +155 -0
  465. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.js +125 -0
  466. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal.d.ts +102 -0
  467. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol/universal.js +74 -0
  468. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.d.ts +16 -0
  469. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.js +48 -0
  470. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.d.ts +40 -0
  471. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.js +66 -0
  472. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.d.ts +44 -0
  473. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.js +126 -0
  474. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.d.ts +36 -0
  475. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.js +157 -0
  476. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.d.ts +7 -0
  477. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.js +65 -0
  478. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.d.ts +6 -0
  479. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.js +278 -0
  480. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.d.ts +12 -0
  481. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.js +25 -0
  482. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.d.ts +15 -0
  483. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.js +86 -0
  484. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.d.ts +16 -0
  485. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.js +33 -0
  486. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.d.ts +13 -0
  487. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.js +41 -0
  488. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.d.ts +8 -0
  489. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.js +21 -0
  490. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.d.ts +19 -0
  491. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.js +66 -0
  492. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.d.ts +19 -0
  493. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.js +49 -0
  494. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.d.ts +6 -0
  495. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.js +211 -0
  496. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.d.ts +30 -0
  497. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.js +68 -0
  498. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.d.ts +20 -0
  499. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.js +53 -0
  500. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.d.ts +16 -0
  501. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.js +34 -0
  502. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.d.ts +89 -0
  503. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.js +116 -0
  504. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.d.ts +6 -0
  505. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.js +119 -0
  506. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.d.ts +12 -0
  507. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.js +25 -0
  508. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.d.ts +8 -0
  509. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.js +43 -0
  510. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.d.ts +10 -0
  511. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.js +28 -0
  512. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.d.ts +13 -0
  513. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.js +50 -0
  514. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.d.ts +13 -0
  515. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.js +52 -0
  516. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.d.ts +28 -0
  517. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.js +99 -0
  518. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.d.ts +6 -0
  519. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.js +182 -0
  520. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.d.ts +33 -0
  521. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.js +71 -0
  522. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.d.ts +13 -0
  523. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.js +41 -0
  524. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.d.ts +19 -0
  525. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.js +37 -0
  526. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.d.ts +6 -0
  527. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.js +125 -0
  528. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.d.ts +20 -0
  529. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.js +33 -0
  530. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.d.ts +8 -0
  531. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.js +26 -0
  532. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.d.ts +13 -0
  533. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.js +55 -0
  534. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.d.ts +27 -0
  535. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.js +65 -0
  536. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.d.ts +6 -0
  537. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.js +235 -0
  538. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.d.ts +34 -0
  539. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.js +69 -0
  540. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router-transport.d.ts +13 -0
  541. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router-transport.js +29 -0
  542. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router.d.ts +88 -0
  543. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/router.js +80 -0
  544. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/transport.d.ts +20 -0
  545. package/gen/ts/node_modules/@connectrpc/connect/dist/esm/transport.js +14 -0
  546. package/gen/ts/node_modules/@connectrpc/connect/package.json +75 -0
  547. package/gen/ts/node_modules/@connectrpc/connect/protocol-connect.js +16 -0
  548. package/gen/ts/node_modules/@connectrpc/connect/protocol-grpc-web.js +16 -0
  549. package/gen/ts/node_modules/@connectrpc/connect/protocol-grpc.js +16 -0
  550. package/gen/ts/node_modules/@connectrpc/connect/protocol.js +16 -0
  551. package/gen/ts/node_modules/typescript/LICENSE.txt +55 -0
  552. package/gen/ts/node_modules/typescript/README.md +50 -0
  553. package/gen/ts/node_modules/typescript/SECURITY.md +41 -0
  554. package/gen/ts/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  555. package/gen/ts/node_modules/typescript/bin/tsc +2 -0
  556. package/gen/ts/node_modules/typescript/bin/tsserver +2 -0
  557. package/gen/ts/node_modules/typescript/lib/_tsc.js +133818 -0
  558. package/gen/ts/node_modules/typescript/lib/_tsserver.js +659 -0
  559. package/gen/ts/node_modules/typescript/lib/_typingsInstaller.js +222 -0
  560. package/gen/ts/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
  561. package/gen/ts/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
  562. package/gen/ts/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
  563. package/gen/ts/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
  564. package/gen/ts/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
  565. package/gen/ts/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
  566. package/gen/ts/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
  567. package/gen/ts/node_modules/typescript/lib/lib.d.ts +22 -0
  568. package/gen/ts/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
  569. package/gen/ts/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  570. package/gen/ts/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
  571. package/gen/ts/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
  572. package/gen/ts/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
  573. package/gen/ts/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  574. package/gen/ts/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  575. package/gen/ts/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  576. package/gen/ts/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  577. package/gen/ts/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
  578. package/gen/ts/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  579. package/gen/ts/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  580. package/gen/ts/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  581. package/gen/ts/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  582. package/gen/ts/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  583. package/gen/ts/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  584. package/gen/ts/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  585. package/gen/ts/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  586. package/gen/ts/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  587. package/gen/ts/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
  588. package/gen/ts/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
  589. package/gen/ts/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  590. package/gen/ts/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  591. package/gen/ts/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  592. package/gen/ts/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  593. package/gen/ts/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  594. package/gen/ts/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  595. package/gen/ts/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  596. package/gen/ts/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  597. package/gen/ts/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
  598. package/gen/ts/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  599. package/gen/ts/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  600. package/gen/ts/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  601. package/gen/ts/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  602. package/gen/ts/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  603. package/gen/ts/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  604. package/gen/ts/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  605. package/gen/ts/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  606. package/gen/ts/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  607. package/gen/ts/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  608. package/gen/ts/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  609. package/gen/ts/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  610. package/gen/ts/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
  611. package/gen/ts/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  612. package/gen/ts/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  613. package/gen/ts/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  614. package/gen/ts/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  615. package/gen/ts/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  616. package/gen/ts/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  617. package/gen/ts/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
  618. package/gen/ts/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
  619. package/gen/ts/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  620. package/gen/ts/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  621. package/gen/ts/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  622. package/gen/ts/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  623. package/gen/ts/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  624. package/gen/ts/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  625. package/gen/ts/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
  626. package/gen/ts/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  627. package/gen/ts/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
  628. package/gen/ts/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
  629. package/gen/ts/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  630. package/gen/ts/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
  631. package/gen/ts/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  632. package/gen/ts/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  633. package/gen/ts/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  634. package/gen/ts/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  635. package/gen/ts/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  636. package/gen/ts/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  637. package/gen/ts/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  638. package/gen/ts/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  639. package/gen/ts/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  640. package/gen/ts/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  641. package/gen/ts/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  642. package/gen/ts/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
  643. package/gen/ts/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
  644. package/gen/ts/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
  645. package/gen/ts/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
  646. package/gen/ts/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
  647. package/gen/ts/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
  648. package/gen/ts/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
  649. package/gen/ts/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  650. package/gen/ts/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  651. package/gen/ts/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
  652. package/gen/ts/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
  653. package/gen/ts/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  654. package/gen/ts/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
  655. package/gen/ts/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
  656. package/gen/ts/node_modules/typescript/lib/lib.esnext.float16.d.ts +445 -0
  657. package/gen/ts/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  658. package/gen/ts/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  659. package/gen/ts/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
  660. package/gen/ts/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  661. package/gen/ts/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
  662. package/gen/ts/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  663. package/gen/ts/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
  664. package/gen/ts/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
  665. package/gen/ts/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  666. package/gen/ts/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
  667. package/gen/ts/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
  668. package/gen/ts/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
  669. package/gen/ts/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
  670. package/gen/ts/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
  671. package/gen/ts/node_modules/typescript/lib/tsc.js +8 -0
  672. package/gen/ts/node_modules/typescript/lib/tsserver.js +8 -0
  673. package/gen/ts/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  674. package/gen/ts/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  675. package/gen/ts/node_modules/typescript/lib/typesMap.json +497 -0
  676. package/gen/ts/node_modules/typescript/lib/typescript.d.ts +11437 -0
  677. package/gen/ts/node_modules/typescript/lib/typescript.js +200276 -0
  678. package/gen/ts/node_modules/typescript/lib/typingsInstaller.js +8 -0
  679. package/gen/ts/node_modules/typescript/lib/watchGuard.js +53 -0
  680. package/gen/ts/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
  681. package/gen/ts/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
  682. package/gen/ts/node_modules/typescript/package.json +120 -0
  683. package/gen/ts/package-lock.json +51 -0
  684. package/gen/ts/workflow/v1/service_connect.ts +2 -2
  685. package/gen/ts/workflow/v1/service_pb.ts +15 -1
  686. package/package.json +12 -1
@@ -0,0 +1,626 @@
1
+ "use strict";
2
+ // Copyright 2021-2024 Buf Technologies, Inc.
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.makeJsonFormat = void 0;
17
+ const assert_js_1 = require("./assert.js");
18
+ const proto_int64_js_1 = require("../proto-int64.js");
19
+ const proto_base64_js_1 = require("../proto-base64.js");
20
+ const extensions_js_1 = require("./extensions.js");
21
+ const extension_accessor_js_1 = require("../extension-accessor.js");
22
+ const reflect_js_1 = require("./reflect.js");
23
+ const field_wrapper_js_1 = require("./field-wrapper.js");
24
+ const scalars_js_1 = require("./scalars.js");
25
+ const scalars_js_2 = require("./scalars.js");
26
+ const scalar_js_1 = require("../scalar.js");
27
+ const is_message_js_1 = require("../is-message.js");
28
+ /* eslint-disable no-case-declarations,@typescript-eslint/no-unsafe-argument,@typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-member-access,@typescript-eslint/no-unsafe-call */
29
+ // Default options for parsing JSON.
30
+ const jsonReadDefaults = {
31
+ ignoreUnknownFields: false,
32
+ };
33
+ // Default options for serializing to JSON.
34
+ const jsonWriteDefaults = {
35
+ emitDefaultValues: false,
36
+ enumAsInteger: false,
37
+ useProtoFieldName: false,
38
+ prettySpaces: 0,
39
+ };
40
+ function makeReadOptions(options) {
41
+ return options ? Object.assign(Object.assign({}, jsonReadDefaults), options) : jsonReadDefaults;
42
+ }
43
+ function makeWriteOptions(options) {
44
+ return options ? Object.assign(Object.assign({}, jsonWriteDefaults), options) : jsonWriteDefaults;
45
+ }
46
+ const tokenNull = Symbol();
47
+ const tokenIgnoredUnknownEnum = Symbol();
48
+ function makeJsonFormat() {
49
+ return {
50
+ makeReadOptions,
51
+ makeWriteOptions,
52
+ readMessage(type, json, options, message) {
53
+ if (json == null || Array.isArray(json) || typeof json != "object") {
54
+ throw new Error(`cannot decode message ${type.typeName} from JSON: ${debugJsonValue(json)}`);
55
+ }
56
+ message = message !== null && message !== void 0 ? message : new type();
57
+ const oneofSeen = new Map();
58
+ const registry = options.typeRegistry;
59
+ for (const [jsonKey, jsonValue] of Object.entries(json)) {
60
+ const field = type.fields.findJsonName(jsonKey);
61
+ if (field) {
62
+ if (field.oneof) {
63
+ if (jsonValue === null && field.kind == "scalar") {
64
+ // see conformance test Required.Proto3.JsonInput.OneofFieldNull{First,Second}
65
+ continue;
66
+ }
67
+ const seen = oneofSeen.get(field.oneof);
68
+ if (seen !== undefined) {
69
+ throw new Error(`cannot decode message ${type.typeName} from JSON: multiple keys for oneof "${field.oneof.name}" present: "${seen}", "${jsonKey}"`);
70
+ }
71
+ oneofSeen.set(field.oneof, jsonKey);
72
+ }
73
+ readField(message, jsonValue, field, options, type);
74
+ }
75
+ else {
76
+ let found = false;
77
+ if ((registry === null || registry === void 0 ? void 0 : registry.findExtension) &&
78
+ jsonKey.startsWith("[") &&
79
+ jsonKey.endsWith("]")) {
80
+ const ext = registry.findExtension(jsonKey.substring(1, jsonKey.length - 1));
81
+ if (ext && ext.extendee.typeName == type.typeName) {
82
+ found = true;
83
+ const [container, get] = (0, extensions_js_1.createExtensionContainer)(ext);
84
+ readField(container, jsonValue, ext.field, options, ext);
85
+ // We pass on the options as BinaryReadOptions/BinaryWriteOptions,
86
+ // so that users can bring their own binary reader and writer factories
87
+ // if necessary.
88
+ (0, extension_accessor_js_1.setExtension)(message, ext, get(), options);
89
+ }
90
+ }
91
+ if (!found && !options.ignoreUnknownFields) {
92
+ throw new Error(`cannot decode message ${type.typeName} from JSON: key "${jsonKey}" is unknown`);
93
+ }
94
+ }
95
+ }
96
+ return message;
97
+ },
98
+ writeMessage(message, options) {
99
+ const type = message.getType();
100
+ const json = {};
101
+ let field;
102
+ try {
103
+ for (field of type.fields.byNumber()) {
104
+ if (!(0, reflect_js_1.isFieldSet)(field, message)) {
105
+ // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
106
+ if (field.req) {
107
+ throw `required field not set`;
108
+ }
109
+ if (!options.emitDefaultValues) {
110
+ continue;
111
+ }
112
+ if (!canEmitFieldDefaultValue(field)) {
113
+ continue;
114
+ }
115
+ }
116
+ const value = field.oneof
117
+ ? message[field.oneof.localName].value
118
+ : message[field.localName];
119
+ const jsonValue = writeField(field, value, options);
120
+ if (jsonValue !== undefined) {
121
+ json[options.useProtoFieldName ? field.name : field.jsonName] =
122
+ jsonValue;
123
+ }
124
+ }
125
+ const registry = options.typeRegistry;
126
+ if (registry === null || registry === void 0 ? void 0 : registry.findExtensionFor) {
127
+ for (const uf of type.runtime.bin.listUnknownFields(message)) {
128
+ const ext = registry.findExtensionFor(type.typeName, uf.no);
129
+ if (ext && (0, extension_accessor_js_1.hasExtension)(message, ext)) {
130
+ // We pass on the options as BinaryReadOptions, so that users can bring their own
131
+ // binary reader factory if necessary.
132
+ const value = (0, extension_accessor_js_1.getExtension)(message, ext, options);
133
+ const jsonValue = writeField(ext.field, value, options);
134
+ if (jsonValue !== undefined) {
135
+ json[ext.field.jsonName] = jsonValue;
136
+ }
137
+ }
138
+ }
139
+ }
140
+ }
141
+ catch (e) {
142
+ const m = field
143
+ ? `cannot encode field ${type.typeName}.${field.name} to JSON`
144
+ : `cannot encode message ${type.typeName} to JSON`;
145
+ const r = e instanceof Error ? e.message : String(e);
146
+ throw new Error(m + (r.length > 0 ? `: ${r}` : ""));
147
+ }
148
+ return json;
149
+ },
150
+ readScalar(type, json, longType) {
151
+ // The signature of our internal function has changed. For backwards-
152
+ // compatibility, we support the old form that is part of the public API
153
+ // through the interface JsonFormat.
154
+ return readScalar(type, json, longType !== null && longType !== void 0 ? longType : scalar_js_1.LongType.BIGINT, true);
155
+ },
156
+ writeScalar(type, value, emitDefaultValues) {
157
+ // The signature of our internal function has changed. For backwards-
158
+ // compatibility, we support the old form that is part of the public API
159
+ // through the interface JsonFormat.
160
+ if (value === undefined) {
161
+ return undefined;
162
+ }
163
+ if (emitDefaultValues || (0, scalars_js_2.isScalarZeroValue)(type, value)) {
164
+ return writeScalar(type, value);
165
+ }
166
+ return undefined;
167
+ },
168
+ debug: debugJsonValue,
169
+ };
170
+ }
171
+ exports.makeJsonFormat = makeJsonFormat;
172
+ function debugJsonValue(json) {
173
+ if (json === null) {
174
+ return "null";
175
+ }
176
+ switch (typeof json) {
177
+ case "object":
178
+ return Array.isArray(json) ? "array" : "object";
179
+ case "string":
180
+ return json.length > 100 ? "string" : `"${json.split('"').join('\\"')}"`;
181
+ default:
182
+ return String(json);
183
+ }
184
+ }
185
+ // Read a JSON value for a field.
186
+ // The "parentType" argument is only used to provide context in errors.
187
+ function readField(target, jsonValue, field, options, parentType) {
188
+ let localName = field.localName;
189
+ if (field.repeated) {
190
+ (0, assert_js_1.assert)(field.kind != "map");
191
+ if (jsonValue === null) {
192
+ return;
193
+ }
194
+ if (!Array.isArray(jsonValue)) {
195
+ throw new Error(`cannot decode field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonValue)}`);
196
+ }
197
+ const targetArray = target[localName];
198
+ for (const jsonItem of jsonValue) {
199
+ if (jsonItem === null) {
200
+ throw new Error(`cannot decode field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonItem)}`);
201
+ }
202
+ switch (field.kind) {
203
+ case "message":
204
+ targetArray.push(field.T.fromJson(jsonItem, options));
205
+ break;
206
+ case "enum":
207
+ const enumValue = readEnum(field.T, jsonItem, options.ignoreUnknownFields, true);
208
+ if (enumValue !== tokenIgnoredUnknownEnum) {
209
+ targetArray.push(enumValue);
210
+ }
211
+ break;
212
+ case "scalar":
213
+ try {
214
+ targetArray.push(readScalar(field.T, jsonItem, field.L, true));
215
+ }
216
+ catch (e) {
217
+ let m = `cannot decode field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonItem)}`;
218
+ if (e instanceof Error && e.message.length > 0) {
219
+ m += `: ${e.message}`;
220
+ }
221
+ throw new Error(m);
222
+ }
223
+ break;
224
+ }
225
+ }
226
+ }
227
+ else if (field.kind == "map") {
228
+ if (jsonValue === null) {
229
+ return;
230
+ }
231
+ if (typeof jsonValue != "object" || Array.isArray(jsonValue)) {
232
+ throw new Error(`cannot decode field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonValue)}`);
233
+ }
234
+ const targetMap = target[localName];
235
+ for (const [jsonMapKey, jsonMapValue] of Object.entries(jsonValue)) {
236
+ if (jsonMapValue === null) {
237
+ throw new Error(`cannot decode field ${parentType.typeName}.${field.name} from JSON: map value null`);
238
+ }
239
+ let key;
240
+ try {
241
+ key = readMapKey(field.K, jsonMapKey);
242
+ }
243
+ catch (e) {
244
+ let m = `cannot decode map key for field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonValue)}`;
245
+ if (e instanceof Error && e.message.length > 0) {
246
+ m += `: ${e.message}`;
247
+ }
248
+ throw new Error(m);
249
+ }
250
+ switch (field.V.kind) {
251
+ case "message":
252
+ targetMap[key] = field.V.T.fromJson(jsonMapValue, options);
253
+ break;
254
+ case "enum":
255
+ const enumValue = readEnum(field.V.T, jsonMapValue, options.ignoreUnknownFields, true);
256
+ if (enumValue !== tokenIgnoredUnknownEnum) {
257
+ targetMap[key] = enumValue;
258
+ }
259
+ break;
260
+ case "scalar":
261
+ try {
262
+ targetMap[key] = readScalar(field.V.T, jsonMapValue, scalar_js_1.LongType.BIGINT, true);
263
+ }
264
+ catch (e) {
265
+ let m = `cannot decode map value for field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonValue)}`;
266
+ if (e instanceof Error && e.message.length > 0) {
267
+ m += `: ${e.message}`;
268
+ }
269
+ throw new Error(m);
270
+ }
271
+ break;
272
+ }
273
+ }
274
+ }
275
+ else {
276
+ if (field.oneof) {
277
+ target = target[field.oneof.localName] = { case: localName };
278
+ localName = "value";
279
+ }
280
+ switch (field.kind) {
281
+ case "message":
282
+ const messageType = field.T;
283
+ if (jsonValue === null &&
284
+ messageType.typeName != "google.protobuf.Value") {
285
+ return;
286
+ }
287
+ let currentValue = target[localName];
288
+ if ((0, is_message_js_1.isMessage)(currentValue)) {
289
+ currentValue.fromJson(jsonValue, options);
290
+ }
291
+ else {
292
+ target[localName] = currentValue = messageType.fromJson(jsonValue, options);
293
+ if (messageType.fieldWrapper && !field.oneof) {
294
+ target[localName] =
295
+ messageType.fieldWrapper.unwrapField(currentValue);
296
+ }
297
+ }
298
+ break;
299
+ case "enum":
300
+ const enumValue = readEnum(field.T, jsonValue, options.ignoreUnknownFields, false);
301
+ switch (enumValue) {
302
+ case tokenNull:
303
+ (0, reflect_js_1.clearField)(field, target);
304
+ break;
305
+ case tokenIgnoredUnknownEnum:
306
+ break;
307
+ default:
308
+ target[localName] = enumValue;
309
+ break;
310
+ }
311
+ break;
312
+ case "scalar":
313
+ try {
314
+ const scalarValue = readScalar(field.T, jsonValue, field.L, false);
315
+ switch (scalarValue) {
316
+ case tokenNull:
317
+ (0, reflect_js_1.clearField)(field, target);
318
+ break;
319
+ default:
320
+ target[localName] = scalarValue;
321
+ break;
322
+ }
323
+ }
324
+ catch (e) {
325
+ let m = `cannot decode field ${parentType.typeName}.${field.name} from JSON: ${debugJsonValue(jsonValue)}`;
326
+ if (e instanceof Error && e.message.length > 0) {
327
+ m += `: ${e.message}`;
328
+ }
329
+ throw new Error(m);
330
+ }
331
+ break;
332
+ }
333
+ }
334
+ }
335
+ function readMapKey(type, json) {
336
+ if (type === scalar_js_1.ScalarType.BOOL) {
337
+ // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check
338
+ switch (json) {
339
+ case "true":
340
+ json = true;
341
+ break;
342
+ case "false":
343
+ json = false;
344
+ break;
345
+ }
346
+ }
347
+ return readScalar(type, json, scalar_js_1.LongType.BIGINT, true).toString();
348
+ }
349
+ function readScalar(type, json, longType, nullAsZeroValue) {
350
+ if (json === null) {
351
+ if (nullAsZeroValue) {
352
+ return (0, scalars_js_1.scalarZeroValue)(type, longType);
353
+ }
354
+ return tokenNull;
355
+ }
356
+ // every valid case in the switch below returns, and every fall
357
+ // through is regarded as a failure.
358
+ switch (type) {
359
+ // float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity".
360
+ // Either numbers or strings are accepted. Exponent notation is also accepted.
361
+ case scalar_js_1.ScalarType.DOUBLE:
362
+ case scalar_js_1.ScalarType.FLOAT:
363
+ if (json === "NaN")
364
+ return Number.NaN;
365
+ if (json === "Infinity")
366
+ return Number.POSITIVE_INFINITY;
367
+ if (json === "-Infinity")
368
+ return Number.NEGATIVE_INFINITY;
369
+ if (json === "") {
370
+ // empty string is not a number
371
+ break;
372
+ }
373
+ if (typeof json == "string" && json.trim().length !== json.length) {
374
+ // extra whitespace
375
+ break;
376
+ }
377
+ if (typeof json != "string" && typeof json != "number") {
378
+ break;
379
+ }
380
+ const float = Number(json);
381
+ if (Number.isNaN(float)) {
382
+ // not a number
383
+ break;
384
+ }
385
+ if (!Number.isFinite(float)) {
386
+ // infinity and -infinity are handled by string representation above, so this is an error
387
+ break;
388
+ }
389
+ if (type == scalar_js_1.ScalarType.FLOAT)
390
+ (0, assert_js_1.assertFloat32)(float);
391
+ return float;
392
+ // int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted.
393
+ case scalar_js_1.ScalarType.INT32:
394
+ case scalar_js_1.ScalarType.FIXED32:
395
+ case scalar_js_1.ScalarType.SFIXED32:
396
+ case scalar_js_1.ScalarType.SINT32:
397
+ case scalar_js_1.ScalarType.UINT32:
398
+ let int32;
399
+ if (typeof json == "number")
400
+ int32 = json;
401
+ else if (typeof json == "string" && json.length > 0) {
402
+ if (json.trim().length === json.length)
403
+ int32 = Number(json);
404
+ }
405
+ if (int32 === undefined)
406
+ break;
407
+ if (type == scalar_js_1.ScalarType.UINT32 || type == scalar_js_1.ScalarType.FIXED32)
408
+ (0, assert_js_1.assertUInt32)(int32);
409
+ else
410
+ (0, assert_js_1.assertInt32)(int32);
411
+ return int32;
412
+ // int64, fixed64, uint64: JSON value will be a decimal string. Either numbers or strings are accepted.
413
+ case scalar_js_1.ScalarType.INT64:
414
+ case scalar_js_1.ScalarType.SFIXED64:
415
+ case scalar_js_1.ScalarType.SINT64:
416
+ if (typeof json != "number" && typeof json != "string")
417
+ break;
418
+ const long = proto_int64_js_1.protoInt64.parse(json);
419
+ // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
420
+ return longType ? long.toString() : long;
421
+ case scalar_js_1.ScalarType.FIXED64:
422
+ case scalar_js_1.ScalarType.UINT64:
423
+ if (typeof json != "number" && typeof json != "string")
424
+ break;
425
+ const uLong = proto_int64_js_1.protoInt64.uParse(json);
426
+ // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
427
+ return longType ? uLong.toString() : uLong;
428
+ // bool:
429
+ case scalar_js_1.ScalarType.BOOL:
430
+ if (typeof json !== "boolean")
431
+ break;
432
+ return json;
433
+ // string:
434
+ case scalar_js_1.ScalarType.STRING:
435
+ if (typeof json !== "string") {
436
+ break;
437
+ }
438
+ // A string must always contain UTF-8 encoded or 7-bit ASCII.
439
+ // We validate with encodeURIComponent, which appears to be the fastest widely available option.
440
+ try {
441
+ encodeURIComponent(json);
442
+ }
443
+ catch (e) {
444
+ throw new Error("invalid UTF8");
445
+ }
446
+ return json;
447
+ // bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings.
448
+ // Either standard or URL-safe base64 encoding with/without paddings are accepted.
449
+ case scalar_js_1.ScalarType.BYTES:
450
+ if (json === "")
451
+ return new Uint8Array(0);
452
+ if (typeof json !== "string")
453
+ break;
454
+ return proto_base64_js_1.protoBase64.dec(json);
455
+ }
456
+ throw new Error();
457
+ }
458
+ function readEnum(type, json, ignoreUnknownFields, nullAsZeroValue) {
459
+ if (json === null) {
460
+ if (type.typeName == "google.protobuf.NullValue") {
461
+ return 0; // google.protobuf.NullValue.NULL_VALUE = 0
462
+ }
463
+ return nullAsZeroValue ? type.values[0].no : tokenNull;
464
+ }
465
+ // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check
466
+ switch (typeof json) {
467
+ case "number":
468
+ if (Number.isInteger(json)) {
469
+ return json;
470
+ }
471
+ break;
472
+ case "string":
473
+ const value = type.findName(json);
474
+ if (value !== undefined) {
475
+ return value.no;
476
+ }
477
+ if (ignoreUnknownFields) {
478
+ return tokenIgnoredUnknownEnum;
479
+ }
480
+ break;
481
+ }
482
+ throw new Error(`cannot decode enum ${type.typeName} from JSON: ${debugJsonValue(json)}`);
483
+ }
484
+ // Decide whether an unset field should be emitted with JSON write option `emitDefaultValues`
485
+ function canEmitFieldDefaultValue(field) {
486
+ if (field.repeated || field.kind == "map") {
487
+ // maps are {}, repeated fields are []
488
+ return true;
489
+ }
490
+ if (field.oneof) {
491
+ // oneof fields are never emitted
492
+ return false;
493
+ }
494
+ if (field.kind == "message") {
495
+ // singular message field are allowed to emit JSON null, but we do not
496
+ return false;
497
+ }
498
+ // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
499
+ if (field.opt || field.req) {
500
+ // the field uses explicit presence, so we cannot emit a zero value
501
+ return false;
502
+ }
503
+ return true;
504
+ }
505
+ function writeField(field, value, options) {
506
+ if (field.kind == "map") {
507
+ (0, assert_js_1.assert)(typeof value == "object" && value != null);
508
+ const jsonObj = {};
509
+ const entries = Object.entries(value);
510
+ switch (field.V.kind) {
511
+ case "scalar":
512
+ for (const [entryKey, entryValue] of entries) {
513
+ jsonObj[entryKey.toString()] = writeScalar(field.V.T, entryValue); // JSON standard allows only (double quoted) string as property key
514
+ }
515
+ break;
516
+ case "message":
517
+ for (const [entryKey, entryValue] of entries) {
518
+ // JSON standard allows only (double quoted) string as property key
519
+ jsonObj[entryKey.toString()] = entryValue.toJson(options);
520
+ }
521
+ break;
522
+ case "enum":
523
+ const enumType = field.V.T;
524
+ for (const [entryKey, entryValue] of entries) {
525
+ // JSON standard allows only (double quoted) string as property key
526
+ jsonObj[entryKey.toString()] = writeEnum(enumType, entryValue, options.enumAsInteger);
527
+ }
528
+ break;
529
+ }
530
+ return options.emitDefaultValues || entries.length > 0
531
+ ? jsonObj
532
+ : undefined;
533
+ }
534
+ if (field.repeated) {
535
+ (0, assert_js_1.assert)(Array.isArray(value));
536
+ const jsonArr = [];
537
+ switch (field.kind) {
538
+ case "scalar":
539
+ for (let i = 0; i < value.length; i++) {
540
+ jsonArr.push(writeScalar(field.T, value[i]));
541
+ }
542
+ break;
543
+ case "enum":
544
+ for (let i = 0; i < value.length; i++) {
545
+ jsonArr.push(writeEnum(field.T, value[i], options.enumAsInteger));
546
+ }
547
+ break;
548
+ case "message":
549
+ for (let i = 0; i < value.length; i++) {
550
+ jsonArr.push(value[i].toJson(options));
551
+ }
552
+ break;
553
+ }
554
+ return options.emitDefaultValues || jsonArr.length > 0
555
+ ? jsonArr
556
+ : undefined;
557
+ }
558
+ switch (field.kind) {
559
+ case "scalar":
560
+ return writeScalar(field.T, value);
561
+ case "enum":
562
+ return writeEnum(field.T, value, options.enumAsInteger);
563
+ case "message":
564
+ return (0, field_wrapper_js_1.wrapField)(field.T, value).toJson(options);
565
+ }
566
+ }
567
+ function writeEnum(type, value, enumAsInteger) {
568
+ var _a;
569
+ (0, assert_js_1.assert)(typeof value == "number");
570
+ if (type.typeName == "google.protobuf.NullValue") {
571
+ return null;
572
+ }
573
+ if (enumAsInteger) {
574
+ return value;
575
+ }
576
+ const val = type.findNumber(value);
577
+ return (_a = val === null || val === void 0 ? void 0 : val.name) !== null && _a !== void 0 ? _a : value; // if we don't know the enum value, just return the number
578
+ }
579
+ function writeScalar(type, value) {
580
+ switch (type) {
581
+ // int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted.
582
+ case scalar_js_1.ScalarType.INT32:
583
+ case scalar_js_1.ScalarType.SFIXED32:
584
+ case scalar_js_1.ScalarType.SINT32:
585
+ case scalar_js_1.ScalarType.FIXED32:
586
+ case scalar_js_1.ScalarType.UINT32:
587
+ (0, assert_js_1.assert)(typeof value == "number");
588
+ return value;
589
+ // float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity".
590
+ // Either numbers or strings are accepted. Exponent notation is also accepted.
591
+ case scalar_js_1.ScalarType.FLOAT:
592
+ // assertFloat32(value);
593
+ case scalar_js_1.ScalarType.DOUBLE: // eslint-disable-line no-fallthrough
594
+ (0, assert_js_1.assert)(typeof value == "number");
595
+ if (Number.isNaN(value))
596
+ return "NaN";
597
+ if (value === Number.POSITIVE_INFINITY)
598
+ return "Infinity";
599
+ if (value === Number.NEGATIVE_INFINITY)
600
+ return "-Infinity";
601
+ return value;
602
+ // string:
603
+ case scalar_js_1.ScalarType.STRING:
604
+ (0, assert_js_1.assert)(typeof value == "string");
605
+ return value;
606
+ // bool:
607
+ case scalar_js_1.ScalarType.BOOL:
608
+ (0, assert_js_1.assert)(typeof value == "boolean");
609
+ return value;
610
+ // JSON value will be a decimal string. Either numbers or strings are accepted.
611
+ case scalar_js_1.ScalarType.UINT64:
612
+ case scalar_js_1.ScalarType.FIXED64:
613
+ case scalar_js_1.ScalarType.INT64:
614
+ case scalar_js_1.ScalarType.SFIXED64:
615
+ case scalar_js_1.ScalarType.SINT64:
616
+ (0, assert_js_1.assert)(typeof value == "bigint" ||
617
+ typeof value == "string" ||
618
+ typeof value == "number");
619
+ return value.toString();
620
+ // bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings.
621
+ // Either standard or URL-safe base64 encoding with/without paddings are accepted.
622
+ case scalar_js_1.ScalarType.BYTES:
623
+ (0, assert_js_1.assert)(value instanceof Uint8Array);
624
+ return proto_base64_js_1.protoBase64.enc(value);
625
+ }
626
+ }
@@ -0,0 +1,18 @@
1
+ import { Message } from "../message.js";
2
+ import type { AnyMessage } from "../message.js";
3
+ import type { FieldListSource } from "./field-list.js";
4
+ import type { MessageType } from "../message-type.js";
5
+ import type { ProtoRuntime } from "./proto-runtime.js";
6
+ /**
7
+ * Create a new message type using the given runtime.
8
+ */
9
+ export declare function makeMessageType<T extends Message<T> = AnyMessage>(runtime: ProtoRuntime, typeName: string, fields: FieldListSource, opt?: {
10
+ /**
11
+ * localName is the "name" property of the constructed function.
12
+ * It is useful in stack traces, debuggers and test frameworks,
13
+ * but has no other implications.
14
+ *
15
+ * If omitted, the last part of the typeName is used.
16
+ */
17
+ localName?: string;
18
+ }): MessageType<T>;