fix
This commit is contained in:
@@ -27,6 +27,9 @@ export const ADMIN_SYNC_A1_PATH = (companyId: string) =>
|
||||
export const ADMIN_STAFF_ROLE_PATH = (userId: string) =>
|
||||
`/api/admin/users/${encodeURIComponent(userId)}/staff-role`;
|
||||
|
||||
/** Matches API `platformDemoCompanyName` (catalog/prompt_repair.go). */
|
||||
export const PLATFORM_DEMO_COMPANY_NAME = "Platform Demo";
|
||||
|
||||
export const PAGE_SIZE = 25;
|
||||
|
||||
export type PlatformStaffRole = "admin" | "developer" | "support_staff";
|
||||
@@ -217,7 +220,7 @@ export type CloneCatalogResult = {
|
||||
counts: Record<string, number>;
|
||||
};
|
||||
|
||||
/** Copy source company catalog into the admin sandbox (home / dest). Source is unchanged. */
|
||||
/** Copy source company catalog into dest (explicit id preferred). Source is unchanged. */
|
||||
export async function cloneAdminCompanyCatalog(
|
||||
sourceCompanyId: string,
|
||||
opts?: { destCompanyId?: string }
|
||||
|
||||
Reference in New Issue
Block a user