freshyo/packages/shared/index.ts
2026-10-03 10:53:34 +05:30

20 lines
697 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 = 'http://192.168.100.26:8787'
// export const BASE_API_URL = 'http://192.168.1.5:8787'
// Re-export all types from the types folder
export * from './types'