20 lines
327 B
TypeScript
20 lines
327 B
TypeScript
import { InstallOptions, Plugin } from '@nocobase/server';
|
|
|
|
export class CustomBlockPlugin extends Plugin {
|
|
getName(): string {
|
|
return this.getPackageName(__dirname);
|
|
}
|
|
|
|
beforeLoad() {
|
|
// TODO
|
|
}
|
|
|
|
async load() {}
|
|
|
|
async install(options: InstallOptions) {
|
|
// TODO
|
|
}
|
|
}
|
|
|
|
export default CustomBlockPlugin;
|