20 lines
413 B
TypeScript
20 lines
413 B
TypeScript
export interface SearchResult {
|
|
uuid: string;
|
|
id?: number; // Excluded from API responses (ADR-019)
|
|
type: 'correspondence' | 'rfa' | 'drawing';
|
|
title: string;
|
|
description?: string;
|
|
status: string;
|
|
documentNumber: string;
|
|
createdAt: string;
|
|
highlight?: string;
|
|
}
|
|
|
|
export interface SearchFilters {
|
|
query?: string;
|
|
types?: string[];
|
|
statuses?: string[];
|
|
dateFrom?: Date;
|
|
dateTo?: Date;
|
|
}
|