MCPcopy Create free account
hub / github.com/FirefoxCSS-Store/FirefoxCSS-Store.github.io / isPublishedTheme

Function isPublishedTheme

src/lib/themes.ts:5–7  ·  view source on GitHub ↗
(theme: Theme)

Source from the content-addressed store, hash-verified

3export type Theme = CollectionEntry<'themes'>
4
5export function isPublishedTheme(theme: Theme) {
6 return theme.data.status === 'published'
7}
8
9export function isArchivedTheme(theme: Theme) {
10 return theme.data.status === 'archived'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected