2024-04-19 13:26:27 +00:00
|
|
|
import { SVGProps } from "react";
|
|
|
|
|
|
|
|
|
|
export type IconSvgProps = SVGProps<SVGSVGElement> & {
|
2024-11-08 09:01:21 +00:00
|
|
|
size?: number;
|
2024-04-19 13:26:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SidebarMenuTask = {
|
2024-11-08 09:01:21 +00:00
|
|
|
childMenu: any[];
|
|
|
|
|
name: string;
|
|
|
|
|
id: number;
|
|
|
|
|
parentId: number;
|
|
|
|
|
position: number;
|
|
|
|
|
statusId: number;
|
|
|
|
|
statusName: string;
|
2024-04-19 13:26:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type Article = {
|
2024-11-08 09:01:21 +00:00
|
|
|
id: number;
|
|
|
|
|
title: string;
|
|
|
|
|
articleCategory: string;
|
|
|
|
|
updated_at: string;
|
|
|
|
|
creator: string;
|
|
|
|
|
source: string;
|
|
|
|
|
status: string;
|
|
|
|
|
actions: string;
|
2024-04-19 13:26:27 +00:00
|
|
|
};
|
2024-04-24 10:10:26 +00:00
|
|
|
|
|
|
|
|
export type MasterUser = {
|
2024-11-08 09:01:21 +00:00
|
|
|
id: number;
|
|
|
|
|
address: string;
|
|
|
|
|
dateOfBirth: string;
|
|
|
|
|
email: string;
|
|
|
|
|
fullname: string;
|
|
|
|
|
genderType: string;
|
|
|
|
|
identityNumber: string;
|
|
|
|
|
identityType: string;
|
|
|
|
|
lastEducation: string;
|
|
|
|
|
phoneNumber: string;
|
|
|
|
|
userLevelsId: number;
|
|
|
|
|
userRoleId: number;
|
|
|
|
|
username: string;
|
|
|
|
|
workType: string;
|
2024-04-24 10:10:26 +00:00
|
|
|
};
|
|
|
|
|
|
2024-04-24 10:41:04 +00:00
|
|
|
export type MasterUserRole = {
|
2024-11-08 09:01:21 +00:00
|
|
|
id: number;
|
|
|
|
|
name: string;
|
|
|
|
|
description: string;
|
|
|
|
|
code: string;
|
|
|
|
|
level_number: number;
|
|
|
|
|
status_id: number;
|
|
|
|
|
created_by_id: string | number;
|
|
|
|
|
is_active: true;
|
|
|
|
|
created_at: string;
|
|
|
|
|
updated_at: string;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type PaginationRequest = {
|
|
|
|
|
limit: string;
|
|
|
|
|
page: number;
|
|
|
|
|
search: string;
|
2024-11-13 08:29:27 +00:00
|
|
|
startDate?: string;
|
|
|
|
|
endDate?: string;
|
2025-02-10 09:16:52 +00:00
|
|
|
isPublish?: boolean;
|
2025-02-14 16:11:51 +00:00
|
|
|
category?: string;
|
2025-02-17 10:01:58 +00:00
|
|
|
sortBy?: string;
|
|
|
|
|
sort?: string;
|
2025-03-18 08:30:18 +00:00
|
|
|
categorySlug?: string;
|
2025-04-07 07:17:35 +00:00
|
|
|
isBanner?: boolean;
|
2025-05-24 04:59:31 +00:00
|
|
|
categoryIds?: string;
|
|
|
|
|
createdByIds?: string;
|
2025-05-31 19:00:00 +00:00
|
|
|
isPolda?: boolean;
|
2025-06-09 09:51:44 +00:00
|
|
|
timeStamp?: number;
|
2024-04-24 10:41:04 +00:00
|
|
|
};
|