Refactor project structure and update dependencies

This commit is contained in:
2025-05-11 16:17:40 +02:00
parent 81d692a19b
commit 813f7b18d8
73 changed files with 10156 additions and 7756 deletions

51
nuxt/app/types/account.d.ts vendored Normal file
View File

@@ -0,0 +1,51 @@
import type { ButtonProps } from '#ui/components/Button.vue'
export interface IAccountLoginResponse {
ok: boolean
token: string
}
export interface IAccountLogoutResponse {
ok: boolean
}
export interface IAccountProviderData {
provider: string
token: string
message?: string
}
export interface IAccountChangePasswordResponse {
ok: boolean
}
export interface IAccountResetPasswordResponse {
ok: boolean
}
export interface IVerificationNotificationResponse {
ok: boolean
message: string
}
export interface IAccountUpdateResponse {
ok: boolean
}
export interface IForgotPasswordResponse {
ok: boolean
message: string
}
export interface IAccountProvider {
name: string
icon: string
color: ButtonProps['color']
loading?: boolean
}
export interface IUploadResponse {
ok: boolean
path: string
message?: string
}

12
nuxt/app/types/device.d.ts vendored Normal file
View File

@@ -0,0 +1,12 @@
export type Device = {
name: string
ip: string
last_used_at: string
is_current: boolean
hash: string
}
export interface IDevicesResponse {
ok: boolean
devices: Device[]
}

0
nuxt/app/types/responses.d.ts vendored Normal file
View File