-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmockData.ts
43 lines (42 loc) · 1.03 KB
/
mockData.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
import { FileNode } from './types/FileNodeTypes';
export const mockData: FileNode[] = [
{
type: 'folder',
name: 'parent',
data: [
{
type: 'folder',
name: 'root',
data: [
{
type: 'folder',
name: 'src',
data: [{ type: 'file', meta: 'js', name: 'index.js' }],
},
{
type: 'folder',
name: 'public',
data: [{ type: 'file', meta: 'ts', name: 'index.ts' }],
},
],
},
{ type: 'file', meta: 'html', name: 'index.html' },
{
type: 'folder',
name: 'data',
data: [
{
type: 'folder',
name: 'images',
data: [
{ type: 'file', meta: 'img', name: 'image.png' },
{ type: 'file', meta: 'img', name: 'image2.webp' },
],
},
{ type: 'file', meta: 'svg', name: 'logo.svg' },
],
},
{ type: 'file', meta: 'css', name: 'style.css' },
],
},
];