fp/services/our/src/config/constants.ts

46 lines
1.2 KiB
TypeScript

export const constants = {
twitch: {
maxGeneralApiRequestsPerMinute: 800,
maxChannelPointRewards: 50,
dev: {
paths: {
auth: '/auth/twitchmock',
users: '/mock/users',
channelPointRewards: '/mock/channel_points/custom_rewards'
}
},
staging: {
paths: {
auth: '/auth/twitch',
users: '/helix/users',
channelPointRewards: '/helix/channel_points/custom_rewards'
}
},
prod: {
paths: {
auth: '/auth/twitch',
users: '/helix/users',
channelPointRewards: '/helix/channel_points/custom_rewards'
}
},
authScopes: [
"channel:manage:redemptions", // manage custom channel point redeems
],
},
patreon: {
authScopes: [
'identity'
],
},
site: {
title: 'future.porn',
description: 'Dedication to the preservation of Lewdtuber history',
version: process.env.npm_package_version || '?.?.?'
},
timeUnits: {
sevenDaysInSeconds: 604800,
oneDayInSeconds: 1000 * 60 * 60 * 24
}
}