mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 12:43:24 +00:00
Added Copy Board Feature
This commit is contained in:
parent
b15a0fbac5
commit
993552226b
8 changed files with 125 additions and 17 deletions
8
actions/copy-board/types.ts
Normal file
8
actions/copy-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 { CopyBoard } from './schema';
|
||||
|
||||
export type InputType = z.infer<typeof CopyBoard>;
|
||||
export type ReturnType = ActionState<InputType, Board>;
|
Loading…
Add table
Add a link
Reference in a new issue