tasko/actions/update-board/types.ts
2024-02-15 20:49:19 -05:00

9 lines
273 B
TypeScript

import { z } from 'zod';
import { Board } from '@prisma/client';
import { ActionState } from '@/lib/create-safe-action';
import { UpdateBoard } from './schema';
export type InputType = z.infer<typeof UpdateBoard>;
export type ReturnType = ActionState<InputType, Board>;