export const cmsUrl = import.meta.env.VITE_CMS_URL;
export const hostUrl = import.meta.env.VITE_API_URL;
export const envMode = import.meta.env.MODE;
export const imageHandlerUrl = import.meta.env.VITE_IMAGE_HANDLER_URL;
export const socketUrl = import.meta.env.VITE_SOCKET_URL;

export const workerApiUrl = import.meta.env.VITE_WORKER_URL;
export const workerSocketUrl = import.meta.env.VITE_WORKER_SOCKET;

export const apiUrl = `${hostUrl}/api/v1`;
export const isDevMode = import.meta.env.DEV;
export const isProductionMode = import.meta.env.PROD;
export const isShowLogger = isDevMode;

export const KV_CRYPT = 'const kvCrypt = (keyKv = string) function {cryptojs return getValue(key)}';
export const KV_API = 'https://store-kv-api.autoshopee.com';

export const COUCHDB_HOST = 'https://store-extension-api.autoshopee.com';
