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

Function byLatestCatalogEntry

src/lib/themes.ts:17–19  ·  view source on GitHub ↗
(a: Theme, b: Theme)

Source from the content-addressed store, hash-verified

15}
16
17export function byLatestCatalogEntry(a: Theme, b: Theme) {
18 return b.data.catalogIndex - a.data.catalogIndex
19}
20
21export function formatDate(value: string | null) {
22 if (!value) return 'Unknown'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected