update frontend to match new variant fields
This commit is contained in:
parent
bdd7be61b0
commit
04adf08b5c
5 changed files with 27 additions and 44 deletions
|
@ -21,6 +21,12 @@ export type GalleryEntrySharedProperties = {
|
|||
* It contains a URL to the media that the entry represents.
|
||||
*/
|
||||
export type GalleryEntryWithoutVariants = {
|
||||
alternativeText?: string
|
||||
caption?: string
|
||||
/**
|
||||
* URL to the entry's thumbnail
|
||||
*/
|
||||
thumbnailUrl?: string
|
||||
/**
|
||||
* URL to the entry
|
||||
*/
|
||||
|
|
11
libs/types/src/content/templates/shared.d.ts
vendored
11
libs/types/src/content/templates/shared.d.ts
vendored
|
@ -86,20 +86,11 @@ export type MediaEntry = {
|
|||
* The title of the entry
|
||||
*/
|
||||
title: string
|
||||
/**
|
||||
* Information regarding the thumbnail
|
||||
*/
|
||||
thumbnail?: {
|
||||
/**
|
||||
* Sets the inline-styles for the thumbnail
|
||||
*/
|
||||
style: CSSStyleDeclaration
|
||||
}
|
||||
/**
|
||||
* any content warnings that apply to the entry,
|
||||
* which will be used to apply the `.warning` classname
|
||||
* to the DOM of a tile
|
||||
* and will be displayed with the tile
|
||||
*/
|
||||
warning?: string
|
||||
warnings?: string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue