rotion 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/exporter/api.d.ts +15 -0
- package/dist/exporter/api.js +56 -0
- package/dist/exporter/api.js.map +1 -0
- package/dist/exporter/blocks.d.ts +13 -0
- package/dist/exporter/blocks.js +210 -0
- package/dist/exporter/blocks.js.map +1 -0
- package/dist/exporter/breadcrumbs.d.ts +12 -0
- package/dist/exporter/breadcrumbs.js +110 -0
- package/dist/exporter/breadcrumbs.js.map +1 -0
- package/dist/exporter/database.d.ts +10 -0
- package/dist/exporter/database.js +92 -0
- package/dist/exporter/database.js.map +1 -0
- package/dist/exporter/files.d.ts +1 -0
- package/dist/exporter/files.js +4 -12
- package/dist/exporter/files.js.map +1 -1
- package/dist/exporter/index.d.ts +3 -1
- package/dist/exporter/index.js +3 -1
- package/dist/exporter/index.js.map +1 -1
- package/dist/exporter/page.d.ts +13 -0
- package/dist/exporter/page.js +74 -0
- package/dist/exporter/page.js.map +1 -0
- package/dist/exporter/types.d.ts +27 -17
- package/dist/exporter/variables.d.ts +16 -0
- package/dist/exporter/variables.js +18 -0
- package/dist/exporter/variables.js.map +1 -0
- package/dist/ui/cjs/index.js +53 -34
- package/dist/ui/cjs/index.js.map +1 -1
- package/dist/ui/cjs/types/exporter/api.d.ts +15 -0
- package/dist/ui/cjs/types/exporter/blocks.d.ts +13 -0
- package/dist/ui/cjs/types/exporter/database.d.ts +10 -0
- package/dist/ui/cjs/types/exporter/files.d.ts +1 -0
- package/dist/ui/cjs/types/exporter/index.d.ts +3 -1
- package/dist/ui/cjs/types/exporter/page.d.ts +13 -0
- package/dist/ui/cjs/types/exporter/types.d.ts +27 -17
- package/dist/ui/cjs/types/exporter/variables.d.ts +16 -0
- package/dist/ui/cjs/types/ui/components/Page/PageIcon/PageIcon.d.ts +1 -1
- package/dist/ui/{esm/types/ui/components/Page/TextBlock → cjs/types/ui/components/Page}/RichText/Equation/Equation.types.d.ts +1 -1
- package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +6 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.types.d.ts +6 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/index.d.ts +2 -0
- package/dist/ui/{esm/types/ui/components/Page/TextBlock → cjs/types/ui/components/Page}/RichText/Mention/Mention.types.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/PageMention.types.d.ts +6 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.d.ts +4 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.types.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/TemplateMention/index.d.ts +2 -0
- package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/RichText.types.d.ts +1 -1
- package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Text/Text.types.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/index.d.ts +1 -1
- package/dist/ui/esm/index.js +53 -34
- package/dist/ui/esm/index.js.map +1 -1
- package/dist/ui/esm/types/exporter/api.d.ts +15 -0
- package/dist/ui/esm/types/exporter/blocks.d.ts +13 -0
- package/dist/ui/esm/types/exporter/database.d.ts +10 -0
- package/dist/ui/esm/types/exporter/files.d.ts +1 -0
- package/dist/ui/esm/types/exporter/index.d.ts +3 -1
- package/dist/ui/esm/types/exporter/page.d.ts +13 -0
- package/dist/ui/esm/types/exporter/types.d.ts +27 -17
- package/dist/ui/esm/types/exporter/variables.d.ts +16 -0
- package/dist/ui/esm/types/ui/components/Page/PageIcon/PageIcon.d.ts +1 -1
- package/dist/ui/{umd/types/ui/components/Page/TextBlock → esm/types/ui/components/Page}/RichText/Equation/Equation.types.d.ts +1 -1
- package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +6 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.types.d.ts +6 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/index.d.ts +2 -0
- package/dist/ui/{umd/types/ui/components/Page/TextBlock → esm/types/ui/components/Page}/RichText/Mention/Mention.types.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/PageMention.types.d.ts +6 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.d.ts +4 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.types.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/Page/RichText/Mention/TemplateMention/index.d.ts +2 -0
- package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/RichText.types.d.ts +1 -1
- package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Text/Text.types.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/index.d.ts +1 -1
- package/dist/ui/types.d.ts +8 -11
- package/dist/ui/umd/index.js +53 -34
- package/dist/ui/umd/index.js.map +1 -1
- package/dist/ui/umd/types/exporter/api.d.ts +15 -0
- package/dist/ui/umd/types/exporter/blocks.d.ts +13 -0
- package/dist/ui/umd/types/exporter/database.d.ts +10 -0
- package/dist/ui/umd/types/exporter/files.d.ts +1 -0
- package/dist/ui/umd/types/exporter/index.d.ts +3 -1
- package/dist/ui/umd/types/exporter/page.d.ts +13 -0
- package/dist/ui/umd/types/exporter/types.d.ts +27 -17
- package/dist/ui/umd/types/exporter/variables.d.ts +16 -0
- package/dist/ui/umd/types/ui/components/Page/PageIcon/PageIcon.d.ts +1 -1
- package/dist/ui/{cjs/types/ui/components/Page/TextBlock → umd/types/ui/components/Page}/RichText/Equation/Equation.types.d.ts +1 -1
- package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +6 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/LinkPreviewMention.types.d.ts +6 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/LinkPreviewMemtion/index.d.ts +2 -0
- package/dist/ui/{cjs/types/ui/components/Page/TextBlock → umd/types/ui/components/Page}/RichText/Mention/Mention.types.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/PageMention.types.d.ts +6 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.d.ts +4 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/TemplateMention/TemplateMention.types.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/Page/RichText/Mention/TemplateMention/index.d.ts +2 -0
- package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/RichText.types.d.ts +1 -1
- package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Text/Text.types.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/index.d.ts +1 -1
- package/package.json +2 -4
- package/dist/exporter/notion.d.ts +0 -18
- package/dist/exporter/notion.js +0 -400
- package/dist/exporter/notion.js.map +0 -1
- package/dist/exporter.backup/files.d.ts +0 -23
- package/dist/exporter.backup/files.js +0 -329
- package/dist/exporter.backup/files.js.map +0 -1
- package/dist/exporter.backup/index.d.ts +0 -2
- package/dist/exporter.backup/index.js +0 -3
- package/dist/exporter.backup/index.js.map +0 -1
- package/dist/exporter.backup/notion.d.ts +0 -18
- package/dist/exporter.backup/notion.js +0 -400
- package/dist/exporter.backup/notion.js.map +0 -1
- package/dist/exporter.backup/types.d.ts +0 -496
- package/dist/exporter.backup/types.js +0 -2
- package/dist/exporter.backup/types.js.map +0 -1
- package/dist/files.d.ts +0 -23
- package/dist/index.d.ts +0 -2
- package/dist/notion.d.ts +0 -18
- package/dist/types.d.ts +0 -496
- package/dist/ui/cjs/types/exporter/notion.d.ts +0 -18
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Annotation/Annotation.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Annotation/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Equation/Equation.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Equation/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -5
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +0 -12
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Mention/Mention.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.types.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Mention/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/RichText.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/RichText.types.d.ts +0 -7
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Text/Text.d.ts +0 -4
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Text/Text.types.d.ts +0 -6
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/Text/index.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/RichText/index.d.ts +0 -2
- package/dist/ui/esm/types/exporter/notion.d.ts +0 -18
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Annotation/Annotation.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Annotation/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Equation/Equation.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Equation/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -5
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +0 -12
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Mention/Mention.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.types.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Mention/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/RichText.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/RichText.types.d.ts +0 -7
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Text/Text.d.ts +0 -4
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Text/Text.types.d.ts +0 -6
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/Text/index.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/TextBlock/RichText/index.d.ts +0 -2
- package/dist/ui/umd/types/exporter/notion.d.ts +0 -18
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Annotation/Annotation.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Annotation/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Equation/Equation.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Equation/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -5
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +0 -12
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/LinkIfLinked/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Mention/Mention.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/UserMention.types.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Mention/UserMention/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Mention/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/RichText.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/RichText.types.d.ts +0 -7
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Text/Text.d.ts +0 -4
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Text/Text.types.d.ts +0 -6
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/Text/index.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/TextBlock/RichText/index.d.ts +0 -2
- package/dist/ui.backup/cjs/index.js +0 -2
- package/dist/ui.backup/cjs/index.js.map +0 -1
- package/dist/ui.backup/cjs/types/components/Gallery/Gallery.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/Gallery.types.d.ts +0 -14
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryCard.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryCard.types.d.ts +0 -12
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryHandler.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -5
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryLinkedCard.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -10
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/GalleryPreview.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCard/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryDateField/DateField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryDateField/GalleryDateField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryDateField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryNumberField/GalleryNumberField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryNumberField/GalleryNumberField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryNumberField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryRichTextField/RichTextField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryTitleField/GalleryTitleField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryTitleField/GalleryTitleField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryTitleField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryUrlField/GalleryUrlField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryUrlField/GalleryUrlField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/Gallery/GalleryUrlField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Gallery/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/List.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/List.types.d.ts +0 -13
- package/dist/ui.backup/cjs/types/components/List/ListCheckboxField/ListCheckboxField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListCheckboxField/ListCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/List/ListCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListDateField/ListDateField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListDateField/ListDateField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListDateField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListHandler.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListHandler.types.d.ts +0 -12
- package/dist/ui.backup/cjs/types/components/List/ListMultiSelectField/ListMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListMultiSelectField/ListMultiSelectField.types.d.ts +0 -10
- package/dist/ui.backup/cjs/types/components/List/ListMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListNumberField/ListNumberField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListNumberField/ListNumberField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListNumberField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListRichTextField/ListRichTextField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListRichTextField/ListRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListTitleField/ListTitleField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListTitleField/ListTitleField.types.d.ts +0 -11
- package/dist/ui.backup/cjs/types/components/List/ListTitleField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/ListUrlField/ListUrlField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/List/ListUrlField/ListUrlField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/List/ListUrlField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/List/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/BookmarkBlock/BookmarkBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/BookmarkBlock/BookmarkBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/BookmarkBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/BreadcrumbBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/cjs/types/components/Page/BulletedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/CalloutBlock/CalloutBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/CalloutBlock/CalloutBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/CalloutBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -14
- package/dist/ui.backup/cjs/types/components/Page/ChildDatabaseBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ChildPageBlock/ChildPageBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -14
- package/dist/ui.backup/cjs/types/components/Page/ChildPageBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/Code/Code.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/Code/Code.types.d.ts +0 -7
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/Code/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/CodeBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Page/CodeBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ColumnListBlock/ColumnListBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -10
- package/dist/ui.backup/cjs/types/components/Page/ColumnListBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/EmbedBlock/EmbedBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/EmbedBlock/EmbedBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/EmbedBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/EquationBlock/EquationBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/EquationBlock/EquationBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/EquationBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/FileBlock/FileBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/FileBlock/FileBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/FileBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ImageBlock/ImageBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ImageBlock/ImageBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ImageBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/LinkPreviewBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ListBlock/ListBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ListBlock/ListBlock.types.d.ts +0 -12
- package/dist/ui.backup/cjs/types/components/Page/ListBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/cjs/types/components/Page/NumberedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/Page.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/Page.types.d.ts +0 -14
- package/dist/ui.backup/cjs/types/components/Page/PageHandler.d.ts +0 -15
- package/dist/ui.backup/cjs/types/components/Page/PageHandler.types.d.ts +0 -11
- package/dist/ui.backup/cjs/types/components/Page/PageIcon/PageIcon.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Page/PageIcon/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/PdfBlock/PdfBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/PdfBlock/PdfBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/PdfBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/SyncedBlock/SyncedBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/SyncedBlock/SyncedBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/SyncedBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/TableBlock/TableBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TableBlock/TableBlock.types.d.ts +0 -13
- package/dist/ui.backup/cjs/types/components/Page/TableBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TableOfContentsBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TemplateBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/TextBlock/RichText/Equation/Equation.types.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Page/TextBlock/RichText/Mention/Mention.types.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Page/TextBlock/TextBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/TextBlock/TextBlock.types.d.ts +0 -6
- package/dist/ui.backup/cjs/types/components/Page/TextBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ToDoBlock/ToDoBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ToDoBlock/ToDoBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ToDoBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/ToggleBlock/ToggleBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ToggleBlock/ToggleBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/ToggleBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/VideoBlock/VideoBlock.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/VideoBlock/VideoBlock.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Page/VideoBlock/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Page/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/Table.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/Table.types.d.ts +0 -13
- package/dist/ui.backup/cjs/types/components/Table/TableCheckboxField/TableCheckboxField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableCheckboxField/TableCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/Table/TableCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableDateField/TableDateField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableDateField/TableDateField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableDateField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableHandler.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableHandler.types.d.ts +0 -12
- package/dist/ui.backup/cjs/types/components/Table/TableIcon/TableIcon.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableIcon/TableIcon.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/Table/TableIcon/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/cjs/types/components/Table/TableMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableNumberField/TableNumberField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableNumberField/TableNumberField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableNumberField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
- package/dist/ui.backup/cjs/types/components/Table/TableRichTextField/TableRichTextField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableRichTextField/TableRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableSelectField/TableSelectField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableSelectField/TableSelectField.types.d.ts +0 -7
- package/dist/ui.backup/cjs/types/components/Table/TableSelectField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableTitleField/TableTitleField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableTitleField/TableTitleField.types.d.ts +0 -11
- package/dist/ui.backup/cjs/types/components/Table/TableTitleField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/TableUrlField/TableUrlField.d.ts +0 -4
- package/dist/ui.backup/cjs/types/components/Table/TableUrlField/TableUrlField.types.d.ts +0 -3
- package/dist/ui.backup/cjs/types/components/Table/TableUrlField/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/Table/index.d.ts +0 -2
- package/dist/ui.backup/cjs/types/components/index.d.ts +0 -56
- package/dist/ui.backup/cjs/types/components/lib.d.ts +0 -13
- package/dist/ui.backup/cjs/types/components/types.d.ts +0 -17
- package/dist/ui.backup/cjs/types/index.d.ts +0 -1
- package/dist/ui.backup/esm/index.js +0 -2
- package/dist/ui.backup/esm/index.js.map +0 -1
- package/dist/ui.backup/esm/types/components/Gallery/Gallery.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/Gallery.types.d.ts +0 -14
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryCard.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryCard.types.d.ts +0 -12
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryHandler.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -5
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryLinkedCard.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -10
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/GalleryPreview.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCard/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/Gallery/GalleryCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryDateField/DateField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryDateField/GalleryDateField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryDateField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/esm/types/components/Gallery/GalleryMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryNumberField/GalleryNumberField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryNumberField/GalleryNumberField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryNumberField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryRichTextField/RichTextField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryTitleField/GalleryTitleField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryTitleField/GalleryTitleField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryTitleField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/GalleryUrlField/GalleryUrlField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Gallery/GalleryUrlField/GalleryUrlField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/Gallery/GalleryUrlField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Gallery/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/List.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/List.types.d.ts +0 -13
- package/dist/ui.backup/esm/types/components/List/ListCheckboxField/ListCheckboxField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListCheckboxField/ListCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/List/ListCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListDateField/ListDateField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListDateField/ListDateField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListDateField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListHandler.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListHandler.types.d.ts +0 -12
- package/dist/ui.backup/esm/types/components/List/ListMultiSelectField/ListMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListMultiSelectField/ListMultiSelectField.types.d.ts +0 -10
- package/dist/ui.backup/esm/types/components/List/ListMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListNumberField/ListNumberField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListNumberField/ListNumberField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListNumberField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListRichTextField/ListRichTextField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListRichTextField/ListRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListTitleField/ListTitleField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListTitleField/ListTitleField.types.d.ts +0 -11
- package/dist/ui.backup/esm/types/components/List/ListTitleField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/ListUrlField/ListUrlField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/List/ListUrlField/ListUrlField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/List/ListUrlField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/List/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/BookmarkBlock/BookmarkBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/BookmarkBlock/BookmarkBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/BookmarkBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/BreadcrumbBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/esm/types/components/Page/BulletedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/CalloutBlock/CalloutBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/CalloutBlock/CalloutBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/CalloutBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -14
- package/dist/ui.backup/esm/types/components/Page/ChildDatabaseBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ChildPageBlock/ChildPageBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -14
- package/dist/ui.backup/esm/types/components/Page/ChildPageBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/Code/Code.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/Code/Code.types.d.ts +0 -7
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/Code/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/CodeBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Page/CodeBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ColumnListBlock/ColumnListBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -10
- package/dist/ui.backup/esm/types/components/Page/ColumnListBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/EmbedBlock/EmbedBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/EmbedBlock/EmbedBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/EmbedBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/EquationBlock/EquationBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/EquationBlock/EquationBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/EquationBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/FileBlock/FileBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/FileBlock/FileBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/FileBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ImageBlock/ImageBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ImageBlock/ImageBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ImageBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/LinkPreviewBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ListBlock/ListBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ListBlock/ListBlock.types.d.ts +0 -12
- package/dist/ui.backup/esm/types/components/Page/ListBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/esm/types/components/Page/NumberedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/Page.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/Page.types.d.ts +0 -14
- package/dist/ui.backup/esm/types/components/Page/PageHandler.d.ts +0 -15
- package/dist/ui.backup/esm/types/components/Page/PageHandler.types.d.ts +0 -11
- package/dist/ui.backup/esm/types/components/Page/PageIcon/PageIcon.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Page/PageIcon/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/PdfBlock/PdfBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/PdfBlock/PdfBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/PdfBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/SyncedBlock/SyncedBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/SyncedBlock/SyncedBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/SyncedBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/TableBlock/TableBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TableBlock/TableBlock.types.d.ts +0 -13
- package/dist/ui.backup/esm/types/components/Page/TableBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TableOfContentsBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TemplateBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/TextBlock/RichText/Equation/Equation.types.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Page/TextBlock/RichText/Mention/Mention.types.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Page/TextBlock/TextBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/TextBlock/TextBlock.types.d.ts +0 -6
- package/dist/ui.backup/esm/types/components/Page/TextBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ToDoBlock/ToDoBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ToDoBlock/ToDoBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ToDoBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/ToggleBlock/ToggleBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ToggleBlock/ToggleBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/ToggleBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/VideoBlock/VideoBlock.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/VideoBlock/VideoBlock.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Page/VideoBlock/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Page/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/Table.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/Table.types.d.ts +0 -13
- package/dist/ui.backup/esm/types/components/Table/TableCheckboxField/TableCheckboxField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableCheckboxField/TableCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/Table/TableCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableDateField/TableDateField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableDateField/TableDateField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableDateField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableHandler.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableHandler.types.d.ts +0 -12
- package/dist/ui.backup/esm/types/components/Table/TableIcon/TableIcon.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableIcon/TableIcon.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/Table/TableIcon/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/esm/types/components/Table/TableMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableNumberField/TableNumberField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableNumberField/TableNumberField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableNumberField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
- package/dist/ui.backup/esm/types/components/Table/TableRichTextField/TableRichTextField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableRichTextField/TableRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableSelectField/TableSelectField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableSelectField/TableSelectField.types.d.ts +0 -7
- package/dist/ui.backup/esm/types/components/Table/TableSelectField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableTitleField/TableTitleField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableTitleField/TableTitleField.types.d.ts +0 -11
- package/dist/ui.backup/esm/types/components/Table/TableTitleField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/TableUrlField/TableUrlField.d.ts +0 -4
- package/dist/ui.backup/esm/types/components/Table/TableUrlField/TableUrlField.types.d.ts +0 -3
- package/dist/ui.backup/esm/types/components/Table/TableUrlField/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/Table/index.d.ts +0 -2
- package/dist/ui.backup/esm/types/components/index.d.ts +0 -56
- package/dist/ui.backup/esm/types/components/lib.d.ts +0 -13
- package/dist/ui.backup/esm/types/components/types.d.ts +0 -17
- package/dist/ui.backup/esm/types/index.d.ts +0 -1
- package/dist/ui.backup/styles/base.css +0 -44
- package/dist/ui.backup/styles/gallery.css +0 -172
- package/dist/ui.backup/styles/list.css +0 -153
- package/dist/ui.backup/styles/notionate-dark.css +0 -297
- package/dist/ui.backup/styles/notionate.css +0 -5
- package/dist/ui.backup/styles/page.css +0 -762
- package/dist/ui.backup/styles/table.css +0 -166
- package/dist/ui.backup/types.d.ts +0 -421
- package/dist/ui.backup/umd/index.js +0 -2
- package/dist/ui.backup/umd/index.js.map +0 -1
- package/dist/ui.backup/umd/types/components/Gallery/Gallery.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/Gallery.types.d.ts +0 -14
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryCard.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryCard.types.d.ts +0 -12
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryHandler.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -5
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryLinkedCard.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -10
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/GalleryPreview.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCard/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCheckboxField/GalleryCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/Gallery/GalleryCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryDateField/DateField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryDateField/GalleryDateField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryDateField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/umd/types/components/Gallery/GalleryMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryNumberField/GalleryNumberField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryNumberField/GalleryNumberField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryNumberField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryRichTextField/RichTextField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryTitleField/GalleryTitleField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryTitleField/GalleryTitleField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryTitleField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/GalleryUrlField/GalleryUrlField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Gallery/GalleryUrlField/GalleryUrlField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/Gallery/GalleryUrlField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Gallery/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/List.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/List.types.d.ts +0 -13
- package/dist/ui.backup/umd/types/components/List/ListCheckboxField/ListCheckboxField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListCheckboxField/ListCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/List/ListCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListDateField/ListDateField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListDateField/ListDateField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListDateField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListHandler.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListHandler.types.d.ts +0 -12
- package/dist/ui.backup/umd/types/components/List/ListMultiSelectField/ListMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListMultiSelectField/ListMultiSelectField.types.d.ts +0 -10
- package/dist/ui.backup/umd/types/components/List/ListMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListNumberField/ListNumberField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListNumberField/ListNumberField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListNumberField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListRichTextField/ListRichTextField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListRichTextField/ListRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListTitleField/ListTitleField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListTitleField/ListTitleField.types.d.ts +0 -11
- package/dist/ui.backup/umd/types/components/List/ListTitleField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/ListUrlField/ListUrlField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/List/ListUrlField/ListUrlField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/List/ListUrlField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/List/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/BookmarkBlock/BookmarkBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/BookmarkBlock/BookmarkBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/BookmarkBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/BreadcrumbBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/umd/types/components/Page/BulletedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/CalloutBlock/CalloutBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/CalloutBlock/CalloutBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/CalloutBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -14
- package/dist/ui.backup/umd/types/components/Page/ChildDatabaseBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ChildPageBlock/ChildPageBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -14
- package/dist/ui.backup/umd/types/components/Page/ChildPageBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/Code/Code.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/Code/Code.types.d.ts +0 -7
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/Code/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/CodeBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Page/CodeBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ColumnListBlock/ColumnListBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -10
- package/dist/ui.backup/umd/types/components/Page/ColumnListBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/EmbedBlock/EmbedBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/EmbedBlock/EmbedBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/EmbedBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/EquationBlock/EquationBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/EquationBlock/EquationBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/EquationBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/FileBlock/FileBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/FileBlock/FileBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/FileBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ImageBlock/ImageBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ImageBlock/ImageBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ImageBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/LinkPreviewBlock/LinkPreviewBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/LinkPreviewBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ListBlock/ListBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ListBlock/ListBlock.types.d.ts +0 -12
- package/dist/ui.backup/umd/types/components/Page/ListBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts +0 -10
- package/dist/ui.backup/umd/types/components/Page/NumberedListBlocks/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/Page.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/Page.types.d.ts +0 -14
- package/dist/ui.backup/umd/types/components/Page/PageHandler.d.ts +0 -15
- package/dist/ui.backup/umd/types/components/Page/PageHandler.types.d.ts +0 -11
- package/dist/ui.backup/umd/types/components/Page/PageIcon/PageIcon.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Page/PageIcon/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/PdfBlock/PdfBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/PdfBlock/PdfBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/PdfBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/SyncedBlock/SyncedBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/SyncedBlock/SyncedBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/SyncedBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/TableBlock/TableBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TableBlock/TableBlock.types.d.ts +0 -13
- package/dist/ui.backup/umd/types/components/Page/TableBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TableOfContentsBlock/TableOfContentsBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TableOfContentsBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TemplateBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/TextBlock/RichText/Equation/Equation.types.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Page/TextBlock/RichText/Mention/Mention.types.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Page/TextBlock/TextBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/TextBlock/TextBlock.types.d.ts +0 -6
- package/dist/ui.backup/umd/types/components/Page/TextBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ToDoBlock/ToDoBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ToDoBlock/ToDoBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ToDoBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/ToggleBlock/ToggleBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ToggleBlock/ToggleBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/ToggleBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/VideoBlock/VideoBlock.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/VideoBlock/VideoBlock.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Page/VideoBlock/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Page/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/Table.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/Table.types.d.ts +0 -13
- package/dist/ui.backup/umd/types/components/Table/TableCheckboxField/TableCheckboxField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableCheckboxField/TableCheckboxField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/Table/TableCheckboxField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableDateField/TableDateField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableDateField/TableDateField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableDateField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableHandler.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableHandler.types.d.ts +0 -12
- package/dist/ui.backup/umd/types/components/Table/TableIcon/TableIcon.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableIcon/TableIcon.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/Table/TableIcon/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +0 -7
- package/dist/ui.backup/umd/types/components/Table/TableMultiSelectField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableNumberField/TableNumberField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableNumberField/TableNumberField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableNumberField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
- package/dist/ui.backup/umd/types/components/Table/TableRichTextField/TableRichTextField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableRichTextField/TableRichTextField.types.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableRichTextField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableSelectField/TableSelectField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableSelectField/TableSelectField.types.d.ts +0 -7
- package/dist/ui.backup/umd/types/components/Table/TableSelectField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableTitleField/TableTitleField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableTitleField/TableTitleField.types.d.ts +0 -11
- package/dist/ui.backup/umd/types/components/Table/TableTitleField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/TableUrlField/TableUrlField.d.ts +0 -4
- package/dist/ui.backup/umd/types/components/Table/TableUrlField/TableUrlField.types.d.ts +0 -3
- package/dist/ui.backup/umd/types/components/Table/TableUrlField/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/Table/index.d.ts +0 -2
- package/dist/ui.backup/umd/types/components/index.d.ts +0 -56
- package/dist/ui.backup/umd/types/components/lib.d.ts +0 -13
- package/dist/ui.backup/umd/types/components/types.d.ts +0 -17
- package/dist/ui.backup/umd/types/index.d.ts +0 -1
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Annotation/Annotation.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Annotation/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Equation/Equation.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Equation/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/LinkIfLinked/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Mention/Mention.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.types.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Mention/UserMention/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Mention/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/RichText.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Text/Text.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/Text/index.d.ts +0 -0
- /package/dist/{ui.backup/cjs/types/components/Page/TextBlock → ui/cjs/types/ui/components/Page}/RichText/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Annotation/Annotation.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Annotation/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Equation/Equation.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Equation/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/LinkIfLinked/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Mention/Mention.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.types.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Mention/UserMention/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Mention/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/RichText.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Text/Text.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/Text/index.d.ts +0 -0
- /package/dist/{ui.backup/esm/types/components/Page/TextBlock → ui/esm/types/ui/components/Page}/RichText/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Annotation/Annotation.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Annotation/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Equation/Equation.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Equation/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/LinkIfLinked/LinkIfLinked.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/LinkIfLinked/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Mention/Mention.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Mention/UserMention/UserMention.types.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Mention/UserMention/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Mention/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/RichText.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Text/Text.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/Text/index.d.ts +0 -0
- /package/dist/{ui.backup/umd/types/components/Page/TextBlock → ui/umd/types/ui/components/Page}/RichText/index.d.ts +0 -0
|
@@ -1,400 +0,0 @@
|
|
|
1
|
-
import { Client, isNotionClientError, APIErrorCode, ClientErrorCode, } from '@notionhq/client';
|
|
2
|
-
import { atoh, createDirWhenNotfound, saveImage, readCache, writeCache, getHtmlMeta, getVideoHtml, getEmbedHtml, isAvailableCache, } from './files.js';
|
|
3
|
-
const cacheDir = process.env.NOTIONATE_CACHEDIR || '.cache';
|
|
4
|
-
const incrementalCache = process.env.NOTIONATE_INCREMENTAL_CACHE === 'true';
|
|
5
|
-
const waitingTimeSec = (process.env.NOTIONATE_WAITTIME || 0);
|
|
6
|
-
const waitTimeSecAfterLimit = (process.env.NOTIONATE_LIMITED_WAITTIME || 60 * 1000);
|
|
7
|
-
const auth = process.env.NOTION_TOKEN;
|
|
8
|
-
const notion = new Client({ auth });
|
|
9
|
-
const isEmpty = (obj) => {
|
|
10
|
-
return !Object.keys(obj).length;
|
|
11
|
-
};
|
|
12
|
-
async function reqAPIWithBackoff(func, args, count) {
|
|
13
|
-
if (count < 1) {
|
|
14
|
-
throw new Error('backoff count exceeded');
|
|
15
|
-
}
|
|
16
|
-
let res = null;
|
|
17
|
-
try {
|
|
18
|
-
res = await func(args);
|
|
19
|
-
if (waitingTimeSec > 0) {
|
|
20
|
-
await new Promise(resolve => setTimeout(resolve, waitingTimeSec));
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
catch (error) {
|
|
24
|
-
if (isNotionClientError(error)) {
|
|
25
|
-
switch (error.code) {
|
|
26
|
-
case APIErrorCode.RateLimited:
|
|
27
|
-
case APIErrorCode.InternalServerError:
|
|
28
|
-
case ClientErrorCode.ResponseError:
|
|
29
|
-
case ClientErrorCode.RequestTimeout:
|
|
30
|
-
console.log(`backoff(${count}) -- error code: ${error.code}`);
|
|
31
|
-
if (waitTimeSecAfterLimit > 0) {
|
|
32
|
-
await new Promise(resolve => setTimeout(resolve, waitTimeSecAfterLimit));
|
|
33
|
-
}
|
|
34
|
-
res = await reqAPIWithBackoff(func, args, count--);
|
|
35
|
-
break;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
console.error('error:', error);
|
|
39
|
-
console.error('args:', args);
|
|
40
|
-
}
|
|
41
|
-
if (res === null) {
|
|
42
|
-
throw new Error(`request to notion api failed: ${func.name}`);
|
|
43
|
-
}
|
|
44
|
-
return res;
|
|
45
|
-
}
|
|
46
|
-
async function reqAPIWithBackoffAndCache(name, func, args, count) {
|
|
47
|
-
const key = atoh(JSON.stringify({ func: func.name, args }));
|
|
48
|
-
const cacheFile = `${cacheDir}/${name}-${key}`;
|
|
49
|
-
try {
|
|
50
|
-
const cache = await readCache(cacheFile);
|
|
51
|
-
if (await isAvailableCache(cacheFile, 600)) {
|
|
52
|
-
return cache;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
catch (_) {
|
|
56
|
-
/* not fatal */
|
|
57
|
-
}
|
|
58
|
-
const res = await reqAPIWithBackoff(func, args, count);
|
|
59
|
-
await writeCache(cacheFile, res);
|
|
60
|
-
return res;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* FetchDatabase retrieves database and download images in from blocks.
|
|
64
|
-
* And create cache that includes filepath of downloaded images.
|
|
65
|
-
*/
|
|
66
|
-
export const FetchDatabase = async (params) => {
|
|
67
|
-
const { database_id } = params;
|
|
68
|
-
const limit = ('page_size' in params) ? params.page_size : undefined;
|
|
69
|
-
const paramsHash = atoh(JSON.stringify(params));
|
|
70
|
-
await createDirWhenNotfound(cacheDir);
|
|
71
|
-
const cacheFile = `${cacheDir}/notion.databases.query-${paramsHash}${limit !== undefined ? `.limit-${limit}` : ''}`;
|
|
72
|
-
let allres;
|
|
73
|
-
let res;
|
|
74
|
-
try {
|
|
75
|
-
const list = await readCache(cacheFile);
|
|
76
|
-
if (!isEmpty(list)) {
|
|
77
|
-
if (!incrementalCache) {
|
|
78
|
-
return list;
|
|
79
|
-
}
|
|
80
|
-
if (await isAvailableCache(cacheFile, 120)) {
|
|
81
|
-
return list;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
catch (_) {
|
|
86
|
-
/* not fatal */
|
|
87
|
-
}
|
|
88
|
-
while (true) {
|
|
89
|
-
if (res && res.next_cursor) {
|
|
90
|
-
params.start_cursor = res.next_cursor;
|
|
91
|
-
}
|
|
92
|
-
res = await reqAPIWithBackoff(notion.databases.query, params, 3);
|
|
93
|
-
if (allres === undefined) {
|
|
94
|
-
allres = res;
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
allres.results.push(...res.results);
|
|
98
|
-
}
|
|
99
|
-
if (res.next_cursor === null || limit !== undefined) {
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
for (const result of allres.results) {
|
|
104
|
-
const page = result;
|
|
105
|
-
// Save page cover files
|
|
106
|
-
if ('cover' in page && page.cover != null) {
|
|
107
|
-
const imageUrl = (page.cover.type === 'external') ? page.cover.external.url : page.cover.file.url;
|
|
108
|
-
page.cover.src = await saveImage(imageUrl, `page-cover-${page.id}`);
|
|
109
|
-
}
|
|
110
|
-
// Set page property items
|
|
111
|
-
page.property_items = [];
|
|
112
|
-
for (const [, v] of Object.entries(page.properties)) {
|
|
113
|
-
const page_id = page.id;
|
|
114
|
-
const property_id = v.id;
|
|
115
|
-
const props = await reqAPIWithBackoffAndCache('notion.pages.properties.retrieve', notion.pages.properties.retrieve, { page_id, property_id }, 3);
|
|
116
|
-
page.property_items.push(props);
|
|
117
|
-
// Save avatar in people property type
|
|
118
|
-
if (v.type === 'people') {
|
|
119
|
-
const peoples = v.people;
|
|
120
|
-
for (const people of peoples) {
|
|
121
|
-
if (people.avatar_url) {
|
|
122
|
-
people.avatar = await saveImage(people.avatar_url, `database-avatar-${people.id}`);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
const meta = await reqAPIWithBackoff(notion.databases.retrieve, { database_id }, 3);
|
|
129
|
-
if ('cover' in meta && meta.cover !== null) {
|
|
130
|
-
const imageUrl = (meta.cover.type === 'external') ? meta.cover.external.url : meta.cover.file.url;
|
|
131
|
-
meta.cover.src = await saveImage(imageUrl, `database-cover-${database_id}`);
|
|
132
|
-
}
|
|
133
|
-
allres.meta = meta;
|
|
134
|
-
await writeCache(cacheFile, allres);
|
|
135
|
-
return allres;
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* FetchPage retrieves page properties and download images in from properties.
|
|
139
|
-
* And create cache that includes filepath of downloaded images.
|
|
140
|
-
* The last_edited_time of 2nd args is for NOTIONATE_INCREMENTAL_CACHE.
|
|
141
|
-
*/
|
|
142
|
-
export const FetchPage = async (page_id, last_edited_time) => {
|
|
143
|
-
await createDirWhenNotfound(cacheDir);
|
|
144
|
-
const cacheFile = `${cacheDir}/notion.pages.retrieve-${page_id}`;
|
|
145
|
-
try {
|
|
146
|
-
const page = await readCache(cacheFile);
|
|
147
|
-
if (!isEmpty(page)) {
|
|
148
|
-
if (incrementalCache && last_edited_time === undefined) {
|
|
149
|
-
console.log('last_edited_time is required as a FetchPage() args when incremental cache');
|
|
150
|
-
return page;
|
|
151
|
-
}
|
|
152
|
-
if (!incrementalCache || ('last_edited_time' in page && page.last_edited_time === last_edited_time)) {
|
|
153
|
-
return page;
|
|
154
|
-
}
|
|
155
|
-
console.log(`incremental page cache: ${cacheFile}`);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
catch (_) {
|
|
159
|
-
/* not fatal */
|
|
160
|
-
}
|
|
161
|
-
const page = await reqAPIWithBackoff(notion.pages.retrieve, { page_id }, 3);
|
|
162
|
-
if ('properties' in page) {
|
|
163
|
-
let list;
|
|
164
|
-
for (const [, v] of Object.entries(page.properties)) {
|
|
165
|
-
const property_id = v.id;
|
|
166
|
-
const res = await reqAPIWithBackoffAndCache('notion.pages.properties.retrieve', notion.pages.properties.retrieve, { page_id, property_id }, 3);
|
|
167
|
-
if (res.object !== 'list') {
|
|
168
|
-
continue;
|
|
169
|
-
}
|
|
170
|
-
if (list === undefined) {
|
|
171
|
-
list = res;
|
|
172
|
-
}
|
|
173
|
-
else {
|
|
174
|
-
list.results.push(...res.results);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
page.meta = list;
|
|
178
|
-
}
|
|
179
|
-
if ('cover' in page && page.cover !== null) {
|
|
180
|
-
if (page.cover.type === 'external') {
|
|
181
|
-
page.cover.src = await saveImage(page.cover.external.url, `page-cover-${page.id}`);
|
|
182
|
-
}
|
|
183
|
-
else if (page.cover.type === 'file') {
|
|
184
|
-
page.cover.src = await saveImage(page.cover.file.url, `page-cover-${page.id}`);
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
if ('icon' in page && page.icon !== null) {
|
|
188
|
-
if (page.icon.type === 'external') {
|
|
189
|
-
page.icon.src = await saveImage(page.icon.external.url, `page-icon-${page.id}`);
|
|
190
|
-
}
|
|
191
|
-
else if (page.icon.type === 'file') {
|
|
192
|
-
page.icon.src = await saveImage(page.icon.file.url, `page-icon-${page.id}`);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
await writeCache(cacheFile, page);
|
|
196
|
-
return page;
|
|
197
|
-
};
|
|
198
|
-
/**
|
|
199
|
-
* FetchBlocks retrieves page blocks and download images in from blocks.
|
|
200
|
-
* And create cache that includes filepath of downloaded images.
|
|
201
|
-
* The last_edited_time of 2nd args is for NOTIONATE_INCREMENTAL_CACHE.
|
|
202
|
-
*/
|
|
203
|
-
export const FetchBlocks = async (block_id, last_edited_time) => {
|
|
204
|
-
await createDirWhenNotfound(cacheDir);
|
|
205
|
-
const cacheFile = `${cacheDir}/notion.blocks.children.list-${block_id}`;
|
|
206
|
-
try {
|
|
207
|
-
const list = await readCache(cacheFile);
|
|
208
|
-
if (!isEmpty(list)) {
|
|
209
|
-
if (incrementalCache && last_edited_time === undefined) {
|
|
210
|
-
console.log('last_edited_time is required as a FetchBlocks() args when incremental cache');
|
|
211
|
-
return list;
|
|
212
|
-
}
|
|
213
|
-
if (!incrementalCache || list.last_edited_time === last_edited_time) {
|
|
214
|
-
return list;
|
|
215
|
-
}
|
|
216
|
-
console.log(`incremental block cache: ${cacheFile}`);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
catch (_) {
|
|
220
|
-
/* not fatal */
|
|
221
|
-
}
|
|
222
|
-
const list = await reqAPIWithBackoff(notion.blocks.children.list, { block_id }, 3);
|
|
223
|
-
// With the blocks api, you can get the last modified date of a block,
|
|
224
|
-
// but not the last modified date of all blocks. So extend the type and add it.
|
|
225
|
-
if (last_edited_time) {
|
|
226
|
-
list.last_edited_time = last_edited_time;
|
|
227
|
-
}
|
|
228
|
-
for (const block of list.results) {
|
|
229
|
-
try {
|
|
230
|
-
const { type } = block;
|
|
231
|
-
switch (type) {
|
|
232
|
-
case 'bookmark':
|
|
233
|
-
block.bookmark.site = await getHtmlMeta(block.bookmark.url);
|
|
234
|
-
break;
|
|
235
|
-
case 'bulleted_list_item':
|
|
236
|
-
if (block.has_children) {
|
|
237
|
-
block.children = await FetchBlocks(block.id, block.last_edited_time);
|
|
238
|
-
}
|
|
239
|
-
break;
|
|
240
|
-
case 'callout':
|
|
241
|
-
if (block.callout.icon?.type === 'external') {
|
|
242
|
-
const iconUrl = block.callout.icon.external.url;
|
|
243
|
-
block.callout.icon.src = await saveImage(iconUrl, `block-${block.id}`);
|
|
244
|
-
}
|
|
245
|
-
break;
|
|
246
|
-
case 'child_database':
|
|
247
|
-
// if (block.has_children) {
|
|
248
|
-
const database_id = block.id;
|
|
249
|
-
block.database = await reqAPIWithBackoffAndCache('notion.databases.retrieve', notion.databases.retrieve, { database_id }, 3);
|
|
250
|
-
console.log(block);
|
|
251
|
-
// }
|
|
252
|
-
break;
|
|
253
|
-
case 'child_page':
|
|
254
|
-
block.page = await FetchPage(block.id, block.last_edited_time);
|
|
255
|
-
// Unnecessary?
|
|
256
|
-
// block.children = await FetchBlocks(block.id, block.last_edited_time)
|
|
257
|
-
break;
|
|
258
|
-
case 'column_list':
|
|
259
|
-
block.children = await FetchBlocks(block.id, block.last_edited_time);
|
|
260
|
-
block.columns = [];
|
|
261
|
-
for (const b of block.children.results) {
|
|
262
|
-
block.columns.push(await FetchBlocks(b.id, block.last_edited_time));
|
|
263
|
-
}
|
|
264
|
-
break;
|
|
265
|
-
case 'embed':
|
|
266
|
-
block.embed.html = await getEmbedHtml(block);
|
|
267
|
-
break;
|
|
268
|
-
case 'image':
|
|
269
|
-
const { id, image } = block;
|
|
270
|
-
if (image !== undefined) {
|
|
271
|
-
const imageUrl = image.type === 'file' ? image.file.url : image.external.url;
|
|
272
|
-
block.image.src = await saveImage(imageUrl, `block-${id}`);
|
|
273
|
-
}
|
|
274
|
-
break;
|
|
275
|
-
case 'numbered_list_item':
|
|
276
|
-
if (block.has_children) {
|
|
277
|
-
block.children = await FetchBlocks(block.id, block.last_edited_time);
|
|
278
|
-
}
|
|
279
|
-
break;
|
|
280
|
-
case 'paragraph':
|
|
281
|
-
for (const richText of block.paragraph.rich_text) {
|
|
282
|
-
if (richText.type !== 'mention') {
|
|
283
|
-
continue;
|
|
284
|
-
}
|
|
285
|
-
switch (richText.mention.type) {
|
|
286
|
-
case 'database':
|
|
287
|
-
try {
|
|
288
|
-
const database_id = richText.mention.database.id;
|
|
289
|
-
const db = await reqAPIWithBackoffAndCache('notion.databases.retrieve', notion.databases.retrieve, { database_id }, 3);
|
|
290
|
-
richText.mention.database.name = db.title.map(v => v.plain_text).join('');
|
|
291
|
-
if (db.icon?.type === 'emoji') {
|
|
292
|
-
richText.mention.database.icon = { type: 'emoji', emoji: db.icon.emoji };
|
|
293
|
-
}
|
|
294
|
-
else if (db.icon?.type === 'external' || db.icon?.type === 'file') {
|
|
295
|
-
const iconUrl = (db.icon.type === 'external') ? db.icon.external.url : db.icon.file.url;
|
|
296
|
-
const src = await saveImage(iconUrl, `block-${block.id}`);
|
|
297
|
-
richText.mention.database.icon = { type: db.icon.type, src, url: src };
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
catch (e) {
|
|
301
|
-
console.log(`database view mention is unsupported ${block.type}`, block, e);
|
|
302
|
-
richText.mention.database.name = '--';
|
|
303
|
-
richText.mention.database.icon = { type: 'emoji', emoji: '@' };
|
|
304
|
-
}
|
|
305
|
-
break;
|
|
306
|
-
case 'page':
|
|
307
|
-
const page_id = richText.mention.page.id;
|
|
308
|
-
const page = await reqAPIWithBackoff(notion.pages.retrieve, { page_id }, 3);
|
|
309
|
-
for (const prop of Object.values(page.properties)) {
|
|
310
|
-
if (prop.type !== 'title') {
|
|
311
|
-
continue;
|
|
312
|
-
}
|
|
313
|
-
richText.mention.page.name = prop.title.map(v => v.plain_text).join('');
|
|
314
|
-
break;
|
|
315
|
-
}
|
|
316
|
-
break;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
break;
|
|
320
|
-
case 'table':
|
|
321
|
-
block.children = await FetchBlocks(block.id, block.last_edited_time);
|
|
322
|
-
break;
|
|
323
|
-
case 'toggle':
|
|
324
|
-
block.children = await FetchBlocks(block.id, block.last_edited_time);
|
|
325
|
-
break;
|
|
326
|
-
case 'video':
|
|
327
|
-
if (block.video.type === 'external') {
|
|
328
|
-
block.video.html = await getVideoHtml(block);
|
|
329
|
-
}
|
|
330
|
-
break;
|
|
331
|
-
case 'audio':
|
|
332
|
-
case 'breadcrumb':
|
|
333
|
-
case 'code':
|
|
334
|
-
case 'column':
|
|
335
|
-
case 'divider':
|
|
336
|
-
case 'equation':
|
|
337
|
-
case 'file':
|
|
338
|
-
case 'heading_1':
|
|
339
|
-
case 'heading_2':
|
|
340
|
-
case 'heading_3':
|
|
341
|
-
case 'link_to_page':
|
|
342
|
-
case 'link_preview':
|
|
343
|
-
case 'pdf':
|
|
344
|
-
case 'quote':
|
|
345
|
-
case 'synced_block':
|
|
346
|
-
case 'table_of_contents':
|
|
347
|
-
case 'table_row':
|
|
348
|
-
case 'template':
|
|
349
|
-
case 'to_do':
|
|
350
|
-
case 'unsupported':
|
|
351
|
-
break;
|
|
352
|
-
default:
|
|
353
|
-
console.log(`unknown block error`, block);
|
|
354
|
-
break;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
catch (e) {
|
|
358
|
-
console.log(`error for ${block.type} contents get`, block, e);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
await writeCache(cacheFile, list);
|
|
362
|
-
return list;
|
|
363
|
-
};
|
|
364
|
-
/*
|
|
365
|
-
interface FetchBreadcrumbsProps {
|
|
366
|
-
type: 'page_id' | 'database_id' | 'block_id'
|
|
367
|
-
id: string
|
|
368
|
-
}
|
|
369
|
-
interface Breadcrumbs {
|
|
370
|
-
name: string
|
|
371
|
-
icon: {}
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
export const FetchBreadcrumbs = async ({ type, id }: FetchBreadcrumbsProps): Promise<Breadcrumbs[]> => {
|
|
375
|
-
let breadcrumbs: Breadcrumbs[] = []
|
|
376
|
-
const max = 10
|
|
377
|
-
let count = 0
|
|
378
|
-
let nextType = type
|
|
379
|
-
|
|
380
|
-
while (count < max) {
|
|
381
|
-
switch (nextType) {
|
|
382
|
-
case 'block_id':
|
|
383
|
-
break
|
|
384
|
-
case 'page_id':
|
|
385
|
-
const page = await FetchPage(id)
|
|
386
|
-
id = page.parent.page_id
|
|
387
|
-
break
|
|
388
|
-
case 'database_id':
|
|
389
|
-
id = page.parent.database_id
|
|
390
|
-
break
|
|
391
|
-
case 'workspace':
|
|
392
|
-
count = max
|
|
393
|
-
break
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
return breadcrumbs
|
|
398
|
-
}
|
|
399
|
-
*/
|
|
400
|
-
//# sourceMappingURL=notion.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notion.js","sourceRoot":"","sources":["../src/notion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,mBAAmB,EACnB,YAAY,EACZ,eAAe,GAChB,MAAM,kBAAkB,CAAA;AAYzB,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,SAAS,EACT,SAAS,EACT,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,gBAAgB,GACjB,MAAM,YAAY,CAAA;AAEnB,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,QAAQ,CAAA;AAC3D,MAAM,gBAAgB,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,KAAK,MAAM,CAAA;AAC3E,MAAM,cAAc,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,CAAC,CAAW,CAAA;AACtE,MAAM,qBAAqB,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA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