temporalio 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/bridge/Cargo.lock +20 -20
- data/bridge/Cargo.toml +3 -3
- data/lib/temporalio/bridge.rb +1 -1
- data/lib/temporalio/version.rb +1 -1
- data/lib/thermite_patch.rb +10 -0
- data/sig/async.rbs +17 -0
- data/sig/protobuf.rbs +16 -0
- data/sig/protos/dependencies/gogoproto/gogo.rbs +914 -0
- data/sig/protos/google/protobuf/any.rbs +157 -0
- data/sig/protos/google/protobuf/descriptor.rbs +2825 -0
- data/sig/protos/google/protobuf/duration.rbs +114 -0
- data/sig/protos/google/protobuf/empty.rbs +36 -0
- data/sig/protos/google/protobuf/timestamp.rbs +145 -0
- data/sig/protos/google/protobuf/wrappers.rbs +358 -0
- data/sig/protos/temporal/api/batch/v1/message.rbs +300 -0
- data/sig/protos/temporal/api/command/v1/message.rbs +1399 -0
- data/sig/protos/temporal/api/common/v1/message.rbs +528 -0
- data/sig/protos/temporal/api/enums/v1/batch_operation.rbs +79 -0
- data/sig/protos/temporal/api/enums/v1/command_type.rbs +68 -0
- data/sig/protos/temporal/api/enums/v1/common.rbs +118 -0
- data/sig/protos/temporal/api/enums/v1/event_type.rbs +264 -0
- data/sig/protos/temporal/api/enums/v1/failed_cause.rbs +277 -0
- data/sig/protos/temporal/api/enums/v1/namespace.rbs +108 -0
- data/sig/protos/temporal/api/enums/v1/query.rbs +81 -0
- data/sig/protos/temporal/api/enums/v1/reset.rbs +44 -0
- data/sig/protos/temporal/api/enums/v1/schedule.rbs +72 -0
- data/sig/protos/temporal/api/enums/v1/task_queue.rbs +92 -0
- data/sig/protos/temporal/api/enums/v1/update.rbs +64 -0
- data/sig/protos/temporal/api/enums/v1/workflow.rbs +371 -0
- data/sig/protos/temporal/api/errordetails/v1/message.rbs +551 -0
- data/sig/protos/temporal/api/failure/v1/message.rbs +581 -0
- data/sig/protos/temporal/api/filter/v1/message.rbs +171 -0
- data/sig/protos/temporal/api/history/v1/message.rbs +4609 -0
- data/sig/protos/temporal/api/namespace/v1/message.rbs +410 -0
- data/sig/protos/temporal/api/operatorservice/v1/request_response.rbs +643 -0
- data/sig/protos/temporal/api/operatorservice/v1/service.rbs +17 -0
- data/sig/protos/temporal/api/protocol/v1/message.rbs +84 -0
- data/sig/protos/temporal/api/query/v1/message.rbs +182 -0
- data/sig/protos/temporal/api/replication/v1/message.rbs +148 -0
- data/sig/protos/temporal/api/schedule/v1/message.rbs +1488 -0
- data/sig/protos/temporal/api/sdk/v1/task_complete_metadata.rbs +110 -0
- data/sig/protos/temporal/api/taskqueue/v1/message.rbs +486 -0
- data/sig/protos/temporal/api/testservice/v1/request_response.rbs +249 -0
- data/sig/protos/temporal/api/testservice/v1/service.rbs +15 -0
- data/sig/protos/temporal/api/update/v1/message.rbs +489 -0
- data/sig/protos/temporal/api/version/v1/message.rbs +184 -0
- data/sig/protos/temporal/api/workflow/v1/message.rbs +824 -0
- data/sig/protos/temporal/api/workflowservice/v1/request_response.rbs +7250 -0
- data/sig/protos/temporal/api/workflowservice/v1/service.rbs +22 -0
- data/sig/protos/temporal/sdk/core/activity_result/activity_result.rbs +380 -0
- data/sig/protos/temporal/sdk/core/activity_task/activity_task.rbs +386 -0
- data/sig/protos/temporal/sdk/core/child_workflow/child_workflow.rbs +323 -0
- data/sig/protos/temporal/sdk/core/common/common.rbs +62 -0
- data/sig/protos/temporal/sdk/core/core_interface.rbs +101 -0
- data/sig/protos/temporal/sdk/core/external_data/external_data.rbs +119 -0
- data/sig/protos/temporal/sdk/core/workflow_activation/workflow_activation.rbs +1473 -0
- data/sig/protos/temporal/sdk/core/workflow_commands/workflow_commands.rbs +1784 -0
- data/sig/protos/temporal/sdk/core/workflow_completion/workflow_completion.rbs +180 -0
- data/sig/ruby.rbs +12 -0
- data/sig/temporalio/activity/context.rbs +29 -0
- data/sig/temporalio/activity/info.rbs +43 -0
- data/sig/temporalio/activity.rbs +19 -0
- data/sig/temporalio/bridge/connect_options.rbs +19 -0
- data/sig/temporalio/bridge/error.rbs +8 -0
- data/sig/temporalio/bridge/retry_config.rbs +21 -0
- data/sig/temporalio/bridge/tls_options.rbs +17 -0
- data/sig/temporalio/bridge.rbs +71 -0
- data/sig/temporalio/client/implementation.rbs +38 -0
- data/sig/temporalio/client/workflow_handle.rbs +41 -0
- data/sig/temporalio/client.rbs +35 -0
- data/sig/temporalio/connection/retry_config.rbs +37 -0
- data/sig/temporalio/connection/service.rbs +14 -0
- data/sig/temporalio/connection/test_service.rbs +13 -0
- data/sig/temporalio/connection/tls_options.rbs +43 -0
- data/sig/temporalio/connection/workflow_service.rbs +48 -0
- data/sig/temporalio/connection.rbs +30 -0
- data/sig/temporalio/data_converter.rbs +35 -0
- data/sig/temporalio/error/failure.rbs +121 -0
- data/sig/temporalio/error/workflow_failure.rbs +9 -0
- data/sig/temporalio/errors.rbs +36 -0
- data/sig/temporalio/failure_converter/base.rbs +12 -0
- data/sig/temporalio/failure_converter/basic.rbs +86 -0
- data/sig/temporalio/failure_converter.rbs +5 -0
- data/sig/temporalio/interceptor/activity_inbound.rbs +21 -0
- data/sig/temporalio/interceptor/activity_outbound.rbs +10 -0
- data/sig/temporalio/interceptor/chain.rbs +24 -0
- data/sig/temporalio/interceptor/client.rbs +148 -0
- data/sig/temporalio/interceptor.rbs +6 -0
- data/sig/temporalio/payload_codec/base.rbs +12 -0
- data/sig/temporalio/payload_converter/base.rbs +12 -0
- data/sig/temporalio/payload_converter/bytes.rbs +9 -0
- data/sig/temporalio/payload_converter/composite.rbs +19 -0
- data/sig/temporalio/payload_converter/encoding_base.rbs +14 -0
- data/sig/temporalio/payload_converter/json.rbs +9 -0
- data/sig/temporalio/payload_converter/nil.rbs +9 -0
- data/sig/temporalio/payload_converter.rbs +5 -0
- data/sig/temporalio/retry_policy.rbs +25 -0
- data/sig/temporalio/retry_state.rbs +20 -0
- data/sig/temporalio/runtime.rbs +12 -0
- data/sig/temporalio/testing/time_skipping_handle.rbs +15 -0
- data/sig/temporalio/testing/time_skipping_interceptor.rbs +13 -0
- data/sig/temporalio/testing/workflow_environment.rbs +22 -0
- data/sig/temporalio/testing.rbs +35 -0
- data/sig/temporalio/timeout_type.rbs +15 -0
- data/sig/temporalio/version.rbs +3 -0
- data/sig/temporalio/worker/activity_runner.rbs +35 -0
- data/sig/temporalio/worker/activity_worker.rbs +44 -0
- data/sig/temporalio/worker/reactor.rbs +22 -0
- data/sig/temporalio/worker/runner.rbs +21 -0
- data/sig/temporalio/worker/sync_worker.rbs +23 -0
- data/sig/temporalio/worker/thread_pool_executor.rbs +23 -0
- data/sig/temporalio/worker.rbs +46 -0
- data/sig/temporalio/workflow/async.rbs +9 -0
- data/sig/temporalio/workflow/execution_info.rbs +55 -0
- data/sig/temporalio/workflow/execution_status.rbs +21 -0
- data/sig/temporalio/workflow/future.rbs +40 -0
- data/sig/temporalio/workflow/id_reuse_policy.rbs +15 -0
- data/sig/temporalio/workflow/info.rbs +55 -0
- data/sig/temporalio/workflow/query_reject_condition.rbs +14 -0
- data/sig/temporalio.rbs +2 -0
- data/sig/thermite_patch.rbs +15 -0
- data/temporalio.gemspec +2 -1
- metadata +118 -2
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
module Temporalio
|
|
2
|
+
module Api
|
|
3
|
+
module Filter
|
|
4
|
+
module V1
|
|
5
|
+
class WorkflowExecutionFilter < ::Protobuf::Message
|
|
6
|
+
# Encode the message to a binary string
|
|
7
|
+
#
|
|
8
|
+
def self.encode: (WorkflowExecutionFilter) -> String
|
|
9
|
+
|
|
10
|
+
attr_accessor workflow_id(): ::String
|
|
11
|
+
|
|
12
|
+
def workflow_id!: () -> ::String?
|
|
13
|
+
|
|
14
|
+
attr_accessor run_id(): ::String
|
|
15
|
+
|
|
16
|
+
def run_id!: () -> ::String?
|
|
17
|
+
|
|
18
|
+
def initialize: (?workflow_id: ::String, ?run_id: ::String) -> void
|
|
19
|
+
|
|
20
|
+
def []: (:workflow_id) -> ::String
|
|
21
|
+
| (:run_id) -> ::String
|
|
22
|
+
| (::Symbol) -> untyped
|
|
23
|
+
|
|
24
|
+
def []=: (:workflow_id, ::String) -> ::String
|
|
25
|
+
| (:run_id, ::String) -> ::String
|
|
26
|
+
| (::Symbol, untyped) -> untyped
|
|
27
|
+
|
|
28
|
+
interface _ToProto
|
|
29
|
+
def to_proto: () -> WorkflowExecutionFilter
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# The type of `#initialize` parameter.
|
|
33
|
+
type init = WorkflowExecutionFilter | _ToProto
|
|
34
|
+
|
|
35
|
+
# The type of `repeated` field.
|
|
36
|
+
type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionFilter, WorkflowExecutionFilter | _ToProto]
|
|
37
|
+
|
|
38
|
+
# The type of `map` field.
|
|
39
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionFilter, WorkflowExecutionFilter | _ToProto]
|
|
40
|
+
|
|
41
|
+
type array = ::Array[WorkflowExecutionFilter | _ToProto]
|
|
42
|
+
|
|
43
|
+
type hash[KEY] = ::Hash[KEY, WorkflowExecutionFilter | _ToProto]
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
class WorkflowTypeFilter < ::Protobuf::Message
|
|
47
|
+
# Encode the message to a binary string
|
|
48
|
+
#
|
|
49
|
+
def self.encode: (WorkflowTypeFilter) -> String
|
|
50
|
+
|
|
51
|
+
attr_accessor name(): ::String
|
|
52
|
+
|
|
53
|
+
def name!: () -> ::String?
|
|
54
|
+
|
|
55
|
+
def initialize: (?name: ::String) -> void
|
|
56
|
+
|
|
57
|
+
def []: (:name) -> ::String
|
|
58
|
+
| (::Symbol) -> untyped
|
|
59
|
+
|
|
60
|
+
def []=: (:name, ::String) -> ::String
|
|
61
|
+
| (::Symbol, untyped) -> untyped
|
|
62
|
+
|
|
63
|
+
interface _ToProto
|
|
64
|
+
def to_proto: () -> WorkflowTypeFilter
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# The type of `#initialize` parameter.
|
|
68
|
+
type init = WorkflowTypeFilter | _ToProto
|
|
69
|
+
|
|
70
|
+
# The type of `repeated` field.
|
|
71
|
+
type field_array = ::Protobuf::Field::FieldArray[WorkflowTypeFilter, WorkflowTypeFilter | _ToProto]
|
|
72
|
+
|
|
73
|
+
# The type of `map` field.
|
|
74
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowTypeFilter, WorkflowTypeFilter | _ToProto]
|
|
75
|
+
|
|
76
|
+
type array = ::Array[WorkflowTypeFilter | _ToProto]
|
|
77
|
+
|
|
78
|
+
type hash[KEY] = ::Hash[KEY, WorkflowTypeFilter | _ToProto]
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
class StartTimeFilter < ::Protobuf::Message
|
|
82
|
+
# Encode the message to a binary string
|
|
83
|
+
#
|
|
84
|
+
def self.encode: (StartTimeFilter) -> String
|
|
85
|
+
|
|
86
|
+
attr_accessor earliest_time(): ::Google::Protobuf::Timestamp?
|
|
87
|
+
|
|
88
|
+
def earliest_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
|
89
|
+
| ...
|
|
90
|
+
|
|
91
|
+
def earliest_time!: () -> ::Google::Protobuf::Timestamp?
|
|
92
|
+
|
|
93
|
+
attr_accessor latest_time(): ::Google::Protobuf::Timestamp?
|
|
94
|
+
|
|
95
|
+
def latest_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
|
96
|
+
| ...
|
|
97
|
+
|
|
98
|
+
def latest_time!: () -> ::Google::Protobuf::Timestamp?
|
|
99
|
+
|
|
100
|
+
def initialize: (?earliest_time: ::Google::Protobuf::Timestamp::init?, ?latest_time: ::Google::Protobuf::Timestamp::init?) -> void
|
|
101
|
+
|
|
102
|
+
def []: (:earliest_time) -> ::Google::Protobuf::Timestamp?
|
|
103
|
+
| (:latest_time) -> ::Google::Protobuf::Timestamp?
|
|
104
|
+
| (::Symbol) -> untyped
|
|
105
|
+
|
|
106
|
+
def []=: (:earliest_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
|
107
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:earliest_time, M?) -> M?
|
|
108
|
+
| (:latest_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
|
109
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:latest_time, M?) -> M?
|
|
110
|
+
| (::Symbol, untyped) -> untyped
|
|
111
|
+
|
|
112
|
+
interface _ToProto
|
|
113
|
+
def to_proto: () -> StartTimeFilter
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# The type of `#initialize` parameter.
|
|
117
|
+
type init = StartTimeFilter | _ToProto
|
|
118
|
+
|
|
119
|
+
# The type of `repeated` field.
|
|
120
|
+
type field_array = ::Protobuf::Field::FieldArray[StartTimeFilter, StartTimeFilter | _ToProto]
|
|
121
|
+
|
|
122
|
+
# The type of `map` field.
|
|
123
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, StartTimeFilter, StartTimeFilter | _ToProto]
|
|
124
|
+
|
|
125
|
+
type array = ::Array[StartTimeFilter | _ToProto]
|
|
126
|
+
|
|
127
|
+
type hash[KEY] = ::Hash[KEY, StartTimeFilter | _ToProto]
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
class StatusFilter < ::Protobuf::Message
|
|
131
|
+
# Encode the message to a binary string
|
|
132
|
+
#
|
|
133
|
+
def self.encode: (StatusFilter) -> String
|
|
134
|
+
|
|
135
|
+
attr_accessor status(): ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus
|
|
136
|
+
|
|
137
|
+
def status=: (::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::values) -> ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::values
|
|
138
|
+
| ...
|
|
139
|
+
|
|
140
|
+
def status!: () -> ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus?
|
|
141
|
+
|
|
142
|
+
def initialize: (?status: ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::init) -> void
|
|
143
|
+
|
|
144
|
+
def []: (:status) -> ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus
|
|
145
|
+
| (::Symbol) -> untyped
|
|
146
|
+
|
|
147
|
+
def []=: (:status, ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus) -> ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus
|
|
148
|
+
| (:status, ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::values) -> ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::values
|
|
149
|
+
| (::Symbol, untyped) -> untyped
|
|
150
|
+
|
|
151
|
+
interface _ToProto
|
|
152
|
+
def to_proto: () -> StatusFilter
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# The type of `#initialize` parameter.
|
|
156
|
+
type init = StatusFilter | _ToProto
|
|
157
|
+
|
|
158
|
+
# The type of `repeated` field.
|
|
159
|
+
type field_array = ::Protobuf::Field::FieldArray[StatusFilter, StatusFilter | _ToProto]
|
|
160
|
+
|
|
161
|
+
# The type of `map` field.
|
|
162
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, StatusFilter, StatusFilter | _ToProto]
|
|
163
|
+
|
|
164
|
+
type array = ::Array[StatusFilter | _ToProto]
|
|
165
|
+
|
|
166
|
+
type hash[KEY] = ::Hash[KEY, StatusFilter | _ToProto]
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
end
|