-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1488 Incorrect types with ViewUpdateResponseAction and ViewPushResponseAction #1490
Conversation
…iewPushResponseAction
@@ -62,7 +62,7 @@ export interface ViewSubmitAction { | |||
id: string; | |||
name: string; | |||
}; | |||
response_urls: ViewResponseUrl[]; | |||
response_urls?: ViewResponseUrl[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while reviewing the changes again, I found that this field needs to be optional
@@ -103,7 +103,7 @@ export interface ViewClosedAction { | |||
|
|||
export interface ViewWorkflowStepSubmitAction extends ViewSubmitAction { | |||
trigger_id: string; | |||
response_urls: ViewResponseUrl[]; | |||
response_urls?: ViewResponseUrl[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
@@ -174,12 +174,12 @@ export interface ViewOutput { | |||
|
|||
export interface ViewUpdateResponseAction { | |||
response_action: 'update'; | |||
view: ViewOutput; | |||
view: View; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these reverting changes are for #1488
Codecov Report
@@ Coverage Diff @@
## main #1490 +/- ##
=======================================
Coverage 81.99% 81.99%
=======================================
Files 18 18
Lines 1494 1494
Branches 435 435
=======================================
Hits 1225 1225
Misses 172 172
Partials 97 97 Continue to review full report at Codecov.
|
Summary
This pull request resolves #1488
Requirements (place an
x
in each[ ]
)