from typing import List

from pydantic import BaseModel

from src.schema.comics.comic import ComicResponse
from src.schema.comics.publisher import PublisherResponse


class PublisherDetailsResponse(BaseModel):
    id: str
    name: str
    parent_publisher: PublisherResponse | None
    imprints: List[PublisherResponse]
    comics: List[ComicResponse]
