first commit
Some checks failed
tests / ci (push) Has been cancelled

This commit is contained in:
2026-10-27 11:01:11 +00:00
parent 9b8b21c853
commit fb04d71a8d
29 changed files with 9733 additions and 326 deletions

View File

@@ -29,9 +29,31 @@ export type Reservation = {
ends_at: string;
status: string;
decision_reason?: string | null;
recurring_group_id?: string | null;
recurrence_pattern?: string | null;
items: ReservationItem[];
};
export type ConflictedAsset = {
id: number;
name: string;
asset_tag: string;
model_name: string | null;
category_name: string | null;
alternatives: Asset[];
};
export type OccurrenceCheck = {
index: number;
date_formatted: string;
time_formatted: string;
starts_at: string;
ends_at: string;
has_conflict: boolean;
conflicted_assets: ConflictedAsset[];
available_assets: Asset[];
};
export type PaginationLink = {
url: string | null;
label: string;
@@ -47,3 +69,9 @@ export type Paginated<T> = {
total: number;
links: PaginationLink[];
};
export type WeeklySlot = {
day_of_week: number; // 0-6 (Sunday-Saturday)
start_time: string; // HH:mm format
end_time: string; // HH:mm format
};