kopia lustrzana https://github.com/Stopka/fedisearch
18 wiersze
417 B
TypeScript
18 wiersze
417 B
TypeScript
import { z } from 'zod'
|
|
|
|
export const NodeSortingByValues: readonly [string, ...string[]] = [
|
|
'domain',
|
|
'softwareName',
|
|
'totalUserCount',
|
|
'monthActiveUserCount',
|
|
'halfYearActiveUserCount',
|
|
'statusesCount',
|
|
'accountFeedCount',
|
|
'openRegistrations',
|
|
'refreshedAt'
|
|
]
|
|
|
|
export const nodeSortingBySchema = z.enum(NodeSortingByValues)
|
|
|
|
export type NodeSoringByEnumType = z.infer<typeof nodeSortingBySchema>
|