forked from tsai/budibase
4 changed files with 10 additions and 13 deletions
@ -1,11 +0,0 @@ |
|||||
import { writable } from "svelte/store" |
|
||||
|
|
||||
const INITIAL_ADMIN_STATE = { |
|
||||
oauth: [], |
|
||||
} |
|
||||
|
|
||||
export const getAdminStore = () => { |
|
||||
const store = writable({ ...INITIAL_ADMIN_STATE }) |
|
||||
store.actions = {} |
|
||||
return store |
|
||||
} |
|
||||
@ -0,0 +1,9 @@ |
|||||
|
import { writable } from "svelte/store" |
||||
|
|
||||
|
const INITIAL_ADMIN_STATE = { |
||||
|
oauth: [], |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
export const admin = writable({ ...INITIAL_ADMIN_STATE }) |
||||
@ -1 +1,2 @@ |
|||||
export { organisation } from "./organisation" |
export { organisation } from "./organisation" |
||||
|
export { admin } from "./admin" |
||||
|
|||||
Loading…
Reference in new issue