-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.mock.ts
86 lines (85 loc) · 1.79 KB
/
data.mock.ts
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import { type FileNode } from './app.types'
export const mockData: FileNode = {
name: 'project',
kind: 'directory',
children: [
{
name: 'src',
kind: 'directory',
children: [
{
name: 'index.js',
kind: 'file',
size: '1KB',
modified: '2022-03-08 11:30:00'
},
{
name: 'components',
kind: 'directory',
children: [
{
name: 'Button.jsx',
kind: 'file',
size: '2KB',
modified: '2022-03-07 15:00:00'
},
{
name: 'Card.jsx',
kind: 'file',
size: '3KB',
modified: '2022-03-06 10:00:00'
}
]
},
{
name: 'styles',
kind: 'directory',
children: [
{
name: 'index.css',
kind: 'file',
size: '1KB',
modified: '2022-03-07 09:00:00'
},
{
name: 'components.css',
kind: 'file',
size: '2KB',
modified: '2022-03-06 12:00:00'
}
]
}
]
},
{
name: 'public',
kind: 'directory',
children: [
{
name: 'index.html',
kind: 'file',
size: '1KB',
modified: '2022-03-08 10:00:00'
},
{
name: 'favicon.ico',
kind: 'file',
size: '5KB',
modified: '2022-03-07 16:00:00'
}
]
},
{
name: 'package.json',
kind: 'file',
size: '1KB',
modified: '2022-03-08 12:00:00'
},
{
name: 'README.md',
kind: 'file',
size: '2KB',
modified: '2022-03-08 13:00:00'
}
]
}