@@ -18,11 +18,11 @@ export const mockCategories: DealCategory[] = [
1818
1919
2020export const mockUsers : User [ ] = [
21- { id : 1 , name : "John Doe" , email : "john.doe@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
22- { id : 2 , name : "Jane Smith" , email : "jane.smith@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
23- { id : 3 , name : "Bob Johnson" , email : "bob.johnson@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
24- { id : 4 , name : "Alice Brown" , email : "alice.brown@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
25- { id : 5 , name : "Charlie Davis" , email : "charlie.davis@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
21+ { id : "1" , name : "John Doe" , email : "john.doe@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
22+ { id : "2" , name : "Jane Smith" , email : "jane.smith@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
23+ { id : "3" , name : "Bob Johnson" , email : "bob.johnson@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
24+ { id : "4" , name : "Alice Brown" , email : "alice.brown@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
25+ { id : "5" , name : "Charlie Davis" , email : "charlie.davis@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
2626] ;
2727
2828export const mockDeals : Deal [ ] = [
@@ -44,7 +44,7 @@ export const mockDeals: Deal[] = [
4444 id : 2 ,
4545 customer : { id : 2 , name : "GlobalTech" , active : true , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
4646 value : 75000 ,
47- assignee : { id : 2 , name : "Jane Smith" , email : "jane.smith@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
47+ assignee : { id : "2" , name : "Jane Smith" , email : "jane.smith@example.com" , role : "user" , createdAt : "2023-01-01" , updatedAt : "2023-01-01" } ,
4848 status : "Proposal Made" ,
4949 categories : mockCategories . slice ( 0 , 3 ) , // Pass in 3 of the mockCategories
5050 dateLogged : "2023-02-01" ,
0 commit comments