Added plugin testing suite

This commit is contained in:
nicwands
2026-02-27 13:03:19 -05:00
parent 3c8b896073
commit fb62c356d8
5 changed files with 1047 additions and 7 deletions

View File

@@ -1,4 +1,6 @@
export { BaseNotesAdapter } from './BaseNotesAdapter'
export { definePlugin } from './definePlugin'
export { validatePlugin, SUPPORTED_API_VERSION } from './validatePlugin'
export { runPluginTests, createTestNote } from './testPlugin'
export type { NotesPlugin, ConfigField } from './types'
export type { TestNote, TestPluginOptions } from './testPlugin'

View File

@@ -15,3 +15,5 @@ export interface NotesPlugin {
configSchema: ConfigField[]
createAdapter(config: any): any
}
export type { BaseNotesAdapter } from './BaseNotesAdapter'