mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 17:03:38 +00:00
14 lines
266 B
TypeScript
14 lines
266 B
TypeScript
import { z } from 'zod';
|
|
|
|
export const UpdateListOrder = z.object({
|
|
items: z.array(
|
|
z.object({
|
|
id: z.string(),
|
|
title: z.string(),
|
|
order: z.number(),
|
|
createdAt: z.date(),
|
|
updatedAt: z.date(),
|
|
})
|
|
),
|
|
boardId: z.string(),
|
|
});
|