backend: database and file upload test
This commit is contained in:
parent
b62f6d87c7
commit
d786d7f7af
6 changed files with 198 additions and 34 deletions
|
@ -1,6 +1,11 @@
|
|||
|
||||
from pydantic import BaseModel
|
||||
from datetime import datetime
|
||||
from typing import Literal
|
||||
|
||||
class Mark(BaseModel):
|
||||
type: Literal["tag", "badge", "genre"]
|
||||
value: str
|
||||
|
||||
class Novel(BaseModel):
|
||||
title: str
|
||||
|
@ -21,4 +26,4 @@ class FullNovel:
|
|||
|
||||
upload_queue: list[str]
|
||||
files: list[str]
|
||||
screenshots: list[str]
|
||||
screenshots: list[str]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue