Update types.ts

This commit is contained in:
2025-12-11 21:13:01 +01:00
committed by GitHub
parent 779ee9ab40
commit 8c0f05f05e

View File

@@ -53,6 +53,7 @@ export interface AppFeatures {
notices: boolean; notices: boolean;
reports: boolean; reports: boolean;
extraordinaryExpenses: boolean; extraordinaryExpenses: boolean;
condoFinancialsView: boolean; // Toggle for User read-only access to Condo Expenses
} }
export interface AlertDefinition { export interface AlertDefinition {
@@ -213,3 +214,20 @@ export interface ExtraordinaryExpense {
attachments?: { id: string, fileName: string, fileType: string, data: string }[]; attachments?: { id: string, fileName: string, fileType: string, data: string }[];
createdAt: string; createdAt: string;
} }
// --- CONDO ORDINARY EXPENSES (USCITE) ---
export interface CondoExpense {
id: string;
condoId: string;
description: string;
supplierName: string;
amount: number;
paymentDate: string | null; // Null if not paid yet
status: 'PAID' | 'UNPAID' | 'SUSPENDED';
paymentMethod?: string;
invoiceNumber?: string;
notes?: string;
createdAt: string;
attachments?: { id: string, fileName: string, fileType: string, data: string }[];
}