@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,21 @@
|
|
|
1
|
+
import { FrameOrigin, FrameOriginModel } from "../../support/SDKFrameOrigin";
|
|
2
|
+
import { ColorTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
|
|
3
|
+
export type DocumentationLegacyPageBlockFrameModel = {
|
|
4
|
+
id?: string;
|
|
5
|
+
sourceId: string;
|
|
6
|
+
sourceFrameId: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
persistentId?: string;
|
|
10
|
+
backgroundColor?: ColorTokenRemoteData;
|
|
11
|
+
origin?: FrameOriginModel;
|
|
12
|
+
};
|
|
13
|
+
export declare class DocumentationLegacyPageBlockFrame {
|
|
14
|
+
title: string | null;
|
|
15
|
+
description: string | null;
|
|
16
|
+
previewUrl: string;
|
|
17
|
+
persistentId: string | null;
|
|
18
|
+
backgroundColor: ColorTokenRemoteData | null;
|
|
19
|
+
origin: FrameOrigin | null;
|
|
20
|
+
constructor(model: DocumentationLegacyPageBlockFrameModel, blockBackgroundColor: ColorTokenRemoteData | null);
|
|
21
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { DocumentationLegacyPageBlockFrame, DocumentationLegacyPageBlockFrameModel } from "./SDKDocumentationLegacyPageBlockFrame";
|
|
6
|
+
export type DocumentationLegacyPageBlockFramesModel = {
|
|
7
|
+
figmaFrames: Array<DocumentationLegacyPageBlockFrameModel>;
|
|
8
|
+
figmaFrameProperties: {
|
|
9
|
+
alignment: FrameAlignment;
|
|
10
|
+
color?: ColorTokenRemoteData;
|
|
11
|
+
layout: FrameLayout;
|
|
12
|
+
showTitles: boolean;
|
|
13
|
+
};
|
|
14
|
+
} & DocumentationLegacyPageBlockModel;
|
|
15
|
+
export declare class DocumentationLegacyPageBlockFrames extends DocumentationLegacyPageBlock {
|
|
16
|
+
frames: Array<DocumentationLegacyPageBlockFrame>;
|
|
17
|
+
properties: {
|
|
18
|
+
backgroundColor: ColorTokenRemoteData | null;
|
|
19
|
+
alignment: FrameAlignment;
|
|
20
|
+
layout: FrameLayout;
|
|
21
|
+
showTitles: boolean;
|
|
22
|
+
};
|
|
23
|
+
constructor(model: DocumentationLegacyPageBlockFramesModel, children: Array<DocumentationLegacyPageBlock>);
|
|
24
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DocumentationLegacyHeadingType } from "../../enums/SDKDocumentationLegacyHeadingType";
|
|
2
|
+
import { DocumentationLegacyPageBlock } from "../SDKDocumentationLegacyPageBlock";
|
|
3
|
+
import { DocumentationLegacyPageBlockText, DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
|
|
4
|
+
export type DocumentationLegacyPageBlockHeadingModel = {
|
|
5
|
+
headingType: DocumentationLegacyHeadingType;
|
|
6
|
+
} & DocumentationLegacyPageBlockTextModel;
|
|
7
|
+
export declare class DocumentationLegacyPageBlockHeading extends DocumentationLegacyPageBlockText {
|
|
8
|
+
headingType: DocumentationLegacyHeadingType;
|
|
9
|
+
constructor(model: DocumentationLegacyPageBlockHeadingModel, children: Array<DocumentationLegacyPageBlock>);
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Alignment } from "../../enums/SDKAlignment";
|
|
2
|
+
import { DocumentationLegacyPageAsset, DocumentationLegacyPageAssetModel } from "../SDKDocumentationLegacyPageAsset";
|
|
3
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
4
|
+
export type DocumentationLegacyPageBlockImageModel = {
|
|
5
|
+
asset?: DocumentationLegacyPageAssetModel;
|
|
6
|
+
assetUrl?: string;
|
|
7
|
+
caption?: string;
|
|
8
|
+
alignment: Alignment;
|
|
9
|
+
} & DocumentationLegacyPageBlockModel;
|
|
10
|
+
export declare class DocumentationLegacyPageBlockImage extends DocumentationLegacyPageBlock {
|
|
11
|
+
url: string | null;
|
|
12
|
+
asset: DocumentationLegacyPageAsset;
|
|
13
|
+
caption: string | null;
|
|
14
|
+
alignment: Alignment;
|
|
15
|
+
constructor(model: DocumentationLegacyPageBlockImageModel, children: Array<DocumentationLegacyPageBlock>);
|
|
16
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlockText, DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
|
|
2
|
+
export type DocumentationLegacyPageOrderedListModel = DocumentationLegacyPageBlockTextModel;
|
|
3
|
+
export declare class DocumentationLegacyPageOrderedList extends DocumentationLegacyPageBlockText {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlockText, DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
|
|
2
|
+
export type DocumentationLegacyPageBlockQuoteModel = DocumentationLegacyPageBlockTextModel;
|
|
3
|
+
export declare class DocumentationLegacyPageBlockQuote extends DocumentationLegacyPageBlockText {
|
|
4
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Alignment } from "../../enums/SDKAlignment";
|
|
2
|
+
import { Size } from "../../support/SDKSize";
|
|
3
|
+
import { DocumentationLegacyConfiguration } from "../SDKDocumentationLegacyConfiguration";
|
|
4
|
+
import { DocumentationLegacyPageBlock } from "../SDKDocumentationLegacyPageBlock";
|
|
5
|
+
import { DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
|
|
6
|
+
export type DocumentationLegacyPageBlockRenderCodeModel = {
|
|
7
|
+
alignment: Alignment;
|
|
8
|
+
renderCodeProperties: {
|
|
9
|
+
showCode: boolean;
|
|
10
|
+
};
|
|
11
|
+
backgroundColor?: {
|
|
12
|
+
value?: string;
|
|
13
|
+
};
|
|
14
|
+
size?: Size;
|
|
15
|
+
} & DocumentationLegacyPageBlockTextModel;
|
|
16
|
+
declare enum DocumentationLegacyPageBlockRenderCodeEnvironmentType {
|
|
17
|
+
react = "react"
|
|
18
|
+
}
|
|
19
|
+
export declare class DocumentationLegacyPageBlockRenderCode extends DocumentationLegacyPageBlock {
|
|
20
|
+
alignment: Alignment;
|
|
21
|
+
backgroundColor: string | null;
|
|
22
|
+
showCode: boolean;
|
|
23
|
+
code: string;
|
|
24
|
+
packageJSON: string;
|
|
25
|
+
height: number | null;
|
|
26
|
+
sandboxData: string;
|
|
27
|
+
sandboxType: DocumentationLegacyPageBlockRenderCodeEnvironmentType;
|
|
28
|
+
constructor(model: DocumentationLegacyPageBlockRenderCodeModel, children: Array<DocumentationLegacyPageBlock>, configuration: DocumentationLegacyConfiguration);
|
|
29
|
+
private encodeSandboxData;
|
|
30
|
+
btoaUnicode(str: any): string | null;
|
|
31
|
+
atobUnicode(str: any): string;
|
|
32
|
+
}
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DocumentationLegacyPageAssetModel } from "../SDKDocumentationLegacyPageAsset";
|
|
2
|
+
export type DocumentationLegacyPageBlockShortcutModel = {
|
|
3
|
+
title?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
asset?: DocumentationLegacyPageAssetModel;
|
|
6
|
+
assetId?: string;
|
|
7
|
+
assetUrl?: string;
|
|
8
|
+
documentationItemId?: string;
|
|
9
|
+
url?: string;
|
|
10
|
+
urlPreview?: {
|
|
11
|
+
title?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
thumbnailUrl?: string;
|
|
14
|
+
};
|
|
15
|
+
documentationItemPreview?: {
|
|
16
|
+
title?: string;
|
|
17
|
+
valid?: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare enum DocumentationLegacyPageBlockShortcutType {
|
|
21
|
+
external = "External",
|
|
22
|
+
internal = "Internal"
|
|
23
|
+
}
|
|
24
|
+
export declare class DocumentationLegacyPageBlockShortcut {
|
|
25
|
+
title: string | null;
|
|
26
|
+
description: string | null;
|
|
27
|
+
previewUrl: string | null;
|
|
28
|
+
externalUrl: string | null;
|
|
29
|
+
internalId: string | null;
|
|
30
|
+
type: DocumentationLegacyPageBlockShortcutType;
|
|
31
|
+
constructor(model: DocumentationLegacyPageBlockShortcutModel);
|
|
32
|
+
shortcutTitleFromModel(model: DocumentationLegacyPageBlockShortcutModel, type: DocumentationLegacyPageBlockShortcutType): string | null;
|
|
33
|
+
shortcutDescriptionFromModel(model: DocumentationLegacyPageBlockShortcutModel, type: DocumentationLegacyPageBlockShortcutType): string | null;
|
|
34
|
+
shortcutPreviewUrlFromModel(model: DocumentationLegacyPageBlockShortcutModel): string | null;
|
|
35
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
import { DocumentationLegacyPageBlockShortcut, DocumentationLegacyPageBlockShortcutModel } from "./SDKDocumentationLegacyPageBlockShortcut";
|
|
3
|
+
export type DocumentationLegacyPageBlockShortcutsModel = {
|
|
4
|
+
shortcuts: Array<DocumentationLegacyPageBlockShortcutModel>;
|
|
5
|
+
} & DocumentationLegacyPageBlockModel;
|
|
6
|
+
export declare class DocumentationLegacyPageBlockShortcuts extends DocumentationLegacyPageBlock {
|
|
7
|
+
shortcuts: Array<DocumentationLegacyPageBlockShortcut>;
|
|
8
|
+
constructor(model: DocumentationLegacyPageBlockShortcutsModel, children: Array<DocumentationLegacyPageBlock>);
|
|
9
|
+
}
|
package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockTab.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
export type DocumentationLegacyPageBlockTabModel = DocumentationLegacyPageBlockModel;
|
|
3
|
+
export declare class DocumentationLegacyPageBlockTab extends DocumentationLegacyPageBlock {
|
|
4
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
export type DocumentationLegacyPageBlockTabItemModel = {
|
|
3
|
+
caption: string;
|
|
4
|
+
} & DocumentationLegacyPageBlockModel;
|
|
5
|
+
export declare class DocumentationLegacyPageBlockTabItem extends DocumentationLegacyPageBlock {
|
|
6
|
+
caption: string;
|
|
7
|
+
constructor(model: DocumentationLegacyPageBlockTabItemModel, children: Array<DocumentationLegacyPageBlock>);
|
|
8
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
import { DocumentationLegacyPageBlockTableColumn, DocumentationLegacyPageBlockTableColumnModel } from "./SDKDocumentationLegacyPageBlockTableColumn";
|
|
3
|
+
import { DocumentationLegacyPageBlockTableRowModel } from "./SDKDocumentationLegacyPageBlockTableRow";
|
|
4
|
+
export type DocumentationLegacyPageBlockTableModel = {
|
|
5
|
+
tableProperties: {
|
|
6
|
+
showBorders: boolean;
|
|
7
|
+
showHeaderRow: boolean;
|
|
8
|
+
showHeaderColumn: boolean;
|
|
9
|
+
columns: Array<DocumentationLegacyPageBlockTableColumnModel>;
|
|
10
|
+
};
|
|
11
|
+
rows: Array<DocumentationLegacyPageBlockTableRowModel>;
|
|
12
|
+
} & DocumentationLegacyPageBlockModel;
|
|
13
|
+
export declare class DocumentationLegacyPageBlockTable extends DocumentationLegacyPageBlock {
|
|
14
|
+
tableProperties: {
|
|
15
|
+
showBorders: boolean;
|
|
16
|
+
showHeaderRow: boolean;
|
|
17
|
+
showHeaderColumn: boolean;
|
|
18
|
+
columns: Array<DocumentationLegacyPageBlockTableColumn>;
|
|
19
|
+
};
|
|
20
|
+
constructor(model: DocumentationLegacyPageBlockTableModel, children: Array<DocumentationLegacyPageBlock>);
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Alignment } from "../../enums/SDKAlignment";
|
|
2
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
3
|
+
export type DocumentationLegacyPageBlockTableCellModel = {
|
|
4
|
+
columnId: string;
|
|
5
|
+
alignment: Alignment;
|
|
6
|
+
} & DocumentationLegacyPageBlockModel;
|
|
7
|
+
export declare class DocumentationLegacyPageBlockTableCell extends DocumentationLegacyPageBlock {
|
|
8
|
+
columnId: string;
|
|
9
|
+
alignment: Alignment;
|
|
10
|
+
constructor(model: DocumentationLegacyPageBlockTableCellModel, children: Array<DocumentationLegacyPageBlock>);
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DimensionTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
|
|
2
|
+
export type DocumentationLegacyPageBlockTableColumnModel = {
|
|
3
|
+
id: string;
|
|
4
|
+
width: DimensionTokenRemoteData;
|
|
5
|
+
};
|
|
6
|
+
export declare class DocumentationLegacyPageBlockTableColumn {
|
|
7
|
+
id: string;
|
|
8
|
+
width: DimensionTokenRemoteData;
|
|
9
|
+
constructor(model: DocumentationLegacyPageBlockTableColumnModel);
|
|
10
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
export type DocumentationLegacyPageBlockTableRowModel = DocumentationLegacyPageBlockModel;
|
|
3
|
+
export declare class DocumentationLegacyPageBlockTableRow extends DocumentationLegacyPageBlock {
|
|
4
|
+
}
|
package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockText.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
import { DocumentationLegacyRichText, DocumentationLegacyRichTextModel } from "../SDKDocumentationLegacyRichText";
|
|
3
|
+
export type DocumentationLegacyPageBlockTextModel = {
|
|
4
|
+
text: DocumentationLegacyRichTextModel;
|
|
5
|
+
} & DocumentationLegacyPageBlockModel;
|
|
6
|
+
export declare class DocumentationLegacyPageBlockText extends DocumentationLegacyPageBlock {
|
|
7
|
+
text: DocumentationLegacyRichText;
|
|
8
|
+
constructor(model: DocumentationLegacyPageBlockTextModel, children: Array<DocumentationLegacyPageBlock>);
|
|
9
|
+
/** Convert block into plain text, omitting any formatting */
|
|
10
|
+
asPlainText(): string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
export type DocumentationLegacyPageBlockTokenModel = {
|
|
3
|
+
designObjectId: string;
|
|
4
|
+
} & DocumentationLegacyPageBlockModel;
|
|
5
|
+
export declare class DocumentationLegacyPageBlockToken extends DocumentationLegacyPageBlock {
|
|
6
|
+
tokenId: string;
|
|
7
|
+
constructor(model: DocumentationLegacyPageBlockTokenModel, children: Array<DocumentationLegacyPageBlock>);
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
export type DocumentationLegacyPageBlockTokenGroupModel = {
|
|
3
|
+
designObjectId: string;
|
|
4
|
+
showNestedGroups: boolean;
|
|
5
|
+
} & DocumentationLegacyPageBlockModel;
|
|
6
|
+
export declare class DocumentationLegacyPageBlockTokenGroup extends DocumentationLegacyPageBlock {
|
|
7
|
+
groupId: string;
|
|
8
|
+
showNestedGroups: boolean;
|
|
9
|
+
constructor(model: DocumentationLegacyPageBlockTokenGroupModel, children: Array<DocumentationLegacyPageBlock>);
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
2
|
+
export type DocumentationLegacyPageBlockTokenListModel = {
|
|
3
|
+
designObjectIds: Array<string>;
|
|
4
|
+
} & DocumentationLegacyPageBlockModel;
|
|
5
|
+
export declare class DocumentationLegacyPageBlockTokenList extends DocumentationLegacyPageBlock {
|
|
6
|
+
tokenIds: Array<string>;
|
|
7
|
+
constructor(model: DocumentationLegacyPageBlockTokenListModel, children: Array<DocumentationLegacyPageBlock>);
|
|
8
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DocumentationLegacyPageBlockText, DocumentationLegacyPageBlockTextModel } from "./SDKDocumentationLegacyPageBlockText";
|
|
2
|
+
export type DocumentationLegacyPageUnorderedListModel = DocumentationLegacyPageBlockTextModel;
|
|
3
|
+
export declare class DocumentationLegacyPageUnorderedList extends DocumentationLegacyPageBlockText {
|
|
4
|
+
}
|
package/build/sdk-typescript/src/model/documentation/builder/SDKDocumentationLegacyBlockBuilder.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ExporterCustomBlock } from "../../exporters/custom_blocks/SDKExporterCustomBlock";
|
|
2
|
+
import { DocumentationLegacyConfiguration } from "../SDKDocumentationLegacyConfiguration";
|
|
3
|
+
import { DocumentationLegacyPageBlock, DocumentationLegacyPageBlockModel } from "../SDKDocumentationLegacyPageBlock";
|
|
4
|
+
export declare class DocumentationLegacyBlockBuilder {
|
|
5
|
+
static fromGenericModel(model: DocumentationLegacyPageBlockModel, customBlocks: Array<ExporterCustomBlock>, configuration: DocumentationLegacyConfiguration): DocumentationLegacyPageBlock;
|
|
6
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DocumentationLegacyItemHeader, DocumentationLegacyItemHeaderModel } from "./SDKDocumentationLegacyItemHeader";
|
|
2
|
+
export type DocumentationLegacyItemConfigurationModel = {
|
|
3
|
+
header: DocumentationLegacyItemHeaderModel;
|
|
4
|
+
showSidebar: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare class DocumentationLegacyItemConfiguration {
|
|
7
|
+
header: DocumentationLegacyItemHeader;
|
|
8
|
+
showSidebar: boolean;
|
|
9
|
+
constructor(model: DocumentationLegacyItemConfigurationModel);
|
|
10
|
+
toWriteModel(): DocumentationLegacyItemConfigurationModel;
|
|
11
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Alignment } from "../../enums/SDKAlignment";
|
|
2
|
+
import { AssetScaleType } from "../../enums/SDKAssetScaleType";
|
|
3
|
+
import { DocumentationLegacyPageAssetType } from "../../enums/SDKDocumentationLegacyPageAssetType";
|
|
4
|
+
import { ColorTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
|
|
5
|
+
import { DocumentationLegacyPageAssetModel } from "../SDKDocumentationLegacyPageAsset";
|
|
6
|
+
export type DocumentationLegacyItemHeaderModel = {
|
|
7
|
+
description: string;
|
|
8
|
+
alignment: Alignment;
|
|
9
|
+
foregroundColor?: ColorTokenRemoteData;
|
|
10
|
+
backgroundColor?: ColorTokenRemoteData;
|
|
11
|
+
backgroundImageAsset?: DocumentationLegacyPageAssetModel;
|
|
12
|
+
backgroundImageAssetUrl?: string;
|
|
13
|
+
backgroundImageAssetId?: string;
|
|
14
|
+
backgroundImageScaleType: AssetScaleType;
|
|
15
|
+
showBackgroundOverlay: boolean;
|
|
16
|
+
showCoverText: boolean;
|
|
17
|
+
minHeight: number | null;
|
|
18
|
+
};
|
|
19
|
+
export declare class DocumentationLegacyItemHeader {
|
|
20
|
+
backgroundImageAssetUrl: string | null;
|
|
21
|
+
backgroundImageAssetId: string | null;
|
|
22
|
+
backgroundImageAssetType: DocumentationLegacyPageAssetType | null;
|
|
23
|
+
backgroundImageSourceId: string | null;
|
|
24
|
+
backgroundImagePersistentId: string | null;
|
|
25
|
+
backgroundImageSourceFrameId: string | null;
|
|
26
|
+
backgroundImageScaleType: AssetScaleType;
|
|
27
|
+
description: string;
|
|
28
|
+
alignment: Alignment;
|
|
29
|
+
foregroundColor: ColorTokenRemoteData | null;
|
|
30
|
+
backgroundColor: ColorTokenRemoteData | null;
|
|
31
|
+
showBackgroundOverlay: boolean;
|
|
32
|
+
showCoverText: boolean;
|
|
33
|
+
minHeight: number | null;
|
|
34
|
+
constructor(model: DocumentationLegacyItemHeaderModel);
|
|
35
|
+
toWriteModel(): DocumentationLegacyItemHeaderModel;
|
|
36
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ElementDataViewColumn, ElementDataViewColumnRemoteModel } from "./SDKElementDataViewColumn";
|
|
2
|
+
import { ElementPropertyTargetElementType } from "./SDKElementProperty";
|
|
3
|
+
export type ElementDataViewRemoteModel = {
|
|
4
|
+
id: string;
|
|
5
|
+
persistentId: string;
|
|
6
|
+
isDefault: boolean;
|
|
7
|
+
targetElementType: ElementPropertyTargetElementType;
|
|
8
|
+
columns: Array<ElementDataViewColumnRemoteModel>;
|
|
9
|
+
meta: {
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare class ElementDataView {
|
|
15
|
+
/** Unique id of data view, different across versions */
|
|
16
|
+
id: string;
|
|
17
|
+
/** Unique persistent id of the data view */
|
|
18
|
+
persistentId: string;
|
|
19
|
+
/** Default data view */
|
|
20
|
+
isDefault: boolean;
|
|
21
|
+
/** Signifies which objects use this element data view */
|
|
22
|
+
targetElementType: ElementPropertyTargetElementType;
|
|
23
|
+
/** Data view columns */
|
|
24
|
+
columns: Array<ElementDataViewColumn>;
|
|
25
|
+
/** Data view name */
|
|
26
|
+
name: string;
|
|
27
|
+
/** Data view description */
|
|
28
|
+
description: string | null;
|
|
29
|
+
constructor(model: ElementDataViewRemoteModel);
|
|
30
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare enum ElementDataViewColumnType {
|
|
2
|
+
baseProperty = "BaseProperty",
|
|
3
|
+
propertyDefinition = "PropertyDefinition",
|
|
4
|
+
theme = "Theme"
|
|
5
|
+
}
|
|
6
|
+
export declare enum ElementDataViewColumnBasePropertyType {
|
|
7
|
+
name = "Name",
|
|
8
|
+
description = "Description",
|
|
9
|
+
value = "Value",
|
|
10
|
+
updatedAt = "UpdatedAt"
|
|
11
|
+
}
|
|
12
|
+
export type ElementDataViewColumnRemoteModel = {
|
|
13
|
+
id: string;
|
|
14
|
+
persistentId: string;
|
|
15
|
+
type: ElementDataViewColumnType;
|
|
16
|
+
basePropertyType?: ElementDataViewColumnBasePropertyType;
|
|
17
|
+
propertyDefinitionId?: string;
|
|
18
|
+
themeId?: string;
|
|
19
|
+
width: number;
|
|
20
|
+
};
|
|
21
|
+
export declare class ElementDataViewColumn {
|
|
22
|
+
/** Unique id of data view column, different across versions */
|
|
23
|
+
id: string;
|
|
24
|
+
/** Unique persistent id of the data view column */
|
|
25
|
+
persistentId: string;
|
|
26
|
+
/** Type of the contained property */
|
|
27
|
+
type: ElementDataViewColumnType;
|
|
28
|
+
/** Type of the base property, if element column type === BaseProperty */
|
|
29
|
+
basePropertyType: ElementDataViewColumnBasePropertyType | null;
|
|
30
|
+
/** Data view columns */
|
|
31
|
+
propertyDefinitionId: string | null;
|
|
32
|
+
/** Theme id column points to */
|
|
33
|
+
themeId: string | null;
|
|
34
|
+
/** Column width */
|
|
35
|
+
width: number;
|
|
36
|
+
constructor(model: ElementDataViewColumnRemoteModel);
|
|
37
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ElementPropertyOption, ElementPropertyOptionCreationModel, ElementPropertyOptionRemoteModel, ElementPropertyOptionUpdateModel } from "./SDKElementPropertyOption";
|
|
2
|
+
export declare enum ElementPropertyType {
|
|
3
|
+
text = "Text",
|
|
4
|
+
number = "Number",
|
|
5
|
+
boolean = "Boolean",
|
|
6
|
+
select = "Select",
|
|
7
|
+
generic = "Generic",
|
|
8
|
+
link = "Link",
|
|
9
|
+
url = "URL"
|
|
10
|
+
}
|
|
11
|
+
export declare enum ElementPropertyTargetElementType {
|
|
12
|
+
token = "Token",
|
|
13
|
+
component = "Component",
|
|
14
|
+
documentationPage = "DocumentationPage"
|
|
15
|
+
}
|
|
16
|
+
export declare enum ElementPropertyLinkElementType {
|
|
17
|
+
documentationItem = "DocumentationPage",
|
|
18
|
+
figmaComponent = "FigmaComponent"
|
|
19
|
+
}
|
|
20
|
+
export type ElementPropertyRemoteModel = {
|
|
21
|
+
id: string;
|
|
22
|
+
persistentId: string;
|
|
23
|
+
designSystemVersionId: string;
|
|
24
|
+
meta: {
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
codeName: string;
|
|
29
|
+
type: ElementPropertyType;
|
|
30
|
+
targetElementType: ElementPropertyTargetElementType;
|
|
31
|
+
linkElementType?: ElementPropertyLinkElementType;
|
|
32
|
+
options?: Array<ElementPropertyOptionRemoteModel>;
|
|
33
|
+
};
|
|
34
|
+
export type ElementPropertyCreationModel = {
|
|
35
|
+
type: ElementPropertyType;
|
|
36
|
+
name: string;
|
|
37
|
+
codeName: string;
|
|
38
|
+
columnWidth: number;
|
|
39
|
+
linkElementType?: ElementPropertyLinkElementType;
|
|
40
|
+
description?: string;
|
|
41
|
+
options?: Array<ElementPropertyOptionCreationModel>;
|
|
42
|
+
};
|
|
43
|
+
export type ElementPropertyUpdateModel = {
|
|
44
|
+
name: string;
|
|
45
|
+
description: string;
|
|
46
|
+
codeName: string;
|
|
47
|
+
options?: Array<ElementPropertyOptionUpdateModel>;
|
|
48
|
+
};
|
|
49
|
+
export declare class ElementProperty {
|
|
50
|
+
/** Versioned id of the element property (changes with version) */
|
|
51
|
+
idInVersion: string;
|
|
52
|
+
/** Persistent id of the element property (stays across versions) */
|
|
53
|
+
id: string;
|
|
54
|
+
/** Specific design system version this property is contained in */
|
|
55
|
+
designSystemVersionId: string;
|
|
56
|
+
/** Property name */
|
|
57
|
+
name: string;
|
|
58
|
+
/** Code property name - guaranteed to be present, unique and code-safe */
|
|
59
|
+
codeName: string;
|
|
60
|
+
/** Property description */
|
|
61
|
+
description: string | null;
|
|
62
|
+
/** Base type */
|
|
63
|
+
propertyType: ElementPropertyType;
|
|
64
|
+
/** Type of design system object this property is contained in - for example, if this property was configured for DS components, this will be of type `component` */
|
|
65
|
+
targetElementType: ElementPropertyTargetElementType;
|
|
66
|
+
/** Type of design system object this property can be configured with */
|
|
67
|
+
linkElementType: ElementPropertyLinkElementType | null;
|
|
68
|
+
/** Property options, only available for `select` type */
|
|
69
|
+
options: Array<ElementPropertyOption> | null;
|
|
70
|
+
constructor(model: ElementPropertyRemoteModel);
|
|
71
|
+
/** Constructs directly manipulable update object */
|
|
72
|
+
toUpdateObject(): ElementPropertyUpdateModel;
|
|
73
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const badgeColorValues: {
|
|
2
|
+
readonly blue: "#EDF5FF";
|
|
3
|
+
readonly cyan: "#D5FBFE";
|
|
4
|
+
readonly fuchsia: "#FCF0FF";
|
|
5
|
+
readonly green: "#EBFEF6";
|
|
6
|
+
readonly grey: "#EDEFF3";
|
|
7
|
+
readonly "light-grey": "#F6F7F9";
|
|
8
|
+
readonly orange: "#FFF2E1";
|
|
9
|
+
readonly pink: "#FDF0F7";
|
|
10
|
+
readonly purple: "#F5F2FD";
|
|
11
|
+
readonly red: "#FEF1F2";
|
|
12
|
+
readonly teal: "#DFFDF6";
|
|
13
|
+
readonly yellow: "#FEF9C3";
|
|
14
|
+
readonly custom: null;
|
|
15
|
+
};
|
|
16
|
+
export type ElementPropertyOptionBadgeColor = keyof typeof badgeColorValues;
|
|
17
|
+
export type ElementPropertyOptionRemoteModel = {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
backgroundColor: {
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export type ElementPropertyOptionCreationModel = ElementPropertyOptionRemoteModel;
|
|
25
|
+
export type ElementPropertyOptionUpdateModel = ElementPropertyOptionRemoteModel;
|
|
26
|
+
export declare class ElementPropertyOption {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
backgroundColor: string | null;
|
|
30
|
+
constructor(model: ElementPropertyOptionRemoteModel);
|
|
31
|
+
static toHex6(rawColor: string): string;
|
|
32
|
+
static toHex8(rawColor: string): string;
|
|
33
|
+
/** Constructs directly manipulable update object for property option */
|
|
34
|
+
toUpdateObject(): ElementPropertyOptionUpdateModel;
|
|
35
|
+
/** Returns background color represented as badge color.
|
|
36
|
+
* If badge color is different from what badge defines as base, return `custom`.
|
|
37
|
+
* */
|
|
38
|
+
asBadgeColor(): ElementPropertyOptionBadgeColor;
|
|
39
|
+
/**
|
|
40
|
+
* Sets background color from hex color or badge color name.
|
|
41
|
+
* @param color - Hex color or badge color name
|
|
42
|
+
*/
|
|
43
|
+
setBackgroundColor(color: string): void;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type ElementPropertyValueRemoteModel = {
|
|
2
|
+
value: string | boolean | number;
|
|
3
|
+
id: string;
|
|
4
|
+
designSystemVersionId: string;
|
|
5
|
+
definitionId: string;
|
|
6
|
+
targetElementId: string;
|
|
7
|
+
};
|
|
8
|
+
export declare class ElementPropertyValue {
|
|
9
|
+
value: string | boolean | number;
|
|
10
|
+
id: string;
|
|
11
|
+
designSystemVersionId: string;
|
|
12
|
+
definitionId: string;
|
|
13
|
+
targetElementId: string;
|
|
14
|
+
constructor(model: ElementPropertyValueRemoteModel);
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare enum ImportWarningType {
|
|
2
|
+
UnsupportedFill = "UnsupportedFill",
|
|
3
|
+
UnsupportedStroke = "UnsupportedStroke",
|
|
4
|
+
UnsupportedEffect = "UnsupportedEffect",
|
|
5
|
+
StyleNotApplied = "StyleNotApplied",
|
|
6
|
+
NoPublishedStyles = "NoPublishedStyles",
|
|
7
|
+
NoPublishedComponents = "NoPublishedComponents",
|
|
8
|
+
NoPublishedAssets = "NoPublishedAssets",
|
|
9
|
+
NoVersionFound = "NoVersionFound",
|
|
10
|
+
ComponentHasNoThumbnail = "ComponentHasNoThumbnail",
|
|
11
|
+
DuplicateImportedStyleId = "DuplicateImportedStyleId",
|
|
12
|
+
DuplicateImportedStylePath = "DuplicateImportedStylePath",
|
|
13
|
+
NoPublishedElements = "NoPublishedElements"
|
|
14
|
+
}
|