feat(frontend): Prettier, add openapi client generation

This commit is contained in:
2025-02-21 12:17:36 +01:00
parent d6effcd1d5
commit 31ff737221
20 changed files with 3840 additions and 4861 deletions

View File

@@ -34,10 +34,8 @@
<template #body>
<div>
<pre>{{ session }}</pre>
<h1>{{ session.data ? "Du bist eingeloggt" : "Nicht eingeloggt" }}</h1>
<button v-if="session?.data" @click="authClient.signOut()">
Sign out
</button>
<h1>{{ session.data ? 'Du bist eingeloggt' : 'Nicht eingeloggt' }}</h1>
<button v-if="session?.data" @click="authClient.signOut()">Sign out</button>
</div>
<Register />
<Login />
@@ -50,26 +48,26 @@
</template>
<script setup lang="ts">
const session = authClient.useSession();
const session = authClient.useSession()
const items = [
[
{
label: "New mail",
icon: "i-lucide-send",
to: "/inbox",
label: 'New mail',
icon: 'i-lucide-send',
to: '/inbox'
},
{
label: "New customer",
icon: "i-lucide-user-plus",
to: "/customers",
},
],
];
label: 'New customer',
icon: 'i-lucide-user-plus',
to: '/customers'
}
]
]
const range = shallowRef({
start: new Date(),
end: new Date(),
});
const period = ref<string>("daily");
end: new Date()
})
const period = ref<string>('daily')
</script>