Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

34 lignes
995 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 — start playing as soon as the slide is shown
  5. muted?: boolean; // videos only — start muted (default: unmuted)
  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. autoFullscreen?: boolean; // open the fullscreen viewer immediately when this card is clicked
  19. skipPreview?: boolean; // skip the modal preview AND exclude the cover image from the swipe sequence
  20. }
  21. export interface Portal {
  22. id: string;
  23. tenantId: string;
  24. title: string;
  25. welcomeText: string;
  26. heroImageUrl: string;
  27. logoUrl: string;
  28. themeColor: string;
  29. fadeHeroImage?: boolean;
  30. maxGridColumns?: number;
  31. }