All checks were successful
		
		
	
	Add copyright notice / copyright_notice (pull_request) Successful in 3m26s
				
			Check usage of free licenses / build-static-assets (pull_request) Successful in 3m37s
				
			Build Nginx-based docker image / build-static-assets (push) Successful in 40m57s
				
			Playwright Tests / test (pull_request) Successful in 4m16s
				
			
		
			
				
	
	
		
			52 lines
		
	
	
		
			940 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			940 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
 | |
| 
 | |
| import { AttendanceSummary } from "./group";
 | |
| import { Guest } from "./guest";
 | |
| 
 | |
| export interface Entity {
 | |
|   id?: string;
 | |
| }
 | |
| 
 | |
| export type TableArrangement = {
 | |
|   id: string;
 | |
|   number: number;
 | |
|   name: string;
 | |
|   guests?: Guest[];
 | |
|   discomfort?: number;
 | |
|   valid?: boolean;
 | |
|   progress: number;
 | |
|   status: 'in_progress' | 'completed' | 'not_started';
 | |
| }
 | |
| 
 | |
| export type User = {
 | |
|   id: string;
 | |
|   email: string;
 | |
| }
 | |
| 
 | |
| export type Captcha = {
 | |
|   id: string;
 | |
|   answer: string;
 | |
| }
 | |
| 
 | |
| export type StructuredErrors = {
 | |
|   [key: string]: string[] | string;
 | |
| };
 | |
| 
 | |
| export type GlobalSummary = {
 | |
|   expenses: ExpenseSummary; 
 | |
|   guests: AttendanceSummary
 | |
| }
 | |
| 
 | |
| export type ExpenseSummary = {
 | |
|   projected: ExpensePossibleSummary;
 | |
|   confirmed: ExpensePossibleSummary;
 | |
|   status: StatusSummary;
 | |
| }
 | |
| 
 | |
| export type ExpensePossibleSummary = {
 | |
|   total: number;
 | |
|   guests: number;
 | |
| }
 | |
| export type StatusSummary = {
 | |
|   paid: number;
 | |
| } |