|
|
|
@@ -1,35 +1,35 @@ |
|
|
|
export type CardType = 'INFO_PAGE' | 'EXTERNAL_LINK' | 'IMAGE_GALLERY' | 'SERVICE_REQUEST';
|
|
|
|
|
|
|
|
export interface Portal {
|
|
|
|
id: string;
|
|
|
|
tenantId: string;
|
|
|
|
title: string;
|
|
|
|
welcomeText: string;
|
|
|
|
heroImageUrl: string;
|
|
|
|
logoUrl: string;
|
|
|
|
themeColor: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface Card {
|
|
|
|
id: string;
|
|
|
|
portalId: string;
|
|
|
|
title: string;
|
|
|
|
imageUrl: string;
|
|
|
|
shortDescription: string;
|
|
|
|
fullContent: string;
|
|
|
|
cardType: CardType;
|
|
|
|
actionUrl?: string;
|
|
|
|
displayOrder: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface Portal {
|
|
|
|
id: string;
|
|
|
|
tenantId: string;
|
|
|
|
title: string;
|
|
|
|
welcomeText: string;
|
|
|
|
heroImageUrl: string;
|
|
|
|
logoUrl: string;
|
|
|
|
themeColor: string;
|
|
|
|
fadeHeroImage?: boolean;
|
|
|
|
maxGridColumns?: number;
|
|
|
|
} |
|
|
|
export type CardType = 'INFO_PAGE' | 'EXTERNAL_LINK' | 'IMAGE_GALLERY' | 'SERVICE_REQUEST' | 'BOOK'; |
|
|
|
|
|
|
|
export type MediaItem = { |
|
|
|
url: string; |
|
|
|
autoplay?: boolean; |
|
|
|
muted?: boolean; |
|
|
|
}; |
|
|
|
|
|
|
|
export interface Card { |
|
|
|
id: string; |
|
|
|
portalId: string; |
|
|
|
title: string; |
|
|
|
imageUrl: string; |
|
|
|
extraMedia?: MediaItem[]; |
|
|
|
shortDescription: string; |
|
|
|
fullContent: string; |
|
|
|
cardType: CardType; |
|
|
|
actionUrl?: string; |
|
|
|
displayOrder: number; |
|
|
|
autoFullscreen?: boolean; |
|
|
|
skipPreview?: boolean; |
|
|
|
redirectOnClick?: boolean; |
|
|
|
} |
|
|
|
|
|
|
|
export interface Portal { |
|
|
|
id: string; |
|
|
|
tenantId: string; |
|
|
|
title: string; |
|
|
|
welcomeText: string; |
|
|
|
heroImageUrl: string; |
|
|
|
logoUrl: string; |
|
|
|
themeColor: string; |
|
|
|
fadeHeroImage?: boolean; |
|
|
|
maxGridColumns?: number; |
|
|
|
} |