allow hiding the "Hide Warnings" toggle
This commit is contained in:
parent
23a35c4265
commit
73d4b05e6e
2 changed files with 15 additions and 2 deletions
10
libs/types/src/content/templates/shared.d.ts
vendored
10
libs/types/src/content/templates/shared.d.ts
vendored
|
@ -56,6 +56,16 @@ export type ListWithTags<T> = {
|
|||
removeFromView?: boolean
|
||||
} & ListWithEntries<T>
|
||||
|
||||
/**
|
||||
* Defines a list that has warnings on its entries
|
||||
*/
|
||||
export type ListWithWarnings<T extends MediaEntry> = {
|
||||
/**
|
||||
* whether or not to hide the warnings toggle from the list page
|
||||
*/
|
||||
removeHideWarningsToggle?: boolean
|
||||
} & ListWithEntries<T>
|
||||
|
||||
/**
|
||||
* Defines an entry with common media-related fields
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue