File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,13 +60,19 @@ export interface CardAction {
6060 image ?: string
6161}
6262
63+ export interface CardImage {
64+ alt ?: string ,
65+ url : string ,
66+ tap ?: CardAction
67+ }
68+
6369export interface HeroCard {
6470 contentType : "application/vnd.microsoft.card.hero" ,
6571 content : {
6672 title ?: string ,
6773 subtitle ?: string ,
6874 text ?: string ,
69- images ?: { url : string } [ ] ,
75+ images ?: CardImage [ ] ,
7076 buttons ?: CardAction [ ] ,
7177 tap ?: CardAction
7278 }
@@ -78,7 +84,7 @@ export interface Thumbnail {
7884 title ?: string ,
7985 subtitle ?: string ,
8086 text ?: string ,
81- images ?: { url : string } [ ] ,
87+ images ?: CardImage [ ] ,
8288 buttons ?: CardAction [ ] ,
8389 tap ?: CardAction
8490 }
@@ -96,7 +102,7 @@ export interface ReceiptItem {
96102 title ?: string ,
97103 subtitle ?: string ,
98104 text ?: string ,
99- image ?: { url : string } ,
105+ image ?: CardImage ,
100106 price ?: string ,
101107 quantity ?: string ,
102108 tap ?: CardAction
@@ -123,7 +129,7 @@ export interface FlexCard {
123129 title ?: string ,
124130 subtitle ?: string ,
125131 text ?: string ,
126- images ?: { url : string , tap ?: CardAction } [ ] ,
132+ images ?: CardImage [ ] ,
127133 buttons ?: CardAction [ ] ,
128134 aspect ?: string
129135 }
You can’t perform that action at this time.
0 commit comments