Skip to content

Commit f7a5b38

Browse files
yux0dmetzgar
authored andcommitted
update thrift (#58)
1 parent 0741b39 commit f7a5b38

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cadence-web",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"description": "Cadence Web UI",
55
"main": "server/index.js",
66
"licence": "MIT",

server/idl/shared.thrift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ enum DecisionType {
131131
ContinueAsNewWorkflowExecution,
132132
StartChildWorkflowExecution,
133133
SignalExternalWorkflowExecution,
134+
UpsertWorkflowSearchAttributes,
134135
}
135136

136137
enum EventType {
@@ -175,6 +176,7 @@ enum EventType {
175176
SignalExternalWorkflowExecutionInitiated,
176177
SignalExternalWorkflowExecutionFailed,
177178
ExternalWorkflowExecutionSignaled,
179+
UpsertWorkflowSearchAttributes,
178180
}
179181

180182
enum DecisionTaskFailedCause {
@@ -200,6 +202,7 @@ enum DecisionTaskFailedCause {
200202
RESET_WORKFLOW,
201203
BAD_BINARY,
202204
SCHEDULE_ACTIVITY_DUPLICATE_ID,
205+
BAD_SEARCH_ATTRIBUTES,
203206
}
204207

205208
enum CancelExternalWorkflowExecutionFailedCause {
@@ -396,6 +399,10 @@ struct SignalExternalWorkflowExecutionDecisionAttributes {
396399
60: optional bool childWorkflowOnly
397400
}
398401

402+
struct UpsertWorkflowSearchAttributesDecisionAttributes {
403+
10: optional SearchAttributes searchAttributes
404+
}
405+
399406
struct RecordMarkerDecisionAttributes {
400407
10: optional string markerName
401408
20: optional binary details
@@ -448,6 +455,7 @@ struct Decision {
448455
90: optional ContinueAsNewWorkflowExecutionDecisionAttributes continueAsNewWorkflowExecutionDecisionAttributes
449456
100: optional StartChildWorkflowExecutionDecisionAttributes startChildWorkflowExecutionDecisionAttributes
450457
110: optional SignalExternalWorkflowExecutionDecisionAttributes signalExternalWorkflowExecutionDecisionAttributes
458+
120: optional UpsertWorkflowSearchAttributesDecisionAttributes upsertWorkflowSearchAttributesDecisionAttributes
451459
}
452460

453461
struct WorkflowExecutionStartedEventAttributes {
@@ -736,6 +744,11 @@ struct ExternalWorkflowExecutionSignaledEventAttributes {
736744
40: optional binary control
737745
}
738746

747+
struct UpsertWorkflowSearchAttributesEventAttributes {
748+
10: optional i64 (js.type = "Long") decisionTaskCompletedEventId
749+
20: optional SearchAttributes searchAttributes
750+
}
751+
739752
struct StartChildWorkflowExecutionInitiatedEventAttributes {
740753
10: optional string domain
741754
20: optional string workflowId
@@ -863,6 +876,7 @@ struct HistoryEvent {
863876
420: optional SignalExternalWorkflowExecutionInitiatedEventAttributes signalExternalWorkflowExecutionInitiatedEventAttributes
864877
430: optional SignalExternalWorkflowExecutionFailedEventAttributes signalExternalWorkflowExecutionFailedEventAttributes
865878
440: optional ExternalWorkflowExecutionSignaledEventAttributes externalWorkflowExecutionSignaledEventAttributes
879+
450: optional UpsertWorkflowSearchAttributesEventAttributes upsertWorkflowSearchAttributesEventAttributes
866880
}
867881

868882
struct History {

0 commit comments

Comments
 (0)