typing.ts 808 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import type { Component } from 'vue';
  2. interface AnalysisOverviewItem {
  3. icon: Component | string;
  4. title: string;
  5. totalTitle: string;
  6. totalValue: number;
  7. value: number;
  8. }
  9. interface WorkbenchProjectItem {
  10. color?: string;
  11. content: string;
  12. date: string;
  13. group: string;
  14. icon: Component | string;
  15. title: string;
  16. url?: string;
  17. }
  18. interface WorkbenchTrendItem {
  19. avatar: string;
  20. content: string;
  21. date: string;
  22. title: string;
  23. }
  24. interface WorkbenchTodoItem {
  25. completed: boolean;
  26. content: string;
  27. date: string;
  28. title: string;
  29. }
  30. interface WorkbenchQuickNavItem {
  31. color?: string;
  32. icon: Component | string;
  33. title: string;
  34. url?: string;
  35. }
  36. export type {
  37. AnalysisOverviewItem,
  38. WorkbenchProjectItem,
  39. WorkbenchQuickNavItem,
  40. WorkbenchTodoItem,
  41. WorkbenchTrendItem,
  42. };