Tagessteuerung

This commit is contained in:
michael committed 2026-09-16 08:29:58 +00:00
1 parent 560b747d5d
commit 904b123884
8 files changed
+744 -80

No files matched your search

+20 -1
View File
@@ -14,7 +14,7 @@ export type AuthUser = {
has_zammad_api_token: boolean;
};
export type DashboardWidgetType = "today" | "month" | "openRatings" | "projectBudgets" | "todos" | "teamspace" | "favorites" | "divider" | "statistic" | "notes";
export type DashboardWidgetType = "dayControl" | "today" | "month" | "openRatings" | "projectBudgets" | "todos" | "teamspace" | "favorites" | "divider" | "statistic" | "notes";
export type DashboardSortDirection = "asc" | "desc";
export type DashboardFavorite = {
@@ -40,6 +40,23 @@ export type DashboardPreference = {
favorites: DashboardFavorite[];
};
export type DashboardDayTicket = {
ticket_id: string;
ticket_number: string;
title: string | null;
organization_name: string | null;
work_type: WorkType | null;
zammad_priority_id: string | null;
zammad_state_id: string | null;
zammad_pending_time: string | null;
latest_started_at: string | null;
has_project: boolean;
own_session_count: number;
open_session_count: number;
open_todo_count: number;
due_todo_count: number;
};
export type AdminUser = AuthUser & {
created_at: string;
updated_at: string;
@@ -138,6 +155,7 @@ export type ProjectSummary = {
work_type: WorkType | null;
zammad_priority_id?: string | null;
zammad_state_id?: string | null;
zammad_pending_time?: string | null;
teamspace_project: string | null;
description: string;
goals: string;
@@ -211,6 +229,7 @@ export type TicketSummary = {
project_id: string | null;
session_count: number;
total_minutes: number;
crm_billed_minutes: number;
non_billable_minutes: number;
open_minutes: number;
open_count: number;