Commit 356bd2cb authored by nanahira's avatar nanahira

Migrate schema to Config

parent f6eb7343
...@@ -6,7 +6,7 @@ export { MyPluginConfig } from './config'; ...@@ -6,7 +6,7 @@ export { MyPluginConfig } from './config';
export const name = 'srvpro-roomlist'; export const name = 'srvpro-roomlist';
const plugin = new MyPlugin(); const plugin = new MyPlugin();
export const schema = plugin.schema; export const Config = plugin.schema;
export function apply(ctx: Context, config: MyPluginConfig) { export function apply(ctx: Context, config: MyPluginConfig) {
ctx.plugin(plugin, config); ctx.plugin(plugin, config);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment