bsky-app/src/env.ts

10 lines
308 B
TypeScript
Raw Normal View History

export const IS_TEST = process.env.EXPO_PUBLIC_ENV === 'test'
2023-11-03 22:34:14 +01:00
export const IS_DEV = __DEV__
export const IS_PROD = !IS_DEV
export const LOG_DEBUG = process.env.EXPO_PUBLIC_LOG_DEBUG || ''
export const LOG_LEVEL = (process.env.EXPO_PUBLIC_LOG_LEVEL || 'info') as
| 'debug'
| 'info'
| 'warn'
| 'error'