Cleanup warnings
This commit is contained in:
@@ -100,9 +100,9 @@
|
|||||||
import { ref, computed, watch } from 'vue';
|
import { ref, computed, watch } from 'vue';
|
||||||
import { useAuthStore } from 'src/stores/auth';
|
import { useAuthStore } from 'src/stores/auth';
|
||||||
import { Boat, useBoatStore } from 'src/stores/boat';
|
import { Boat, useBoatStore } from 'src/stores/boat';
|
||||||
import { Dialog, date } from 'quasar';
|
import { date } from 'quasar';
|
||||||
import { useScheduleStore } from 'src/stores/schedule';
|
import { useScheduleStore } from 'src/stores/schedule';
|
||||||
import { Reservation, Timeblock } from 'src/stores/schedule.types';
|
import { Timeblock } from 'src/stores/schedule.types';
|
||||||
import BoatScheduleTableComponent from 'src/components/scheduling/boat/BoatScheduleTableComponent.vue';
|
import BoatScheduleTableComponent from 'src/components/scheduling/boat/BoatScheduleTableComponent.vue';
|
||||||
|
|
||||||
interface BookingForm {
|
interface BookingForm {
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ export interface Boat {
|
|||||||
booking?: {
|
booking?: {
|
||||||
available: boolean;
|
available: boolean;
|
||||||
requiredCerts: string[];
|
requiredCerts: string[];
|
||||||
maxDuration: number;
|
|
||||||
maxPassengers: number;
|
maxPassengers: number;
|
||||||
};
|
};
|
||||||
defects?: {
|
defects?: {
|
||||||
@@ -33,7 +32,7 @@ const getSampleData = () => [
|
|||||||
year: 1981,
|
year: 1981,
|
||||||
imgsrc: '/tmpimg/j27.png',
|
imgsrc: '/tmpimg/j27.png',
|
||||||
iconsrc: '/tmpimg/projectx_avatar256.png',
|
iconsrc: '/tmpimg/projectx_avatar256.png',
|
||||||
booking: { maxPassengers: 8 },
|
booking: { available: true, maxPassengers: 8, requiredCerts: [] },
|
||||||
defects: [
|
defects: [
|
||||||
{
|
{
|
||||||
type: 'engine',
|
type: 'engine',
|
||||||
@@ -60,7 +59,7 @@ and rough engine performance.`,
|
|||||||
year: 1985,
|
year: 1985,
|
||||||
imgsrc: '/tmpimg/j27.png',
|
imgsrc: '/tmpimg/j27.png',
|
||||||
iconsrc: '/tmpimg/take5_avatar32.png',
|
iconsrc: '/tmpimg/take5_avatar32.png',
|
||||||
booking: { maxPassengers: 8 },
|
booking: { available: true, maxPassengers: 8, requiredCerts: [] },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
$id: '3',
|
$id: '3',
|
||||||
@@ -69,7 +68,7 @@ and rough engine performance.`,
|
|||||||
class: 'Capri 25',
|
class: 'Capri 25',
|
||||||
year: 1989,
|
year: 1989,
|
||||||
imgsrc: '/tmpimg/capri25.png',
|
imgsrc: '/tmpimg/capri25.png',
|
||||||
booking: { maxPassengers: 6 },
|
booking: { available: true, maxPassengers: 6, requiredCerts: [] },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
$id: '4',
|
$id: '4',
|
||||||
@@ -78,7 +77,7 @@ and rough engine performance.`,
|
|||||||
class: 'Capri 25',
|
class: 'Capri 25',
|
||||||
year: 1989,
|
year: 1989,
|
||||||
imgsrc: '/tmpimg/capri25.png',
|
imgsrc: '/tmpimg/capri25.png',
|
||||||
booking: { maxPassengers: 8 },
|
booking: { available: true, maxPassengers: 8, requiredCerts: [] },
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export function getSampleTimeBlocks(): Timeblock[] {
|
|||||||
export function getSampleReservations(): Reservation[] {
|
export function getSampleReservations(): Reservation[] {
|
||||||
const sampleData = [
|
const sampleData = [
|
||||||
{
|
{
|
||||||
id: 1,
|
id: '1',
|
||||||
user: 'John Smith',
|
user: 'John Smith',
|
||||||
start: '7:00',
|
start: '7:00',
|
||||||
end: '10:00',
|
end: '10:00',
|
||||||
@@ -72,7 +72,7 @@ export function getSampleReservations(): Reservation[] {
|
|||||||
status: 'confirmed',
|
status: 'confirmed',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 2,
|
id: '2',
|
||||||
user: 'Bob Barker',
|
user: 'Bob Barker',
|
||||||
start: '16:00',
|
start: '16:00',
|
||||||
end: '19:00',
|
end: '19:00',
|
||||||
@@ -80,7 +80,7 @@ export function getSampleReservations(): Reservation[] {
|
|||||||
status: 'confirmed',
|
status: 'confirmed',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 3,
|
id: '3',
|
||||||
user: 'Peter Parker',
|
user: 'Peter Parker',
|
||||||
start: '7:00',
|
start: '7:00',
|
||||||
end: '13:00',
|
end: '13:00',
|
||||||
@@ -88,7 +88,7 @@ export function getSampleReservations(): Reservation[] {
|
|||||||
status: 'tentative',
|
status: 'tentative',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 4,
|
id: '4',
|
||||||
user: 'Vince McMahon',
|
user: 'Vince McMahon',
|
||||||
start: '10:00',
|
start: '10:00',
|
||||||
end: '13:00',
|
end: '13:00',
|
||||||
@@ -96,7 +96,7 @@ export function getSampleReservations(): Reservation[] {
|
|||||||
status: 'pending',
|
status: 'pending',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 5,
|
id: '5',
|
||||||
user: 'Heather Graham',
|
user: 'Heather Graham',
|
||||||
start: '13:00',
|
start: '13:00',
|
||||||
end: '19:00',
|
end: '19:00',
|
||||||
@@ -104,7 +104,7 @@ export function getSampleReservations(): Reservation[] {
|
|||||||
status: 'confirmed',
|
status: 'confirmed',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 6,
|
id: '6',
|
||||||
user: 'Lawrence Fishburne',
|
user: 'Lawrence Fishburne',
|
||||||
start: '13:00',
|
start: '13:00',
|
||||||
end: '16:00',
|
end: '16:00',
|
||||||
|
|||||||
Reference in New Issue
Block a user