1. The Arcade Worker doesn't like it when the package name is different than the directory name. This PR renames the directory from `arcade_notion` to `arcade_notion_toolkit` 2. `Notion` is not a well-known provider name in `arcade-ai==1.0.5`, I've updated the dep to represent this.
45 lines
1.1 KiB
Python
45 lines
1.1 KiB
Python
from enum import Enum
|
|
|
|
|
|
class SortDirection(str, Enum):
|
|
ASCENDING = "ascending"
|
|
DESCENDING = "descending"
|
|
|
|
|
|
class ObjectType(str, Enum):
|
|
PAGE = "page"
|
|
DATABASE = "database"
|
|
|
|
|
|
class BlockType(str, Enum):
|
|
BOOKMARK = "bookmark"
|
|
BREADCRUMB = "breadcrumb"
|
|
BULLETED_LIST_ITEM = "bulleted_list_item"
|
|
CALLOUT = "callout"
|
|
CHILD_DATABASE = "child_database"
|
|
CHILD_PAGE = "child_page"
|
|
COLUMN = "column"
|
|
COLUMN_LIST = "column_list"
|
|
DIVIDER = "divider"
|
|
EMBED = "embed"
|
|
EQUATION = "equation"
|
|
FILE = "file"
|
|
HEADING_1 = "heading_1"
|
|
HEADING_2 = "heading_2"
|
|
HEADING_3 = "heading_3"
|
|
IMAGE = "image"
|
|
LINK_PREVIEW = "link_preview"
|
|
LINK_TO_PAGE = "link_to_page"
|
|
NUMBERED_LIST_ITEM = "numbered_list_item"
|
|
PARAGRAPH = "paragraph"
|
|
PDF = "pdf"
|
|
QUOTE = "quote"
|
|
SYNCED_BLOCK = "synced_block"
|
|
TABLE = "table"
|
|
TABLE_OF_CONTENTS = "table_of_contents"
|
|
TABLE_ROW = "table_row"
|
|
TEMPLATE = "template"
|
|
TO_DO = "to_do"
|
|
TOGGLE = "toggle"
|
|
UNSUPPORTED = "unsupported"
|
|
VIDEO = "video"
|