support multiple flavor of notebooks (#12159)

* support multiple flavor of notebooks

* update resource

* comments
This commit is contained in:
Alan Ren
2020-09-08 16:07:55 -07:00
committed by GitHub
parent f6c63f2dcb
commit e2b5e9bd66
5 changed files with 49 additions and 20 deletions

View File

@@ -125,7 +125,7 @@ export interface NotebookWizardPageInfo extends PageInfoBase {
description?: string;
}
export interface NotebookBasedDialogInfo extends DialogInfoBase {
notebook: string | NotebookPathInfo;
notebook: string | NotebookPathInfo | NotebookInfo[];
runNotebook?: boolean;
taskName?: string;
}
@@ -298,6 +298,14 @@ export interface NotebookPathInfo {
linux: string;
}
export interface NotebookInfo {
/**
* Type of the notebook, for example: powershell, python...
*/
type: string;
path: string;
}
export enum OsDistribution {
win32 = 'win32',
darwin = 'darwin',