mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-01 21:44:27 +00:00
11 lines
383 B
TypeScript
11 lines
383 B
TypeScript
import { z } from 'zod'
|
|||
|
|
import { paginationParamsSchema } from './pagination'
|
||
|
|
|
||
|
|
export const recordRecentViewRequestSchema = z.object({
|
||
|
|
assetId: z.string(),
|
||
|
|
})
|
||
|
|
export type RecordRecentViewRequest = z.infer<typeof recordRecentViewRequestSchema>
|
||
|
|
|
||
|
|
export const listRecentsRequestSchema = paginationParamsSchema
|
||
|
|
export type ListRecentsRequest = z.infer<typeof listRecentsRequestSchema>
|