mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 09:35:39 -05:00
Books/navigation (#6280)
* added previous and next buttons * previous and next notebook API * links for prev/next notebooks * fixed first and last pages * made code more readable * addressed Kevin's comments * moved logic over to BookTreeItem * show buttons in dev mode only * added BookTreeItemFormat interface * added interface and enum * removed localize call
This commit is contained in:
13
src/sql/azdata.proposed.d.ts
vendored
13
src/sql/azdata.proposed.d.ts
vendored
@@ -5255,6 +5255,19 @@ declare module 'azdata' {
|
||||
value: string;
|
||||
}
|
||||
|
||||
export function registerNavigationProvider(provider: NavigationProvider): vscode.Disposable;
|
||||
|
||||
export interface NavigationProvider {
|
||||
readonly providerId: string;
|
||||
getNavigation(notebookUri: vscode.Uri): Thenable<NavigationResult>;
|
||||
}
|
||||
|
||||
export interface NavigationResult {
|
||||
hasNavigation: boolean;
|
||||
previous?: vscode.Uri;
|
||||
next?: vscode.Uri;
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user