BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

Fully type out `AdaptiveCardsPackage.ts`

Open compulim opened this issue 3 years ago • 0 comments

Feature Request

Currently, in packages/bundle/src/types/AdaptiveCardsPackage.ts, we are only re-exporting types that Web Chat is interested.

We should fully export the whole typing for Adaptive Cards package, include Versions which is used by PVA.

type AdaptiveCardsPackage = {
  AdaptiveCard: typeof AdaptiveCard;
  GlobalSettings: typeof GlobalSettings;
  HorizontalAlignment: typeof HorizontalAlignment;
  HostConfig: typeof HostConfig;
  TextSize: typeof TextSize;
  TextWeight: typeof TextWeight;
  SerializationContext: typeof SerializationContext;
  Version: typeof Version;
};

export default AdaptiveCardsPackage;

[feature-request]

compulim avatar Mar 28 '22 17:03 compulim