mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +00:00
9 lines
272 B
TypeScript
9 lines
272 B
TypeScript
|
import { z } from "zod";
|
||
|
import { Board } from "@prisma/client";
|
||
|
|
||
|
import { ActionState } from "@/lib/create-safe-action";
|
||
|
|
||
|
import { DeleteBoard } from "./schema";
|
||
|
|
||
|
export type InputType = z.infer<typeof DeleteBoard>;
|
||
|
export type ReturnType = ActionState<InputType, Board>;
|