fix permissions

This commit is contained in:
Matthias Hochmeister
2026-03-25 07:48:00 +01:00
parent 5a64987236
commit 59140939df
9 changed files with 750 additions and 100 deletions

View File

@@ -19,8 +19,8 @@ export interface Issue {
typ_icon: string | null;
typ_farbe: string | null;
typ_erlaubt_abgelehnt: boolean;
prioritaet: 'niedrig' | 'mittel' | 'hoch';
status: 'offen' | 'in_bearbeitung' | 'erledigt' | 'abgelehnt';
prioritaet: string;
status: string;
erstellt_von: string;
erstellt_von_name?: string;
zugewiesen_an: string | null;
@@ -42,15 +42,15 @@ export interface CreateIssuePayload {
titel: string;
beschreibung?: string;
typ_id?: number;
prioritaet?: 'niedrig' | 'mittel' | 'hoch';
prioritaet?: string;
}
export interface UpdateIssuePayload {
titel?: string;
beschreibung?: string;
typ_id?: number;
prioritaet?: 'niedrig' | 'mittel' | 'hoch';
status?: 'offen' | 'in_bearbeitung' | 'erledigt' | 'abgelehnt';
prioritaet?: string;
status?: string;
zugewiesen_an?: string | null;
kommentar?: string;
}
@@ -79,9 +79,33 @@ export interface IssueStatusmeldung {
updated_at: string;
}
export interface IssueWidgetSummary {
offen: number;
in_bearbeitung: number;
erledigt: number;
abgelehnt: number;
export interface IssueStatusDef {
id: number;
schluessel: string;
bezeichnung: string;
farbe: string;
ist_abschluss: boolean;
ist_initial: boolean;
benoetigt_typ_freigabe: boolean;
sort_order: number;
aktiv: boolean;
}
export interface IssuePriorityDef {
id: number;
schluessel: string;
bezeichnung: string;
farbe: string;
sort_order: number;
aktiv: boolean;
}
export interface IssueStatusCount {
schluessel: string;
bezeichnung: string;
farbe: string;
ist_abschluss: boolean;
count: number;
}
export type IssueWidgetSummary = IssueStatusCount[];