@supernova-studio/client 0.2.0 → 0.2.1

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.mjs CHANGED
@@ -249,6 +249,9 @@ var Asset = z13.object({
249
249
  properties: AssetProperties.nullish(),
250
250
  origin: AssetOrigin.nullish()
251
251
  });
252
+ function isImportedAsset(asset) {
253
+ return !!asset.origin;
254
+ }
252
255
 
253
256
  // ../model/src/dsm/data-sources/data-source.ts
254
257
  import { z as z14 } from "zod";
@@ -501,6 +504,9 @@ var DesignElementType = DesignTokenType.or(
501
504
  "PageBlock"
502
505
  ])
503
506
  );
507
+ function isTokenType(type) {
508
+ return DesignTokenType.safeParse(type).success;
509
+ }
504
510
  var DesignElementCategory = z27.enum([
505
511
  "Token",
506
512
  "Component",
@@ -856,6 +862,12 @@ var PageBlockV1 = PageBlockBaseV1.extend({
856
862
  () => PageBlockV1.array().nullish().transform((t) => t ?? [])
857
863
  )
858
864
  });
865
+ function traversePageBlocksV1(blocks2, action) {
866
+ for (const block of blocks2) {
867
+ action(block);
868
+ traversePageBlocksV1(block.children, action);
869
+ }
870
+ }
859
871
 
860
872
  // ../model/src/dsm/elements/data/documentation-block-v2.ts
861
873
  import { z as z33 } from "zod";
@@ -981,6 +993,16 @@ var FigmaFileStructureElementData = z38.object({
981
993
  assetsInFile: FigmaFileStructureStatistics
982
994
  })
983
995
  });
996
+ function figmaFileStructureToMap(root) {
997
+ const map = /* @__PURE__ */ new Map();
998
+ recursiveFigmaFileStructureToMap(root, map);
999
+ return map;
1000
+ }
1001
+ function recursiveFigmaFileStructureToMap(node, map) {
1002
+ map.set(node.id, node);
1003
+ for (const child of node.children)
1004
+ recursiveFigmaFileStructureToMap(child, map);
1005
+ }
984
1006
 
985
1007
  // ../model/src/dsm/elements/data/figma-node-reference.ts
986
1008
  import { z as z39 } from "zod";
@@ -1221,6 +1243,9 @@ var Component = DesignElementBase.extend(DesignElementGroupableRequiredPart.shap
1221
1243
  svg: ComponentAsset.optional(),
1222
1244
  isAsset: z60.boolean()
1223
1245
  });
1246
+ function isImportedComponent(component) {
1247
+ return !!component.origin;
1248
+ }
1224
1249
 
1225
1250
  // ../model/src/dsm/elements/documentation-page-v1.ts
1226
1251
  import { z as z61 } from "zod";
@@ -1259,6 +1284,12 @@ var FigmaFileStructure = DesignElementBase.extend({
1259
1284
  origin: FigmaFileStructureOrigin,
1260
1285
  data: FigmaFileStructureData
1261
1286
  });
1287
+ function traverseStructure(node, action) {
1288
+ action(node);
1289
+ for (const child of node.children) {
1290
+ traverseStructure(child, action);
1291
+ }
1292
+ }
1262
1293
 
1263
1294
  // ../model/src/dsm/elements/figma-node-reference.ts
1264
1295
  var FigmaNodeReference = DesignElementBase.extend({
@@ -1453,6 +1484,21 @@ var DesignTokenTypedData = z66.discriminatedUnion("type", [
1453
1484
  ]);
1454
1485
  var DesignToken = DesignTokenTypedData.and(DesignTokenBase);
1455
1486
  var CreateDesignToken = DesignTokenTypedData.and(CreateDesignTokenBase);
1487
+ function extractTokenTypedData(source) {
1488
+ return {
1489
+ type: source.type,
1490
+ data: source.data
1491
+ };
1492
+ }
1493
+ function isImportedDesignToken(designToken) {
1494
+ return !!designToken.origin;
1495
+ }
1496
+ function isDesignTokenOfType(designToken, type) {
1497
+ return designToken.type === type;
1498
+ }
1499
+ function designTokenTypeFilter(type) {
1500
+ return (designToken) => isDesignTokenOfType(designToken, type);
1501
+ }
1456
1502
 
1457
1503
  // ../model/src/dsm/elements/theme.ts
1458
1504
  var ThemeOverrideOriginPart = DesignTokenOriginPart;
@@ -1672,6 +1718,12 @@ var DesignTokenImportModelInputBase = ImportModelInputBase.extend(DesignTokenImp
1672
1718
  });
1673
1719
  var DesignTokenImportModel = DesignTokenTypedData.and(DesignTokenImportModelBase);
1674
1720
  var DesignTokenImportModelInput = DesignTokenTypedData.and(DesignTokenImportModelInputBase);
1721
+ function isDesignTokenImportModelOfType(designToken, type) {
1722
+ return designToken.type === type;
1723
+ }
1724
+ function designTokenImportModelTypeFilter(type) {
1725
+ return (designToken) => isDesignTokenImportModelOfType(designToken, type);
1726
+ }
1675
1727
 
1676
1728
  // ../model/src/dsm/import/figma-frames.ts
1677
1729
  import { z as z75 } from "zod";
@@ -1695,6 +1747,16 @@ var FigmaFileStructureImportModelInput = ImportModelInputBase.extend(
1695
1747
  ).extend({
1696
1748
  fileVersionId: z75.string()
1697
1749
  });
1750
+ function figmaFileStructureImportModelToMap(root) {
1751
+ const map = /* @__PURE__ */ new Map();
1752
+ recursiveFigmaFileStructureToMap2(root, map);
1753
+ return map;
1754
+ }
1755
+ function recursiveFigmaFileStructureToMap2(node, map) {
1756
+ map.set(node.id, node);
1757
+ for (const child of node.children)
1758
+ recursiveFigmaFileStructureToMap2(child, map);
1759
+ }
1698
1760
 
1699
1761
  // ../model/src/dsm/import/data-source.ts
1700
1762
  import { z as z76 } from "zod";
@@ -1722,6 +1784,16 @@ var ImportModelCollection = z77.object({
1722
1784
  themes: z77.array(ThemeImportModel).default([]),
1723
1785
  figmaFileStructures: z77.array(FigmaFileStructureImportModel)
1724
1786
  });
1787
+ function addImportModelCollections(lhs, rhs) {
1788
+ return {
1789
+ sources: [...lhs.sources, ...rhs.sources],
1790
+ tokens: [...lhs.tokens, ...rhs.tokens],
1791
+ components: [...lhs.components, ...rhs.components],
1792
+ themeUpdates: [...lhs.themeUpdates, ...rhs.themeUpdates],
1793
+ themes: [...lhs.themes, ...rhs.themes],
1794
+ figmaFileStructures: [...lhs.figmaFileStructures, ...rhs.figmaFileStructures]
1795
+ };
1796
+ }
1725
1797
 
1726
1798
  // ../model/src/dsm/import/warning.ts
1727
1799
  import { z as z78 } from "zod";
@@ -2219,6 +2291,14 @@ var DesignSystemUpdateInput = z97.object({
2219
2291
  docExporterId: z97.string().optional()
2220
2292
  });
2221
2293
 
2294
+ // ../model/src/dsm/published-doc-page.ts
2295
+ var SHORT_PERSISTENT_ID_LENGTH = 8;
2296
+ function tryParseShortPersistentId(url = "/") {
2297
+ const lastUrlPart = url.split("/").pop() || "";
2298
+ const shortPersistentId = lastUrlPart.split("-").pop()?.replaceAll(".html", "") || null;
2299
+ return shortPersistentId?.length === SHORT_PERSISTENT_ID_LENGTH ? shortPersistentId : null;
2300
+ }
2301
+
2222
2302
  // ../model/src/dsm/published-doc.ts
2223
2303
  import { z as z98 } from "zod";
2224
2304
  var publishedDocEnvironments = ["Live", "Preview"];
@@ -5903,20 +5983,433 @@ function mapByUnique(items, keyFn) {
5903
5983
  return result;
5904
5984
  }
5905
5985
  export {
5986
+ Address,
5987
+ Asset,
5988
+ AssetFontProperties,
5989
+ AssetImportModelInput,
5990
+ AssetOrigin,
5991
+ AssetProperties,
5992
+ AssetReference,
5993
+ AssetScope,
5994
+ AssetType,
5995
+ AssetValue,
5996
+ AuthTokens,
5997
+ BasePulsarProperty,
5998
+ BillingDetails,
5999
+ BillingIntervalSchema,
6000
+ BillingType,
6001
+ BillingTypeSchema,
5906
6002
  BlockDefinitionUtils,
5907
6003
  BlockParsingUtils,
6004
+ BlurTokenData,
6005
+ BlurType,
6006
+ BlurValue,
6007
+ BorderPosition,
6008
+ BorderRadiusTokenData,
6009
+ BorderRadiusUnit,
6010
+ BorderRadiusValue,
6011
+ BorderStyle,
6012
+ BorderTokenData,
6013
+ BorderValue,
6014
+ BorderWidthTokenData,
6015
+ BorderWidthUnit,
6016
+ BorderWidthValue,
6017
+ BrandedElementGroup,
6018
+ CardSchema,
6019
+ ChangedImportedFigmaSourceData,
6020
+ ColorTokenData,
6021
+ ColorTokenInlineData,
6022
+ ColorValue,
6023
+ Component,
6024
+ ComponentElementData,
6025
+ ComponentImportModel,
6026
+ ComponentImportModelInput,
6027
+ ComponentOrigin,
6028
+ ComponentOriginPart,
6029
+ ContentLoadInstruction,
6030
+ ContentLoaderPayload,
6031
+ CreateDesignToken,
6032
+ CreateWorkspaceInput,
6033
+ CustomDomain,
6034
+ Customer,
6035
+ DataSourceAutoImportMode,
6036
+ DataSourceFigmaFileData,
6037
+ DataSourceFigmaFileVersionData,
6038
+ DataSourceFigmaImportMetadata,
6039
+ DataSourceFigmaRemote,
6040
+ DataSourceFigmaScope,
6041
+ DataSourceFigmaState,
6042
+ DataSourceImportModel,
6043
+ DataSourceRemote,
6044
+ DataSourceRemoteType,
6045
+ DataSourceStats,
6046
+ DataSourceTokenStudioRemote,
6047
+ DataSourceUploadImportMetadata,
6048
+ DataSourceUploadRemote,
6049
+ DataSourceUploadRemoteSource,
6050
+ DataSourceVersion,
6051
+ DesignElement,
6052
+ DesignElementBase,
6053
+ DesignElementBrandedPart,
6054
+ DesignElementCategory,
6055
+ DesignElementGroupableBase,
6056
+ DesignElementGroupablePart,
6057
+ DesignElementGroupableRequiredPart,
6058
+ DesignElementImportedBase,
6059
+ DesignElementOrigin,
6060
+ DesignElementSlugPart,
6061
+ DesignElementType,
6062
+ DesignSystem,
6063
+ DesignSystemCreateInput,
6064
+ DesignSystemElementExportProps,
6065
+ DesignSystemSwitcher,
6066
+ DesignSystemUpdateInput,
6067
+ DesignSystemVersionRoom,
6068
+ DesignSystemWithWorkspace,
6069
+ DesignToken,
6070
+ DesignTokenImportModel,
6071
+ DesignTokenImportModelBase,
6072
+ DesignTokenImportModelInput,
6073
+ DesignTokenImportModelInputBase,
6074
+ DesignTokenOrigin,
6075
+ DesignTokenOriginPart,
6076
+ DesignTokenType,
6077
+ DesignTokenTypedData,
6078
+ DimensionTokenData,
6079
+ DimensionUnit,
6080
+ DimensionValue,
6081
+ DocumentationGroupBehavior,
6082
+ DocumentationGroupDTO,
6083
+ DocumentationItemConfiguration,
6084
+ DocumentationPage,
6085
+ DocumentationPageDTOV1,
6086
+ DocumentationPageDataV1,
6087
+ DocumentationPageDataV2,
5908
6088
  DocumentationPageEditorModel,
6089
+ DocumentationPageElementDataV1,
6090
+ DocumentationPageElementDataV2,
6091
+ DocumentationPageGroup,
6092
+ DocumentationPageRoom,
6093
+ DocumentationPageV1,
6094
+ DocumentationPageV2,
6095
+ DurationTokenData,
6096
+ DurationUnit,
6097
+ DurationValue,
6098
+ ElementGroup,
6099
+ ElementGroupData,
6100
+ ElementGroupElementData,
6101
+ ElementPropertyDefinition,
6102
+ ElementPropertyDefinitionOption,
6103
+ ElementPropertyLinkType,
6104
+ ElementPropertyTargetType,
6105
+ ElementPropertyType,
6106
+ ElementPropertyValue,
6107
+ Entity,
6108
+ ExportJob,
6109
+ ExportJobStatus,
6110
+ Exporter,
6111
+ ExporterDetails,
6112
+ ExporterSource,
6113
+ ExporterTag,
6114
+ ExporterType,
6115
+ ExporterWorkspaceMembership,
6116
+ ExporterWorkspaceMembershipRole,
6117
+ ExternalOAuthRequest,
6118
+ ExternalServiceType,
6119
+ FeatureFlag,
6120
+ FeatureFlagMap,
6121
+ FeaturesSummary,
6122
+ FigmaFileAccessData,
6123
+ FigmaFileDownloadScope,
6124
+ FigmaFileStructure,
6125
+ FigmaFileStructureData,
6126
+ FigmaFileStructureElementData,
6127
+ FigmaFileStructureImportModel,
6128
+ FigmaFileStructureImportModelInput,
6129
+ FigmaFileStructureNode,
6130
+ FigmaFileStructureNodeBase,
6131
+ FigmaFileStructureNodeImportModel,
6132
+ FigmaFileStructureNodeType,
6133
+ FigmaFileStructureOrigin,
6134
+ FigmaFileStructureStatistics,
6135
+ FigmaImportBaseContext,
6136
+ FigmaImportContextWithDownloadScopes,
6137
+ FigmaNodeReference,
6138
+ FigmaNodeReferenceData,
6139
+ FigmaNodeReferenceElementData,
6140
+ FigmaPngRenderImportModel,
6141
+ FigmaRenderFormat,
6142
+ FigmaRenderImportModel,
6143
+ FigmaSvgRenderImportModel,
6144
+ FileStructureStats,
6145
+ FlaggedFeature,
6146
+ FontFamilyTokenData,
6147
+ FontFamilyValue,
6148
+ FontSizeTokenData,
6149
+ FontSizeUnit,
6150
+ FontSizeValue,
6151
+ FontWeightTokenData,
6152
+ FontWeightValue,
5909
6153
  GetBlockDefinitionsResponse,
6154
+ GitProvider,
6155
+ GitProviderNames,
6156
+ GradientLayerData,
6157
+ GradientLayerValue,
6158
+ GradientStop,
6159
+ GradientTokenData,
6160
+ GradientTokenValue,
6161
+ GradientType,
6162
+ HANDLE_MAX_LENGTH,
6163
+ HANDLE_MIN_LENGTH,
6164
+ ImageImportModel,
6165
+ ImageImportModelType,
6166
+ ImportFunctionInput,
6167
+ ImportJob,
6168
+ ImportJobOperation,
6169
+ ImportJobState,
6170
+ ImportModelBase,
6171
+ ImportModelCollection,
6172
+ ImportModelInputBase,
6173
+ ImportModelInputCollection,
6174
+ ImportWarning,
6175
+ ImportWarningType,
6176
+ ImportedFigmaSourceData,
6177
+ IntegrationAuthType,
6178
+ IntegrationTokenSchema,
6179
+ IntegrationUserInfo,
6180
+ InternalStatus,
6181
+ InternalStatusSchema,
6182
+ InvoiceCouponSchema,
6183
+ InvoiceLineSchema,
6184
+ InvoiceSchema,
6185
+ LetterSpacingTokenData,
6186
+ LetterSpacingUnit,
6187
+ LetterSpacingValue,
6188
+ LineHeightTokenData,
6189
+ LineHeightUnit,
6190
+ LineHeightValue,
6191
+ MAX_MEMBERS_COUNT,
6192
+ NpmPackage,
6193
+ NpmProxyToken,
6194
+ NpmProxyTokenPayload,
6195
+ NpmRegistrCustomAuthConfig,
6196
+ NpmRegistryAuthConfig,
6197
+ NpmRegistryAuthType,
6198
+ NpmRegistryBasicAuthConfig,
6199
+ NpmRegistryBearerAuthConfig,
6200
+ NpmRegistryConfig,
6201
+ NpmRegistryNoAuthConfig,
6202
+ NpmRegistryType,
6203
+ OAuthProvider,
6204
+ OAuthProviderNames,
6205
+ OAuthProviderSchema,
6206
+ ObjectMeta,
6207
+ OpacityTokenData,
6208
+ OpacityValue,
6209
+ PageBlockAlignment,
6210
+ PageBlockAppearanceV2,
6211
+ PageBlockAsset,
6212
+ PageBlockAssetComponent,
6213
+ PageBlockAssetType,
6214
+ PageBlockBehaviorDataType,
6215
+ PageBlockBehaviorSelectionType,
6216
+ PageBlockCalloutType,
6217
+ PageBlockCategory,
6218
+ PageBlockCodeLanguage,
6219
+ PageBlockCustomBlockPropertyImageValue,
6220
+ PageBlockCustomBlockPropertyValue,
6221
+ PageBlockDataV2,
6222
+ PageBlockDefinition,
6223
+ PageBlockDefinitionAppearance,
6224
+ PageBlockDefinitionBehavior,
6225
+ PageBlockDefinitionBooleanPropertyStyle,
6226
+ PageBlockDefinitionItem,
6227
+ PageBlockDefinitionLayout,
6228
+ PageBlockDefinitionLayoutAlign,
6229
+ PageBlockDefinitionLayoutBase,
6230
+ PageBlockDefinitionLayoutGap,
6231
+ PageBlockDefinitionLayoutResizing,
6232
+ PageBlockDefinitionLayoutType,
6233
+ PageBlockDefinitionMultiRichTextPropertyStyle,
6234
+ PageBlockDefinitionMultiSelectPropertyStyle,
6235
+ PageBlockDefinitionOnboarding,
6236
+ PageBlockDefinitionProperty,
6237
+ PageBlockDefinitionPropertyOptions,
6238
+ PageBlockDefinitionPropertyType,
6239
+ PageBlockDefinitionRichTextPropertyStyle,
6240
+ PageBlockDefinitionSingleSelectPropertyStyle,
6241
+ PageBlockDefinitionTextPropertyStyle,
6242
+ PageBlockDefinitionVariant,
5910
6243
  PageBlockEditorModel,
6244
+ PageBlockEditorModelV2,
6245
+ PageBlockFigmaFrameProperties,
6246
+ PageBlockFrame,
6247
+ PageBlockFrameOrigin,
6248
+ PageBlockImageAlignment,
6249
+ PageBlockImageType,
6250
+ PageBlockItemEmbedPropertyValue,
6251
+ PageBlockItemImageReference,
6252
+ PageBlockItemImageValue,
6253
+ PageBlockItemMultiRichTextPropertyValue,
6254
+ PageBlockItemRichTextPropertyValue,
6255
+ PageBlockItemTextPropertyValue,
6256
+ PageBlockItemUntypedPropertyValue,
6257
+ PageBlockItemV2,
6258
+ PageBlockLinkPreview,
6259
+ PageBlockLinkType,
6260
+ PageBlockLinkV2,
6261
+ PageBlockRenderCodeProperties,
6262
+ PageBlockShortcut,
6263
+ PageBlockTableColumn,
6264
+ PageBlockTableProperties,
6265
+ PageBlockText,
6266
+ PageBlockTextSpan,
6267
+ PageBlockTextSpanAttribute,
6268
+ PageBlockTextSpanAttributeType,
6269
+ PageBlockTheme,
6270
+ PageBlockThemeType,
6271
+ PageBlockTilesAlignment,
6272
+ PageBlockTilesLayout,
6273
+ PageBlockTypeV1,
6274
+ PageBlockUrlPreview,
6275
+ PageBlockV1,
6276
+ PageBlockV2,
6277
+ ParagraphIndentTokenData,
6278
+ ParagraphIndentUnit,
6279
+ ParagraphIndentValue,
6280
+ ParagraphSpacingTokenData,
6281
+ ParagraphSpacingUnit,
6282
+ ParagraphSpacingValue,
6283
+ PeriodSchema,
6284
+ PersonalAccessToken,
6285
+ PluginOAuthRequestSchema,
6286
+ Point2D,
6287
+ PostStripeCheckoutBodyInputSchema,
6288
+ PostStripeCheckoutOutputSchema,
6289
+ PostStripePortalSessionBodyInputSchema,
6290
+ PostStripePortalSessionOutputSchema,
6291
+ PostStripePortalUpdateSessionBodyInputSchema,
6292
+ PriceSchema,
6293
+ ProductCode,
6294
+ ProductCodeSchema,
6295
+ ProductCopyTokenData,
6296
+ ProductCopyValue,
6297
+ PublishedDoc,
6298
+ PublishedDocEnvironment,
6299
+ PublishedDocRoutingVersion,
6300
+ PublishedDocsChecksums,
6301
+ PulsarContributionBlock,
6302
+ PulsarContributionConfigurationProperty,
6303
+ PulsarContributionVariant,
6304
+ PulsarPropertyType,
6305
+ SHORT_PERSISTENT_ID_LENGTH,
6306
+ Session,
6307
+ SessionData,
6308
+ ShadowLayerValue,
6309
+ ShadowTokenData,
6310
+ ShadowType,
6311
+ ShallowDesignElement,
6312
+ Size,
6313
+ SizeOrUndefined,
6314
+ SizeTokenData,
6315
+ SizeUnit,
6316
+ SizeValue,
6317
+ SourceImportComponentSummary,
6318
+ SourceImportFrameSummary,
6319
+ SourceImportSummary,
6320
+ SourceImportSummaryByTokenType,
6321
+ SourceImportTokenSummary,
6322
+ SpaceTokenData,
6323
+ SpaceUnit,
6324
+ SpaceValue,
6325
+ SsoProvider,
6326
+ StringTokenData,
6327
+ StringValue,
6328
+ StripeSubscriptionStatus,
6329
+ StripeSubscriptionStatusSchema,
6330
+ Subscription,
6331
+ TextCase,
6332
+ TextCaseTokenData,
6333
+ TextCaseValue,
6334
+ TextDecoration,
6335
+ TextDecorationTokenData,
6336
+ TextDecorationValue,
6337
+ Theme,
6338
+ ThemeElementData,
6339
+ ThemeImportModel,
6340
+ ThemeImportModelInput,
6341
+ ThemeOrigin,
6342
+ ThemeOriginObject,
6343
+ ThemeOriginPart,
6344
+ ThemeOriginSource,
6345
+ ThemeOverride,
6346
+ ThemeOverrideImportModel,
6347
+ ThemeOverrideImportModelBase,
6348
+ ThemeOverrideImportModelInput,
6349
+ ThemeOverrideOrigin,
6350
+ ThemeOverrideOriginPart,
6351
+ ThemeUpdateImportModel,
6352
+ ThemeUpdateImportModelInput,
6353
+ TokenDataAliasSchema,
6354
+ TypographyTokenData,
6355
+ TypographyValue,
6356
+ UrlImageImportModel,
6357
+ User,
6358
+ UserIdentity,
6359
+ UserInvite,
6360
+ UserInvites,
6361
+ UserLinkedIntegrations,
6362
+ UserOnboarding,
6363
+ UserOnboardingDepartment,
6364
+ UserOnboardingJobLevel,
6365
+ UserProfile,
6366
+ UserSession,
6367
+ Visibility,
6368
+ VisibilityTokenData,
6369
+ VisibilityValue,
6370
+ Workspace,
6371
+ WorkspaceContext,
6372
+ WorkspaceInvitation,
6373
+ WorkspaceIpSettings,
6374
+ WorkspaceIpWhitelistEntry,
6375
+ WorkspaceMembership,
6376
+ WorkspaceProfile,
6377
+ WorkspaceRole,
6378
+ WorkspaceRoleSchema,
6379
+ WorkspaceWithDesignSystems,
6380
+ ZIndexTokenData,
6381
+ ZIndexUnit,
6382
+ ZIndexValue,
6383
+ addImportModelCollections,
5911
6384
  blockDefinitionForBlock,
5912
6385
  blockToProsemirrorNode,
6386
+ designTokenImportModelTypeFilter,
6387
+ designTokenTypeFilter,
6388
+ extractTokenTypedData,
6389
+ figmaFileStructureImportModelToMap,
6390
+ figmaFileStructureToMap,
5913
6391
  getMockPageBlockDefinitions,
6392
+ isDesignTokenImportModelOfType,
6393
+ isDesignTokenOfType,
6394
+ isImportedAsset,
6395
+ isImportedComponent,
6396
+ isImportedDesignToken,
6397
+ isTokenType,
6398
+ nullishToOptional,
5914
6399
  pageToProsemirrorDoc,
5915
6400
  pageToYXmlFragment,
5916
6401
  pmSchema,
5917
6402
  prosemirrorDocToPage,
5918
6403
  prosemirrorNodeToBlock,
6404
+ publishedDocEnvironments,
5919
6405
  serializeAsCustomBlock,
5920
- yXmlFragmetToPage
6406
+ tokenAliasOrValue,
6407
+ tokenElementTypes,
6408
+ traversePageBlocksV1,
6409
+ traverseStructure,
6410
+ tryParseShortPersistentId,
6411
+ yXmlFragmetToPage,
6412
+ zodCreateInputOmit,
6413
+ zodUpdateInputOmit
5921
6414
  };
5922
6415
  //# sourceMappingURL=index.mjs.map