mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Add deprecated tag for standardKernels property (#11038)
* Remove unnecessary prop from NotebookProvider API * Add deprecated tag * make standardKernels required again * tweak comment
This commit is contained in:
4
src/sql/azdata.d.ts
vendored
4
src/sql/azdata.d.ts
vendored
@@ -4550,6 +4550,10 @@ declare module 'azdata' {
|
|||||||
|
|
||||||
export interface NotebookProvider {
|
export interface NotebookProvider {
|
||||||
readonly providerId: string;
|
readonly providerId: string;
|
||||||
|
/**
|
||||||
|
* @deprecated standardKernels will be removed in an upcoming release. Standard kernel contribution
|
||||||
|
* should happen via JSON for extensions. Until this is removed, notebook providers can safely return an empty array.
|
||||||
|
*/
|
||||||
readonly standardKernels: IStandardKernel[];
|
readonly standardKernels: IStandardKernel[];
|
||||||
getNotebookManager(notebookUri: vscode.Uri): Thenable<NotebookManager>;
|
getNotebookManager(notebookUri: vscode.Uri): Thenable<NotebookManager>;
|
||||||
handleNotebookClosed(notebookUri: vscode.Uri): void;
|
handleNotebookClosed(notebookUri: vscode.Uri): void;
|
||||||
|
|||||||
Reference in New Issue
Block a user