interface.d.ts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. import { ActionMenuItemType } from "~/types/enum/layout";
  2. interface ActionMenuItem {
  3. type: ActionMenuItemType
  4. color: 'primary' | 'secondary',
  5. icon: string,
  6. text: string,
  7. url?: string,
  8. }
  9. interface MainMenuItem {
  10. label: string,
  11. to?: string,
  12. children?: Array<MainMenuItem>
  13. }
  14. interface CarouselItem {
  15. logo: string,
  16. description: string,
  17. buttonClass: string,
  18. image: string,
  19. color: string,
  20. link: string,
  21. name: string,
  22. school: string,
  23. status: string,
  24. avatar: string
  25. }
  26. interface SolutionItem {
  27. name: string;
  28. description: string;
  29. image: string;
  30. link: string;
  31. class: string;
  32. solutions: string[];
  33. }
  34. interface Review {
  35. name: string,
  36. review: string
  37. status: string,
  38. structure: string,
  39. }
  40. interface MenuScroll {
  41. label: string,
  42. anchor: string
  43. }
  44. interface FeaturePicto {
  45. src: string,
  46. text: string
  47. }
  48. // TODO: vérifier l'utilité des props list et isMemberCmf
  49. interface Benefit {
  50. title: string;
  51. number: string;
  52. description: string;
  53. image: string;
  54. list?: string[],
  55. isMemberCMF?: boolean;
  56. }
  57. interface Functionality {
  58. logo: string,
  59. title: string,
  60. list: Array<string>,
  61. options?: Array<string>,
  62. }
  63. interface ComparisonItem {
  64. label: string,
  65. includedInStandard: boolean | string,
  66. includedInPremium: boolean | string,
  67. }
  68. interface Formation {
  69. image: string;
  70. overlayClass: string;
  71. sessions: string;
  72. title: string;
  73. description: string;
  74. buttonText: string;
  75. link: string;
  76. }
  77. interface Program {
  78. id: number;
  79. objectives: string[];
  80. }
  81. interface Training {
  82. number?: string;
  83. title: string;
  84. description: string;
  85. objectives: string[];
  86. duration: string;
  87. program?: Program[];
  88. price: string;
  89. downloadLink: string;
  90. imageUrl?: string
  91. additionalObjectives?: Program[];
  92. }
  93. interface FaqEntry {
  94. question: string,
  95. answer: string
  96. }
  97. interface SocietyValue {
  98. img: string,
  99. title: string,
  100. description: string
  101. }
  102. interface Event {
  103. rdv: string,
  104. title: string,
  105. localisation: string,
  106. date: string,
  107. img: string,
  108. tags: string[],
  109. }
  110. interface ChronologyItem {
  111. year: string,
  112. title: string,
  113. description: string,
  114. imageUrl: string
  115. }
  116. interface SocietyMember {
  117. name: string,
  118. position: string,
  119. photo: string,
  120. }
  121. interface SocialNetworkShareBtn {
  122. name: string,
  123. icon: string,
  124. colorOnHover?: string,
  125. url: string
  126. }
  127. interface ContactFormData {
  128. gender: string | null,
  129. postalCode: string | null,
  130. city: string | null,
  131. phone: string | null,
  132. requestType: string | null,
  133. concernedProduct: string | null,
  134. newsletterSubscription: boolean
  135. }