Manuel Bustillo 79039572e7
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 19s
Add copyright notice / copyright_notice (pull_request) Successful in 26s
Refactor multiple APIs into a single API and expose UI to modify
expenses
2024-12-09 19:22:02 +01:00

40 lines
617 B
TypeScript

/* Copyright (C) 2024 Manuel Bustillo*/
import { Guest } from "./guest";
export interface Entity {
id?: string;
}
export type TableArrangement = {
id: string;
number: number;
name: string;
guests?: Guest[];
discomfort?: number
}
export type guestsTable = {
id: string;
customer_id: string;
name: string;
email: string;
image_url: string;
date: string;
amount: number;
status: 'pending' | 'paid';
};
export type User = {
id: string;
email: string;
}
export type Captcha = {
id: string;
answer: string;
}
export type StructuredErrors = {
[key: string]: string[] | string;
};