Start off Atlas users with A$5000
This commit is contained in:
parent
2dfe939656
commit
26bb228e90
|
@ -21,6 +21,7 @@ export const ATLAS_CONFIG: EnvConfig = {
|
||||||
adminEmails: [...PROD_CONFIG.adminEmails],
|
adminEmails: [...PROD_CONFIG.adminEmails],
|
||||||
whitelistEmail: '',
|
whitelistEmail: '',
|
||||||
moneyMoniker: 'A$',
|
moneyMoniker: 'A$',
|
||||||
|
startingBalance: 5000,
|
||||||
visibility: 'PRIVATE',
|
visibility: 'PRIVATE',
|
||||||
faviconPath: '/atlas/atlas-favicon.png',
|
faviconPath: '/atlas/atlas-favicon.png',
|
||||||
navbarLogoPath: '',
|
navbarLogoPath: '',
|
||||||
|
|
|
@ -19,6 +19,7 @@ export type EnvConfig = {
|
||||||
faviconPath?: string // Should be a file in /public
|
faviconPath?: string // Should be a file in /public
|
||||||
navbarLogoPath?: string
|
navbarLogoPath?: string
|
||||||
newQuestionPlaceholders: string[]
|
newQuestionPlaceholders: string[]
|
||||||
|
startingBalance?: number
|
||||||
}
|
}
|
||||||
|
|
||||||
type FirebaseConfig = {
|
type FirebaseConfig = {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import { ENV, ENV_CONFIG } from './envs/constants'
|
||||||
|
|
||||||
export type User = {
|
export type User = {
|
||||||
id: string
|
id: string
|
||||||
createdTime: number
|
createdTime: number
|
||||||
|
@ -21,8 +23,9 @@ export type User = {
|
||||||
followedCategories?: string[]
|
followedCategories?: string[]
|
||||||
}
|
}
|
||||||
|
|
||||||
export const STARTING_BALANCE = 1000
|
export const STARTING_BALANCE = ENV_CONFIG.startingBalance ?? 1000
|
||||||
export const SUS_STARTING_BALANCE = 10 // for sus users, i.e. multiple sign ups for same person
|
// for sus users, i.e. multiple sign ups for same person
|
||||||
|
export const SUS_STARTING_BALANCE = ENV_CONFIG.startingBalance ?? 10
|
||||||
|
|
||||||
export type PrivateUser = {
|
export type PrivateUser = {
|
||||||
id: string // same as User.id
|
id: string // same as User.id
|
||||||
|
|
Loading…
Reference in New Issue
Block a user