Files
MotionWebStudio/types.ts

58 lines
1.2 KiB
TypeScript
Raw Normal View History

2025-12-21 20:40:32 +01:00
export interface Service {
id: string;
title: string;
description: string;
icon: string;
}
export interface ProductPackage {
id: string;
name: string;
2025-12-26 14:03:18 +01:00
price: string; // Megjelenített ár szöveg (pl. "150.000 Ft" vagy "Egyedi árazás")
total_price?: number; // Numerikus teljes ár
advance_price?: number; // Numerikus előleg
is_custom_price?: boolean; // Egyedi árazás jelző
desc: string;
2025-12-21 20:40:32 +01:00
features: string[];
isPopular?: boolean;
2025-12-26 14:03:18 +01:00
cta: string;
2025-12-21 20:40:32 +01:00
}
export interface Reference {
id: string;
title: string;
category: string;
imageUrl: string;
}
export interface BlogPost {
id: string;
title: string;
excerpt: string;
date: string;
imageUrl: string;
}
export interface Invoice {
id: string;
user_id: string;
order_id?: string;
invoice_type?: 'advance' | 'final' | null;
invoice_number: string;
amount: string;
created_at: string;
status: 'paid' | 'pending' | 'overdue';
pdf_url?: string;
}
2025-12-26 14:03:18 +01:00
export interface MaintenanceSubscription {
id: string;
order_id: string;
client_email: string;
start_date: string;
next_billing_date: string;
status: 'active' | 'overdue' | 'cancelled';
last_notified_at?: string;
}