mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 09:03:36 +00:00
15 lines
266 B
TypeScript
15 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(),
|
||
|
});
|