-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconstants.tsx
More file actions
62 lines (60 loc) · 2.35 KB
/
constants.tsx
File metadata and controls
62 lines (60 loc) · 2.35 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
import { ExportMethod } from "@databiosphere/findable-ui/lib/components/Export/components/ExportMethod/exportMethod";
import { ComponentProps } from "react";
import { ExportToPlatform } from "../../../../app/components";
import { ExportIcon } from "../../../../app/components/Export/components/AnVILExplorer/components/ExportMethod/components/ExportIcon/exportIcon";
import { ROUTES } from "./routes";
export const EXPORTS: Record<
string,
Pick<
ComponentProps<typeof ExportToPlatform>,
"buttonLabel" | "description" | "successTitle" | "title"
>
> = {
BIO_DATA_CATALYST: {
buttonLabel: "Open BioData Catalyst",
description:
"BDC-SB is a cloud workspace for analysis, storage, and computation using workflows, Jupyter Notebooks, and RStudio.",
successTitle: "Your BioData Catalyst Workspace Link is Ready",
title: "Analyze in BioData Catalyst",
},
CANCER_GENOMICS_CLOUD: {
buttonLabel: "Open Cancer Genomics Cloud",
description:
"CGC is a cloud workspace for analysis, storage, and computation using workflows, Jupyter Notebooks, and RStudio.",
successTitle: "Your Cancer Genomics Cloud Workspace Link is Ready",
title: "Analyze in Cancer Genomics Cloud",
},
CAVATICA: {
buttonLabel: "Open CAVATICA",
description:
"CAVATICA is a cloud workspace for analysis, storage, and computation using workflows, Jupyter Notebooks, and RStudio.",
successTitle: "Your CAVATICA Workspace Link is Ready",
title: "Analyze in CAVATICA",
},
};
export const EXPORT_METHODS: Record<
string,
Pick<
ComponentProps<typeof ExportMethod>,
"description" | "icon" | "route" | "title"
>
> = {
BIO_DATA_CATALYST: {
description: EXPORTS.BIO_DATA_CATALYST.description,
icon: <ExportIcon alt="BDC" src="/export/bdc.webp" width={24} />,
route: ROUTES.BIO_DATA_CATALYST,
title: "Export to BioData Catalyst Powered by Seven Bridges (BDC-SB)",
},
CANCER_GENOMICS_CLOUD: {
description: EXPORTS.CANCER_GENOMICS_CLOUD.description,
icon: <ExportIcon alt="CGC" src="/export/cgc.webp" width={24} />,
route: ROUTES.CANCER_GENOMICS_CLOUD,
title: "Export to Cancer Genomics Cloud (CGC)",
},
CAVATICA: {
description: EXPORTS.CAVATICA.description,
icon: <ExportIcon alt="CAVATICA" src="/export/cavatica.webp" width={24} />,
route: ROUTES.CAVATICA,
title: "Export to CAVATICA",
},
};