hrms-mgt/src/modules/02_organizationalNew/interface/index/Main.ts

89 lines
1.5 KiB
TypeScript
Raw Normal View History

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;
}
interface FormDataAgency {
orgName: string;
orgShortName: string;
orgCode: string;
orgPhoneEx: string;
orgPhoneIn: string;
orgFax: string;
orgLevel: string;
}
2024-01-26 12:07:49 +07:00
interface FormDataPosition {
prefixNo: string;
positionNo: string;
suffixNo: string;
confirm: boolean;
2024-01-26 12:07:49 +07:00
}
interface FormDataNewStructure {
orgRevisionId: string;
orgRevisionName: string;
typeDraft: string;
}
interface FormAgencyRef {
orgName: object | null;
orgShortName: object | null;
orgCode: object | null;
orgPhoneEx: object | null;
orgPhoneIn: object | null;
orgFax: object | null;
orgLevel: object | null;
[key: string]: any;
}
2024-01-26 15:20:32 +07:00
interface FormPositionRef {
prefixNo: object | null;
positionNo: object | null;
[key: string]: any;
}
2024-01-26 15:20:32 +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;
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 {
orgRevisionId: string;
orgRevisionName: string;
orgRevisionIsCurrent: boolean;
orgRevisionIsDraft: boolean;
orgRevisionCreatedAt: any;
2024-01-26 15:20:32 +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
};