-define(TEMPORAL_SPEC, temporal_sdk_proto_service_workflow_binaries). -define(TEMPORAL_SPEC_OPERATOR, temporal_sdk_proto_service_operator_binaries). %% Alternative: %% -define(TEMPORAL_SPEC, temporal_sdk_proto_service_workflow_strings). %% -define(TEMPORAL_SPEC_OPERATOR, temporal_sdk_proto_service_operator_strings). %% For example: 'temporal.api.workflowservice.v1.RegisterNamespaceRequest'() -type temporal_msg() :: ?TEMPORAL_SPEC:'$msg'() | ?TEMPORAL_SPEC_OPERATOR:'$msg'(). %% For example: 'temporal.api.workflowservice.v1.RegisterNamespaceRequest' -type temporal_msg_name() :: ?TEMPORAL_SPEC:'$msg_name'() | ?TEMPORAL_SPEC_OPERATOR:'$msg_name'(). %% ------------------------------------------------------------------------------------------------- %% Temporal API Erlang SDK extensions -define(TASK_HEADER_KEY_SDK_DATA, "sdk_data"). -define(MUTATION_RESET_PREFIX, "sdk_mutation"). -define(AWAIT_TIMEOUT_ID, "sdk_timeout"). -define(DEFAULT_MARKER_TYPE, none).