Skip to content

Commit eda2ee1

Browse files
committed
[PT2025BMHW-119][Shared] Add large mock tenants dataset for stress testing
1 parent 40760c6 commit eda2ee1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Tenant } from '../../types/api/Tenants';
2+
3+
export const MOCK_LARGE_TENANTS: Tenant[] = Array.from({ length: 800 }, (_, i) => ({
4+
id: `tenant-${i}`,
5+
name: `Tenant ${i} Organization`,
6+
subdomain: `tenant${i}`,
7+
status: Math.random() > 0.1 ? 'Active' : 'Suspended',
8+
isActive: Math.random() > 0.1,
9+
createdAt: new Date(Date.now() - Math.floor(Math.random() * 10000000000)).toISOString(),
10+
updatedAt: new Date().toISOString(),
11+
maxUsers: 100,
12+
maxStorage: 1024,
13+
contactEmail: `contact@tenant${i}.com`,
14+
contactPhone: '123-456-7890'
15+
}));
-327 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)