Skip to content

Commit

Permalink
chore : Add types directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ad956 committed Aug 29, 2024
1 parent c6d3fff commit 7cd00f0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions types/admin.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
export type ActivityType =
| "New Patient Registered"
| "New Doctor Registered"
| "New Hospital Registered"
| "New Receptionist Registered";

export type TilesDataProp = {
totalHospitals: string;
totalPatients: string;
totalDoctors: string;
totalReceptionists: string;
};

export type RecentUser = {
title: ActivityType;
description: string;
timeSince: string;
};

export type PaginatedResponse = {
users: RecentUser[];
page: number;
totalPages: number;
totalItems: number;
};
1 change: 1 addition & 0 deletions types/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./admin";

0 comments on commit 7cd00f0

Please sign in to comment.