Skip to content

Commit

Permalink
fix: [SharePointActivityHandler] Rename type to responseType in handl…
Browse files Browse the repository at this point in the history
…eActionResponse (#4558)

* type -> responseType

* md file

---------

Co-authored-by: Alex Terentiev <aterentiev@microsoft.com>
  • Loading branch information
AJIXuMuK and Alex Terentiev committed Nov 2, 2023
1 parent d18c19c commit 7277636
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions libraries/botframework-schema/etc/botframework-schema.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ export interface BaseCardViewParameters {
// @public
export interface BaseHandleActionResponse {
renderArguments?: CardViewResponse | QuickViewResponse;
type: ViewResponseType;
responseType: ViewResponseType;
}

// @public
Expand Down Expand Up @@ -558,7 +558,7 @@ export type CardViewFooterParameters = CardViewActionsFooterParameters | [CardTe
// @public
export interface CardViewHandleActionResponse extends BaseHandleActionResponse {
renderArguments: CardViewResponse;
type: 'Card';
responseType: 'Card';
}

// @public
Expand Down Expand Up @@ -1480,7 +1480,7 @@ export interface MicrosoftPayMethodData {
// @public
export interface NoOpHandleActionResponse extends BaseHandleActionResponse {
renderArguments?: undefined;
type: 'NoOp';
responseType: 'NoOp';
}

// @public
Expand Down Expand Up @@ -1963,7 +1963,7 @@ export interface QuickViewData {
// @public
export interface QuickViewHandleActionResponse extends BaseHandleActionResponse {
renderArguments: QuickViewResponse;
type: 'QuickView';
responseType: 'QuickView';
}

// @public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface BaseHandleActionResponse {
/**
* The type of the view in the handle action response.
*/
type: ViewResponseType;
responseType: ViewResponseType;
/**
* The render arguments.
*/
Expand All @@ -30,7 +30,7 @@ export interface CardViewHandleActionResponse extends BaseHandleActionResponse {
/**
* Card view.
*/
type: 'Card';
responseType: 'Card';
/**
* Card view render arguments.
*/
Expand All @@ -44,7 +44,7 @@ export interface QuickViewHandleActionResponse extends BaseHandleActionResponse
/**
* Quick view.
*/
type: 'QuickView';
responseType: 'QuickView';
/**
* Quick view render arguments.
*/
Expand All @@ -58,7 +58,7 @@ export interface NoOpHandleActionResponse extends BaseHandleActionResponse {
/**
* No op.
*/
type: 'NoOp';
responseType: 'NoOp';
/**
* No op doesn't have render arguments.
*/
Expand Down

0 comments on commit 7277636

Please sign in to comment.