initial commit. Cloned timetracker repository

This commit is contained in:
Daniel Goc
2026-03-10 09:02:57 +01:00
commit f2952bcef0
189 changed files with 21334 additions and 0 deletions

11
bo/src/router/settings.ts Normal file
View File

@@ -0,0 +1,11 @@
import { useFetchJson } from "@/composable/useFetchJson";
import type { Resp } from "@/types";
import type { Settings } from "@/types/settings";
import { reactive } from "vue";
export const settings = reactive({} as Settings)
export async function getSettings() {
const { items } = await useFetchJson<Resp<Settings>>('/api/v1/settings',)
Object.assign(settings, items)
}