add route authentication to file upload

This commit is contained in:
2023-08-21 09:54:08 -05:00
parent 7322b0dde7
commit 2c3d53f317
2 changed files with 33 additions and 12 deletions

View File

@ -63,11 +63,17 @@ type Manufacturer {
notice String?
}
type Photo {
name String
data Bytes
}
model AuditoryResource {
id String @id @default(auto()) @map("_id") @db.ObjectId
icon String
name String
description String
photo Photo?
manufacturer Manufacturer?
ages RangeInput
skills Skill[]