-
Notifications
You must be signed in to change notification settings - Fork 2
/
appConfig.ts
29 lines (21 loc) · 917 Bytes
/
appConfig.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
import { firebaseCred, prolificCompletionCode } from './creds'
import type { FirebaseOptions } from 'firebase/app'
export const debuggingMode: boolean = true
export const simulateMockDatabase: boolean = true
export const contactInfo: Record<'name' | 'email', string> = {
name: 'YOUR NAME',
email: 'YOUR@EMAIL',
}
export const prolificCUrlLive = 'https://app.prolific.com/submissions/complete'
export const prolificCUrlTest = 'https://daeh.info'
const firebaseCredMock: FirebaseOptions = {
apiKey: 'DUMMY-STRING',
authDomain: 'DUMMY-STRING',
projectId: 'DUMMY-STRING',
storageBucket: 'DUMMY-STRING',
messagingSenderId: 'DUMMY-STRING',
appId: 'DUMMY-STRING',
}
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
export const firebaseConfig: FirebaseOptions = simulateMockDatabase ? firebaseCredMock : firebaseCred
export const prolificCCode: string = prolificCompletionCode