mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 09:42:34 -05:00
support multiple flavor of notebooks (#12159)
* support multiple flavor of notebooks * update resource * comments
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user