/** * Current VTEX workspace, only available in dev mode * while using the @vtex/raccoon-dev package. */ export const RACCOON_DEV_WORKSPACE = process.env.NEXT_PUBLIC_VTEX_WORKSPACE || '' /** * Current VTEX account, only available in dev mode * while using the @vtex/raccoon-dev package. */ export const RACCOON_DEV_ACCOUNT = process.env.NEXT_PUBLIC_VTEX_ACCOUNT || '' /** * VTEX ID token, only available in dev mode * while using the @vtex/raccoon-dev package. */ export const RACCOON_DEV_VTEX_ID_TOKEN = process.env.NEXT_PUBLIC_VTEX_TOKEN || '' /** * VTEX admin locale, only available in dev mode * while using the @vtex/raccoon-dev package. */ export const RACCOON_DEV_LOCALE = process.env.NEXT_PUBLIC_VTEX_LOCALE || 'en-US' /** * VTEX admin currency, only available in dev mode * while using the @vtex/raccoon-dev package. */ export const RACCOON_DEV_CURRENCY = process.env.NEXT_PUBLIC_VTEX_CURRENCY || 'USD' export const RACCOON_DEV_COUNTRY = process.env.NEXT_PUBLIC_VTEX_COUNTRY || 'US' /** * Whether the Raccoon Dev environment is enabled or not, * according to the presence of the VTEX ID token, account and workspace * loaded from the environment variables. */ export const RACCOON_DEV_ENABLED = RACCOON_DEV_VTEX_ID_TOKEN && RACCOON_DEV_ACCOUNT && RACCOON_DEV_WORKSPACE