1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

чиним билд07

This commit is contained in:
MoonTestUse1
2025-01-02 02:02:59 +06:00
parent 5f18a2ac2b
commit 011b741089
5 changed files with 50 additions and 36 deletions

31
frontend/src/types/index.d.ts vendored Normal file
View 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
}