Skip to content

Commit

Permalink
notion and website import fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnJyong committed Dec 24, 2024
1 parent 71950ee commit a250335
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,16 @@ class ParentMode(str, Enum):
PARAGRAPH = "paragraph"


class NotionIcon(BaseModel):
type: str
url: Optional[str] = None
emoji: Optional[str] = None


class NotionPage(BaseModel):
page_id: str
page_name: str
page_icon: Optional[str]
page_icon: Optional[NotionIcon] = None
type: str


Expand Down

0 comments on commit a250335

Please sign in to comment.