1
0
Fork 0
mirror of synced 2024-07-02 21:10:43 +12:00
budibase/packages/builder/src/builderStore/index.js

22 lines
670 B
JavaScript
Raw Normal View History

import { getStore } from "./store"
// import { getFrontendStore } from "./store/frontend"
import { getBackendUiStore } from "./store/backend"
import { getAutomationStore } from "./store/automation/"
import { getThemeStore } from "./store/theme"
import analytics from "analytics"
2019-07-13 21:35:57 +12:00
export const store = getStore()
// export const store = getFrontendStore()
export const backendUiStore = getBackendUiStore()
export const automationStore = getAutomationStore()
export const themeStore = getThemeStore()
2019-07-13 21:35:57 +12:00
export const initialise = async () => {
try {
await analytics.activate()
analytics.captureEvent("Builder Started")
} catch (err) {
console.log(err)
}
2020-05-07 21:53:34 +12:00
}