UNPKG

notion-block-renderer

Version:
46 lines (45 loc) 1.85 kB
"use strict"; // import type { ListBlockChildrenResponse } from "@notionhq/client/build/src/api-endpoints.d"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BlockListEnum = exports.BlockEnum = exports.AnnotationEnum = void 0; var AnnotationEnum; (function (AnnotationEnum) { AnnotationEnum["bold"] = "bold"; AnnotationEnum["code"] = "code"; AnnotationEnum["italic"] = "italic"; AnnotationEnum["underline"] = "underline"; AnnotationEnum["color"] = "color"; })(AnnotationEnum = exports.AnnotationEnum || (exports.AnnotationEnum = {})); // https://developers.notion.com/reference/block var BlockEnum; (function (BlockEnum) { BlockEnum["paragraph"] = "paragraph"; BlockEnum["heading_1"] = "heading_1"; BlockEnum["heading_2"] = "heading_2"; BlockEnum["heading_3"] = "heading_3"; BlockEnum["callout"] = "callout"; BlockEnum["quote"] = "quote"; BlockEnum["bulleted_list_item"] = "bulleted_list_item"; BlockEnum["numbered_list_item"] = "numbered_list_item"; BlockEnum["code"] = "code"; BlockEnum["image"] = "image"; BlockEnum["video"] = "video"; // to_do = "to_do", // toggle = "toggle", // child_page = "child_page", // child_database = "child_database", // embed = "embed", // file = "file", // pdf = "pdf", // bookmark = "bookmark", // equation = "equation", // divider = "divider", // table_of_contents = "table_of_contents", // link_to_page = "link_to_page", // table = "table", })(BlockEnum = exports.BlockEnum || (exports.BlockEnum = {})); var BlockListEnum; (function (BlockListEnum) { BlockListEnum["bulleted_list_item"] = "bulleted_list_item"; BlockListEnum["numbered_list_item"] = "numbered_list_item"; })(BlockListEnum = exports.BlockListEnum || (exports.BlockListEnum = {}));