ต่อ api(รอต่อ บางส่วน)

This commit is contained in:
setthawutttty 2023-11-21 16:36:05 +07:00
parent 18e1e0d2bd
commit 7399f967d0
15 changed files with 506 additions and 155 deletions

View file

@ -1,11 +1,20 @@
interface FormData {
personalId:string
prefix: string;
firstname: string;
lastname: string;
position: string;
phone: string;
email: string;
}
interface FormDataPost {
personalId:string
prefix: string;
firstname: string;
lastname: string;
position: string;
phone: string;
email: string;
responsibilities:string
}
interface FormRef {
prefix: object | null;
@ -19,5 +28,6 @@ interface FormRef {
export type {
FormData,
FormRef
FormRef,
FormDataPost
};

View file

@ -1,10 +1,21 @@
interface DirectorRows {
name: string;
id:string
prefix:string
firstName:string
lastName:string
position: string;
email: string;
phone: string;
}
interface DirectorRowsResponse {
id:string
fullName:string
position:string
email:string
phone:string
}
export type {
DirectorRows
DirectorRows,
DirectorRowsResponse
};