generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.ts
More file actions
91 lines (89 loc) · 1.86 KB
/
constants.ts
File metadata and controls
91 lines (89 loc) · 1.86 KB
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
87
88
89
90
91
import { Torrent, TorrentState } from './types';
export const MOCK_TORRENTS: Torrent[] = [
{
hash: '1',
name: 'ubuntu-24.04-desktop-amd64.iso',
size: 4928307200,
progress: 0.45,
state: TorrentState.Downloading,
dlspeed: 15482000,
upspeed: 204800,
eta: 340,
seeds: 452,
peers: 56,
added_on: 1715000000,
category: 'ISOs',
tags: ['linux', 'work'],
ratio: 0.1,
save_path: '/downloads/isos'
},
{
hash: '2',
name: 'Big Buck Bunny 4K.mp4',
size: 885820720,
progress: 1.0,
state: TorrentState.Seeding,
dlspeed: 0,
upspeed: 5240000,
eta: 0,
seeds: 0,
peers: 12,
added_on: 1714000000,
category: 'Movies',
tags: ['creative-commons'],
ratio: 3.5,
save_path: '/downloads/movies'
},
{
hash: '3',
name: 'archlinux-2024.05.01-x86_64.iso',
size: 943718400,
progress: 0.88,
state: TorrentState.Downloading,
dlspeed: 8400000,
upspeed: 102400,
eta: 45,
seeds: 1200,
peers: 300,
added_on: 1716000000,
category: 'ISOs',
tags: ['linux', 'arch'],
ratio: 0.05,
save_path: '/downloads/isos'
},
{
hash: '4',
name: 'Open LLM Models Collection v3',
size: 450971566080,
progress: 0.12,
state: TorrentState.Paused,
dlspeed: 0,
upspeed: 0,
eta: 864000,
seeds: 15,
peers: 4,
added_on: 1712000000,
category: 'AI',
tags: ['models', 'large'],
ratio: 0.01,
save_path: '/downloads/ai'
},
{
hash: '5',
name: 'Debian 12 netinst.iso',
size: 408944640,
progress: 1.0,
state: TorrentState.Completed,
dlspeed: 0,
upspeed: 0,
eta: 0,
seeds: 0,
peers: 0,
added_on: 1710000000,
category: 'ISOs',
tags: [],
ratio: 1.0,
save_path: '/downloads/isos'
}
];
export const CATEGORIES = ['All', 'ISOs', 'Movies', 'AI', 'Music', 'Games'];