File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ export type KnownVisualizationData =
9
9
| GridVisualizationData
10
10
| ImageVisualizationData
11
11
| MonacoTextVisualizationData
12
+ | MonacoTextDiffVisualizationData
12
13
| TableVisualizationData
13
14
| PlotlyVisualizationData
14
15
| SimpleTextVisualizationData
@@ -162,6 +163,24 @@ export type MonacoTextVisualizationData = {
162
163
fileName ?: string ;
163
164
} ;
164
165
166
+ export type MonacoTextDiffVisualizationData = {
167
+ kind : {
168
+ text : true ;
169
+ } ;
170
+ /**
171
+ * The text to show
172
+ */
173
+ text : string ;
174
+ /**
175
+ * The text to compare against
176
+ */
177
+ otherText : string ;
178
+ /**
179
+ * An optional filename that might be used for chosing a syntax highlighter
180
+ */
181
+ fileName ?: string ;
182
+ } ;
183
+
165
184
export type TableVisualizationData = {
166
185
kind : {
167
186
table : true ;
You can’t perform that action at this time.
0 commit comments