import { Registerable } from '@baserow/modules/core/registry' /** * The name plugin might be a bit confusing because you also have Nuxt plugins, but * this is not the same. A plugin can contain hooks for certain events such as when * a user account is created. */ export class BaserowPlugin extends Registerable { constructor() { super() this.type = this.getType() } /** * Hook that is called when a user creates a new account. This can for example be * used for submitting an analytical event. */ userCreated(user, context) {} }