mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 12:43:24 +00:00
Initial Commit
This commit is contained in:
commit
f3e2f01bd7
150 changed files with 13612 additions and 0 deletions
15
actions/update-card-order/schema.ts
Normal file
15
actions/update-card-order/schema.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { z } from "zod";
|
||||
|
||||
export const UpdateCardOrder = z.object({
|
||||
items: z.array(
|
||||
z.object({
|
||||
id: z.string(),
|
||||
title: z.string(),
|
||||
order: z.number(),
|
||||
listId: z.string(),
|
||||
createdAt: z.date(),
|
||||
updatedAt: z.date(),
|
||||
})
|
||||
),
|
||||
boardId: z.string(),
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue