Source code for ewoksserver.app.routes.icons.models
from typing import List
from pydantic import BaseModel
from pydantic import Field
[docs]
class EwoksIcon(BaseModel):
data_url: str = Field(title="Icon data url")
[docs]
class EwoksIconIdentifiers(BaseModel):
identifiers: List[str] = Field(title="Icon identifiers")