Change interval to 1h. Create StatusTypes

This commit is contained in:
2023-12-18 20:44:01 -05:00
parent ac1730401a
commit 9390b7035c
2 changed files with 7 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ import { Boat, useBoatStore } from './boat';
import { date } from 'quasar';
import { DateOptions } from 'quasar';
export type StatusTypes = 'tentative' | 'confirmed' | 'pending' | undefined;
export interface Reservation {
id: number;
user: string;
@@ -11,7 +12,7 @@ export interface Reservation {
end: Date;
resource: Boat;
reservationDate: Date;
status?: string;
status?: StatusTypes;
}
function getSampleData(): Reservation[] {