typings.d.ts 480 B

123456789101112131415161718192021222324252627
  1. type Term = {
  2. column: string | null;
  3. value: string | object;
  4. termType?: string;
  5. type?: 'or' | 'and';
  6. };
  7. type SearchTermsUI = {
  8. terms1: Partial<Term>[] | undefined;
  9. type: 'or' | 'and';
  10. terms2: Partial<Term>[] | undefined;
  11. };
  12. type SearchTermsServer = {
  13. terms: Partial<Term>[] | undefined;
  14. type?: 'or' | 'and';
  15. }[];
  16. type SearchHistory = {
  17. id: string;
  18. key: string;
  19. name: string;
  20. type: string;
  21. userId: string;
  22. createTime: number;
  23. content: string;
  24. };