vsc-material-theme/extensions/webviews/ReleaseNotes.ts
Alessio Occhipinti 3b3abd2a33 Feat/sanity (#298)
* chore: finishing sanity integration with correct schemas

* chore: adding sanity client (waiting for bug fix from sanity)

* feat: Sanity integration completed

* chore: removed useless bootstrap type
2018-12-23 17:35:38 +01:00

30 lines
597 B
TypeScript

import {WebviewController} from './Webview';
import {
ExtensionContext
} from 'vscode';
export class ReleaseNotesWebview extends WebviewController<{}> {
constructor(context: ExtensionContext) {
super(context);
}
get filename(): string {
return 'release-notes.html';
}
get id(): string {
return 'materialTheme.releaseNotes';
}
get title(): string {
return 'Material Theme Release Notes';
}
/**
* This will be called by the WebviewController when init the view
* passing as `window.bootstrap` to the view.
*/
getBootstrap() {
return {};
}
}