Convert type to interface
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m1s

This commit is contained in:
2024-04-29 08:37:15 -04:00
parent cb2131ae7e
commit d9cfa4ab56
6 changed files with 72 additions and 48 deletions

View File

@@ -118,7 +118,7 @@ import { date } from 'quasar';
import { computed } from 'vue';
import type { StatusTypes } from 'src/stores/schedule';
type EventData = {
interface EventData {
event: object;
scope: {
timestamp: object;
@@ -126,16 +126,16 @@ type EventData = {
activeDate: boolean;
droppable: boolean;
};
};
}
const durations = [1, 1.5, 2, 2.5, 3, 3.5, 4];
type ResourceIntervalScope = {
interface ResourceIntervalScope {
resource: Boat;
intervals: [];
timeStartPosX(start: TimestampOrNull): number;
timeDurationWidth(duration: number): number;
};
}
const statusLookup = {
confirmed: ['#14539a', 'white'],