kopia lustrzana https://github.com/Stopka/fedisearch
13 wiersze
298 B
TypeScript
13 wiersze
298 B
TypeScript
import { z } from 'zod'
|
|
import { stringTrimmed, transform } from '../../../lib/transform'
|
|
|
|
export const feedQueryInputSchema = z.object({
|
|
search: transform(
|
|
z.string().optional(),
|
|
stringTrimmed,
|
|
z.string()
|
|
)
|
|
})
|
|
|
|
export type FeedQueryInputType = z.infer<typeof feedQueryInputSchema>
|