import { writable, type Writable } from "svelte/store"; import type { UserData, AssetData, RouteData } from "cms/types" /** List of assets */ export const ASSETS:Writable = writable([]) /** List of users */ export const USERS:Writable = writable([]) /** Current logged on user */ export const USER:Writable = writable(null) /** Search props */ export const SEARCH = writable({ query:"", fetching:false }) /** Current object data being added */ export const ROUTE_OBJECT:Writable = writable()