25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
806 B

  1. export type CardType = 'INFO_PAGE' | 'EXTERNAL_LINK' | 'IMAGE_GALLERY' | 'SERVICE_REQUEST';
  2. export type MediaItem = {
  3. url: string;
  4. autoplay?: boolean; // videos only — autoplay muted when shown
  5. autoFullscreen?: boolean; // any media — open the fullscreen viewer at this slide on card open
  6. };
  7. export interface Card {
  8. id: string;
  9. portalId: string;
  10. title: string;
  11. imageUrl: string;
  12. extraMedia?: MediaItem[];
  13. shortDescription: string;
  14. fullContent: string;
  15. cardType: CardType;
  16. actionUrl?: string;
  17. displayOrder: number;
  18. }
  19. export interface Portal {
  20. id: string;
  21. tenantId: string;
  22. title: string;
  23. welcomeText: string;
  24. heroImageUrl: string;
  25. logoUrl: string;
  26. themeColor: string;
  27. fadeHeroImage?: boolean;
  28. maxGridColumns?: number;
  29. }