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