This commit is contained in:
@@ -6,8 +6,13 @@ class ImageIn(Schema):
|
||||
image = File()
|
||||
|
||||
|
||||
class DietImageIn(Schema):
|
||||
image = File()
|
||||
category = String()
|
||||
|
||||
|
||||
class ImagePreSignUrlIn(Schema):
|
||||
avatar_id = String(required=True)
|
||||
image_id = String(required=True)
|
||||
expire_time = Integer()
|
||||
|
||||
|
||||
@@ -15,3 +20,7 @@ class ImagePreSignUrlOut(Schema):
|
||||
image_presign_url = URL()
|
||||
|
||||
|
||||
class ImageIdOut(Schema):
|
||||
image_id = String()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user