mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-23 21:00:17 +00:00
22 lines
902 B
JavaScript
22 lines
902 B
JavaScript
import { Registry } from '@baserow/modules/core/registry'
|
|
|
|
import applicationStore from '@baserow/modules/core/store/application'
|
|
import authStore from '@baserow/modules/core/store/auth'
|
|
import groupStore from '@baserow/modules/core/store/group'
|
|
import notificationStore from '@baserow/modules/core/store/notification'
|
|
import sidebarStore from '@baserow/modules/core/store/sidebar'
|
|
|
|
export default ({ store, app }, inject) => {
|
|
const registry = new Registry()
|
|
registry.registerNamespace('plugin')
|
|
registry.registerNamespace('application')
|
|
registry.registerNamespace('view')
|
|
registry.registerNamespace('field')
|
|
inject('registry', registry)
|
|
|
|
store.registerModule('application', applicationStore)
|
|
store.registerModule('auth', authStore)
|
|
store.registerModule('group', groupStore)
|
|
store.registerModule('notification', notificationStore)
|
|
store.registerModule('sidebar', sidebarStore)
|
|
}
|