Added Copy Board Feature

This commit is contained in:
Ahmad 2024-03-29 23:15:34 -04:00
parent b15a0fbac5
commit 993552226b
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
8 changed files with 125 additions and 17 deletions

View file

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