frontend phase 15
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* When true, the partner-center domain is served by the in-memory mock (`apis/mockApi.ts`) behind the
|
||||
* `PartnerCenterApi` seam. **Mock is primary this phase:** the b15 contract exposes admin CRUD/verify/
|
||||
* sponsor + a single `GET /centers/{id}/dashboard` portal endpoint, but the portal's split reads
|
||||
* (my-center / sponsored-nurses / sponsored-bookings / settlement invoices), the activate/suspend toggle,
|
||||
* and the write-then-masked IBAN flow are gaps (REQ-032/033). The mock returns **both** a merchant-of-record
|
||||
* center (settlement view renders) and a non-MoR center (the "settlement via Balinyaar" state), verified +
|
||||
* unverified nurses, sponsored bookings, and commission invoices with a fake مودیان reference + stub PDF.
|
||||
*/
|
||||
export const USE_PARTNER_MOCK = true;
|
||||
|
||||
/** Which mock center the portal ("my center") resolves to — flip to demo the MoR vs non-MoR states. */
|
||||
export const MOCK_MY_CENTER_ID = 1;
|
||||
|
||||
export const PARTNER_PAGE_SIZE = 20;
|
||||
|
||||
export const PARTNER_LIST_STALE_TIME = 60 * 1000;
|
||||
export const PARTNER_DETAIL_STALE_TIME = 30 * 1000;
|
||||
export const PARTNER_GC_TIME = 5 * 60 * 1000;
|
||||
Reference in New Issue
Block a user