2024-01-12 13:54:47 +07:00
|
|
|
interface Pagination {
|
|
|
|
|
rowsPerPage: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface DataOption {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-29 14:22:25 +07:00
|
|
|
interface ListMenu {
|
|
|
|
|
label: string;
|
|
|
|
|
icon: string;
|
|
|
|
|
type: string;
|
|
|
|
|
color: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-25 15:59:08 +07:00
|
|
|
interface FormDataAgency {
|
2024-01-29 11:19:48 +07:00
|
|
|
orgName: string;
|
|
|
|
|
orgShortName: string;
|
|
|
|
|
orgCode: string;
|
|
|
|
|
orgPhoneEx: string;
|
|
|
|
|
orgPhoneIn: string;
|
|
|
|
|
orgFax: string;
|
|
|
|
|
orgLevel: string;
|
2024-01-25 15:59:08 +07:00
|
|
|
}
|
2024-01-26 12:07:49 +07:00
|
|
|
|
2024-01-25 15:59:08 +07:00
|
|
|
interface FormDataPosition {
|
2024-01-29 11:19:48 +07:00
|
|
|
prefixNo: string;
|
|
|
|
|
positionNo: string;
|
|
|
|
|
suffixNo: string;
|
|
|
|
|
confirm: boolean;
|
2024-01-26 12:07:49 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface FormDataNewStructure {
|
2024-01-29 11:19:48 +07:00
|
|
|
orgRevisionId: string;
|
|
|
|
|
orgRevisionName: string;
|
|
|
|
|
typeDraft: string;
|
2024-01-25 15:59:08 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface FormAgencyRef {
|
2024-01-29 11:19:48 +07:00
|
|
|
orgName: object | null;
|
|
|
|
|
orgShortName: object | null;
|
|
|
|
|
orgCode: object | null;
|
|
|
|
|
orgPhoneEx: object | null;
|
|
|
|
|
orgPhoneIn: object | null;
|
|
|
|
|
orgFax: object | null;
|
|
|
|
|
orgLevel: object | null;
|
2024-01-25 15:59:08 +07:00
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
2024-01-26 15:20:32 +07:00
|
|
|
|
2024-01-25 15:59:08 +07:00
|
|
|
interface FormPositionRef {
|
|
|
|
|
prefixNo: object | null;
|
|
|
|
|
positionNo: object | null;
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
2024-01-26 15:20:32 +07:00
|
|
|
|
2024-01-25 16:54:23 +07:00
|
|
|
interface FormDateTimeRef {
|
|
|
|
|
dateTime: object | null;
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
2024-01-26 15:20:32 +07:00
|
|
|
|
2024-01-26 12:07:49 +07:00
|
|
|
interface FormNewStructureRef {
|
|
|
|
|
orgRevisionName: object | null;
|
2024-01-29 11:19:48 +07:00
|
|
|
orgRevisionId: object | null;
|
2024-01-26 12:07:49 +07:00
|
|
|
type: object | null;
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
2024-01-26 15:20:32 +07:00
|
|
|
|
|
|
|
|
interface HistoryType {
|
2024-01-29 11:19:48 +07:00
|
|
|
orgRevisionId: string;
|
|
|
|
|
orgRevisionName: string;
|
|
|
|
|
orgRevisionIsCurrent: boolean;
|
|
|
|
|
orgRevisionIsDraft: boolean;
|
|
|
|
|
orgRevisionCreatedAt: any;
|
2024-01-26 15:20:32 +07:00
|
|
|
}
|
2024-01-29 11:19:48 +07:00
|
|
|
export type {
|
|
|
|
|
Pagination,
|
|
|
|
|
DataOption,
|
|
|
|
|
FormDataAgency,
|
|
|
|
|
FormDataPosition,
|
|
|
|
|
FormAgencyRef,
|
|
|
|
|
FormPositionRef,
|
|
|
|
|
FormDateTimeRef,
|
|
|
|
|
FormDataNewStructure,
|
|
|
|
|
FormNewStructureRef,
|
|
|
|
|
HistoryType,
|
2024-01-29 14:22:25 +07:00
|
|
|
ListMenu,
|
2024-01-26 15:20:32 +07:00
|
|
|
};
|