updated format code

This commit is contained in:
Warunee Tamkoo 2024-09-03 11:28:01 +07:00
parent b75d69ea08
commit b14bad2249
241 changed files with 14012 additions and 13811 deletions

View file

@ -1,41 +1,46 @@
interface RequestItemsObject {
profileId: string,
id?: string;
level: string;
detail: string;
unStigma: string;
refCommandNo: string;
refCommandDate: Date | null;
date: Date | null;
}
interface FormFilter {
page: number;
pageSize: number;
keyword: string;
type: string;
posType: string;
posLevel: string;
retireYear: string | null;
rangeYear: { min: number; max: number };
isShowRetire: boolean;
isProbation: boolean;
}
interface DataOption {
id: string;
name: string;
}
interface DisciplineOps {
levelOptions: DataOption[];
}
interface MyObjectRef {
date: object | null;
detail: object | null;
refCommandNo: object | null;
[key: string]: any;
profileId: string;
id?: string;
level: string;
detail: string;
unStigma: string;
refCommandNo: string;
refCommandDate: Date | null;
date: Date | null;
}
export type { RequestItemsObject,FormFilter,DataOption,DisciplineOps,MyObjectRef };
interface FormFilter {
page: number;
pageSize: number;
keyword: string;
type: string;
posType: string;
posLevel: string;
retireYear: string | null;
rangeYear: { min: number; max: number };
isShowRetire: boolean;
isProbation: boolean;
}
interface DataOption {
id: string;
name: string;
}
interface DisciplineOps {
levelOptions: DataOption[];
}
interface MyObjectRef {
date: object | null;
detail: object | null;
refCommandNo: object | null;
[key: string]: any;
}
export type {
RequestItemsObject,
FormFilter,
DataOption,
DisciplineOps,
MyObjectRef,
};

View file

@ -1,9 +1,7 @@
interface ArrayFileList {
id:string
pathName:string
fileName:string
id: string;
pathName: string;
fileName: string;
}
export type {
ArrayFileList
}
export type { ArrayFileList };

View file

@ -1,19 +1,19 @@
interface FormData {
type: string,
citizenId: string,
fullName: string,
retireYear: number | null,
year: number | null,
posPath: string,
posLevel: string,
posOc: string,
isShowRetire: boolean,
isProbation: boolean,
type: string;
citizenId: string;
fullName: string;
retireYear: number | null;
year: number | null;
posPath: string;
posLevel: string;
posOc: string;
isShowRetire: boolean;
isProbation: boolean;
}
interface YearRange {
min:number,
max:number
min: number;
max: number;
}
export type { FormData , YearRange}
export type { FormData, YearRange };

View file

@ -1,55 +1,62 @@
interface DetailData {
id: string;
typeLeave: string;
dateStartLeave: Date | null;
dateEndLeave: Date | null;
numLeave: number;
status: string;
reason: string;
typeLeaveId: string;
code: string;
id: string;
typeLeave: string;
dateStartLeave: Date | null;
dateEndLeave: Date | null;
numLeave: number;
status: string;
reason: string;
typeLeaveId: string;
code: string;
}
interface FormFilter {
page: number;
pageSize: number;
keyword: string;
type: string;
posType: string;
posLevel: string;
retireYear: string | null;
rangeYear: { min: number; max: number };
isShowRetire: boolean;
isProbation: boolean;
page: number;
pageSize: number;
keyword: string;
type: string;
posType: string;
posLevel: string;
retireYear: string | null;
rangeYear: { min: number; max: number };
isShowRetire: boolean;
isProbation: boolean;
}
interface DataOptionLeave {
id: string;
name: string;
totalLeave: number;
id: string;
name: string;
totalLeave: number;
}
interface DataOption {
id: string;
name: string;
disable?: boolean;
id: string;
name: string;
disable?: boolean;
}
interface ResponseTotalObject {
typeLeaveId: string;
typeLeave: string;
totalLeave: number;
limitLeave: string;
remainLeave: string;
typeLeaveId: string;
typeLeave: string;
totalLeave: number;
limitLeave: string;
remainLeave: string;
}
interface MyObjectRef {
typeLeave: object | null;
dateRange: object | null;
numLeave: object | null;
statLeave: object | null;
reason: object | null;
[key: string]: any;
typeLeave: object | null;
dateRange: object | null;
numLeave: object | null;
statLeave: object | null;
reason: object | null;
[key: string]: any;
}
export type { DetailData, FormFilter, DataOptionLeave, DataOption, ResponseTotalObject, MyObjectRef };
export type {
DetailData,
FormFilter,
DataOptionLeave,
DataOption,
ResponseTotalObject,
MyObjectRef,
};

View file

@ -1,31 +1,27 @@
interface RowList {
id: string;
date: Date | null;
detail: string;
lastUpdateFullName: string;
lastUpdatedAt: Date;
id: string;
date: Date | null;
detail: string;
lastUpdateFullName: string;
lastUpdatedAt: Date;
}
interface FormFilter {
page: number;
pageSize: number;
keyword: string;
type: string;
posType: string;
posLevel: string;
retireYear: string | null;
rangeYear: { min: number; max: number };
isShowRetire: boolean;
isProbation: boolean;
page: number;
pageSize: number;
keyword: string;
type: string;
posType: string;
posLevel: string;
retireYear: string | null;
rangeYear: { min: number; max: number };
isShowRetire: boolean;
isProbation: boolean;
}
interface MyObjectRef {
date: object | null;
detail: object | null;
[key: string]: any
date: object | null;
detail: object | null;
[key: string]: any;
}
export type {
RowList,
FormFilter,
MyObjectRef,
}
export type { RowList, FormFilter, MyObjectRef };

View file

@ -1,48 +1,48 @@
interface FormFilter {
page: number;
pageSize: number;
keyword: string;
type: string;
posType: string;
posLevel: string;
retireYear: string | null;
rangeYear: { min: number; max: number };
isShowRetire: boolean;
isProbation: boolean;
page: number;
pageSize: number;
keyword: string;
type: string;
posType: string;
posLevel: string;
retireYear: string | null;
rangeYear: { min: number; max: number };
isShowRetire: boolean;
isProbation: boolean;
}
//ข้อมูล
interface RequestItemsObject {
profileId: string,
id?: string,
dateStart: Date | null,
dateEnd: Date | null,
detail: string,
reference: string,
refCommandNo: string,
refCommandDate: Date | null,
}
profileId: string;
id?: string;
dateStart: Date | null;
dateEnd: Date | null;
detail: string;
reference: string;
refCommandNo: string;
refCommandDate: Date | null;
}
interface MyObjectRef {
dateStart:object|null
dateEnd:object|null
detail:object|null
reference:object|null
[key: string]: any;
}
dateStart: object | null;
dateEnd: object | null;
detail: object | null;
reference: object | null;
[key: string]: any;
}
interface ResponseObject {
lastUpdateFullName: string,
lastUpdatedAt: Date,
id: string;
dateStart: Date;
dateEnd: Date;
detail: string;
reference: string;
refCommandNo: string;
refCommandDate: Date | null;
createdFullName: string;
createdAt: Date;
}
export type{ FormFilter,RequestItemsObject,MyObjectRef,ResponseObject }
interface ResponseObject {
lastUpdateFullName: string;
lastUpdatedAt: Date;
id: string;
dateStart: Date;
dateEnd: Date;
detail: string;
reference: string;
refCommandNo: string;
refCommandDate: Date | null;
createdFullName: string;
createdAt: Date;
}
export type { FormFilter, RequestItemsObject, MyObjectRef, ResponseObject };

View file

@ -11,6 +11,4 @@ interface RequestObject {
registrationAddress: string | null;
}
export type {
RequestObject,
};
export type { RequestObject };

View file

@ -12,8 +12,8 @@ interface FormFilter {
}
interface FormAddPerson {
birthDate: Date | null,
rank: string,
birthDate: Date | null;
rank: string;
prefix: string;
firstName: string;
lastName: string;

View file

@ -1,10 +1,10 @@
interface RequestItemsObject {
certificateType: string;
issuer: string;
certificateNo: string;
issueDate: Date;
expireDate: Date | null;
profileId: string;
certificateType: string;
issuer: string;
certificateNo: string;
issueDate: Date;
expireDate: Date | null;
profileId: string;
}
export type { RequestItemsObject };

View file

@ -1,13 +1,11 @@
interface RequestItemsObject {
field: string;
detail: string;
remark: string;
reference: string;
dateStart: Date | null,
dateEnd: Date | null ,
profileId: string,
}
export type { RequestItemsObject };
field: string;
detail: string;
remark: string;
reference: string;
dateStart: Date | null;
dateEnd: Date | null;
profileId: string;
}
export type { RequestItemsObject };

View file

@ -1,19 +1,18 @@
interface RequestItemsObject {
name: string,
topic: string,
yearly: number | null,
place: string,
duration: string,
department: string,
numberOrder: string,
dateOrder: Date | null,
startDate: Date,
endDate: Date,
startYear: number,
finishYear: number,
profileId: string,
isDate: boolean,
}
export type { RequestItemsObject };
name: string;
topic: string;
yearly: number | null;
place: string;
duration: string;
department: string;
numberOrder: string;
dateOrder: Date | null;
startDate: Date;
endDate: Date;
startYear: number;
finishYear: number;
profileId: string;
isDate: boolean;
}
export type { RequestItemsObject };

View file

@ -1,34 +1,33 @@
//ข้อมูล
interface ResponseObject {
createdAt: Date
createdFullName: string
createdUserId: string
educationLevel: string;
institute: string;
startYear: number;
endYear: number;
finishDate: Date;
startDate: Date;
endDate: Date;
isEducation: boolean | null;
degree: string;
field: string;
fundName: string;
gpa: string;
country: string;
other: string;
duration: string;
durationYear: number | null;
note: string;
isActive: boolean
isDate: boolean
positionPath: string
positionPathId : string
profileId: string
lastUpdateFullName: string
lastUpdateUserID: string
lastUpdatedAt: Date
}
export type { ResponseObject };
createdAt: Date;
createdFullName: string;
createdUserId: string;
educationLevel: string;
institute: string;
startYear: number;
endYear: number;
finishDate: Date;
startDate: Date;
endDate: Date;
isEducation: boolean | null;
degree: string;
field: string;
fundName: string;
gpa: string;
country: string;
other: string;
duration: string;
durationYear: number | null;
note: string;
isActive: boolean;
isDate: boolean;
positionPath: string;
positionPathId: string;
profileId: string;
lastUpdateFullName: string;
lastUpdateUserID: string;
lastUpdatedAt: Date;
}
export type { ResponseObject };

View file

@ -1,12 +1,11 @@
//ข้อมูล
interface ResponseObject {
issuer: string,
certificateType: string,
certificateNo: string,
issueDate: Date | null,
isActive: boolean,
expireDate: Date | null
}
export type { ResponseObject };
issuer: string;
certificateType: string;
certificateNo: string;
issueDate: Date | null;
isActive: boolean;
expireDate: Date | null;
}
export type { ResponseObject };

View file

@ -1,21 +1,20 @@
//ข้อมูล
interface ResponseObject {
createdAt: Date
createdFullName: string
createdUserId: string
dateStart: Date | null
dateEnd: Date | null
detail: string
field: string
id: string
isActive: boolean
lastUpdateFullName: string
lastUpdateUserId: string
lastUpdatedAt: Date
profileId: string
reference: string
remark: string
}
export type { ResponseObject };
createdAt: Date;
createdFullName: string;
createdUserId: string;
dateStart: Date | null;
dateEnd: Date | null;
detail: string;
field: string;
id: string;
isActive: boolean;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: Date;
profileId: string;
reference: string;
remark: string;
}
export type { ResponseObject };

View file

@ -1,26 +1,25 @@
//ข้อมูล
interface ResponseObject {
createdAt: Date
createdFullName: string
createdUserId: string
dateOrder: Date
dateStart: Date | null
dateEnd: Date | null
department: string
duration : string
id: string
isActive: boolean
isDate: boolean
lastUpdateFullName: string
lastUpdateUserId: string
lastUpdateAt: Date
name: string
numberOrder: string
place: string
profileId: string
topic: string
yearly: number
}
export type { ResponseObject };
createdAt: Date;
createdFullName: string;
createdUserId: string;
dateOrder: Date;
dateStart: Date | null;
dateEnd: Date | null;
department: string;
duration: string;
id: string;
isActive: boolean;
isDate: boolean;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdateAt: Date;
name: string;
numberOrder: string;
place: string;
profileId: string;
topic: string;
yearly: number;
}
export type { ResponseObject };