1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 14:28:04 +00:00
_/frourio/server/api/tasks/_taskId@number/index.ts

11 lines
179 B
TypeScript

import { Task } from '$prisma/client'
export type Methods = {
patch: {
reqBody: Partial<Pick<Task, 'label' | 'done'>>
status: 204
}
delete: {
status: 204
}
}