blob: 9ece33c32258733ef4fa6fff31866f87189fda03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import { UserProfile } from '@/features/profile/types';
import { Reservation } from '@/features/reservations/types';
type MockReservationLock = {
reservationId: string;
userId: string;
officeId: string;
date: string;
time: string;
};
export function mockDelay(durationMs = 250): Promise<void> {
return new Promise((resolve) => {
setTimeout(resolve, durationMs);
});
}
export const mockUserProfile: UserProfile = {
uid: 'mock-user',
email: 'mock@appoficina.local',
displayName: 'Usuario Demo',
photoURL: '',
phone: '',
company: '',
bio: '',
};
export const mockReservations: Reservation[] = [];
export const mockReservationLocks: Record<string, MockReservationLock> = {};
|