config
@adamondo/backend / config
config
Variables
environment
constenvironment:string
Defined in: src/config.ts:11
emailLogo
constemailLogo:string
Defined in: src/config.ts:12
siteName
constsiteName:string
Defined in: src/config.ts:13
adminEmail
constadminEmail:string
Defined in: src/config.ts:14
port
constport:string|3000
Defined in: src/config.ts:15
url
consturl:string|undefined=process.env.SITE_URL
Defined in: src/config.ts:16
apiUrl
constapiUrl:string|undefined=process.env.API_URL
Defined in: src/config.ts:17
databaseUrl
constdatabaseUrl:string
Defined in: src/config.ts:18
prismaTransactionMaxWaitMs
constprismaTransactionMaxWaitMs:number
Defined in: src/config.ts:19
prismaTransactionTimeoutMs
constprismaTransactionTimeoutMs:number
Defined in: src/config.ts:22
cronTimezone
constcronTimezone:"America/Los_Angeles"
Defined in: src/config.ts:25
automationTesting
constautomationTesting:boolean
Defined in: src/config.ts:26
cronOnly
constcronOnly:boolean
Defined in: src/config.ts:27
FCM
constFCM:object
Defined in: src/config.ts:29
Type Declaration
SA
SA:
string|undefined=process.env.FCM_SA
redisConfig
constredisConfig:object
Defined in: src/config.ts:33
Type Declaration
url
url:
string
smtp
constsmtp:object
Defined in: src/config.ts:36
Type Declaration
email
email:
string|undefined=process.env.SMTP_EMAIL
host
host:
string|undefined=process.env.SMTP_HOST
port
port:
string|undefined=process.env.SMTP_PORT
password
password:
string|undefined=process.env.SMTP_PASSWORD
databaseConfig
constdatabaseConfig:object
Defined in: src/config.ts:43
Type Declaration
username
username:
string|undefined=process.env.DATABASE_USERNAME
password
password:
string|undefined=process.env.DATABASE_PASSWORD
database
database:
string|undefined=process.env.DATABASE_DBNAME
host
host:
string|undefined=process.env.DATABASE_HOST
dialect
dialect:
string|undefined=process.env.DATABASE_DIALECT
port
port:
string|undefined=process.env.DATABASE_PORT
auth
constauth:object
Defined in: src/config.ts:52
Type Declaration
jwt
jwt:
object
jwt.secret
secret:
string
google
google:
object
google.clientWebID
clientWebID:
string|undefined=process.env.GOOGLE_WEB_CLIENT_ID
google.clientAndroidID
clientAndroidID:
string|undefined=process.env.GOOGLE_ANDROID_CLIENT_ID
google.clientIOSID
clientIOSID:
string|undefined=process.env.GOOGLE_IOS_CLIENT_ID
google.clientSecret
clientSecret:
string|undefined=process.env.GOOGLE_CLIENT_SECRET
apple
apple:
object
apple.clientWebID
clientWebID:
string|undefined=process.env.APPLE_SERVICE_ID
apple.clientIOSID
clientIOSID:
string|undefined=process.env.APPLE_IOS_BUNDLE_ID
apple.teamID
teamID:
string|undefined=process.env.APPLE_TEAM_ID
apple.keyID
keyID:
string|undefined=process.env.APPLE_KEY_ID
apple.privateKey
privateKey:
string
payment
constpayment:object
Defined in: src/config.ts:69
Type Declaration
payMob
payMob:
object
payMob.PAYMOB_API_KEY
PAYMOB_API_KEY:
string
payMob.PAYMOB_PUBLIC_KEY
PAYMOB_PUBLIC_KEY:
string
payMob.PAYMOB_SECRET_KEY
PAYMOB_SECRET_KEY:
string
payMob.PAYMOB_NOTIFICATION_URL
PAYMOB_NOTIFICATION_URL:
string
payMob.PAYMOB_REDIRECTION_URL
PAYMOB_REDIRECTION_URL:
string
payMob.PAYMOB_PAYMENT_METHODS
PAYMOB_PAYMENT_METHODS:
number[]
payMob.PAYMOB_HMAC_SECRET
PAYMOB_HMAC_SECRET:
string
payMob.DEBUG
DEBUG:
boolean
payMob.PAYMOB_IFRAME_URL
PAYMOB_IFRAME_URL:
string|undefined=process.env.PAYMOB_IFRAME_URL
payMob.payout
payout:
object
payMob.payout.CLIENT_ID
CLIENT_ID:
string
payMob.payout.CLIENT_SECRET
CLIENT_SECRET:
string
payMob.payout.USERNAME
USERNAME:
string
payMob.payout.PASSWORD
PASSWORD:
string
payMob.payout.BASE_URL
BASE_URL:
string
aps
aps:
object
aps.MERCHANT_IDENTIFIER
MERCHANT_IDENTIFIER:
string
aps.ACCESS_CODE
ACCESS_CODE:
string
aps.SHA_REQUEST_PHRASE
SHA_REQUEST_PHRASE:
string
aps.SHA_RESPONSE_PHRASE
SHA_RESPONSE_PHRASE:
string
aps.BASE_URL
BASE_URL:
string
aps.HOSTED_CHECKOUT_URL
HOSTED_CHECKOUT_URL:
string
aps.APS_REDIRECTION_URL
APS_REDIRECTION_URL:
string
aps.DEBUG
DEBUG:
boolean
variantConfigs
constvariantConfigs:object
Defined in: src/config.ts:103
Type Declaration
profilePhoto
profilePhoto:
object[]
banner
banner:
object[]
listing
listing:
object[]
logo
logo:
object[]
location
location: ({
prefix:string;width:number;quality?:undefined;compressionLevel?:undefined; } | {prefix:string;width:number;quality:number;compressionLevel:number; })[]
claim
claim:
object[]
r2Config
constr2Config:object
Defined in: src/config.ts:131
Type Declaration
bucketName
bucketName:
string
accountId
accountId:
string
accessKeyId
accessKeyId:
string
secretAccessKey
secretAccessKey:
string
locales
constlocales:string[]
Defined in: src/config.ts:139
uploadDirectories
constuploadDirectories:object
Defined in: src/config.ts:141
Type Declaration
assetsUrl
assetsUrl:
string
fileuploadDir
fileuploadDir:
string
homelogouploadDir
homelogouploadDir:
string
banneruploadDir
banneruploadDir:
string
profilePhotouploadDir
profilePhotouploadDir:
string
documentuploadDir
documentuploadDir:
string
locationuploadDir
locationuploadDir:
string
homebanneruploadDir
homebanneruploadDir:
string
claimImagesUploadDir
claimImagesUploadDir:
string
faviconUploadDir
faviconUploadDir:
string
whyHostUploadDir
whyHostUploadDir:
string
logouploadDir
logouploadDir:
string
ogImageuploadDir
ogImageuploadDir:
string