Initial commit: PC Builder AdonisJS project

This commit is contained in:
Kevin committed 2026-06-28 10:41:51 +02:00
commit 648d0af538
144 files changed
+18570

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import { BaseModel } from '@adonisjs/lucid/orm'
export default class UserTransformer {
static exclude = ['password']
transform(user: BaseModel) {
return {
id: user.id,
name: user.name,
email: user.email,
}
}
}