mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
чиним билд07
This commit is contained in:
31
frontend/src/types/index.d.ts
vendored
Normal file
31
frontend/src/types/index.d.ts
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
declare module '*.vue' {
|
||||
import type { DefineComponent } from 'vue'
|
||||
const component: DefineComponent<{}, {}, any>
|
||||
export default component
|
||||
}
|
||||
|
||||
interface LoginResponse {
|
||||
access_token: string
|
||||
token_type: string
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
interface Employee {
|
||||
id: number
|
||||
first_name: string
|
||||
last_name: string
|
||||
department: string
|
||||
office: string
|
||||
created_at: string
|
||||
}
|
||||
|
||||
interface Request {
|
||||
id: number
|
||||
employee_id: number
|
||||
department: string
|
||||
request_type: string
|
||||
priority: string
|
||||
description: string
|
||||
status: string
|
||||
created_at: string
|
||||
}
|
Reference in New Issue
Block a user