feat: add hierarchical subitems to checklist templates and executions

This commit is contained in:
Matthias Hochmeister
2026-03-28 18:37:36 +01:00
parent 51be3b54f6
commit 893fbe43a0
5 changed files with 209 additions and 94 deletions

View File

@@ -13,6 +13,7 @@ export interface ChecklistVorlageItem {
beschreibung?: string;
pflicht: boolean;
sort_order: number;
parent_item_id?: number | null;
}
export interface AusruestungTyp {
@@ -61,6 +62,7 @@ export interface ChecklistAusfuehrungItem {
bezeichnung: string;
ergebnis?: 'ok' | 'nok' | 'na';
kommentar?: string;
parent_ausfuehrung_item_id?: number | null;
created_at: string;
}
@@ -151,6 +153,7 @@ export interface CreateVorlageItemPayload {
beschreibung?: string;
pflicht?: boolean;
sort_order?: number;
parent_item_id?: number | null;
}
export interface UpdateVorlageItemPayload {