mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 20:53:08 +00:00
Initial Commit
This commit is contained in:
commit
f3e2f01bd7
150 changed files with 13612 additions and 0 deletions
8
actions/create-board/types.ts
Normal file
8
actions/create-board/types.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
import { z } from "zod";
|
||||
import { Board } from "@prisma/client";
|
||||
|
||||
import { ActionState } from "@/lib/create-safe-action";
|
||||
import { CreateBoard } from "./schema";
|
||||
|
||||
export type InputType = z.infer<typeof CreateBoard>;
|
||||
export type ReturnType = ActionState<InputType, Board>;
|
Loading…
Add table
Add a link
Reference in a new issue