@supernova-studio/supernova-sdk-beta 1.6.10 → 1.6.11

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.
Files changed (214) hide show
  1. package/build/sdk-typescript/src/browser-bundle.d.ts +1 -1
  2. package/build/sdk-typescript/src/core/SDKSupernova.d.ts +45 -39
  3. package/build/sdk-typescript/src/core/areas/SDKAreaAssets.d.ts +35 -0
  4. package/build/sdk-typescript/src/core/areas/SDKAreaBrands.d.ts +18 -0
  5. package/build/sdk-typescript/src/core/areas/SDKAreaBulkOperations.d.ts +31 -0
  6. package/build/sdk-typescript/src/core/areas/SDKAreaComponents.d.ts +43 -0
  7. package/build/sdk-typescript/src/core/areas/SDKAreaDataSources.d.ts +18 -0
  8. package/build/sdk-typescript/src/core/areas/SDKAreaDesignSystems.d.ts +17 -0
  9. package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +50 -0
  10. package/build/sdk-typescript/src/core/areas/SDKAreaIntegrations.d.ts +26 -0
  11. package/build/sdk-typescript/src/core/areas/SDKAreaMe.d.ts +22 -0
  12. package/build/sdk-typescript/src/core/areas/SDKAreaPipelines.d.ts +36 -0
  13. package/build/sdk-typescript/src/core/areas/SDKAreaTokenValues.d.ts +140 -0
  14. package/build/sdk-typescript/src/core/areas/SDKAreaTokens.d.ts +217 -0
  15. package/build/sdk-typescript/src/core/areas/SDKAreaUsers.d.ts +6 -0
  16. package/build/sdk-typescript/src/core/areas/SDKAreaVersions.d.ts +14 -0
  17. package/build/sdk-typescript/src/core/areas/SDKAreaWorkspaces.d.ts +114 -0
  18. package/build/sdk-typescript/src/core/areas/SDKRemoteIdentifiers.d.ts +25 -0
  19. package/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +16 -17
  20. package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +209 -134
  21. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +124 -0
  22. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreRenderRequests.d.ts +18 -0
  23. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +73 -0
  24. package/build/sdk-typescript/src/core/errors/SDKSupernovaError.d.ts +41 -20
  25. package/build/sdk-typescript/src/core/resolvers/SDKAssetGroupResolver.d.ts +1 -1
  26. package/build/sdk-typescript/src/core/resolvers/SDKComponentGroupResolver.d.ts +13 -0
  27. package/build/sdk-typescript/src/core/resolvers/SDKComponentResolver.d.ts +5 -6
  28. package/build/sdk-typescript/src/core/resolvers/SDKDesignComponentGroupResolver.d.ts +1 -4
  29. package/build/sdk-typescript/src/core/resolvers/SDKDocumentationItemResolver.d.ts +6 -8
  30. package/build/sdk-typescript/src/core/resolvers/SDKTokenGroupResolver.d.ts +1 -2
  31. package/build/sdk-typescript/src/core/resolvers/SDKTokenResolver.d.ts +73 -45
  32. package/build/sdk-typescript/src/exports.d.ts +143 -117
  33. package/build/sdk-typescript/src/index.d.ts +1 -1
  34. package/build/sdk-typescript/src/model/acl/SDKAcl.d.ts +51 -0
  35. package/build/sdk-typescript/src/model/assets/SDKRenderedAsset.d.ts +5 -5
  36. package/build/sdk-typescript/src/model/base/SDKBrand.d.ts +30 -0
  37. package/build/sdk-typescript/src/model/base/SDKDesignSystem.d.ts +56 -0
  38. package/build/sdk-typescript/src/model/base/SDKDesignSystemVersion.d.ts +40 -0
  39. package/build/sdk-typescript/src/model/base/SDKDocumentation.d.ts +10 -0
  40. package/build/sdk-typescript/src/model/components/SDKComponent.d.ts +4 -4
  41. package/build/sdk-typescript/src/model/components/SDKDesignComponent.d.ts +4 -4
  42. package/build/sdk-typescript/src/model/documentation/SDKDocumentationConfiguration.d.ts +5 -5
  43. package/build/sdk-typescript/src/model/documentation/SDKDocumentationGroup.d.ts +2 -2
  44. package/build/sdk-typescript/src/model/documentation/SDKDocumentationItem.d.ts +2 -2
  45. package/build/sdk-typescript/src/model/documentation/SDKDocumentationPage.d.ts +4 -4
  46. package/build/sdk-typescript/src/model/documentation/SDKDocumentationPageAsset.d.ts +4 -4
  47. package/build/sdk-typescript/src/model/documentation/SDKDocumentationPageBlock.d.ts +4 -6
  48. package/build/sdk-typescript/src/model/documentation/SDKDocumentationRichText.d.ts +3 -3
  49. package/build/sdk-typescript/src/model/documentation/SDKDocumentationRichTextSpan.d.ts +3 -3
  50. package/build/sdk-typescript/src/model/documentation/SDKDocumentationRichTextSpanAttribute.d.ts +2 -2
  51. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockAsset.d.ts +3 -3
  52. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockAssets.d.ts +6 -8
  53. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockCallout.d.ts +5 -6
  54. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockCode.d.ts +5 -6
  55. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockColumn.d.ts +2 -6
  56. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockColumnItem.d.ts +7 -9
  57. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockCustom.d.ts +5 -6
  58. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockDivider.d.ts +2 -6
  59. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedFigma.d.ts +2 -6
  60. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedGeneric.d.ts +5 -7
  61. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedLink.d.ts +5 -6
  62. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedStorybook.d.ts +2 -6
  63. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockEmbedYoutube.d.ts +1 -5
  64. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockFrame.d.ts +3 -3
  65. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockFrames.d.ts +6 -8
  66. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockHeading.d.ts +5 -6
  67. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockImage.d.ts +5 -7
  68. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockOrderedList.d.ts +2 -6
  69. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockQuote.d.ts +2 -6
  70. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockRenderCode.d.ts +3 -4
  71. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockShortcut.d.ts +3 -3
  72. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockShortcuts.d.ts +5 -7
  73. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTab.d.ts +2 -6
  74. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTabItem.d.ts +4 -6
  75. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTable.d.ts +4 -6
  76. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTableCell.d.ts +4 -6
  77. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTableColumn.d.ts +5 -5
  78. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTableRow.d.ts +2 -6
  79. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockText.d.ts +5 -7
  80. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockToken.d.ts +4 -6
  81. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTokenGroup.d.ts +4 -6
  82. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockTokenList.d.ts +4 -6
  83. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationPageBlockUnorderedList.d.ts +2 -6
  84. package/build/sdk-typescript/src/model/documentation/builder/SDKDocumentationBlockBuilder.d.ts +1 -1
  85. package/build/sdk-typescript/src/model/documentation/configuration/SDKDocumentationItemConfiguration.d.ts +2 -2
  86. package/build/sdk-typescript/src/model/documentation/configuration/SDKDocumentationItemHeader.d.ts +6 -6
  87. package/build/sdk-typescript/src/model/elements/SDKElementDataView.d.ts +4 -4
  88. package/build/sdk-typescript/src/model/elements/SDKElementDataViewColumn.d.ts +2 -2
  89. package/build/sdk-typescript/src/model/elements/SDKElementProperty.d.ts +23 -6
  90. package/build/sdk-typescript/src/model/elements/SDKElementPropertyOption.d.ts +6 -2
  91. package/build/sdk-typescript/src/model/elements/values/SDKElementPropertyValue.d.ts +2 -2
  92. package/build/sdk-typescript/src/model/enums/SDKBorderStyle.d.ts +6 -0
  93. package/build/sdk-typescript/src/model/enums/SDKIntegrationService.d.ts +7 -0
  94. package/build/sdk-typescript/src/model/enums/SDKTextCase.d.ts +2 -1
  95. package/build/sdk-typescript/src/model/enums/SDKTokenType.d.ts +42 -6
  96. package/build/sdk-typescript/src/model/enums/SDKUnit.d.ts +13 -2
  97. package/build/sdk-typescript/src/model/enums/SDKUserRole.d.ts +7 -0
  98. package/build/sdk-typescript/src/model/enums/SDKVisibilityType.d.ts +4 -0
  99. package/build/sdk-typescript/src/model/enums/SDKWorkspaceNPMRegistryAuthType.d.ts +6 -0
  100. package/build/sdk-typescript/src/model/enums/SDKWorkspaceNPMRegistryType.d.ts +12 -0
  101. package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionPlanInterval.d.ts +6 -0
  102. package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionProduct.d.ts +12 -0
  103. package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionStatus.d.ts +18 -0
  104. package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionStatusInternal.d.ts +8 -0
  105. package/build/sdk-typescript/src/model/exporters/SDKExporter.d.ts +3 -3
  106. package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlock.d.ts +2 -2
  107. package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockProperty.d.ts +2 -2
  108. package/build/sdk-typescript/src/model/exporters/custom_blocks/SDKExporterCustomBlockVariant.d.ts +2 -2
  109. package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterConfigurationProperty.d.ts +5 -5
  110. package/build/sdk-typescript/src/model/groups/SDKAssetGroup.d.ts +5 -5
  111. package/build/sdk-typescript/src/model/groups/SDKComponentGroup.d.ts +39 -0
  112. package/build/sdk-typescript/src/model/groups/SDKDesignComponentGroup.d.ts +7 -7
  113. package/build/sdk-typescript/src/model/groups/SDKTokenGroup.d.ts +12 -11
  114. package/build/sdk-typescript/src/model/membership/SDKMembership.d.ts +16 -0
  115. package/build/sdk-typescript/src/model/support/SDKDesignComponentOrigin.d.ts +4 -4
  116. package/build/sdk-typescript/src/model/support/SDKFrameOrigin.d.ts +2 -2
  117. package/build/sdk-typescript/src/model/support/SDKSize.d.ts +2 -2
  118. package/build/sdk-typescript/src/model/support/SDKSource.d.ts +19 -9
  119. package/build/sdk-typescript/src/model/support/SDKTokenOrigin.d.ts +2 -2
  120. package/build/sdk-typescript/src/model/themes/SDKThemeUtilities.d.ts +8 -3
  121. package/build/sdk-typescript/src/model/themes/SDKTokenTheme.d.ts +16 -24
  122. package/build/sdk-typescript/src/model/themes/SDKTokenThemeOverride.d.ts +13 -21
  123. package/build/sdk-typescript/src/model/tokens/SDKBlurToken.d.ts +12 -8
  124. package/build/sdk-typescript/src/model/tokens/SDKBorderToken.d.ts +15 -10
  125. package/build/sdk-typescript/src/model/tokens/SDKColorToken.d.ts +19 -11
  126. package/build/sdk-typescript/src/model/tokens/SDKDimensionToken.d.ts +70 -0
  127. package/build/sdk-typescript/src/model/tokens/SDKGradientToken.d.ts +18 -10
  128. package/build/sdk-typescript/src/model/tokens/SDKShadowToken.d.ts +17 -13
  129. package/build/sdk-typescript/src/model/tokens/SDKStringToken.d.ts +36 -0
  130. package/build/sdk-typescript/src/model/tokens/SDKTextCaseToken.d.ts +23 -0
  131. package/build/sdk-typescript/src/model/tokens/SDKTextDecorationToken.d.ts +26 -0
  132. package/build/sdk-typescript/src/model/tokens/SDKToken.d.ts +13 -12
  133. package/build/sdk-typescript/src/model/tokens/SDKTokenCompator.d.ts +10 -10
  134. package/build/sdk-typescript/src/model/tokens/SDKTokenValue.d.ts +149 -63
  135. package/build/sdk-typescript/src/model/tokens/SDKTypographyToken.d.ts +12 -11
  136. package/build/sdk-typescript/src/model/tokens/SDKVisibilityToken.d.ts +18 -0
  137. package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenData.d.ts +74 -14
  138. package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenModel.d.ts +18 -16
  139. package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenValue.d.ts +73 -34
  140. package/build/sdk-typescript/src/model/users/SDKUser.d.ts +20 -11
  141. package/build/sdk-typescript/src/model/users/SDKUserProfile.d.ts +49 -0
  142. package/build/sdk-typescript/src/model/workspaces/SDKWorkspace.d.ts +27 -0
  143. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceIPWhitelistSettings.d.ts +26 -0
  144. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceNPMRegistrySettings.d.ts +34 -0
  145. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceOnboarding.d.ts +30 -0
  146. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProductFeatures.d.ts +30 -0
  147. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProfile.d.ts +68 -0
  148. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceSSOSettings.d.ts +17 -0
  149. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceSubscription.d.ts +82 -0
  150. package/build/sdk-typescript/src/tests/Areas/AreaTokenValues.d.ts +0 -0
  151. package/build/sdk-typescript/src/tests/FigmaTokensDataLoader.d.ts +20 -0
  152. package/build/sdk-typescript/src/tests/Serialization/WorkspaceNPMRegistrySettings.spec.d.ts +1 -0
  153. package/build/sdk-typescript/src/tests/Serialization/WorkspaceOnboarding.spec.d.ts +1 -0
  154. package/build/sdk-typescript/src/tests/Serialization/WorkspaceSSOSettings.spec.d.ts +1 -0
  155. package/build/sdk-typescript/src/tests/Tooling/PluginFigmaTokens.spec.d.ts +1 -17
  156. package/build/sdk-typescript/src/tests/Tooling/ReadTokens.spec.d.ts +1 -0
  157. package/build/sdk-typescript/src/tests/Tooling/TokensModel.spec.d.ts +1 -0
  158. package/build/sdk-typescript/src/tests/helpers.d.ts +6 -1
  159. package/build/sdk-typescript/src/tests/validators.d.ts +83 -0
  160. package/build/sdk-typescript/src/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +15 -13
  161. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +15 -12
  162. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONGroupBuilder.d.ts +8 -6
  163. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +2 -1
  164. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONParser.d.ts +5 -3
  165. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +4 -4
  166. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTMapResolver.d.ts +2 -5
  167. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTThemeMerger.d.ts +7 -7
  168. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenGroupTreeMerger.d.ts +6 -6
  169. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenMerger.d.ts +6 -6
  170. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +5 -6
  171. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenSetResolver.d.ts +1 -2
  172. package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTree.d.ts +4 -2
  173. package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTreeNode.d.ts +1 -4
  174. package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTParentChildMapping.d.ts +1 -1
  175. package/build/sdk-typescript/src/tools/json-builder/SDKToolsJSONBuilder.d.ts +6 -5
  176. package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementFigmaTokensTransformer.d.ts +17 -20
  177. package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementStyleDictionaryTransformer.d.ts +11 -14
  178. package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementTransformer.d.ts +27 -36
  179. package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransform.d.ts +5 -6
  180. package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformBlock.d.ts +39 -39
  181. package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformUtil.d.ts +4 -8
  182. package/build/sdk-typescript/src/tools/search-index/SDKToolsDocSearch.d.ts +1 -1
  183. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewGenerator.d.ts +17 -0
  184. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewMetadataGenerator.d.ts +8 -0
  185. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewReferenceInfoGenerator.d.ts +10 -0
  186. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewSegmentGenerator.d.ts +5 -0
  187. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewStyleGenerator.d.ts +5 -0
  188. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewTypes.d.ts +68 -0
  189. package/build/sdk-typescript/src/tools/token-transform/SDKToolsTokenTransform.d.ts +8 -12
  190. package/build/sdk-typescript/src/utils/TokenUtils.d.ts +113 -0
  191. package/build/sdk-typescript/src/utils/UnreachableCaseError.d.ts +3 -0
  192. package/build/supernova-sdk-typescript.js +1 -1
  193. package/build/supernova-sdk-typescript.js.map +1 -1
  194. package/package.json +9 -6
  195. package/build/sdk-typescript/src/core/SDKBrand.d.ts +0 -80
  196. package/build/sdk-typescript/src/core/SDKBrandWriter.d.ts +0 -29
  197. package/build/sdk-typescript/src/core/SDKDesignSystem.d.ts +0 -62
  198. package/build/sdk-typescript/src/core/SDKDesignSystemVersion.d.ts +0 -99
  199. package/build/sdk-typescript/src/core/SDKDocumentation.d.ts +0 -55
  200. package/build/sdk-typescript/src/core/SDKWorkspace.d.ts +0 -26
  201. package/build/sdk-typescript/src/model/support/SDKWorkspaceNPMRegistry.d.ts +0 -13
  202. package/build/sdk-typescript/src/model/tokens/SDKFontToken.d.ts +0 -16
  203. package/build/sdk-typescript/src/model/tokens/SDKGenericToken.d.ts +0 -18
  204. package/build/sdk-typescript/src/model/tokens/SDKMeasureToken.d.ts +0 -26
  205. package/build/sdk-typescript/src/model/tokens/SDKRadiusToken.d.ts +0 -18
  206. package/build/sdk-typescript/src/model/tokens/SDKTextToken.d.ts +0 -16
  207. /package/build/sdk-typescript/src/tests/{Accessors/Brand.spec.d.ts → Areas/AreaBatchUpdates.spec.d.ts} +0 -0
  208. /package/build/sdk-typescript/src/tests/{Accessors/Components.spec.d.ts → Areas/AreaBrands.spec.d.ts} +0 -0
  209. /package/build/sdk-typescript/src/tests/{Accessors/DesignSystem.spec.d.ts → Areas/AreaMe.spec.d.ts} +0 -0
  210. /package/build/sdk-typescript/src/tests/{Accessors/DesignSystemVersion.spec.d.ts → Areas/AreaTokens.spec.d.ts} +0 -0
  211. /package/build/sdk-typescript/src/tests/{Accessors/Documentation.spec.d.ts → Areas/AreaWorkspace.spec.d.ts} +0 -0
  212. /package/build/sdk-typescript/src/tests/{Accessors/Supernova.spec.d.ts → Serialization/User.spec.d.ts} +0 -0
  213. /package/build/sdk-typescript/src/tests/{Accessors → Serialization}/Workspace.spec.d.ts +0 -0
  214. /package/build/sdk-typescript/src/tests/{Accessors/Theme.spec.d.ts → Serialization/WorkspaceIPWhitelistSettings.spec.d.ts} +0 -0
@@ -1,10 +1,10 @@
1
- import { MeasureTokenRemoteData } from "../../../model/tokens/remote/SDKRemoteTokenData";
2
- export interface DocumentationPageBlockTableColumnModel {
1
+ import { DimensionTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
2
+ export type DocumentationPageBlockTableColumnModel = {
3
3
  id: string;
4
- width: MeasureTokenRemoteData;
5
- }
4
+ width: DimensionTokenRemoteData;
5
+ };
6
6
  export declare class DocumentationPageBlockTableColumn {
7
7
  id: string;
8
- width: MeasureTokenRemoteData;
8
+ width: DimensionTokenRemoteData;
9
9
  constructor(model: DocumentationPageBlockTableColumnModel);
10
10
  }
@@ -1,8 +1,4 @@
1
- import { ExporterCustomBlock } from "../../exporters/custom_blocks/SDKExporterCustomBlock";
2
- import { DocumentationConfiguration } from "../SDKDocumentationConfiguration";
3
- import { DocumentationPageBlockModel, DocumentationPageBlock } from "../SDKDocumentationPageBlock";
4
- export interface DocumentationPageBlockTableRowModel extends DocumentationPageBlockModel {
5
- }
1
+ import { DocumentationPageBlock, DocumentationPageBlockModel } from "../SDKDocumentationPageBlock";
2
+ export type DocumentationPageBlockTableRowModel = DocumentationPageBlockModel;
6
3
  export declare class DocumentationPageBlockTableRow extends DocumentationPageBlock {
7
- constructor(model: DocumentationPageBlockTableRowModel, customBlocks: Array<ExporterCustomBlock>, configuration: DocumentationConfiguration);
8
4
  }
@@ -1,13 +1,11 @@
1
- import { ExporterCustomBlock } from "../../exporters/custom_blocks/SDKExporterCustomBlock";
2
- import { DocumentationConfiguration } from "../SDKDocumentationConfiguration";
3
- import { DocumentationPageBlockModel, DocumentationPageBlock } from "../SDKDocumentationPageBlock";
4
- import { DocumentationRichTextModel, DocumentationRichText } from "../SDKDocumentationRichText";
5
- export interface DocumentationPageBlockTextModel extends DocumentationPageBlockModel {
1
+ import { DocumentationPageBlock, DocumentationPageBlockModel } from "../SDKDocumentationPageBlock";
2
+ import { DocumentationRichText, DocumentationRichTextModel } from "../SDKDocumentationRichText";
3
+ export type DocumentationPageBlockTextModel = {
6
4
  text: DocumentationRichTextModel;
7
- }
5
+ } & DocumentationPageBlockModel;
8
6
  export declare class DocumentationPageBlockText extends DocumentationPageBlock {
9
7
  text: DocumentationRichText;
10
- constructor(model: DocumentationPageBlockTextModel, customBlocks: Array<ExporterCustomBlock>, configuration: DocumentationConfiguration);
8
+ constructor(model: DocumentationPageBlockTextModel, children: Array<DocumentationPageBlock>);
11
9
  /** Convert block into plain text, omitting any formatting */
12
10
  asPlainText(): string;
13
11
  }
@@ -1,10 +1,8 @@
1
- import { ExporterCustomBlock } from "../../exporters/custom_blocks/SDKExporterCustomBlock";
2
- import { DocumentationConfiguration } from "../SDKDocumentationConfiguration";
3
- import { DocumentationPageBlockModel, DocumentationPageBlock } from "../SDKDocumentationPageBlock";
4
- export interface DocumentationPageBlockTokenModel extends DocumentationPageBlockModel {
1
+ import { DocumentationPageBlock, DocumentationPageBlockModel } from "../SDKDocumentationPageBlock";
2
+ export type DocumentationPageBlockTokenModel = {
5
3
  designObjectId: string;
6
- }
4
+ } & DocumentationPageBlockModel;
7
5
  export declare class DocumentationPageBlockToken extends DocumentationPageBlock {
8
6
  tokenId: string;
9
- constructor(model: DocumentationPageBlockTokenModel, customBlocks: Array<ExporterCustomBlock>, configuration: DocumentationConfiguration);
7
+ constructor(model: DocumentationPageBlockTokenModel, children: Array<DocumentationPageBlock>);
10
8
  }
@@ -1,12 +1,10 @@
1
- import { ExporterCustomBlock } from "../../exporters/custom_blocks/SDKExporterCustomBlock";
2
- import { DocumentationConfiguration } from "../SDKDocumentationConfiguration";
3
- import { DocumentationPageBlockModel, DocumentationPageBlock } from "../SDKDocumentationPageBlock";
4
- export interface DocumentationPageBlockTokenGroupModel extends DocumentationPageBlockModel {
1
+ import { DocumentationPageBlock, DocumentationPageBlockModel } from "../SDKDocumentationPageBlock";
2
+ export type DocumentationPageBlockTokenGroupModel = {
5
3
  designObjectId: string;
6
4
  showNestedGroups: boolean;
7
- }
5
+ } & DocumentationPageBlockModel;
8
6
  export declare class DocumentationPageBlockTokenGroup extends DocumentationPageBlock {
9
7
  groupId: string;
10
8
  showNestedGroups: boolean;
11
- constructor(model: DocumentationPageBlockTokenGroupModel, customBlocks: Array<ExporterCustomBlock>, configuration: DocumentationConfiguration);
9
+ constructor(model: DocumentationPageBlockTokenGroupModel, children: Array<DocumentationPageBlock>);
12
10
  }
@@ -1,10 +1,8 @@
1
- import { ExporterCustomBlock } from "../../exporters/custom_blocks/SDKExporterCustomBlock";
2
- import { DocumentationConfiguration } from "../SDKDocumentationConfiguration";
3
- import { DocumentationPageBlockModel, DocumentationPageBlock } from "../SDKDocumentationPageBlock";
4
- export interface DocumentationPageBlockTokenListModel extends DocumentationPageBlockModel {
1
+ import { DocumentationPageBlock, DocumentationPageBlockModel } from "../SDKDocumentationPageBlock";
2
+ export type DocumentationPageBlockTokenListModel = {
5
3
  designObjectIds: Array<string>;
6
- }
4
+ } & DocumentationPageBlockModel;
7
5
  export declare class DocumentationPageBlockTokenList extends DocumentationPageBlock {
8
6
  tokenIds: Array<string>;
9
- constructor(model: DocumentationPageBlockTokenListModel, customBlocks: Array<ExporterCustomBlock>, configuration: DocumentationConfiguration);
7
+ constructor(model: DocumentationPageBlockTokenListModel, children: Array<DocumentationPageBlock>);
10
8
  }
@@ -1,8 +1,4 @@
1
- import { ExporterCustomBlock } from "../../exporters/custom_blocks/SDKExporterCustomBlock";
2
- import { DocumentationConfiguration } from "../SDKDocumentationConfiguration";
3
- import { DocumentationPageBlockTextModel, DocumentationPageBlockText } from "./SDKDocumentationPageBlockText";
4
- export interface DocumentationPageUnorderedListModel extends DocumentationPageBlockTextModel {
5
- }
1
+ import { DocumentationPageBlockText, DocumentationPageBlockTextModel } from "./SDKDocumentationPageBlockText";
2
+ export type DocumentationPageUnorderedListModel = DocumentationPageBlockTextModel;
6
3
  export declare class DocumentationPageUnorderedList extends DocumentationPageBlockText {
7
- constructor(model: DocumentationPageUnorderedListModel, customBlocks: Array<ExporterCustomBlock>, configuration: DocumentationConfiguration);
8
4
  }
@@ -1,6 +1,6 @@
1
1
  import { ExporterCustomBlock } from "../../exporters/custom_blocks/SDKExporterCustomBlock";
2
2
  import { DocumentationConfiguration } from "../SDKDocumentationConfiguration";
3
- import { DocumentationPageBlockModel, DocumentationPageBlock } from "../SDKDocumentationPageBlock";
3
+ import { DocumentationPageBlock, DocumentationPageBlockModel } from "../SDKDocumentationPageBlock";
4
4
  export declare class DocumentationBlockBuilder {
5
5
  static fromGenericModel(model: DocumentationPageBlockModel, customBlocks: Array<ExporterCustomBlock>, configuration: DocumentationConfiguration): DocumentationPageBlock;
6
6
  }
@@ -1,8 +1,8 @@
1
1
  import { DocumentationItemHeader, DocumentationItemHeaderModel } from "./SDKDocumentationItemHeader";
2
- export interface DocumentationItemConfigurationModel {
2
+ export type DocumentationItemConfigurationModel = {
3
3
  header: DocumentationItemHeaderModel;
4
4
  showSidebar: boolean;
5
- }
5
+ };
6
6
  export declare class DocumentationItemConfiguration {
7
7
  header: DocumentationItemHeader;
8
8
  showSidebar: boolean;
@@ -1,8 +1,8 @@
1
- import { ColorTokenRemoteData } from '../../../model/tokens/remote/SDKRemoteTokenData';
2
- import { Alignment } from '../../../model/enums/SDKAlignment';
3
- import { AssetScaleType } from '../../../model/enums/SDKAssetScaleType';
4
- import { DocumentationPageAssetModel } from '../SDKDocumentationPageAsset';
5
- export interface DocumentationItemHeaderModel {
1
+ import { Alignment } from "../../enums/SDKAlignment";
2
+ import { AssetScaleType } from "../../enums/SDKAssetScaleType";
3
+ import { ColorTokenRemoteData } from "../../tokens/remote/SDKRemoteTokenData";
4
+ import { DocumentationPageAssetModel } from "../SDKDocumentationPageAsset";
5
+ export type DocumentationItemHeaderModel = {
6
6
  description: string;
7
7
  alignment: Alignment;
8
8
  foregroundColor?: ColorTokenRemoteData;
@@ -14,7 +14,7 @@ export interface DocumentationItemHeaderModel {
14
14
  showBackgroundOverlay: boolean;
15
15
  showCoverText: boolean;
16
16
  minHeight: number;
17
- }
17
+ };
18
18
  export declare class DocumentationItemHeader {
19
19
  backgroundImageAssetUrl: string | null;
20
20
  backgroundImageAssetId: string | null;
@@ -1,6 +1,6 @@
1
- import { ElementPropertyTargetElementType } from '../..';
2
- import { ElementDataViewColumn, ElementDataViewColumnRemoteModel } from './SDKElementDataViewColumn';
3
- export interface ElementDataViewRemoteModel {
1
+ import { ElementDataViewColumn, ElementDataViewColumnRemoteModel } from "./SDKElementDataViewColumn";
2
+ import { ElementPropertyTargetElementType } from "./SDKElementProperty";
3
+ export type ElementDataViewRemoteModel = {
4
4
  id: string;
5
5
  persistentId: string;
6
6
  isDefault: boolean;
@@ -10,7 +10,7 @@ export interface ElementDataViewRemoteModel {
10
10
  name: string;
11
11
  description: string;
12
12
  };
13
- }
13
+ };
14
14
  export declare class ElementDataView {
15
15
  /** Unique id of data view, different across versions */
16
16
  id: string;
@@ -9,7 +9,7 @@ export declare enum ElementDataViewColumnBasePropertyType {
9
9
  value = "Value",
10
10
  updatedAt = "UpdatedAt"
11
11
  }
12
- export interface ElementDataViewColumnRemoteModel {
12
+ export type ElementDataViewColumnRemoteModel = {
13
13
  id: string;
14
14
  persistentId: string;
15
15
  type: ElementDataViewColumnType;
@@ -17,7 +17,7 @@ export interface ElementDataViewColumnRemoteModel {
17
17
  propertyDefinitionId?: string;
18
18
  themeId?: string;
19
19
  width: number;
20
- }
20
+ };
21
21
  export declare class ElementDataViewColumn {
22
22
  /** Unique id of data view column, different across versions */
23
23
  id: string;
@@ -1,4 +1,4 @@
1
- import { ElementPropertyOption, ElementPropertyOptionRemoteModel } from './SDKElementPropertyOption';
1
+ import { ElementPropertyOption, ElementPropertyOptionCreationModel, ElementPropertyOptionRemoteModel, ElementPropertyOptionUpdateModel } from "./SDKElementPropertyOption";
2
2
  export declare enum ElementPropertyType {
3
3
  text = "Text",
4
4
  number = "Number",
@@ -17,7 +17,7 @@ export declare enum ElementPropertyLinkElementType {
17
17
  documentationItem = "DocumentationItem",
18
18
  figmaComponent = "FigmaComponent"
19
19
  }
20
- export interface ElementPropertyRemoteModel {
20
+ export type ElementPropertyRemoteModel = {
21
21
  id: string;
22
22
  persistentId: string;
23
23
  designSystemVersionId: string;
@@ -30,12 +30,27 @@ export interface ElementPropertyRemoteModel {
30
30
  targetElementType: ElementPropertyTargetElementType;
31
31
  linkElementType?: ElementPropertyLinkElementType;
32
32
  options?: Array<ElementPropertyOptionRemoteModel>;
33
- }
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
+ };
34
49
  export declare class ElementProperty {
35
- /** Unique id of the component property (data column) */
50
+ /** Versioned id of the element property (changes with version) */
51
+ idInVersion: string;
52
+ /** Persistent id of the element property (stays across versions) */
36
53
  id: string;
37
- /** Unique persistent id of the component property (data column) */
38
- persistentId: string;
39
54
  /** Specific design system version this property is contained in */
40
55
  designSystemVersionId: string;
41
56
  /** Property name */
@@ -53,4 +68,6 @@ export declare class ElementProperty {
53
68
  /** Property options, only available for `select` type */
54
69
  options: Array<ElementPropertyOption> | null;
55
70
  constructor(model: ElementPropertyRemoteModel);
71
+ /** Constructs directly manipulable update object */
72
+ toUpdateObject(): ElementPropertyUpdateModel;
56
73
  }
@@ -1,13 +1,17 @@
1
- export interface ElementPropertyOptionRemoteModel {
1
+ export type ElementPropertyOptionRemoteModel = {
2
2
  id: string;
3
3
  name: string;
4
4
  backgroundColor: {
5
5
  value: string;
6
6
  };
7
- }
7
+ };
8
+ export type ElementPropertyOptionCreationModel = ElementPropertyOptionRemoteModel;
9
+ export type ElementPropertyOptionUpdateModel = ElementPropertyOptionRemoteModel;
8
10
  export declare class ElementPropertyOption {
9
11
  id: string;
10
12
  name: string;
11
13
  backgroundColor: string | null;
12
14
  constructor(model: ElementPropertyOptionRemoteModel);
15
+ /** Constructs directly manipulable update object for user profile */
16
+ toUpdateObject(): ElementPropertyOptionUpdateModel;
13
17
  }
@@ -1,10 +1,10 @@
1
- export interface ElementPropertyValueRemoteModel {
1
+ export type ElementPropertyValueRemoteModel = {
2
2
  value: string | boolean | number;
3
3
  id: string;
4
4
  designSystemVersionId: string;
5
5
  definitionId: string;
6
6
  targetElementId: string;
7
- }
7
+ };
8
8
  export declare class ElementPropertyValue {
9
9
  value: string | boolean | number;
10
10
  id: string;
@@ -0,0 +1,6 @@
1
+ export declare enum BorderStyle {
2
+ dashed = "Dashed",
3
+ dotted = "Dotted",
4
+ solid = "Solid",
5
+ groove = "Groove"
6
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum IntegrationService {
2
+ figma = 0,
3
+ github = 1,
4
+ azure = 2,
5
+ gitlab = 3,
6
+ bitbucket = 4
7
+ }
@@ -2,5 +2,6 @@ export declare enum TextCase {
2
2
  original = "Original",
3
3
  upper = "Upper",
4
4
  lower = "Lower",
5
- camel = "Camel"
5
+ camel = "Camel",
6
+ smallCaps = "SmallCaps"
6
7
  }
@@ -1,13 +1,49 @@
1
1
  export declare enum TokenType {
2
2
  color = "Color",
3
3
  typography = "Typography",
4
- radius = "Radius",
5
- font = "Font",
6
- measure = "Measure",
4
+ dimension = "Dimension",
5
+ size = "Size",
6
+ space = "Space",
7
+ opacity = "Opacity",
8
+ fontSize = "FontSize",
9
+ lineHeight = "LineHeight",
10
+ letterSpacing = "LetterSpacing",
11
+ paragraphSpacing = "ParagraphSpacing",
12
+ borderWidth = "BorderWidth",
13
+ radius = "BorderRadius",
14
+ duration = "Duration",
15
+ zIndex = "ZIndex",
7
16
  shadow = "Shadow",
8
17
  border = "Border",
9
18
  gradient = "Gradient",
10
- text = "Text",
11
- blur = "Blur",
12
- generic = "GenericToken"
19
+ string = "String",
20
+ productCopy = "ProductCopy",
21
+ fontFamily = "FontFamily",
22
+ fontWeight = "FontWeight",
23
+ textCase = "TextCase",
24
+ textDecoration = "TextDecoration",
25
+ visibility = "Visibility",
26
+ blur = "Blur"
13
27
  }
28
+ export declare const STRING_TOKEN_TYPES: readonly [TokenType.string, TokenType.productCopy, TokenType.fontFamily, TokenType.fontWeight];
29
+ export type StringTokenType = (typeof STRING_TOKEN_TYPES)[number];
30
+ export declare const OPTION_TOKEN_TYPES: readonly [TokenType.textCase, TokenType.textDecoration, TokenType.visibility];
31
+ export type OptionTokenType = (typeof OPTION_TOKEN_TYPES)[number];
32
+ export declare const DIMENSION_TOKEN_TYPES: readonly [TokenType.dimension, TokenType.size, TokenType.space, TokenType.opacity, TokenType.fontSize, TokenType.lineHeight, TokenType.letterSpacing, TokenType.paragraphSpacing, TokenType.borderWidth, TokenType.radius, TokenType.duration, TokenType.zIndex];
33
+ export type DimensionTokenType = (typeof DIMENSION_TOKEN_TYPES)[number];
34
+ export declare const RAW_DIMENSION_TOKEN_TYPES: TokenType[];
35
+ export declare const MS_DIMENSION_TOKEN_TYPES: TokenType[];
36
+ export declare const ALL_TOKEN_TYPES: TokenType[];
37
+ export declare const PURE_TOKEN_TYPES: readonly [TokenType.color, TokenType.dimension, TokenType.size, TokenType.space, TokenType.opacity, TokenType.fontSize, TokenType.lineHeight, TokenType.letterSpacing, TokenType.paragraphSpacing, TokenType.borderWidth, TokenType.radius, TokenType.duration, TokenType.zIndex, TokenType.string, TokenType.productCopy, TokenType.fontFamily, TokenType.fontWeight, TokenType.textCase, TokenType.textDecoration, TokenType.visibility];
38
+ export type PureTokenType = (typeof PURE_TOKEN_TYPES)[number];
39
+ export type NonPureTokenType = Exclude<TokenType, PureTokenType>;
40
+ export declare const tokenTypeIsPure: (tokenType: TokenType) => tokenType is TokenType.color | TokenType.dimension | TokenType.size | TokenType.space | TokenType.opacity | TokenType.fontSize | TokenType.lineHeight | TokenType.letterSpacing | TokenType.paragraphSpacing | TokenType.borderWidth | TokenType.radius | TokenType.duration | TokenType.zIndex | TokenType.string | TokenType.productCopy | TokenType.fontFamily | TokenType.fontWeight | TokenType.textCase | TokenType.textDecoration | TokenType.visibility;
41
+ export declare const tokenTypeIsNonPure: (tokenType: TokenType) => tokenType is NonPureTokenType;
42
+ export declare const REPLACABLE_TOKEN_TYPES: readonly [TokenType.color, TokenType.dimension, TokenType.size, TokenType.space, TokenType.opacity, TokenType.fontSize, TokenType.lineHeight, TokenType.letterSpacing, TokenType.paragraphSpacing, TokenType.borderWidth, TokenType.radius, TokenType.duration, TokenType.zIndex, TokenType.string, TokenType.productCopy, TokenType.fontFamily, TokenType.fontWeight, TokenType.textCase, TokenType.textDecoration, TokenType.visibility];
43
+ export type ReplacableTokenType = (typeof REPLACABLE_TOKEN_TYPES)[number];
44
+ export declare const REFERENCABLE_TOKEN_TYPES: readonly [TokenType.color, TokenType.dimension, TokenType.size, TokenType.space, TokenType.opacity, TokenType.fontSize, TokenType.lineHeight, TokenType.letterSpacing, TokenType.paragraphSpacing, TokenType.borderWidth, TokenType.radius, TokenType.duration, TokenType.zIndex, TokenType.fontFamily, TokenType.fontWeight, TokenType.textCase, TokenType.textDecoration];
45
+ export type ReferencableTokenType = (typeof REFERENCABLE_TOKEN_TYPES)[number];
46
+ export declare const tokenTypeIsReferencable: (tokenType: TokenType) => tokenType is TokenType.color | TokenType.dimension | TokenType.size | TokenType.space | TokenType.opacity | TokenType.fontSize | TokenType.lineHeight | TokenType.letterSpacing | TokenType.paragraphSpacing | TokenType.borderWidth | TokenType.radius | TokenType.duration | TokenType.zIndex | TokenType.fontFamily | TokenType.fontWeight | TokenType.textCase | TokenType.textDecoration;
47
+ export declare const DT_TOKEN_TYPES: readonly [TokenType.color, TokenType.shadow, TokenType.gradient, TokenType.typography, TokenType.border, TokenType.dimension, TokenType.size, TokenType.space, TokenType.opacity, TokenType.fontSize, TokenType.lineHeight, TokenType.letterSpacing, TokenType.paragraphSpacing, TokenType.borderWidth, TokenType.radius, TokenType.duration, TokenType.zIndex, TokenType.fontFamily, TokenType.fontWeight, TokenType.textCase, TokenType.textDecoration, TokenType.visibility];
48
+ export type DTTokenType = (typeof DT_TOKEN_TYPES)[number];
49
+ export type DTOriginalTokenType = "color" | "borderRadius" | "boxShadow" | "gradient" | "typography" | "border" | "borderWidth" | "sizing" | "opacity" | "spacing" | "fontSizes" | "paragraphSpacing" | "letterSpacing" | "lineHeights" | "other" | "dimension" | "fontFamilies" | "fontWeights" | "textCase" | "textDecoration";
@@ -1,6 +1,17 @@
1
1
  export declare enum Unit {
2
2
  pixels = "Pixels",
3
- points = "Points",
4
3
  percent = "Percent",
5
- ems = "Ems"
4
+ rem = "Rem",
5
+ ms = "Ms",
6
+ raw = "Raw"
6
7
  }
8
+ export declare const SIZE_UNITS: readonly [Unit.pixels, Unit.percent, Unit.rem];
9
+ export type SizeUnit = (typeof SIZE_UNITS)[number];
10
+ export declare const LINE_HEIGHT_UNITS: readonly [Unit.pixels, Unit.percent, Unit.rem, Unit.raw];
11
+ export type LineHeightUnit = (typeof LINE_HEIGHT_UNITS)[number];
12
+ export declare const RAW_UNITS: readonly [Unit.raw];
13
+ export type RawUnit = (typeof RAW_UNITS)[number];
14
+ export declare const PX_UNITS: readonly [Unit.pixels];
15
+ export type PxUnit = (typeof PX_UNITS)[number];
16
+ export declare const MS_UNITS: readonly [Unit.ms];
17
+ export type MsUnit = (typeof MS_UNITS)[number];
@@ -0,0 +1,7 @@
1
+ export declare enum UserRole {
2
+ owner = "Owner",
3
+ admin = "Admin",
4
+ creator = "Creator",
5
+ viewer = "Viewer",
6
+ billing = "Billing"
7
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum VisibilityType {
2
+ visible = "Visible",
3
+ hidden = "Hidden"
4
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum WorkspaceNPMRegistryAuthType {
2
+ /** The workspace is configured to be able to access registry with Basic auth */
3
+ basic = "Basic",
4
+ /** The workspace is configured to be able to access registry using Bearer token */
5
+ bearer = "Bearer"
6
+ }
@@ -0,0 +1,12 @@
1
+ export declare enum WorkspaceNPMRegistryType {
2
+ /** The workspace is configured to be able to access NPMJS registry */
3
+ npmJS = "NPMJS",
4
+ /** The workspace is configured to be able to access GitHub registry */
5
+ gitHub = "GitHub",
6
+ /** The workspace is configured to be able to access AzureDevOps registry */
7
+ azureDevOps = "AzureDevOps",
8
+ /** The workspace is configured to be able to access Artifactory registry */
9
+ artifactory = "Artifactory",
10
+ /** The workspace is configured to be able to access Custom registry */
11
+ custom = "Custom"
12
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum WorkspaceSubscriptionPlanInterval {
2
+ /** The workspace is on a yearly plan */
3
+ yearly = "yearly",
4
+ /** The workspace is on monthly plan */
5
+ monthly = "monthly"
6
+ }
@@ -0,0 +1,12 @@
1
+ export declare enum WorkspaceSubscriptionProduct {
2
+ /** The workspace is on free tier */
3
+ free = "free",
4
+ /** The workspace is on team tier */
5
+ team = "team",
6
+ /** The workspace is on team test tier */
7
+ teamTest = "team_test",
8
+ /** The workspace is on company tier */
9
+ company = "company",
10
+ /** The workspace is on enterprise tier */
11
+ enterprise = "enterprise"
12
+ }
@@ -0,0 +1,18 @@
1
+ export declare enum WorkspaceSubscriptionStatus {
2
+ /** The subscription is in trial period */
3
+ trialing = "trialing",
4
+ /** The subscription is active */
5
+ active = "active",
6
+ /** The subscription is past due */
7
+ pastDue = "past_due",
8
+ /** The subscription is canceled */
9
+ canceled = "canceled",
10
+ /** The subscription is unpaid */
11
+ unpaid = "unpaid",
12
+ /** The subscription is incomplete expired */
13
+ incompleteExpired = "incomplete_expired",
14
+ /** The subscription is incomplete */
15
+ incomplete = "incomplete",
16
+ /** The subscription status is unknown */
17
+ unknown = "unknown"
18
+ }
@@ -0,0 +1,8 @@
1
+ export declare enum WorkspaceSubscriptionStatusInternal {
2
+ /** The subscription is active */
3
+ active = "active",
4
+ /** The subscription is downgraded to free */
5
+ downgradedToFree = "downgraded_to_free",
6
+ /** The subscription is suspended */
7
+ suspended = "suspended"
8
+ }
@@ -1,7 +1,7 @@
1
1
  import { ExporterCustomBlock, ExporterCustomBlockModel } from "./custom_blocks/SDKExporterCustomBlock";
2
2
  import { ExporterCustomBlockVariant } from "./custom_blocks/SDKExporterCustomBlockVariant";
3
3
  import { ExporterConfigurationProperty, ExporterConfigurationPropertyModel } from "./custom_properties/SDKExporterConfigurationProperty";
4
- export interface ExporterModel {
4
+ export type ExporterModel = {
5
5
  id: string;
6
6
  packageId: string;
7
7
  isPrivate: boolean;
@@ -19,10 +19,10 @@ export interface ExporterModel {
19
19
  githubUrl: string;
20
20
  githubBranch?: string;
21
21
  githubDirectory?: string;
22
- blockVariants?: Object;
22
+ blockVariants?: object;
23
23
  configurationProperties?: Array<ExporterConfigurationPropertyModel>;
24
24
  customBlocks?: Array<ExporterCustomBlockModel>;
25
- }
25
+ };
26
26
  export declare class Exporter {
27
27
  /** Unique exporter installation id. This id is used to referenced exporter within Supernova system (for example, in ds.documentationExporterId) */
28
28
  id: string;
@@ -1,5 +1,5 @@
1
1
  import { ExporterCustomBlockProperty, ExporterCustomBlockPropertyModel } from "./SDKExporterCustomBlockProperty";
2
- export interface ExporterCustomBlockModel {
2
+ export type ExporterCustomBlockModel = {
3
3
  key: string;
4
4
  title: string;
5
5
  description: string;
@@ -7,7 +7,7 @@ export interface ExporterCustomBlockModel {
7
7
  iconURL: string;
8
8
  mode: ExporterCustomBlockMode;
9
9
  properties: Array<ExporterCustomBlockPropertyModel>;
10
- }
10
+ };
11
11
  export declare enum ExporterCustomBlockMode {
12
12
  block = "block"
13
13
  }
@@ -1,4 +1,4 @@
1
- export interface ExporterCustomBlockPropertyModel {
1
+ export type ExporterCustomBlockPropertyModel = {
2
2
  label: string;
3
3
  key: string;
4
4
  type: ExporterCustomBlockPropertyType;
@@ -6,7 +6,7 @@ export interface ExporterCustomBlockPropertyModel {
6
6
  isMultiline: boolean;
7
7
  default?: string | number | boolean;
8
8
  values: Array<string>;
9
- }
9
+ };
10
10
  export declare enum ExporterCustomBlockPropertyType {
11
11
  string = "string",
12
12
  number = "number",
@@ -1,8 +1,8 @@
1
- export interface ExporterCustomBlockVariantModel {
1
+ export type ExporterCustomBlockVariantModel = {
2
2
  key: string;
3
3
  name: string;
4
4
  isDefault: boolean;
5
- }
5
+ };
6
6
  export declare class ExporterCustomBlockVariant {
7
7
  blockKey: string;
8
8
  variantKey: string;
@@ -1,4 +1,4 @@
1
- export interface ExporterConfigurationPropertyModel {
1
+ export type ExporterConfigurationPropertyModel = {
2
2
  label: string;
3
3
  description: string;
4
4
  category: string;
@@ -8,7 +8,7 @@ export interface ExporterConfigurationPropertyModel {
8
8
  isMultiline: boolean;
9
9
  default?: string | number | boolean;
10
10
  values: Array<string>;
11
- }
11
+ };
12
12
  export declare enum ExporterConfigurationPropertyType {
13
13
  string = "string",
14
14
  number = "number",
@@ -31,8 +31,8 @@ export declare class ExporterConfigurationProperty {
31
31
  inputType: ExporterConfigurationPropertyInputType;
32
32
  isMultiline: boolean;
33
33
  default: string | number | boolean | null;
34
- value: string | number | boolean | Object | null;
34
+ value: string | number | boolean | object | null;
35
35
  values: Array<string>;
36
- constructor(data: ExporterConfigurationPropertyModel, value: string | number | boolean | Object | null);
37
- updateValue(value: string | number | boolean | Object | null): void;
36
+ constructor(data: ExporterConfigurationPropertyModel, value: string | number | boolean | object | null);
37
+ updateValue(value: string | number | boolean | object | null): void;
38
38
  }
@@ -5,16 +5,16 @@ export declare class AssetGroup {
5
5
  name: string;
6
6
  description: string;
7
7
  path: Array<string>;
8
- subgroups: Array<AssetGroup>;
8
+ subgroupIds: Array<string>;
9
9
  isRoot: boolean;
10
10
  childrenIds: Array<string>;
11
11
  assetIds: Array<string>;
12
- parent: AssetGroup | null;
12
+ parentGroupId: string | null;
13
13
  createdAt: Date | null;
14
14
  updatedAt: Date | null;
15
15
  constructor(model: DesignComponentGroupRemoteModel);
16
- addChild(group: AssetGroup): void;
17
- addChildren(groups: Array<AssetGroup>): void;
16
+ addChild(groupId: string): void;
17
+ addChildren(groupsIds: Array<string>): void;
18
18
  setPath(segments: Array<string>): void;
19
- setParent(parent: AssetGroup | null): void;
19
+ setParentGroupId(parentGroupId: string | null): void;
20
20
  }