File size: 1,837 Bytes
d96d2a2
d3ec6da
 
d96d2a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
export const MOCK_USERS = [
    { id: 1, name: 'John Doe', username: 'test@test.com', password: 'password123', role: 'user' },
    { id: 2, name: 'Jane Smith', username: 'admin@test.com', password: 'password123', role: 'admin' },
];

export const MOCK_TICKETS = [
    {
        id: 101,
        title: 'Login Failure',
        description: 'Cannot login to the HR portal with my credentials.',
        category: 'Authentication',
        priority: 'High',
        status: 'Open',
        createdAt: '2023-10-27T10:00:00Z',
        userId: 1,
        messages: [
            {
                sender: 'user',
                message: 'Cannot login to the HR portal with my credentials.',
                timestamp: '2023-10-27T10:00:00Z'
            }
        ]
    },
    {
        id: 102,
        title: 'Printer Jam',
        description: 'The printer on the 2nd floor is jammed again.',
        category: 'Hardware',
        priority: 'Medium',
        status: 'In Progress',
        createdAt: '2023-10-26T14:30:00Z',
        userId: 1,
        messages: [
            {
                sender: 'user',
                message: 'The printer on the 2nd floor is jammed again.',
                timestamp: '2023-10-26T14:30:00Z'
            }
        ]
    },
    {
        id: 103,
        title: 'Software Update',
        description: 'Need update for Adobe Creative Cloud.',
        category: 'Software',
        priority: 'Low',
        status: 'Closed',
        createdAt: '2023-10-25T09:15:00Z',
        userId: 2,
        messages: [
            {
                sender: 'user',
                message: 'Need update for Adobe Creative Cloud.',
                timestamp: '2023-10-25T09:15:00Z'
            }
        ]
    },
];

export const MOCK_CATEGORIES = ['Authentication', 'Hardware', 'Software', 'Network', 'Other'];