type Term = { column: string | null; value: string | object; termType?: string; type?: 'or' | 'and'; }; type SearchTermsUI = { terms1: Partial[] | undefined; type: 'or' | 'and'; terms2: Partial[] | undefined; }; type SearchTermsServer = { terms: Partial[] | undefined; type?: 'or' | 'and'; }[]; type SearchHistory = { id: string; key: string; name: string; type: string; userId: string; createTime: number; content: string; };