UNPKG

@supernovaio/sdk

Version:

Supernova.io SDK

231 lines (230 loc) 21.9 kB
/** * * Everything from here is only exported as types * */ export type { Supernova } from "./core/SDKSupernova"; export type { Workspace } from "./model/workspaces/SDKWorkspace"; export type { WorkspaceProfile } from "./model/workspaces/SDKWorkspaceProfile"; export type { WorkspaceProfileUpdateModel } from "./model/workspaces/SDKWorkspaceProfile"; export type { WorkspaceOnboarding } from "./model/workspaces/SDKWorkspaceOnboarding"; export type { WorkspaceSubscription } from "./model/workspaces/SDKWorkspaceSubscription"; export type { WorkspaceIPWhitelistSettings } from "./model/workspaces/SDKWorkspaceIPWhitelistSettings"; export type { WorkspaceSSOSettings } from "./model/workspaces/SDKWorkspaceSSOSettings"; export type { WorkspaceNPMRegistrySettings } from "./model/workspaces/SDKWorkspaceNPMRegistrySettings"; export type { User } from "./model/users/SDKUser"; export type { UserProfile } from "./model/users/SDKUserProfile"; export type { SubscriptionProductFeatures } from "./model/workspaces/SDKWorkspaceProductFeatures"; export type { ProductFeature } from "./model/workspaces/SDKWorkspaceProductFeatures"; export type { FeaturePermissionResolution } from "./model/workspaces/SDKWorkspaceProductFeatures"; export type { Brand } from "./model/base/SDKBrand"; export type { DesignSystem } from "./model/base/SDKDesignSystem"; export type { DesignSystemVersion } from "./model/base/SDKDesignSystemVersion"; export type { Membership } from "./model/membership/SDKMembership"; export type { Exporter } from "./model/exporters/SDKExporter"; export type { Pipeline } from "./model/exporters/SDKPipeline"; export type { ExporterCustomBlock } from "./model/exporters/custom_blocks/SDKExporterCustomBlock"; export type { ExporterCustomBlockProperty } from "./model/exporters/custom_blocks/SDKExporterCustomBlockProperty"; export type { ExporterCustomBlockVariant } from "./model/exporters/custom_blocks/SDKExporterCustomBlockVariant"; export type { ExporterConfigurationProperty } from "./model/exporters/custom_properties/SDKExporterConfigurationProperty"; export type { Asset } from "./model/assets/SDKAsset"; export type { RenderedAsset } from "./model/assets/SDKRenderedAsset"; export type { Component } from "./model/components/SDKComponent"; export type { ElementProperty } from "./model/elements/SDKElementProperty"; export type { ElementPropertyOptionBadgeColor } from "./model/elements/SDKElementPropertyOption"; export type { ElementDataView } from "./model/elements/SDKElementDataView"; export type { ElementDataViewColumn } from "./model/elements/SDKElementDataViewColumn"; export type { DesignComponent } from "./model/components/SDKDesignComponent"; export type { DesignComponentVariant } from "./model/components/SDKDesignComponentVariant"; export type { DesignComponentPropertyBoolean, DesignComponentPropertyDefinition, DesignComponentPropertyInstanceSwap, DesignComponentPropertyText, DesignComponentPropertyVariant, DesignComponentPropertyType, } from "./model/components/SDKDesignComponentPropertyDefinition"; export type { DocsBlockBehavior } from "./model/docs/blocks/definition/SDKDocsBlockBehavior"; export type { DocsBlockDefinition } from "./model/docs/blocks/definition/SDKDocsBlockDefinition"; export type { DocsBlockItemDefinition } from "./model/docs/blocks/definition/SDKDocsBlockItemDefinition"; export type { DocsBlockLayout } from "./model/docs/blocks/definition/SDKDocsBlockLayout"; export type { DocsBlockOnboarding } from "./model/docs/blocks/definition/SDKDocsBlockOnboarding"; export type { DocsBlockVariant } from "./model/docs/blocks/definition/SDKDocsBlockVariant"; export type { DocsEntity } from "./model/docs/entities/SDKDocsEntity"; export type { DocsEntityGroup } from "./model/docs/entities/SDKDocsEntityGroup"; export type { DocsEntityPage } from "./model/docs/entities/SDKDocsEntityPage"; export type { DocsBlockAssetPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockAssetProperty"; export type { DocsBlockAssetPropertyPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockAssetPropertyProperty"; export type { DocsBlockBooleanPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockBooleanProperty"; export type { DocsBlockCodePropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockCodeProperty"; export type { DocsBlockCodeSandboxPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockCodeSandboxProperty"; export type { DocsBlockComponentPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockComponentProperty"; export type { DocsBlockComponentPropertyPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockComponentPropertyProperty"; export type { DocsBlockEmbedUrlPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockEmbedUrlProperty"; export type { DocsBlockImagePropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockImageProperty"; export type { DocsBlockMarkdownPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockMarkdownProperty"; export type { DocsBlockMultiSelectPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockMultiSelectProperty"; export type { DocsBlockNumberPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockNumberProperty"; export type { DocsBlockPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockProperty"; export type { DocsBlockRichTextPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockRichTextProperty"; export type { DocsBlockSingleSelectPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockSingleSelectProperty"; export type { DocsBlockTablePropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockTableProperty"; export type { DocsBlockTextPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockTextProperty"; export type { DocsBlockTokenPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockTokenProperty"; export type { DocsBlockTokenPropertyPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockTokenPropertyProperty"; export type { DocsBlockTokenTypePropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockTokenTypeProperty"; export type { DocsBlockDividerPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockDividerProperty"; export type { DocsBlockStorybookPropertyDefinition } from "./model/docs/blocks/properties/SDKDocsBlockStorybookProperty"; export type { DocsColorRef } from "./model/docs/blocks/support/SDKDocsColorRef"; export type { DocsImageRef } from "./model/docs/blocks/support/SDKDocsImageRef"; export type { DocsLinkRef } from "./model/docs/blocks/support/SDKDocsLinkRef"; export type { DocsSizeRef } from "./model/docs/blocks/support/SDKDocsSizeRef"; export type { DocsBlock } from "./model/docs/blocks/usage/SDKDocsBlock"; export type { DocumentationLegacy } from "./model/base/SDKDocumentationLegacy"; export type { DocumentationLegacyPageBlockAsset } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockAsset"; export type { DocumentationLegacyPageBlockAssets } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockAssets"; export type { DocumentationLegacyPageBlockCallout } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockCallout"; export type { DocumentationLegacyPageBlockCode } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockCode"; export type { DocumentationLegacyPageBlockCustom } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockCustom"; export type { DocumentationLegacyPageBlockDivider } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockDivider"; export type { DocumentationLegacyPageBlockEmbedFigma } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedFigma"; export type { DocumentationLegacyPageBlockEmbedGeneric } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedGeneric"; export type { DocumentationLegacyPageBlockEmbedLink } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedLink"; export type { DocumentationLegacyPageBlockEmbedStorybook } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedStorybook"; export type { DocumentationLegacyPageBlockEmbedYoutube } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedYoutube"; export type { DocumentationLegacyPageBlockFrame } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockFrame"; export type { DocumentationLegacyPageBlockFrames } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockFrames"; export type { DocumentationLegacyPageBlockHeading } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockHeading"; export type { DocumentationLegacyPageBlockImage } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockImage"; export type { DocumentationLegacyPageOrderedList } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockOrderedList"; export type { DocumentationLegacyPageBlockQuote } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockQuote"; export type { DocumentationLegacyPageBlockRenderCode } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockRenderCode"; export type { DocumentationLegacyPageBlockShortcut } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcut"; export type { DocumentationLegacyPageBlockShortcuts } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcuts"; export type { DocumentationLegacyPageBlockText } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockText"; export type { DocumentationLegacyPageBlockToken } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockToken"; export type { DocumentationLegacyPageBlockTokenGroup } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenGroup"; export type { DocumentationLegacyPageBlockTokenList } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenList"; export type { DocumentationLegacyPageUnorderedList } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockUnorderedList"; export type { DocumentationLegacyPageBlockColumn } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockColumn"; export type { DocumentationLegacyPageBlockColumnItem } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockColumnItem"; export type { DocumentationLegacyPageBlockTab } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockTab"; export type { DocumentationLegacyPageBlockTabItem } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockTabItem"; export type { DocumentationLegacyPageBlockTable } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockTable"; export type { DocumentationLegacyPageBlockTableCell } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockTableCell"; export type { DocumentationLegacyPageBlockTableRow } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockTableRow"; export type { DocumentationLegacyPageBlockTableColumn } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockTableColumn"; export type { DocumentationLegacyItemHeader } from "./model/documentation/configuration/SDKDocumentationLegacyItemHeader"; export type { DocumentationLegacyItemConfiguration } from "./model/documentation/configuration/SDKDocumentationLegacyItemConfiguration"; export type { DocumentationLegacyConfiguration } from "./model/documentation/SDKDocumentationLegacyConfiguration"; export type { DocumentationLegacyGroup } from "./model/documentation/SDKDocumentationLegacyGroup"; export type { DocumentationLegacyItem } from "./model/documentation/SDKDocumentationLegacyItem"; export type { DocumentationLegacyPage } from "./model/documentation/SDKDocumentationLegacyPage"; export type { DocumentationLegacyPageBlock } from "./model/documentation/SDKDocumentationLegacyPageBlock"; export type { DocumentationLegacyPageAsset } from "./model/documentation/SDKDocumentationLegacyPageAsset"; export type { DocumentationLegacyRichText } from "./model/documentation/SDKDocumentationLegacyRichText"; export type { RichTextSpan } from "./model/documentation/SDKDocumentationLegacyRichTextSpan"; export type { RichTextSpanAttribute } from "./model/documentation/SDKDocumentationLegacyRichTextSpanAttribute"; export type { AssetGroup } from "./model/groups/SDKAssetGroup"; export type { DesignComponentGroup } from "./model/groups/SDKDesignComponentGroup"; export type { TokenGroup } from "./model/groups/SDKTokenGroup"; export type { DesignComponentOrigin } from "./model/support/SDKDesignComponentOrigin"; export type { Source } from "./model/support/SDKSource"; export type { SourceImportResultWarning } from "./model/support/SDKSource"; export type { Size } from "./model/support/SDKSize"; export type { TokenOrigin } from "./model/support/SDKTokenOrigin"; export type { CustomDomain } from "./model/support/SDKCustomDomain"; export type { BlurToken } from "./model/tokens/SDKBlurToken"; export type { BorderToken } from "./model/tokens/SDKBorderToken"; export type { ColorToken } from "./model/tokens/SDKColorToken"; export type { GradientToken } from "./model/tokens/SDKGradientToken"; export type { DimensionToken, SizeToken, SpaceToken, OpacityToken, FontSizeToken, LineHeightToken, LetterSpacingToken, ParagraphSpacingToken, BorderWidthToken, RadiusToken, DurationToken, ZIndexToken, } from "./model/tokens/SDKDimensionToken"; export type { AnyDimensionToken } from "./model/tokens/SDKDimensionToken"; export type { ShadowToken } from "./model/tokens/SDKShadowToken"; export type { TypographyToken } from "./model/tokens/SDKTypographyToken"; export type { StringToken, ProductCopyToken, FontFamilyToken, FontWeightToken, } from "./model/tokens/SDKStringToken"; export type { AnyStringToken } from "./model/tokens/SDKStringToken"; export type { AnyOptionToken, AnyOptionTokenValue, } from "./model/tokens/SDKTokenValue"; export type { TextCaseToken } from "./model/tokens/SDKTextCaseToken"; export type { TextDecorationToken } from "./model/tokens/SDKTextDecorationToken"; export type { VisibilityToken } from "./model/tokens/SDKVisibilityToken"; export type { Token } from "./model/tokens/SDKToken"; export type { AnyToken, AnyTokenValue, BlurTokenValue, BorderTokenValue, ColorTokenValue, GradientStopValue, GradientTokenValue, ShadowTokenValue, StringTokenValue, ProductCopyTokenValue, AnyStringTokenValue, TokenValue, TextCaseTokenValue, TextDecorationTokenValue, VisibilityTokenValue, TypographyTokenValue, DimensionTokenValue, SizeTokenValue, SpaceTokenValue, OpacityTokenValue, FontSizeTokenValue, LineHeightTokenValue, LetterSpacingTokenValue, ParagraphSpacingTokenValue, BorderWidthTokenValue, RadiusTokenValue, DurationTokenValue, ZIndexTokenValue, AnyDimensionTokenValue, } from "./model/tokens/SDKTokenValue"; export type { TokenTheme } from "./model/themes/SDKTokenTheme"; export type { TokenThemeOverride } from "./model/themes/SDKTokenThemeOverride"; export type { TokenUtilPreviewGenerator } from "./tools/token-preview/TokenUtilPreviewGenerator"; export type { TokenJSONBuilder } from "./tools/json-builder/SDKToolsJSONBuilder"; export type { DTProcessedTokenNode } from "./tools/design-tokens/utilities/SDKDTJSONConverter"; export type { DTTokenMergeDiff } from "./tools/design-tokens/utilities/SDKDTTokenMerger"; export type { DTPluginToSupernovaMap, DTPluginToSupernovaMappingFile, DTPluginToSupernovaMapPack, DTPluginToSupernovaSettings, } from "./tools/design-tokens/utilities/SDKDTMapLoader"; export type { SupernovaToolsDesignTokensPlugin } from "./tools/design-tokens/SDKToolsDesignTokensPlugin"; export type { SupernovaToolsDesignTokensResult } from "./tools/design-tokens/SDKToolsDesignTokensPlugin"; export type { DocSearch } from "./tools/search-index/SDKToolsDocSearch"; export type { DocSearchConfiguration, DocSearchResult, DocSearchResultData, } from "./tools/search-index/SDKToolsDocSearch"; export type { MarkdownTransform } from "./tools/markdown-transform/SDKToolsMarkdownTransform"; export type { TokenTransform } from "./tools/token-transform/SDKToolsTokenTransform"; export type { UnreachableCaseError } from "./utils/UnreachableCaseError"; export type { SupernovaError } from "./core/errors/SDKSupernovaError"; export type { SupernovaFieldValidationError } from "./core/errors/SDKSupernovaError"; export type { RemoteVersionIdentifier, RemoteBrandIdentifier, RemoteWorkspaceVersionIdentifier, } from "./core/areas/SDKRemoteIdentifiers"; export type { TokenUtilPreviewReferenceInfo, TokenUtilPreviewReferenceInfoPiece, } from "./tools/token-preview/TokenUtilPreviewTypes"; export type { OutputBinaryFile, OutputTextFile, OutputCopyRemoteURLFile, AnyOutputFile, PulsarContext, } from "./pulsar-interfaces"; /** * * Everything from here actually gets bundled to the pulsar library as value. Otherwise, the rest is only emitted as types. * */ export { DIMENSION_TOKEN_TYPES, STRING_TOKEN_TYPES, OPTION_TOKEN_TYPES, } from "./model/enums/SDKTokenType"; export { ALL_BORDER_POSITIONS } from "./model/enums/SDKBorderPosition"; export { ALL_BORDER_STYLES } from "./model/enums/SDKBorderStyle"; export { ALL_TOKEN_TYPES } from "./model/enums/SDKTokenType"; export type { DimensionTokenType, StringTokenType, OptionTokenType, } from "./model/enums/SDKTokenType"; export { Alignment } from "./model/enums/SDKAlignment"; export { AssetFormat } from "./model/enums/SDKAssetFormat"; export { AssetScale } from "./model/enums/SDKAssetScale"; export { AssetScaleType } from "./model/enums/SDKAssetScaleType"; export { BlurType } from "./model/enums/SDKBlurType"; export { BorderPosition } from "./model/enums/SDKBorderPosition"; export { BorderStyle } from "./model/enums/SDKBorderStyle"; export { DocumentationLegacyCalloutType } from "./model/enums/SDKDocumentationLegacyCalloutType"; export { DocumentationLegacyGroupBehavior } from "./model/enums/SDKDocumentationLegacyGroupBehavior"; export { DocumentationLegacyHeadingType } from "./model/enums/SDKDocumentationLegacyHeadingType"; export { DocumentationLegacyItemType } from "./model/enums/SDKDocumentationLegacyItemType"; export { DocumentationLegacyPageAssetType } from "./model/enums/SDKDocumentationLegacyPageAssetType"; export { DocumentationLegacyPageBlockType } from "./model/enums/SDKDocumentationLegacyPageBlockType"; export { DocumentationLegacyPageBlockThemeType } from "./model/enums/SDKDocumentationLegacyPageBlockThemeType"; export { DocumentationLegacyPageBlockShortcutType } from "./model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcut"; export { DocsBlockBehaviorDataType } from "./model/enums/SDKDocsBlockBehaviorDataType"; export { DocsBlockBehaviorSelectionType } from "./model/enums/SDKDocsBlockBehaviorSelectionType"; export { DocsBlockImagePropertyAspectRatio } from "./model/enums/SDKDocsBlockImagePropertyAspectRatio"; export { DocsBlockItemEntityType } from "./model/enums/SDKDocsBlockItemEntityType"; export { DocsBlockItemPropertyOptionRenderingStyle } from "./model/enums/SDKDocsBlockItemPropertyOptionRenderingStyle"; export { DocsBlockItemPropertyRichTextStyle } from "./model/enums/SDKDocsBlockItemPropertyRichTextStyle"; export { DocsBlockItemPropertyTextStyle } from "./model/enums/SDKDocsBlockItemPropertyTextStyle"; export { DocsBlockItemPropertyType } from "./model/enums/SDKDocsBlockItemPropertyType"; export { DocsBlockItemVariantLayoutType } from "./model/enums/SDKDocsBlockItemVariantLayoutType"; export { DocsBlockItemVariantLayoutWidth } from "./model/enums/SDKDocsBlockItemVariantLayoutWidth"; export { DocsBlockOptionRenderingStyle } from "./model/enums/SDKDocsBlockOptionRenderStyle"; export { DocsBlockOptionColor } from "./model/enums/SDKDocsBlockOptionColor"; export { DocsBlockRichTextPropertyStyle } from "./model/enums/SDKDocsBlockRichTextPropertyStyle"; export { DocsBlockTextPropertyStyle } from "./model/enums/SDKDocsBlockTextPropertyStyle"; export { DocsEntityGroupBehavior } from "./model/enums/SDKDocsEntityGroupBehavior"; export { DocsEntityType } from "./model/enums/SDKDocsEntityType"; export { DocsSectionType } from "./model/enums/SDKDocsSectionType"; export { DocsLinkRefType } from "./model/docs/blocks/support/SDKDocsLinkRef"; export { DocsImageRefType } from "./model/docs/blocks/support/SDKDocsImageRef"; export { SourceType } from "./model/enums/SDKSourceType"; export { IconSet } from "./model/enums/SDKIconSet"; export { FrameAlignment } from "./model/enums/SDKFrameAlignment"; export { FrameLayout } from "./model/enums/SDKFrameLayout"; export { GradientType } from "./model/enums/SDKGradientType"; export { RichTextSpanAttributeType } from "./model/enums/SDKRichTextSpanAttributeType"; export { ShadowType } from "./model/enums/SDKShadowType"; export { TextCase } from "./model/enums/SDKTextCase"; export { TextDecoration } from "./model/enums/SDKTextDecoration"; export { TokenType } from "./model/enums/SDKTokenType"; export { Unit } from "./model/enums/SDKUnit"; export { UserRole } from "./model/enums/SDKUserRole"; export { VisibilityType } from "./model/enums/SDKVisibilityType"; export { WorkspaceSubscriptionPlanInterval } from "./model/enums/SDKWorkspaceSubscriptionPlanInterval"; export { WorkspaceSubscriptionProductCode } from "./model/enums/SDKWorkspaceSubscriptionProduct"; export { WorkspaceSubscriptionStatus } from "./model/enums/SDKWorkspaceSubscriptionStatus"; export { WorkspaceNPMRegistryAuthType } from "./model/enums/SDKWorkspaceNPMRegistryAuthType"; export { WorkspaceNPMRegistryType } from "./model/enums/SDKWorkspaceNPMRegistryType"; export { ImportWarningType } from "./model/enums/SDKCloudWarningType"; export { CustomDomainErrorCode } from "./model/enums/SDKCustomDomainErrorCode"; export { CustomDomainState } from "./model/enums/SDKCustomDomainState"; export { OutputFileType, PulsarExecutor } from "./pulsar-interfaces";