This commit is contained in:
NotII
2025-04-08 02:10:47 +01:00
parent 73507e6ac0
commit 054ea4802d
4 changed files with 42 additions and 14 deletions

View File

@@ -45,13 +45,24 @@ export {
type ShippingOptionsResponse,
} from './services/shipping-service';
// Define the PlatformStats interface to match the expected format
export interface PlatformStats {
orders: {
completed: number;
};
vendors: {
total: number;
};
transactions: {
volume: number;
averageOrderValue?: number;
};
}
// Re-export stats services
export {
getPlatformStats,
getVendorStats,
// Types
type PlatformStats,
} from './services/stats-service';
// Re-export server API functions