Template
Refactor project structure and update dependencies
This commit is contained in:
Vendored
+51
@@ -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
|
||||
}
|
||||
Vendored
+12
@@ -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[]
|
||||
}
|
||||
Vendored
Reference in New Issue
Block a user