Basic calendar view

This commit is contained in:
2023-11-24 00:12:58 -05:00
parent a6540a2a02
commit 8200bcde52
30 changed files with 406 additions and 57 deletions

View File

@@ -8,13 +8,13 @@ export interface Boat {
class: string;
year: number;
imgsrc: string;
booking: {
booking?: {
available: boolean;
requiredCerts: string[];
maxDuration: number;
maxPassengers: number;
};
defects: {
defects?: {
type: string;
severity: string;
description: string;

View File

@@ -0,0 +1,33 @@
import { defineStore } from 'pinia';
export interface MemberProfile {
firstName: string;
lastName: string;
certs: string[];
slackID: string;
userID: string;
}
const getSampleData = () => ({
firstName: 'Billy',
lastName: 'Crystal',
certs: ['j27', 'capri25'],
});
export const useMemberProfileStore = defineStore('memberProfile', {
state: () => ({
...getSampleData(),
}),
// getters: {
// doubleCount (state) {
// return state.counter * 2;
// }
// },
// actions: {
// increment () {
// this.counter++;
// }
// }
});

View File

@@ -1,9 +1,10 @@
import { defineStore } from 'pinia';
export interface Reservation {
user: string;
startdate: Date;
enddate: Date;
resource: string;
bookingdate: Date;
reservationDate: Date;
}
export const useScheduleStore = defineStore('schedule', {