From 7277636d7c806098a650d12d1b6c00b502569a7a Mon Sep 17 00:00:00 2001 From: Alex Terentiev Date: Thu, 2 Nov 2023 10:05:27 -0400 Subject: [PATCH] fix: [SharePointActivityHandler] Rename type to responseType in handleActionResponse (#4558) * type -> responseType * md file --------- Co-authored-by: Alex Terentiev --- .../botframework-schema/etc/botframework-schema.api.md | 8 ++++---- .../src/sharepoint/handleActionResponse.ts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libraries/botframework-schema/etc/botframework-schema.api.md b/libraries/botframework-schema/etc/botframework-schema.api.md index 279563dfaa..24bf4bd5be 100644 --- a/libraries/botframework-schema/etc/botframework-schema.api.md +++ b/libraries/botframework-schema/etc/botframework-schema.api.md @@ -393,7 +393,7 @@ export interface BaseCardViewParameters { // @public export interface BaseHandleActionResponse { renderArguments?: CardViewResponse | QuickViewResponse; - type: ViewResponseType; + responseType: ViewResponseType; } // @public @@ -558,7 +558,7 @@ export type CardViewFooterParameters = CardViewActionsFooterParameters | [CardTe // @public export interface CardViewHandleActionResponse extends BaseHandleActionResponse { renderArguments: CardViewResponse; - type: 'Card'; + responseType: 'Card'; } // @public @@ -1480,7 +1480,7 @@ export interface MicrosoftPayMethodData { // @public export interface NoOpHandleActionResponse extends BaseHandleActionResponse { renderArguments?: undefined; - type: 'NoOp'; + responseType: 'NoOp'; } // @public @@ -1963,7 +1963,7 @@ export interface QuickViewData { // @public export interface QuickViewHandleActionResponse extends BaseHandleActionResponse { renderArguments: QuickViewResponse; - type: 'QuickView'; + responseType: 'QuickView'; } // @public diff --git a/libraries/botframework-schema/src/sharepoint/handleActionResponse.ts b/libraries/botframework-schema/src/sharepoint/handleActionResponse.ts index 3e4c427575..0d6f7f7842 100644 --- a/libraries/botframework-schema/src/sharepoint/handleActionResponse.ts +++ b/libraries/botframework-schema/src/sharepoint/handleActionResponse.ts @@ -16,7 +16,7 @@ export interface BaseHandleActionResponse { /** * The type of the view in the handle action response. */ - type: ViewResponseType; + responseType: ViewResponseType; /** * The render arguments. */ @@ -30,7 +30,7 @@ export interface CardViewHandleActionResponse extends BaseHandleActionResponse { /** * Card view. */ - type: 'Card'; + responseType: 'Card'; /** * Card view render arguments. */ @@ -44,7 +44,7 @@ export interface QuickViewHandleActionResponse extends BaseHandleActionResponse /** * Quick view. */ - type: 'QuickView'; + responseType: 'QuickView'; /** * Quick view render arguments. */ @@ -58,7 +58,7 @@ export interface NoOpHandleActionResponse extends BaseHandleActionResponse { /** * No op. */ - type: 'NoOp'; + responseType: 'NoOp'; /** * No op doesn't have render arguments. */