kopia lustrzana https://github.com/Stopka/fedisearch
13 wiersze
313 B
TypeScript
13 wiersze
313 B
TypeScript
import { z } from 'zod'
|
|
|
|
export const StatsSortingByValues: readonly [string, ...string[]] = [
|
|
'softwareName',
|
|
'nodeCount',
|
|
'accountFeedCount',
|
|
'channelFeedCount'
|
|
]
|
|
|
|
export const statsSortingBySchema = z.enum(StatsSortingByValues)
|
|
|
|
export type StatsSoringByEnumType = z.infer<typeof statsSortingBySchema>
|