re-implement amendVariantsWithDefaults
This commit is contained in:
parent
15ed807d8c
commit
42936273bf
5 changed files with 25 additions and 21 deletions
|
@ -49,13 +49,13 @@ export type GalleryEntryInheritedProperties = {
|
|||
* and will be displayed with the tile
|
||||
*/
|
||||
warning?: string
|
||||
}
|
||||
} & ListWithEntries<GalleryEntryInheritedProperties>
|
||||
|
||||
/**
|
||||
* Defines an entry in a gallery that can be displayed in a tiled manner
|
||||
* and can be clicked by a visitor to display its variants or the entry itself if there are none
|
||||
*/
|
||||
export type GalleryEntryProperties = GalleryEntryInheritedProperties & {
|
||||
export type GalleryEntry = GalleryEntryInheritedProperties & {
|
||||
/**
|
||||
* the url to the thumbnail to show for the entry in the gallery tile
|
||||
*/
|
||||
|
@ -66,10 +66,6 @@ export type GalleryEntryProperties = GalleryEntryInheritedProperties & {
|
|||
url?: string
|
||||
}
|
||||
|
||||
export type GalleryEntry =
|
||||
& GalleryEntryProperties
|
||||
& ListWithEntries<GalleryEntryProperties>
|
||||
|
||||
/**
|
||||
* Defines the model of the `GalleryList` template
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue