mirror of
https://github.com/Motion-Games/MotionWebStudio.git
synced 2026-04-21 09:00:53 +02:00
58 lines
1.2 KiB
TypeScript
58 lines
1.2 KiB
TypeScript
|
|
export interface Service {
|
|
id: string;
|
|
title: string;
|
|
description: string;
|
|
icon: string;
|
|
}
|
|
|
|
export interface ProductPackage {
|
|
id: string;
|
|
name: string;
|
|
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;
|
|
features: string[];
|
|
isPopular?: boolean;
|
|
cta: string;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
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;
|
|
}
|