feat: modularize admin settings into individual components and standardize swapstation role naming

This commit is contained in:
sazzadulalambd
2026-05-10 17:17:37 +06:00
parent 3d89b38417
commit c8b4f8ff0f
18 changed files with 2838 additions and 2263 deletions

View File

@@ -3,7 +3,7 @@ export interface User {
name: string;
email: string;
phone: string;
role: 'biker' | 'super_admin' | 'admin_manager' | 'staff' | 'accountant' | 'investor' | 'swap-station' | 'merchant';
role: 'biker' | 'super_admin' | 'admin_manager' | 'staff' | 'accountant' | 'investor' | 'swapstation' | 'merchant';
avatar?: string;
status: 'active' | 'pending' | 'inactive';
createdAt: string;
@@ -165,7 +165,7 @@ export const users: User[] = [
{ id: 'u5', name: 'Staff User', email: 'staff@jaiben.com', phone: '01710000003', role: 'staff', status: 'active', createdAt: '2023-07-01' },
{ id: 'u6', name: 'Accountant User', email: 'accountant@jaiben.com', phone: '01710000004', role: 'accountant', status: 'active', createdAt: '2023-07-01' },
{ id: 'u7', name: 'Investor User', email: 'investor@email.com', phone: '01720000001', role: 'investor', status: 'active', createdAt: '2023-08-01' },
{ id: 'u8', name: 'Swap Station Owner', email: 'swap@jaiben.com', phone: '01730000001', role: 'swap-station', status: 'active', createdAt: '2023-09-01' },
{ id: 'u8', name: 'Swap Station Owner', email: 'swap@jaiben.com', phone: '01730000001', role: 'swapstation', status: 'active', createdAt: '2023-09-01' },
{ id: 'u9', name: 'Merchant User', email: 'merchant@email.com', phone: '01740000001', role: 'merchant', status: 'active', createdAt: '2023-10-01' },
];