allow hiding the "Hide Warnings" toggle

This commit is contained in:
lightling 2024-08-14 02:57:32 -04:00
parent 23a35c4265
commit 73d4b05e6e
2 changed files with 15 additions and 2 deletions

View file

@ -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
*/