(theme: Theme)
| 3 | export type Theme = CollectionEntry<'themes'> |
| 4 | |
| 5 | export function isPublishedTheme(theme: Theme) { |
| 6 | return theme.data.status === 'published' |
| 7 | } |
| 8 | |
| 9 | export function isArchivedTheme(theme: Theme) { |
| 10 | return theme.data.status === 'archived' |
nothing calls this directly
no outgoing calls
no test coverage detected