budibase/packages/client/src/stores/initialise.js

10 lines
263 B
JavaScript
Raw Normal View History

import { routeStore } from "./routes"
import { appStore } from "./app"
import { orgStore } from "./org"
export async function initialise() {
await routeStore.actions.fetchRoutes()
await appStore.actions.fetchAppDefinition()
2023-03-28 12:18:49 +02:00
await orgStore.actions.init()
}