28 lines
454 B
TypeScript
28 lines
454 B
TypeScript
export enum SpaceType {
|
|
Desk = 'Desk',
|
|
Room = 'Room',
|
|
Amenity = 'Amenity',
|
|
}
|
|
|
|
export enum BookingStatus {
|
|
Available = 'Available',
|
|
Occupied = 'Occupied',
|
|
Reserved = 'Reserved',
|
|
OutOfService = 'OutOfService',
|
|
}
|
|
|
|
export enum UserRole {
|
|
Admin = 'Admin',
|
|
Supervisor = 'Supervisor',
|
|
Employee = 'Employee',
|
|
}
|
|
|
|
export interface SpaceDTO {
|
|
id: string;
|
|
name: string;
|
|
type: SpaceType;
|
|
x: number;
|
|
y: number;
|
|
status: BookingStatus;
|
|
}
|