sfx type
Browse files- App/Editor/Schema.py +1 -1
App/Editor/Schema.py
CHANGED
|
@@ -14,7 +14,7 @@ class Assets(BaseModel):
|
|
| 14 |
|
| 15 |
@validator("type")
|
| 16 |
def valid_type(cls, v):
|
| 17 |
-
if v not in ["video", "audio", "text", "image"]:
|
| 18 |
raise ValueError("Invalid asset type")
|
| 19 |
return v
|
| 20 |
|
|
|
|
| 14 |
|
| 15 |
@validator("type")
|
| 16 |
def valid_type(cls, v):
|
| 17 |
+
if v not in ["video", "audio", "text", "image", "sfx"]:
|
| 18 |
raise ValueError("Invalid asset type")
|
| 19 |
return v
|
| 20 |
|