3b3abd2a33
* 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
30 lines
597 B
TypeScript
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 {};
|
|
}
|
|
}
|