codeshot.dev code screenshot tool
codeshot.dev code screenshot tool
Copy PNGCopiedDownload PNG
macOS window01 / 06
Draw
FitEdit
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { HttpError } from 'wasp/server'
export const createTask \= async ({ description }, context) \=> {
if (!context.user) {
throw new HttpError(401)
}
return context.entities.Task.create({
data: {
description,
isDone: false,
user: { connect: { id: context.user.id } },
},
})
}
Edit or paste code. Click line numbers to highlight. Shift-click or drag for ranges. Toggle Draw to sketch on top.Tap code to edit. Tap line numbers to highlight. Draw to annotate.
LookmacOS window
File typeTitleDesktop background
HighlightsHighlighted lines: none
Highlight current lineClear highlights
