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