-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathroutes.ts
97 lines (87 loc) · 2.9 KB
/
routes.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
87
88
89
90
91
92
93
94
95
96
97
enum DeployRoutes {
BaseRoute = "/deploy/",
PricingCalculator = "/deploy/pricing-calculator/",
NodeFinder = "/deploy/node-finder/",
VirtualMachines = "/deploy/virtual-machines/",
Orchestrators = "/deploy/orchestrators/",
Applications = "/deploy/applications/",
YourContracts = "/deploy/your-contracts/",
YourDeployments = "/deploy/your-deployments/",
Images = "https://hub.grid.tf/",
SSHKey = "/deploy/sshkey/",
}
enum VirtualMachinesRoutes {
FullVirtualMachine = "/deploy/virtual-machines/full-virtual-machine/",
MicroVirtualMachine = "/deploy/virtual-machines/micro-virtual-machine/",
}
enum OrchestratorsRoutes {
Kubernetes = "/deploy/orchestrators/kubernetes/",
CapRover = "/deploy/orchestrators/caprover/",
}
enum FarmRoutes {
BaseRoute = "/farms/",
YourFarms = "/farms/your-farms/",
FarmFinder = "/farms/farm-finder/",
NodeInstaller = "https://bootstrap.grid.tf/",
Simulator = "/farms/simulator/",
}
enum TFGridRoutes {
BaseRoute = "/tf-grid/",
GridStatus = "https://status.grid.tf/status/threefold/",
NodeStatistics = "/tf-grid/node-statistics/",
NodeMonitoring = "https://metrics.grid.tf/d/rYdddlPWkfqwf/zos-host-metrics?orgId=2&refresh=30s/",
}
enum TFChainRoutes {
BaseRoute = "/tf-chain/",
YourProfile = "/tf-chain/your-profile/",
TFDAO = "/tf-chain/dao/",
TFTokenBridge = "/tf-chain/token-bridge/",
TFTokenTransfer = "/tf-chain/token-transfer/",
TFMintingReports = "/tf-chain/minting-reports/",
}
enum OtherRoutes {
Manual = "https://manual.grid.tf/",
HomePage = "/",
}
enum ApplicationRoutes {
BaseRoute = "/deploy/applications/",
Peertube = "/deploy/applications/peertube/",
StaticWebsite = "/deploy/applications/static_website/",
Funkwhale = "/deploy/applications/funkwhale/",
Mattermost = "/deploy/applications/mattermost/",
Discourse = "/deploy/applications/discourse/",
Taiga = "/deploy/applications/taiga/",
Owncloud = "/deploy/applications/owncloud/",
Nextcloud = "/deploy/applications/nextcloud/",
Presearch = "/deploy/applications/presearch/",
Subsquid = "/deploy/applications/subsquid/",
Casperlabs = "/deploy/applications/casperlabs/",
Algorand = "/deploy/applications/algorand/",
Nodepilot = "/deploy/applications/nodepilot/",
Wordpress = "/deploy/applications/wordpress/",
Umbrel = "/deploy/applications/umbrel/",
Freeflow = "/deploy/applications/freeflow/",
TFRobot = "/deploy/applications/tfrobot/",
Nostr = "/deploy/applications/nostr/",
}
const DashboardRoutes = {
TFGrid: { ...TFGridRoutes },
TFChain: { ...TFChainRoutes },
Deploy: { ...DeployRoutes },
Applications: { ...ApplicationRoutes },
Farms: { ...FarmRoutes },
Other: { ...OtherRoutes },
VirtualMachines: { ...VirtualMachinesRoutes },
Orchestrators: { ...OrchestratorsRoutes },
};
export {
DashboardRoutes,
VirtualMachinesRoutes,
TFGridRoutes,
TFChainRoutes,
OtherRoutes,
OrchestratorsRoutes,
FarmRoutes,
DeployRoutes,
ApplicationRoutes,
};