26 lines
873 B
TypeScript
26 lines
873 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
|
|
|
|
/**
|
|
* Region that owns all pre-region data; the default target for backfills and
|
|
* for clients that don't send an explicit regionId.
|
|
*/
|
|
export const DEFAULT_REGION_ID = 1
|
|
|
|
/**
|
|
* 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 = 'http://192.168.100.126:8787'
|
|
// export const BASE_API_URL = 'http://192.168.1.5:8787'
|
|
|
|
// Re-export all types from the types folder
|
|
export * from './types'
|