2023-05-17 19:53:44 +00:00
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
|
|
|
|
|
|
class DocumentSpecs(BaseModel):
|
|
|
|
format: str
|
|
|
|
style: str
|
|
|
|
linkcolor: str
|
|
|
|
tocdepth: int
|
|
|
|
pdfengine: str
|
|
|
|
content: str
|
|
|
|
fontsize: int
|
|
|
|
paperwidth: int
|
|
|
|
paperheight: int
|
2023-05-17 20:00:09 +00:00
|
|
|
ratio: int
|
2023-05-17 19:53:44 +00:00
|
|
|
margin: int
|
|
|
|
vmargin: int
|
|
|
|
extension: str
|
2023-05-17 20:00:09 +00:00
|
|
|
fps: int
|
|
|
|
stilltime: int
|