add ability for md + text reports (#18667)

* add ability for md + text reports

* change report type

* re add types for ads

* match fields and add enum for mimetype

* rename preview report

* update type

* rename generate report type

* fix comment
This commit is contained in:
Aditya Bist
2022-03-09 15:48:21 -08:00
committed by GitHub
parent e50bded5d1
commit 822199c9be
8 changed files with 31 additions and 12 deletions

View File

@@ -1099,7 +1099,7 @@ declare module 'azdata' {
* Generate preview report describing the changes to be made.
* @param table the table information
*/
generatePreviewReport(table: TableInfo): Thenable<string>;
generatePreviewReport(table: TableInfo): Thenable<GeneratePreviewReportResult>;
/**
* Notify the provider that the table designer has been closed.
@@ -1515,6 +1515,17 @@ declare module 'azdata' {
*/
view: TableDesignerView;
}
export interface GeneratePreviewReportResult {
/**
* Report generated for generate preview
*/
report: string;
/**
* Format (mimeType) of the report
*/
mimeType: string;
}
}
export interface ExecutionPlanGraph {