@supernova-studio/supernova-sdk-beta 0.7.17
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/LICENSE +21 -0
- package/README.md +135 -0
- package/build/sdk-typescript/.eslintrc.d.cts +41 -0
- package/build/sdk-typescript/src/browser-bundle.d.ts +1 -0
- package/build/sdk-typescript/src/core/SDKSupernova.d.ts +77 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaAssets.d.ts +46 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaAutomation.d.ts +233 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaBrands.d.ts +35 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaBulkOperations.d.ts +68 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaComponents.d.ts +162 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaDataSources.d.ts +54 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaDesignSystems.d.ts +104 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +179 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaIntegrations.d.ts +91 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaMe.d.ts +22 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaMultiplayer.d.ts +10 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaNetwork.d.ts +9 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaResources.d.ts +46 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaStorage.d.ts +23 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaTokenValues.d.ts +136 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaTokens.d.ts +225 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaUsers.d.ts +6 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaVersions.d.ts +35 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaWorkspaces.d.ts +230 -0
- package/build/sdk-typescript/src/core/areas/SDKRemoteIdentifiers.d.ts +25 -0
- package/build/sdk-typescript/src/core/data/SDKConfiguration.d.ts +6 -0
- package/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +55 -0
- package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +508 -0
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +232 -0
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreRenderRequests.d.ts +18 -0
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +237 -0
- package/build/sdk-typescript/src/core/errors/SDKSupernovaError.d.ts +47 -0
- package/build/sdk-typescript/src/core/resolvers/SDKAssetGroupResolver.d.ts +18 -0
- package/build/sdk-typescript/src/core/resolvers/SDKComponentGroupResolver.d.ts +13 -0
- package/build/sdk-typescript/src/core/resolvers/SDKComponentResolver.d.ts +7 -0
- package/build/sdk-typescript/src/core/resolvers/SDKDesignComponentGroupResolver.d.ts +10 -0
- package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityMultiplayerItemResolver.d.ts +7 -0
- package/build/sdk-typescript/src/core/resolvers/SDKDocumentationItemResolver.d.ts +31 -0
- package/build/sdk-typescript/src/core/resolvers/SDKTokenGroupResolver.d.ts +10 -0
- package/build/sdk-typescript/src/core/resolvers/SDKTokenResolver.d.ts +105 -0
- package/build/sdk-typescript/src/exports-pulsar.d.ts +228 -0
- package/build/sdk-typescript/src/exports.d.ts +291 -0
- package/build/sdk-typescript/src/index.d.ts +5 -0
- package/build/sdk-typescript/src/model/acl/SDKAcl.d.ts +51 -0
- package/build/sdk-typescript/src/model/assets/SDKAsset.d.ts +17 -0
- package/build/sdk-typescript/src/model/assets/SDKRenderedAsset.d.ts +28 -0
- package/build/sdk-typescript/src/model/base/SDKBrand.d.ts +34 -0
- package/build/sdk-typescript/src/model/base/SDKDesignSystem.d.ts +54 -0
- package/build/sdk-typescript/src/model/base/SDKDesignSystemVersion.d.ts +45 -0
- package/build/sdk-typescript/src/model/base/SDKDocumentationLegacy.d.ts +10 -0
- package/build/sdk-typescript/src/model/components/SDKComponent.d.ts +32 -0
- package/build/sdk-typescript/src/model/components/SDKDesignComponent.d.ts +34 -0
- package/build/sdk-typescript/src/model/docs/SDKDocsConfiguration.d.ts +13 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockBehavior.d.ts +36 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockDefinition.d.ts +47 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockItemDefinition.d.ts +20 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockLayout.d.ts +19 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockOnboarding.d.ts +11 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockVariant.d.ts +35 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/assets/SDKDocsBlockActualAssets.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/blockquote/SDKDocsBlockActualBlockquote.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/callout/SDKDocsBlockActualCallout.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/code/SDKDocsBlockActualCode.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/code-react/SDKDocsBlockActualCodeReact.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/color-accessibility-grid/SDKDocsBlockActualAccessibilityGrid.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/color-ramps/SDKDocsBlockActualColorRamps.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-checklist/SDKDocsBlockActualComponentChecklist.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-checklist-all/SDKDocsBlockActualComponentChecklistAll.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/component-health/SDKDocsBlockActualComponentHealth.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/design-tokens/SDKDocsBlockActualDesignTokens.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/divider/SDKDocsBlockActualDivider.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed/SDKDocsBlockActualEmbed.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed-figma/SDKDocsBlockActualEmbedFigma.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed-lottie/SDKDocsBlockActualEmbedLottie.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed-youtube/SDKDocsBlockActualEmbedYoutube.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/figma-frames/SDKDocsBlockActualFigmaFrames.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/image/SDKDocsBlockActualImage.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/link/SDKDocsBlockActualLink.d.ts +8 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/markdown/SDKDocsBlockActualMarkdown.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-multi-item/SDKDocsBlockActualOmniMultiItem.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-single-item/SDKDocsBlockActualOmniSingleItem.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/ordered-list/SDKDocsBlockActualOrderedList.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/release-notes/SDKDocsBlockActualReleaseNotes.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/rich-text/SDKDocsBlockActualRichText.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/shortcut-links/SDKDocsBlockActualShortcutLinks.d.ts +8 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/storybook/SDKDocsBlockActualStorybook.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/table/SDKDocsBlockActualTable.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title1/SDKDocsBlockActualTitle1.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title2/SDKDocsBlockActualTitle2.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title3/SDKDocsBlockActualTitle3.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title4/SDKDocsBlockActualTitle4.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/title5/SDKDocsBlockActualTitle5.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-detail/SDKDocsBlockActualTokenDetail.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-list/SDKDocsBlockActualTokenList.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/definition/actual/unordered-list/SDKDocsBlockActualUnorderedList.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockAssetProperty.d.ts +29 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockAssetPropertyProperty.d.ts +12 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockBooleanProperty.d.ts +18 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockCodeProperty.d.ts +16 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockCodeSandboxProperty.d.ts +21 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockColorProperty.d.ts +13 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockComponentProperty.d.ts +23 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockComponentPropertyProperty.d.ts +12 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockDividerProperty.d.ts +12 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockEmbedUrlProperty.d.ts +25 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockFigmaNodeProperty.d.ts +30 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockImageProperty.d.ts +25 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMarkdownProperty.d.ts +15 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMultiRichTextProperty.d.ts +19 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMultiSelectProperty.d.ts +21 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockNumberProperty.d.ts +23 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockProperty.d.ts +30 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockRichTextProperty.d.ts +23 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockSingleSelectProperty.d.ts +27 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts +24 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTableProperty.d.ts +38 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTextProperty.d.ts +23 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenProperty.d.ts +36 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenPropertyProperty.d.ts +12 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenTypeProperty.d.ts +15 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockUrlProperty.d.ts +14 -0
- package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsColorRef.d.ts +3 -0
- package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsImageRef.d.ts +26 -0
- package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsLinkRef.d.ts +24 -0
- package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsSizeRef.d.ts +8 -0
- package/build/sdk-typescript/src/model/docs/blocks/usage/SDKDocsBlock.d.ts +47 -0
- package/build/sdk-typescript/src/model/docs/blocks/usage/SDKDocsBlockItem.d.ts +16 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntity.d.ts +30 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityConfiguration.d.ts +15 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityGroup.d.ts +51 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityHeader.d.ts +29 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityPage.d.ts +39 -0
- package/build/sdk-typescript/src/model/docs/sections/SDKDocsSection.d.ts +47 -0
- package/build/sdk-typescript/src/model/docs/sections/SDKDocsSectionColumn.d.ts +15 -0
- package/build/sdk-typescript/src/model/docs/sections/SDKDocsSectionItem.d.ts +15 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyConfiguration.d.ts +22 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyGroup.d.ts +40 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyItem.d.ts +26 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyPage.d.ts +34 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyPageAsset.d.ts +21 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyPageBlock.d.ts +30 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyRichText.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyRichTextSpan.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyRichTextSpanAttribute.d.ts +14 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockAsset.d.ts +15 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockAssets.d.ts +22 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockCallout.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockCode.d.ts +11 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockColumn.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockColumnItem.d.ts +9 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockCustom.d.ts +15 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockDivider.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedFigma.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedGeneric.d.ts +13 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedLink.d.ts +15 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedStorybook.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedYoutube.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockFrame.d.ts +21 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockFrames.d.ts +24 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockHeading.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockImage.d.ts +16 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockOrderedList.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockQuote.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockRenderCode.d.ts +33 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcut.d.ts +35 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcuts.d.ts +9 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTab.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTabItem.d.ts +8 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTable.d.ts +21 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableCell.d.ts +11 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableColumn.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableRow.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockText.d.ts +11 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockToken.d.ts +8 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenGroup.d.ts +10 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenList.d.ts +8 -0
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockUnorderedList.d.ts +4 -0
- package/build/sdk-typescript/src/model/documentation/builder/SDKDocumentationLegacyBlockBuilder.d.ts +6 -0
- package/build/sdk-typescript/src/model/documentation/configuration/SDKDocumentationLegacyItemConfiguration.d.ts +11 -0
- package/build/sdk-typescript/src/model/documentation/configuration/SDKDocumentationLegacyItemHeader.d.ts +36 -0
- package/build/sdk-typescript/src/model/elements/SDKElementDataView.d.ts +30 -0
- package/build/sdk-typescript/src/model/elements/SDKElementDataViewColumn.d.ts +37 -0
- package/build/sdk-typescript/src/model/elements/SDKElementProperty.d.ts +73 -0
- package/build/sdk-typescript/src/model/elements/SDKElementPropertyOption.d.ts +45 -0
- package/build/sdk-typescript/src/model/elements/values/SDKElementPropertyValue.d.ts +15 -0
- package/build/sdk-typescript/src/model/enums/SDKAlignment.d.ts +10 -0
- package/build/sdk-typescript/src/model/enums/SDKAssetFormat.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKAssetScale.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKAssetScaleType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKBlurType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKBorderPosition.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKBorderStyle.d.ts +7 -0
- package/build/sdk-typescript/src/model/enums/SDKCloudWarningType.d.ts +14 -0
- package/build/sdk-typescript/src/model/enums/SDKCodeLanguage.d.ts +34 -0
- package/build/sdk-typescript/src/model/enums/SDKConnectionProviders.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKCustomDomainErrorCode.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKCustomDomainState.d.ts +9 -0
- package/build/sdk-typescript/src/model/enums/SDKDocBlockMode.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockBehaviorDataType.d.ts +12 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockBehaviorSelectionType.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockCategory.d.ts +26 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockContainerSize.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockImagePropertyAspectRatio.d.ts +12 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockImagePropertyWidth.d.ts +14 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemEntityType.d.ts +14 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyOptionRenderingStyle.d.ts +10 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyRichTextStyle.d.ts +20 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyTextStyle.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyType.d.ts +55 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutAlign.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutColumnResizing.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutGap.d.ts +10 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutType.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutWidth.d.ts +26 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockMultiRichTextPropertyStyle.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockOptionRenderStyle.d.ts +10 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockRichTextPropertyStyle.d.ts +18 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockTextPropertyColor.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockTextPropertyStyle.d.ts +26 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsEntityGroupBehavior.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsEntityType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsPublishStatus.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocsSectionType.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationEnvironment.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyCalloutType.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyGroupBehavior.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyHeadingType.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyItemType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyPageAssetType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyPageBlockThemeType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyPageBlockType.d.ts +31 -0
- package/build/sdk-typescript/src/model/enums/SDKFrameAlignment.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKFrameLayout.d.ts +11 -0
- package/build/sdk-typescript/src/model/enums/SDKGradientType.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKImportJobOperation.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKImportJobState.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKIntegrationService.d.ts +7 -0
- package/build/sdk-typescript/src/model/enums/SDKRichTextSpanAttributeType.d.ts +7 -0
- package/build/sdk-typescript/src/model/enums/SDKShadowType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKSourceType.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKTextCase.d.ts +7 -0
- package/build/sdk-typescript/src/model/enums/SDKTextDecoration.d.ts +5 -0
- package/build/sdk-typescript/src/model/enums/SDKTokenType.d.ts +49 -0
- package/build/sdk-typescript/src/model/enums/SDKUnit.d.ts +17 -0
- package/build/sdk-typescript/src/model/enums/SDKUserRole.d.ts +8 -0
- package/build/sdk-typescript/src/model/enums/SDKVisibilityType.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKWorkspaceNPMRegistryAuthType.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKWorkspaceNPMRegistryType.d.ts +12 -0
- package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionPlanInterval.d.ts +6 -0
- package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionProduct.d.ts +12 -0
- package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionStatus.d.ts +10 -0
- package/build/sdk-typescript/src/model/exporters/CodegenAccount.d.ts +9 -0
- package/build/sdk-typescript/src/model/exporters/CodegenAzureBranch.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/CodegenAzureOrganization.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/CodegenAzureProject.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/CodegenAzureRepository.d.ts +11 -0
- package/build/sdk-typescript/src/model/exporters/CodegenBitbucketBranch.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/CodegenBitbucketProject.d.ts +6 -0
- package/build/sdk-typescript/src/model/exporters/CodegenBitbucketRepository.d.ts +8 -0
- package/build/sdk-typescript/src/model/exporters/CodegenBitbucketWorkspace.d.ts +6 -0
- package/build/sdk-typescript/src/model/exporters/CodegenBranch.d.ts +8 -0
- package/build/sdk-typescript/src/model/exporters/CodegenConnection.d.ts +10 -0
- package/build/sdk-typescript/src/model/exporters/CodegenGitlabBranch.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/CodegenGitlabGroup.d.ts +6 -0
- package/build/sdk-typescript/src/model/exporters/CodegenGitlabRepository.d.ts +9 -0
- package/build/sdk-typescript/src/model/exporters/CodegenRepository.d.ts +15 -0
- package/build/sdk-typescript/src/model/exporters/SDKConnections.d.ts +17 -0
- package/build/sdk-typescript/src/model/exporters/SDKExporter.d.ts +83 -0
- package/build/sdk-typescript/src/model/exporters/SDKPipeline.d.ts +113 -0
- package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlock.d.ts +23 -0
- package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockProperty.d.ts +32 -0
- package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockVariant.d.ts +12 -0
- package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterConfigurationProperty.d.ts +38 -0
- package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuild.d.ts +115 -0
- package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuildResults.d.ts +84 -0
- package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportDestinations.d.ts +126 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenBranchModel.d.ts +5 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenOrganizationModel.d.ts +5 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenProjectModel.d.ts +5 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteAzureCodegenRepositoryModel.d.ts +9 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenBranchModel.d.ts +5 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenProjectModel.d.ts +4 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenRepositoryModel.d.ts +6 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteBitbucketCodegenWorkspaceModel.d.ts +4 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenAccountModel.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenBranchModel.d.ts +6 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenConnectionModel.d.ts +8 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteCodegenRepositoryModel.d.ts +17 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteConnectionsModel.d.ts +9 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenBranchModel.d.ts +5 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenGroupModel.d.ts +4 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteGitlabCodegenRepositoryModel.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemotePipelineModel.d.ts +57 -0
- package/build/sdk-typescript/src/model/groups/SDKAssetGroup.d.ts +24 -0
- package/build/sdk-typescript/src/model/groups/SDKComponentGroup.d.ts +40 -0
- package/build/sdk-typescript/src/model/groups/SDKDesignComponentGroup.d.ts +33 -0
- package/build/sdk-typescript/src/model/groups/SDKTokenGroup.d.ts +43 -0
- package/build/sdk-typescript/src/model/jobs/SDKImportJob.d.ts +34 -0
- package/build/sdk-typescript/src/model/membership/SDKMembership.d.ts +16 -0
- package/build/sdk-typescript/src/model/resources/SDKResource.d.ts +26 -0
- package/build/sdk-typescript/src/model/resources/SDKResourceAsset.d.ts +6 -0
- package/build/sdk-typescript/src/model/resources/SDKResourceFont.d.ts +25 -0
- package/build/sdk-typescript/src/model/support/SDKCustomDomain.d.ts +21 -0
- package/build/sdk-typescript/src/model/support/SDKDesignComponentOrigin.d.ts +23 -0
- package/build/sdk-typescript/src/model/support/SDKFigmaFrame.d.ts +22 -0
- package/build/sdk-typescript/src/model/support/SDKFigmaStructure.d.ts +27 -0
- package/build/sdk-typescript/src/model/support/SDKFigmaStructureDetail.d.ts +30 -0
- package/build/sdk-typescript/src/model/support/SDKFrameOrigin.d.ts +25 -0
- package/build/sdk-typescript/src/model/support/SDKLogger.d.ts +4 -0
- package/build/sdk-typescript/src/model/support/SDKSize.d.ts +9 -0
- package/build/sdk-typescript/src/model/support/SDKSource.d.ts +150 -0
- package/build/sdk-typescript/src/model/support/SDKTokenOrigin.d.ts +18 -0
- package/build/sdk-typescript/src/model/themes/SDKThemeUtilities.d.ts +11 -0
- package/build/sdk-typescript/src/model/themes/SDKTokenTheme.d.ts +55 -0
- package/build/sdk-typescript/src/model/themes/SDKTokenThemeOverride.d.ts +46 -0
- package/build/sdk-typescript/src/model/tokens/SDKBlurToken.d.ts +22 -0
- package/build/sdk-typescript/src/model/tokens/SDKBorderToken.d.ts +24 -0
- package/build/sdk-typescript/src/model/tokens/SDKColorToken.d.ts +34 -0
- package/build/sdk-typescript/src/model/tokens/SDKDimensionToken.d.ts +104 -0
- package/build/sdk-typescript/src/model/tokens/SDKGradientToken.d.ts +26 -0
- package/build/sdk-typescript/src/model/tokens/SDKShadowToken.d.ts +26 -0
- package/build/sdk-typescript/src/model/tokens/SDKStringToken.d.ts +61 -0
- package/build/sdk-typescript/src/model/tokens/SDKTextCaseToken.d.ts +23 -0
- package/build/sdk-typescript/src/model/tokens/SDKTextDecorationToken.d.ts +26 -0
- package/build/sdk-typescript/src/model/tokens/SDKToken.d.ts +33 -0
- package/build/sdk-typescript/src/model/tokens/SDKTokenCompator.d.ts +20 -0
- package/build/sdk-typescript/src/model/tokens/SDKTokenValue.d.ts +201 -0
- package/build/sdk-typescript/src/model/tokens/SDKTypographyToken.d.ts +20 -0
- package/build/sdk-typescript/src/model/tokens/SDKVisibilityToken.d.ts +18 -0
- package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenData.d.ts +105 -0
- package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenModel.d.ts +64 -0
- package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenValue.d.ts +111 -0
- package/build/sdk-typescript/src/model/users/SDKUser.d.ts +53 -0
- package/build/sdk-typescript/src/model/users/SDKUserMembership.d.ts +18 -0
- package/build/sdk-typescript/src/model/users/SDKUserProfile.d.ts +55 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspace.d.ts +22 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceIPWhitelistSettings.d.ts +26 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceInvitation.d.ts +35 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceInvoice.d.ts +38 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceNPMRegistryAccessToken.d.ts +15 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceNPMRegistrySettings.d.ts +34 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceOnboarding.d.ts +30 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProduct.d.ts +21 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProductFeatures.d.ts +32 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProductPrice.d.ts +40 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProfile.d.ts +68 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceSSOSettings.d.ts +19 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceSubscription.d.ts +85 -0
- package/build/sdk-typescript/src/pulsar-interfaces.d.ts +40 -0
- package/build/sdk-typescript/src/tests/Areas/AreaAssets.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaBatchUpdates.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaBrands.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaDesignSystems.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaDocumentation.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaMe.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaStorage.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaTokens.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Areas/AreaWorkspace.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/FigmaTokensDataLoader.d.ts +33 -0
- package/build/sdk-typescript/src/tests/Serialization/User.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Serialization/Workspace.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceIPWhitelistSettings.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceNPMRegistrySettings.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceOnboarding.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Serialization/WorkspaceSSOSettings.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/PluginFigmaTokens.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/PluginJSONBuilder.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/ReadTokens.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/TokensModel.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/ToolDocSearch.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/Tooling/ToolMarkdownTransform.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/helpers.d.ts +7 -0
- package/build/sdk-typescript/src/tests/validators.d.ts +86 -0
- package/build/sdk-typescript/src/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +56 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +39 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONGroupBuilder.d.ts +23 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +28 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONParser.d.ts +44 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +39 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTMapResolver.d.ts +7 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTThemeMerger.d.ts +15 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenGroupTreeMerger.d.ts +23 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenMerger.d.ts +16 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +48 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenSetResolver.d.ts +11 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/collection/SDKDTTokenCollection.d.ts +13 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/expression/SDKDTExpressionParser.d.ts +5 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTree.d.ts +12 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTreeNode.d.ts +17 -0
- package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTParentChildMapping.d.ts +5 -0
- package/build/sdk-typescript/src/tools/docs-block-builder/SDKDocsBlockBuilder.d.ts +409 -0
- package/build/sdk-typescript/src/tools/json-builder/SDKToolsJSONBuilder.d.ts +58 -0
- package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementFigmaTokensTransformer.d.ts +37 -0
- package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementStyleDictionaryTransformer.d.ts +26 -0
- package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementTransformer.d.ts +68 -0
- package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransform.d.ts +22 -0
- package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformBlock.d.ts +75 -0
- package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformUtil.d.ts +22 -0
- package/build/sdk-typescript/src/tools/search-index/SDKToolsDocSearch.d.ts +47 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewGenerator.d.ts +20 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewMetadataGenerator.d.ts +8 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewReferenceInfoGenerator.d.ts +9 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewSegmentGenerator.d.ts +7 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewStyleGenerator.d.ts +8 -0
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewTypes.d.ts +68 -0
- package/build/sdk-typescript/src/tools/token-transform/SDKToolsTokenTransform.d.ts +42 -0
- package/build/sdk-typescript/src/utils/CommonUtils.d.ts +5 -0
- package/build/sdk-typescript/src/utils/ComponentUtils.d.ts +12 -0
- package/build/sdk-typescript/src/utils/FlowUtils.d.ts +5 -0
- package/build/sdk-typescript/src/utils/StringUtils.d.ts +72 -0
- package/build/sdk-typescript/src/utils/TokenUtils.d.ts +294 -0
- package/build/sdk-typescript/src/utils/UnreachableCaseError.d.ts +3 -0
- package/build/sdk-typescript/src/utils/deepPartial.d.ts +3 -0
- package/build/supernova-sdk-typescript.js +3 -0
- package/build/supernova-sdk-typescript.js.LICENSE.txt +8 -0
- package/build/supernova-sdk-typescript.js.map +1 -0
- package/package.json +127 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DocumentationItemConfigurationV2 } from "@supernova-studio/model";
|
|
2
|
+
import { DocsEntityType } from "../../enums/SDKDocsEntityType";
|
|
3
|
+
import { DocsEntityConfiguration } from "./SDKDocsEntityConfiguration";
|
|
4
|
+
export type DocsEntityModel = {
|
|
5
|
+
persistentId: string;
|
|
6
|
+
shortPersistentId: string;
|
|
7
|
+
id: string;
|
|
8
|
+
designSystemVersionId: string;
|
|
9
|
+
title: string;
|
|
10
|
+
type: DocsEntityType;
|
|
11
|
+
slug: string;
|
|
12
|
+
userSlug?: string;
|
|
13
|
+
path?: string;
|
|
14
|
+
configuration: DocumentationItemConfigurationV2;
|
|
15
|
+
createdAt?: string;
|
|
16
|
+
updatedAt?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare class DocsEntity {
|
|
19
|
+
id: string;
|
|
20
|
+
persistentId: string;
|
|
21
|
+
type: DocsEntityType;
|
|
22
|
+
title: string;
|
|
23
|
+
configuration: DocsEntityConfiguration;
|
|
24
|
+
slug: string;
|
|
25
|
+
userSlug: string | null;
|
|
26
|
+
relativeUrl: string | null;
|
|
27
|
+
createdAt: Date | null;
|
|
28
|
+
updatedAt: Date | null;
|
|
29
|
+
constructor(model: DocsEntityModel);
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DocumentationItemConfigurationV2 } from "@supernova-studio/model";
|
|
2
|
+
import { DocsEntityHeader, DocsEntityHeaderModel } from "./SDKDocsEntityHeader";
|
|
3
|
+
export type DocsEntityConfigurationModel = {
|
|
4
|
+
header: DocsEntityHeaderModel;
|
|
5
|
+
showSidebar: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare class DocsEntityConfiguration {
|
|
8
|
+
header: DocsEntityHeader;
|
|
9
|
+
showSidebar: boolean;
|
|
10
|
+
title: string;
|
|
11
|
+
constructor(model: DocumentationItemConfigurationV2, title: string);
|
|
12
|
+
/** Constructs representation that can be used to write full object to remote */
|
|
13
|
+
toRemote(): DocumentationItemConfigurationV2;
|
|
14
|
+
static default(): DocsEntityConfiguration;
|
|
15
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { DocsEntityGroupBehavior } from "../../enums/SDKDocsEntityGroupBehavior";
|
|
2
|
+
import { DocsEntityType } from "../../enums/SDKDocsEntityType";
|
|
3
|
+
import { DocsEntity, DocsEntityModel } from "./SDKDocsEntity";
|
|
4
|
+
import { DocsEntityMultiplayerPage, DocsEntityPage } from "./SDKDocsEntityPage";
|
|
5
|
+
export type DocsEntityGroupModel = {
|
|
6
|
+
isRoot: boolean;
|
|
7
|
+
childrenIds: Array<string>;
|
|
8
|
+
parentId: string | null;
|
|
9
|
+
groupBehavior: DocsEntityGroupBehavior;
|
|
10
|
+
} & DocsEntityModel;
|
|
11
|
+
export declare class DocsEntityGroup extends DocsEntity {
|
|
12
|
+
/** If true, this is unique within documentation (just one) that contains all top-level objects and is root of the docs tree (root > groups > items > blocks ...) */
|
|
13
|
+
isRoot: boolean;
|
|
14
|
+
/** IDs of items belonging to the documentation group. Can be page or group */
|
|
15
|
+
childrenIds: Array<string>;
|
|
16
|
+
/** References to pages */
|
|
17
|
+
children: Array<DocsEntityGroup | DocsEntityPage>;
|
|
18
|
+
/** Parent group reference */
|
|
19
|
+
parentId: string | null;
|
|
20
|
+
/** Signifies how the group should behave. If set to "tabs", group behaves as "page", but contains multiple tabbed pages inside it. "Group" signifies virtual group used for content structuring */
|
|
21
|
+
groupBehavior: DocsEntityGroupBehavior;
|
|
22
|
+
/** Internal */
|
|
23
|
+
relativeFirstPageUrl: string | null;
|
|
24
|
+
/** Internal */
|
|
25
|
+
deployedFirstPageUrl: string | null;
|
|
26
|
+
constructor(model: DocsEntityGroupModel);
|
|
27
|
+
/** Internal: Modifies object with new paths. Don't use outside SDK environment as it doesn't propagate the data back to source */
|
|
28
|
+
internalOverridePaths(relative: string | null, deployed: string | null): void;
|
|
29
|
+
/** Retrieve relative page path without the associated domain for the first page in the group. Will work even when documentation was not yet deployed */
|
|
30
|
+
relativeDocsPageUrl(): string | null;
|
|
31
|
+
/** Retrieve page url for the first page in the group, if the documentation was already deployed (either default or custom domain) */
|
|
32
|
+
deployedDocsPageUrl(): string | null;
|
|
33
|
+
}
|
|
34
|
+
/** Lightweight page representation used in multiplayer context type-validated against the full version */
|
|
35
|
+
export declare class DocsEntityMultiplayerGroup implements Pick<DocsEntityGroup, "id" | "persistentId" | "type" | "title" | "groupBehavior" | "childrenIds" | "isRoot"> {
|
|
36
|
+
id: string;
|
|
37
|
+
persistentId: string;
|
|
38
|
+
type: DocsEntityType.group;
|
|
39
|
+
title: string;
|
|
40
|
+
groupBehavior: DocsEntityGroupBehavior;
|
|
41
|
+
childrenIds: Array<string>;
|
|
42
|
+
isRoot: boolean;
|
|
43
|
+
parent: DocsEntityMultiplayerGroup | null;
|
|
44
|
+
children: Array<DocsEntityMultiplayerGroup | DocsEntityMultiplayerPage>;
|
|
45
|
+
/** Children filtered to be only groups */
|
|
46
|
+
get subgroups(): Array<DocsEntityMultiplayerGroup>;
|
|
47
|
+
/** Children filtered to be only pages */
|
|
48
|
+
get pages(): Array<DocsEntityMultiplayerPage>;
|
|
49
|
+
parentId: string | null;
|
|
50
|
+
constructor(model: DocsEntityGroupModel);
|
|
51
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DocumentationItemHeaderV2 } from "@supernova-studio/model";
|
|
2
|
+
import { Alignment } from "../../enums/SDKAlignment";
|
|
3
|
+
import { AssetScaleType } from "../../enums/SDKAssetScaleType";
|
|
4
|
+
import { DocsColorRef } from "../blocks/support/SDKDocsColorRef";
|
|
5
|
+
import { DocsImageRef } from "../blocks/support/SDKDocsImageRef";
|
|
6
|
+
export type DocsEntityHeaderModel = {
|
|
7
|
+
description: string;
|
|
8
|
+
alignment: Alignment;
|
|
9
|
+
foregroundColor?: DocsColorRef;
|
|
10
|
+
backgroundColor?: DocsColorRef;
|
|
11
|
+
backgroundImageAsset?: DocsImageRef;
|
|
12
|
+
backgroundImageScaleType: AssetScaleType;
|
|
13
|
+
showBackgroundOverlay: boolean;
|
|
14
|
+
showCoverText: boolean;
|
|
15
|
+
minHeight: number | null;
|
|
16
|
+
};
|
|
17
|
+
export declare class DocsEntityHeader {
|
|
18
|
+
description: string;
|
|
19
|
+
alignment: "Left" | "Center";
|
|
20
|
+
foregroundColor: DocsColorRef | null;
|
|
21
|
+
backgroundColor: DocsColorRef | null;
|
|
22
|
+
backgroundImage: DocsImageRef | null;
|
|
23
|
+
showBackgroundOverlay: boolean;
|
|
24
|
+
showCoverText: boolean;
|
|
25
|
+
minHeight: number | null;
|
|
26
|
+
backgroundImageScale: "AspectFill" | "AspectFit";
|
|
27
|
+
constructor(model: DocumentationItemHeaderV2);
|
|
28
|
+
toRemote(): DocumentationItemHeaderV2;
|
|
29
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DocsEntityType } from "../../enums/SDKDocsEntityType";
|
|
2
|
+
import { DocsEntity, DocsEntityModel } from "./SDKDocsEntity";
|
|
3
|
+
import { DocsEntityMultiplayerGroup } from "./SDKDocsEntityGroup";
|
|
4
|
+
export type DocsEntityPageModel = {
|
|
5
|
+
childrenIds: Array<string>;
|
|
6
|
+
} & DocsEntityModel;
|
|
7
|
+
export declare class DocsEntityPage extends DocsEntity {
|
|
8
|
+
/** Containing group. Can either be true group (abstract), or tab group */
|
|
9
|
+
parentId: string;
|
|
10
|
+
/** Internal */
|
|
11
|
+
deployedUrl: string | null;
|
|
12
|
+
/** Internal */
|
|
13
|
+
relativeUrl: string | null;
|
|
14
|
+
/** Internal */
|
|
15
|
+
editorUrl: string | null;
|
|
16
|
+
/** IDs of items belonging to the documentation group. Can be blocks and sections */
|
|
17
|
+
childrenIds: Array<string>;
|
|
18
|
+
constructor(model: DocsEntityPageModel);
|
|
19
|
+
/** Internal: Modifies object with new paths. Don't use outside SDK environment as it doesn't propagate the data back to source */
|
|
20
|
+
internalOverridePaths(deployed: string | null, editor: string | null, relative: string | null): void;
|
|
21
|
+
/** Retrieve editor page URL that can be opened */
|
|
22
|
+
editorPageUrl(): string | null;
|
|
23
|
+
/** Retrieve documentation page URL, if the documentation was already deployed (either default or custom domain) */
|
|
24
|
+
deployedPageUrl(): string | null;
|
|
25
|
+
/** Retrieve relative page path without the associated domain. Will work even when documentation was not yet deployed */
|
|
26
|
+
relativePageUrl(): string | null;
|
|
27
|
+
}
|
|
28
|
+
/** Lightweight page representation used in multiplayer context type-validated against the full version */
|
|
29
|
+
export declare class DocsEntityMultiplayerPage implements Pick<DocsEntityPage, "id" | "persistentId" | "type" | "title" | "relativeUrl" | "createdAt"> {
|
|
30
|
+
id: string;
|
|
31
|
+
persistentId: string;
|
|
32
|
+
parentId: string | null;
|
|
33
|
+
parent: DocsEntityMultiplayerGroup | null;
|
|
34
|
+
type: DocsEntityType.page;
|
|
35
|
+
title: string;
|
|
36
|
+
relativeUrl: string | null;
|
|
37
|
+
createdAt: Date | null;
|
|
38
|
+
constructor(model: DocsEntityPageModel);
|
|
39
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { DocsSectionType } from "../../enums/SDKDocsSectionType";
|
|
2
|
+
import { DocsColorRef } from "../blocks/support/SDKDocsColorRef";
|
|
3
|
+
import { DocsSectionItemModel } from "./SDKDocsSectionItem";
|
|
4
|
+
export type DocsSectionModel = {
|
|
5
|
+
id: string;
|
|
6
|
+
type: DocsSectionType;
|
|
7
|
+
appearance?: {
|
|
8
|
+
expandToEdges: boolean;
|
|
9
|
+
contentExpandToEdges: boolean;
|
|
10
|
+
backgroundColor?: DocsColorRef;
|
|
11
|
+
foregroundColor?: DocsColorRef;
|
|
12
|
+
padding?: {
|
|
13
|
+
top?: number;
|
|
14
|
+
bottom?: number;
|
|
15
|
+
left?: number;
|
|
16
|
+
right?: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
items: Array<DocsSectionItemModel>;
|
|
20
|
+
};
|
|
21
|
+
export declare class DocsSection {
|
|
22
|
+
/** Unique identifier of section, uuidv4() on create * */
|
|
23
|
+
id: string;
|
|
24
|
+
/** Section type */
|
|
25
|
+
type: DocsSectionType;
|
|
26
|
+
/** Global appearance properties for the section like background color, expanding to edges, etc. */
|
|
27
|
+
appearance: {
|
|
28
|
+
/** Section background is expanded to fill available area, including side margins */
|
|
29
|
+
expandToEdges: boolean;
|
|
30
|
+
/** Content of the section is expanded to fill available area, including side margins */
|
|
31
|
+
contentExpandToEdges: boolean;
|
|
32
|
+
/** Background color of the section */
|
|
33
|
+
backgroundColor: DocsColorRef | null;
|
|
34
|
+
/** Foreground color of the section */
|
|
35
|
+
foregroundColor: DocsColorRef | null;
|
|
36
|
+
/** Content offset from the sides */
|
|
37
|
+
padding: {
|
|
38
|
+
top: number;
|
|
39
|
+
bottom: number;
|
|
40
|
+
left: number;
|
|
41
|
+
right: number;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
/** Section items contained within this section. At least one is always present */
|
|
45
|
+
items: Array<DocsSectionItemModel>;
|
|
46
|
+
constructor(model: DocsSectionModel);
|
|
47
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DocsSizeRef } from "../blocks/support/SDKDocsSizeRef";
|
|
2
|
+
export type DocsSectionColumnModel = {
|
|
3
|
+
id: string;
|
|
4
|
+
width?: DocsSizeRef;
|
|
5
|
+
blockIds: Array<string>;
|
|
6
|
+
};
|
|
7
|
+
export declare class DocsSectionColumn {
|
|
8
|
+
/** Unique identifier of column */
|
|
9
|
+
id: string;
|
|
10
|
+
/** Width of the column */
|
|
11
|
+
width: DocsSizeRef | null;
|
|
12
|
+
/** Blocks contained within this column */
|
|
13
|
+
blockIds: Array<string>;
|
|
14
|
+
constructor(model: DocsSectionColumnModel);
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DocsSectionColumn, DocsSectionColumnModel } from "./SDKDocsSectionColumn";
|
|
2
|
+
export type DocsSectionItemModel = {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
columns: Array<DocsSectionColumnModel>;
|
|
6
|
+
};
|
|
7
|
+
export declare class DocsSectionItem {
|
|
8
|
+
/** Unique identifier of section item, uuidv4() on create * */
|
|
9
|
+
id: string;
|
|
10
|
+
/** User-provided item title */
|
|
11
|
+
title: string;
|
|
12
|
+
/** Section item columns contained within this section item. At least one is always present */
|
|
13
|
+
columns: Array<DocsSectionColumn>;
|
|
14
|
+
constructor(model: DocsSectionItemModel);
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { WorkspaceNPMRegistrySettings } from "../workspaces/SDKWorkspaceNPMRegistrySettings";
|
|
2
|
+
export type DocumentationLegacyConfigurationModel = {
|
|
3
|
+
tabbed: boolean;
|
|
4
|
+
storybookEmbedErrorMessage?: string;
|
|
5
|
+
renderCodePackageJson?: string;
|
|
6
|
+
isPublic: boolean;
|
|
7
|
+
serveDefaultVersionOnly: boolean;
|
|
8
|
+
selectedBrandId: string;
|
|
9
|
+
host: string;
|
|
10
|
+
};
|
|
11
|
+
export declare class DocumentationLegacyConfiguration {
|
|
12
|
+
tabbedNavigation: boolean;
|
|
13
|
+
isPublic: boolean;
|
|
14
|
+
serveDefaultVersionOnly: boolean;
|
|
15
|
+
selectedBrandId: string;
|
|
16
|
+
host: string;
|
|
17
|
+
storybookError: string | null;
|
|
18
|
+
packageJson: string | null;
|
|
19
|
+
npmRegistry: WorkspaceNPMRegistrySettings | null;
|
|
20
|
+
constructor(model: DocumentationLegacyConfigurationModel, registry: WorkspaceNPMRegistrySettings | null);
|
|
21
|
+
toConfigurationModelWriteObject(): DocumentationLegacyConfigurationModel;
|
|
22
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DocumentationLegacyGroupBehavior } from "../enums/SDKDocumentationLegacyGroupBehavior";
|
|
2
|
+
import { DocumentationLegacyItemType } from "../enums/SDKDocumentationLegacyItemType";
|
|
3
|
+
import { DocumentationLegacyItem, DocumentationLegacyItemModel } from "./SDKDocumentationLegacyItem";
|
|
4
|
+
import { DocumentationLegacyPage } from "./SDKDocumentationLegacyPage";
|
|
5
|
+
export type DocumentationLegacyGroupModel = {
|
|
6
|
+
isRoot: boolean;
|
|
7
|
+
childrenIds: Array<string>;
|
|
8
|
+
groupBehavior: DocumentationLegacyGroupBehavior;
|
|
9
|
+
} & DocumentationLegacyItemModel;
|
|
10
|
+
export declare class DocumentationLegacyGroup extends DocumentationLegacyItem {
|
|
11
|
+
/** If true, this is unique within documentation (just one) that contains all top-level objects and is root of the docs tree (root > groups > items > blocks ...) */
|
|
12
|
+
isRoot: boolean;
|
|
13
|
+
/** IDs of items belonging to the documentation group. Can be page or group */
|
|
14
|
+
childrenIds: Array<string>;
|
|
15
|
+
/** Items belonging to the documentation group. Can be page or group */
|
|
16
|
+
children: Array<DocumentationLegacyGroup | DocumentationLegacyPage>;
|
|
17
|
+
type: DocumentationLegacyItemType.group;
|
|
18
|
+
/** Parent group reference */
|
|
19
|
+
parent: DocumentationLegacyGroup | null;
|
|
20
|
+
/** Signifies how the group should behave. If set to "tabs", group behaves as "page", but contains multiple tabbed pages inside it. "Group" signifies virtual group used for content structuring */
|
|
21
|
+
groupBehavior: DocumentationLegacyGroupBehavior;
|
|
22
|
+
/** Children filtered to be only groups */
|
|
23
|
+
get subgroups(): Array<DocumentationLegacyGroup>;
|
|
24
|
+
/** Children filtered to be only pages */
|
|
25
|
+
get pages(): Array<DocumentationLegacyPage>;
|
|
26
|
+
/** Internal */
|
|
27
|
+
relativeFirstPageUrl: string | null;
|
|
28
|
+
/** Internal */
|
|
29
|
+
deployedFirstPageUrl: string | null;
|
|
30
|
+
constructor(model: DocumentationLegacyGroupModel);
|
|
31
|
+
addChild(item: DocumentationLegacyGroup | DocumentationLegacyPage): void;
|
|
32
|
+
addChildren(groups: Array<DocumentationLegacyGroup | DocumentationLegacyPage>): void;
|
|
33
|
+
setParent(parent: DocumentationLegacyGroup | null): void;
|
|
34
|
+
/** Internal: Modifies object with new paths. Don't use outside SDK environment as it doesn't propagate the data back to source */
|
|
35
|
+
internalOverridePaths(relative: string | null, deployed: string | null): void;
|
|
36
|
+
/** Retrieve relative page path without the associated domain for the first page in the group. Will work even when documentation was not yet deployed */
|
|
37
|
+
relativeDocsPageUrl(): string | null;
|
|
38
|
+
/** Retrieve page url for the first page in the group, if the documentation was already deployed (either default or custom domain) */
|
|
39
|
+
deployedDocsPageUrl(): string | null;
|
|
40
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DocumentationLegacyItemType } from "../enums/SDKDocumentationLegacyItemType";
|
|
2
|
+
import { DocumentationLegacyItemConfiguration, DocumentationLegacyItemConfigurationModel } from "./configuration/SDKDocumentationLegacyItemConfiguration";
|
|
3
|
+
export type DocumentationLegacyItemModel = {
|
|
4
|
+
persistentId: string;
|
|
5
|
+
id: string;
|
|
6
|
+
designSystemVersionId: string;
|
|
7
|
+
title: string;
|
|
8
|
+
type: DocumentationLegacyItemType;
|
|
9
|
+
slug: string;
|
|
10
|
+
userSlug?: string;
|
|
11
|
+
configuration: DocumentationLegacyItemConfigurationModel;
|
|
12
|
+
createdAt?: string;
|
|
13
|
+
updatedAt?: string;
|
|
14
|
+
};
|
|
15
|
+
export declare class DocumentationLegacyItem {
|
|
16
|
+
id: string;
|
|
17
|
+
persistentId: string;
|
|
18
|
+
type: DocumentationLegacyItemType;
|
|
19
|
+
title: string;
|
|
20
|
+
configuration: DocumentationLegacyItemConfiguration;
|
|
21
|
+
slug: string;
|
|
22
|
+
userSlug: string | null;
|
|
23
|
+
createdAt: Date | null;
|
|
24
|
+
updatedAt: Date | null;
|
|
25
|
+
constructor(model: DocumentationLegacyItemModel);
|
|
26
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DocumentationLegacyItemType } from "../enums/SDKDocumentationLegacyItemType";
|
|
2
|
+
import { ExporterCustomBlock } from "../exporters/custom_blocks/SDKExporterCustomBlock";
|
|
3
|
+
import { DocumentationLegacyConfiguration } from "./SDKDocumentationLegacyConfiguration";
|
|
4
|
+
import { DocumentationLegacyGroup } from "./SDKDocumentationLegacyGroup";
|
|
5
|
+
import { DocumentationLegacyItem, DocumentationLegacyItemModel } from "./SDKDocumentationLegacyItem";
|
|
6
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "./SDKDocumentationLegacyPageBlock";
|
|
7
|
+
export type DocumentationLegacyPageModel = {
|
|
8
|
+
path: string;
|
|
9
|
+
blocks?: Array<DocumentationLegacyPageBlockModel>;
|
|
10
|
+
} & DocumentationLegacyItemModel;
|
|
11
|
+
export declare class DocumentationLegacyPage extends DocumentationLegacyItem {
|
|
12
|
+
/** All blocks that were defined on the top level of the page */
|
|
13
|
+
blocks?: Array<DocumentationLegacyPageBlock>;
|
|
14
|
+
/** Containing group. Can either be true group (abstract), or tab group */
|
|
15
|
+
parent: DocumentationLegacyGroup;
|
|
16
|
+
/** Internal */
|
|
17
|
+
deployedUrl: string | null;
|
|
18
|
+
/** Internal */
|
|
19
|
+
relativeUrl: string;
|
|
20
|
+
type: DocumentationLegacyItemType.page;
|
|
21
|
+
/** Internal */
|
|
22
|
+
editorUrl: string | null;
|
|
23
|
+
constructor(model: DocumentationLegacyPageModel, customBlocks?: Array<ExporterCustomBlock>, configuration?: DocumentationLegacyConfiguration);
|
|
24
|
+
/** Internal: Modifies object with new paths. Don't use outside SDK environment as it doesn't propagate the data back to source */
|
|
25
|
+
internalOverridePaths(deployed: string | null, editor: string | null): void;
|
|
26
|
+
/** Internal: Sets new parent. Used when manipulating with object internally. Don't use outside SDK environment */
|
|
27
|
+
setParent(parent: DocumentationLegacyGroup): void;
|
|
28
|
+
/** Retrieve editor page URL that can be opened */
|
|
29
|
+
editorPageUrl(): string | null;
|
|
30
|
+
/** Retrieve documentation page URL, if the documentation was already deployed (either default or custom domain) */
|
|
31
|
+
deployedPageUrl(): string | null;
|
|
32
|
+
/** Retrieve relative page path without the associated domain. Will work even when documentation was not yet deployed */
|
|
33
|
+
relativePageUrl(): string | null;
|
|
34
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DocumentationLegacyPageAssetType } from "../enums/SDKDocumentationLegacyPageAssetType";
|
|
2
|
+
import { DocumentationLegacyPageBlockFrame, DocumentationLegacyPageBlockFrameModel } from "./blocks/SDKDocumentationLegacyPageBlockFrame";
|
|
3
|
+
export type DocumentationLegacyPageAssetModel = {
|
|
4
|
+
id?: string;
|
|
5
|
+
persistentId?: string;
|
|
6
|
+
sourceId?: string;
|
|
7
|
+
sourceFrameId?: string;
|
|
8
|
+
url?: string;
|
|
9
|
+
type: DocumentationLegacyPageAssetType;
|
|
10
|
+
figmaFrame?: DocumentationLegacyPageBlockFrameModel;
|
|
11
|
+
};
|
|
12
|
+
export declare class DocumentationLegacyPageAsset {
|
|
13
|
+
id?: string;
|
|
14
|
+
persistentId: string | null;
|
|
15
|
+
sourceId: string | null;
|
|
16
|
+
sourceFrameId: string | null;
|
|
17
|
+
url: string | null;
|
|
18
|
+
type: DocumentationLegacyPageAssetType;
|
|
19
|
+
frame: DocumentationLegacyPageBlockFrame | null;
|
|
20
|
+
constructor(model: DocumentationLegacyPageAssetModel);
|
|
21
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlockThemeType } from "../enums/SDKDocumentationLegacyPageBlockThemeType";
|
|
2
|
+
import { DocumentationLegacyPageBlockType } from "../enums/SDKDocumentationLegacyPageBlockType";
|
|
3
|
+
export type DocumentationLegacyPageBlockModel = {
|
|
4
|
+
persistentId: string;
|
|
5
|
+
designObjectId: string;
|
|
6
|
+
type: DocumentationLegacyPageBlockType;
|
|
7
|
+
children?: Array<DocumentationLegacyPageBlockModel>;
|
|
8
|
+
variantKey?: string;
|
|
9
|
+
theme?: {
|
|
10
|
+
themeIds: Array<string>;
|
|
11
|
+
type: DocumentationLegacyPageBlockThemeType;
|
|
12
|
+
};
|
|
13
|
+
blacklistedElementProperties?: Array<string>;
|
|
14
|
+
userMetadata?: string;
|
|
15
|
+
};
|
|
16
|
+
export declare class DocumentationLegacyPageBlock {
|
|
17
|
+
id: string;
|
|
18
|
+
children?: Array<DocumentationLegacyPageBlock>;
|
|
19
|
+
type: DocumentationLegacyPageBlockType;
|
|
20
|
+
beginsTypeChain: boolean;
|
|
21
|
+
endsTypeChain: boolean;
|
|
22
|
+
variantKey: string | null;
|
|
23
|
+
theme: {
|
|
24
|
+
themeIds: Array<string>;
|
|
25
|
+
type: DocumentationLegacyPageBlockThemeType;
|
|
26
|
+
} | null;
|
|
27
|
+
blacklistedElementProperties: Array<string> | null;
|
|
28
|
+
userMetadata: object | Array<any> | null;
|
|
29
|
+
constructor(model: DocumentationLegacyPageBlockModel, children: Array<DocumentationLegacyPageBlock>);
|
|
30
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RichTextSpan, RichTextSpanModel } from "./SDKDocumentationLegacyRichTextSpan";
|
|
2
|
+
export type DocumentationLegacyRichTextModel = {
|
|
3
|
+
spans: Array<RichTextSpanModel>;
|
|
4
|
+
};
|
|
5
|
+
export declare class DocumentationLegacyRichText {
|
|
6
|
+
spans: Array<RichTextSpan>;
|
|
7
|
+
constructor(model: DocumentationLegacyRichTextModel);
|
|
8
|
+
/** Convert rich text into plain text, omitting any formatting */
|
|
9
|
+
asPlainText(): string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RichTextSpanAttribute, RichTextSpanAttributeModel } from "./SDKDocumentationLegacyRichTextSpanAttribute";
|
|
2
|
+
export type RichTextSpanModel = {
|
|
3
|
+
text: string;
|
|
4
|
+
attributes: Array<RichTextSpanAttributeModel>;
|
|
5
|
+
};
|
|
6
|
+
export declare class RichTextSpan {
|
|
7
|
+
text: string;
|
|
8
|
+
attributes: Array<RichTextSpanAttribute>;
|
|
9
|
+
constructor(model: RichTextSpanModel);
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RichTextSpanAttributeType } from "../enums/SDKRichTextSpanAttributeType";
|
|
2
|
+
export type RichTextSpanAttributeModel = {
|
|
3
|
+
type: RichTextSpanAttributeType;
|
|
4
|
+
link?: string;
|
|
5
|
+
documentationItemId?: string;
|
|
6
|
+
openInNewWindow: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare class RichTextSpanAttribute {
|
|
9
|
+
type: RichTextSpanAttributeType;
|
|
10
|
+
link: string | null;
|
|
11
|
+
openInNewWindow: boolean;
|
|
12
|
+
documentationItemId: string | null;
|
|
13
|
+
constructor(model: RichTextSpanAttributeModel);
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ColorTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
|
|
2
|
+
export type DocumentationLegacyPageBlockAssetModel = {
|
|
3
|
+
componentAssetId: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
backgroundColor?: ColorTokenRemoteData;
|
|
7
|
+
};
|
|
8
|
+
export declare class DocumentationLegacyPageBlockAsset {
|
|
9
|
+
assetId: string;
|
|
10
|
+
title: string | null;
|
|
11
|
+
description: string | null;
|
|
12
|
+
previewUrl: string | null;
|
|
13
|
+
backgroundColor: ColorTokenRemoteData | null;
|
|
14
|
+
constructor(model: DocumentationLegacyPageBlockAssetModel, blockBackgroundColor: ColorTokenRemoteData | null);
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FrameAlignment } from "../../enums/SDKFrameAlignment";
|
|
2
|
+
import { FrameLayout } from "../../enums/SDKFrameLayout";
|
|
3
|
+
import { ColorTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
|
|
4
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
5
|
+
import { DocumentationLegacyPageBlockAsset, DocumentationLegacyPageBlockAssetModel } from "./SDKDocumentationLegacyPageBlockAsset";
|
|
6
|
+
export type DocumentationLegacyPageBlockAssetsModel = {
|
|
7
|
+
componentAssets: Array<DocumentationLegacyPageBlockAssetModel>;
|
|
8
|
+
figmaFrameProperties: {
|
|
9
|
+
alignment: FrameAlignment;
|
|
10
|
+
color?: ColorTokenRemoteData;
|
|
11
|
+
layout: FrameLayout;
|
|
12
|
+
};
|
|
13
|
+
} & DocumentationLegacyPageBlockModel;
|
|
14
|
+
export declare class DocumentationLegacyPageBlockAssets extends DocumentationLegacyPageBlock {
|
|
15
|
+
assets: Array<DocumentationLegacyPageBlockAsset>;
|
|
16
|
+
properties: {
|
|
17
|
+
backgroundColor: ColorTokenRemoteData | null;
|
|
18
|
+
alignment: FrameAlignment;
|
|
19
|
+
layout: FrameLayout;
|
|
20
|
+
};
|
|
21
|
+
constructor(model: DocumentationLegacyPageBlockAssetsModel, children: Array<DocumentationLegacyPageBlock>);
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DocumentationLegacyCalloutType } from "../../enums/SDKDocumentationLegacyCalloutType";
|
|
2
|
+
import { DocumentationLegacyPageBlock } from "../SDKDocumentationLegacyPageBlock";
|
|
3
|
+
import { DocumentationLegacyPageBlockText, DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
|
|
4
|
+
export type DocumentationLegacyPageBlockCalloutModel = {
|
|
5
|
+
calloutType: DocumentationLegacyCalloutType;
|
|
6
|
+
} & DocumentationLegacyPageBlockTextModel;
|
|
7
|
+
export declare class DocumentationLegacyPageBlockCallout extends DocumentationLegacyPageBlockText {
|
|
8
|
+
calloutType: DocumentationLegacyCalloutType;
|
|
9
|
+
constructor(model: DocumentationLegacyPageBlockCalloutModel, children: Array<DocumentationLegacyPageBlock>);
|
|
10
|
+
}
|
package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockCode.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
import { DocumentationLegacyPageBlockText, DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
|
|
3
|
+
export type DocumentationLegacyPageBlockCodeModel = {
|
|
4
|
+
codeLanguage?: string;
|
|
5
|
+
caption?: string;
|
|
6
|
+
} & DocumentationLegacyPageBlockTextModel;
|
|
7
|
+
export declare class DocumentationLegacyPageBlockCode extends DocumentationLegacyPageBlockText {
|
|
8
|
+
codeLanguage: string | null;
|
|
9
|
+
caption: string | null;
|
|
10
|
+
constructor(model: DocumentationLegacyPageBlockCodeModel, children: Array<DocumentationLegacyPageBlock>);
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
export type DocumentationLegacyPageBlockColumnModel = DocumentationLegacyPageBlockModel;
|
|
3
|
+
export declare class DocumentationLegacyPageBlockColumn extends DocumentationLegacyPageBlock {
|
|
4
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DimensionTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
|
|
2
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
3
|
+
export type DocumentationLegacyPageBlockColumnItemModel = {
|
|
4
|
+
width: DimensionTokenRemoteData;
|
|
5
|
+
} & DocumentationLegacyPageBlockModel;
|
|
6
|
+
export declare class DocumentationLegacyPageBlockColumnItem extends DocumentationLegacyPageBlock {
|
|
7
|
+
width: DimensionTokenRemoteData;
|
|
8
|
+
constructor(model: DocumentationLegacyPageBlockColumnItemModel, children: Array<DocumentationLegacyPageBlock>);
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ExporterCustomBlock } from "../../exporters/custom_blocks/SDKExporterCustomBlock";
|
|
2
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
3
|
+
export type DocumentationLegacyPageBlockCustomModel = {
|
|
4
|
+
customBlockKey: string;
|
|
5
|
+
customBlockProperties?: Array<{
|
|
6
|
+
key: string;
|
|
7
|
+
value: any;
|
|
8
|
+
}>;
|
|
9
|
+
} & DocumentationLegacyPageBlockModel;
|
|
10
|
+
export declare class DocumentationLegacyPageBlockCustom extends DocumentationLegacyPageBlock {
|
|
11
|
+
key: string;
|
|
12
|
+
properties: object;
|
|
13
|
+
block: ExporterCustomBlock | null;
|
|
14
|
+
constructor(model: DocumentationLegacyPageBlockCustomModel, children: Array<DocumentationLegacyPageBlock>, customBlocks: Array<ExporterCustomBlock>);
|
|
15
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
export type DocumentationLegacyPageBlockDividerModel = DocumentationLegacyPageBlockModel;
|
|
3
|
+
export declare class DocumentationLegacyPageBlockDivider extends DocumentationLegacyPageBlock {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlockEmbedGeneric, DocumentationLegacyPageBlockEmbedGenericModel } from "./SDKDocumentationLegacyPageBlockEmbedGeneric";
|
|
2
|
+
export type DocumentationLegacyPageBlockEmbedFigmaModel = DocumentationLegacyPageBlockEmbedGenericModel;
|
|
3
|
+
export declare class DocumentationLegacyPageBlockEmbedFigma extends DocumentationLegacyPageBlockEmbedGeneric {
|
|
4
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Size, SizeModel } from "../../support/SDKSize";
|
|
2
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
3
|
+
export type DocumentationLegacyPageBlockEmbedGenericModel = {
|
|
4
|
+
url?: string;
|
|
5
|
+
size?: SizeModel;
|
|
6
|
+
caption?: string;
|
|
7
|
+
} & DocumentationLegacyPageBlockModel;
|
|
8
|
+
export declare class DocumentationLegacyPageBlockEmbedGeneric extends DocumentationLegacyPageBlock {
|
|
9
|
+
url: string | null;
|
|
10
|
+
size: Size | null;
|
|
11
|
+
caption: string | null;
|
|
12
|
+
constructor(model: DocumentationLegacyPageBlockEmbedGenericModel, children: Array<DocumentationLegacyPageBlock>);
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
import { DocumentationLegacyPageBlockEmbedGeneric, DocumentationLegacyPageBlockEmbedGenericModel } from "./SDKDocumentationLegacyPageBlockEmbedGeneric";
|
|
3
|
+
export type DocumentationLegacyPageBlockEmbedLinkModel = {
|
|
4
|
+
urlPreview?: {
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
thumbnailUrl?: string;
|
|
8
|
+
};
|
|
9
|
+
} & DocumentationLegacyPageBlockEmbedGenericModel;
|
|
10
|
+
export declare class DocumentationLegacyPageBlockEmbedLink extends DocumentationLegacyPageBlockEmbedGeneric {
|
|
11
|
+
title: string | null;
|
|
12
|
+
description: string | null;
|
|
13
|
+
thumbnailUrl: string | null;
|
|
14
|
+
constructor(model: DocumentationLegacyPageBlockEmbedLinkModel, children: Array<DocumentationLegacyPageBlock>);
|
|
15
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlockEmbedGeneric, DocumentationLegacyPageBlockEmbedGenericModel } from "./SDKDocumentationLegacyPageBlockEmbedGeneric";
|
|
2
|
+
export type DocumentationLegacyPageBlockEmbedStorybookModel = DocumentationLegacyPageBlockEmbedGenericModel;
|
|
3
|
+
export declare class DocumentationLegacyPageBlockEmbedStorybook extends DocumentationLegacyPageBlockEmbedGeneric {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlockEmbedGeneric, DocumentationLegacyPageBlockEmbedGenericModel } from "./SDKDocumentationLegacyPageBlockEmbedGeneric";
|
|
2
|
+
export type DocumentationLegacyPageBlockEmbedYoutubeModel = DocumentationLegacyPageBlockEmbedGenericModel;
|
|
3
|
+
export declare class DocumentationLegacyPageBlockEmbedYoutube extends DocumentationLegacyPageBlockEmbedGeneric {
|
|
4
|
+
}
|