* chore(bi): complete chart api * feat(bi): sample plugin for adding custom charts * chore: improve * chore: remove console.log
20 lines
349 B
TypeScript
20 lines
349 B
TypeScript
import { InstallOptions, Plugin } from '@nocobase/server';
|
|
|
|
export class PluginSampleAddCustomChartServer extends Plugin {
|
|
afterAdd() {}
|
|
|
|
beforeLoad() {}
|
|
|
|
async load() {}
|
|
|
|
async install(options?: InstallOptions) {}
|
|
|
|
async afterEnable() {}
|
|
|
|
async afterDisable() {}
|
|
|
|
async remove() {}
|
|
}
|
|
|
|
export default PluginSampleAddCustomChartServer;
|