fedisearch/application/src/graphql/common/types/StatsQueryInput.ts

8 wiersze
300 B
TypeScript

import { z } from 'zod'
import { createSortingInputSchema } from './SortingInput'
import { statsSortingBySchema } from './StatsSortingByEnum'
export const statsQueryInputSchema = createSortingInputSchema(statsSortingBySchema)
export type StatsQueryInputType = z.infer<typeof statsQueryInputSchema>