(plugin: TaskNotesPlugin)
| 311 | } |
| 312 | |
| 313 | function registerActiveViews(plugin: TaskNotesPlugin): void { |
| 314 | plugin.registerView(POMODORO_VIEW_TYPE, (leaf) => new PomodoroView(leaf, plugin)); |
| 315 | plugin.registerView(POMODORO_STATS_VIEW_TYPE, (leaf) => new PomodoroStatsView(leaf, plugin)); |
| 316 | plugin.registerView(STATS_VIEW_TYPE, (leaf) => new StatsView(leaf, plugin)); |
| 317 | plugin.registerView( |
| 318 | RELEASE_NOTES_VIEW_TYPE, |
| 319 | (leaf) => new ReleaseNotesView(leaf, plugin, RELEASE_NOTES_BUNDLE, CURRENT_VERSION) |
| 320 | ); |
| 321 | } |
| 322 | |
| 323 | function registerEditorIntegrations(plugin: TaskNotesPlugin): void { |
| 324 | plugin.registerEditorExtension(createTaskLinkOverlay(plugin)); |
no test coverage detected