Remove 6 componentes não utilizados (dashboard-grid, expenses/income by category widgets, installment analysis panels, fatura-warning-dialog). Remove funções/tipos não utilizados: successResult, generateApiToken, validateApiToken, getTodayUTC/Local, formatDateForDb, getDateInfo, calculatePercentage, roundToDecimals, safeParseInt/Float, isPeriodValid, getLastPeriods, normalizeWhitespace, formatCurrency wrapper, InboxItemInput, InboxBatchInput, ProcessInboxInput, DiscardInboxInput, LancamentosColumnId, 5 funções de anticipation-helpers. Redireciona imports de formatCurrency para lib/lancamentos/formatting-helpers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
591 B
TypeScript
22 lines
591 B
TypeScript
import type { SelectOption as LancamentoSelectOption } from "@/components/lancamentos/types";
|
|
|
|
export interface InboxItem {
|
|
id: string;
|
|
sourceApp: string;
|
|
sourceAppName: string | null;
|
|
originalTitle: string | null;
|
|
originalText: string;
|
|
notificationTimestamp: Date;
|
|
parsedName: string | null;
|
|
parsedAmount: string | null;
|
|
status: string;
|
|
lancamentoId: string | null;
|
|
processedAt: Date | null;
|
|
discardedAt: Date | null;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
}
|
|
|
|
// Re-export the lancamentos SelectOption for use in inbox components
|
|
export type SelectOption = LancamentoSelectOption;
|