web-humas-fe/types/globals.tsx

45 lines
850 B
TypeScript
Raw Normal View History

2024-04-19 13:26:27 +00:00
import { SVGProps } from "react";
export type IconSvgProps = SVGProps<SVGSVGElement> & {
size?: number;
};
export type SidebarMenuTask = {
childMenu: any[];
name: string;
id: number;
parentId: number;
position: number;
statusId: number;
statusName: string;
};
export type Article = {
id: number;
title: string;
articleCategory: string;
updated_at: string;
creator: string;
source: string;
status: string;
actions: string;
};
2024-04-24 10:10:26 +00:00
export type MasterUser = {
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
};