@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.
- package/README.md +387 -0
- package/dist/bin/start-worker.js +3 -0
- package/dist/bin/temporal-bun.js +3 -0
- package/dist/src/activities/index.d.ts +6 -0
- package/dist/src/activities/index.d.ts.map +1 -0
- package/dist/src/activities/index.js +5 -0
- package/dist/src/activities/index.js.map +1 -0
- package/dist/src/activities/lifecycle.d.ts +48 -0
- package/dist/src/activities/lifecycle.d.ts.map +1 -0
- package/dist/src/activities/lifecycle.js +306 -0
- package/dist/src/activities/lifecycle.js.map +1 -0
- package/dist/src/bin/replay-command.d.ts +104 -0
- package/dist/src/bin/replay-command.d.ts.map +1 -0
- package/dist/src/bin/replay-command.js +582 -0
- package/dist/src/bin/replay-command.js.map +1 -0
- package/dist/src/bin/start-worker.d.ts +3 -0
- package/dist/src/bin/start-worker.d.ts.map +1 -0
- package/dist/src/bin/start-worker.js +29 -0
- package/dist/src/bin/start-worker.js.map +1 -0
- package/dist/src/bin/temporal-bun.d.ts +25 -0
- package/dist/src/bin/temporal-bun.d.ts.map +1 -0
- package/dist/src/bin/temporal-bun.js +427 -0
- package/dist/src/bin/temporal-bun.js.map +1 -0
- package/dist/src/build_id_preflight.d.ts +7 -0
- package/dist/src/build_id_preflight.d.ts.map +1 -0
- package/dist/src/build_id_preflight.js +123 -0
- package/dist/src/build_id_preflight.js.map +1 -0
- package/dist/src/client/headers.d.ts +4 -0
- package/dist/src/client/headers.d.ts.map +1 -0
- package/dist/src/client/headers.js +79 -0
- package/dist/src/client/headers.js.map +1 -0
- package/dist/src/client/index.d.ts +2 -0
- package/dist/src/client/index.d.ts.map +1 -0
- package/dist/src/client/index.js +2 -0
- package/dist/src/client/index.js.map +1 -0
- package/dist/src/client/interceptors.d.ts +17 -0
- package/dist/src/client/interceptors.d.ts.map +1 -0
- package/dist/src/client/interceptors.js +71 -0
- package/dist/src/client/interceptors.js.map +1 -0
- package/dist/src/client/layer.d.ts +10 -0
- package/dist/src/client/layer.d.ts.map +1 -0
- package/dist/src/client/layer.js +7 -0
- package/dist/src/client/layer.js.map +1 -0
- package/dist/src/client/retries.d.ts +13 -0
- package/dist/src/client/retries.d.ts.map +1 -0
- package/dist/src/client/retries.js +51 -0
- package/dist/src/client/retries.js.map +1 -0
- package/dist/src/client/serialization.d.ts +48 -0
- package/dist/src/client/serialization.d.ts.map +1 -0
- package/dist/src/client/serialization.js +310 -0
- package/dist/src/client/serialization.js.map +1 -0
- package/dist/src/client/serialization.test.d.ts +2 -0
- package/dist/src/client/serialization.test.d.ts.map +1 -0
- package/dist/src/client/serialization.test.js +251 -0
- package/dist/src/client/serialization.test.js.map +1 -0
- package/dist/src/client/transport.d.ts +12 -0
- package/dist/src/client/transport.d.ts.map +1 -0
- package/dist/src/client/transport.js +36 -0
- package/dist/src/client/transport.js.map +1 -0
- package/dist/src/client/types.d.ts +51 -0
- package/dist/src/client/types.d.ts.map +1 -0
- package/dist/src/client/types.js +7 -0
- package/dist/src/client/types.js.map +1 -0
- package/dist/src/client.d.ts +92 -0
- package/dist/src/client.d.ts.map +1 -0
- package/dist/src/client.js +666 -0
- package/dist/src/client.js.map +1 -0
- package/dist/src/common/duration.d.ts +4 -0
- package/dist/src/common/duration.d.ts.map +1 -0
- package/dist/src/common/duration.js +14 -0
- package/dist/src/common/duration.js.map +1 -0
- package/dist/src/common/index.d.ts +2 -0
- package/dist/src/common/index.d.ts.map +1 -0
- package/dist/src/common/index.js +2 -0
- package/dist/src/common/index.js.map +1 -0
- package/dist/src/common/payloads/converter.d.ts +16 -0
- package/dist/src/common/payloads/converter.d.ts.map +1 -0
- package/dist/src/common/payloads/converter.js +33 -0
- package/dist/src/common/payloads/converter.js.map +1 -0
- package/dist/src/common/payloads/failure.d.ts +7 -0
- package/dist/src/common/payloads/failure.d.ts.map +1 -0
- package/dist/src/common/payloads/failure.js +53 -0
- package/dist/src/common/payloads/failure.js.map +1 -0
- package/dist/src/common/payloads/index.d.ts +4 -0
- package/dist/src/common/payloads/index.d.ts.map +1 -0
- package/dist/src/common/payloads/index.js +4 -0
- package/dist/src/common/payloads/index.js.map +1 -0
- package/dist/src/common/payloads/json-codec.d.ts +16 -0
- package/dist/src/common/payloads/json-codec.d.ts.map +1 -0
- package/dist/src/common/payloads/json-codec.js +185 -0
- package/dist/src/common/payloads/json-codec.js.map +1 -0
- package/dist/src/common/sleep.d.ts +2 -0
- package/dist/src/common/sleep.d.ts.map +1 -0
- package/dist/src/common/sleep.js +3 -0
- package/dist/src/common/sleep.js.map +1 -0
- package/dist/src/config.d.ts +115 -0
- package/dist/src/config.d.ts.map +1 -0
- package/dist/src/config.js +505 -0
- package/dist/src/config.js.map +1 -0
- package/dist/src/core-bridge/client.d.ts +36 -0
- package/dist/src/core-bridge/client.d.ts.map +1 -0
- package/dist/src/core-bridge/client.js +111 -0
- package/dist/src/core-bridge/client.js.map +1 -0
- package/dist/src/core-bridge/index.d.ts +4 -0
- package/dist/src/core-bridge/index.d.ts.map +1 -0
- package/dist/src/core-bridge/index.js +4 -0
- package/dist/src/core-bridge/index.js.map +1 -0
- package/dist/src/core-bridge/runtime.d.ts +20 -0
- package/dist/src/core-bridge/runtime.d.ts.map +1 -0
- package/dist/src/core-bridge/runtime.js +62 -0
- package/dist/src/core-bridge/runtime.js.map +1 -0
- package/dist/src/core-bridge/runtime.test.d.ts +2 -0
- package/dist/src/core-bridge/runtime.test.d.ts.map +1 -0
- package/dist/src/core-bridge/runtime.test.js +68 -0
- package/dist/src/core-bridge/runtime.test.js.map +1 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +7 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/internal/core-bridge/native.d.ts +176 -0
- package/dist/src/internal/core-bridge/native.d.ts.map +1 -0
- package/dist/src/internal/core-bridge/native.js +1208 -0
- package/dist/src/internal/core-bridge/native.js.map +1 -0
- package/dist/src/observability/index.d.ts +21 -0
- package/dist/src/observability/index.d.ts.map +1 -0
- package/dist/src/observability/index.js +19 -0
- package/dist/src/observability/index.js.map +1 -0
- package/dist/src/observability/logger.d.ts +28 -0
- package/dist/src/observability/logger.d.ts.map +1 -0
- package/dist/src/observability/logger.js +53 -0
- package/dist/src/observability/logger.js.map +1 -0
- package/dist/src/observability/metrics.d.ts +28 -0
- package/dist/src/observability/metrics.d.ts.map +1 -0
- package/dist/src/observability/metrics.js +355 -0
- package/dist/src/observability/metrics.js.map +1 -0
- package/dist/src/proto/google/api/annotations_pb.d.ts +14 -0
- package/dist/src/proto/google/api/annotations_pb.d.ts.map +1 -0
- package/dist/src/proto/google/api/annotations_pb.js +27 -0
- package/dist/src/proto/google/api/annotations_pb.js.map +1 -0
- package/dist/src/proto/google/api/http_pb.d.ts +441 -0
- package/dist/src/proto/google/api/http_pb.d.ts.map +1 -0
- package/dist/src/proto/google/api/http_pb.js +34 -0
- package/dist/src/proto/google/api/http_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/activity/v1/message_pb.d.ts +67 -0
- package/dist/src/proto/temporal/api/activity/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/activity/v1/message_pb.js +17 -0
- package/dist/src/proto/temporal/api/activity/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/batch/v1/message_pb.d.ts +464 -0
- package/dist/src/proto/temporal/api/batch/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/batch/v1/message_pb.js +71 -0
- package/dist/src/proto/temporal/api/batch/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/command/v1/message_pb.d.ts +796 -0
- package/dist/src/proto/temporal/api/command/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/command/v1/message_pb.js +106 -0
- package/dist/src/proto/temporal/api/command/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/common/v1/message_pb.d.ts +751 -0
- package/dist/src/proto/temporal/api/common/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/common/v1/message_pb.js +133 -0
- package/dist/src/proto/temporal/api/common/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.d.ts +639 -0
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.js +83 -0
- package/dist/src/proto/temporal/api/deployment/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.d.ts +80 -0
- package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.js +85 -0
- package/dist/src/proto/temporal/api/enums/v1/batch_operation_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/command_type_pb.d.ts +89 -0
- package/dist/src/proto/temporal/api/enums/v1/command_type_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/command_type_pb.js +93 -0
- package/dist/src/proto/temporal/api/enums/v1/command_type_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/common_pb.d.ts +314 -0
- package/dist/src/proto/temporal/api/enums/v1/common_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/common_pb.js +326 -0
- package/dist/src/proto/temporal/api/enums/v1/common_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.d.ts +186 -0
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.js +193 -0
- package/dist/src/proto/temporal/api/enums/v1/deployment_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.d.ts +407 -0
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.js +411 -0
- package/dist/src/proto/temporal/api/enums/v1/event_type_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.d.ts +371 -0
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.js +380 -0
- package/dist/src/proto/temporal/api/enums/v1/failed_cause_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/namespace_pb.d.ts +73 -0
- package/dist/src/proto/temporal/api/enums/v1/namespace_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/namespace_pb.js +79 -0
- package/dist/src/proto/temporal/api/enums/v1/namespace_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.d.ts +35 -0
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.js +39 -0
- package/dist/src/proto/temporal/api/enums/v1/nexus_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/query_pb.d.ts +58 -0
- package/dist/src/proto/temporal/api/enums/v1/query_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/query_pb.js +63 -0
- package/dist/src/proto/temporal/api/enums/v1/query_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/reset_pb.d.ts +108 -0
- package/dist/src/proto/temporal/api/enums/v1/reset_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/reset_pb.js +114 -0
- package/dist/src/proto/temporal/api/enums/v1/reset_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/schedule_pb.d.ts +67 -0
- package/dist/src/proto/temporal/api/enums/v1/schedule_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/schedule_pb.js +71 -0
- package/dist/src/proto/temporal/api/enums/v1/schedule_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.d.ts +249 -0
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.js +259 -0
- package/dist/src/proto/temporal/api/enums/v1/task_queue_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/update_pb.d.ts +78 -0
- package/dist/src/proto/temporal/api/enums/v1/update_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/update_pb.js +83 -0
- package/dist/src/proto/temporal/api/enums/v1/update_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.d.ts +408 -0
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.js +422 -0
- package/dist/src/proto/temporal/api/enums/v1/workflow_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.d.ts +331 -0
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.js +104 -0
- package/dist/src/proto/temporal/api/errordetails/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/export/v1/message_pb.d.ts +39 -0
- package/dist/src/proto/temporal/api/export/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/export/v1/message_pb.js +20 -0
- package/dist/src/proto/temporal/api/export/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/failure/v1/message_pb.d.ts +381 -0
- package/dist/src/proto/temporal/api/failure/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/failure/v1/message_pb.js +74 -0
- package/dist/src/proto/temporal/api/failure/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/filter/v1/message_pb.d.ts +73 -0
- package/dist/src/proto/temporal/api/filter/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/filter/v1/message_pb.js +31 -0
- package/dist/src/proto/temporal/api/filter/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/history/v1/message_pb.d.ts +3136 -0
- package/dist/src/proto/temporal/api/history/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/history/v1/message_pb.js +317 -0
- package/dist/src/proto/temporal/api/history/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.d.ts +242 -0
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.js +46 -0
- package/dist/src/proto/temporal/api/namespace/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.d.ts +549 -0
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.js +97 -0
- package/dist/src/proto/temporal/api/nexus/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.d.ts +499 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.js +137 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/request_response_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.d.ts +153 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.js +22 -0
- package/dist/src/proto/temporal/api/operatorservice/v1/service_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/protocol/v1/message_pb.d.ts +64 -0
- package/dist/src/proto/temporal/api/protocol/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/protocol/v1/message_pb.js +15 -0
- package/dist/src/proto/temporal/api/protocol/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/query/v1/message_pb.d.ts +96 -0
- package/dist/src/proto/temporal/api/query/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/query/v1/message_pb.js +28 -0
- package/dist/src/proto/temporal/api/query/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/replication/v1/message_pb.d.ts +67 -0
- package/dist/src/proto/temporal/api/replication/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/replication/v1/message_pb.js +26 -0
- package/dist/src/proto/temporal/api/replication/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/rules/v1/message_pb.d.ts +172 -0
- package/dist/src/proto/temporal/api/rules/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/rules/v1/message_pb.js +35 -0
- package/dist/src/proto/temporal/api/rules/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/schedule/v1/message_pb.d.ts +779 -0
- package/dist/src/proto/temporal/api/schedule/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/schedule/v1/message_pb.js +95 -0
- package/dist/src/proto/temporal/api/schedule/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.d.ts +157 -0
- package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.js +34 -0
- package/dist/src/proto/temporal/api/sdk/v1/enhanced_stack_trace_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.d.ts +71 -0
- package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.js +14 -0
- package/dist/src/proto/temporal/api/sdk/v1/task_complete_metadata_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.d.ts +37 -0
- package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.js +15 -0
- package/dist/src/proto/temporal/api/sdk/v1/user_metadata_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.d.ts +84 -0
- package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.js +24 -0
- package/dist/src/proto/temporal/api/sdk/v1/worker_config_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.d.ts +99 -0
- package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.js +24 -0
- package/dist/src/proto/temporal/api/sdk/v1/workflow_metadata_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.d.ts +757 -0
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.js +138 -0
- package/dist/src/proto/temporal/api/taskqueue/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/update/v1/message_pb.d.ts +230 -0
- package/dist/src/proto/temporal/api/update/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/update/v1/message_pb.js +57 -0
- package/dist/src/proto/temporal/api/update/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/version/v1/message_pb.d.ts +85 -0
- package/dist/src/proto/temporal/api/version/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/version/v1/message_pb.js +26 -0
- package/dist/src/proto/temporal/api/version/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/worker/v1/message_pb.d.ts +311 -0
- package/dist/src/proto/temporal/api/worker/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/worker/v1/message_pb.js +42 -0
- package/dist/src/proto/temporal/api/worker/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.d.ts +1500 -0
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.js +183 -0
- package/dist/src/proto/temporal/api/workflow/v1/message_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.d.ts +6967 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.js +1073 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/request_response_pb.js.map +1 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.d.ts +1305 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.d.ts.map +1 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.js +27 -0
- package/dist/src/proto/temporal/api/workflowservice/v1/service_pb.js.map +1 -0
- package/dist/src/runtime/cli-layer.d.ts +12 -0
- package/dist/src/runtime/cli-layer.d.ts.map +1 -0
- package/dist/src/runtime/cli-layer.js +19 -0
- package/dist/src/runtime/cli-layer.js.map +1 -0
- package/dist/src/runtime/config-layer.d.ts +9 -0
- package/dist/src/runtime/config-layer.d.ts.map +1 -0
- package/dist/src/runtime/config-layer.js +15 -0
- package/dist/src/runtime/config-layer.js.map +1 -0
- package/dist/src/runtime/effect-layers.d.ts +518 -0
- package/dist/src/runtime/effect-layers.d.ts.map +1 -0
- package/dist/src/runtime/effect-layers.js +68 -0
- package/dist/src/runtime/effect-layers.js.map +1 -0
- package/dist/src/runtime/worker-app.d.ts +14 -0
- package/dist/src/runtime/worker-app.d.ts.map +1 -0
- package/dist/src/runtime/worker-app.js +58 -0
- package/dist/src/runtime/worker-app.js.map +1 -0
- package/dist/src/telemetry/runtime.d.ts +5 -0
- package/dist/src/telemetry/runtime.d.ts.map +1 -0
- package/dist/src/telemetry/runtime.js +94 -0
- package/dist/src/telemetry/runtime.js.map +1 -0
- package/dist/src/worker/activity-context.d.ts +30 -0
- package/dist/src/worker/activity-context.d.ts.map +1 -0
- package/dist/src/worker/activity-context.js +9 -0
- package/dist/src/worker/activity-context.js.map +1 -0
- package/dist/src/worker/build-id.d.ts +20 -0
- package/dist/src/worker/build-id.d.ts.map +1 -0
- package/dist/src/worker/build-id.js +98 -0
- package/dist/src/worker/build-id.js.map +1 -0
- package/dist/src/worker/concurrency.d.ts +31 -0
- package/dist/src/worker/concurrency.d.ts.map +1 -0
- package/dist/src/worker/concurrency.js +129 -0
- package/dist/src/worker/concurrency.js.map +1 -0
- package/dist/src/worker/defaults.d.ts +9 -0
- package/dist/src/worker/defaults.d.ts.map +1 -0
- package/dist/src/worker/defaults.js +53 -0
- package/dist/src/worker/defaults.js.map +1 -0
- package/dist/src/worker/index.d.ts +7 -0
- package/dist/src/worker/index.d.ts.map +1 -0
- package/dist/src/worker/index.js +4 -0
- package/dist/src/worker/index.js.map +1 -0
- package/dist/src/worker/layer.d.ts +19 -0
- package/dist/src/worker/layer.d.ts.map +1 -0
- package/dist/src/worker/layer.js +71 -0
- package/dist/src/worker/layer.js.map +1 -0
- package/dist/src/worker/runtime.d.ts +59 -0
- package/dist/src/worker/runtime.d.ts.map +1 -0
- package/dist/src/worker/runtime.js +1415 -0
- package/dist/src/worker/runtime.js.map +1 -0
- package/dist/src/worker/service.d.ts +19 -0
- package/dist/src/worker/service.d.ts.map +1 -0
- package/dist/src/worker/service.js +14 -0
- package/dist/src/worker/service.js.map +1 -0
- package/dist/src/worker/sticky-cache.d.ts +41 -0
- package/dist/src/worker/sticky-cache.d.ts.map +1 -0
- package/dist/src/worker/sticky-cache.js +127 -0
- package/dist/src/worker/sticky-cache.js.map +1 -0
- package/dist/src/worker.d.ts +30 -0
- package/dist/src/worker.d.ts.map +1 -0
- package/dist/src/worker.js +82 -0
- package/dist/src/worker.js.map +1 -0
- package/dist/src/workflow/commands.d.ts +84 -0
- package/dist/src/workflow/commands.d.ts.map +1 -0
- package/dist/src/workflow/commands.js +159 -0
- package/dist/src/workflow/commands.js.map +1 -0
- package/dist/src/workflow/context.d.ts +119 -0
- package/dist/src/workflow/context.d.ts.map +1 -0
- package/dist/src/workflow/context.js +197 -0
- package/dist/src/workflow/context.js.map +1 -0
- package/dist/src/workflow/definition.d.ts +15 -0
- package/dist/src/workflow/definition.d.ts.map +1 -0
- package/dist/src/workflow/definition.js +19 -0
- package/dist/src/workflow/definition.js.map +1 -0
- package/dist/src/workflow/determinism.d.ts +54 -0
- package/dist/src/workflow/determinism.d.ts.map +1 -0
- package/dist/src/workflow/determinism.js +147 -0
- package/dist/src/workflow/determinism.js.map +1 -0
- package/dist/src/workflow/errors.d.ts +37 -0
- package/dist/src/workflow/errors.d.ts.map +1 -0
- package/dist/src/workflow/errors.js +35 -0
- package/dist/src/workflow/errors.js.map +1 -0
- package/dist/src/workflow/executor.d.ts +35 -0
- package/dist/src/workflow/executor.d.ts.map +1 -0
- package/dist/src/workflow/executor.js +178 -0
- package/dist/src/workflow/executor.js.map +1 -0
- package/dist/src/workflow/index.d.ts +8 -0
- package/dist/src/workflow/index.d.ts.map +1 -0
- package/dist/src/workflow/index.js +8 -0
- package/dist/src/workflow/index.js.map +1 -0
- package/dist/src/workflow/registry.d.ts +9 -0
- package/dist/src/workflow/registry.d.ts.map +1 -0
- package/dist/src/workflow/registry.js +51 -0
- package/dist/src/workflow/registry.js.map +1 -0
- package/dist/src/workflow/replay.d.ts +87 -0
- package/dist/src/workflow/replay.d.ts.map +1 -0
- package/dist/src/workflow/replay.js +759 -0
- package/dist/src/workflow/replay.js.map +1 -0
- package/dist/src/workflow/runtime/bootstrap.d.ts +15 -0
- package/dist/src/workflow/runtime/bootstrap.d.ts.map +1 -0
- package/dist/src/workflow/runtime/bootstrap.js +124 -0
- package/dist/src/workflow/runtime/bootstrap.js.map +1 -0
- package/dist/src/workflow/runtime/engine.d.ts +21 -0
- package/dist/src/workflow/runtime/engine.d.ts.map +1 -0
- package/dist/src/workflow/runtime/engine.js +73 -0
- package/dist/src/workflow/runtime/engine.js.map +1 -0
- package/dist/src/workflow/runtime/environment.d.ts +29 -0
- package/dist/src/workflow/runtime/environment.d.ts.map +1 -0
- package/dist/src/workflow/runtime/environment.js +298 -0
- package/dist/src/workflow/runtime/environment.js.map +1 -0
- package/dist/src/workflow/runtime/index.d.ts +7 -0
- package/dist/src/workflow/runtime/index.d.ts.map +1 -0
- package/dist/src/workflow/runtime/index.js +4 -0
- package/dist/src/workflow/runtime/index.js.map +1 -0
- package/dist/src/workflow/runtime/info.d.ts +5 -0
- package/dist/src/workflow/runtime/info.d.ts.map +1 -0
- package/dist/src/workflow/runtime/info.js +22 -0
- package/dist/src/workflow/runtime/info.js.map +1 -0
- package/dist/src/workflow/runtime/replay.d.ts +26 -0
- package/dist/src/workflow/runtime/replay.d.ts.map +1 -0
- package/dist/src/workflow/runtime/replay.js +254 -0
- package/dist/src/workflow/runtime/replay.js.map +1 -0
- package/dist/src/workflows/index.d.ts +3 -0
- package/dist/src/workflows/index.d.ts.map +1 -0
- package/dist/src/workflows/index.js +15 -0
- package/dist/src/workflows/index.js.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the file temporal/api/enums/v1/task_queue.proto.
|
|
4
|
+
*/
|
|
5
|
+
export declare const file_temporal_api_enums_v1_task_queue: GenFile;
|
|
6
|
+
/**
|
|
7
|
+
* @generated from enum temporal.api.enums.v1.TaskQueueKind
|
|
8
|
+
*/
|
|
9
|
+
export declare enum TaskQueueKind {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from enum value: TASK_QUEUE_KIND_UNSPECIFIED = 0;
|
|
12
|
+
*/
|
|
13
|
+
UNSPECIFIED = 0,
|
|
14
|
+
/**
|
|
15
|
+
* Tasks from a normal workflow task queue always include complete workflow history
|
|
16
|
+
*
|
|
17
|
+
* The task queue specified by the user is always a normal task queue. There can be as many
|
|
18
|
+
* workers as desired for a single normal task queue. All those workers may pick up tasks from
|
|
19
|
+
* that queue.
|
|
20
|
+
*
|
|
21
|
+
* @generated from enum value: TASK_QUEUE_KIND_NORMAL = 1;
|
|
22
|
+
*/
|
|
23
|
+
NORMAL = 1,
|
|
24
|
+
/**
|
|
25
|
+
* A sticky queue only includes new history since the last workflow task, and they are
|
|
26
|
+
* per-worker.
|
|
27
|
+
*
|
|
28
|
+
* Sticky queues are created dynamically by each worker during their start up. They only exist
|
|
29
|
+
* for the lifetime of the worker process. Tasks in a sticky task queue are only available to
|
|
30
|
+
* the worker that created the sticky queue.
|
|
31
|
+
*
|
|
32
|
+
* Sticky queues are only for workflow tasks. There are no sticky task queues for activities.
|
|
33
|
+
*
|
|
34
|
+
* @generated from enum value: TASK_QUEUE_KIND_STICKY = 2;
|
|
35
|
+
*/
|
|
36
|
+
STICKY = 2
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Describes the enum temporal.api.enums.v1.TaskQueueKind.
|
|
40
|
+
*/
|
|
41
|
+
export declare const TaskQueueKindSchema: GenEnum<TaskQueueKind>;
|
|
42
|
+
/**
|
|
43
|
+
* @generated from enum temporal.api.enums.v1.TaskQueueType
|
|
44
|
+
*/
|
|
45
|
+
export declare enum TaskQueueType {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum value: TASK_QUEUE_TYPE_UNSPECIFIED = 0;
|
|
48
|
+
*/
|
|
49
|
+
UNSPECIFIED = 0,
|
|
50
|
+
/**
|
|
51
|
+
* Workflow type of task queue.
|
|
52
|
+
*
|
|
53
|
+
* @generated from enum value: TASK_QUEUE_TYPE_WORKFLOW = 1;
|
|
54
|
+
*/
|
|
55
|
+
WORKFLOW = 1,
|
|
56
|
+
/**
|
|
57
|
+
* Activity type of task queue.
|
|
58
|
+
*
|
|
59
|
+
* @generated from enum value: TASK_QUEUE_TYPE_ACTIVITY = 2;
|
|
60
|
+
*/
|
|
61
|
+
ACTIVITY = 2,
|
|
62
|
+
/**
|
|
63
|
+
* Task queue type for dispatching Nexus requests.
|
|
64
|
+
*
|
|
65
|
+
* @generated from enum value: TASK_QUEUE_TYPE_NEXUS = 3;
|
|
66
|
+
*/
|
|
67
|
+
NEXUS = 3
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Describes the enum temporal.api.enums.v1.TaskQueueType.
|
|
71
|
+
*/
|
|
72
|
+
export declare const TaskQueueTypeSchema: GenEnum<TaskQueueType>;
|
|
73
|
+
/**
|
|
74
|
+
* Specifies which category of tasks may reach a worker on a versioned task queue.
|
|
75
|
+
* Used both in a reachability query and its response.
|
|
76
|
+
* Deprecated.
|
|
77
|
+
*
|
|
78
|
+
* @generated from enum temporal.api.enums.v1.TaskReachability
|
|
79
|
+
*/
|
|
80
|
+
export declare enum TaskReachability {
|
|
81
|
+
/**
|
|
82
|
+
* @generated from enum value: TASK_REACHABILITY_UNSPECIFIED = 0;
|
|
83
|
+
*/
|
|
84
|
+
UNSPECIFIED = 0,
|
|
85
|
+
/**
|
|
86
|
+
* There's a possiblity for a worker to receive new workflow tasks. Workers should *not* be retired.
|
|
87
|
+
*
|
|
88
|
+
* @generated from enum value: TASK_REACHABILITY_NEW_WORKFLOWS = 1;
|
|
89
|
+
*/
|
|
90
|
+
NEW_WORKFLOWS = 1,
|
|
91
|
+
/**
|
|
92
|
+
* There's a possiblity for a worker to receive existing workflow and activity tasks from existing workflows. Workers
|
|
93
|
+
* should *not* be retired.
|
|
94
|
+
* This enum value does not distinguish between open and closed workflows.
|
|
95
|
+
*
|
|
96
|
+
* @generated from enum value: TASK_REACHABILITY_EXISTING_WORKFLOWS = 2;
|
|
97
|
+
*/
|
|
98
|
+
EXISTING_WORKFLOWS = 2,
|
|
99
|
+
/**
|
|
100
|
+
* There's a possiblity for a worker to receive existing workflow and activity tasks from open workflows. Workers
|
|
101
|
+
* should *not* be retired.
|
|
102
|
+
*
|
|
103
|
+
* @generated from enum value: TASK_REACHABILITY_OPEN_WORKFLOWS = 3;
|
|
104
|
+
*/
|
|
105
|
+
OPEN_WORKFLOWS = 3,
|
|
106
|
+
/**
|
|
107
|
+
* There's a possiblity for a worker to receive existing workflow tasks from closed workflows. Workers may be
|
|
108
|
+
* retired dependending on application requirements. For example, if there's no need to query closed workflows.
|
|
109
|
+
*
|
|
110
|
+
* @generated from enum value: TASK_REACHABILITY_CLOSED_WORKFLOWS = 4;
|
|
111
|
+
*/
|
|
112
|
+
CLOSED_WORKFLOWS = 4
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Describes the enum temporal.api.enums.v1.TaskReachability.
|
|
116
|
+
*/
|
|
117
|
+
export declare const TaskReachabilitySchema: GenEnum<TaskReachability>;
|
|
118
|
+
/**
|
|
119
|
+
* Specifies which category of tasks may reach a versioned worker of a certain Build ID.
|
|
120
|
+
*
|
|
121
|
+
* Task Reachability is eventually consistent; there may be a delay (up to few minutes) until it
|
|
122
|
+
* converges to the most accurate value but it is designed in a way to take the more conservative
|
|
123
|
+
* side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY.
|
|
124
|
+
*
|
|
125
|
+
* Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be
|
|
126
|
+
* accounted for reachability as server cannot know if they'll happen as they do not use
|
|
127
|
+
* assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows
|
|
128
|
+
* who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make
|
|
129
|
+
* sure to query reachability for the parent/previous workflow's Task Queue as well.
|
|
130
|
+
*
|
|
131
|
+
* @generated from enum temporal.api.enums.v1.BuildIdTaskReachability
|
|
132
|
+
*/
|
|
133
|
+
export declare enum BuildIdTaskReachability {
|
|
134
|
+
/**
|
|
135
|
+
* Task reachability is not reported
|
|
136
|
+
*
|
|
137
|
+
* @generated from enum value: BUILD_ID_TASK_REACHABILITY_UNSPECIFIED = 0;
|
|
138
|
+
*/
|
|
139
|
+
UNSPECIFIED = 0,
|
|
140
|
+
/**
|
|
141
|
+
* Build ID may be used by new workflows or activities (base on versioning rules), or there MAY
|
|
142
|
+
* be open workflows or backlogged activities assigned to it.
|
|
143
|
+
*
|
|
144
|
+
* @generated from enum value: BUILD_ID_TASK_REACHABILITY_REACHABLE = 1;
|
|
145
|
+
*/
|
|
146
|
+
REACHABLE = 1,
|
|
147
|
+
/**
|
|
148
|
+
* Build ID does not have open workflows and is not reachable by new workflows,
|
|
149
|
+
* but MAY have closed workflows within the namespace retention period.
|
|
150
|
+
* Not applicable to activity-only task queues.
|
|
151
|
+
*
|
|
152
|
+
* @generated from enum value: BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY = 2;
|
|
153
|
+
*/
|
|
154
|
+
CLOSED_WORKFLOWS_ONLY = 2,
|
|
155
|
+
/**
|
|
156
|
+
* Build ID is not used for new executions, nor it has been used by any existing execution
|
|
157
|
+
* within the retention period.
|
|
158
|
+
*
|
|
159
|
+
* @generated from enum value: BUILD_ID_TASK_REACHABILITY_UNREACHABLE = 3;
|
|
160
|
+
*/
|
|
161
|
+
UNREACHABLE = 3
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Describes the enum temporal.api.enums.v1.BuildIdTaskReachability.
|
|
165
|
+
*/
|
|
166
|
+
export declare const BuildIdTaskReachabilitySchema: GenEnum<BuildIdTaskReachability>;
|
|
167
|
+
/**
|
|
168
|
+
* @generated from enum temporal.api.enums.v1.DescribeTaskQueueMode
|
|
169
|
+
*/
|
|
170
|
+
export declare enum DescribeTaskQueueMode {
|
|
171
|
+
/**
|
|
172
|
+
* Unspecified means legacy behavior.
|
|
173
|
+
*
|
|
174
|
+
* @generated from enum value: DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED = 0;
|
|
175
|
+
*/
|
|
176
|
+
UNSPECIFIED = 0,
|
|
177
|
+
/**
|
|
178
|
+
* Enhanced mode reports aggregated results for all partitions, supports Build IDs, and reports richer info.
|
|
179
|
+
*
|
|
180
|
+
* @generated from enum value: DESCRIBE_TASK_QUEUE_MODE_ENHANCED = 1;
|
|
181
|
+
*/
|
|
182
|
+
ENHANCED = 1
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Describes the enum temporal.api.enums.v1.DescribeTaskQueueMode.
|
|
186
|
+
*/
|
|
187
|
+
export declare const DescribeTaskQueueModeSchema: GenEnum<DescribeTaskQueueMode>;
|
|
188
|
+
/**
|
|
189
|
+
* Source for the effective rate limit.
|
|
190
|
+
*
|
|
191
|
+
* @generated from enum temporal.api.enums.v1.RateLimitSource
|
|
192
|
+
*/
|
|
193
|
+
export declare enum RateLimitSource {
|
|
194
|
+
/**
|
|
195
|
+
* @generated from enum value: RATE_LIMIT_SOURCE_UNSPECIFIED = 0;
|
|
196
|
+
*/
|
|
197
|
+
UNSPECIFIED = 0,
|
|
198
|
+
/**
|
|
199
|
+
* The value was set by the API.
|
|
200
|
+
*
|
|
201
|
+
* @generated from enum value: RATE_LIMIT_SOURCE_API = 1;
|
|
202
|
+
*/
|
|
203
|
+
API = 1,
|
|
204
|
+
/**
|
|
205
|
+
* The value was set by a worker.
|
|
206
|
+
*
|
|
207
|
+
* @generated from enum value: RATE_LIMIT_SOURCE_WORKER = 2;
|
|
208
|
+
*/
|
|
209
|
+
WORKER = 2,
|
|
210
|
+
/**
|
|
211
|
+
* The value was set as the system default.
|
|
212
|
+
*
|
|
213
|
+
* @generated from enum value: RATE_LIMIT_SOURCE_SYSTEM = 3;
|
|
214
|
+
*/
|
|
215
|
+
SYSTEM = 3
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Describes the enum temporal.api.enums.v1.RateLimitSource.
|
|
219
|
+
*/
|
|
220
|
+
export declare const RateLimitSourceSchema: GenEnum<RateLimitSource>;
|
|
221
|
+
/**
|
|
222
|
+
* Indicates whether a change to the Routing Config has been
|
|
223
|
+
* propagated to all relevant Task Queues and their partitions.
|
|
224
|
+
*
|
|
225
|
+
* @generated from enum temporal.api.enums.v1.RoutingConfigUpdateState
|
|
226
|
+
*/
|
|
227
|
+
export declare enum RoutingConfigUpdateState {
|
|
228
|
+
/**
|
|
229
|
+
* @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_UNSPECIFIED = 0;
|
|
230
|
+
*/
|
|
231
|
+
UNSPECIFIED = 0,
|
|
232
|
+
/**
|
|
233
|
+
* Update to the RoutingConfig is currently in progress.
|
|
234
|
+
*
|
|
235
|
+
* @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_IN_PROGRESS = 1;
|
|
236
|
+
*/
|
|
237
|
+
IN_PROGRESS = 1,
|
|
238
|
+
/**
|
|
239
|
+
* Update to the RoutingConfig has completed successfully.
|
|
240
|
+
*
|
|
241
|
+
* @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_COMPLETED = 2;
|
|
242
|
+
*/
|
|
243
|
+
COMPLETED = 2
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Describes the enum temporal.api.enums.v1.RoutingConfigUpdateState.
|
|
247
|
+
*/
|
|
248
|
+
export declare const RoutingConfigUpdateStateSchema: GenEnum<RoutingConfigUpdateState>;
|
|
249
|
+
//# sourceMappingURL=task_queue_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task_queue_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/temporal/api/enums/v1/task_queue_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,OAC8oD,CAAC;AAEnsD;;GAEG;AACH,oBAAY,aAAa;IACvB;;OAEG;IACH,WAAW,IAAI;IAEf;;;;;;;;OAQG;IACH,MAAM,IAAI;IAEV;;;;;;;;;;;OAWG;IACH,MAAM,IAAI;CACX;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,aAAa,CACH,CAAC;AAErD;;GAEG;AACH,oBAAY,aAAa;IACvB;;OAEG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,QAAQ,IAAI;IAEZ;;;;OAIG;IACH,QAAQ,IAAI;IAEZ;;;;OAIG;IACH,KAAK,IAAI;CACV;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,aAAa,CACH,CAAC;AAErD;;;;;;GAMG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,aAAa,IAAI;IAEjB;;;;;;OAMG;IACH,kBAAkB,IAAI;IAEtB;;;;;OAKG;IACH,cAAc,IAAI;IAElB;;;;;OAKG;IACH,gBAAgB,IAAI;CACrB;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,OAAO,CAAC,gBAAgB,CACT,CAAC;AAErD;;;;;;;;;;;;;;GAcG;AACH,oBAAY,uBAAuB;IACjC;;;;OAIG;IACH,WAAW,IAAI;IAEf;;;;;OAKG;IACH,SAAS,IAAI;IAEb;;;;;;OAMG;IACH,qBAAqB,IAAI;IAEzB;;;;;OAKG;IACH,WAAW,IAAI;CAChB;AAED;;GAEG;AACH,eAAO,MAAM,6BAA6B,EAAE,OAAO,CAAC,uBAAuB,CACvB,CAAC;AAErD;;GAEG;AACH,oBAAY,qBAAqB;IAC/B;;;;OAIG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,QAAQ,IAAI;CACb;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,OAAO,CAAC,qBAAqB,CACnB,CAAC;AAErD;;;;GAIG;AACH,oBAAY,eAAe;IACzB;;OAEG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,GAAG,IAAI;IAEP;;;;OAIG;IACH,MAAM,IAAI;IAEV;;;;OAIG;IACH,MAAM,IAAI;CACX;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,OAAO,CAAC,eAAe,CACP,CAAC;AAErD;;;;;GAKG;AACH,oBAAY,wBAAwB;IAClC;;OAEG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,WAAW,IAAI;IAEf;;;;OAIG;IACH,SAAS,IAAI;CACd;AAED;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,OAAO,CAAC,wBAAwB,CACzB,CAAC"}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file temporal/api/enums/v1/task_queue.proto (package temporal.api.enums.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file temporal/api/enums/v1/task_queue.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_temporal_api_enums_v1_task_queue = /*@__PURE__*/ fileDesc("CiZ0ZW1wb3JhbC9hcGkvZW51bXMvdjEvdGFza19xdWV1ZS5wcm90bxIVdGVtcG9yYWwuYXBpLmVudW1zLnYxKmgKDVRhc2tRdWV1ZUtpbmQSHwobVEFTS19RVUVVRV9LSU5EX1VOU1BFQ0lGSUVEEAASGgoWVEFTS19RVUVVRV9LSU5EX05PUk1BTBABEhoKFlRBU0tfUVVFVUVfS0lORF9TVElDS1kQAiqHAQoNVGFza1F1ZXVlVHlwZRIfChtUQVNLX1FVRVVFX1RZUEVfVU5TUEVDSUZJRUQQABIcChhUQVNLX1FVRVVFX1RZUEVfV09SS0ZMT1cQARIcChhUQVNLX1FVRVVFX1RZUEVfQUNUSVZJVFkQAhIZChVUQVNLX1FVRVVFX1RZUEVfTkVYVVMQAyrSAQoQVGFza1JlYWNoYWJpbGl0eRIhCh1UQVNLX1JFQUNIQUJJTElUWV9VTlNQRUNJRklFRBAAEiMKH1RBU0tfUkVBQ0hBQklMSVRZX05FV19XT1JLRkxPV1MQARIoCiRUQVNLX1JFQUNIQUJJTElUWV9FWElTVElOR19XT1JLRkxPV1MQAhIkCiBUQVNLX1JFQUNIQUJJTElUWV9PUEVOX1dPUktGTE9XUxADEiYKIlRBU0tfUkVBQ0hBQklMSVRZX0NMT1NFRF9XT1JLRkxPV1MQBCrRAQoXQnVpbGRJZFRhc2tSZWFjaGFiaWxpdHkSKgomQlVJTERfSURfVEFTS19SRUFDSEFCSUxJVFlfVU5TUEVDSUZJRUQQABIoCiRCVUlMRF9JRF9UQVNLX1JFQUNIQUJJTElUWV9SRUFDSEFCTEUQARI0CjBCVUlMRF9JRF9UQVNLX1JFQUNIQUJJTElUWV9DTE9TRURfV09SS0ZMT1dTX09OTFkQAhIqCiZCVUlMRF9JRF9UQVNLX1JFQUNIQUJJTElUWV9VTlJFQUNIQUJMRRADKmgKFURlc2NyaWJlVGFza1F1ZXVlTW9kZRIoCiRERVNDUklCRV9UQVNLX1FVRVVFX01PREVfVU5TUEVDSUZJRUQQABIlCiFERVNDUklCRV9UQVNLX1FVRVVFX01PREVfRU5IQU5DRUQQASqLAQoPUmF0ZUxpbWl0U291cmNlEiEKHVJBVEVfTElNSVRfU09VUkNFX1VOU1BFQ0lGSUVEEAASGQoVUkFURV9MSU1JVF9TT1VSQ0VfQVBJEAESHAoYUkFURV9MSU1JVF9TT1VSQ0VfV09SS0VSEAISHAoYUkFURV9MSU1JVF9TT1VSQ0VfU1lTVEVNEAMqnwEKGFJvdXRpbmdDb25maWdVcGRhdGVTdGF0ZRIrCidST1VUSU5HX0NPTkZJR19VUERBVEVfU1RBVEVfVU5TUEVDSUZJRUQQABIrCidST1VUSU5HX0NPTkZJR19VUERBVEVfU1RBVEVfSU5fUFJPR1JFU1MQARIpCiVST1VUSU5HX0NPTkZJR19VUERBVEVfU1RBVEVfQ09NUExFVEVEEAJChgEKGGlvLnRlbXBvcmFsLmFwaS5lbnVtcy52MUIOVGFza1F1ZXVlUHJvdG9QAVohZ28udGVtcG9yYWwuaW8vYXBpL2VudW1zL3YxO2VudW1zqgIXVGVtcG9yYWxpby5BcGkuRW51bXMuVjHqAhpUZW1wb3JhbGlvOjpBcGk6OkVudW1zOjpWMWIGcHJvdG8z");
|
|
9
|
+
/**
|
|
10
|
+
* @generated from enum temporal.api.enums.v1.TaskQueueKind
|
|
11
|
+
*/
|
|
12
|
+
export var TaskQueueKind;
|
|
13
|
+
(function (TaskQueueKind) {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum value: TASK_QUEUE_KIND_UNSPECIFIED = 0;
|
|
16
|
+
*/
|
|
17
|
+
TaskQueueKind[TaskQueueKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
18
|
+
/**
|
|
19
|
+
* Tasks from a normal workflow task queue always include complete workflow history
|
|
20
|
+
*
|
|
21
|
+
* The task queue specified by the user is always a normal task queue. There can be as many
|
|
22
|
+
* workers as desired for a single normal task queue. All those workers may pick up tasks from
|
|
23
|
+
* that queue.
|
|
24
|
+
*
|
|
25
|
+
* @generated from enum value: TASK_QUEUE_KIND_NORMAL = 1;
|
|
26
|
+
*/
|
|
27
|
+
TaskQueueKind[TaskQueueKind["NORMAL"] = 1] = "NORMAL";
|
|
28
|
+
/**
|
|
29
|
+
* A sticky queue only includes new history since the last workflow task, and they are
|
|
30
|
+
* per-worker.
|
|
31
|
+
*
|
|
32
|
+
* Sticky queues are created dynamically by each worker during their start up. They only exist
|
|
33
|
+
* for the lifetime of the worker process. Tasks in a sticky task queue are only available to
|
|
34
|
+
* the worker that created the sticky queue.
|
|
35
|
+
*
|
|
36
|
+
* Sticky queues are only for workflow tasks. There are no sticky task queues for activities.
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum value: TASK_QUEUE_KIND_STICKY = 2;
|
|
39
|
+
*/
|
|
40
|
+
TaskQueueKind[TaskQueueKind["STICKY"] = 2] = "STICKY";
|
|
41
|
+
})(TaskQueueKind || (TaskQueueKind = {}));
|
|
42
|
+
/**
|
|
43
|
+
* Describes the enum temporal.api.enums.v1.TaskQueueKind.
|
|
44
|
+
*/
|
|
45
|
+
export const TaskQueueKindSchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 0);
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum temporal.api.enums.v1.TaskQueueType
|
|
48
|
+
*/
|
|
49
|
+
export var TaskQueueType;
|
|
50
|
+
(function (TaskQueueType) {
|
|
51
|
+
/**
|
|
52
|
+
* @generated from enum value: TASK_QUEUE_TYPE_UNSPECIFIED = 0;
|
|
53
|
+
*/
|
|
54
|
+
TaskQueueType[TaskQueueType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
55
|
+
/**
|
|
56
|
+
* Workflow type of task queue.
|
|
57
|
+
*
|
|
58
|
+
* @generated from enum value: TASK_QUEUE_TYPE_WORKFLOW = 1;
|
|
59
|
+
*/
|
|
60
|
+
TaskQueueType[TaskQueueType["WORKFLOW"] = 1] = "WORKFLOW";
|
|
61
|
+
/**
|
|
62
|
+
* Activity type of task queue.
|
|
63
|
+
*
|
|
64
|
+
* @generated from enum value: TASK_QUEUE_TYPE_ACTIVITY = 2;
|
|
65
|
+
*/
|
|
66
|
+
TaskQueueType[TaskQueueType["ACTIVITY"] = 2] = "ACTIVITY";
|
|
67
|
+
/**
|
|
68
|
+
* Task queue type for dispatching Nexus requests.
|
|
69
|
+
*
|
|
70
|
+
* @generated from enum value: TASK_QUEUE_TYPE_NEXUS = 3;
|
|
71
|
+
*/
|
|
72
|
+
TaskQueueType[TaskQueueType["NEXUS"] = 3] = "NEXUS";
|
|
73
|
+
})(TaskQueueType || (TaskQueueType = {}));
|
|
74
|
+
/**
|
|
75
|
+
* Describes the enum temporal.api.enums.v1.TaskQueueType.
|
|
76
|
+
*/
|
|
77
|
+
export const TaskQueueTypeSchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 1);
|
|
78
|
+
/**
|
|
79
|
+
* Specifies which category of tasks may reach a worker on a versioned task queue.
|
|
80
|
+
* Used both in a reachability query and its response.
|
|
81
|
+
* Deprecated.
|
|
82
|
+
*
|
|
83
|
+
* @generated from enum temporal.api.enums.v1.TaskReachability
|
|
84
|
+
*/
|
|
85
|
+
export var TaskReachability;
|
|
86
|
+
(function (TaskReachability) {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from enum value: TASK_REACHABILITY_UNSPECIFIED = 0;
|
|
89
|
+
*/
|
|
90
|
+
TaskReachability[TaskReachability["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
91
|
+
/**
|
|
92
|
+
* There's a possiblity for a worker to receive new workflow tasks. Workers should *not* be retired.
|
|
93
|
+
*
|
|
94
|
+
* @generated from enum value: TASK_REACHABILITY_NEW_WORKFLOWS = 1;
|
|
95
|
+
*/
|
|
96
|
+
TaskReachability[TaskReachability["NEW_WORKFLOWS"] = 1] = "NEW_WORKFLOWS";
|
|
97
|
+
/**
|
|
98
|
+
* There's a possiblity for a worker to receive existing workflow and activity tasks from existing workflows. Workers
|
|
99
|
+
* should *not* be retired.
|
|
100
|
+
* This enum value does not distinguish between open and closed workflows.
|
|
101
|
+
*
|
|
102
|
+
* @generated from enum value: TASK_REACHABILITY_EXISTING_WORKFLOWS = 2;
|
|
103
|
+
*/
|
|
104
|
+
TaskReachability[TaskReachability["EXISTING_WORKFLOWS"] = 2] = "EXISTING_WORKFLOWS";
|
|
105
|
+
/**
|
|
106
|
+
* There's a possiblity for a worker to receive existing workflow and activity tasks from open workflows. Workers
|
|
107
|
+
* should *not* be retired.
|
|
108
|
+
*
|
|
109
|
+
* @generated from enum value: TASK_REACHABILITY_OPEN_WORKFLOWS = 3;
|
|
110
|
+
*/
|
|
111
|
+
TaskReachability[TaskReachability["OPEN_WORKFLOWS"] = 3] = "OPEN_WORKFLOWS";
|
|
112
|
+
/**
|
|
113
|
+
* There's a possiblity for a worker to receive existing workflow tasks from closed workflows. Workers may be
|
|
114
|
+
* retired dependending on application requirements. For example, if there's no need to query closed workflows.
|
|
115
|
+
*
|
|
116
|
+
* @generated from enum value: TASK_REACHABILITY_CLOSED_WORKFLOWS = 4;
|
|
117
|
+
*/
|
|
118
|
+
TaskReachability[TaskReachability["CLOSED_WORKFLOWS"] = 4] = "CLOSED_WORKFLOWS";
|
|
119
|
+
})(TaskReachability || (TaskReachability = {}));
|
|
120
|
+
/**
|
|
121
|
+
* Describes the enum temporal.api.enums.v1.TaskReachability.
|
|
122
|
+
*/
|
|
123
|
+
export const TaskReachabilitySchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 2);
|
|
124
|
+
/**
|
|
125
|
+
* Specifies which category of tasks may reach a versioned worker of a certain Build ID.
|
|
126
|
+
*
|
|
127
|
+
* Task Reachability is eventually consistent; there may be a delay (up to few minutes) until it
|
|
128
|
+
* converges to the most accurate value but it is designed in a way to take the more conservative
|
|
129
|
+
* side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY.
|
|
130
|
+
*
|
|
131
|
+
* Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be
|
|
132
|
+
* accounted for reachability as server cannot know if they'll happen as they do not use
|
|
133
|
+
* assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows
|
|
134
|
+
* who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make
|
|
135
|
+
* sure to query reachability for the parent/previous workflow's Task Queue as well.
|
|
136
|
+
*
|
|
137
|
+
* @generated from enum temporal.api.enums.v1.BuildIdTaskReachability
|
|
138
|
+
*/
|
|
139
|
+
export var BuildIdTaskReachability;
|
|
140
|
+
(function (BuildIdTaskReachability) {
|
|
141
|
+
/**
|
|
142
|
+
* Task reachability is not reported
|
|
143
|
+
*
|
|
144
|
+
* @generated from enum value: BUILD_ID_TASK_REACHABILITY_UNSPECIFIED = 0;
|
|
145
|
+
*/
|
|
146
|
+
BuildIdTaskReachability[BuildIdTaskReachability["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
147
|
+
/**
|
|
148
|
+
* Build ID may be used by new workflows or activities (base on versioning rules), or there MAY
|
|
149
|
+
* be open workflows or backlogged activities assigned to it.
|
|
150
|
+
*
|
|
151
|
+
* @generated from enum value: BUILD_ID_TASK_REACHABILITY_REACHABLE = 1;
|
|
152
|
+
*/
|
|
153
|
+
BuildIdTaskReachability[BuildIdTaskReachability["REACHABLE"] = 1] = "REACHABLE";
|
|
154
|
+
/**
|
|
155
|
+
* Build ID does not have open workflows and is not reachable by new workflows,
|
|
156
|
+
* but MAY have closed workflows within the namespace retention period.
|
|
157
|
+
* Not applicable to activity-only task queues.
|
|
158
|
+
*
|
|
159
|
+
* @generated from enum value: BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY = 2;
|
|
160
|
+
*/
|
|
161
|
+
BuildIdTaskReachability[BuildIdTaskReachability["CLOSED_WORKFLOWS_ONLY"] = 2] = "CLOSED_WORKFLOWS_ONLY";
|
|
162
|
+
/**
|
|
163
|
+
* Build ID is not used for new executions, nor it has been used by any existing execution
|
|
164
|
+
* within the retention period.
|
|
165
|
+
*
|
|
166
|
+
* @generated from enum value: BUILD_ID_TASK_REACHABILITY_UNREACHABLE = 3;
|
|
167
|
+
*/
|
|
168
|
+
BuildIdTaskReachability[BuildIdTaskReachability["UNREACHABLE"] = 3] = "UNREACHABLE";
|
|
169
|
+
})(BuildIdTaskReachability || (BuildIdTaskReachability = {}));
|
|
170
|
+
/**
|
|
171
|
+
* Describes the enum temporal.api.enums.v1.BuildIdTaskReachability.
|
|
172
|
+
*/
|
|
173
|
+
export const BuildIdTaskReachabilitySchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 3);
|
|
174
|
+
/**
|
|
175
|
+
* @generated from enum temporal.api.enums.v1.DescribeTaskQueueMode
|
|
176
|
+
*/
|
|
177
|
+
export var DescribeTaskQueueMode;
|
|
178
|
+
(function (DescribeTaskQueueMode) {
|
|
179
|
+
/**
|
|
180
|
+
* Unspecified means legacy behavior.
|
|
181
|
+
*
|
|
182
|
+
* @generated from enum value: DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED = 0;
|
|
183
|
+
*/
|
|
184
|
+
DescribeTaskQueueMode[DescribeTaskQueueMode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
185
|
+
/**
|
|
186
|
+
* Enhanced mode reports aggregated results for all partitions, supports Build IDs, and reports richer info.
|
|
187
|
+
*
|
|
188
|
+
* @generated from enum value: DESCRIBE_TASK_QUEUE_MODE_ENHANCED = 1;
|
|
189
|
+
*/
|
|
190
|
+
DescribeTaskQueueMode[DescribeTaskQueueMode["ENHANCED"] = 1] = "ENHANCED";
|
|
191
|
+
})(DescribeTaskQueueMode || (DescribeTaskQueueMode = {}));
|
|
192
|
+
/**
|
|
193
|
+
* Describes the enum temporal.api.enums.v1.DescribeTaskQueueMode.
|
|
194
|
+
*/
|
|
195
|
+
export const DescribeTaskQueueModeSchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 4);
|
|
196
|
+
/**
|
|
197
|
+
* Source for the effective rate limit.
|
|
198
|
+
*
|
|
199
|
+
* @generated from enum temporal.api.enums.v1.RateLimitSource
|
|
200
|
+
*/
|
|
201
|
+
export var RateLimitSource;
|
|
202
|
+
(function (RateLimitSource) {
|
|
203
|
+
/**
|
|
204
|
+
* @generated from enum value: RATE_LIMIT_SOURCE_UNSPECIFIED = 0;
|
|
205
|
+
*/
|
|
206
|
+
RateLimitSource[RateLimitSource["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
207
|
+
/**
|
|
208
|
+
* The value was set by the API.
|
|
209
|
+
*
|
|
210
|
+
* @generated from enum value: RATE_LIMIT_SOURCE_API = 1;
|
|
211
|
+
*/
|
|
212
|
+
RateLimitSource[RateLimitSource["API"] = 1] = "API";
|
|
213
|
+
/**
|
|
214
|
+
* The value was set by a worker.
|
|
215
|
+
*
|
|
216
|
+
* @generated from enum value: RATE_LIMIT_SOURCE_WORKER = 2;
|
|
217
|
+
*/
|
|
218
|
+
RateLimitSource[RateLimitSource["WORKER"] = 2] = "WORKER";
|
|
219
|
+
/**
|
|
220
|
+
* The value was set as the system default.
|
|
221
|
+
*
|
|
222
|
+
* @generated from enum value: RATE_LIMIT_SOURCE_SYSTEM = 3;
|
|
223
|
+
*/
|
|
224
|
+
RateLimitSource[RateLimitSource["SYSTEM"] = 3] = "SYSTEM";
|
|
225
|
+
})(RateLimitSource || (RateLimitSource = {}));
|
|
226
|
+
/**
|
|
227
|
+
* Describes the enum temporal.api.enums.v1.RateLimitSource.
|
|
228
|
+
*/
|
|
229
|
+
export const RateLimitSourceSchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 5);
|
|
230
|
+
/**
|
|
231
|
+
* Indicates whether a change to the Routing Config has been
|
|
232
|
+
* propagated to all relevant Task Queues and their partitions.
|
|
233
|
+
*
|
|
234
|
+
* @generated from enum temporal.api.enums.v1.RoutingConfigUpdateState
|
|
235
|
+
*/
|
|
236
|
+
export var RoutingConfigUpdateState;
|
|
237
|
+
(function (RoutingConfigUpdateState) {
|
|
238
|
+
/**
|
|
239
|
+
* @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_UNSPECIFIED = 0;
|
|
240
|
+
*/
|
|
241
|
+
RoutingConfigUpdateState[RoutingConfigUpdateState["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
242
|
+
/**
|
|
243
|
+
* Update to the RoutingConfig is currently in progress.
|
|
244
|
+
*
|
|
245
|
+
* @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_IN_PROGRESS = 1;
|
|
246
|
+
*/
|
|
247
|
+
RoutingConfigUpdateState[RoutingConfigUpdateState["IN_PROGRESS"] = 1] = "IN_PROGRESS";
|
|
248
|
+
/**
|
|
249
|
+
* Update to the RoutingConfig has completed successfully.
|
|
250
|
+
*
|
|
251
|
+
* @generated from enum value: ROUTING_CONFIG_UPDATE_STATE_COMPLETED = 2;
|
|
252
|
+
*/
|
|
253
|
+
RoutingConfigUpdateState[RoutingConfigUpdateState["COMPLETED"] = 2] = "COMPLETED";
|
|
254
|
+
})(RoutingConfigUpdateState || (RoutingConfigUpdateState = {}));
|
|
255
|
+
/**
|
|
256
|
+
* Describes the enum temporal.api.enums.v1.RoutingConfigUpdateState.
|
|
257
|
+
*/
|
|
258
|
+
export const RoutingConfigUpdateStateSchema = /*@__PURE__*/ enumDesc(file_temporal_api_enums_v1_task_queue, 6);
|
|
259
|
+
//# sourceMappingURL=task_queue_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task_queue_pb.js","sourceRoot":"","sources":["../../../../../../../src/proto/temporal/api/enums/v1/task_queue_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,6GAA6G;AAC7G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,srDAAsrD,CAAC,CAAC;AAEnsD;;GAEG;AACH,MAAM,CAAN,IAAY,aA8BX;AA9BD,WAAY,aAAa;IACvB;;OAEG;IACH,+DAAe,CAAA;IAEf;;;;;;;;OAQG;IACH,qDAAU,CAAA;IAEV;;;;;;;;;;;OAWG;IACH,qDAAU,CAAA;AACZ,CAAC,EA9BW,aAAa,KAAb,aAAa,QA8BxB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA2B,aAAa,CACtE,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAErD;;GAEG;AACH,MAAM,CAAN,IAAY,aA0BX;AA1BD,WAAY,aAAa;IACvB;;OAEG;IACH,+DAAe,CAAA;IAEf;;;;OAIG;IACH,yDAAY,CAAA;IAEZ;;;;OAIG;IACH,yDAAY,CAAA;IAEZ;;;;OAIG;IACH,mDAAS,CAAA;AACX,CAAC,EA1BW,aAAa,KAAb,aAAa,QA0BxB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA2B,aAAa,CACtE,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAErD;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,gBAqCX;AArCD,WAAY,gBAAgB;IAC1B;;OAEG;IACH,qEAAe,CAAA;IAEf;;;;OAIG;IACH,yEAAiB,CAAA;IAEjB;;;;;;OAMG;IACH,mFAAsB,CAAA;IAEtB;;;;;OAKG;IACH,2EAAkB,CAAA;IAElB;;;;;OAKG;IACH,+EAAoB,CAAA;AACtB,CAAC,EArCW,gBAAgB,KAAhB,gBAAgB,QAqC3B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAA8B,aAAa,CAC5E,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAErD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAN,IAAY,uBAgCX;AAhCD,WAAY,uBAAuB;IACjC;;;;OAIG;IACH,mFAAe,CAAA;IAEf;;;;;OAKG;IACH,+EAAa,CAAA;IAEb;;;;;;OAMG;IACH,uGAAyB,CAAA;IAEzB;;;;;OAKG;IACH,mFAAe,CAAA;AACjB,CAAC,EAhCW,uBAAuB,KAAvB,uBAAuB,QAgClC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAqC,aAAa,CAC1F,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAErD;;GAEG;AACH,MAAM,CAAN,IAAY,qBAcX;AAdD,WAAY,qBAAqB;IAC/B;;;;OAIG;IACH,+EAAe,CAAA;IAEf;;;;OAIG;IACH,yEAAY,CAAA;AACd,CAAC,EAdW,qBAAqB,KAArB,qBAAqB,QAchC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAmC,aAAa,CACtF,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAErD;;;;GAIG;AACH,MAAM,CAAN,IAAY,eA0BX;AA1BD,WAAY,eAAe;IACzB;;OAEG;IACH,mEAAe,CAAA;IAEf;;;;OAIG;IACH,mDAAO,CAAA;IAEP;;;;OAIG;IACH,yDAAU,CAAA;IAEV;;;;OAIG;IACH,yDAAU,CAAA;AACZ,CAAC,EA1BW,eAAe,KAAf,eAAe,QA0B1B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B,aAAa,CAC1E,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAErD;;;;;GAKG;AACH,MAAM,CAAN,IAAY,wBAmBX;AAnBD,WAAY,wBAAwB;IAClC;;OAEG;IACH,qFAAe,CAAA;IAEf;;;;OAIG;IACH,qFAAe,CAAA;IAEf;;;;OAIG;IACH,iFAAa,CAAA;AACf,CAAC,EAnBW,wBAAwB,KAAxB,wBAAwB,QAmBnC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAsC,aAAa,CAC5F,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the file temporal/api/enums/v1/update.proto.
|
|
4
|
+
*/
|
|
5
|
+
export declare const file_temporal_api_enums_v1_update: GenFile;
|
|
6
|
+
/**
|
|
7
|
+
* UpdateWorkflowExecutionLifecycleStage is specified by clients invoking
|
|
8
|
+
* Workflow Updates and used to indicate to the server how long the
|
|
9
|
+
* client wishes to wait for a return value from the API. If any value other
|
|
10
|
+
* than UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED is sent by the
|
|
11
|
+
* client then the API will complete before the Update is finished and will
|
|
12
|
+
* return a handle to the running Update so that it can later be polled for
|
|
13
|
+
* completion.
|
|
14
|
+
* If specified stage wasn't reached before server timeout, server returns
|
|
15
|
+
* actual stage reached.
|
|
16
|
+
*
|
|
17
|
+
* @generated from enum temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage
|
|
18
|
+
*/
|
|
19
|
+
export declare enum UpdateWorkflowExecutionLifecycleStage {
|
|
20
|
+
/**
|
|
21
|
+
* An unspecified value for this enum.
|
|
22
|
+
*
|
|
23
|
+
* @generated from enum value: UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED = 0;
|
|
24
|
+
*/
|
|
25
|
+
UNSPECIFIED = 0,
|
|
26
|
+
/**
|
|
27
|
+
* The API call will not return until the Update request has been admitted
|
|
28
|
+
* by the server - it may be the case that due to a considerations like load
|
|
29
|
+
* or resource limits that an Update is made to wait before the server will
|
|
30
|
+
* indicate that it has been received and will be processed. This value
|
|
31
|
+
* does not wait for any sort of acknowledgement from a worker.
|
|
32
|
+
*
|
|
33
|
+
* @generated from enum value: UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED = 1;
|
|
34
|
+
*/
|
|
35
|
+
ADMITTED = 1,
|
|
36
|
+
/**
|
|
37
|
+
* The API call will not return until the Update has passed validation on a worker.
|
|
38
|
+
*
|
|
39
|
+
* @generated from enum value: UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED = 2;
|
|
40
|
+
*/
|
|
41
|
+
ACCEPTED = 2,
|
|
42
|
+
/**
|
|
43
|
+
* The API call will not return until the Update has executed to completion
|
|
44
|
+
* on a worker and has either been rejected or returned a value or an error.
|
|
45
|
+
*
|
|
46
|
+
* @generated from enum value: UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED = 3;
|
|
47
|
+
*/
|
|
48
|
+
COMPLETED = 3
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Describes the enum temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage.
|
|
52
|
+
*/
|
|
53
|
+
export declare const UpdateWorkflowExecutionLifecycleStageSchema: GenEnum<UpdateWorkflowExecutionLifecycleStage>;
|
|
54
|
+
/**
|
|
55
|
+
* Records why a WorkflowExecutionUpdateAdmittedEvent was written to history.
|
|
56
|
+
* Note that not all admitted Updates result in this event.
|
|
57
|
+
*
|
|
58
|
+
* @generated from enum temporal.api.enums.v1.UpdateAdmittedEventOrigin
|
|
59
|
+
*/
|
|
60
|
+
export declare enum UpdateAdmittedEventOrigin {
|
|
61
|
+
/**
|
|
62
|
+
* @generated from enum value: UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED = 0;
|
|
63
|
+
*/
|
|
64
|
+
UNSPECIFIED = 0,
|
|
65
|
+
/**
|
|
66
|
+
* The UpdateAdmitted event was created when reapplying events during reset
|
|
67
|
+
* or replication. I.e. an accepted Update on one branch of Workflow history
|
|
68
|
+
* was converted into an admitted Update on a different branch.
|
|
69
|
+
*
|
|
70
|
+
* @generated from enum value: UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY = 1;
|
|
71
|
+
*/
|
|
72
|
+
REAPPLY = 1
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Describes the enum temporal.api.enums.v1.UpdateAdmittedEventOrigin.
|
|
76
|
+
*/
|
|
77
|
+
export declare const UpdateAdmittedEventOriginSchema: GenEnum<UpdateAdmittedEventOrigin>;
|
|
78
|
+
//# sourceMappingURL=update_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/temporal/api/enums/v1/update_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,OAC8uB,CAAC;AAE/xB;;;;;;;;;;;;GAYG;AACH,oBAAY,qCAAqC;IAC/C;;;;OAIG;IACH,WAAW,IAAI;IAEf;;;;;;;;OAQG;IACH,QAAQ,IAAI;IAEZ;;;;OAIG;IACH,QAAQ,IAAI;IAEZ;;;;;OAKG;IACH,SAAS,IAAI;CACd;AAED;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,OAAO,CAAC,qCAAqC,CACvD,CAAC;AAEjD;;;;;GAKG;AACH,oBAAY,yBAAyB;IACnC;;OAEG;IACH,WAAW,IAAI;IAEf;;;;;;OAMG;IACH,OAAO,IAAI;CACZ;AAED;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,OAAO,CAAC,yBAAyB,CAC/B,CAAC"}
|