@proompteng/temporal-bun-sdk 0.1.0

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 (448) hide show
  1. package/README.md +387 -0
  2. package/dist/bin/start-worker.js +3 -0
  3. package/dist/bin/temporal-bun.js +3 -0
  4. package/dist/src/activities/index.d.ts +6 -0
  5. package/dist/src/activities/index.d.ts.map +1 -0
  6. package/dist/src/activities/index.js +5 -0
  7. package/dist/src/activities/index.js.map +1 -0
  8. package/dist/src/activities/lifecycle.d.ts +48 -0
  9. package/dist/src/activities/lifecycle.d.ts.map +1 -0
  10. package/dist/src/activities/lifecycle.js +306 -0
  11. package/dist/src/activities/lifecycle.js.map +1 -0
  12. package/dist/src/bin/replay-command.d.ts +104 -0
  13. package/dist/src/bin/replay-command.d.ts.map +1 -0
  14. package/dist/src/bin/replay-command.js +582 -0
  15. package/dist/src/bin/replay-command.js.map +1 -0
  16. package/dist/src/bin/start-worker.d.ts +3 -0
  17. package/dist/src/bin/start-worker.d.ts.map +1 -0
  18. package/dist/src/bin/start-worker.js +29 -0
  19. package/dist/src/bin/start-worker.js.map +1 -0
  20. package/dist/src/bin/temporal-bun.d.ts +25 -0
  21. package/dist/src/bin/temporal-bun.d.ts.map +1 -0
  22. package/dist/src/bin/temporal-bun.js +427 -0
  23. package/dist/src/bin/temporal-bun.js.map +1 -0
  24. package/dist/src/build_id_preflight.d.ts +7 -0
  25. package/dist/src/build_id_preflight.d.ts.map +1 -0
  26. package/dist/src/build_id_preflight.js +123 -0
  27. package/dist/src/build_id_preflight.js.map +1 -0
  28. package/dist/src/client/headers.d.ts +4 -0
  29. package/dist/src/client/headers.d.ts.map +1 -0
  30. package/dist/src/client/headers.js +79 -0
  31. package/dist/src/client/headers.js.map +1 -0
  32. package/dist/src/client/index.d.ts +2 -0
  33. package/dist/src/client/index.d.ts.map +1 -0
  34. package/dist/src/client/index.js +2 -0
  35. package/dist/src/client/index.js.map +1 -0
  36. package/dist/src/client/interceptors.d.ts +17 -0
  37. package/dist/src/client/interceptors.d.ts.map +1 -0
  38. package/dist/src/client/interceptors.js +71 -0
  39. package/dist/src/client/interceptors.js.map +1 -0
  40. package/dist/src/client/layer.d.ts +10 -0
  41. package/dist/src/client/layer.d.ts.map +1 -0
  42. package/dist/src/client/layer.js +7 -0
  43. package/dist/src/client/layer.js.map +1 -0
  44. package/dist/src/client/retries.d.ts +13 -0
  45. package/dist/src/client/retries.d.ts.map +1 -0
  46. package/dist/src/client/retries.js +51 -0
  47. package/dist/src/client/retries.js.map +1 -0
  48. package/dist/src/client/serialization.d.ts +48 -0
  49. package/dist/src/client/serialization.d.ts.map +1 -0
  50. package/dist/src/client/serialization.js +310 -0
  51. package/dist/src/client/serialization.js.map +1 -0
  52. package/dist/src/client/serialization.test.d.ts +2 -0
  53. package/dist/src/client/serialization.test.d.ts.map +1 -0
  54. package/dist/src/client/serialization.test.js +251 -0
  55. package/dist/src/client/serialization.test.js.map +1 -0
  56. package/dist/src/client/transport.d.ts +12 -0
  57. package/dist/src/client/transport.d.ts.map +1 -0
  58. package/dist/src/client/transport.js +36 -0
  59. package/dist/src/client/transport.js.map +1 -0
  60. package/dist/src/client/types.d.ts +51 -0
  61. package/dist/src/client/types.d.ts.map +1 -0
  62. package/dist/src/client/types.js +7 -0
  63. package/dist/src/client/types.js.map +1 -0
  64. package/dist/src/client.d.ts +92 -0
  65. package/dist/src/client.d.ts.map +1 -0
  66. package/dist/src/client.js +666 -0
  67. package/dist/src/client.js.map +1 -0
  68. package/dist/src/common/duration.d.ts +4 -0
  69. package/dist/src/common/duration.d.ts.map +1 -0
  70. package/dist/src/common/duration.js +14 -0
  71. package/dist/src/common/duration.js.map +1 -0
  72. package/dist/src/common/index.d.ts +2 -0
  73. package/dist/src/common/index.d.ts.map +1 -0
  74. package/dist/src/common/index.js +2 -0
  75. package/dist/src/common/index.js.map +1 -0
  76. package/dist/src/common/payloads/converter.d.ts +16 -0
  77. package/dist/src/common/payloads/converter.d.ts.map +1 -0
  78. package/dist/src/common/payloads/converter.js +33 -0
  79. package/dist/src/common/payloads/converter.js.map +1 -0
  80. package/dist/src/common/payloads/failure.d.ts +7 -0
  81. package/dist/src/common/payloads/failure.d.ts.map +1 -0
  82. package/dist/src/common/payloads/failure.js +53 -0
  83. package/dist/src/common/payloads/failure.js.map +1 -0
  84. package/dist/src/common/payloads/index.d.ts +4 -0
  85. package/dist/src/common/payloads/index.d.ts.map +1 -0
  86. package/dist/src/common/payloads/index.js +4 -0
  87. package/dist/src/common/payloads/index.js.map +1 -0
  88. package/dist/src/common/payloads/json-codec.d.ts +16 -0
  89. package/dist/src/common/payloads/json-codec.d.ts.map +1 -0
  90. package/dist/src/common/payloads/json-codec.js +185 -0
  91. package/dist/src/common/payloads/json-codec.js.map +1 -0
  92. package/dist/src/common/sleep.d.ts +2 -0
  93. package/dist/src/common/sleep.d.ts.map +1 -0
  94. package/dist/src/common/sleep.js +3 -0
  95. package/dist/src/common/sleep.js.map +1 -0
  96. package/dist/src/config.d.ts +115 -0
  97. package/dist/src/config.d.ts.map +1 -0
  98. package/dist/src/config.js +505 -0
  99. package/dist/src/config.js.map +1 -0
  100. package/dist/src/core-bridge/client.d.ts +36 -0
  101. package/dist/src/core-bridge/client.d.ts.map +1 -0
  102. package/dist/src/core-bridge/client.js +111 -0
  103. package/dist/src/core-bridge/client.js.map +1 -0
  104. package/dist/src/core-bridge/index.d.ts +4 -0
  105. package/dist/src/core-bridge/index.d.ts.map +1 -0
  106. package/dist/src/core-bridge/index.js +4 -0
  107. package/dist/src/core-bridge/index.js.map +1 -0
  108. package/dist/src/core-bridge/runtime.d.ts +20 -0
  109. package/dist/src/core-bridge/runtime.d.ts.map +1 -0
  110. package/dist/src/core-bridge/runtime.js +62 -0
  111. package/dist/src/core-bridge/runtime.js.map +1 -0
  112. package/dist/src/core-bridge/runtime.test.d.ts +2 -0
  113. package/dist/src/core-bridge/runtime.test.d.ts.map +1 -0
  114. package/dist/src/core-bridge/runtime.test.js +68 -0
  115. package/dist/src/core-bridge/runtime.test.js.map +1 -0
  116. package/dist/src/index.d.ts +11 -0
  117. package/dist/src/index.d.ts.map +1 -0
  118. package/dist/src/index.js +7 -0
  119. package/dist/src/index.js.map +1 -0
  120. package/dist/src/internal/core-bridge/native.d.ts +176 -0
  121. package/dist/src/internal/core-bridge/native.d.ts.map +1 -0
  122. package/dist/src/internal/core-bridge/native.js +1208 -0
  123. package/dist/src/internal/core-bridge/native.js.map +1 -0
  124. package/dist/src/observability/index.d.ts +21 -0
  125. package/dist/src/observability/index.d.ts.map +1 -0
  126. package/dist/src/observability/index.js +19 -0
  127. package/dist/src/observability/index.js.map +1 -0
  128. package/dist/src/observability/logger.d.ts +28 -0
  129. package/dist/src/observability/logger.d.ts.map +1 -0
  130. package/dist/src/observability/logger.js +53 -0
  131. package/dist/src/observability/logger.js.map +1 -0
  132. package/dist/src/observability/metrics.d.ts +28 -0
  133. package/dist/src/observability/metrics.d.ts.map +1 -0
  134. package/dist/src/observability/metrics.js +355 -0
  135. package/dist/src/observability/metrics.js.map +1 -0
  136. package/dist/src/proto/google/api/annotations_pb.d.ts +14 -0
  137. package/dist/src/proto/google/api/annotations_pb.d.ts.map +1 -0
  138. package/dist/src/proto/google/api/annotations_pb.js +27 -0
  139. package/dist/src/proto/google/api/annotations_pb.js.map +1 -0
  140. package/dist/src/proto/google/api/http_pb.d.ts +441 -0
  141. package/dist/src/proto/google/api/http_pb.d.ts.map +1 -0
  142. package/dist/src/proto/google/api/http_pb.js +34 -0
  143. package/dist/src/proto/google/api/http_pb.js.map +1 -0
  144. package/dist/src/proto/temporal/api/activity/v1/message_pb.d.ts +67 -0
  145. package/dist/src/proto/temporal/api/activity/v1/message_pb.d.ts.map +1 -0
  146. package/dist/src/proto/temporal/api/activity/v1/message_pb.js +17 -0
  147. package/dist/src/proto/temporal/api/activity/v1/message_pb.js.map +1 -0
  148. package/dist/src/proto/temporal/api/batch/v1/message_pb.d.ts +464 -0
  149. package/dist/src/proto/temporal/api/batch/v1/message_pb.d.ts.map +1 -0
  150. package/dist/src/proto/temporal/api/batch/v1/message_pb.js +71 -0
  151. package/dist/src/proto/temporal/api/batch/v1/message_pb.js.map +1 -0
  152. package/dist/src/proto/temporal/api/command/v1/message_pb.d.ts +796 -0
  153. package/dist/src/proto/temporal/api/command/v1/message_pb.d.ts.map +1 -0
  154. package/dist/src/proto/temporal/api/command/v1/message_pb.js +106 -0
  155. package/dist/src/proto/temporal/api/command/v1/message_pb.js.map +1 -0
  156. package/dist/src/proto/temporal/api/common/v1/message_pb.d.ts +751 -0
  157. package/dist/src/proto/temporal/api/common/v1/message_pb.d.ts.map +1 -0
  158. package/dist/src/proto/temporal/api/common/v1/message_pb.js +133 -0
  159. package/dist/src/proto/temporal/api/common/v1/message_pb.js.map +1 -0
  160. package/dist/src/proto/temporal/api/deployment/v1/message_pb.d.ts +639 -0
  161. package/dist/src/proto/temporal/api/deployment/v1/message_pb.d.ts.map +1 -0
  162. package/dist/src/proto/temporal/api/deployment/v1/message_pb.js +83 -0
  163. package/dist/src/proto/temporal/api/deployment/v1/message_pb.js.map +1 -0
  164. package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.d.ts +80 -0
  165. package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.d.ts.map +1 -0
  166. package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.js +85 -0
  167. package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.js.map +1 -0
  168. package/dist/src/proto/temporal/api/enums/v1/command_type_pb.d.ts +89 -0
  169. package/dist/src/proto/temporal/api/enums/v1/command_type_pb.d.ts.map +1 -0
  170. package/dist/src/proto/temporal/api/enums/v1/command_type_pb.js +93 -0
  171. package/dist/src/proto/temporal/api/enums/v1/command_type_pb.js.map +1 -0
  172. package/dist/src/proto/temporal/api/enums/v1/common_pb.d.ts +314 -0
  173. package/dist/src/proto/temporal/api/enums/v1/common_pb.d.ts.map +1 -0
  174. package/dist/src/proto/temporal/api/enums/v1/common_pb.js +326 -0
  175. package/dist/src/proto/temporal/api/enums/v1/common_pb.js.map +1 -0
  176. package/dist/src/proto/temporal/api/enums/v1/deployment_pb.d.ts +186 -0
  177. package/dist/src/proto/temporal/api/enums/v1/deployment_pb.d.ts.map +1 -0
  178. package/dist/src/proto/temporal/api/enums/v1/deployment_pb.js +193 -0
  179. package/dist/src/proto/temporal/api/enums/v1/deployment_pb.js.map +1 -0
  180. package/dist/src/proto/temporal/api/enums/v1/event_type_pb.d.ts +407 -0
  181. package/dist/src/proto/temporal/api/enums/v1/event_type_pb.d.ts.map +1 -0
  182. package/dist/src/proto/temporal/api/enums/v1/event_type_pb.js +411 -0
  183. package/dist/src/proto/temporal/api/enums/v1/event_type_pb.js.map +1 -0
  184. package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.d.ts +371 -0
  185. package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.d.ts.map +1 -0
  186. package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.js +380 -0
  187. package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.js.map +1 -0
  188. package/dist/src/proto/temporal/api/enums/v1/namespace_pb.d.ts +73 -0
  189. package/dist/src/proto/temporal/api/enums/v1/namespace_pb.d.ts.map +1 -0
  190. package/dist/src/proto/temporal/api/enums/v1/namespace_pb.js +79 -0
  191. package/dist/src/proto/temporal/api/enums/v1/namespace_pb.js.map +1 -0
  192. package/dist/src/proto/temporal/api/enums/v1/nexus_pb.d.ts +35 -0
  193. package/dist/src/proto/temporal/api/enums/v1/nexus_pb.d.ts.map +1 -0
  194. package/dist/src/proto/temporal/api/enums/v1/nexus_pb.js +39 -0
  195. package/dist/src/proto/temporal/api/enums/v1/nexus_pb.js.map +1 -0
  196. package/dist/src/proto/temporal/api/enums/v1/query_pb.d.ts +58 -0
  197. package/dist/src/proto/temporal/api/enums/v1/query_pb.d.ts.map +1 -0
  198. package/dist/src/proto/temporal/api/enums/v1/query_pb.js +63 -0
  199. package/dist/src/proto/temporal/api/enums/v1/query_pb.js.map +1 -0
  200. package/dist/src/proto/temporal/api/enums/v1/reset_pb.d.ts +108 -0
  201. package/dist/src/proto/temporal/api/enums/v1/reset_pb.d.ts.map +1 -0
  202. package/dist/src/proto/temporal/api/enums/v1/reset_pb.js +114 -0
  203. package/dist/src/proto/temporal/api/enums/v1/reset_pb.js.map +1 -0
  204. package/dist/src/proto/temporal/api/enums/v1/schedule_pb.d.ts +67 -0
  205. package/dist/src/proto/temporal/api/enums/v1/schedule_pb.d.ts.map +1 -0
  206. package/dist/src/proto/temporal/api/enums/v1/schedule_pb.js +71 -0
  207. package/dist/src/proto/temporal/api/enums/v1/schedule_pb.js.map +1 -0
  208. package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.d.ts +249 -0
  209. package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.d.ts.map +1 -0
  210. package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.js +259 -0
  211. package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.js.map +1 -0
  212. package/dist/src/proto/temporal/api/enums/v1/update_pb.d.ts +78 -0
  213. package/dist/src/proto/temporal/api/enums/v1/update_pb.d.ts.map +1 -0
  214. package/dist/src/proto/temporal/api/enums/v1/update_pb.js +83 -0
  215. package/dist/src/proto/temporal/api/enums/v1/update_pb.js.map +1 -0
  216. package/dist/src/proto/temporal/api/enums/v1/workflow_pb.d.ts +408 -0
  217. package/dist/src/proto/temporal/api/enums/v1/workflow_pb.d.ts.map +1 -0
  218. package/dist/src/proto/temporal/api/enums/v1/workflow_pb.js +422 -0
  219. package/dist/src/proto/temporal/api/enums/v1/workflow_pb.js.map +1 -0
  220. package/dist/src/proto/temporal/api/errordetails/v1/message_pb.d.ts +331 -0
  221. package/dist/src/proto/temporal/api/errordetails/v1/message_pb.d.ts.map +1 -0
  222. package/dist/src/proto/temporal/api/errordetails/v1/message_pb.js +104 -0
  223. package/dist/src/proto/temporal/api/errordetails/v1/message_pb.js.map +1 -0
  224. package/dist/src/proto/temporal/api/export/v1/message_pb.d.ts +39 -0
  225. package/dist/src/proto/temporal/api/export/v1/message_pb.d.ts.map +1 -0
  226. package/dist/src/proto/temporal/api/export/v1/message_pb.js +20 -0
  227. package/dist/src/proto/temporal/api/export/v1/message_pb.js.map +1 -0
  228. package/dist/src/proto/temporal/api/failure/v1/message_pb.d.ts +381 -0
  229. package/dist/src/proto/temporal/api/failure/v1/message_pb.d.ts.map +1 -0
  230. package/dist/src/proto/temporal/api/failure/v1/message_pb.js +74 -0
  231. package/dist/src/proto/temporal/api/failure/v1/message_pb.js.map +1 -0
  232. package/dist/src/proto/temporal/api/filter/v1/message_pb.d.ts +73 -0
  233. package/dist/src/proto/temporal/api/filter/v1/message_pb.d.ts.map +1 -0
  234. package/dist/src/proto/temporal/api/filter/v1/message_pb.js +31 -0
  235. package/dist/src/proto/temporal/api/filter/v1/message_pb.js.map +1 -0
  236. package/dist/src/proto/temporal/api/history/v1/message_pb.d.ts +3136 -0
  237. package/dist/src/proto/temporal/api/history/v1/message_pb.d.ts.map +1 -0
  238. package/dist/src/proto/temporal/api/history/v1/message_pb.js +317 -0
  239. package/dist/src/proto/temporal/api/history/v1/message_pb.js.map +1 -0
  240. package/dist/src/proto/temporal/api/namespace/v1/message_pb.d.ts +242 -0
  241. package/dist/src/proto/temporal/api/namespace/v1/message_pb.d.ts.map +1 -0
  242. package/dist/src/proto/temporal/api/namespace/v1/message_pb.js +46 -0
  243. package/dist/src/proto/temporal/api/namespace/v1/message_pb.js.map +1 -0
  244. package/dist/src/proto/temporal/api/nexus/v1/message_pb.d.ts +549 -0
  245. package/dist/src/proto/temporal/api/nexus/v1/message_pb.d.ts.map +1 -0
  246. package/dist/src/proto/temporal/api/nexus/v1/message_pb.js +97 -0
  247. package/dist/src/proto/temporal/api/nexus/v1/message_pb.js.map +1 -0
  248. package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.d.ts +499 -0
  249. package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.d.ts.map +1 -0
  250. package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.js +137 -0
  251. package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.js.map +1 -0
  252. package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.d.ts +153 -0
  253. package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.d.ts.map +1 -0
  254. package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.js +22 -0
  255. package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.js.map +1 -0
  256. package/dist/src/proto/temporal/api/protocol/v1/message_pb.d.ts +64 -0
  257. package/dist/src/proto/temporal/api/protocol/v1/message_pb.d.ts.map +1 -0
  258. package/dist/src/proto/temporal/api/protocol/v1/message_pb.js +15 -0
  259. package/dist/src/proto/temporal/api/protocol/v1/message_pb.js.map +1 -0
  260. package/dist/src/proto/temporal/api/query/v1/message_pb.d.ts +96 -0
  261. package/dist/src/proto/temporal/api/query/v1/message_pb.d.ts.map +1 -0
  262. package/dist/src/proto/temporal/api/query/v1/message_pb.js +28 -0
  263. package/dist/src/proto/temporal/api/query/v1/message_pb.js.map +1 -0
  264. package/dist/src/proto/temporal/api/replication/v1/message_pb.d.ts +67 -0
  265. package/dist/src/proto/temporal/api/replication/v1/message_pb.d.ts.map +1 -0
  266. package/dist/src/proto/temporal/api/replication/v1/message_pb.js +26 -0
  267. package/dist/src/proto/temporal/api/replication/v1/message_pb.js.map +1 -0
  268. package/dist/src/proto/temporal/api/rules/v1/message_pb.d.ts +172 -0
  269. package/dist/src/proto/temporal/api/rules/v1/message_pb.d.ts.map +1 -0
  270. package/dist/src/proto/temporal/api/rules/v1/message_pb.js +35 -0
  271. package/dist/src/proto/temporal/api/rules/v1/message_pb.js.map +1 -0
  272. package/dist/src/proto/temporal/api/schedule/v1/message_pb.d.ts +779 -0
  273. package/dist/src/proto/temporal/api/schedule/v1/message_pb.d.ts.map +1 -0
  274. package/dist/src/proto/temporal/api/schedule/v1/message_pb.js +95 -0
  275. package/dist/src/proto/temporal/api/schedule/v1/message_pb.js.map +1 -0
  276. package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.d.ts +157 -0
  277. package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.d.ts.map +1 -0
  278. package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.js +34 -0
  279. package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.js.map +1 -0
  280. package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.d.ts +71 -0
  281. package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.d.ts.map +1 -0
  282. package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.js +14 -0
  283. package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.js.map +1 -0
  284. package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.d.ts +37 -0
  285. package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.d.ts.map +1 -0
  286. package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.js +15 -0
  287. package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.js.map +1 -0
  288. package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.d.ts +84 -0
  289. package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.d.ts.map +1 -0
  290. package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.js +24 -0
  291. package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.js.map +1 -0
  292. package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.d.ts +99 -0
  293. package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.d.ts.map +1 -0
  294. package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.js +24 -0
  295. package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.js.map +1 -0
  296. package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.d.ts +757 -0
  297. package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.d.ts.map +1 -0
  298. package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.js +138 -0
  299. package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.js.map +1 -0
  300. package/dist/src/proto/temporal/api/update/v1/message_pb.d.ts +230 -0
  301. package/dist/src/proto/temporal/api/update/v1/message_pb.d.ts.map +1 -0
  302. package/dist/src/proto/temporal/api/update/v1/message_pb.js +57 -0
  303. package/dist/src/proto/temporal/api/update/v1/message_pb.js.map +1 -0
  304. package/dist/src/proto/temporal/api/version/v1/message_pb.d.ts +85 -0
  305. package/dist/src/proto/temporal/api/version/v1/message_pb.d.ts.map +1 -0
  306. package/dist/src/proto/temporal/api/version/v1/message_pb.js +26 -0
  307. package/dist/src/proto/temporal/api/version/v1/message_pb.js.map +1 -0
  308. package/dist/src/proto/temporal/api/worker/v1/message_pb.d.ts +311 -0
  309. package/dist/src/proto/temporal/api/worker/v1/message_pb.d.ts.map +1 -0
  310. package/dist/src/proto/temporal/api/worker/v1/message_pb.js +42 -0
  311. package/dist/src/proto/temporal/api/worker/v1/message_pb.js.map +1 -0
  312. package/dist/src/proto/temporal/api/workflow/v1/message_pb.d.ts +1500 -0
  313. package/dist/src/proto/temporal/api/workflow/v1/message_pb.d.ts.map +1 -0
  314. package/dist/src/proto/temporal/api/workflow/v1/message_pb.js +183 -0
  315. package/dist/src/proto/temporal/api/workflow/v1/message_pb.js.map +1 -0
  316. package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.d.ts +6967 -0
  317. package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.d.ts.map +1 -0
  318. package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.js +1073 -0
  319. package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.js.map +1 -0
  320. package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.d.ts +1305 -0
  321. package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.d.ts.map +1 -0
  322. package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.js +27 -0
  323. package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.js.map +1 -0
  324. package/dist/src/runtime/cli-layer.d.ts +12 -0
  325. package/dist/src/runtime/cli-layer.d.ts.map +1 -0
  326. package/dist/src/runtime/cli-layer.js +19 -0
  327. package/dist/src/runtime/cli-layer.js.map +1 -0
  328. package/dist/src/runtime/config-layer.d.ts +9 -0
  329. package/dist/src/runtime/config-layer.d.ts.map +1 -0
  330. package/dist/src/runtime/config-layer.js +15 -0
  331. package/dist/src/runtime/config-layer.js.map +1 -0
  332. package/dist/src/runtime/effect-layers.d.ts +518 -0
  333. package/dist/src/runtime/effect-layers.d.ts.map +1 -0
  334. package/dist/src/runtime/effect-layers.js +68 -0
  335. package/dist/src/runtime/effect-layers.js.map +1 -0
  336. package/dist/src/runtime/worker-app.d.ts +14 -0
  337. package/dist/src/runtime/worker-app.d.ts.map +1 -0
  338. package/dist/src/runtime/worker-app.js +58 -0
  339. package/dist/src/runtime/worker-app.js.map +1 -0
  340. package/dist/src/telemetry/runtime.d.ts +5 -0
  341. package/dist/src/telemetry/runtime.d.ts.map +1 -0
  342. package/dist/src/telemetry/runtime.js +94 -0
  343. package/dist/src/telemetry/runtime.js.map +1 -0
  344. package/dist/src/worker/activity-context.d.ts +30 -0
  345. package/dist/src/worker/activity-context.d.ts.map +1 -0
  346. package/dist/src/worker/activity-context.js +9 -0
  347. package/dist/src/worker/activity-context.js.map +1 -0
  348. package/dist/src/worker/build-id.d.ts +20 -0
  349. package/dist/src/worker/build-id.d.ts.map +1 -0
  350. package/dist/src/worker/build-id.js +98 -0
  351. package/dist/src/worker/build-id.js.map +1 -0
  352. package/dist/src/worker/concurrency.d.ts +31 -0
  353. package/dist/src/worker/concurrency.d.ts.map +1 -0
  354. package/dist/src/worker/concurrency.js +129 -0
  355. package/dist/src/worker/concurrency.js.map +1 -0
  356. package/dist/src/worker/defaults.d.ts +9 -0
  357. package/dist/src/worker/defaults.d.ts.map +1 -0
  358. package/dist/src/worker/defaults.js +53 -0
  359. package/dist/src/worker/defaults.js.map +1 -0
  360. package/dist/src/worker/index.d.ts +7 -0
  361. package/dist/src/worker/index.d.ts.map +1 -0
  362. package/dist/src/worker/index.js +4 -0
  363. package/dist/src/worker/index.js.map +1 -0
  364. package/dist/src/worker/layer.d.ts +19 -0
  365. package/dist/src/worker/layer.d.ts.map +1 -0
  366. package/dist/src/worker/layer.js +71 -0
  367. package/dist/src/worker/layer.js.map +1 -0
  368. package/dist/src/worker/runtime.d.ts +59 -0
  369. package/dist/src/worker/runtime.d.ts.map +1 -0
  370. package/dist/src/worker/runtime.js +1415 -0
  371. package/dist/src/worker/runtime.js.map +1 -0
  372. package/dist/src/worker/service.d.ts +19 -0
  373. package/dist/src/worker/service.d.ts.map +1 -0
  374. package/dist/src/worker/service.js +14 -0
  375. package/dist/src/worker/service.js.map +1 -0
  376. package/dist/src/worker/sticky-cache.d.ts +41 -0
  377. package/dist/src/worker/sticky-cache.d.ts.map +1 -0
  378. package/dist/src/worker/sticky-cache.js +127 -0
  379. package/dist/src/worker/sticky-cache.js.map +1 -0
  380. package/dist/src/worker.d.ts +30 -0
  381. package/dist/src/worker.d.ts.map +1 -0
  382. package/dist/src/worker.js +82 -0
  383. package/dist/src/worker.js.map +1 -0
  384. package/dist/src/workflow/commands.d.ts +84 -0
  385. package/dist/src/workflow/commands.d.ts.map +1 -0
  386. package/dist/src/workflow/commands.js +159 -0
  387. package/dist/src/workflow/commands.js.map +1 -0
  388. package/dist/src/workflow/context.d.ts +119 -0
  389. package/dist/src/workflow/context.d.ts.map +1 -0
  390. package/dist/src/workflow/context.js +197 -0
  391. package/dist/src/workflow/context.js.map +1 -0
  392. package/dist/src/workflow/definition.d.ts +15 -0
  393. package/dist/src/workflow/definition.d.ts.map +1 -0
  394. package/dist/src/workflow/definition.js +19 -0
  395. package/dist/src/workflow/definition.js.map +1 -0
  396. package/dist/src/workflow/determinism.d.ts +54 -0
  397. package/dist/src/workflow/determinism.d.ts.map +1 -0
  398. package/dist/src/workflow/determinism.js +147 -0
  399. package/dist/src/workflow/determinism.js.map +1 -0
  400. package/dist/src/workflow/errors.d.ts +37 -0
  401. package/dist/src/workflow/errors.d.ts.map +1 -0
  402. package/dist/src/workflow/errors.js +35 -0
  403. package/dist/src/workflow/errors.js.map +1 -0
  404. package/dist/src/workflow/executor.d.ts +35 -0
  405. package/dist/src/workflow/executor.d.ts.map +1 -0
  406. package/dist/src/workflow/executor.js +178 -0
  407. package/dist/src/workflow/executor.js.map +1 -0
  408. package/dist/src/workflow/index.d.ts +8 -0
  409. package/dist/src/workflow/index.d.ts.map +1 -0
  410. package/dist/src/workflow/index.js +8 -0
  411. package/dist/src/workflow/index.js.map +1 -0
  412. package/dist/src/workflow/registry.d.ts +9 -0
  413. package/dist/src/workflow/registry.d.ts.map +1 -0
  414. package/dist/src/workflow/registry.js +51 -0
  415. package/dist/src/workflow/registry.js.map +1 -0
  416. package/dist/src/workflow/replay.d.ts +87 -0
  417. package/dist/src/workflow/replay.d.ts.map +1 -0
  418. package/dist/src/workflow/replay.js +759 -0
  419. package/dist/src/workflow/replay.js.map +1 -0
  420. package/dist/src/workflow/runtime/bootstrap.d.ts +15 -0
  421. package/dist/src/workflow/runtime/bootstrap.d.ts.map +1 -0
  422. package/dist/src/workflow/runtime/bootstrap.js +124 -0
  423. package/dist/src/workflow/runtime/bootstrap.js.map +1 -0
  424. package/dist/src/workflow/runtime/engine.d.ts +21 -0
  425. package/dist/src/workflow/runtime/engine.d.ts.map +1 -0
  426. package/dist/src/workflow/runtime/engine.js +73 -0
  427. package/dist/src/workflow/runtime/engine.js.map +1 -0
  428. package/dist/src/workflow/runtime/environment.d.ts +29 -0
  429. package/dist/src/workflow/runtime/environment.d.ts.map +1 -0
  430. package/dist/src/workflow/runtime/environment.js +298 -0
  431. package/dist/src/workflow/runtime/environment.js.map +1 -0
  432. package/dist/src/workflow/runtime/index.d.ts +7 -0
  433. package/dist/src/workflow/runtime/index.d.ts.map +1 -0
  434. package/dist/src/workflow/runtime/index.js +4 -0
  435. package/dist/src/workflow/runtime/index.js.map +1 -0
  436. package/dist/src/workflow/runtime/info.d.ts +5 -0
  437. package/dist/src/workflow/runtime/info.d.ts.map +1 -0
  438. package/dist/src/workflow/runtime/info.js +22 -0
  439. package/dist/src/workflow/runtime/info.js.map +1 -0
  440. package/dist/src/workflow/runtime/replay.d.ts +26 -0
  441. package/dist/src/workflow/runtime/replay.d.ts.map +1 -0
  442. package/dist/src/workflow/runtime/replay.js +254 -0
  443. package/dist/src/workflow/runtime/replay.js.map +1 -0
  444. package/dist/src/workflows/index.d.ts +3 -0
  445. package/dist/src/workflows/index.d.ts.map +1 -0
  446. package/dist/src/workflows/index.js +15 -0
  447. package/dist/src/workflows/index.js.map +1 -0
  448. package/package.json +74 -0
@@ -0,0 +1,311 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { WorkerDeploymentVersion } from "../../deployment/v1/message_pb.js";
4
+ import type { WorkerStatus } from "../../enums/v1/common_pb.js";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file temporal/api/worker/v1/message.proto.
8
+ */
9
+ export declare const file_temporal_api_worker_v1_message: GenFile;
10
+ /**
11
+ * @generated from message temporal.api.worker.v1.WorkerPollerInfo
12
+ */
13
+ export type WorkerPollerInfo = Message<"temporal.api.worker.v1.WorkerPollerInfo"> & {
14
+ /**
15
+ * Number of polling RPCs that are currently in flight.
16
+ *
17
+ * @generated from field: int32 current_pollers = 1;
18
+ */
19
+ currentPollers: number;
20
+ /**
21
+ * @generated from field: google.protobuf.Timestamp last_successful_poll_time = 2;
22
+ */
23
+ lastSuccessfulPollTime?: Timestamp;
24
+ /**
25
+ * Set true if the number of concurrent pollers is auto-scaled
26
+ *
27
+ * @generated from field: bool is_autoscaling = 3;
28
+ */
29
+ isAutoscaling: boolean;
30
+ };
31
+ /**
32
+ * Describes the message temporal.api.worker.v1.WorkerPollerInfo.
33
+ * Use `create(WorkerPollerInfoSchema)` to create a new message.
34
+ */
35
+ export declare const WorkerPollerInfoSchema: GenMessage<WorkerPollerInfo>;
36
+ /**
37
+ * @generated from message temporal.api.worker.v1.WorkerSlotsInfo
38
+ */
39
+ export type WorkerSlotsInfo = Message<"temporal.api.worker.v1.WorkerSlotsInfo"> & {
40
+ /**
41
+ * Number of slots available for the worker to specific tasks.
42
+ * May be -1 if the upper bound is not known.
43
+ *
44
+ * @generated from field: int32 current_available_slots = 1;
45
+ */
46
+ currentAvailableSlots: number;
47
+ /**
48
+ * Number of slots used by the worker for specific tasks.
49
+ *
50
+ * @generated from field: int32 current_used_slots = 2;
51
+ */
52
+ currentUsedSlots: number;
53
+ /**
54
+ * Kind of the slot supplier, which is used to determine how the slots are allocated.
55
+ * Possible values: "Fixed | ResourceBased | Custom String"
56
+ *
57
+ * @generated from field: string slot_supplier_kind = 3;
58
+ */
59
+ slotSupplierKind: string;
60
+ /**
61
+ * Total number of tasks processed (completed both successfully and unsuccesfully, or any other way)
62
+ * by the worker since the worker started. This is a cumulative counter.
63
+ *
64
+ * @generated from field: int32 total_processed_tasks = 4;
65
+ */
66
+ totalProcessedTasks: number;
67
+ /**
68
+ * Total number of failed tasks processed by the worker so far.
69
+ *
70
+ * @generated from field: int32 total_failed_tasks = 5;
71
+ */
72
+ totalFailedTasks: number;
73
+ /**
74
+ * Number of tasks processed in since the last heartbeat from the worker.
75
+ * This is a cumulative counter, and it is reset to 0 each time the worker sends a heartbeat.
76
+ * Contains both successful and failed tasks.
77
+ *
78
+ * @generated from field: int32 last_interval_processed_tasks = 6;
79
+ */
80
+ lastIntervalProcessedTasks: number;
81
+ /**
82
+ * Number of failed tasks processed since the last heartbeat from the worker.
83
+ *
84
+ * @generated from field: int32 last_interval_failure_tasks = 7;
85
+ */
86
+ lastIntervalFailureTasks: number;
87
+ };
88
+ /**
89
+ * Describes the message temporal.api.worker.v1.WorkerSlotsInfo.
90
+ * Use `create(WorkerSlotsInfoSchema)` to create a new message.
91
+ */
92
+ export declare const WorkerSlotsInfoSchema: GenMessage<WorkerSlotsInfo>;
93
+ /**
94
+ * Holds everything needed to identify the worker host/process context
95
+ *
96
+ * @generated from message temporal.api.worker.v1.WorkerHostInfo
97
+ */
98
+ export type WorkerHostInfo = Message<"temporal.api.worker.v1.WorkerHostInfo"> & {
99
+ /**
100
+ * Worker host identifier.
101
+ *
102
+ * @generated from field: string host_name = 1;
103
+ */
104
+ hostName: string;
105
+ /**
106
+ * Worker grouping identifier. A key to group workers that share the same client+namespace+process.
107
+ * This will be used to build the worker command nexus task queue name:
108
+ * "temporal-sys/worker-commands/{worker_grouping_key}"
109
+ *
110
+ * @generated from field: string worker_grouping_key = 5;
111
+ */
112
+ workerGroupingKey: string;
113
+ /**
114
+ * Worker process identifier. This id only needs to be unique
115
+ * within one host (so using e.g. a unix pid would be appropriate).
116
+ *
117
+ * @generated from field: string process_id = 2;
118
+ */
119
+ processId: string;
120
+ /**
121
+ * System used CPU as a float in the range [0.0, 1.0] where 1.0 is defined as all
122
+ * cores on the host pegged.
123
+ *
124
+ * @generated from field: float current_host_cpu_usage = 3;
125
+ */
126
+ currentHostCpuUsage: number;
127
+ /**
128
+ * System used memory as a float in the range [0.0, 1.0] where 1.0 is defined as
129
+ * all available memory on the host is used.
130
+ *
131
+ * @generated from field: float current_host_mem_usage = 4;
132
+ */
133
+ currentHostMemUsage: number;
134
+ };
135
+ /**
136
+ * Describes the message temporal.api.worker.v1.WorkerHostInfo.
137
+ * Use `create(WorkerHostInfoSchema)` to create a new message.
138
+ */
139
+ export declare const WorkerHostInfoSchema: GenMessage<WorkerHostInfo>;
140
+ /**
141
+ * Worker info message, contains information about the worker and its current state.
142
+ * All information is provided by the worker itself.
143
+ * (-- api-linter: core::0140::prepositions=disabled
144
+ * aip.dev/not-precedent: Removing those words make names less clear. --)
145
+ *
146
+ * @generated from message temporal.api.worker.v1.WorkerHeartbeat
147
+ */
148
+ export type WorkerHeartbeat = Message<"temporal.api.worker.v1.WorkerHeartbeat"> & {
149
+ /**
150
+ * Worker identifier, should be unique for the namespace.
151
+ * It is distinct from worker identity, which is not necessarily namespace-unique.
152
+ *
153
+ * @generated from field: string worker_instance_key = 1;
154
+ */
155
+ workerInstanceKey: string;
156
+ /**
157
+ * Worker identity, set by the client, may not be unique.
158
+ * Usually host_name+(user group name)+process_id, but can be overwritten by the user.
159
+ *
160
+ * @generated from field: string worker_identity = 2;
161
+ */
162
+ workerIdentity: string;
163
+ /**
164
+ * Worker host information.
165
+ *
166
+ * @generated from field: temporal.api.worker.v1.WorkerHostInfo host_info = 3;
167
+ */
168
+ hostInfo?: WorkerHostInfo;
169
+ /**
170
+ * Task queue this worker is polling for tasks.
171
+ *
172
+ * @generated from field: string task_queue = 4;
173
+ */
174
+ taskQueue: string;
175
+ /**
176
+ * @generated from field: temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 5;
177
+ */
178
+ deploymentVersion?: WorkerDeploymentVersion;
179
+ /**
180
+ * @generated from field: string sdk_name = 6;
181
+ */
182
+ sdkName: string;
183
+ /**
184
+ * @generated from field: string sdk_version = 7;
185
+ */
186
+ sdkVersion: string;
187
+ /**
188
+ * Worker status. Defined by SDK.
189
+ *
190
+ * @generated from field: temporal.api.enums.v1.WorkerStatus status = 8;
191
+ */
192
+ status: WorkerStatus;
193
+ /**
194
+ * Worker start time.
195
+ * It can be used to determine worker uptime. (current time - start time)
196
+ *
197
+ * @generated from field: google.protobuf.Timestamp start_time = 9;
198
+ */
199
+ startTime?: Timestamp;
200
+ /**
201
+ * Timestamp of this heartbeat, coming from the worker. Worker should set it to "now".
202
+ * Note that this timestamp comes directly from the worker and is subject to workers' clock skew.
203
+ *
204
+ * @generated from field: google.protobuf.Timestamp heartbeat_time = 10;
205
+ */
206
+ heartbeatTime?: Timestamp;
207
+ /**
208
+ * Elapsed time since the last heartbeat from the worker.
209
+ *
210
+ * @generated from field: google.protobuf.Duration elapsed_since_last_heartbeat = 11;
211
+ */
212
+ elapsedSinceLastHeartbeat?: Duration;
213
+ /**
214
+ * @generated from field: temporal.api.worker.v1.WorkerSlotsInfo workflow_task_slots_info = 12;
215
+ */
216
+ workflowTaskSlotsInfo?: WorkerSlotsInfo;
217
+ /**
218
+ * @generated from field: temporal.api.worker.v1.WorkerSlotsInfo activity_task_slots_info = 13;
219
+ */
220
+ activityTaskSlotsInfo?: WorkerSlotsInfo;
221
+ /**
222
+ * @generated from field: temporal.api.worker.v1.WorkerSlotsInfo nexus_task_slots_info = 14;
223
+ */
224
+ nexusTaskSlotsInfo?: WorkerSlotsInfo;
225
+ /**
226
+ * @generated from field: temporal.api.worker.v1.WorkerSlotsInfo local_activity_slots_info = 15;
227
+ */
228
+ localActivitySlotsInfo?: WorkerSlotsInfo;
229
+ /**
230
+ * @generated from field: temporal.api.worker.v1.WorkerPollerInfo workflow_poller_info = 16;
231
+ */
232
+ workflowPollerInfo?: WorkerPollerInfo;
233
+ /**
234
+ * @generated from field: temporal.api.worker.v1.WorkerPollerInfo workflow_sticky_poller_info = 17;
235
+ */
236
+ workflowStickyPollerInfo?: WorkerPollerInfo;
237
+ /**
238
+ * @generated from field: temporal.api.worker.v1.WorkerPollerInfo activity_poller_info = 18;
239
+ */
240
+ activityPollerInfo?: WorkerPollerInfo;
241
+ /**
242
+ * @generated from field: temporal.api.worker.v1.WorkerPollerInfo nexus_poller_info = 19;
243
+ */
244
+ nexusPollerInfo?: WorkerPollerInfo;
245
+ /**
246
+ * A Workflow Task found a cached Workflow Execution to run against.
247
+ *
248
+ * @generated from field: int32 total_sticky_cache_hit = 20;
249
+ */
250
+ totalStickyCacheHit: number;
251
+ /**
252
+ * A Workflow Task did not find a cached Workflow execution to run against.
253
+ *
254
+ * @generated from field: int32 total_sticky_cache_miss = 21;
255
+ */
256
+ totalStickyCacheMiss: number;
257
+ /**
258
+ * Current cache size, expressed in number of Workflow Executions.
259
+ *
260
+ * @generated from field: int32 current_sticky_cache_size = 22;
261
+ */
262
+ currentStickyCacheSize: number;
263
+ /**
264
+ * Plugins currently in use by this SDK.
265
+ *
266
+ * @generated from field: repeated temporal.api.worker.v1.PluginInfo plugins = 23;
267
+ */
268
+ plugins: PluginInfo[];
269
+ };
270
+ /**
271
+ * Describes the message temporal.api.worker.v1.WorkerHeartbeat.
272
+ * Use `create(WorkerHeartbeatSchema)` to create a new message.
273
+ */
274
+ export declare const WorkerHeartbeatSchema: GenMessage<WorkerHeartbeat>;
275
+ /**
276
+ * @generated from message temporal.api.worker.v1.WorkerInfo
277
+ */
278
+ export type WorkerInfo = Message<"temporal.api.worker.v1.WorkerInfo"> & {
279
+ /**
280
+ * @generated from field: temporal.api.worker.v1.WorkerHeartbeat worker_heartbeat = 1;
281
+ */
282
+ workerHeartbeat?: WorkerHeartbeat;
283
+ };
284
+ /**
285
+ * Describes the message temporal.api.worker.v1.WorkerInfo.
286
+ * Use `create(WorkerInfoSchema)` to create a new message.
287
+ */
288
+ export declare const WorkerInfoSchema: GenMessage<WorkerInfo>;
289
+ /**
290
+ * @generated from message temporal.api.worker.v1.PluginInfo
291
+ */
292
+ export type PluginInfo = Message<"temporal.api.worker.v1.PluginInfo"> & {
293
+ /**
294
+ * The name of the plugin, required.
295
+ *
296
+ * @generated from field: string name = 1;
297
+ */
298
+ name: string;
299
+ /**
300
+ * The version of the plugin, may be empty.
301
+ *
302
+ * @generated from field: string version = 2;
303
+ */
304
+ version: string;
305
+ };
306
+ /**
307
+ * Describes the message temporal.api.worker.v1.PluginInfo.
308
+ * Use `create(PluginInfoSchema)` to create a new message.
309
+ */
310
+ export declare const PluginInfoSchema: GenMessage<PluginInfo>;
311
+ //# sourceMappingURL=message_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/temporal/api/worker/v1/message_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8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AE5C;;OAEG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;IAEtC;;OAEG;IACH,eAAe,CAAC,EAAE,gBAAgB,CAAC;IAEnC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;;;OAIG;IACH,OAAO,EAAE,UAAU,EAAE,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAAe,CACT,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,mCAAmC,CAAC,GAAG;IACtE;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,UAAU,CACC,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,mCAAmC,CAAC,GAAG;IACtE;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,UAAU,CACC,CAAC"}
@@ -0,0 +1,42 @@
1
+ // @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=js"
2
+ // @generated from file temporal/api/worker/v1/message.proto (package temporal.api.worker.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
+ import { file_temporal_api_deployment_v1_message } from "../../deployment/v1/message_pb.js";
7
+ import { file_temporal_api_enums_v1_common } from "../../enums/v1/common_pb.js";
8
+ /**
9
+ * Describes the file temporal/api/wor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rZXJQb2xsZXJJbmZvEkMKEW5leHVzX3BvbGxlcl9pbmZvGBMgASgLMigudGVtcG9yYWwuYXBpLndvcmtlci52MS5Xb3JrZXJQb2xsZXJJbmZvEh4KFnRvdGFsX3N0aWNreV9jYWNoZV9oaXQYFCABKAUSHwoXdG90YWxfc3RpY2t5X2NhY2hlX21pc3MYFSABKAUSIQoZY3VycmVudF9zdGlja3lfY2FjaGVfc2l6ZRgWIAEoBRIzCgdwbHVnaW5zGBcgAygLMiIudGVtcG9yYWwuYXBpLndvcmtlci52MS5QbHVnaW5JbmZvIk8KCldvcmtlckluZm8SQQoQd29ya2VyX2hlYXJ0YmVhdBgBIAEoCzInLnRlbXBvcmFsLmFwaS53b3JrZXIudjEuV29ya2VySGVhcnRiZWF0IisKClBsdWdpbkluZm8SDAoEbmFtZRgBIAEoCRIPCgd2ZXJzaW9uGAIgASgJQokBChlpby50ZW1wb3JhbC5hcGkud29ya2VyLnYxQgxNZXNzYWdlUHJvdG9QAVojZ28udGVtcG9yYWwuaW8vYXBpL3dvcmtlci92MTt3b3JrZXKqAhhUZW1wb3JhbGlvLkFwaS5Xb3JrZXIuVjHqAhtUZW1wb3JhbGlvOjpBcGk6Oldvcmtlcjo6VjFiBnByb3RvMw", [file_google_protobuf_duration, file_google_protobuf_timestamp, file_temporal_api_deployment_v1_message, file_temporal_api_enums_v1_common]);
12
+ /**
13
+ * Describes the message temporal.api.worker.v1.WorkerPollerInfo.
14
+ * Use `create(WorkerPollerInfoSchema)` to create a new message.
15
+ */
16
+ export const WorkerPollerInfoSchema = /*@__PURE__*/ messageDesc(file_temporal_api_worker_v1_message, 0);
17
+ /**
18
+ * Describes the message temporal.api.worker.v1.WorkerSlotsInfo.
19
+ * Use `create(WorkerSlotsInfoSchema)` to create a new message.
20
+ */
21
+ export const WorkerSlotsInfoSchema = /*@__PURE__*/ messageDesc(file_temporal_api_worker_v1_message, 1);
22
+ /**
23
+ * Describes the message temporal.api.worker.v1.WorkerHostInfo.
24
+ * Use `create(WorkerHostInfoSchema)` to create a new message.
25
+ */
26
+ export const WorkerHostInfoSchema = /*@__PURE__*/ messageDesc(file_temporal_api_worker_v1_message, 2);
27
+ /**
28
+ * Describes the message temporal.api.worker.v1.WorkerHeartbeat.
29
+ * Use `create(WorkerHeartbeatSchema)` to create a new message.
30
+ */
31
+ export const WorkerHeartbeatSchema = /*@__PURE__*/ messageDesc(file_temporal_api_worker_v1_message, 3);
32
+ /**
33
+ * Describes the message temporal.api.worker.v1.WorkerInfo.
34
+ * Use `create(WorkerInfoSchema)` to create a new message.
35
+ */
36
+ export const WorkerInfoSchema = /*@__PURE__*/ messageDesc(file_temporal_api_worker_v1_message, 4);
37
+ /**
38
+ * Describes the message temporal.api.worker.v1.PluginInfo.
39
+ * Use `create(PluginInfoSchema)` to create a new message.
40
+ */
41
+ export const PluginInfoSchema = /*@__PURE__*/ messageDesc(file_temporal_api_worker_v1_message, 5);
42
+ //# sourceMappingURL=message_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message_pb.js","sourceRoot":"","sources":["../../../../../../../src/proto/temporal/api/worker/v1/message_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,4GAA4G;AAC5G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAEvG,OAAO,EAAE,uCAAuC,EAAE,MAAM,mCAAmC,CAAC;AAE5F,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAGhF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,gvFAAgvF,EAAE,CAAC,6BAA6B,EAAE,8BAA8B,EAAE,uCAAuC,EAAE,iCAAiC,CAAC,CAAC,CAAC;AA0B14F;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/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