forked from zabartcc/bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ts
More file actions
15 lines (13 loc) · 883 Bytes
/
config.ts
File metadata and controls
15 lines (13 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import axios from 'axios';
export const config = {
atcPos: ['PHX', 'ABQ', 'TUS', 'AMA', 'ROW', 'ELP', 'SDL', 'CHD', 'FFZ', 'IWA', 'DVT', 'GEU', 'GYR', 'LUF', 'RYN', 'DMA', 'FLG', 'PRC', 'AEG', 'BIF', 'HMN', 'SAF', 'FHU'],
airports: ['KPHX', 'KABQ', 'KTUS', 'KAMA', 'KROW', 'KELP', 'KSDL', 'KCHD', 'KFFZ', 'KIWA', 'KDVT', 'KGEU', 'KGYR', 'KLUF', 'KRYN', 'KDMA', 'KFLG', 'KPRC', 'KAEG', 'KBIF', 'KHMN', 'KSAF', 'KFHU'],
ratings: ['Unknown', 'OBS', 'S1', 'S2', 'S3', 'C1', 'C2', 'C3', 'I1', 'I2', 'I3', 'SUP', 'ADM'],
ratingsLong: ['Unknown', 'Observer', 'Student', 'Student 2', 'Senior Student', 'Controller', 'Controller 2', 'Senior Controller', 'Instructor', 'Instructor 2', 'Senior Instructor', 'Supervisor', 'Administrator'],
};
export const zabApi = axios.create({
baseURL: process.env.ZAB_API_URL,
headers: {
Authorization: `Bearer ${process.env.ZAB_API_KEY}`,
},
});