funktechnik-schubert-website/lib/admin/types.ts
2026-07-03 22:25:04 +02:00

48 lines
905 B
TypeScript

export type InquiryStatus = "new" | "in_progress" | "done";
export type ContactInquiry = {
id: string;
createdAt: string;
status: InquiryStatus;
name: string;
email: string;
phone?: string;
subject?: string;
message: string;
};
export type RepairInquiry = {
id: string;
createdAt: string;
status: InquiryStatus;
name: string;
email: string;
phone?: string;
manufacturer: string;
model: string;
serialNumber?: string;
deviceType: string;
accessories?: string;
opened?: string;
previousWork?: string;
description: string;
};
export type SiteSettings = {
companyName: string;
phone: string;
email: string;
address: string;
openingHours: string;
googleMapsEmbedUrl: string;
socialLinks: string;
};
export type SmtpSettings = {
host: string;
port: string;
username: string;
fromAddress: string;
replyToAddress: string;
tls: boolean;
};