You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 line
904 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. };
  6. export interface Card {
  7. id: string;
  8. portalId: string;
  9. title: string;
  10. imageUrl: string;
  11. extraMedia?: MediaItem[];
  12. shortDescription: string;
  13. fullContent: string;
  14. cardType: CardType;
  15. actionUrl?: string;
  16. displayOrder: number;
  17. autoFullscreen?: boolean; // open the fullscreen viewer immediately when this card is clicked
  18. skipPreview?: boolean; // skip the modal preview AND exclude the cover image from the swipe sequence
  19. }
  20. export interface Portal {
  21. id: string;
  22. tenantId: string;
  23. title: string;
  24. welcomeText: string;
  25. heroImageUrl: string;
  26. logoUrl: string;
  27. themeColor: string;
  28. fadeHeroImage?: boolean;
  29. maxGridColumns?: number;
  30. }