@microsoft/sp-adaptive-card-extension-base 1.13.1 → 1.14.0

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.
Files changed (34) hide show
  1. package/dist/eeec822e-c28a-46b4-affc-7058e4c1aa80.manifest.json +75 -70
  2. package/dist/index-internal-beta.d.ts +267 -16
  3. package/dist/index-internal-public.d.ts +171 -9
  4. package/dist/index-internal.d.ts +171 -9
  5. package/dist/sp-adaptive-card-extension-base_default_173ae32b19aec2e7570e.js +1 -0
  6. package/dist/sp-adaptive-card-extension-base_en-us_173ae32b19aec2e7570e.js +1 -0
  7. package/dist/sp-adaptive-card-extension-base_qps-ploc_173ae32b19aec2e7570e.js +1 -0
  8. package/dist/sp-adaptive-card-extension-base_qps-ploca_173ae32b19aec2e7570e.js +1 -0
  9. package/dist/test-api/AdaptiveCardExtensionTestWrapper.d.ts +2 -1
  10. package/dist/test-api/AdaptiveCardExtensionTestWrapper.js +7 -2
  11. package/dist/tsdoc-metadata.json +1 -1
  12. package/lib-commonjs/AdaptiveCardExtensionContext.js +12 -0
  13. package/lib-commonjs/AdaptiveCardExtensionLoader.js +2 -1
  14. package/lib-commonjs/BaseAdaptiveCardExtension.js +55 -6
  15. package/lib-commonjs/ac-template/util/actionButtonHelper.js +17 -1
  16. package/lib-commonjs/common/Flights.js +8 -1
  17. package/lib-commonjs/common/Killswitches.js +15 -1
  18. package/lib-commonjs/index.js +4 -0
  19. package/lib-commonjs/interfaces/ILocation.js +1 -1
  20. package/lib-commonjs/isolation/IsolatedAdaptiveCardExtensionService.js +217 -0
  21. package/lib-commonjs/isolation/interfaces/IIsolatedAction.js +3 -0
  22. package/lib-commonjs/isolation/interfaces/IIsolatedListener.js +3 -0
  23. package/lib-commonjs/isolation/interfaces/IIsolatedServiceCallbackParameters.js +3 -0
  24. package/lib-commonjs/isolation/interfaces/ILoadIsolatedAdaptiveCardExtensionParameters.js +3 -0
  25. package/lib-commonjs/isolation/interfaces/IRenderIsolatedQuickViewParameters.js +3 -0
  26. package/lib-commonjs/isolation/interfaces/IsolatedAdaptiveCardExtensionApplicationMessageEvent.js +3 -0
  27. package/lib-commonjs/isolation/interfaces/IsolatedServiceMessageEvent.js +3 -0
  28. package/lib-commonjs/test-api/AdaptiveCardExtensionTestWrapper.js +7 -2
  29. package/lib-commonjs/views/base/BaseView.js +10 -0
  30. package/package.json +8 -8
  31. package/dist/sp-adaptive-card-extension-base_default_e16b34147e78dbf0c04c.js +0 -1
  32. package/dist/sp-adaptive-card-extension-base_en-us_e16b34147e78dbf0c04c.js +0 -1
  33. package/dist/sp-adaptive-card-extension-base_qps-ploc_e16b34147e78dbf0c04c.js +0 -1
  34. package/dist/sp-adaptive-card-extension-base_qps-ploca_e16b34147e78dbf0c04c.js +0 -1
@@ -27,8 +27,10 @@ import { IPropertyPaneConfiguration } from '@microsoft/sp-property-pane';
27
27
  import { IPropertyPaneGroup } from '@microsoft/sp-property-pane';
28
28
  import { ISDKs } from '@microsoft/sp-webpart-base';
29
29
  import { ISerializedServerProcessedData } from '@microsoft/sp-component-base';
30
+ import { IShowCardAction } from 'adaptivecards/lib/schema';
30
31
  import { ISubmitAction } from 'adaptivecards/lib/schema';
31
32
  import { ITextBlock } from 'adaptivecards/lib/schema';
33
+ import { ServiceKey } from '@microsoft/sp-core-library';
32
34
  import { ServiceScope } from '@microsoft/sp-core-library';
33
35
  import { Version } from '@microsoft/sp-core-library';
34
36
 
@@ -44,6 +46,7 @@ export declare class AdaptiveCardExtensionContext extends BaseComponentContext {
44
46
  readonly manifest: IAdaptiveCardExtensionManifest<unknown>;
45
47
  private _aceHost;
46
48
  private _deviceContext;
49
+ private _location;
47
50
  /* Excluded from this release type: __constructor */
48
51
  /* Excluded from this release type: _host */
49
52
  /**
@@ -51,6 +54,7 @@ export declare class AdaptiveCardExtensionContext extends BaseComponentContext {
51
54
  */
52
55
  get propertyPane(): IPropertyPaneAccessor | undefined;
53
56
  get deviceContext(): DeviceContext;
57
+ /* Excluded from this release type: location */
54
58
  }
55
59
 
56
60
  /* Excluded from this release type: _AdaptiveCardExtensionHost */
@@ -215,9 +219,25 @@ export declare class BaseAdaptiveCardExtension<TProperties = {}, TState = Readon
215
219
  * @virtual
216
220
  */
217
221
  protected loadPropertyPaneResources(): Promise<void>;
218
- /* Excluded from this release type: getCacheSettings */
219
- /* Excluded from this release type: getCachedState */
222
+ /**
223
+ * Override the default cache settings.
224
+ *
225
+ * @beta
226
+ * @virtual
227
+ */
228
+ protected getCacheSettings(): Partial<ICacheSettings>;
229
+ /**
230
+ * This virtual method returns a subset of the state object that will be cached by the client.
231
+ *
232
+ * @remarks If not overriden, this will return an empty object.
233
+ * @param state - A shallow clone of the AdaptiveCardExtension state object.
234
+ *
235
+ * @beta
236
+ * @virtual
237
+ */
238
+ protected getCachedState(state: TState): Partial<TState>;
220
239
  /* Excluded from this release type: _internalOnAction */
240
+ /* Excluded from this release type: _internalOnActionError */
221
241
  /**
222
242
  * Lifecycle method called before serialization.
223
243
  *
@@ -284,7 +304,19 @@ export declare class BaseAdaptiveCardExtension<TProperties = {}, TState = Readon
284
304
  * @virtual
285
305
  */
286
306
  onInit(): Promise<void>;
287
- /* Excluded from this release type: onInit */
307
+ /**
308
+ * Lifecycle method called during initialization.
309
+ *
310
+ * @remarks Asynchronous data fetches should be started during this lifecycle. Rendering can either be dependent on the result
311
+ * or, if resolved immediately, a fetching data state can be rendered.
312
+ *
313
+ * @param cachedLoadParameters - Parameters containing the cached state object (see {@link BaseAdaptiveCardExtension.getCachedState}), which can be used to rehydrate the AdaptiveCardExtension.
314
+ * If undefined, the AdaptiveCardExtension was not cached or the cache expired.
315
+ *
316
+ * @beta
317
+ * @virtual
318
+ */
319
+ onInit(cachedLoadParameters?: ICachedLoadParameters): Promise<void>;
288
320
  /**
289
321
  * Lifecycle method called when a Property Pane field is changed.
290
322
  *
@@ -320,6 +352,7 @@ export declare class BaseAdaptiveCardExtension<TProperties = {}, TState = Readon
320
352
  */
321
353
  protected renderCard(): string | undefined;
322
354
  /* Excluded from this release type: _getPreFrameworkPropertyPaneConfiguration */
355
+ /* Excluded from this release type: _isFrameworkPropertyPaneEnabled */
323
356
  /**
324
357
  * Sets the visibility of the Adaptive Card Extension and re-render
325
358
  *
@@ -344,6 +377,16 @@ export declare class BaseAdaptiveCardExtension<TProperties = {}, TState = Readon
344
377
  /* Excluded from this release type: _getRenderArguments */
345
378
  /* Excluded from this release type: _propertiesMetadata */
346
379
  /* Excluded from this release type: _getPropertyPaneConfiguration */
380
+ /**
381
+ * The current {@link ViewNavigator}.
382
+ *
383
+ * @remarks If the current {@link BaseAdaptiveCardExtension.renderType} is `Card`
384
+ * then returns {@link BaseAdaptiveCardExtension.cardNavigator}.
385
+ *
386
+ * @remarks If the current {@link BaseAdaptiveCardExtension.renderType} is `QuickView`
387
+ * then returns {@link BaseAdaptiveCardExtension.quickViewNavigator}.
388
+ */
389
+ get navigator(): ViewNavigator<BaseView<TProperties, TState>>;
347
390
  /* Excluded from this release type: _internalDeserialize */
348
391
  /* Excluded from this release type: _internalInitialize */
349
392
  /* Excluded from this release type: _internalSetDisplayMode */
@@ -585,6 +628,14 @@ export declare abstract class BaseView<TProperties = {}, TState = {}, TData = {}
585
628
  * @param action - The {@link IActionArguments} for the current event.
586
629
  */
587
630
  onAction(action: IActionArguments): void;
631
+ /**
632
+ * @beta
633
+ *
634
+ * Error handler for Adaptive Card Actions.
635
+ *
636
+ * @param error - The {@link IActionErrorArguments} for the current event.
637
+ */
638
+ onActionError(error: IActionErrorArguments): void;
588
639
  /**
589
640
  * See {@link BaseAdaptiveCardExtension.setState}.
590
641
  */
@@ -609,16 +660,32 @@ export declare type CardSize = 'Medium' | 'Large';
609
660
  *
610
661
  * @public
611
662
  */
612
- export declare type DeviceContext = 'WebView' | 'Mobile';
663
+ export declare type DeviceContext = 'WebView' | 'Mobile' | 'TeamsDesktop';
613
664
 
614
665
  /**
615
666
  * The object passed to {@link BaseView.onAction} when an Adaptive Card Action is executed.
616
667
  *
617
- * @remarks Only `Submit`, `ShowCard` and 'SelectMedia' actions are routed to the {@link BaseView.onAction} handler.
668
+ * @remarks Only `Submit`, `ShowCard`, 'Viva.SelectMedia', 'Viva.GetLocation' and 'Viva.ShowLocation; actions are routed to the {@link BaseView.onAction} handler.
618
669
  *
619
670
  * @public
620
671
  */
621
- export declare type IActionArguments = ISubmitActionArguments | IShowCardActionArguments;
672
+ export declare type IActionArguments = ISubmitActionArguments | IShowCardActionArguments | ISelectMediaActionArguments | IGetLocationActionArguments;
673
+
674
+ /**
675
+ * @beta
676
+ */
677
+ export declare type IActionError = {
678
+ code: string;
679
+ };
680
+
681
+ /**
682
+ * The object passed to {@link BaseView.onActionError} when an Adaptive Card Action is executed.
683
+ *
684
+ * @remarks Only `Submit`, `ShowCard`, 'Viva.SelectMedia', 'Viva.GetLocation' and 'Viva.ShowLocation; actions are routed to the {@link BaseView.onActionError} handler.
685
+ *
686
+ * @public
687
+ */
688
+ export declare type IActionErrorArguments = IBaseActionErrorArguments | ISelectMediaActionErrorArguments | ILocationErrorArguments;
622
689
 
623
690
  /* Excluded from this release type: _IAdaptiveCardExtension */
624
691
 
@@ -653,6 +720,19 @@ export declare interface IAdaptiveCardExtensionPropertyMetadata extends ICompone
653
720
 
654
721
  /* Excluded from this release type: _IAdaptiveCardRenderParameters */
655
722
 
723
+ /**
724
+ * This object represents error associated with a single attachment
725
+ * @remarks API under active development and not ready for use.
726
+ * @public
727
+ */
728
+ export declare interface IAttachmentError {
729
+ /**
730
+ * Error code associated with a particular attachment
731
+ * @beta
732
+ */
733
+ errorCode: 'FileTooLarge' | 'IncorrectFileFormat';
734
+ }
735
+
656
736
  /**
657
737
  * Base object passed to {@link BaseView.onAction} when an Adaptive Card Action is executed.
658
738
  *
@@ -671,6 +751,29 @@ export declare interface IBaseActionArguments {
671
751
  id?: string;
672
752
  }
673
753
 
754
+ /**
755
+ * Base object passed to {@link BaseView.onActionError} when an Adaptive Card OnActionError is executed.
756
+ *
757
+ * @public
758
+ */
759
+ export declare interface IBaseActionErrorArguments {
760
+ /**
761
+ * The type of Adaptive Card Action thsat caused the error.
762
+ * @beta
763
+ */
764
+ type: 'Submit' | 'ShowCard' | 'VivaAction.SelectMedia' | 'VivaAction.GetLocation' | 'VivaAction.ShowLocation';
765
+ /**
766
+ * The id specified in the Adaptive Card template
767
+ * @beta
768
+ */
769
+ id?: string;
770
+ /**
771
+ * The error thrown by the action
772
+ * @beta
773
+ */
774
+ error: IActionError;
775
+ }
776
+
674
777
  /**
675
778
  * The primitive data parameters for every Card view.
676
779
  *
@@ -696,6 +799,14 @@ export declare interface IBaseCardParameters {
696
799
  title?: string;
697
800
  }
698
801
 
802
+ /* Excluded from this release type: IBaseIsolatedApplicationMessage */
803
+
804
+ /* Excluded from this release type: _IBaseIsolatedMessage */
805
+
806
+ /* Excluded from this release type: IBaseIsolatedServiceCallbackParameters */
807
+
808
+ /* Excluded from this release type: _IBaseIsolatedServiceMessage */
809
+
699
810
  /**
700
811
  * The data parameters for {@link BaseBasicCardView}.
701
812
  *
@@ -708,9 +819,35 @@ export declare interface IBasicCardParameters extends IBaseCardParameters {
708
819
  primaryText: string;
709
820
  }
710
821
 
711
- /* Excluded from this release type: ICachedLoadParameters */
822
+ /**
823
+ * Parameters used to rehydrate the AdaptiveCardExtension during a cached load
824
+ *
825
+ * @beta
826
+ * @remarks API under active development and not ready for use.
827
+ */
828
+ export declare interface ICachedLoadParameters {
829
+ state: any;
830
+ cardNavigatorState: string[];
831
+ }
712
832
 
713
- /* Excluded from this release type: ICacheSettings */
833
+ /**
834
+ * @beta
835
+ */
836
+ export declare interface ICacheSettings {
837
+ /**
838
+ * Whether cache is enabled. Default: true
839
+ */
840
+ isEnabled: boolean;
841
+ /**
842
+ * Expiry time in seconds. Default: 86400 seconds (24 hours)
843
+ */
844
+ expiryTimeInSeconds: number;
845
+ /**
846
+ * Returns the Card View used to generate the cached card.
847
+ * By default, the currently rendered Card View will be used to cache the card.
848
+ */
849
+ cachedCardView?: () => BaseCardView;
850
+ }
714
851
 
715
852
  /**
716
853
  * Type of handler for when a button is pressed.
@@ -797,15 +934,17 @@ export declare interface IExternalLinkParameters {
797
934
  /**
798
935
  * Interface for Viva Get Location action
799
936
  * @remarks API under active development and not ready for use.
800
- * @beta
937
+ * @public
801
938
  */
802
939
  export declare interface IGetLocationAction extends IAction {
803
940
  /**
804
941
  * Indicates this is a Viva Select Location button.
942
+ * @beta
805
943
  */
806
944
  type: 'VivaAction.GetLocation';
807
945
  /**
808
946
  * Parameters that can be supplied with the Viva Get Location Action.
947
+ * @beta
809
948
  */
810
949
  parameters?: IGetLocationActionParameters;
811
950
  }
@@ -813,16 +952,18 @@ export declare interface IGetLocationAction extends IAction {
813
952
  /**
814
953
  * The object passed to {@link BaseView.onAction} when a Get location Action is executed.
815
954
  * @remarks API under active development and not ready for use.
816
- * @beta
955
+ * @public
817
956
  */
818
957
  export declare interface IGetLocationActionArguments extends Omit<IBaseActionArguments, 'type'> {
819
958
  /**
820
959
  * The type of Adaptive Card Action.
960
+ * @beta
821
961
  */
822
962
  type: 'VivaAction.GetLocation';
823
963
  /**
824
964
  * Coordinates of the location.
825
965
  * In case of erroneous situation, location object will be undefined.
966
+ * @beta
826
967
  */
827
968
  location?: ILocation;
828
969
  }
@@ -873,9 +1014,31 @@ export declare interface IImageCardParameters extends IBaseCardParameters {
873
1014
  primaryText: string;
874
1015
  }
875
1016
 
1017
+ /* Excluded from this release type: _IIsolatedAction */
1018
+
1019
+ /* Excluded from this release type: _IIsolatedActionServiceMessage */
1020
+
1021
+ /* Excluded from this release type: _IIsolatedErrorCallbackParameters */
1022
+
1023
+ /* Excluded from this release type: _IIsolatedErrorMessage */
1024
+
1025
+ /* Excluded from this release type: _IIsolatedInitializeServiceMessage */
1026
+
1027
+ /* Excluded from this release type: _IIsolatedReadyMessage */
1028
+
1029
+ /* Excluded from this release type: _IIsolatedRenderCallbackParameters */
1030
+
1031
+ /* Excluded from this release type: _IIsolatedRenderMessage */
1032
+
1033
+ /* Excluded from this release type: _IIsolatedTokenRequestMessage */
1034
+
1035
+ /* Excluded from this release type: IIsolatedVisibilityChangeCallbackParameters */
1036
+
1037
+ /* Excluded from this release type: _ILoadIsolatedAdaptiveCardExtensionParameters */
1038
+
876
1039
  /**
877
1040
  * Interface for location coordinates
878
- * @remarks API under active development and not ready for use.
1041
+ * @remarks API under active development and is not ready for use.
879
1042
  * @beta
880
1043
  */
881
1044
  export declare interface ILocation {
@@ -897,8 +1060,30 @@ export declare interface ILocation {
897
1060
  accuracy?: number;
898
1061
  }
899
1062
 
1063
+ /**
1064
+ * This object represents the error data that the Location action can throw.
1065
+ * @remarks API under active development and not ready for use.
1066
+ * @public
1067
+ */
1068
+ export declare interface ILocationErrorArguments extends Omit<IBaseActionErrorArguments, 'type'> {
1069
+ /**
1070
+ * Indicates this is a Viva Select Location button.
1071
+ * @beta
1072
+ */
1073
+ type: 'VivaAction.GetLocation';
1074
+ /**
1075
+ * Error codes specific to the Get Location Error
1076
+ * @beta
1077
+ */
1078
+ error: {
1079
+ code: 'InternalError' | 'PermissionDenied';
1080
+ };
1081
+ }
1082
+
900
1083
  /* Excluded from this release type: _INavigationBarProperties */
901
1084
 
1085
+ /* Excluded from this release type: _IOpenUrlActionArgument */
1086
+
902
1087
  /**
903
1088
  * The data parameters for {@link BasePrimaryTextCardView}.
904
1089
  *
@@ -915,6 +1100,8 @@ export declare interface IPrimaryTextCardParameters extends IBaseCardParameters
915
1100
  primaryText: string;
916
1101
  }
917
1102
 
1103
+ /* Excluded from this release type: _IQuickViewActionArgument */
1104
+
918
1105
  /**
919
1106
  * Open the quick view.
920
1107
  *
@@ -947,6 +1134,10 @@ export declare interface IQuickViewParameters {
947
1134
 
948
1135
  /* Excluded from this release type: _IQuickViewSubmitData */
949
1136
 
1137
+ /* Excluded from this release type: _IRenderIsolatedQuickViewParameters */
1138
+
1139
+ /* Excluded from this release type: _isAdaptiveCardExtensionLKGCachingEnabled */
1140
+
950
1141
  /* Excluded from this release type: _ISelectActionTemplateAdaptiveCard */
951
1142
 
952
1143
  /* Excluded from this release type: _ISelectActionTemplateContainer */
@@ -954,27 +1145,67 @@ export declare interface IQuickViewParameters {
954
1145
  /**
955
1146
  * Interface for new Viva Select Media action
956
1147
  * @remarks API under active development and not ready for use.
957
- * @beta
1148
+ * @public
958
1149
  */
959
1150
  export declare interface ISelectMediaAction extends IAction {
1151
+ /**
1152
+ * Indicates this is a Viva Select Location button.
1153
+ * @beta
1154
+ */
960
1155
  type: 'VivaAction.SelectMedia';
1156
+ /**
1157
+ * Parameters that can be provided to the ISelectMedia Action
1158
+ * @beta
1159
+ */
961
1160
  parameters: ISelectMediaActionParameters;
962
1161
  }
963
1162
 
964
1163
  /**
965
1164
  * The object passed to {@link BaseView.onAction} when a `SelectMedia` Action is executed.
966
1165
  * @remarks API under active development and not ready for use.
967
- * @beta
1166
+ * @public
968
1167
  */
969
1168
  export declare interface ISelectMediaActionArguments extends Omit<IBaseActionArguments, 'type'> {
970
1169
  /**
971
1170
  * The type of Adaptive Card Action.
1171
+ * @beta
972
1172
  */
973
1173
  type: 'VivaAction.SelectMedia';
974
1174
  /**
975
1175
  * media object returned media picker API
1176
+ * @beta
976
1177
  */
977
1178
  media: ISelectMediaAttachment[];
1179
+ /**
1180
+ * Submit Action data that is passed to internal action handler to ensure forms do not clear.
1181
+ * @beta
1182
+ */
1183
+ data: any;
1184
+ }
1185
+
1186
+ /**
1187
+ * This object represents the data returned by the native media picker API.
1188
+ * @remarks API under active development and not ready for use.
1189
+ * @public
1190
+ */
1191
+ export declare interface ISelectMediaActionErrorArguments extends Omit<IBaseActionErrorArguments, 'type'> {
1192
+ /**
1193
+ * The type of Adaptive Card Action.
1194
+ * @beta
1195
+ */
1196
+ type: 'VivaAction.SelectMedia';
1197
+ /**
1198
+ * media object returned media picker API
1199
+ * @beta
1200
+ */
1201
+ media: ISelectMediaAttachment[] | undefined;
1202
+ /**
1203
+ * Error codes specific to the Select Media Action.
1204
+ * @beta
1205
+ */
1206
+ error: {
1207
+ code: 'FileSelectionFailed' | 'FilesSelectedAreIncompatible';
1208
+ };
978
1209
  }
979
1210
 
980
1211
  /**
@@ -1015,6 +1246,10 @@ export declare interface ISelectMediaAttachment {
1015
1246
  * Content of the file represented as base64Strings
1016
1247
  */
1017
1248
  content: string;
1249
+ /**
1250
+ * Error associated with attachment
1251
+ */
1252
+ error?: IAttachmentError;
1018
1253
  }
1019
1254
 
1020
1255
  /**
@@ -1028,7 +1263,7 @@ export declare interface ISelectMediaCardAction {
1028
1263
  */
1029
1264
  type: 'VivaAction.SelectMedia';
1030
1265
  /**
1031
- * Parameters for the external link.
1266
+ * Parameters for the Select Media Action
1032
1267
  */
1033
1268
  parameters: ISelectMediaActionParameters;
1034
1269
  }
@@ -1048,15 +1283,17 @@ export declare interface IShowCardActionArguments extends IBaseActionArguments {
1048
1283
  /**
1049
1284
  * Interface for Viva Show Location action
1050
1285
  * @remarks API under active development and not ready for use.
1051
- * @beta
1286
+ * @public
1052
1287
  */
1053
1288
  export declare interface IShowLocationAction extends IAction {
1054
1289
  /**
1055
1290
  * Indicates this is a Viva show Location button.
1291
+ * @beta
1056
1292
  */
1057
1293
  type: 'VivaAction.ShowLocation';
1058
1294
  /**
1059
1295
  * Parameters that can be supplied with the Viva Show Location Action.
1296
+ * @beta
1060
1297
  */
1061
1298
  parameters?: IShowLocationActionParameters;
1062
1299
  }
@@ -1090,12 +1327,26 @@ export declare interface IShowLocationCardAction {
1090
1327
  parameters?: IShowLocationActionParameters;
1091
1328
  }
1092
1329
 
1330
+ /* Excluded from this release type: _IsolatedAdaptiveCardExtensionApplicationMessageEvent */
1331
+
1332
+ /* Excluded from this release type: _IsolatedAdaptiveCardExtensionService */
1333
+
1334
+ /* Excluded from this release type: _IsolatedAdaptiveCardExtensionServiceCallback */
1335
+
1336
+ /* Excluded from this release type: _IsolatedServiceCallbackParameters */
1337
+
1338
+ /* Excluded from this release type: _IsolatedServiceMessageEvent */
1339
+
1093
1340
  /**
1094
1341
  * SPFx Adaptive Card Extension schema for Adaptive Cards.
1095
1342
  *
1096
1343
  * @public
1097
1344
  */
1098
- export declare interface ISPFxAdaptiveCard extends IAdaptiveCard {
1345
+ export declare interface ISPFxAdaptiveCard extends Omit<IAdaptiveCard, 'actions'> {
1346
+ /**
1347
+ * Types of actions being exposed
1348
+ */
1349
+ actions?: (ISubmitAction | IOpenUrlAction | IShowCardAction | ISelectMediaAction | IGetLocationAction | IShowLocationAction)[];
1099
1350
  }
1100
1351
 
1101
1352
  /**