Fix skills directory

This commit is contained in:
Dominic Ferrando
2026-07-25 20:31:14 -04:00
parent 2652bc5b56
commit b76f91700f
54 changed files with 0 additions and 0 deletions
@@ -0,0 +1,20 @@
import { Elysia, t } from 'elysia'
const app = new Elysia()
.post('/single', ({ body: { file } }) => file, {
body: t.Object({
file: t.File({
maxSize: '1m'
})
})
})
.post(
'/multiple',
({ body: { files } }) => files.reduce((a, b) => a + b.size, 0),
{
body: t.Object({
files: t.Files()
})
}
)
.listen(3000)