add route authentication to file upload
This commit is contained in:
@ -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[]
|
||||
|
Reference in New Issue
Block a user