@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,751 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, Empty } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { EncodingType } from "../../enums/v1/common_pb.js";
|
|
4
|
+
import type { EventType } from "../../enums/v1/event_type_pb.js";
|
|
5
|
+
import type { ResetReapplyExcludeType, ResetReapplyType } from "../../enums/v1/reset_pb.js";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file temporal/api/common/v1/message.proto.
|
|
9
|
+
*/
|
|
10
|
+
export declare const file_temporal_api_common_v1_message: GenFile;
|
|
11
|
+
/**
|
|
12
|
+
* @generated from message temporal.api.common.v1.DataBlob
|
|
13
|
+
*/
|
|
14
|
+
export type DataBlob = Message<"temporal.api.common.v1.DataBlob"> & {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: temporal.api.enums.v1.EncodingType encoding_type = 1;
|
|
17
|
+
*/
|
|
18
|
+
encodingType: EncodingType;
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: bytes data = 2;
|
|
21
|
+
*/
|
|
22
|
+
data: Uint8Array;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message temporal.api.common.v1.DataBlob.
|
|
26
|
+
* Use `create(DataBlobSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export declare const DataBlobSchema: GenMessage<DataBlob>;
|
|
29
|
+
/**
|
|
30
|
+
* See `Payload`
|
|
31
|
+
*
|
|
32
|
+
* @generated from message temporal.api.common.v1.Payloads
|
|
33
|
+
*/
|
|
34
|
+
export type Payloads = Message<"temporal.api.common.v1.Payloads"> & {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: repeated temporal.api.common.v1.Payload payloads = 1;
|
|
37
|
+
*/
|
|
38
|
+
payloads: Payload[];
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message temporal.api.common.v1.Payloads.
|
|
42
|
+
* Use `create(PayloadsSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export declare const PayloadsSchema: GenMessage<Payloads>;
|
|
45
|
+
/**
|
|
46
|
+
* Represents some binary (byte array) data (ex: activity input parameters or workflow result) with
|
|
47
|
+
* metadata which describes this binary data (format, encoding, encryption, etc). Serialization
|
|
48
|
+
* of the data may be user-defined.
|
|
49
|
+
*
|
|
50
|
+
* @generated from message temporal.api.common.v1.Payload
|
|
51
|
+
*/
|
|
52
|
+
export type Payload = Message<"temporal.api.common.v1.Payload"> & {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: map<string, bytes> metadata = 1;
|
|
55
|
+
*/
|
|
56
|
+
metadata: {
|
|
57
|
+
[key: string]: Uint8Array;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: bytes data = 2;
|
|
61
|
+
*/
|
|
62
|
+
data: Uint8Array;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message temporal.api.common.v1.Payload.
|
|
66
|
+
* Use `create(PayloadSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export declare const PayloadSchema: GenMessage<Payload>;
|
|
69
|
+
/**
|
|
70
|
+
* A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows.
|
|
71
|
+
* The payload is not serialized in a user-defined way.
|
|
72
|
+
*
|
|
73
|
+
* @generated from message temporal.api.common.v1.SearchAttributes
|
|
74
|
+
*/
|
|
75
|
+
export type SearchAttributes = Message<"temporal.api.common.v1.SearchAttributes"> & {
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: map<string, temporal.api.common.v1.Payload> indexed_fields = 1;
|
|
78
|
+
*/
|
|
79
|
+
indexedFields: {
|
|
80
|
+
[key: string]: Payload;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message temporal.api.common.v1.SearchAttributes.
|
|
85
|
+
* Use `create(SearchAttributesSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export declare const SearchAttributesSchema: GenMessage<SearchAttributes>;
|
|
88
|
+
/**
|
|
89
|
+
* A user-defined set of *unindexed* fields that are exposed when listing/searching workflows
|
|
90
|
+
*
|
|
91
|
+
* @generated from message temporal.api.common.v1.Memo
|
|
92
|
+
*/
|
|
93
|
+
export type Memo = Message<"temporal.api.common.v1.Memo"> & {
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: map<string, temporal.api.common.v1.Payload> fields = 1;
|
|
96
|
+
*/
|
|
97
|
+
fields: {
|
|
98
|
+
[key: string]: Payload;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message temporal.api.common.v1.Memo.
|
|
103
|
+
* Use `create(MemoSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export declare const MemoSchema: GenMessage<Memo>;
|
|
106
|
+
/**
|
|
107
|
+
* Contains metadata that can be attached to a variety of requests, like starting a workflow, and
|
|
108
|
+
* can be propagated between, for example, workflows and activities.
|
|
109
|
+
*
|
|
110
|
+
* @generated from message temporal.api.common.v1.Header
|
|
111
|
+
*/
|
|
112
|
+
export type Header = Message<"temporal.api.common.v1.Header"> & {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: map<string, temporal.api.common.v1.Payload> fields = 1;
|
|
115
|
+
*/
|
|
116
|
+
fields: {
|
|
117
|
+
[key: string]: Payload;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Describes the message temporal.api.common.v1.Header.
|
|
122
|
+
* Use `create(HeaderSchema)` to create a new message.
|
|
123
|
+
*/
|
|
124
|
+
export declare const HeaderSchema: GenMessage<Header>;
|
|
125
|
+
/**
|
|
126
|
+
* Identifies a specific workflow within a namespace. Practically speaking, because run_id is a
|
|
127
|
+
* uuid, a workflow execution is globally unique. Note that many commands allow specifying an empty
|
|
128
|
+
* run id as a way of saying "target the latest run of the workflow".
|
|
129
|
+
*
|
|
130
|
+
* @generated from message temporal.api.common.v1.WorkflowExecution
|
|
131
|
+
*/
|
|
132
|
+
export type WorkflowExecution = Message<"temporal.api.common.v1.WorkflowExecution"> & {
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: string workflow_id = 1;
|
|
135
|
+
*/
|
|
136
|
+
workflowId: string;
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: string run_id = 2;
|
|
139
|
+
*/
|
|
140
|
+
runId: string;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message temporal.api.common.v1.WorkflowExecution.
|
|
144
|
+
* Use `create(WorkflowExecutionSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
export declare const WorkflowExecutionSchema: GenMessage<WorkflowExecution>;
|
|
147
|
+
/**
|
|
148
|
+
* Represents the identifier used by a workflow author to define the workflow. Typically, the
|
|
149
|
+
* name of a function. This is sometimes referred to as the workflow's "name"
|
|
150
|
+
*
|
|
151
|
+
* @generated from message temporal.api.common.v1.WorkflowType
|
|
152
|
+
*/
|
|
153
|
+
export type WorkflowType = Message<"temporal.api.common.v1.WorkflowType"> & {
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: string name = 1;
|
|
156
|
+
*/
|
|
157
|
+
name: string;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* Describes the message temporal.api.common.v1.WorkflowType.
|
|
161
|
+
* Use `create(WorkflowTypeSchema)` to create a new message.
|
|
162
|
+
*/
|
|
163
|
+
export declare const WorkflowTypeSchema: GenMessage<WorkflowType>;
|
|
164
|
+
/**
|
|
165
|
+
* Represents the identifier used by a activity author to define the activity. Typically, the
|
|
166
|
+
* name of a function. This is sometimes referred to as the activity's "name"
|
|
167
|
+
*
|
|
168
|
+
* @generated from message temporal.api.common.v1.ActivityType
|
|
169
|
+
*/
|
|
170
|
+
export type ActivityType = Message<"temporal.api.common.v1.ActivityType"> & {
|
|
171
|
+
/**
|
|
172
|
+
* @generated from field: string name = 1;
|
|
173
|
+
*/
|
|
174
|
+
name: string;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Describes the message temporal.api.common.v1.ActivityType.
|
|
178
|
+
* Use `create(ActivityTypeSchema)` to create a new message.
|
|
179
|
+
*/
|
|
180
|
+
export declare const ActivityTypeSchema: GenMessage<ActivityType>;
|
|
181
|
+
/**
|
|
182
|
+
* How retries ought to be handled, usable by both workflows and activities
|
|
183
|
+
*
|
|
184
|
+
* @generated from message temporal.api.common.v1.RetryPolicy
|
|
185
|
+
*/
|
|
186
|
+
export type RetryPolicy = Message<"temporal.api.common.v1.RetryPolicy"> & {
|
|
187
|
+
/**
|
|
188
|
+
* Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries.
|
|
189
|
+
*
|
|
190
|
+
* @generated from field: google.protobuf.Duration initial_interval = 1;
|
|
191
|
+
*/
|
|
192
|
+
initialInterval?: Duration;
|
|
193
|
+
/**
|
|
194
|
+
* Coefficient used to calculate the next retry interval.
|
|
195
|
+
* The next retry interval is previous interval multiplied by the coefficient.
|
|
196
|
+
* Must be 1 or larger.
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: double backoff_coefficient = 2;
|
|
199
|
+
*/
|
|
200
|
+
backoffCoefficient: number;
|
|
201
|
+
/**
|
|
202
|
+
* Maximum interval between retries. Exponential backoff leads to interval increase.
|
|
203
|
+
* This value is the cap of the increase. Default is 100x of the initial interval.
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: google.protobuf.Duration maximum_interval = 3;
|
|
206
|
+
*/
|
|
207
|
+
maximumInterval?: Duration;
|
|
208
|
+
/**
|
|
209
|
+
* Maximum number of attempts. When exceeded the retries stop even if not expired yet.
|
|
210
|
+
* 1 disables retries. 0 means unlimited (up to the timeouts)
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: int32 maximum_attempts = 4;
|
|
213
|
+
*/
|
|
214
|
+
maximumAttempts: number;
|
|
215
|
+
/**
|
|
216
|
+
* Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that
|
|
217
|
+
* this is not a substring match, the error *type* (not message) must match exactly.
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: repeated string non_retryable_error_types = 5;
|
|
220
|
+
*/
|
|
221
|
+
nonRetryableErrorTypes: string[];
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* Describes the message temporal.api.common.v1.RetryPolicy.
|
|
225
|
+
* Use `create(RetryPolicySchema)` to create a new message.
|
|
226
|
+
*/
|
|
227
|
+
export declare const RetryPolicySchema: GenMessage<RetryPolicy>;
|
|
228
|
+
/**
|
|
229
|
+
* Metadata relevant for metering purposes
|
|
230
|
+
*
|
|
231
|
+
* @generated from message temporal.api.common.v1.MeteringMetadata
|
|
232
|
+
*/
|
|
233
|
+
export type MeteringMetadata = Message<"temporal.api.common.v1.MeteringMetadata"> & {
|
|
234
|
+
/**
|
|
235
|
+
* Count of local activities which have begun an execution attempt during this workflow task,
|
|
236
|
+
* and whose first attempt occurred in some previous task. This is used for metering
|
|
237
|
+
* purposes, and does not affect workflow state.
|
|
238
|
+
*
|
|
239
|
+
* (-- api-linter: core::0141::forbidden-types=disabled
|
|
240
|
+
* aip.dev/not-precedent: Negative values make no sense to represent. --)
|
|
241
|
+
*
|
|
242
|
+
* @generated from field: uint32 nonfirst_local_activity_execution_attempts = 13;
|
|
243
|
+
*/
|
|
244
|
+
nonfirstLocalActivityExecutionAttempts: number;
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* Describes the message temporal.api.common.v1.MeteringMetadata.
|
|
248
|
+
* Use `create(MeteringMetadataSchema)` to create a new message.
|
|
249
|
+
*/
|
|
250
|
+
export declare const MeteringMetadataSchema: GenMessage<MeteringMetadata>;
|
|
251
|
+
/**
|
|
252
|
+
* Deprecated. This message is replaced with `Deployment` and `VersioningBehavior`.
|
|
253
|
+
* Identifies the version(s) of a worker that processed a task
|
|
254
|
+
*
|
|
255
|
+
* @generated from message temporal.api.common.v1.WorkerVersionStamp
|
|
256
|
+
*/
|
|
257
|
+
export type WorkerVersionStamp = Message<"temporal.api.common.v1.WorkerVersionStamp"> & {
|
|
258
|
+
/**
|
|
259
|
+
* An opaque whole-worker identifier. Replaces the deprecated `binary_checksum` field when this
|
|
260
|
+
* message is included in requests which previously used that.
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: string build_id = 1;
|
|
263
|
+
*/
|
|
264
|
+
buildId: string;
|
|
265
|
+
/**
|
|
266
|
+
* If set, the worker is opting in to worker versioning. Otherwise, this is used only as a
|
|
267
|
+
* marker for workflow reset points and the BuildIDs search attribute.
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: bool use_versioning = 3;
|
|
270
|
+
*/
|
|
271
|
+
useVersioning: boolean;
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* Describes the message temporal.api.common.v1.WorkerVersionStamp.
|
|
275
|
+
* Use `create(WorkerVersionStampSchema)` to create a new message.
|
|
276
|
+
*/
|
|
277
|
+
export declare const WorkerVersionStampSchema: GenMessage<WorkerVersionStamp>;
|
|
278
|
+
/**
|
|
279
|
+
* Identifies the version that a worker is compatible with when polling or identifying itself,
|
|
280
|
+
* and whether or not this worker is opting into the build-id based versioning feature. This is
|
|
281
|
+
* used by matching to determine which workers ought to receive what tasks.
|
|
282
|
+
* Deprecated. Use WorkerDeploymentOptions instead.
|
|
283
|
+
*
|
|
284
|
+
* @generated from message temporal.api.common.v1.WorkerVersionCapabilities
|
|
285
|
+
*/
|
|
286
|
+
export type WorkerVersionCapabilities = Message<"temporal.api.common.v1.WorkerVersionCapabilities"> & {
|
|
287
|
+
/**
|
|
288
|
+
* An opaque whole-worker identifier
|
|
289
|
+
*
|
|
290
|
+
* @generated from field: string build_id = 1;
|
|
291
|
+
*/
|
|
292
|
+
buildId: string;
|
|
293
|
+
/**
|
|
294
|
+
* If set, the worker is opting in to worker versioning, and wishes to only receive appropriate
|
|
295
|
+
* tasks.
|
|
296
|
+
*
|
|
297
|
+
* @generated from field: bool use_versioning = 2;
|
|
298
|
+
*/
|
|
299
|
+
useVersioning: boolean;
|
|
300
|
+
/**
|
|
301
|
+
* Must be sent if user has set a deployment series name (versioning-3).
|
|
302
|
+
*
|
|
303
|
+
* @generated from field: string deployment_series_name = 4;
|
|
304
|
+
*/
|
|
305
|
+
deploymentSeriesName: string;
|
|
306
|
+
};
|
|
307
|
+
/**
|
|
308
|
+
* Describes the message temporal.api.common.v1.WorkerVersionCapabilities.
|
|
309
|
+
* Use `create(WorkerVersionCapabilitiesSchema)` to create a new message.
|
|
310
|
+
*/
|
|
311
|
+
export declare const WorkerVersionCapabilitiesSchema: GenMessage<WorkerVersionCapabilities>;
|
|
312
|
+
/**
|
|
313
|
+
* Describes where and how to reset a workflow, used for batch reset currently
|
|
314
|
+
* and may be used for single-workflow reset later.
|
|
315
|
+
*
|
|
316
|
+
* @generated from message temporal.api.common.v1.ResetOptions
|
|
317
|
+
*/
|
|
318
|
+
export type ResetOptions = Message<"temporal.api.common.v1.ResetOptions"> & {
|
|
319
|
+
/**
|
|
320
|
+
* Which workflow task to reset to.
|
|
321
|
+
*
|
|
322
|
+
* @generated from oneof temporal.api.common.v1.ResetOptions.target
|
|
323
|
+
*/
|
|
324
|
+
target: {
|
|
325
|
+
/**
|
|
326
|
+
* Resets to the first workflow task completed or started event.
|
|
327
|
+
*
|
|
328
|
+
* @generated from field: google.protobuf.Empty first_workflow_task = 1;
|
|
329
|
+
*/
|
|
330
|
+
value: Empty;
|
|
331
|
+
case: "firstWorkflowTask";
|
|
332
|
+
} | {
|
|
333
|
+
/**
|
|
334
|
+
* Resets to the last workflow task completed or started event.
|
|
335
|
+
*
|
|
336
|
+
* @generated from field: google.protobuf.Empty last_workflow_task = 2;
|
|
337
|
+
*/
|
|
338
|
+
value: Empty;
|
|
339
|
+
case: "lastWorkflowTask";
|
|
340
|
+
} | {
|
|
341
|
+
/**
|
|
342
|
+
* The id of a specific `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or
|
|
343
|
+
* `WORKFLOW_TASK_STARTED` event to reset to.
|
|
344
|
+
* Note that this option doesn't make sense when used as part of a batch request.
|
|
345
|
+
*
|
|
346
|
+
* @generated from field: int64 workflow_task_id = 3;
|
|
347
|
+
*/
|
|
348
|
+
value: bigint;
|
|
349
|
+
case: "workflowTaskId";
|
|
350
|
+
} | {
|
|
351
|
+
/**
|
|
352
|
+
* Resets to the first workflow task processed by this build id.
|
|
353
|
+
* If the workflow was not processed by the build id, or the workflow task can't be
|
|
354
|
+
* determined, no reset will be performed.
|
|
355
|
+
* Note that by default, this reset is allowed to be to a prior run in a chain of
|
|
356
|
+
* continue-as-new.
|
|
357
|
+
*
|
|
358
|
+
* @generated from field: string build_id = 4;
|
|
359
|
+
*/
|
|
360
|
+
value: string;
|
|
361
|
+
case: "buildId";
|
|
362
|
+
} | {
|
|
363
|
+
case: undefined;
|
|
364
|
+
value?: undefined;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* Deprecated. Use `options`.
|
|
368
|
+
* Default: RESET_REAPPLY_TYPE_SIGNAL
|
|
369
|
+
*
|
|
370
|
+
* @generated from field: temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 10 [deprecated = true];
|
|
371
|
+
* @deprecated
|
|
372
|
+
*/
|
|
373
|
+
resetReapplyType: ResetReapplyType;
|
|
374
|
+
/**
|
|
375
|
+
* If true, limit the reset to only within the current run. (Applies to build_id targets and
|
|
376
|
+
* possibly others in the future.)
|
|
377
|
+
*
|
|
378
|
+
* @generated from field: bool current_run_only = 11;
|
|
379
|
+
*/
|
|
380
|
+
currentRunOnly: boolean;
|
|
381
|
+
/**
|
|
382
|
+
* Event types not to be reapplied
|
|
383
|
+
*
|
|
384
|
+
* @generated from field: repeated temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 12;
|
|
385
|
+
*/
|
|
386
|
+
resetReapplyExcludeTypes: ResetReapplyExcludeType[];
|
|
387
|
+
};
|
|
388
|
+
/**
|
|
389
|
+
* Describes the message temporal.api.common.v1.ResetOptions.
|
|
390
|
+
* Use `create(ResetOptionsSchema)` to create a new message.
|
|
391
|
+
*/
|
|
392
|
+
export declare const ResetOptionsSchema: GenMessage<ResetOptions>;
|
|
393
|
+
/**
|
|
394
|
+
* Callback to attach to various events in the system, e.g. workflow run completion.
|
|
395
|
+
*
|
|
396
|
+
* @generated from message temporal.api.common.v1.Callback
|
|
397
|
+
*/
|
|
398
|
+
export type Callback = Message<"temporal.api.common.v1.Callback"> & {
|
|
399
|
+
/**
|
|
400
|
+
* @generated from oneof temporal.api.common.v1.Callback.variant
|
|
401
|
+
*/
|
|
402
|
+
variant: {
|
|
403
|
+
/**
|
|
404
|
+
* @generated from field: temporal.api.common.v1.Callback.Nexus nexus = 2;
|
|
405
|
+
*/
|
|
406
|
+
value: Callback_Nexus;
|
|
407
|
+
case: "nexus";
|
|
408
|
+
} | {
|
|
409
|
+
/**
|
|
410
|
+
* @generated from field: temporal.api.common.v1.Callback.Internal internal = 3;
|
|
411
|
+
*/
|
|
412
|
+
value: Callback_Internal;
|
|
413
|
+
case: "internal";
|
|
414
|
+
} | {
|
|
415
|
+
case: undefined;
|
|
416
|
+
value?: undefined;
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* Links associated with the callback. It can be used to link to underlying resources of the
|
|
420
|
+
* callback.
|
|
421
|
+
*
|
|
422
|
+
* @generated from field: repeated temporal.api.common.v1.Link links = 100;
|
|
423
|
+
*/
|
|
424
|
+
links: Link[];
|
|
425
|
+
};
|
|
426
|
+
/**
|
|
427
|
+
* Describes the message temporal.api.common.v1.Callback.
|
|
428
|
+
* Use `create(CallbackSchema)` to create a new message.
|
|
429
|
+
*/
|
|
430
|
+
export declare const CallbackSchema: GenMessage<Callback>;
|
|
431
|
+
/**
|
|
432
|
+
* @generated from message temporal.api.common.v1.Callback.Nexus
|
|
433
|
+
*/
|
|
434
|
+
export type Callback_Nexus = Message<"temporal.api.common.v1.Callback.Nexus"> & {
|
|
435
|
+
/**
|
|
436
|
+
* Callback URL.
|
|
437
|
+
*
|
|
438
|
+
* @generated from field: string url = 1;
|
|
439
|
+
*/
|
|
440
|
+
url: string;
|
|
441
|
+
/**
|
|
442
|
+
* Header to attach to callback request.
|
|
443
|
+
*
|
|
444
|
+
* @generated from field: map<string, string> header = 2;
|
|
445
|
+
*/
|
|
446
|
+
header: {
|
|
447
|
+
[key: string]: string;
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* Describes the message temporal.api.common.v1.Callback.Nexus.
|
|
452
|
+
* Use `create(Callback_NexusSchema)` to create a new message.
|
|
453
|
+
*/
|
|
454
|
+
export declare const Callback_NexusSchema: GenMessage<Callback_Nexus>;
|
|
455
|
+
/**
|
|
456
|
+
* Callbacks to be delivered internally within the system.
|
|
457
|
+
* This variant is not settable in the API and will be rejected by the service with an INVALID_ARGUMENT error.
|
|
458
|
+
* The only reason that this is exposed is because callbacks are replicated across clusters via the
|
|
459
|
+
* WorkflowExecutionStarted event, which is defined in the public API.
|
|
460
|
+
*
|
|
461
|
+
* @generated from message temporal.api.common.v1.Callback.Internal
|
|
462
|
+
*/
|
|
463
|
+
export type Callback_Internal = Message<"temporal.api.common.v1.Callback.Internal"> & {
|
|
464
|
+
/**
|
|
465
|
+
* Opaque internal data.
|
|
466
|
+
*
|
|
467
|
+
* @generated from field: bytes data = 1;
|
|
468
|
+
*/
|
|
469
|
+
data: Uint8Array;
|
|
470
|
+
};
|
|
471
|
+
/**
|
|
472
|
+
* Describes the message temporal.api.common.v1.Callback.Internal.
|
|
473
|
+
* Use `create(Callback_InternalSchema)` to create a new message.
|
|
474
|
+
*/
|
|
475
|
+
export declare const Callback_InternalSchema: GenMessage<Callback_Internal>;
|
|
476
|
+
/**
|
|
477
|
+
* Link can be associated with history events. It might contain information about an external entity
|
|
478
|
+
* related to the history event. For example, workflow A makes a Nexus call that starts workflow B:
|
|
479
|
+
* in this case, a history event in workflow A could contain a Link to the workflow started event in
|
|
480
|
+
* workflow B, and vice-versa.
|
|
481
|
+
*
|
|
482
|
+
* @generated from message temporal.api.common.v1.Link
|
|
483
|
+
*/
|
|
484
|
+
export type Link = Message<"temporal.api.common.v1.Link"> & {
|
|
485
|
+
/**
|
|
486
|
+
* @generated from oneof temporal.api.common.v1.Link.variant
|
|
487
|
+
*/
|
|
488
|
+
variant: {
|
|
489
|
+
/**
|
|
490
|
+
* @generated from field: temporal.api.common.v1.Link.WorkflowEvent workflow_event = 1;
|
|
491
|
+
*/
|
|
492
|
+
value: Link_WorkflowEvent;
|
|
493
|
+
case: "workflowEvent";
|
|
494
|
+
} | {
|
|
495
|
+
/**
|
|
496
|
+
* @generated from field: temporal.api.common.v1.Link.BatchJob batch_job = 2;
|
|
497
|
+
*/
|
|
498
|
+
value: Link_BatchJob;
|
|
499
|
+
case: "batchJob";
|
|
500
|
+
} | {
|
|
501
|
+
case: undefined;
|
|
502
|
+
value?: undefined;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
/**
|
|
506
|
+
* Describes the message temporal.api.common.v1.Link.
|
|
507
|
+
* Use `create(LinkSchema)` to create a new message.
|
|
508
|
+
*/
|
|
509
|
+
export declare const LinkSchema: GenMessage<Link>;
|
|
510
|
+
/**
|
|
511
|
+
* @generated from message temporal.api.common.v1.Link.WorkflowEvent
|
|
512
|
+
*/
|
|
513
|
+
export type Link_WorkflowEvent = Message<"temporal.api.common.v1.Link.WorkflowEvent"> & {
|
|
514
|
+
/**
|
|
515
|
+
* @generated from field: string namespace = 1;
|
|
516
|
+
*/
|
|
517
|
+
namespace: string;
|
|
518
|
+
/**
|
|
519
|
+
* @generated from field: string workflow_id = 2;
|
|
520
|
+
*/
|
|
521
|
+
workflowId: string;
|
|
522
|
+
/**
|
|
523
|
+
* @generated from field: string run_id = 3;
|
|
524
|
+
*/
|
|
525
|
+
runId: string;
|
|
526
|
+
/**
|
|
527
|
+
* Additional information about the workflow event.
|
|
528
|
+
* Eg: the caller workflow can send the history event details that made the Nexus call.
|
|
529
|
+
*
|
|
530
|
+
* @generated from oneof temporal.api.common.v1.Link.WorkflowEvent.reference
|
|
531
|
+
*/
|
|
532
|
+
reference: {
|
|
533
|
+
/**
|
|
534
|
+
* @generated from field: temporal.api.common.v1.Link.WorkflowEvent.EventReference event_ref = 100;
|
|
535
|
+
*/
|
|
536
|
+
value: Link_WorkflowEvent_EventReference;
|
|
537
|
+
case: "eventRef";
|
|
538
|
+
} | {
|
|
539
|
+
/**
|
|
540
|
+
* @generated from field: temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference request_id_ref = 101;
|
|
541
|
+
*/
|
|
542
|
+
value: Link_WorkflowEvent_RequestIdReference;
|
|
543
|
+
case: "requestIdRef";
|
|
544
|
+
} | {
|
|
545
|
+
case: undefined;
|
|
546
|
+
value?: undefined;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* Describes the message temporal.api.common.v1.Link.WorkflowEvent.
|
|
551
|
+
* Use `create(Link_WorkflowEventSchema)` to create a new message.
|
|
552
|
+
*/
|
|
553
|
+
export declare const Link_WorkflowEventSchema: GenMessage<Link_WorkflowEvent>;
|
|
554
|
+
/**
|
|
555
|
+
* EventReference is a direct reference to a history event through the event ID.
|
|
556
|
+
*
|
|
557
|
+
* @generated from message temporal.api.common.v1.Link.WorkflowEvent.EventReference
|
|
558
|
+
*/
|
|
559
|
+
export type Link_WorkflowEvent_EventReference = Message<"temporal.api.common.v1.Link.WorkflowEvent.EventReference"> & {
|
|
560
|
+
/**
|
|
561
|
+
* @generated from field: int64 event_id = 1;
|
|
562
|
+
*/
|
|
563
|
+
eventId: bigint;
|
|
564
|
+
/**
|
|
565
|
+
* @generated from field: temporal.api.enums.v1.EventType event_type = 2;
|
|
566
|
+
*/
|
|
567
|
+
eventType: EventType;
|
|
568
|
+
};
|
|
569
|
+
/**
|
|
570
|
+
* Describes the message temporal.api.common.v1.Link.WorkflowEvent.EventReference.
|
|
571
|
+
* Use `create(Link_WorkflowEvent_EventReferenceSchema)` to create a new message.
|
|
572
|
+
*/
|
|
573
|
+
export declare const Link_WorkflowEvent_EventReferenceSchema: GenMessage<Link_WorkflowEvent_EventReference>;
|
|
574
|
+
/**
|
|
575
|
+
* RequestIdReference is a indirect reference to a history event through the request ID.
|
|
576
|
+
*
|
|
577
|
+
* @generated from message temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference
|
|
578
|
+
*/
|
|
579
|
+
export type Link_WorkflowEvent_RequestIdReference = Message<"temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference"> & {
|
|
580
|
+
/**
|
|
581
|
+
* @generated from field: string request_id = 1;
|
|
582
|
+
*/
|
|
583
|
+
requestId: string;
|
|
584
|
+
/**
|
|
585
|
+
* @generated from field: temporal.api.enums.v1.EventType event_type = 2;
|
|
586
|
+
*/
|
|
587
|
+
eventType: EventType;
|
|
588
|
+
};
|
|
589
|
+
/**
|
|
590
|
+
* Describes the message temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference.
|
|
591
|
+
* Use `create(Link_WorkflowEvent_RequestIdReferenceSchema)` to create a new message.
|
|
592
|
+
*/
|
|
593
|
+
export declare const Link_WorkflowEvent_RequestIdReferenceSchema: GenMessage<Link_WorkflowEvent_RequestIdReference>;
|
|
594
|
+
/**
|
|
595
|
+
* A link to a built-in batch job.
|
|
596
|
+
* Batch jobs can be used to perform operations on a set of workflows (e.g. terminate, signal, cancel, etc).
|
|
597
|
+
* This link can be put on workflow history events generated by actions taken by a batch job.
|
|
598
|
+
*
|
|
599
|
+
* @generated from message temporal.api.common.v1.Link.BatchJob
|
|
600
|
+
*/
|
|
601
|
+
export type Link_BatchJob = Message<"temporal.api.common.v1.Link.BatchJob"> & {
|
|
602
|
+
/**
|
|
603
|
+
* @generated from field: string job_id = 1;
|
|
604
|
+
*/
|
|
605
|
+
jobId: string;
|
|
606
|
+
};
|
|
607
|
+
/**
|
|
608
|
+
* Describes the message temporal.api.common.v1.Link.BatchJob.
|
|
609
|
+
* Use `create(Link_BatchJobSchema)` to create a new message.
|
|
610
|
+
*/
|
|
611
|
+
export declare const Link_BatchJobSchema: GenMessage<Link_BatchJob>;
|
|
612
|
+
/**
|
|
613
|
+
* Priority contains metadata that controls relative ordering of task processing
|
|
614
|
+
* when tasks are backed up in a queue. Initially, Priority will be used in
|
|
615
|
+
* matching (workflow and activity) task queues. Later it may be used in history
|
|
616
|
+
* task queues and in rate limiting decisions.
|
|
617
|
+
*
|
|
618
|
+
* Priority is attached to workflows and activities. By default, activities
|
|
619
|
+
* inherit Priority from the workflow that created them, but may override fields
|
|
620
|
+
* when an activity is started or modified.
|
|
621
|
+
*
|
|
622
|
+
* Despite being named "Priority", this message also contains fields that
|
|
623
|
+
* control "fairness" mechanisms.
|
|
624
|
+
*
|
|
625
|
+
* For all fields, the field not present or equal to zero/empty string means to
|
|
626
|
+
* inherit the value from the calling workflow, or if there is no calling
|
|
627
|
+
* workflow, then use the default value.
|
|
628
|
+
*
|
|
629
|
+
* For all fields other than fairness_key, the zero value isn't meaningful so
|
|
630
|
+
* there's no confusion between inherit/default and a meaningful value. For
|
|
631
|
+
* fairness_key, the empty string will be interpreted as "inherit". This means
|
|
632
|
+
* that if a workflow has a non-empty fairness key, you can't override the
|
|
633
|
+
* fairness key of its activity to the empty string.
|
|
634
|
+
*
|
|
635
|
+
* The overall semantics of Priority are:
|
|
636
|
+
* 1. First, consider "priority": higher priority (lower number) goes first.
|
|
637
|
+
* 2. Then, consider fairness: try to dispatch tasks for different fairness keys
|
|
638
|
+
* in proportion to their weight.
|
|
639
|
+
*
|
|
640
|
+
* Applications may use any subset of mechanisms that are useful to them and
|
|
641
|
+
* leave the other fields to use default values.
|
|
642
|
+
*
|
|
643
|
+
* Not all queues in the system may support the "full" semantics of all priority
|
|
644
|
+
* fields. (Currently only support in matching task queues is planned.)
|
|
645
|
+
*
|
|
646
|
+
* @generated from message temporal.api.common.v1.Priority
|
|
647
|
+
*/
|
|
648
|
+
export type Priority = Message<"temporal.api.common.v1.Priority"> & {
|
|
649
|
+
/**
|
|
650
|
+
* Priority key is a positive integer from 1 to n, where smaller integers
|
|
651
|
+
* correspond to higher priorities (tasks run sooner). In general, tasks in
|
|
652
|
+
* a queue should be processed in close to priority order, although small
|
|
653
|
+
* deviations are possible.
|
|
654
|
+
*
|
|
655
|
+
* The maximum priority value (minimum priority) is determined by server
|
|
656
|
+
* configuration, and defaults to 5.
|
|
657
|
+
*
|
|
658
|
+
* If priority is not present (or zero), then the effective priority will be
|
|
659
|
+
* the default priority, which is calculated by (min+max)/2. With the
|
|
660
|
+
* default max of 5, and min of 1, that comes out to 3.
|
|
661
|
+
*
|
|
662
|
+
* @generated from field: int32 priority_key = 1;
|
|
663
|
+
*/
|
|
664
|
+
priorityKey: number;
|
|
665
|
+
/**
|
|
666
|
+
* Fairness key is a short string that's used as a key for a fairness
|
|
667
|
+
* balancing mechanism. It may correspond to a tenant id, or to a fixed
|
|
668
|
+
* string like "high" or "low". The default is the empty string.
|
|
669
|
+
*
|
|
670
|
+
* The fairness mechanism attempts to dispatch tasks for a given key in
|
|
671
|
+
* proportion to its weight. For example, using a thousand distinct tenant
|
|
672
|
+
* ids, each with a weight of 1.0 (the default) will result in each tenant
|
|
673
|
+
* getting a roughly equal share of task dispatch throughput.
|
|
674
|
+
*
|
|
675
|
+
* (Note: this does not imply equal share of worker capacity! Fairness
|
|
676
|
+
* decisions are made based on queue statistics, not
|
|
677
|
+
* current worker load.)
|
|
678
|
+
*
|
|
679
|
+
* As another example, using keys "high" and "low" with weight 9.0 and 1.0
|
|
680
|
+
* respectively will prefer dispatching "high" tasks over "low" tasks at a
|
|
681
|
+
* 9:1 ratio, while allowing either key to use all worker capacity if the
|
|
682
|
+
* other is not present.
|
|
683
|
+
*
|
|
684
|
+
* All fairness mechanisms, including rate limits, are best-effort and
|
|
685
|
+
* probabilistic. The results may not match what a "perfect" algorithm with
|
|
686
|
+
* infinite resources would produce. The more unique keys are used, the less
|
|
687
|
+
* accurate the results will be.
|
|
688
|
+
*
|
|
689
|
+
* Fairness keys are limited to 64 bytes.
|
|
690
|
+
*
|
|
691
|
+
* @generated from field: string fairness_key = 2;
|
|
692
|
+
*/
|
|
693
|
+
fairnessKey: string;
|
|
694
|
+
/**
|
|
695
|
+
* Fairness weight for a task can come from multiple sources for
|
|
696
|
+
* flexibility. From highest to lowest precedence:
|
|
697
|
+
* 1. Weights for a small set of keys can be overridden in task queue
|
|
698
|
+
* configuration with an API.
|
|
699
|
+
* 2. It can be attached to the workflow/activity in this field.
|
|
700
|
+
* 3. The default weight of 1.0 will be used.
|
|
701
|
+
*
|
|
702
|
+
* Weight values are clamped to the range [0.001, 1000].
|
|
703
|
+
*
|
|
704
|
+
* @generated from field: float fairness_weight = 3;
|
|
705
|
+
*/
|
|
706
|
+
fairnessWeight: number;
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* Describes the message temporal.api.common.v1.Priority.
|
|
710
|
+
* Use `create(PrioritySchema)` to create a new message.
|
|
711
|
+
*/
|
|
712
|
+
export declare const PrioritySchema: GenMessage<Priority>;
|
|
713
|
+
/**
|
|
714
|
+
* This is used to send commands to a specific worker or a group of workers.
|
|
715
|
+
* Right now, it is used to send commands to a specific worker instance.
|
|
716
|
+
* Will be extended to be able to send command to multiple workers.
|
|
717
|
+
*
|
|
718
|
+
* @generated from message temporal.api.common.v1.WorkerSelector
|
|
719
|
+
*/
|
|
720
|
+
export type WorkerSelector = Message<"temporal.api.common.v1.WorkerSelector"> & {
|
|
721
|
+
/**
|
|
722
|
+
* Options are:
|
|
723
|
+
* - query (will be used as query to ListWorkers, same format as in ListWorkersRequest.query)
|
|
724
|
+
* - task queue (just a shortcut. Same as query=' "TaskQueue"="my-task-queue" ')
|
|
725
|
+
* - etc.
|
|
726
|
+
* All but 'query' are shortcuts, can be replaced with a query, but it is not convenient.
|
|
727
|
+
* string query = 5;
|
|
728
|
+
* string task_queue = 6;
|
|
729
|
+
* ...
|
|
730
|
+
*
|
|
731
|
+
* @generated from oneof temporal.api.common.v1.WorkerSelector.selector
|
|
732
|
+
*/
|
|
733
|
+
selector: {
|
|
734
|
+
/**
|
|
735
|
+
* Worker instance key to which the command should be sent.
|
|
736
|
+
*
|
|
737
|
+
* @generated from field: string worker_instance_key = 1;
|
|
738
|
+
*/
|
|
739
|
+
value: string;
|
|
740
|
+
case: "workerInstanceKey";
|
|
741
|
+
} | {
|
|
742
|
+
case: undefined;
|
|
743
|
+
value?: undefined;
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
/**
|
|
747
|
+
* Describes the message temporal.api.common.v1.WorkerSelector.
|
|
748
|
+
* Use `create(WorkerSelectorSchema)` to create a new message.
|
|
749
|
+
*/
|
|
750
|
+
export declare const WorkerSelectorSchema: GenMessage<WorkerSelector>;
|
|
751
|
+
//# sourceMappingURL=message_pb.d.ts.map
|