23 lines
884 B
TypeScript
23 lines
884 B
TypeScript
export const CACHE_FILENAMES = {
|
|
products: 'products.json',
|
|
stores: 'stores.json',
|
|
slots: 'slots.json',
|
|
availability: 'availability.json',
|
|
essentialConsts: 'essential-consts.json',
|
|
banners: 'banners.json',
|
|
} as const
|
|
|
|
/**
|
|
* Base origin of the backend API, shared by every UI (React Native and web).
|
|
* Framework-agnostic: apps may override it (e.g. VITE_API_URL) at build time.
|
|
*/
|
|
// export const BASE_API_URL = 'https://worker.freshyo.in'
|
|
// export const BASE_API_URL = 'https://devapi.freshyo.in'
|
|
export const BASE_API_URL = 'https://devbackend.freshyo.in'
|
|
// export const BASE_API_URL = 'https://192.168.100.126.nip.io:8787'
|
|
// export const BASE_API_URL = 'http://192.168.1.5:8787'
|
|
|
|
// Re-export all types from the types folder
|
|
export * from './types'
|
|
// Framework-agnostic coupon/cart money helpers (used by the backend pricing path).
|
|
export * from './cart-pricing'
|