-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.ts
46 lines (44 loc) · 1.75 KB
/
constants.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
export const sections = new Set<string>(JSON.parse(
`["BIOLT","DIGIS","FILOG","FISK","INNOV","INSPM","KJEMI","LEDELS","MILPÅ","OSEAN","PRODB","SENSE","STABS","UTRED","ØKOSY"]`,
));
export const offices = new Set<string>(JSON.parse(
`["Alta","Bergen","Bodø","Oslo","Reykjavík","Ski","Sortland","Stord","Tromsø","Trondheim"]`,
));
const EN = new Map([
["BIOLT", "Biological Analyses and Taxonomy"],
["DIGIS", "Digital Solutions"],
["FILOG", "Field Infrastructure and Logistics"],
["FISK", "Research and Innovation Facility Kraknes"],
["INNOV", "Aquaculture Innovation"],
["INSPM", "Aquaculture Inspections and Environmental Services"],
["KJEMI", "Chemistry Lab"],
["LEDELS", "Management"],
["MILPÅ", "Environmental Impacts"],
["OSEAN", "Oceanography"],
["PRODB", "Aquaculture Production and Sustainability"],
["SENSE", "Environmental Risks & Contingency Analyses"],
["STABS", "Staff and Support"],
["UTRED", "Environmental Assessments and Monitoring"],
["ØKOSY", "Ecosystems"],
["ØKOSY", "Environmental Impacts"],
]);
const NO = new Map([
["BIOLT", "Biologiske analyser og taksonomi"],
["DIGIS", "Digitale løsninger"],
["FILOG", "Feltinfrastruktur og logistikk"],
["FISK", "Forsknings- og Innovasjonsenter Kraknes"],
["INNOV", "Akvakultur innovasjon"],
["INSPM", "Akvakultur inspeksjon og miljøtjenester"],
["KJEMI", "Kjemilab"],
["MILPÅ", "Miljøpåvirkninger"],
["OSEAN", "Oseanografi"],
["PRODB", "Akvakultur produksjon og bærekraft"],
["SENSE", "Miljørisiko- og beredskapsanalyser"],
["STABS", "Stab og støtte"],
["UTRED", "Miljøutredning og overvåking"],
["ØKOSY", "Økosystemforståelse"],
]);
export const sectionList = [...sections].map((id) => ({
id,
name: { en: EN.get(id), no: NO.get(id) },
}));