@supernova-studio/client 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _supernova_studio_model from '@supernova-studio/model';
2
- import { PageBlockItemUntypedPropertyValue, PageBlockDefinition, PageBlockItemV2, PageBlockItemRichTextPropertyValue, PageBlockItemMultiRichTextPropertyValue, PageBlockItemEmbedPropertyValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
2
+ import { PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
3
3
  export * from '@supernova-studio/model';
4
4
  import { z } from 'zod';
5
5
  import { Schema } from 'prosemirror-model';
@@ -1350,7 +1350,7 @@ type ProsemirrorMark = {
1350
1350
  };
1351
1351
  type ProsemirrorBlockItem = {
1352
1352
  id: string;
1353
- props: Record<string, PageBlockItemUntypedPropertyValue>;
1353
+ props: Record<string, PageBlockItemUntypedValue>;
1354
1354
  };
1355
1355
 
1356
1356
  declare function pageToYXmlFragment(page: DocumentationPageEditorModel, definitions: PageBlockDefinition[], fragment: Y.XmlFragment): Y.XmlFragment;
@@ -1457,13 +1457,13 @@ declare const BlockParsingUtils: {
1457
1457
  openInNewTab?: boolean | undefined;
1458
1458
  } | undefined;
1459
1459
  };
1460
- richTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemRichTextPropertyValue;
1461
- multiRichTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemMultiRichTextPropertyValue;
1462
- embedPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemEmbedPropertyValue;
1460
+ richTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemRichTextValue;
1461
+ multiRichTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemMultiRichTextValue;
1462
+ embedPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemEmbedValue;
1463
1463
  objectPropertyValue(item: PageBlockItemV2, propertyKey: string): {
1464
1464
  value?: any;
1465
1465
  } & Record<string, any>;
1466
- propertyValueOrThrow(item: PageBlockItemV2, propertyKey: string): PageBlockItemUntypedPropertyValue;
1466
+ propertyValueOrThrow(item: PageBlockItemV2, propertyKey: string): PageBlockItemUntypedValue;
1467
1467
  };
1468
1468
  declare const BlockDefinitionUtils: {
1469
1469
  firstRichTextProperty(definition: PageBlockDefinition): {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _supernova_studio_model from '@supernova-studio/model';
2
- import { PageBlockItemUntypedPropertyValue, PageBlockDefinition, PageBlockItemV2, PageBlockItemRichTextPropertyValue, PageBlockItemMultiRichTextPropertyValue, PageBlockItemEmbedPropertyValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
2
+ import { PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
3
3
  export * from '@supernova-studio/model';
4
4
  import { z } from 'zod';
5
5
  import { Schema } from 'prosemirror-model';
@@ -1350,7 +1350,7 @@ type ProsemirrorMark = {
1350
1350
  };
1351
1351
  type ProsemirrorBlockItem = {
1352
1352
  id: string;
1353
- props: Record<string, PageBlockItemUntypedPropertyValue>;
1353
+ props: Record<string, PageBlockItemUntypedValue>;
1354
1354
  };
1355
1355
 
1356
1356
  declare function pageToYXmlFragment(page: DocumentationPageEditorModel, definitions: PageBlockDefinition[], fragment: Y.XmlFragment): Y.XmlFragment;
@@ -1457,13 +1457,13 @@ declare const BlockParsingUtils: {
1457
1457
  openInNewTab?: boolean | undefined;
1458
1458
  } | undefined;
1459
1459
  };
1460
- richTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemRichTextPropertyValue;
1461
- multiRichTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemMultiRichTextPropertyValue;
1462
- embedPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemEmbedPropertyValue;
1460
+ richTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemRichTextValue;
1461
+ multiRichTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemMultiRichTextValue;
1462
+ embedPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemEmbedValue;
1463
1463
  objectPropertyValue(item: PageBlockItemV2, propertyKey: string): {
1464
1464
  value?: any;
1465
1465
  } & Record<string, any>;
1466
- propertyValueOrThrow(item: PageBlockItemV2, propertyKey: string): PageBlockItemUntypedPropertyValue;
1466
+ propertyValueOrThrow(item: PageBlockItemV2, propertyKey: string): PageBlockItemUntypedValue;
1467
1467
  };
1468
1468
  declare const BlockDefinitionUtils: {
1469
1469
  firstRichTextProperty(definition: PageBlockDefinition): {
package/dist/index.js CHANGED
@@ -883,24 +883,27 @@ var PageBlockImageAlignment = _zod.z.enum(["Left", "Center", "Stretch"]);
883
883
  var PageBlockAppearanceV2 = _zod.z.object({
884
884
  itemBackgroundColor: ColorValue
885
885
  });
886
- var PageBlockItemUntypedPropertyValue = _zod.z.object({
886
+ var PageBlockItemUntypedValue = _zod.z.object({
887
887
  value: _zod.z.any()
888
888
  }).and(_zod.z.record(_zod.z.any()));
889
- var PageBlockItemRichTextPropertyValue = _zod.z.object({
890
- value: PageBlockText,
891
- calloutType: PageBlockCalloutType.optional()
892
- });
893
- var PageBlockItemEmbedPropertyValue = _zod.z.object({
894
- value: _zod.z.string().optional(),
895
- caption: _zod.z.string().optional(),
896
- height: _zod.z.number().optional()
889
+ var PageBlockLinkV2 = _zod.z.object({
890
+ type: PageBlockLinkType,
891
+ documentationItemId: _zod.z.string().optional(),
892
+ pageHeadingId: _zod.z.string().optional(),
893
+ url: _zod.z.string().optional(),
894
+ openInNewTab: _zod.z.boolean().optional()
897
895
  });
898
- var PageBlockItemMultiRichTextPropertyValue = _zod.z.object({
899
- value: PageBlockText.array()
896
+ var PageBlockItemV2 = _zod.z.object({
897
+ id: _zod.z.string(),
898
+ linksTo: PageBlockLinkV2.optional(),
899
+ props: _zod.z.record(PageBlockItemUntypedValue)
900
900
  });
901
- var PageBlockItemTextPropertyValue = _zod.z.object({
902
- value: _zod.z.string(),
903
- calloutType: PageBlockCalloutType.optional()
901
+ var PageBlockDataV2 = _zod.z.object({
902
+ packageId: _zod.z.string(),
903
+ variantId: _zod.z.string().optional(),
904
+ indentLevel: _zod.z.number(),
905
+ appearance: PageBlockAppearanceV2.optional(),
906
+ items: _zod.z.array(PageBlockItemV2)
904
907
  });
905
908
  var PageBlockItemImageReference = _zod.z.object({
906
909
  type: PageBlockImageType,
@@ -912,30 +915,111 @@ var PageBlockItemImageReference = _zod.z.object({
912
915
  frameId: _zod.z.string()
913
916
  }).optional()
914
917
  });
918
+ var PageBlockItemAssetValue = _zod.z.object({
919
+ selectedPropertyIds: _zod.z.array(_zod.z.string()).optional(),
920
+ showSearch: _zod.z.boolean().optional(),
921
+ previewContainerSize: _zod.z.enum(["Centered", "NaturalHeight"]).optional(),
922
+ backgroundColor: _zod.z.string().optional(),
923
+ value: _zod.z.array(
924
+ _zod.z.object({
925
+ entityId: _zod.z.string(),
926
+ entityType: _zod.z.enum(["Asset", "AssetGroup"])
927
+ })
928
+ )
929
+ });
930
+ var PageBlockItemAssetPropertyValue = _zod.z.object({
931
+ value: _zod.z.array(_zod.z.string())
932
+ });
933
+ var PageBlockItemBooleanValue = _zod.z.object({
934
+ value: _zod.z.boolean()
935
+ });
936
+ var PageBlockItemCodeValue = _zod.z.object({
937
+ format: PageBlockCodeLanguage.optional(),
938
+ caption: _zod.z.string().optional(),
939
+ value: _zod.z.string()
940
+ });
941
+ var PageBlockItemSandboxValue = _zod.z.object({
942
+ showCode: _zod.z.boolean().optional(),
943
+ backgroundColor: _zod.z.string().optional(),
944
+ alignPreview: _zod.z.enum(["Left", "Center"]).optional(),
945
+ value: _zod.z.string()
946
+ });
947
+ var PageBlockItemColorValue = _zod.z.record(_zod.z.any());
948
+ var PageBlockItemComponentValue = _zod.z.object({
949
+ selectedPropertyIds: _zod.z.array(_zod.z.string()).optional(),
950
+ value: _zod.z.array(
951
+ _zod.z.object({
952
+ entityId: _zod.z.string(),
953
+ entityType: _zod.z.enum(["Component", "ComponentGroup"])
954
+ })
955
+ )
956
+ });
957
+ var PageBlockItemComponentPropertyValue = _zod.z.object({
958
+ value: _zod.z.string()
959
+ });
960
+ var PageBlockItemDividerValue = _zod.z.object({});
961
+ var PageBlockItemEmbedValue = _zod.z.object({
962
+ value: _zod.z.string().optional(),
963
+ caption: _zod.z.string().optional(),
964
+ height: _zod.z.number().optional()
965
+ });
915
966
  var PageBlockItemImageValue = _zod.z.object({
916
967
  alt: _zod.z.string().optional(),
917
968
  caption: _zod.z.string().optional(),
918
969
  alignment: PageBlockImageAlignment.optional(),
919
970
  value: PageBlockItemImageReference.optional()
920
971
  });
921
- var PageBlockLinkV2 = _zod.z.object({
922
- type: PageBlockLinkType,
923
- documentationItemId: _zod.z.string().optional(),
924
- pageHeadingId: _zod.z.string().optional(),
925
- url: _zod.z.string().optional(),
926
- openInNewTab: _zod.z.boolean().optional()
972
+ var PageBlockItemMarkdownValue = _zod.z.object({
973
+ value: _zod.z.string()
927
974
  });
928
- var PageBlockItemV2 = _zod.z.object({
929
- id: _zod.z.string(),
930
- linksTo: PageBlockLinkV2.optional(),
931
- props: _zod.z.record(PageBlockItemUntypedPropertyValue)
975
+ var PageBlockItemMultiRichTextValue = _zod.z.object({
976
+ value: PageBlockText.array()
932
977
  });
933
- var PageBlockDataV2 = _zod.z.object({
934
- packageId: _zod.z.string(),
935
- variantId: _zod.z.string().optional(),
936
- indentLevel: _zod.z.number(),
937
- appearance: PageBlockAppearanceV2.optional(),
938
- items: _zod.z.array(PageBlockItemV2)
978
+ var PageBlockItemMultiSelectValue = _zod.z.object({
979
+ value: _zod.z.array(_zod.z.string())
980
+ });
981
+ var PageBlockItemNumberValue = _zod.z.object({
982
+ value: _zod.z.number()
983
+ });
984
+ var PageBlockItemRichTextValue = _zod.z.object({
985
+ value: PageBlockText,
986
+ calloutType: PageBlockCalloutType.optional()
987
+ });
988
+ var PageBlockItemSingleSelectValue = _zod.z.object({
989
+ value: _zod.z.string()
990
+ });
991
+ var PageBlockItemStorybookValue = _zod.z.object({
992
+ caption: _zod.z.string().optional(),
993
+ height: _zod.z.number().optional(),
994
+ showAddons: _zod.z.boolean().optional(),
995
+ value: _zod.z.string()
996
+ });
997
+ var PageBlockItemTableValue = _zod.z.object({
998
+ value: _zod.z.any()
999
+ });
1000
+ var PageBlockItemTextValue = _zod.z.object({
1001
+ value: _zod.z.string()
1002
+ });
1003
+ var PageBlockItemTokenValue = _zod.z.object({
1004
+ selectedPropertyIds: _zod.z.array(_zod.z.string()).optional(),
1005
+ selectedThemeIds: _zod.z.array(_zod.z.string()).optional(),
1006
+ value: _zod.z.array(
1007
+ _zod.z.object({
1008
+ entityId: _zod.z.string(),
1009
+ entityType: _zod.z.enum(["Token", "TokenGroup"])
1010
+ })
1011
+ )
1012
+ });
1013
+ var PageBlockItemTokenPropertyValue = _zod.z.object({
1014
+ selectedPropertyIds: _zod.z.array(_zod.z.string()).optional(),
1015
+ selectedThemeIds: _zod.z.array(_zod.z.string()).optional(),
1016
+ value: _zod.z.array(_zod.z.string())
1017
+ });
1018
+ var PageBlockItemTokenTypeValue = _zod.z.object({
1019
+ value: _zod.z.array(DesignTokenType)
1020
+ });
1021
+ var PageBlockItemUrlValue = _zod.z.object({
1022
+ value: _zod.z.string()
939
1023
  });
940
1024
  var DocumentationItemConfiguration = _zod.z.object({
941
1025
  showSidebar: _zod.z.boolean(),
@@ -3690,17 +3774,17 @@ var BlockParsingUtils = {
3690
3774
  },
3691
3775
  richTextPropertyValue(item, propertyKey) {
3692
3776
  const objectValue = this.objectPropertyValue(item, propertyKey);
3693
- const richText = PageBlockItemRichTextPropertyValue.parse(objectValue);
3777
+ const richText = PageBlockItemRichTextValue.parse(objectValue);
3694
3778
  return richText;
3695
3779
  },
3696
3780
  multiRichTextPropertyValue(item, propertyKey) {
3697
3781
  const objectValue = this.objectPropertyValue(item, propertyKey);
3698
- const richText = PageBlockItemMultiRichTextPropertyValue.parse(objectValue);
3782
+ const richText = PageBlockItemMultiRichTextValue.parse(objectValue);
3699
3783
  return richText;
3700
3784
  },
3701
3785
  embedPropertyValue(item, propertyKey) {
3702
3786
  const objectValue = this.objectPropertyValue(item, propertyKey);
3703
- const embed = PageBlockItemEmbedPropertyValue.parse(objectValue);
3787
+ const embed = PageBlockItemEmbedValue.parse(objectValue);
3704
3788
  return embed;
3705
3789
  },
3706
3790
  objectPropertyValue(item, propertyKey) {
@@ -5657,20 +5741,11 @@ function parseItem(rawItem, definition) {
5657
5741
  if (!value) {
5658
5742
  continue;
5659
5743
  }
5660
- switch (property.type) {
5661
- case "Text":
5662
- PageBlockItemTextPropertyValue.parse(value);
5663
- break;
5664
- case "EmbedURL":
5665
- PageBlockItemEmbedPropertyValue.parse(value);
5666
- break;
5667
- case "Image":
5668
- PageBlockItemImageValue.parse(value);
5669
- break;
5670
- default:
5671
- return null;
5744
+ const valueSchema = valueSchemaForPropertyType(property.type);
5745
+ const validationResult = valueSchema.safeParse(value);
5746
+ if (validationResult.success) {
5747
+ sanitizedProps[property.id] = validationResult.data;
5672
5748
  }
5673
- sanitizedProps[property.id] = value;
5674
5749
  }
5675
5750
  return {
5676
5751
  id: parsedItem.data.id,
@@ -5678,6 +5753,58 @@ function parseItem(rawItem, definition) {
5678
5753
  props: sanitizedProps
5679
5754
  };
5680
5755
  }
5756
+ function valueSchemaForPropertyType(type) {
5757
+ switch (type) {
5758
+ case "RichText":
5759
+ return PageBlockItemRichTextValue;
5760
+ case "MultiRichText":
5761
+ return PageBlockItemMultiRichTextValue;
5762
+ case "Text":
5763
+ return PageBlockItemTextValue;
5764
+ case "Boolean":
5765
+ return PageBlockItemBooleanValue;
5766
+ case "Number":
5767
+ return PageBlockItemNumberValue;
5768
+ case "SingleSelect":
5769
+ return PageBlockItemSingleSelectValue;
5770
+ case "MultiSelect":
5771
+ return PageBlockItemMultiSelectValue;
5772
+ case "Image":
5773
+ return PageBlockItemImageValue;
5774
+ case "Token":
5775
+ return PageBlockItemTokenValue;
5776
+ case "TokenType":
5777
+ return PageBlockItemTokenTypeValue;
5778
+ case "TokenProperty":
5779
+ return PageBlockItemTokenPropertyValue;
5780
+ case "Component":
5781
+ return PageBlockItemComponentValue;
5782
+ case "ComponentProperty":
5783
+ return PageBlockItemComponentPropertyValue;
5784
+ case "Asset":
5785
+ return PageBlockItemAssetValue;
5786
+ case "AssetProperty":
5787
+ return PageBlockItemAssetPropertyValue;
5788
+ case "EmbedURL":
5789
+ return PageBlockItemEmbedValue;
5790
+ case "URL":
5791
+ return PageBlockItemUrlValue;
5792
+ case "Markdown":
5793
+ return PageBlockItemMarkdownValue;
5794
+ case "Code":
5795
+ return PageBlockItemCodeValue;
5796
+ case "CodeSandbox":
5797
+ return PageBlockItemSandboxValue;
5798
+ case "Table":
5799
+ return PageBlockItemTableValue;
5800
+ case "Divider":
5801
+ return PageBlockItemDividerValue;
5802
+ case "Storybook":
5803
+ return PageBlockItemStorybookValue;
5804
+ case "Color":
5805
+ return PageBlockItemColorValue;
5806
+ }
5807
+ }
5681
5808
  function parseProsemirrorBlockAttribute(prosemirrorNode, attributeName) {
5682
5809
  const attributeValue = parseProsemirrorOptionalBlockAttribute(prosemirrorNode, attributeName);
5683
5810
  if (!attributeValue) {
@@ -6127,5 +6254,24 @@ function mapByUnique(items, keyFn) {
6127
6254
 
6128
6255
 
6129
6256
 
6130
- exports.Address = Address; exports.Asset = Asset; exports.AssetFontProperties = AssetFontProperties; exports.AssetImportModelInput = AssetImportModelInput; exports.AssetOrigin = AssetOrigin; exports.AssetProperties = AssetProperties; exports.AssetReference = AssetReference; exports.AssetScope = AssetScope; exports.AssetType = AssetType; exports.AssetValue = AssetValue; exports.AuthTokens = AuthTokens; exports.BasePulsarProperty = BasePulsarProperty; exports.BillingDetails = BillingDetails; exports.BillingIntervalSchema = BillingIntervalSchema; exports.BillingType = BillingType; exports.BillingTypeSchema = BillingTypeSchema; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BlurTokenData = BlurTokenData; exports.BlurType = BlurType; exports.BlurValue = BlurValue; exports.BorderPosition = BorderPosition; exports.BorderRadiusTokenData = BorderRadiusTokenData; exports.BorderRadiusUnit = BorderRadiusUnit; exports.BorderRadiusValue = BorderRadiusValue; exports.BorderStyle = BorderStyle; exports.BorderTokenData = BorderTokenData; exports.BorderValue = BorderValue; exports.BorderWidthTokenData = BorderWidthTokenData; exports.BorderWidthUnit = BorderWidthUnit; exports.BorderWidthValue = BorderWidthValue; exports.BrandedElementGroup = BrandedElementGroup; exports.CardSchema = CardSchema; exports.ChangedImportedFigmaSourceData = ChangedImportedFigmaSourceData; exports.ColorTokenData = ColorTokenData; exports.ColorTokenInlineData = ColorTokenInlineData; exports.ColorValue = ColorValue; exports.Component = Component; exports.ComponentElementData = ComponentElementData; exports.ComponentImportModel = ComponentImportModel; exports.ComponentImportModelInput = ComponentImportModelInput; exports.ComponentOrigin = ComponentOrigin; exports.ComponentOriginPart = ComponentOriginPart; exports.ContentLoadInstruction = ContentLoadInstruction; exports.ContentLoaderPayload = ContentLoaderPayload; exports.CreateDesignToken = CreateDesignToken; exports.CreateWorkspaceInput = CreateWorkspaceInput; exports.CustomDomain = CustomDomain; exports.Customer = Customer; exports.DataSourceAutoImportMode = DataSourceAutoImportMode; exports.DataSourceFigmaFileData = DataSourceFigmaFileData; exports.DataSourceFigmaFileVersionData = DataSourceFigmaFileVersionData; exports.DataSourceFigmaImportMetadata = DataSourceFigmaImportMetadata; exports.DataSourceFigmaRemote = DataSourceFigmaRemote; exports.DataSourceFigmaScope = DataSourceFigmaScope; exports.DataSourceFigmaState = DataSourceFigmaState; exports.DataSourceImportModel = DataSourceImportModel; exports.DataSourceRemote = DataSourceRemote; exports.DataSourceRemoteType = DataSourceRemoteType; exports.DataSourceStats = DataSourceStats; exports.DataSourceTokenStudioRemote = DataSourceTokenStudioRemote; exports.DataSourceUploadImportMetadata = DataSourceUploadImportMetadata; exports.DataSourceUploadRemote = DataSourceUploadRemote; exports.DataSourceUploadRemoteSource = DataSourceUploadRemoteSource; exports.DataSourceVersion = DataSourceVersion; exports.DesignElement = DesignElement; exports.DesignElementBase = DesignElementBase; exports.DesignElementBrandedPart = DesignElementBrandedPart; exports.DesignElementCategory = DesignElementCategory; exports.DesignElementGroupableBase = DesignElementGroupableBase; exports.DesignElementGroupablePart = DesignElementGroupablePart; exports.DesignElementGroupableRequiredPart = DesignElementGroupableRequiredPart; exports.DesignElementImportedBase = DesignElementImportedBase; exports.DesignElementOrigin = DesignElementOrigin; exports.DesignElementSlugPart = DesignElementSlugPart; exports.DesignElementType = DesignElementType; exports.DesignSystem = DesignSystem; exports.DesignSystemCreateInput = DesignSystemCreateInput; exports.DesignSystemElementExportProps = DesignSystemElementExportProps; exports.DesignSystemSwitcher = DesignSystemSwitcher; exports.DesignSystemUpdateInput = DesignSystemUpdateInput; exports.DesignSystemVersionRoom = DesignSystemVersionRoom; exports.DesignSystemWithWorkspace = DesignSystemWithWorkspace; exports.DesignToken = DesignToken; exports.DesignTokenImportModel = DesignTokenImportModel; exports.DesignTokenImportModelBase = DesignTokenImportModelBase; exports.DesignTokenImportModelInput = DesignTokenImportModelInput; exports.DesignTokenImportModelInputBase = DesignTokenImportModelInputBase; exports.DesignTokenOrigin = DesignTokenOrigin; exports.DesignTokenOriginPart = DesignTokenOriginPart; exports.DesignTokenType = DesignTokenType; exports.DesignTokenTypedData = DesignTokenTypedData; exports.DimensionTokenData = DimensionTokenData; exports.DimensionUnit = DimensionUnit; exports.DimensionValue = DimensionValue; exports.DocumentationGroupBehavior = DocumentationGroupBehavior; exports.DocumentationGroupDTO = DocumentationGroupDTO; exports.DocumentationItemConfiguration = DocumentationItemConfiguration; exports.DocumentationPage = DocumentationPage; exports.DocumentationPageDTOV1 = DocumentationPageDTOV1; exports.DocumentationPageDataV1 = DocumentationPageDataV1; exports.DocumentationPageDataV2 = DocumentationPageDataV2; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageElementDataV1 = DocumentationPageElementDataV1; exports.DocumentationPageElementDataV2 = DocumentationPageElementDataV2; exports.DocumentationPageGroup = DocumentationPageGroup; exports.DocumentationPageRoom = DocumentationPageRoom; exports.DocumentationPageV1 = DocumentationPageV1; exports.DocumentationPageV2 = DocumentationPageV2; exports.DurationTokenData = DurationTokenData; exports.DurationUnit = DurationUnit; exports.DurationValue = DurationValue; exports.ElementGroup = ElementGroup; exports.ElementGroupData = ElementGroupData; exports.ElementGroupElementData = ElementGroupElementData; exports.ElementPropertyDefinition = ElementPropertyDefinition; exports.ElementPropertyDefinitionOption = ElementPropertyDefinitionOption; exports.ElementPropertyLinkType = ElementPropertyLinkType; exports.ElementPropertyTargetType = ElementPropertyTargetType; exports.ElementPropertyType = ElementPropertyType; exports.ElementPropertyValue = ElementPropertyValue; exports.Entity = Entity; exports.ExportJob = ExportJob; exports.ExportJobStatus = ExportJobStatus; exports.Exporter = Exporter; exports.ExporterDetails = ExporterDetails; exports.ExporterSource = ExporterSource; exports.ExporterTag = ExporterTag; exports.ExporterType = ExporterType; exports.ExporterWorkspaceMembership = ExporterWorkspaceMembership; exports.ExporterWorkspaceMembershipRole = ExporterWorkspaceMembershipRole; exports.ExternalOAuthRequest = ExternalOAuthRequest; exports.ExternalServiceType = ExternalServiceType; exports.FeatureFlag = FeatureFlag; exports.FeatureFlagMap = FeatureFlagMap; exports.FeaturesSummary = FeaturesSummary; exports.FigmaFileAccessData = FigmaFileAccessData; exports.FigmaFileDownloadScope = FigmaFileDownloadScope; exports.FigmaFileStructure = FigmaFileStructure; exports.FigmaFileStructureData = FigmaFileStructureData; exports.FigmaFileStructureElementData = FigmaFileStructureElementData; exports.FigmaFileStructureImportModel = FigmaFileStructureImportModel; exports.FigmaFileStructureImportModelInput = FigmaFileStructureImportModelInput; exports.FigmaFileStructureNode = FigmaFileStructureNode; exports.FigmaFileStructureNodeBase = FigmaFileStructureNodeBase; exports.FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModel; exports.FigmaFileStructureNodeType = FigmaFileStructureNodeType; exports.FigmaFileStructureOrigin = FigmaFileStructureOrigin; exports.FigmaFileStructureStatistics = FigmaFileStructureStatistics; exports.FigmaImportBaseContext = FigmaImportBaseContext; exports.FigmaImportContextWithDownloadScopes = FigmaImportContextWithDownloadScopes; exports.FigmaNodeReference = FigmaNodeReference; exports.FigmaNodeReferenceData = FigmaNodeReferenceData; exports.FigmaNodeReferenceElementData = FigmaNodeReferenceElementData; exports.FigmaPngRenderImportModel = FigmaPngRenderImportModel; exports.FigmaRenderFormat = FigmaRenderFormat; exports.FigmaRenderImportModel = FigmaRenderImportModel; exports.FigmaSvgRenderImportModel = FigmaSvgRenderImportModel; exports.FileStructureStats = FileStructureStats; exports.FlaggedFeature = FlaggedFeature; exports.FontFamilyTokenData = FontFamilyTokenData; exports.FontFamilyValue = FontFamilyValue; exports.FontSizeTokenData = FontSizeTokenData; exports.FontSizeUnit = FontSizeUnit; exports.FontSizeValue = FontSizeValue; exports.FontWeightTokenData = FontWeightTokenData; exports.FontWeightValue = FontWeightValue; exports.GetBlockDefinitionsResponse = GetBlockDefinitionsResponse; exports.GitProvider = GitProvider; exports.GitProviderNames = GitProviderNames; exports.GradientLayerData = GradientLayerData; exports.GradientLayerValue = GradientLayerValue; exports.GradientStop = GradientStop; exports.GradientTokenData = GradientTokenData; exports.GradientTokenValue = GradientTokenValue; exports.GradientType = GradientType; exports.HANDLE_MAX_LENGTH = HANDLE_MAX_LENGTH; exports.HANDLE_MIN_LENGTH = HANDLE_MIN_LENGTH; exports.ImageImportModel = ImageImportModel; exports.ImageImportModelType = ImageImportModelType; exports.ImportFunctionInput = ImportFunctionInput; exports.ImportJob = ImportJob; exports.ImportJobOperation = ImportJobOperation; exports.ImportJobState = ImportJobState; exports.ImportModelBase = ImportModelBase; exports.ImportModelCollection = ImportModelCollection; exports.ImportModelInputBase = ImportModelInputBase; exports.ImportModelInputCollection = ImportModelInputCollection; exports.ImportWarning = ImportWarning; exports.ImportWarningType = ImportWarningType; exports.ImportedFigmaSourceData = ImportedFigmaSourceData; exports.IntegrationAuthType = IntegrationAuthType; exports.IntegrationTokenSchema = IntegrationTokenSchema; exports.IntegrationUserInfo = IntegrationUserInfo; exports.InternalStatus = InternalStatus; exports.InternalStatusSchema = InternalStatusSchema; exports.InvoiceCouponSchema = InvoiceCouponSchema; exports.InvoiceLineSchema = InvoiceLineSchema; exports.InvoiceSchema = InvoiceSchema; exports.LetterSpacingTokenData = LetterSpacingTokenData; exports.LetterSpacingUnit = LetterSpacingUnit; exports.LetterSpacingValue = LetterSpacingValue; exports.LineHeightTokenData = LineHeightTokenData; exports.LineHeightUnit = LineHeightUnit; exports.LineHeightValue = LineHeightValue; exports.MAX_MEMBERS_COUNT = MAX_MEMBERS_COUNT; exports.NpmPackage = NpmPackage; exports.NpmProxyToken = NpmProxyToken; exports.NpmProxyTokenPayload = NpmProxyTokenPayload; exports.NpmRegistrCustomAuthConfig = NpmRegistrCustomAuthConfig; exports.NpmRegistryAuthConfig = NpmRegistryAuthConfig; exports.NpmRegistryAuthType = NpmRegistryAuthType; exports.NpmRegistryBasicAuthConfig = NpmRegistryBasicAuthConfig; exports.NpmRegistryBearerAuthConfig = NpmRegistryBearerAuthConfig; exports.NpmRegistryConfig = NpmRegistryConfig; exports.NpmRegistryNoAuthConfig = NpmRegistryNoAuthConfig; exports.NpmRegistryType = NpmRegistryType; exports.OAuthProvider = OAuthProvider; exports.OAuthProviderNames = OAuthProviderNames; exports.OAuthProviderSchema = OAuthProviderSchema; exports.ObjectMeta = ObjectMeta; exports.OpacityTokenData = OpacityTokenData; exports.OpacityValue = OpacityValue; exports.PageBlockAlignment = PageBlockAlignment; exports.PageBlockAppearanceV2 = PageBlockAppearanceV2; exports.PageBlockAsset = PageBlockAsset; exports.PageBlockAssetComponent = PageBlockAssetComponent; exports.PageBlockAssetType = PageBlockAssetType; exports.PageBlockBehaviorDataType = PageBlockBehaviorDataType; exports.PageBlockBehaviorSelectionType = PageBlockBehaviorSelectionType; exports.PageBlockCalloutType = PageBlockCalloutType; exports.PageBlockCategory = PageBlockCategory; exports.PageBlockCodeLanguage = PageBlockCodeLanguage; exports.PageBlockCustomBlockPropertyImageValue = PageBlockCustomBlockPropertyImageValue; exports.PageBlockCustomBlockPropertyValue = PageBlockCustomBlockPropertyValue; exports.PageBlockDataV2 = PageBlockDataV2; exports.PageBlockDefinition = PageBlockDefinition; exports.PageBlockDefinitionAppearance = PageBlockDefinitionAppearance; exports.PageBlockDefinitionBehavior = PageBlockDefinitionBehavior; exports.PageBlockDefinitionBooleanPropertyStyle = PageBlockDefinitionBooleanPropertyStyle; exports.PageBlockDefinitionItem = PageBlockDefinitionItem; exports.PageBlockDefinitionLayout = PageBlockDefinitionLayout; exports.PageBlockDefinitionLayoutAlign = PageBlockDefinitionLayoutAlign; exports.PageBlockDefinitionLayoutBase = PageBlockDefinitionLayoutBase; exports.PageBlockDefinitionLayoutGap = PageBlockDefinitionLayoutGap; exports.PageBlockDefinitionLayoutResizing = PageBlockDefinitionLayoutResizing; exports.PageBlockDefinitionLayoutType = PageBlockDefinitionLayoutType; exports.PageBlockDefinitionMultiRichTextPropertyStyle = PageBlockDefinitionMultiRichTextPropertyStyle; exports.PageBlockDefinitionMultiSelectPropertyStyle = PageBlockDefinitionMultiSelectPropertyStyle; exports.PageBlockDefinitionOnboarding = PageBlockDefinitionOnboarding; exports.PageBlockDefinitionProperty = PageBlockDefinitionProperty; exports.PageBlockDefinitionPropertyOptions = PageBlockDefinitionPropertyOptions; exports.PageBlockDefinitionPropertyType = PageBlockDefinitionPropertyType; exports.PageBlockDefinitionRichTextPropertyStyle = PageBlockDefinitionRichTextPropertyStyle; exports.PageBlockDefinitionSingleSelectPropertyStyle = PageBlockDefinitionSingleSelectPropertyStyle; exports.PageBlockDefinitionTextPropertyStyle = PageBlockDefinitionTextPropertyStyle; exports.PageBlockDefinitionVariant = PageBlockDefinitionVariant; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageBlockEditorModelV2 = PageBlockEditorModelV2; exports.PageBlockFigmaFrameProperties = PageBlockFigmaFrameProperties; exports.PageBlockFrame = PageBlockFrame; exports.PageBlockFrameOrigin = PageBlockFrameOrigin; exports.PageBlockImageAlignment = PageBlockImageAlignment; exports.PageBlockImageType = PageBlockImageType; exports.PageBlockItemEmbedPropertyValue = PageBlockItemEmbedPropertyValue; exports.PageBlockItemImageReference = PageBlockItemImageReference; exports.PageBlockItemImageValue = PageBlockItemImageValue; exports.PageBlockItemMultiRichTextPropertyValue = PageBlockItemMultiRichTextPropertyValue; exports.PageBlockItemRichTextPropertyValue = PageBlockItemRichTextPropertyValue; exports.PageBlockItemTextPropertyValue = PageBlockItemTextPropertyValue; exports.PageBlockItemUntypedPropertyValue = PageBlockItemUntypedPropertyValue; exports.PageBlockItemV2 = PageBlockItemV2; exports.PageBlockLinkPreview = PageBlockLinkPreview; exports.PageBlockLinkType = PageBlockLinkType; exports.PageBlockLinkV2 = PageBlockLinkV2; exports.PageBlockRenderCodeProperties = PageBlockRenderCodeProperties; exports.PageBlockShortcut = PageBlockShortcut; exports.PageBlockTableColumn = PageBlockTableColumn; exports.PageBlockTableProperties = PageBlockTableProperties; exports.PageBlockText = PageBlockText; exports.PageBlockTextSpan = PageBlockTextSpan; exports.PageBlockTextSpanAttribute = PageBlockTextSpanAttribute; exports.PageBlockTextSpanAttributeType = PageBlockTextSpanAttributeType; exports.PageBlockTheme = PageBlockTheme; exports.PageBlockThemeType = PageBlockThemeType; exports.PageBlockTilesAlignment = PageBlockTilesAlignment; exports.PageBlockTilesLayout = PageBlockTilesLayout; exports.PageBlockTypeV1 = PageBlockTypeV1; exports.PageBlockUrlPreview = PageBlockUrlPreview; exports.PageBlockV1 = PageBlockV1; exports.PageBlockV2 = PageBlockV2; exports.ParagraphIndentTokenData = ParagraphIndentTokenData; exports.ParagraphIndentUnit = ParagraphIndentUnit; exports.ParagraphIndentValue = ParagraphIndentValue; exports.ParagraphSpacingTokenData = ParagraphSpacingTokenData; exports.ParagraphSpacingUnit = ParagraphSpacingUnit; exports.ParagraphSpacingValue = ParagraphSpacingValue; exports.PeriodSchema = PeriodSchema; exports.PersonalAccessToken = PersonalAccessToken; exports.PluginOAuthRequestSchema = PluginOAuthRequestSchema; exports.Point2D = Point2D; exports.PostStripeCheckoutBodyInputSchema = PostStripeCheckoutBodyInputSchema; exports.PostStripeCheckoutOutputSchema = PostStripeCheckoutOutputSchema; exports.PostStripePortalSessionBodyInputSchema = PostStripePortalSessionBodyInputSchema; exports.PostStripePortalSessionOutputSchema = PostStripePortalSessionOutputSchema; exports.PostStripePortalUpdateSessionBodyInputSchema = PostStripePortalUpdateSessionBodyInputSchema; exports.PriceSchema = PriceSchema; exports.ProductCode = ProductCode; exports.ProductCodeSchema = ProductCodeSchema; exports.ProductCopyTokenData = ProductCopyTokenData; exports.ProductCopyValue = ProductCopyValue; exports.PublishedDoc = PublishedDoc; exports.PublishedDocEnvironment = PublishedDocEnvironment; exports.PublishedDocRoutingVersion = PublishedDocRoutingVersion; exports.PublishedDocsChecksums = PublishedDocsChecksums; exports.PulsarContributionBlock = PulsarContributionBlock; exports.PulsarContributionConfigurationProperty = PulsarContributionConfigurationProperty; exports.PulsarContributionVariant = PulsarContributionVariant; exports.PulsarPropertyType = PulsarPropertyType; exports.SHORT_PERSISTENT_ID_LENGTH = SHORT_PERSISTENT_ID_LENGTH; exports.Session = Session; exports.SessionData = SessionData; exports.ShadowLayerValue = ShadowLayerValue; exports.ShadowTokenData = ShadowTokenData; exports.ShadowType = ShadowType; exports.ShallowDesignElement = ShallowDesignElement; exports.Size = Size; exports.SizeOrUndefined = SizeOrUndefined; exports.SizeTokenData = SizeTokenData; exports.SizeUnit = SizeUnit; exports.SizeValue = SizeValue; exports.SourceImportComponentSummary = SourceImportComponentSummary; exports.SourceImportFrameSummary = SourceImportFrameSummary; exports.SourceImportSummary = SourceImportSummary; exports.SourceImportSummaryByTokenType = SourceImportSummaryByTokenType; exports.SourceImportTokenSummary = SourceImportTokenSummary; exports.SpaceTokenData = SpaceTokenData; exports.SpaceUnit = SpaceUnit; exports.SpaceValue = SpaceValue; exports.SsoProvider = SsoProvider; exports.StringTokenData = StringTokenData; exports.StringValue = StringValue; exports.StripeSubscriptionStatus = StripeSubscriptionStatus; exports.StripeSubscriptionStatusSchema = StripeSubscriptionStatusSchema; exports.Subscription = Subscription; exports.TextCase = TextCase; exports.TextCaseTokenData = TextCaseTokenData; exports.TextCaseValue = TextCaseValue; exports.TextDecoration = TextDecoration; exports.TextDecorationTokenData = TextDecorationTokenData; exports.TextDecorationValue = TextDecorationValue; exports.Theme = Theme; exports.ThemeElementData = ThemeElementData; exports.ThemeImportModel = ThemeImportModel; exports.ThemeImportModelInput = ThemeImportModelInput; exports.ThemeOrigin = ThemeOrigin; exports.ThemeOriginObject = ThemeOriginObject; exports.ThemeOriginPart = ThemeOriginPart; exports.ThemeOriginSource = ThemeOriginSource; exports.ThemeOverride = ThemeOverride; exports.ThemeOverrideImportModel = ThemeOverrideImportModel; exports.ThemeOverrideImportModelBase = ThemeOverrideImportModelBase; exports.ThemeOverrideImportModelInput = ThemeOverrideImportModelInput; exports.ThemeOverrideOrigin = ThemeOverrideOrigin; exports.ThemeOverrideOriginPart = ThemeOverrideOriginPart; exports.ThemeUpdateImportModel = ThemeUpdateImportModel; exports.ThemeUpdateImportModelInput = ThemeUpdateImportModelInput; exports.TokenDataAliasSchema = TokenDataAliasSchema; exports.TypographyTokenData = TypographyTokenData; exports.TypographyValue = TypographyValue; exports.UrlImageImportModel = UrlImageImportModel; exports.User = User; exports.UserIdentity = UserIdentity; exports.UserInvite = UserInvite; exports.UserInvites = UserInvites; exports.UserLinkedIntegrations = UserLinkedIntegrations; exports.UserOnboarding = UserOnboarding; exports.UserOnboardingDepartment = UserOnboardingDepartment; exports.UserOnboardingJobLevel = UserOnboardingJobLevel; exports.UserProfile = UserProfile; exports.UserSession = UserSession; exports.Visibility = Visibility; exports.VisibilityTokenData = VisibilityTokenData; exports.VisibilityValue = VisibilityValue; exports.Workspace = Workspace; exports.WorkspaceContext = WorkspaceContext; exports.WorkspaceInvitation = WorkspaceInvitation; exports.WorkspaceIpSettings = WorkspaceIpSettings; exports.WorkspaceIpWhitelistEntry = WorkspaceIpWhitelistEntry; exports.WorkspaceMembership = WorkspaceMembership; exports.WorkspaceProfile = WorkspaceProfile; exports.WorkspaceRole = WorkspaceRole; exports.WorkspaceRoleSchema = WorkspaceRoleSchema; exports.WorkspaceWithDesignSystems = WorkspaceWithDesignSystems; exports.ZIndexTokenData = ZIndexTokenData; exports.ZIndexUnit = ZIndexUnit; exports.ZIndexValue = ZIndexValue; exports.addImportModelCollections = addImportModelCollections; exports.blockDefinitionForBlock = blockDefinitionForBlock; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.designTokenImportModelTypeFilter = designTokenImportModelTypeFilter; exports.designTokenTypeFilter = designTokenTypeFilter; exports.extractTokenTypedData = extractTokenTypedData; exports.figmaFileStructureImportModelToMap = figmaFileStructureImportModelToMap; exports.figmaFileStructureToMap = figmaFileStructureToMap; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.isDesignTokenImportModelOfType = isDesignTokenImportModelOfType; exports.isDesignTokenOfType = isDesignTokenOfType; exports.isImportedAsset = isImportedAsset; exports.isImportedComponent = isImportedComponent; exports.isImportedDesignToken = isImportedDesignToken; exports.isTokenType = isTokenType; exports.nullishToOptional = nullishToOptional; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToBlock = prosemirrorNodeToBlock; exports.publishedDocEnvironments = publishedDocEnvironments; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.tokenAliasOrValue = tokenAliasOrValue; exports.tokenElementTypes = tokenElementTypes; exports.traversePageBlocksV1 = traversePageBlocksV1; exports.traverseStructure = traverseStructure; exports.tryParseShortPersistentId = tryParseShortPersistentId; exports.yXmlFragmetToPage = yXmlFragmetToPage; exports.zodCreateInputOmit = zodCreateInputOmit; exports.zodUpdateInputOmit = zodUpdateInputOmit;
6257
+
6258
+
6259
+
6260
+
6261
+
6262
+
6263
+
6264
+
6265
+
6266
+
6267
+
6268
+
6269
+
6270
+
6271
+
6272
+
6273
+
6274
+
6275
+
6276
+ exports.Address = Address; exports.Asset = Asset; exports.AssetFontProperties = AssetFontProperties; exports.AssetImportModelInput = AssetImportModelInput; exports.AssetOrigin = AssetOrigin; exports.AssetProperties = AssetProperties; exports.AssetReference = AssetReference; exports.AssetScope = AssetScope; exports.AssetType = AssetType; exports.AssetValue = AssetValue; exports.AuthTokens = AuthTokens; exports.BasePulsarProperty = BasePulsarProperty; exports.BillingDetails = BillingDetails; exports.BillingIntervalSchema = BillingIntervalSchema; exports.BillingType = BillingType; exports.BillingTypeSchema = BillingTypeSchema; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BlurTokenData = BlurTokenData; exports.BlurType = BlurType; exports.BlurValue = BlurValue; exports.BorderPosition = BorderPosition; exports.BorderRadiusTokenData = BorderRadiusTokenData; exports.BorderRadiusUnit = BorderRadiusUnit; exports.BorderRadiusValue = BorderRadiusValue; exports.BorderStyle = BorderStyle; exports.BorderTokenData = BorderTokenData; exports.BorderValue = BorderValue; exports.BorderWidthTokenData = BorderWidthTokenData; exports.BorderWidthUnit = BorderWidthUnit; exports.BorderWidthValue = BorderWidthValue; exports.BrandedElementGroup = BrandedElementGroup; exports.CardSchema = CardSchema; exports.ChangedImportedFigmaSourceData = ChangedImportedFigmaSourceData; exports.ColorTokenData = ColorTokenData; exports.ColorTokenInlineData = ColorTokenInlineData; exports.ColorValue = ColorValue; exports.Component = Component; exports.ComponentElementData = ComponentElementData; exports.ComponentImportModel = ComponentImportModel; exports.ComponentImportModelInput = ComponentImportModelInput; exports.ComponentOrigin = ComponentOrigin; exports.ComponentOriginPart = ComponentOriginPart; exports.ContentLoadInstruction = ContentLoadInstruction; exports.ContentLoaderPayload = ContentLoaderPayload; exports.CreateDesignToken = CreateDesignToken; exports.CreateWorkspaceInput = CreateWorkspaceInput; exports.CustomDomain = CustomDomain; exports.Customer = Customer; exports.DataSourceAutoImportMode = DataSourceAutoImportMode; exports.DataSourceFigmaFileData = DataSourceFigmaFileData; exports.DataSourceFigmaFileVersionData = DataSourceFigmaFileVersionData; exports.DataSourceFigmaImportMetadata = DataSourceFigmaImportMetadata; exports.DataSourceFigmaRemote = DataSourceFigmaRemote; exports.DataSourceFigmaScope = DataSourceFigmaScope; exports.DataSourceFigmaState = DataSourceFigmaState; exports.DataSourceImportModel = DataSourceImportModel; exports.DataSourceRemote = DataSourceRemote; exports.DataSourceRemoteType = DataSourceRemoteType; exports.DataSourceStats = DataSourceStats; exports.DataSourceTokenStudioRemote = DataSourceTokenStudioRemote; exports.DataSourceUploadImportMetadata = DataSourceUploadImportMetadata; exports.DataSourceUploadRemote = DataSourceUploadRemote; exports.DataSourceUploadRemoteSource = DataSourceUploadRemoteSource; exports.DataSourceVersion = DataSourceVersion; exports.DesignElement = DesignElement; exports.DesignElementBase = DesignElementBase; exports.DesignElementBrandedPart = DesignElementBrandedPart; exports.DesignElementCategory = DesignElementCategory; exports.DesignElementGroupableBase = DesignElementGroupableBase; exports.DesignElementGroupablePart = DesignElementGroupablePart; exports.DesignElementGroupableRequiredPart = DesignElementGroupableRequiredPart; exports.DesignElementImportedBase = DesignElementImportedBase; exports.DesignElementOrigin = DesignElementOrigin; exports.DesignElementSlugPart = DesignElementSlugPart; exports.DesignElementType = DesignElementType; exports.DesignSystem = DesignSystem; exports.DesignSystemCreateInput = DesignSystemCreateInput; exports.DesignSystemElementExportProps = DesignSystemElementExportProps; exports.DesignSystemSwitcher = DesignSystemSwitcher; exports.DesignSystemUpdateInput = DesignSystemUpdateInput; exports.DesignSystemVersionRoom = DesignSystemVersionRoom; exports.DesignSystemWithWorkspace = DesignSystemWithWorkspace; exports.DesignToken = DesignToken; exports.DesignTokenImportModel = DesignTokenImportModel; exports.DesignTokenImportModelBase = DesignTokenImportModelBase; exports.DesignTokenImportModelInput = DesignTokenImportModelInput; exports.DesignTokenImportModelInputBase = DesignTokenImportModelInputBase; exports.DesignTokenOrigin = DesignTokenOrigin; exports.DesignTokenOriginPart = DesignTokenOriginPart; exports.DesignTokenType = DesignTokenType; exports.DesignTokenTypedData = DesignTokenTypedData; exports.DimensionTokenData = DimensionTokenData; exports.DimensionUnit = DimensionUnit; exports.DimensionValue = DimensionValue; exports.DocumentationGroupBehavior = DocumentationGroupBehavior; exports.DocumentationGroupDTO = DocumentationGroupDTO; exports.DocumentationItemConfiguration = DocumentationItemConfiguration; exports.DocumentationPage = DocumentationPage; exports.DocumentationPageDTOV1 = DocumentationPageDTOV1; exports.DocumentationPageDataV1 = DocumentationPageDataV1; exports.DocumentationPageDataV2 = DocumentationPageDataV2; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageElementDataV1 = DocumentationPageElementDataV1; exports.DocumentationPageElementDataV2 = DocumentationPageElementDataV2; exports.DocumentationPageGroup = DocumentationPageGroup; exports.DocumentationPageRoom = DocumentationPageRoom; exports.DocumentationPageV1 = DocumentationPageV1; exports.DocumentationPageV2 = DocumentationPageV2; exports.DurationTokenData = DurationTokenData; exports.DurationUnit = DurationUnit; exports.DurationValue = DurationValue; exports.ElementGroup = ElementGroup; exports.ElementGroupData = ElementGroupData; exports.ElementGroupElementData = ElementGroupElementData; exports.ElementPropertyDefinition = ElementPropertyDefinition; exports.ElementPropertyDefinitionOption = ElementPropertyDefinitionOption; exports.ElementPropertyLinkType = ElementPropertyLinkType; exports.ElementPropertyTargetType = ElementPropertyTargetType; exports.ElementPropertyType = ElementPropertyType; exports.ElementPropertyValue = ElementPropertyValue; exports.Entity = Entity; exports.ExportJob = ExportJob; exports.ExportJobStatus = ExportJobStatus; exports.Exporter = Exporter; exports.ExporterDetails = ExporterDetails; exports.ExporterSource = ExporterSource; exports.ExporterTag = ExporterTag; exports.ExporterType = ExporterType; exports.ExporterWorkspaceMembership = ExporterWorkspaceMembership; exports.ExporterWorkspaceMembershipRole = ExporterWorkspaceMembershipRole; exports.ExternalOAuthRequest = ExternalOAuthRequest; exports.ExternalServiceType = ExternalServiceType; exports.FeatureFlag = FeatureFlag; exports.FeatureFlagMap = FeatureFlagMap; exports.FeaturesSummary = FeaturesSummary; exports.FigmaFileAccessData = FigmaFileAccessData; exports.FigmaFileDownloadScope = FigmaFileDownloadScope; exports.FigmaFileStructure = FigmaFileStructure; exports.FigmaFileStructureData = FigmaFileStructureData; exports.FigmaFileStructureElementData = FigmaFileStructureElementData; exports.FigmaFileStructureImportModel = FigmaFileStructureImportModel; exports.FigmaFileStructureImportModelInput = FigmaFileStructureImportModelInput; exports.FigmaFileStructureNode = FigmaFileStructureNode; exports.FigmaFileStructureNodeBase = FigmaFileStructureNodeBase; exports.FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModel; exports.FigmaFileStructureNodeType = FigmaFileStructureNodeType; exports.FigmaFileStructureOrigin = FigmaFileStructureOrigin; exports.FigmaFileStructureStatistics = FigmaFileStructureStatistics; exports.FigmaImportBaseContext = FigmaImportBaseContext; exports.FigmaImportContextWithDownloadScopes = FigmaImportContextWithDownloadScopes; exports.FigmaNodeReference = FigmaNodeReference; exports.FigmaNodeReferenceData = FigmaNodeReferenceData; exports.FigmaNodeReferenceElementData = FigmaNodeReferenceElementData; exports.FigmaPngRenderImportModel = FigmaPngRenderImportModel; exports.FigmaRenderFormat = FigmaRenderFormat; exports.FigmaRenderImportModel = FigmaRenderImportModel; exports.FigmaSvgRenderImportModel = FigmaSvgRenderImportModel; exports.FileStructureStats = FileStructureStats; exports.FlaggedFeature = FlaggedFeature; exports.FontFamilyTokenData = FontFamilyTokenData; exports.FontFamilyValue = FontFamilyValue; exports.FontSizeTokenData = FontSizeTokenData; exports.FontSizeUnit = FontSizeUnit; exports.FontSizeValue = FontSizeValue; exports.FontWeightTokenData = FontWeightTokenData; exports.FontWeightValue = FontWeightValue; exports.GetBlockDefinitionsResponse = GetBlockDefinitionsResponse; exports.GitProvider = GitProvider; exports.GitProviderNames = GitProviderNames; exports.GradientLayerData = GradientLayerData; exports.GradientLayerValue = GradientLayerValue; exports.GradientStop = GradientStop; exports.GradientTokenData = GradientTokenData; exports.GradientTokenValue = GradientTokenValue; exports.GradientType = GradientType; exports.HANDLE_MAX_LENGTH = HANDLE_MAX_LENGTH; exports.HANDLE_MIN_LENGTH = HANDLE_MIN_LENGTH; exports.ImageImportModel = ImageImportModel; exports.ImageImportModelType = ImageImportModelType; exports.ImportFunctionInput = ImportFunctionInput; exports.ImportJob = ImportJob; exports.ImportJobOperation = ImportJobOperation; exports.ImportJobState = ImportJobState; exports.ImportModelBase = ImportModelBase; exports.ImportModelCollection = ImportModelCollection; exports.ImportModelInputBase = ImportModelInputBase; exports.ImportModelInputCollection = ImportModelInputCollection; exports.ImportWarning = ImportWarning; exports.ImportWarningType = ImportWarningType; exports.ImportedFigmaSourceData = ImportedFigmaSourceData; exports.IntegrationAuthType = IntegrationAuthType; exports.IntegrationTokenSchema = IntegrationTokenSchema; exports.IntegrationUserInfo = IntegrationUserInfo; exports.InternalStatus = InternalStatus; exports.InternalStatusSchema = InternalStatusSchema; exports.InvoiceCouponSchema = InvoiceCouponSchema; exports.InvoiceLineSchema = InvoiceLineSchema; exports.InvoiceSchema = InvoiceSchema; exports.LetterSpacingTokenData = LetterSpacingTokenData; exports.LetterSpacingUnit = LetterSpacingUnit; exports.LetterSpacingValue = LetterSpacingValue; exports.LineHeightTokenData = LineHeightTokenData; exports.LineHeightUnit = LineHeightUnit; exports.LineHeightValue = LineHeightValue; exports.MAX_MEMBERS_COUNT = MAX_MEMBERS_COUNT; exports.NpmPackage = NpmPackage; exports.NpmProxyToken = NpmProxyToken; exports.NpmProxyTokenPayload = NpmProxyTokenPayload; exports.NpmRegistrCustomAuthConfig = NpmRegistrCustomAuthConfig; exports.NpmRegistryAuthConfig = NpmRegistryAuthConfig; exports.NpmRegistryAuthType = NpmRegistryAuthType; exports.NpmRegistryBasicAuthConfig = NpmRegistryBasicAuthConfig; exports.NpmRegistryBearerAuthConfig = NpmRegistryBearerAuthConfig; exports.NpmRegistryConfig = NpmRegistryConfig; exports.NpmRegistryNoAuthConfig = NpmRegistryNoAuthConfig; exports.NpmRegistryType = NpmRegistryType; exports.OAuthProvider = OAuthProvider; exports.OAuthProviderNames = OAuthProviderNames; exports.OAuthProviderSchema = OAuthProviderSchema; exports.ObjectMeta = ObjectMeta; exports.OpacityTokenData = OpacityTokenData; exports.OpacityValue = OpacityValue; exports.PageBlockAlignment = PageBlockAlignment; exports.PageBlockAppearanceV2 = PageBlockAppearanceV2; exports.PageBlockAsset = PageBlockAsset; exports.PageBlockAssetComponent = PageBlockAssetComponent; exports.PageBlockAssetType = PageBlockAssetType; exports.PageBlockBehaviorDataType = PageBlockBehaviorDataType; exports.PageBlockBehaviorSelectionType = PageBlockBehaviorSelectionType; exports.PageBlockCalloutType = PageBlockCalloutType; exports.PageBlockCategory = PageBlockCategory; exports.PageBlockCodeLanguage = PageBlockCodeLanguage; exports.PageBlockCustomBlockPropertyImageValue = PageBlockCustomBlockPropertyImageValue; exports.PageBlockCustomBlockPropertyValue = PageBlockCustomBlockPropertyValue; exports.PageBlockDataV2 = PageBlockDataV2; exports.PageBlockDefinition = PageBlockDefinition; exports.PageBlockDefinitionAppearance = PageBlockDefinitionAppearance; exports.PageBlockDefinitionBehavior = PageBlockDefinitionBehavior; exports.PageBlockDefinitionBooleanPropertyStyle = PageBlockDefinitionBooleanPropertyStyle; exports.PageBlockDefinitionItem = PageBlockDefinitionItem; exports.PageBlockDefinitionLayout = PageBlockDefinitionLayout; exports.PageBlockDefinitionLayoutAlign = PageBlockDefinitionLayoutAlign; exports.PageBlockDefinitionLayoutBase = PageBlockDefinitionLayoutBase; exports.PageBlockDefinitionLayoutGap = PageBlockDefinitionLayoutGap; exports.PageBlockDefinitionLayoutResizing = PageBlockDefinitionLayoutResizing; exports.PageBlockDefinitionLayoutType = PageBlockDefinitionLayoutType; exports.PageBlockDefinitionMultiRichTextPropertyStyle = PageBlockDefinitionMultiRichTextPropertyStyle; exports.PageBlockDefinitionMultiSelectPropertyStyle = PageBlockDefinitionMultiSelectPropertyStyle; exports.PageBlockDefinitionOnboarding = PageBlockDefinitionOnboarding; exports.PageBlockDefinitionProperty = PageBlockDefinitionProperty; exports.PageBlockDefinitionPropertyOptions = PageBlockDefinitionPropertyOptions; exports.PageBlockDefinitionPropertyType = PageBlockDefinitionPropertyType; exports.PageBlockDefinitionRichTextPropertyStyle = PageBlockDefinitionRichTextPropertyStyle; exports.PageBlockDefinitionSingleSelectPropertyStyle = PageBlockDefinitionSingleSelectPropertyStyle; exports.PageBlockDefinitionTextPropertyStyle = PageBlockDefinitionTextPropertyStyle; exports.PageBlockDefinitionVariant = PageBlockDefinitionVariant; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageBlockEditorModelV2 = PageBlockEditorModelV2; exports.PageBlockFigmaFrameProperties = PageBlockFigmaFrameProperties; exports.PageBlockFrame = PageBlockFrame; exports.PageBlockFrameOrigin = PageBlockFrameOrigin; exports.PageBlockImageAlignment = PageBlockImageAlignment; exports.PageBlockImageType = PageBlockImageType; exports.PageBlockItemAssetPropertyValue = PageBlockItemAssetPropertyValue; exports.PageBlockItemAssetValue = PageBlockItemAssetValue; exports.PageBlockItemBooleanValue = PageBlockItemBooleanValue; exports.PageBlockItemCodeValue = PageBlockItemCodeValue; exports.PageBlockItemColorValue = PageBlockItemColorValue; exports.PageBlockItemComponentPropertyValue = PageBlockItemComponentPropertyValue; exports.PageBlockItemComponentValue = PageBlockItemComponentValue; exports.PageBlockItemDividerValue = PageBlockItemDividerValue; exports.PageBlockItemEmbedValue = PageBlockItemEmbedValue; exports.PageBlockItemImageReference = PageBlockItemImageReference; exports.PageBlockItemImageValue = PageBlockItemImageValue; exports.PageBlockItemMarkdownValue = PageBlockItemMarkdownValue; exports.PageBlockItemMultiRichTextValue = PageBlockItemMultiRichTextValue; exports.PageBlockItemMultiSelectValue = PageBlockItemMultiSelectValue; exports.PageBlockItemNumberValue = PageBlockItemNumberValue; exports.PageBlockItemRichTextValue = PageBlockItemRichTextValue; exports.PageBlockItemSandboxValue = PageBlockItemSandboxValue; exports.PageBlockItemSingleSelectValue = PageBlockItemSingleSelectValue; exports.PageBlockItemStorybookValue = PageBlockItemStorybookValue; exports.PageBlockItemTableValue = PageBlockItemTableValue; exports.PageBlockItemTextValue = PageBlockItemTextValue; exports.PageBlockItemTokenPropertyValue = PageBlockItemTokenPropertyValue; exports.PageBlockItemTokenTypeValue = PageBlockItemTokenTypeValue; exports.PageBlockItemTokenValue = PageBlockItemTokenValue; exports.PageBlockItemUntypedValue = PageBlockItemUntypedValue; exports.PageBlockItemUrlValue = PageBlockItemUrlValue; exports.PageBlockItemV2 = PageBlockItemV2; exports.PageBlockLinkPreview = PageBlockLinkPreview; exports.PageBlockLinkType = PageBlockLinkType; exports.PageBlockLinkV2 = PageBlockLinkV2; exports.PageBlockRenderCodeProperties = PageBlockRenderCodeProperties; exports.PageBlockShortcut = PageBlockShortcut; exports.PageBlockTableColumn = PageBlockTableColumn; exports.PageBlockTableProperties = PageBlockTableProperties; exports.PageBlockText = PageBlockText; exports.PageBlockTextSpan = PageBlockTextSpan; exports.PageBlockTextSpanAttribute = PageBlockTextSpanAttribute; exports.PageBlockTextSpanAttributeType = PageBlockTextSpanAttributeType; exports.PageBlockTheme = PageBlockTheme; exports.PageBlockThemeType = PageBlockThemeType; exports.PageBlockTilesAlignment = PageBlockTilesAlignment; exports.PageBlockTilesLayout = PageBlockTilesLayout; exports.PageBlockTypeV1 = PageBlockTypeV1; exports.PageBlockUrlPreview = PageBlockUrlPreview; exports.PageBlockV1 = PageBlockV1; exports.PageBlockV2 = PageBlockV2; exports.ParagraphIndentTokenData = ParagraphIndentTokenData; exports.ParagraphIndentUnit = ParagraphIndentUnit; exports.ParagraphIndentValue = ParagraphIndentValue; exports.ParagraphSpacingTokenData = ParagraphSpacingTokenData; exports.ParagraphSpacingUnit = ParagraphSpacingUnit; exports.ParagraphSpacingValue = ParagraphSpacingValue; exports.PeriodSchema = PeriodSchema; exports.PersonalAccessToken = PersonalAccessToken; exports.PluginOAuthRequestSchema = PluginOAuthRequestSchema; exports.Point2D = Point2D; exports.PostStripeCheckoutBodyInputSchema = PostStripeCheckoutBodyInputSchema; exports.PostStripeCheckoutOutputSchema = PostStripeCheckoutOutputSchema; exports.PostStripePortalSessionBodyInputSchema = PostStripePortalSessionBodyInputSchema; exports.PostStripePortalSessionOutputSchema = PostStripePortalSessionOutputSchema; exports.PostStripePortalUpdateSessionBodyInputSchema = PostStripePortalUpdateSessionBodyInputSchema; exports.PriceSchema = PriceSchema; exports.ProductCode = ProductCode; exports.ProductCodeSchema = ProductCodeSchema; exports.ProductCopyTokenData = ProductCopyTokenData; exports.ProductCopyValue = ProductCopyValue; exports.PublishedDoc = PublishedDoc; exports.PublishedDocEnvironment = PublishedDocEnvironment; exports.PublishedDocRoutingVersion = PublishedDocRoutingVersion; exports.PublishedDocsChecksums = PublishedDocsChecksums; exports.PulsarContributionBlock = PulsarContributionBlock; exports.PulsarContributionConfigurationProperty = PulsarContributionConfigurationProperty; exports.PulsarContributionVariant = PulsarContributionVariant; exports.PulsarPropertyType = PulsarPropertyType; exports.SHORT_PERSISTENT_ID_LENGTH = SHORT_PERSISTENT_ID_LENGTH; exports.Session = Session; exports.SessionData = SessionData; exports.ShadowLayerValue = ShadowLayerValue; exports.ShadowTokenData = ShadowTokenData; exports.ShadowType = ShadowType; exports.ShallowDesignElement = ShallowDesignElement; exports.Size = Size; exports.SizeOrUndefined = SizeOrUndefined; exports.SizeTokenData = SizeTokenData; exports.SizeUnit = SizeUnit; exports.SizeValue = SizeValue; exports.SourceImportComponentSummary = SourceImportComponentSummary; exports.SourceImportFrameSummary = SourceImportFrameSummary; exports.SourceImportSummary = SourceImportSummary; exports.SourceImportSummaryByTokenType = SourceImportSummaryByTokenType; exports.SourceImportTokenSummary = SourceImportTokenSummary; exports.SpaceTokenData = SpaceTokenData; exports.SpaceUnit = SpaceUnit; exports.SpaceValue = SpaceValue; exports.SsoProvider = SsoProvider; exports.StringTokenData = StringTokenData; exports.StringValue = StringValue; exports.StripeSubscriptionStatus = StripeSubscriptionStatus; exports.StripeSubscriptionStatusSchema = StripeSubscriptionStatusSchema; exports.Subscription = Subscription; exports.TextCase = TextCase; exports.TextCaseTokenData = TextCaseTokenData; exports.TextCaseValue = TextCaseValue; exports.TextDecoration = TextDecoration; exports.TextDecorationTokenData = TextDecorationTokenData; exports.TextDecorationValue = TextDecorationValue; exports.Theme = Theme; exports.ThemeElementData = ThemeElementData; exports.ThemeImportModel = ThemeImportModel; exports.ThemeImportModelInput = ThemeImportModelInput; exports.ThemeOrigin = ThemeOrigin; exports.ThemeOriginObject = ThemeOriginObject; exports.ThemeOriginPart = ThemeOriginPart; exports.ThemeOriginSource = ThemeOriginSource; exports.ThemeOverride = ThemeOverride; exports.ThemeOverrideImportModel = ThemeOverrideImportModel; exports.ThemeOverrideImportModelBase = ThemeOverrideImportModelBase; exports.ThemeOverrideImportModelInput = ThemeOverrideImportModelInput; exports.ThemeOverrideOrigin = ThemeOverrideOrigin; exports.ThemeOverrideOriginPart = ThemeOverrideOriginPart; exports.ThemeUpdateImportModel = ThemeUpdateImportModel; exports.ThemeUpdateImportModelInput = ThemeUpdateImportModelInput; exports.TokenDataAliasSchema = TokenDataAliasSchema; exports.TypographyTokenData = TypographyTokenData; exports.TypographyValue = TypographyValue; exports.UrlImageImportModel = UrlImageImportModel; exports.User = User; exports.UserIdentity = UserIdentity; exports.UserInvite = UserInvite; exports.UserInvites = UserInvites; exports.UserLinkedIntegrations = UserLinkedIntegrations; exports.UserOnboarding = UserOnboarding; exports.UserOnboardingDepartment = UserOnboardingDepartment; exports.UserOnboardingJobLevel = UserOnboardingJobLevel; exports.UserProfile = UserProfile; exports.UserSession = UserSession; exports.Visibility = Visibility; exports.VisibilityTokenData = VisibilityTokenData; exports.VisibilityValue = VisibilityValue; exports.Workspace = Workspace; exports.WorkspaceContext = WorkspaceContext; exports.WorkspaceInvitation = WorkspaceInvitation; exports.WorkspaceIpSettings = WorkspaceIpSettings; exports.WorkspaceIpWhitelistEntry = WorkspaceIpWhitelistEntry; exports.WorkspaceMembership = WorkspaceMembership; exports.WorkspaceProfile = WorkspaceProfile; exports.WorkspaceRole = WorkspaceRole; exports.WorkspaceRoleSchema = WorkspaceRoleSchema; exports.WorkspaceWithDesignSystems = WorkspaceWithDesignSystems; exports.ZIndexTokenData = ZIndexTokenData; exports.ZIndexUnit = ZIndexUnit; exports.ZIndexValue = ZIndexValue; exports.addImportModelCollections = addImportModelCollections; exports.blockDefinitionForBlock = blockDefinitionForBlock; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.designTokenImportModelTypeFilter = designTokenImportModelTypeFilter; exports.designTokenTypeFilter = designTokenTypeFilter; exports.extractTokenTypedData = extractTokenTypedData; exports.figmaFileStructureImportModelToMap = figmaFileStructureImportModelToMap; exports.figmaFileStructureToMap = figmaFileStructureToMap; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.isDesignTokenImportModelOfType = isDesignTokenImportModelOfType; exports.isDesignTokenOfType = isDesignTokenOfType; exports.isImportedAsset = isImportedAsset; exports.isImportedComponent = isImportedComponent; exports.isImportedDesignToken = isImportedDesignToken; exports.isTokenType = isTokenType; exports.nullishToOptional = nullishToOptional; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToBlock = prosemirrorNodeToBlock; exports.publishedDocEnvironments = publishedDocEnvironments; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.tokenAliasOrValue = tokenAliasOrValue; exports.tokenElementTypes = tokenElementTypes; exports.traversePageBlocksV1 = traversePageBlocksV1; exports.traverseStructure = traverseStructure; exports.tryParseShortPersistentId = tryParseShortPersistentId; exports.yXmlFragmetToPage = yXmlFragmetToPage; exports.zodCreateInputOmit = zodCreateInputOmit; exports.zodUpdateInputOmit = zodUpdateInputOmit;
6131
6277
  //# sourceMappingURL=index.js.map