@supernova-studio/client 1.5.0 → 1.6.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.js CHANGED
@@ -1,9 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => {
4
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
- return value;
6
- };
3
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
7
4
 
8
5
  // ../model/dist/index.mjs
9
6
  var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
@@ -135,6 +132,8 @@ var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequire
135
132
 
136
133
 
137
134
 
135
+
136
+
138
137
 
139
138
 
140
139
 
@@ -191,15 +190,14 @@ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr)
191
190
 
192
191
 
193
192
 
193
+
194
+
194
195
 
195
196
 
196
197
 
197
198
  var __defProp2 = Object.defineProperty;
198
199
  var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
199
- var __publicField2 = (obj, key, value) => {
200
- __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
201
- return value;
202
- };
200
+ var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
203
201
  var AssetDeleteScheduleStatus = _zod.z.enum(["InProgress", "Pending"]);
204
202
  var AssetDeleteSchedule = _zod.z.object({
205
203
  id: _zod.z.string(),
@@ -625,7 +623,6 @@ var AssetProperties = _zod.z.union([
625
623
  var AssetOrigin = _zod.z.object({
626
624
  originKey: _zod.z.string()
627
625
  });
628
- var AssetProcessStatus = _zod.z.enum(["Pending", "Uploaded", "Processed"]);
629
626
  var Asset = _zod.z.object({
630
627
  id: _zod.z.string(),
631
628
  designSystemId: _zod.z.string().nullish(),
@@ -634,10 +631,8 @@ var Asset = _zod.z.object({
634
631
  filePath: _zod.z.string(),
635
632
  scope: AssetScope,
636
633
  properties: AssetProperties.nullish(),
637
- state: AssetProcessStatus.optional(),
638
- origin: AssetOrigin.optional(),
639
634
  originKey: _zod.z.string().optional(),
640
- createdByImportJobId: _zod.z.string().optional()
635
+ createdAt: _zod.z.coerce.date().optional()
641
636
  });
642
637
  var ResolvedAsset = Asset.extend({
643
638
  url: _zod.z.string()
@@ -927,14 +922,10 @@ function groupBy(items, keyFn) {
927
922
  return result;
928
923
  }
929
924
  function areShallowObjectsEqual(lhs, rhs) {
930
- if (lhs === void 0 !== (rhs === void 0))
931
- return false;
932
- if (lhs === void 0 || rhs === void 0)
933
- return true;
934
- if (lhs === null !== (rhs === null))
935
- return false;
936
- if (lhs === null || rhs === null)
937
- return true;
925
+ if (lhs === void 0 !== (rhs === void 0)) return false;
926
+ if (lhs === void 0 || rhs === void 0) return true;
927
+ if (lhs === null !== (rhs === null)) return false;
928
+ if (lhs === null || rhs === null) return true;
938
929
  for (const key in lhs) {
939
930
  if (!(key in rhs) || lhs[key] !== rhs[key]) {
940
931
  return false;
@@ -949,8 +940,7 @@ function areShallowObjectsEqual(lhs, rhs) {
949
940
  }
950
941
  function recordToMap(record) {
951
942
  const map = /* @__PURE__ */ new Map();
952
- for (const [k, v] of Object.entries(record))
953
- map.set(k, v);
943
+ for (const [k, v] of Object.entries(record)) map.set(k, v);
954
944
  return map;
955
945
  }
956
946
  var ContentLoadInstruction = _zod.z.object({
@@ -1667,10 +1657,8 @@ var Size = _zod.z.object({
1667
1657
  height: _zod.z.number().nullish().transform((v) => _nullishCoalesce(v, () => ( nullSize.height)))
1668
1658
  });
1669
1659
  var SizeOrUndefined = Size.optional().transform((v) => {
1670
- if (!v)
1671
- return void 0;
1672
- if (isNullSize(v))
1673
- return void 0;
1660
+ if (!v) return void 0;
1661
+ if (isNullSize(v)) return void 0;
1674
1662
  return v;
1675
1663
  });
1676
1664
  var DesignTokenType = _zod.z.enum([
@@ -1952,6 +1940,27 @@ var PageBlockSelectedFigmaComponent = _zod.z.object({
1952
1940
  selectedComponentProperties: _zod.z.string().array(),
1953
1941
  selectedComponentVariants: _zod.z.record(_zod.z.string().array()).optional()
1954
1942
  });
1943
+ var PageBlockStorybookItem = _zod.z.object({
1944
+ entityId: _zod.z.string().optional(),
1945
+ embed: _zod.z.object({
1946
+ inputUrl: _zod.z.string(),
1947
+ embedUrl: _zod.z.string()
1948
+ }).optional(),
1949
+ entityMeta: _zod.z.object({
1950
+ caption: _zod.z.string().optional(),
1951
+ height: _zod.z.number().optional(),
1952
+ hiddenProps: _zod.z.array(_zod.z.string()).optional(),
1953
+ propValues: _zod.z.record(_zod.z.unknown()).optional()
1954
+ }).optional()
1955
+ });
1956
+ var PageBlockStorybookBlockConfig = _zod.z.object({
1957
+ value: PageBlockStorybookItem.array(),
1958
+ showCode: _zod.z.boolean().optional(),
1959
+ showFooter: _zod.z.boolean().optional(),
1960
+ showProperties: _zod.z.boolean().optional(),
1961
+ showDescription: _zod.z.boolean().optional(),
1962
+ showDefaults: _zod.z.boolean().optional()
1963
+ });
1955
1964
  var PageBlockTextSpanAttributeType = _zod.z.enum(["Bold", "Italic", "Link", "Strikethrough", "Code", "Comment"]);
1956
1965
  var PageBlockTextSpanAttribute = _zod.z.object({
1957
1966
  type: PageBlockTextSpanAttributeType,
@@ -2042,7 +2051,9 @@ var PageBlockBaseV1 = _zod.z.object({
2042
2051
  selectedFigmaComponent: nullishToOptional(PageBlockSelectedFigmaComponent),
2043
2052
  selectedFigmaComponents: nullishToOptional(PageBlockSelectedFigmaComponent.array()),
2044
2053
  // Arbitrary
2045
- userMetadata: nullishToOptional(_zod.z.string())
2054
+ userMetadata: nullishToOptional(_zod.z.string()),
2055
+ // Storybook
2056
+ storybookBlockConfig: nullishToOptional(PageBlockStorybookBlockConfig)
2046
2057
  });
2047
2058
  var PageBlockV1 = PageBlockBaseV1.extend({
2048
2059
  children: _zod.z.lazy(
@@ -2064,8 +2075,7 @@ function removeCommentSpans(text) {
2064
2075
  return joinRepeatingSpans(updatedRichText);
2065
2076
  }
2066
2077
  function joinRepeatingSpans(text) {
2067
- if (text.spans.length < 2)
2068
- return text;
2078
+ if (text.spans.length < 2) return text;
2069
2079
  text = sanitizeSpans(text);
2070
2080
  const { spans, ...rest } = text;
2071
2081
  let previousSpan = { ...spans[0] };
@@ -2085,13 +2095,11 @@ function joinRepeatingSpans(text) {
2085
2095
  };
2086
2096
  }
2087
2097
  function areAttributesEqual(lhs, rhs) {
2088
- if (lhs.length !== rhs.length)
2089
- return false;
2098
+ if (lhs.length !== rhs.length) return false;
2090
2099
  const lhsMap = mapByUnique(lhs, (i) => i.type);
2091
2100
  for (const rhsAttribute of rhs) {
2092
2101
  const lhsAttribute = lhsMap.get(rhsAttribute.type);
2093
- if (!areShallowObjectsEqual(lhsAttribute, rhsAttribute))
2094
- return false;
2102
+ if (!areShallowObjectsEqual(lhsAttribute, rhsAttribute)) return false;
2095
2103
  }
2096
2104
  return true;
2097
2105
  }
@@ -2514,11 +2522,35 @@ var PageBlockItemRichTextValue = _zod.z.object({
2514
2522
  var PageBlockItemSingleSelectValue = _zod.z.object({
2515
2523
  value: _zod.z.string()
2516
2524
  });
2517
- var PageBlockItemStorybookValue = _zod.z.object({
2525
+ var PageBlockItemStorybookValueOld = _zod.z.object({
2526
+ value: _zod.z.string().optional(),
2518
2527
  caption: _zod.z.string().optional(),
2519
2528
  height: _zod.z.number().optional(),
2520
2529
  embedUrl: _zod.z.string().optional(),
2521
- value: _zod.z.string().optional()
2530
+ storyId: _zod.z.string().optional(),
2531
+ sourceId: _zod.z.string().optional()
2532
+ });
2533
+ var PageBlockItemStorybookValue = _zod.z.object({
2534
+ value: _zod.z.array(
2535
+ _zod.z.object({
2536
+ entityId: _zod.z.string().optional(),
2537
+ embed: _zod.z.object({
2538
+ inputUrl: _zod.z.string(),
2539
+ embedUrl: _zod.z.string()
2540
+ }).optional(),
2541
+ entityMeta: _zod.z.object({
2542
+ caption: _zod.z.string().optional(),
2543
+ height: _zod.z.number().optional(),
2544
+ hiddenProps: _zod.z.array(_zod.z.string()).optional(),
2545
+ propValues: _zod.z.record(_zod.z.unknown()).optional()
2546
+ }).optional()
2547
+ })
2548
+ ).optional(),
2549
+ showCode: _zod.z.boolean().optional(),
2550
+ showFooter: _zod.z.boolean().optional(),
2551
+ showProperties: _zod.z.boolean().optional(),
2552
+ showDescription: _zod.z.boolean().optional(),
2553
+ showDefaults: _zod.z.boolean().optional()
2522
2554
  });
2523
2555
  var PageBlockItemTextValue = _zod.z.object({
2524
2556
  value: _zod.z.string()
@@ -2606,6 +2638,26 @@ var PageBlockItemTableValue = _zod.z.object({
2606
2638
  showBorder: _zod.z.boolean().optional(),
2607
2639
  value: _zod.z.array(PageBlockItemTableRow).default([])
2608
2640
  });
2641
+ function storybookValueFromOldValue(oldValue) {
2642
+ return {
2643
+ value: [
2644
+ {
2645
+ // URLs
2646
+ ...oldValue.embedUrl && oldValue.value && {
2647
+ embed: {
2648
+ embedUrl: oldValue.embedUrl,
2649
+ inputUrl: oldValue.value
2650
+ }
2651
+ },
2652
+ // Meta
2653
+ entityMeta: {
2654
+ caption: oldValue.caption,
2655
+ height: oldValue.height
2656
+ }
2657
+ }
2658
+ ]
2659
+ };
2660
+ }
2609
2661
  var DocumentationItemHeaderAlignmentSchema = _zod.z.enum(["Left", "Center"]);
2610
2662
  var DocumentationItemHeaderImageScaleTypeSchema = _zod.z.enum(["AspectFill", "AspectFit"]);
2611
2663
  var DocumentationItemHeaderAlignment = DocumentationItemHeaderAlignmentSchema.enum;
@@ -3173,8 +3225,7 @@ function mapPageBlockItemValuesV2(pageItems, definitionsMap, fn) {
3173
3225
  traversePageBlockItemsV2(pageItems, (block, item) => {
3174
3226
  Object.entries(item.props).forEach(([propKey, value]) => {
3175
3227
  const property = definitionsMap.getDefinitionProperty(block.data.packageId, propKey);
3176
- if (!property)
3177
- return;
3228
+ if (!property) return;
3178
3229
  item.props[propKey] = fn(block, item, property, value);
3179
3230
  });
3180
3231
  });
@@ -3267,7 +3318,7 @@ var SourceImportSummary = _zod.z.object({
3267
3318
  function zeroNumberByDefault() {
3268
3319
  return _zod.z.number().nullish().transform((v) => _nullishCoalesce(v, () => ( 0)));
3269
3320
  }
3270
- var DataSourceRemoteType = _zod.z.enum(["Figma", "TokenStudio", "FigmaVariablesPlugin"]);
3321
+ var DataSourceRemoteType = _zod.z.enum(["Figma", "TokenStudio", "FigmaVariablesPlugin", "Storybook"]);
3271
3322
  var DataSourceUploadRemoteSource = _zod.z.enum(["TokenStudio", "FigmaVariablesPlugin", "Custom"]);
3272
3323
  var DataSourceFigmaState = _zod.z.enum(["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]);
3273
3324
  var DataSourceAutoImportMode = _zod.z.enum(["Never", "Hourly"]);
@@ -3327,10 +3378,22 @@ var DataSourceUploadRemote = _zod.z.object({
3327
3378
  isTokenTypeSplitEnabled: _zod.z.boolean(),
3328
3379
  isCollectionsMigrationCompleted: _zod.z.boolean()
3329
3380
  });
3381
+ var DataSourceStorybookRemote = _zod.z.object({
3382
+ type: _zod.z.literal(DataSourceRemoteType.Enum.Storybook),
3383
+ indexUrl: _zod.z.string(),
3384
+ userUrl: _zod.z.string(),
3385
+ ownerId: _zod.z.string().optional(),
3386
+ lastImportedAt: _zod.z.coerce.date().optional(),
3387
+ lastImportedSuccessfully: _zod.z.coerce.date().optional(),
3388
+ isFailed: _zod.z.boolean(),
3389
+ storiesCount: _zod.z.number(),
3390
+ docsCount: _zod.z.number()
3391
+ });
3330
3392
  var DataSourceRemote = _zod.z.discriminatedUnion("type", [
3331
3393
  DataSourceFigmaRemote,
3332
3394
  DataSourceUploadRemote,
3333
- DataSourceTokenStudioRemote
3395
+ DataSourceTokenStudioRemote,
3396
+ DataSourceStorybookRemote
3334
3397
  ]);
3335
3398
  var DataSource = _zod.z.object({
3336
3399
  id: _zod.z.string(),
@@ -3405,15 +3468,11 @@ var FigmaImportBaseContext = _zod.z.object({
3405
3468
  importWarnings: _zod.z.record(ImportWarning.array()).default({})
3406
3469
  });
3407
3470
  var FeatureFlagsKeepAliases = _zod.z.object({
3408
- isTypographyPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
3409
- isGradientPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
3410
- isShadowPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
3411
3471
  isNonCompatibleTypeChangesEnabled: _zod.z.boolean().default(false),
3412
3472
  isTypographyUseFontStyleEnabled: _zod.z.boolean().default(false)
3413
3473
  });
3414
3474
  var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
3415
3475
  sourcesWithMissingAccess: _zod.z.array(_zod.z.string()).default([]),
3416
- shadowOpacityOptional: _zod.z.boolean().default(false),
3417
3476
  featureFlagsKeepAliases: FeatureFlagsKeepAliases.default({})
3418
3477
  });
3419
3478
  var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
@@ -3522,20 +3581,18 @@ var FigmaComponentImportModelPart = _zod.z.object({
3522
3581
  parentComponentId: _zod.z.string().optional(),
3523
3582
  componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
3524
3583
  variantPropertyValues: _zod.z.record(_zod.z.string()).optional(),
3525
- renderNodeId: _zod.z.string()
3584
+ renderNodeId: _zod.z.string(),
3585
+ svg: FigmaSvgRenderImportModel.optional()
3526
3586
  });
3527
3587
  var FigmaComponentImportModel = ImportModelBase.extend(FigmaComponentImportModelPart.shape).extend({
3528
- isAsset: _zod.z.boolean(),
3529
- svg: FigmaSvgRenderImportModel.optional(),
3530
- origin: FigmaComponentOrigin
3588
+ origin: FigmaComponentOrigin,
3589
+ isAsset: _zod.z.boolean()
3531
3590
  });
3532
3591
  var FigmaComponentImportModelInput = ImportModelInputBase.extend(FigmaComponentImportModelPart.shape).extend({
3533
- originMetadata: FigmaComponentOriginPart
3534
- });
3535
- var AssetImportModelInput = ImportModelInputBase.extend(FigmaComponentImportModelPart.shape).extend({
3536
- svg: FigmaSvgRenderImportModel,
3537
- originMetadata: FigmaComponentOriginPart
3592
+ originMetadata: FigmaComponentOriginPart,
3593
+ isAsset: _zod.z.boolean().optional()
3538
3594
  });
3595
+ var AssetImportModelInput = FigmaComponentImportModelInput;
3539
3596
  var DataSourceImportModel = _zod.z.object({
3540
3597
  id: _zod.z.string(),
3541
3598
  fileName: _zod.z.string().optional(),
@@ -3720,20 +3777,25 @@ var DocumentationLinkPreview = _zod.z.object({
3720
3777
  description: _zod.z.string().optional(),
3721
3778
  thumbnail: PageBlockImageReference.optional()
3722
3779
  });
3780
+ var DocumentationPage = _zod.z.object({
3781
+ type: _zod.z.literal("DocumentationPage"),
3782
+ id: _zod.z.string(),
3783
+ persistentId: _zod.z.string(),
3784
+ shortPersistentId: _zod.z.string(),
3785
+ designSystemVersionId: _zod.z.string(),
3786
+ parentPersistentId: _zod.z.string().nullish(),
3787
+ sortOrder: _zod.z.number(),
3788
+ title: _zod.z.string(),
3789
+ slug: _zod.z.string(),
3790
+ userSlug: _zod.z.string().nullish(),
3791
+ createdAt: _zod.z.coerce.date(),
3792
+ updatedAt: _zod.z.coerce.date()
3793
+ });
3723
3794
  var DocumentationPageAnchor = _zod.z.object({
3724
3795
  blockId: _zod.z.string(),
3725
3796
  level: _zod.z.number(),
3726
3797
  text: _zod.z.string()
3727
3798
  });
3728
- var DocumentationPageContentBackup = _zod.z.object({
3729
- id: _zod.z.string(),
3730
- designSystemVersionId: _zod.z.string(),
3731
- createdAt: _zod.z.coerce.date(),
3732
- updatedAt: _zod.z.coerce.date(),
3733
- documentationPageId: _zod.z.string(),
3734
- documentationPageName: _zod.z.string(),
3735
- storagePath: _zod.z.string()
3736
- });
3737
3799
  var DocumentationPageContentItem = _zod.z.discriminatedUnion("type", [
3738
3800
  PageBlockEditorModelV2,
3739
3801
  PageSectionEditorModelV2
@@ -3749,19 +3811,29 @@ var DocumentationPageContent = _zod.z.object({
3749
3811
  documentationPageId: _zod.z.string(),
3750
3812
  data: DocumentationPageContentData
3751
3813
  });
3752
- var DocumentationPage = _zod.z.object({
3753
- type: _zod.z.literal("DocumentationPage"),
3814
+ var DocumentationPageContentBackup = _zod.z.object({
3754
3815
  id: _zod.z.string(),
3755
- persistentId: _zod.z.string(),
3756
- shortPersistentId: _zod.z.string(),
3757
3816
  designSystemVersionId: _zod.z.string(),
3758
- parentPersistentId: _zod.z.string().nullish(),
3759
- sortOrder: _zod.z.number(),
3760
- title: _zod.z.string(),
3761
- slug: _zod.z.string(),
3762
- userSlug: _zod.z.string().nullish(),
3763
3817
  createdAt: _zod.z.coerce.date(),
3764
- updatedAt: _zod.z.coerce.date()
3818
+ updatedAt: _zod.z.coerce.date(),
3819
+ documentationPageId: _zod.z.string(),
3820
+ documentationPageName: _zod.z.string(),
3821
+ storagePath: _zod.z.string()
3822
+ });
3823
+ var DocumentationPageDependencies = _zod.z.object({
3824
+ id: _zod.z.string(),
3825
+ designSystemVersionId: _zod.z.string(),
3826
+ createdAt: _zod.z.coerce.date(),
3827
+ updatedAt: _zod.z.coerce.date(),
3828
+ documentationPageId: _zod.z.string(),
3829
+ tokenPersistentIds: _zod.z.set(_zod.z.string()),
3830
+ figmaComponentPersistentIds: _zod.z.set(_zod.z.string()),
3831
+ componentPersistentIds: _zod.z.set(_zod.z.string()),
3832
+ figmaNodePersistentIds: _zod.z.set(_zod.z.string()),
3833
+ groupPersistentIds: _zod.z.set(_zod.z.string()),
3834
+ propertyPersistentIds: _zod.z.set(_zod.z.string()),
3835
+ themePersistentIds: _zod.z.set(_zod.z.string()),
3836
+ documentationPagePersistentIds: _zod.z.set(_zod.z.string())
3765
3837
  });
3766
3838
  var PageRedirect = _zod.z.object({
3767
3839
  id: _zod.z.string(),
@@ -3908,6 +3980,13 @@ var SsoProvider = _zod.z.object({
3908
3980
  emailDomains: _zod.z.array(_zod.z.string()),
3909
3981
  metadataXml: _zod.z.string().nullish()
3910
3982
  });
3983
+ var WorkspaceUntypedData = _zod.z.object({
3984
+ id: _zod.z.string(),
3985
+ workspaceId: _zod.z.string(),
3986
+ value: _zod.z.unknown(),
3987
+ createdAt: _zod.z.coerce.date(),
3988
+ updatedAt: _zod.z.coerce.date()
3989
+ });
3911
3990
  var WorkspaceRoleSchema = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
3912
3991
  var WorkspaceRole = WorkspaceRoleSchema.enum;
3913
3992
  var MAX_MEMBERS_COUNT = 100;
@@ -4316,6 +4395,33 @@ var PublishedDoc = _zod.z.object({
4316
4395
  tokenCount: _zod.z.number(),
4317
4396
  assetCount: _zod.z.number()
4318
4397
  });
4398
+ var StorybookEntryOrigin = _zod.z.object({
4399
+ id: _zod.z.string(),
4400
+ type: _zod.z.enum(["story", "docs"]),
4401
+ name: _zod.z.string(),
4402
+ title: _zod.z.string()
4403
+ // Same as 'kind' for v3
4404
+ });
4405
+ var StorybookEntry = _zod.z.object({
4406
+ id: _zod.z.string(),
4407
+ storyId: _zod.z.string(),
4408
+ designSystemId: _zod.z.string(),
4409
+ sourceId: _zod.z.string(),
4410
+ aliases: _zod.z.array(_zod.z.string()).optional(),
4411
+ url: _zod.z.string(),
4412
+ isDeleted: _zod.z.boolean().optional(),
4413
+ origin: StorybookEntryOrigin,
4414
+ createdAt: _zod.z.coerce.date(),
4415
+ updatedAt: _zod.z.coerce.date()
4416
+ });
4417
+ var StorybookPayload = _zod.z.object({
4418
+ id: _zod.z.string(),
4419
+ designSystemId: _zod.z.string(),
4420
+ sourceId: _zod.z.string(),
4421
+ payload: _zod.z.any(),
4422
+ createdAt: _zod.z.coerce.date(),
4423
+ updatedAt: _zod.z.coerce.date()
4424
+ });
4319
4425
  var DesignSystemVersion = _zod.z.object({
4320
4426
  id: _zod.z.string(),
4321
4427
  version: _zod.z.string(),
@@ -4624,8 +4730,7 @@ var IntegrationToken = _zod.z.object({
4624
4730
  token_bitbucket_username: _zod.z.string().optional(),
4625
4731
  // Bitbucket only
4626
4732
  custom_url: _zod.z.string().optional().transform((value) => {
4627
- if (!_optionalChain([value, 'optionalAccess', _4 => _4.trim, 'call', _5 => _5()]))
4628
- return void 0;
4733
+ if (!_optionalChain([value, 'optionalAccess', _4 => _4.trim, 'call', _5 => _5()])) return void 0;
4629
4734
  return formatCustomUrl(value);
4630
4735
  })
4631
4736
  }).refine((data) => {
@@ -4844,14 +4949,14 @@ var ExporterWorkspaceMembership = _zod.z.object({
4844
4949
  });
4845
4950
  var FlaggedFeature = _zod.z.enum([
4846
4951
  "FigmaImporterV2",
4847
- "ShadowOpacityOptional",
4848
4952
  "DisableImporter",
4849
4953
  "VariablesOrder",
4850
4954
  "TypographyPropsKeepAliases",
4851
4955
  "GradientPropsKeepAliases",
4852
4956
  "ShadowPropsKeepAliases",
4853
4957
  "NonCompatibleTypeChanges",
4854
- "TypographyUseFontStyle"
4958
+ "TypographyUseFontStyle",
4959
+ "FigmaImporterV3"
4855
4960
  ]);
4856
4961
  var FeatureFlagMap = _zod.z.record(FlaggedFeature, _zod.z.boolean());
4857
4962
  var FeatureFlag = _zod.z.object({
@@ -5015,6 +5120,28 @@ function pageVisitsToDto(entries) {
5015
5120
  }
5016
5121
  return result;
5017
5122
  }
5123
+ function calculateChangeOverTime(currentIntervalData, priorIntervalData, priorIntervalStartDate, priorIntervalEndDate) {
5124
+ let priorIntervalVisits = 0;
5125
+ let priorIntervalSessions = 0;
5126
+ for (const v of priorIntervalData) {
5127
+ priorIntervalVisits += v.visits;
5128
+ priorIntervalSessions += v.sessions;
5129
+ }
5130
+ let currentIntervalVisits = 0;
5131
+ let currentIntervalSessions = 0;
5132
+ for (const v of currentIntervalData) {
5133
+ currentIntervalVisits += v.visits;
5134
+ currentIntervalSessions += v.sessions;
5135
+ }
5136
+ return {
5137
+ priorVisitCount: priorIntervalVisits,
5138
+ priorSessionCount: priorIntervalSessions,
5139
+ currentVisitCount: currentIntervalVisits,
5140
+ currentSessionCount: currentIntervalSessions,
5141
+ startDate: priorIntervalStartDate,
5142
+ endDate: priorIntervalEndDate
5143
+ };
5144
+ }
5018
5145
  function getTimestampKey(timestamp) {
5019
5146
  const date = timestamp.toISOString().split("T")[0];
5020
5147
  const hour = timestamp.toISOString().split("T")[1].split(":")[0];
@@ -5080,8 +5207,7 @@ var getDtoDefaultItemConfigurationV1 = () => ({
5080
5207
  });
5081
5208
  function documentationItemConfigurationToDTOV1(config) {
5082
5209
  const dtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1();
5083
- if (!config)
5084
- return dtoDefaultItemConfigurationV1;
5210
+ if (!config) return dtoDefaultItemConfigurationV1;
5085
5211
  const { backgroundColor, foregroundColor, ...headerRest } = config.header;
5086
5212
  return {
5087
5213
  showSidebar: config.showSidebar,
@@ -5095,16 +5221,11 @@ function documentationItemConfigurationToDTOV1(config) {
5095
5221
  };
5096
5222
  }
5097
5223
  function colorToDTOV1(color) {
5098
- if (!color)
5099
- return void 0;
5100
- if (color.aliasTo)
5101
- return { aliasTo: color.aliasTo };
5102
- if (!color.value)
5103
- return void 0;
5104
- if (typeof color.value === "string")
5105
- return { value: color.value };
5106
- if (typeof color.value.color === "string")
5107
- return { value: color.value.color };
5224
+ if (!color) return void 0;
5225
+ if (color.aliasTo) return { aliasTo: color.aliasTo };
5226
+ if (!color.value) return void 0;
5227
+ if (typeof color.value === "string") return { value: color.value };
5228
+ if (typeof color.value.color === "string") return { value: color.value.color };
5108
5229
  return void 0;
5109
5230
  }
5110
5231
 
@@ -5117,8 +5238,7 @@ function buildDocPagePublishPaths(groups, pages, routingVersion) {
5117
5238
  let pathV1 = `${page.userSlug || page.slug}.html`;
5118
5239
  let pathV2 = `${page.slug}-${page.shortPersistentId}`;
5119
5240
  for (const parent of parentChain) {
5120
- if (!parent.parentPersistentId)
5121
- continue;
5241
+ if (!parent.parentPersistentId) continue;
5122
5242
  pathV1 = `${parent.userSlug || parent.slug || "root"}/${pathV1}`;
5123
5243
  pathV2 = `${parent.slug || "root"}/${pathV2}`;
5124
5244
  }
@@ -5137,8 +5257,7 @@ function calculateElementParentChain(elementParentPersistentId, groupPersistentI
5137
5257
  let parentId = elementParentPersistentId;
5138
5258
  while (parentId) {
5139
5259
  const parent = groupPersistentIdToGroupMap.get(parentId);
5140
- if (parent)
5141
- result.push(parent);
5260
+ if (parent) result.push(parent);
5142
5261
  parentId = _optionalChain([parent, 'optionalAccess', _6 => _6.parentPersistentId]);
5143
5262
  }
5144
5263
  return result;
@@ -5158,8 +5277,7 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
5158
5277
  let nextParentId = groupToFix.parentPersistentId;
5159
5278
  while ((!isHidden || !isPrivate) && nextParentId) {
5160
5279
  const parent = groupPersistentIdToGroupMap.get(nextParentId);
5161
- if (!parent)
5162
- break;
5280
+ if (!parent) break;
5163
5281
  isHidden = isHidden || _optionalChain([parent, 'access', _9 => _9.data, 'optionalAccess', _10 => _10.configuration, 'optionalAccess', _11 => _11.isHidden]) || false;
5164
5282
  isPrivate = isPrivate || _optionalChain([parent, 'access', _12 => _12.data, 'optionalAccess', _13 => _13.configuration, 'optionalAccess', _14 => _14.isPrivate]) || false;
5165
5283
  nextParentId = parent.parentPersistentId;
@@ -5238,8 +5356,7 @@ function calculateChildrenIdsMapV1(elements, groups) {
5238
5356
  const byParentId = groupBy([...elements, ...groups], (e) => e.parentPersistentId);
5239
5357
  const childrenIdsMap = /* @__PURE__ */ new Map();
5240
5358
  for (const [parentPersistentId, children] of byParentId) {
5241
- if (!parentPersistentId)
5242
- continue;
5359
+ if (!parentPersistentId) continue;
5243
5360
  children.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
5244
5361
  childrenIdsMap.set(
5245
5362
  parentPersistentId,
@@ -5264,8 +5381,7 @@ var getDtoDefaultItemConfigurationV2 = () => ({
5264
5381
  });
5265
5382
  function documentationItemConfigurationToDTOV2(config) {
5266
5383
  const dtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2();
5267
- if (!config)
5268
- return dtoDefaultItemConfigurationV2;
5384
+ if (!config) return dtoDefaultItemConfigurationV2;
5269
5385
  return {
5270
5386
  header: config.header,
5271
5387
  isHidden: _nullishCoalesce(config.isHidden, () => ( dtoDefaultItemConfigurationV2.isHidden)),
@@ -5310,8 +5426,7 @@ function calculateChildrenIdsMapV2(elements, groups) {
5310
5426
  const byParentId = groupBy([...elements, ...groups], (e) => e.parentPersistentId);
5311
5427
  const childrenIdsMap = /* @__PURE__ */ new Map();
5312
5428
  for (const [parentPersistentId, children] of byParentId) {
5313
- if (!parentPersistentId)
5314
- continue;
5429
+ if (!parentPersistentId) continue;
5315
5430
  children.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
5316
5431
  childrenIdsMap.set(
5317
5432
  parentPersistentId,
@@ -5333,10 +5448,8 @@ function documentationPagesFixedConfigurationToDTOV1(pages, groups, routingVersi
5333
5448
  }
5334
5449
  function documentationPageToDTOV1(page, pagePathMap) {
5335
5450
  let path = pagePathMap.get(page.persistentId);
5336
- if (!path)
5337
- throw SupernovaException.conflict(`Path for page ${page.id} was not calculated`);
5338
- if (path.startsWith("/"))
5339
- path = path.substring(1);
5451
+ if (!path) throw SupernovaException.conflict(`Path for page ${page.id} was not calculated`);
5452
+ if (path.startsWith("/")) path = path.substring(1);
5340
5453
  const configuration = documentationItemConfigurationToDTOV1(page.data.configuration);
5341
5454
  return {
5342
5455
  id: page.id,
@@ -5371,10 +5484,8 @@ function documentationPagesFixedConfigurationToDTOV2(pages, groups, routingVersi
5371
5484
  }
5372
5485
  function _documentationPageToDTOV2(page, pagePathMap, pageLiveblocksRoomIdMap) {
5373
5486
  let path = pagePathMap.get(page.persistentId);
5374
- if (!path)
5375
- throw new Error(`Path for page ${page.persistentId} was not calculated`);
5376
- if (path.startsWith("/"))
5377
- path = path.substring(1);
5487
+ if (!path) throw new Error(`Path for page ${page.persistentId} was not calculated`);
5488
+ if (path.startsWith("/")) path = path.substring(1);
5378
5489
  const liveblocksRoomId = pageLiveblocksRoomIdMap.get(page.persistentId);
5379
5490
  return {
5380
5491
  id: "to_be_removed",
@@ -5730,10 +5841,35 @@ var DTODataSourceFigmaVariablesPlugin = _zod.z.object({
5730
5841
  isCollectionsMigrationCompleted: _zod.z.boolean().default(false)
5731
5842
  })
5732
5843
  });
5844
+ var DTODataSourceStorybook = _zod.z.object({
5845
+ id: _zod.z.string(),
5846
+ type: _zod.z.literal(DataSourceRemoteType.Enum.Storybook),
5847
+ fileName: _zod.z.string(),
5848
+ brandId: _zod.z.string(),
5849
+ sortOrder: _zod.z.number().optional(),
5850
+ storybook: _zod.z.object({
5851
+ indexUrl: _zod.z.string(),
5852
+ userUrl: _zod.z.string(),
5853
+ lastImportedAt: _zod.z.coerce.date().optional(),
5854
+ lastImportedSuccessfully: _zod.z.coerce.date().optional(),
5855
+ isFailed: _zod.z.boolean(),
5856
+ storiesCount: _zod.z.number(),
5857
+ docsCount: _zod.z.number()
5858
+ })
5859
+ });
5860
+ var DTODataSourcesStorybookResponse = _zod.z.object({
5861
+ isFailed: _zod.z.boolean(),
5862
+ storiesCount: _zod.z.number(),
5863
+ docsCount: _zod.z.number(),
5864
+ created: _zod.z.array(_zod.z.string()).optional(),
5865
+ updated: _zod.z.array(_zod.z.string()).optional(),
5866
+ deleted: _zod.z.array(_zod.z.string()).optional()
5867
+ });
5733
5868
  var DTODataSource = _zod.z.discriminatedUnion("type", [
5734
5869
  DTODataSourceFigma,
5735
5870
  DTODataSourceFigmaVariablesPlugin,
5736
- DTODataSourceTokenStudio
5871
+ DTODataSourceTokenStudio,
5872
+ DTODataSourceStorybook
5737
5873
  ]);
5738
5874
  var DTODataSourcesListResponse = _zod.z.object({
5739
5875
  sources: _zod.z.array(DTODataSource)
@@ -5750,6 +5886,17 @@ var DTODataSourceFigmaCreatePayload = _zod.z.object({
5750
5886
  var DTODataSourceFigmaImportPayload = _zod.z.object({
5751
5887
  sourceIds: _zod.z.array(_zod.z.string())
5752
5888
  });
5889
+ var DTODataSourceStorybookCreatePayload = _zod.z.object({
5890
+ brandPersistentId: _zod.z.string(),
5891
+ userUrl: _zod.z.string(),
5892
+ indexUrl: _zod.z.string(),
5893
+ payload: _zod.z.unknown(),
5894
+ type: _zod.z.literal(DataSourceRemoteType.Enum.Storybook)
5895
+ });
5896
+ var DTOStorybookImportPayload = _zod.z.object({
5897
+ sourceId: _zod.z.string(),
5898
+ payload: _zod.z.unknown()
5899
+ });
5753
5900
 
5754
5901
  // src/api/dto/design-systems/design-system.ts
5755
5902
 
@@ -6000,6 +6147,32 @@ var DTODesignSystemVersionStatsQuery = _zod.z.object({
6000
6147
  brandId: _zod.z.string().optional()
6001
6148
  });
6002
6149
 
6150
+ // src/api/dto/design-systems/storybook.ts
6151
+
6152
+ var DTOStorybookEntryOrigin = _zod.z.object({
6153
+ id: _zod.z.string(),
6154
+ type: _zod.z.enum(["story", "docs"]),
6155
+ name: _zod.z.string(),
6156
+ title: _zod.z.string()
6157
+ });
6158
+ var DTOStorybookEntry = _zod.z.object({
6159
+ id: _zod.z.string(),
6160
+ storyId: _zod.z.string(),
6161
+ designSystemId: _zod.z.string(),
6162
+ sourceId: _zod.z.string(),
6163
+ aliases: _zod.z.array(_zod.z.string()).optional(),
6164
+ url: _zod.z.string(),
6165
+ isDeleted: _zod.z.boolean().optional(),
6166
+ origin: DTOStorybookEntryOrigin,
6167
+ createdAt: _zod.z.coerce.date(),
6168
+ updatedAt: _zod.z.coerce.date()
6169
+ });
6170
+ var DTOStorybookEntryReplaceAction = _zod.z.object({
6171
+ newStoryId: _zod.z.string()
6172
+ });
6173
+ var DTOStorybookEntryListResponse = _zod.z.object({ entries: _zod.z.array(DTOStorybookEntry) });
6174
+ var DTOStorybookEntryResponse = _zod.z.object({ entry: DTOStorybookEntry });
6175
+
6003
6176
  // src/api/dto/design-systems/version-room.ts
6004
6177
 
6005
6178
  var DTODesignSystemVersionRoom = _zod.z.object({
@@ -6057,6 +6230,24 @@ var DTOUpdateVersionInput = _zod.z.object({
6057
6230
  changeLog: _zod.z.string()
6058
6231
  });
6059
6232
 
6233
+ // src/api/payloads/documentation/analytics.ts
6234
+
6235
+ var DTODocumentationAnalyticsTimeFrame = _zod.z.object({
6236
+ start: _zod.z.coerce.date(),
6237
+ end: _zod.z.coerce.date()
6238
+ });
6239
+ var DTODocumentationAnalyticsQueryParams = _zod.z.object({
6240
+ start: _zod.z.coerce.date(),
6241
+ end: _zod.z.coerce.date().optional()
6242
+ });
6243
+ var DTODocumentationAnalyticsTimeFrameComparison = _zod.z.object({
6244
+ referencePeriod: DTODocumentationAnalyticsTimeFrame,
6245
+ baselinePeriod: DTODocumentationAnalyticsTimeFrame
6246
+ });
6247
+ var DTODocumentationAnalyticsDiffPayload = _zod.z.object({
6248
+ timeFrames: _zod.z.array(DTODocumentationAnalyticsTimeFrameComparison)
6249
+ });
6250
+
6060
6251
  // src/api/payloads/documentation/block-definitions.ts
6061
6252
 
6062
6253
 
@@ -6289,7 +6480,6 @@ var DTOWorkspaceIntegrationOauthInput = _zod.z.object({
6289
6480
  type: IntegrationType
6290
6481
  });
6291
6482
  var DTOWorkspaceIntegrationPATInput = _zod.z.object({
6292
- userId: _zod.z.string(),
6293
6483
  type: IntegrationType,
6294
6484
  token: IntegrationToken
6295
6485
  });
@@ -6517,6 +6707,22 @@ var DTOWorkspaceMembersListResponse = _zod.z.object({
6517
6707
  members: _zod.z.array(DTOWorkspaceMember)
6518
6708
  });
6519
6709
 
6710
+ // src/api/dto/workspaces/untyped-data.ts
6711
+
6712
+ var DTOWorkspaceUntypedData = WorkspaceUntypedData;
6713
+ var DTOWorkspaceUntypedDataListResponse = _zod.z.object({
6714
+ data: DTOWorkspaceUntypedData.array()
6715
+ });
6716
+ var DTOWorkspaceUntypedDataResponse = _zod.z.object({
6717
+ data: DTOWorkspaceUntypedData
6718
+ });
6719
+ var DTOWorkspaceUntypedDataCreatePayload = _zod.z.object({
6720
+ value: _zod.z.unknown()
6721
+ });
6722
+ var DTOWorkspaceUntypedDataUpdatePayload = _zod.z.object({
6723
+ value: _zod.z.unknown()
6724
+ });
6725
+
6520
6726
  // src/api/dto/bff/app-bootstrap-data.ts
6521
6727
  var DTOAppBootstrapDataQuery = _zod.z.object({
6522
6728
  preferredWorkspaceId: _zod.z.string().optional(),
@@ -6610,7 +6816,20 @@ var DTOPublishedDocPageVisitData = _zod.z.object({
6610
6816
  visits: _zod.z.number(),
6611
6817
  sessions: _zod.z.number()
6612
6818
  });
6613
- var DTOAnalyticsDataResponse = _zod.z.array(DTOPublishedDocPageVisitData);
6819
+ var DTODocumentationPageAnalyticsDifference = _zod.z.object({
6820
+ startDate: _zod.z.coerce.date(),
6821
+ endDate: _zod.z.coerce.date(),
6822
+ currentVisitCount: _zod.z.number(),
6823
+ currentSessionCount: _zod.z.number(),
6824
+ priorVisitCount: _zod.z.number(),
6825
+ priorSessionCount: _zod.z.number()
6826
+ });
6827
+ var DTODocumentationPageAnalyticsResponse = _zod.z.object({
6828
+ analytics: _zod.z.array(DTOPublishedDocPageVisitData)
6829
+ });
6830
+ var DTODocumentationPageIntervalDifferenceResponse = _zod.z.object({
6831
+ differences: _zod.z.array(DTODocumentationPageAnalyticsDifference)
6832
+ });
6614
6833
 
6615
6834
  // src/api/dto/documentation/anchor.ts
6616
6835
 
@@ -8519,6 +8738,26 @@ var DesignSystemVersionsEndpoint = class {
8519
8738
  }
8520
8739
  };
8521
8740
 
8741
+ // src/api/endpoints/design-system/analytics.ts
8742
+ var DesignSystemAnalyticsEndpoint = class {
8743
+ constructor(requestExecutor) {
8744
+ this.requestExecutor = requestExecutor;
8745
+ }
8746
+ get(designSystemId, versionId, query) {
8747
+ return this.requestExecutor.json(
8748
+ `/design-systems/${designSystemId}/versions/${versionId}/documentation/analytics`,
8749
+ DTODocumentationPageAnalyticsResponse,
8750
+ {
8751
+ method: "GET",
8752
+ query: new URLSearchParams({
8753
+ start: query.start.toISOString(),
8754
+ ...query.end && { end: query.end.toISOString() }
8755
+ })
8756
+ }
8757
+ );
8758
+ }
8759
+ };
8760
+
8522
8761
  // src/api/endpoints/design-system/bff.ts
8523
8762
  var DesignSystemBffEndpoint = class {
8524
8763
  constructor(requestExecutor) {
@@ -8636,6 +8875,9 @@ var DesignSystemSourcesEndpoint = class {
8636
8875
  list(dsId) {
8637
8876
  return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourcesListResponse);
8638
8877
  }
8878
+ get(dsId, sourceId) {
8879
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
8880
+ }
8639
8881
  delete(dsId, sourceId) {
8640
8882
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, _zod.z.any(), { method: "DELETE" });
8641
8883
  }
@@ -8645,6 +8887,29 @@ var DesignSystemSourcesEndpoint = class {
8645
8887
  body: payload
8646
8888
  });
8647
8889
  }
8890
+ storybookImport(dsId, payload) {
8891
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook-import`, DTODataSourcesStorybookResponse, {
8892
+ method: "POST",
8893
+ body: payload
8894
+ });
8895
+ }
8896
+ };
8897
+
8898
+ // src/api/endpoints/design-system/storybook.ts
8899
+
8900
+ var StorybookEntriesEndpoint = class {
8901
+ constructor(requestExecutor) {
8902
+ this.requestExecutor = requestExecutor;
8903
+ }
8904
+ list(dsId) {
8905
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook`, DTOStorybookEntryListResponse);
8906
+ }
8907
+ replace(dsId, entryId) {
8908
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, DTOStorybookEntryReplaceAction, { method: "PUT" });
8909
+ }
8910
+ delete(dsId, entryId) {
8911
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, _zod.z.any(), { method: "DELETE" });
8912
+ }
8648
8913
  };
8649
8914
 
8650
8915
  // src/api/endpoints/design-system/design-systems.ts
@@ -8655,16 +8920,20 @@ var DesignSystemsEndpoint = class {
8655
8920
  __publicField(this, "versions");
8656
8921
  __publicField(this, "bff");
8657
8922
  __publicField(this, "sources");
8923
+ __publicField(this, "storybook");
8658
8924
  __publicField(this, "contacts");
8659
8925
  __publicField(this, "redirects");
8660
8926
  __publicField(this, "figmaNodeStructures");
8927
+ __publicField(this, "analytics");
8661
8928
  this.members = new DesignSystemMembersEndpoint(requestExecutor);
8662
8929
  this.versions = new DesignSystemVersionsEndpoint(requestExecutor);
8663
8930
  this.bff = new DesignSystemBffEndpoint(requestExecutor);
8664
8931
  this.sources = new DesignSystemSourcesEndpoint(requestExecutor);
8932
+ this.storybook = new StorybookEntriesEndpoint(requestExecutor);
8665
8933
  this.contacts = new DesignSystemContactsEndpoint(requestExecutor);
8666
8934
  this.redirects = new DesignSystemPageRedirectsEndpoint(requestExecutor);
8667
8935
  this.figmaNodeStructures = new FigmaNodeStructuresEndpoint(requestExecutor);
8936
+ this.analytics = new DesignSystemAnalyticsEndpoint(requestExecutor);
8668
8937
  }
8669
8938
  create(body) {
8670
8939
  return this.requestExecutor.json("/design-systems", DTODesignSystemResponse, { method: "POST", body });
@@ -8902,14 +9171,12 @@ var RequestExecutor = class {
8902
9171
  const defaultHeaders = {
8903
9172
  Accept: "application/json"
8904
9173
  };
8905
- if (requestInit.body)
8906
- defaultHeaders["Content-Type"] = "application/json";
9174
+ if (requestInit.body) defaultHeaders["Content-Type"] = "application/json";
8907
9175
  if (this.testServerConfig.accessToken) {
8908
9176
  defaultHeaders["Authorization"] = `Bearer ${this.testServerConfig.accessToken}`;
8909
9177
  }
8910
9178
  let body;
8911
- if (requestInit.body && typeof requestInit.body === "object")
8912
- body = JSON.stringify(requestInit.body);
9179
+ if (requestInit.body && typeof requestInit.body === "object") body = JSON.stringify(requestInit.body);
8913
9180
  const response = await _nodefetch2.default.call(void 0, this.fullUrl(path, requestInit.query), {
8914
9181
  ...requestInit,
8915
9182
  headers: {
@@ -8941,8 +9208,7 @@ var RequestExecutor = class {
8941
9208
  fullUrl(path, query) {
8942
9209
  let url = `https://${this.testServerConfig.host}/api/v2${path}`;
8943
9210
  const queryString = _optionalChain([query, 'optionalAccess', _36 => _36.toString, 'call', _37 => _37()]);
8944
- if (queryString)
8945
- url += `?${queryString}`;
9211
+ if (queryString) url += `?${queryString}`;
8946
9212
  return url;
8947
9213
  }
8948
9214
  };
@@ -9140,8 +9406,7 @@ var VersionRoomBaseYDoc = class {
9140
9406
  const map = this.documentationPageContentHashesYMap;
9141
9407
  const result = {};
9142
9408
  map.forEach((hash2, key) => {
9143
- if (typeof hash2 === "string")
9144
- result[key] = hash2;
9409
+ if (typeof hash2 === "string") result[key] = hash2;
9145
9410
  });
9146
9411
  return result;
9147
9412
  }
@@ -9149,8 +9414,7 @@ var VersionRoomBaseYDoc = class {
9149
9414
  const map = this.documentationPageLiveblocksRoomIdsYMap;
9150
9415
  const result = {};
9151
9416
  map.forEach((hash2, key) => {
9152
- if (typeof hash2 === "string")
9153
- result[key] = hash2;
9417
+ if (typeof hash2 === "string") result[key] = hash2;
9154
9418
  });
9155
9419
  return result;
9156
9420
  }
@@ -9184,8 +9448,7 @@ var VersionRoomBaseYDoc = class {
9184
9448
  //
9185
9449
  updateExecutedTransactionIds(transactionIds) {
9186
9450
  transactionIds = Array.from(new Set(transactionIds));
9187
- if (!transactionIds.length)
9188
- return;
9451
+ if (!transactionIds.length) return;
9189
9452
  const array = this.executedTransactionIdsArray;
9190
9453
  array.push(transactionIds);
9191
9454
  if (array.length > 100) {
@@ -9277,8 +9540,7 @@ function buildPageDraftCreatedAndUpdatedStates(pages, pageSnapshots, pageHashes,
9277
9540
  const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess', _38 => _38.pageContentHash]))), () => ( ""));
9278
9541
  const currentState = itemStateFromPage(page, currentPageContentHash);
9279
9542
  const draftState = createDraftState(page.persistentId, currentState, publishedState, debug);
9280
- if (draftState)
9281
- result.set(page.persistentId, draftState);
9543
+ if (draftState) result.set(page.persistentId, draftState);
9282
9544
  });
9283
9545
  return result;
9284
9546
  }
@@ -9297,8 +9559,7 @@ function buildPagePublishedMetadata(pages, pageSnapshots) {
9297
9559
  const result = /* @__PURE__ */ new Map();
9298
9560
  pages.forEach((p) => {
9299
9561
  const publishedSnapshot = publishedPageSnapshotsByPersistentId.get(p.persistentId);
9300
- if (!publishedSnapshot)
9301
- return;
9562
+ if (!publishedSnapshot) return;
9302
9563
  result.set(p.persistentId, {
9303
9564
  lastPublishedAt: publishedSnapshot.createdAt,
9304
9565
  lastPublishedByUserId: publishedSnapshot.createdByUserId
@@ -9362,8 +9623,7 @@ function buildPageDraftDeletedStates(pages, pageSnapshots) {
9362
9623
  const result = /* @__PURE__ */ new Map();
9363
9624
  pages.forEach((page) => {
9364
9625
  const deletedSnapshot = deletedSnapshotsByPagePersistentId.get(page.persistentId);
9365
- if (!deletedSnapshot)
9366
- return;
9626
+ if (!deletedSnapshot) return;
9367
9627
  result.set(page.persistentId, {
9368
9628
  changeType: "Deleted",
9369
9629
  deletedAt: deletedSnapshot.createdAt,
@@ -9379,11 +9639,9 @@ function buildGroupDraftDeletedStates(groups, groupSnapshots) {
9379
9639
  );
9380
9640
  const result = /* @__PURE__ */ new Map();
9381
9641
  groups.forEach((group) => {
9382
- if (!group.parentPersistentId)
9383
- return;
9642
+ if (!group.parentPersistentId) return;
9384
9643
  const deletedSnapshot = deletedSnapshotsByGroupPersistentId.get(group.persistentId);
9385
- if (!deletedSnapshot)
9386
- return;
9644
+ if (!deletedSnapshot) return;
9387
9645
  result.set(group.persistentId, {
9388
9646
  changeType: "Deleted",
9389
9647
  deletedAt: deletedSnapshot.createdAt,
@@ -9397,8 +9655,7 @@ function buildGroupDraftCreatedAndUpdatedStates(groups, groupSnapshots, debug) {
9397
9655
  const publishedSnapshotsByGroupPersistent = mapByUnique(publishedSnapshots, (s) => s.group.persistentId);
9398
9656
  const result = /* @__PURE__ */ new Map();
9399
9657
  groups.forEach((group) => {
9400
- if (!group.parentPersistentId)
9401
- return;
9658
+ if (!group.parentPersistentId) return;
9402
9659
  const currentState = itemStateFromGroup(group);
9403
9660
  const snapshot = publishedSnapshotsByGroupPersistent.get(group.persistentId);
9404
9661
  let publishedState;
@@ -9406,8 +9663,7 @@ function buildGroupDraftCreatedAndUpdatedStates(groups, groupSnapshots, debug) {
9406
9663
  publishedState = itemStateFromGroup(snapshot.group);
9407
9664
  }
9408
9665
  const draftState = createDraftState(group.persistentId, currentState, publishedState, debug);
9409
- if (draftState)
9410
- result.set(group.persistentId, draftState);
9666
+ if (draftState) result.set(group.persistentId, draftState);
9411
9667
  });
9412
9668
  return result;
9413
9669
  }
@@ -9425,11 +9681,9 @@ function buildGroupPublishedMetadata(groups, groupSnapshots) {
9425
9681
  );
9426
9682
  const result = /* @__PURE__ */ new Map();
9427
9683
  groups.forEach((g) => {
9428
- if (!g.parentPersistentId)
9429
- return;
9684
+ if (!g.parentPersistentId) return;
9430
9685
  const publishedSnapshot = publishedGroupSnapshotsByPersistentId.get(g.persistentId);
9431
- if (!publishedSnapshot)
9432
- return;
9686
+ if (!publishedSnapshot) return;
9433
9687
  result.set(g.persistentId, {
9434
9688
  lastPublishedAt: publishedSnapshot.createdAt,
9435
9689
  lastPublishedByUserId: publishedSnapshot.createdByUserId
@@ -9448,17 +9702,14 @@ function generatePageContentHash(content, definitions, debug = false) {
9448
9702
  return generateHash(sanitizedContent, debug);
9449
9703
  }
9450
9704
  function isPageContentEmpty(content) {
9451
- if (content.blocks.length > 1)
9452
- return false;
9453
- if (content.blocks.length < 1)
9454
- return true;
9705
+ if (content.blocks.length > 1) return false;
9706
+ if (content.blocks.length < 1) return true;
9455
9707
  const singleBlock = content.blocks[0];
9456
9708
  if (singleBlock.type !== "Block" || singleBlock.data.packageId !== "io.supernova.block.rich-text") {
9457
9709
  return false;
9458
9710
  }
9459
9711
  const singleItem = singleBlock.data.items[0];
9460
- if (!singleItem || !singleItem.props["text"])
9461
- return true;
9712
+ if (!singleItem || !singleItem.props["text"]) return true;
9462
9713
  const textValue = singleItem.props["text"];
9463
9714
  return !textValue.value.spans.length;
9464
9715
  }
@@ -10368,10 +10619,8 @@ var _yprosemirror = require('y-prosemirror');
10368
10619
  // src/yjs/docs-editor/utils.ts
10369
10620
  var BlockParsingUtils = {
10370
10621
  singleBlockItem(block) {
10371
- if (!block.data.items.length)
10372
- throw new Error(`Block ${block.id} has no items`);
10373
- if (block.data.items.length > 1)
10374
- throw new Error(`Block ${block.id} has more than 1 item`);
10622
+ if (!block.data.items.length) throw new Error(`Block ${block.id} has no items`);
10623
+ if (block.data.items.length > 1) throw new Error(`Block ${block.id} has more than 1 item`);
10375
10624
  return block.data.items[0];
10376
10625
  },
10377
10626
  richTextPropertyValue(item, propertyKey) {
@@ -10403,34 +10652,29 @@ var BlockParsingUtils = {
10403
10652
  },
10404
10653
  propertyValueOrThrow(item, propertyKey) {
10405
10654
  const value = item.props[propertyKey];
10406
- if (!value)
10407
- throw new Error(`Property ${propertyKey} is not defined on block item`);
10655
+ if (!value) throw new Error(`Property ${propertyKey} is not defined on block item`);
10408
10656
  return value;
10409
10657
  }
10410
10658
  };
10411
10659
  var BlockDefinitionUtils = {
10412
10660
  firstRichTextProperty(definition) {
10413
10661
  const property = definition.item.properties.find((p) => p.type === "RichText");
10414
- if (property)
10415
- return property;
10662
+ if (property) return property;
10416
10663
  return void 0;
10417
10664
  },
10418
10665
  firstMultiRichTextProperty(definition) {
10419
10666
  const property = definition.item.properties.find((p) => p.type === "MultiRichText");
10420
- if (property)
10421
- return property;
10667
+ if (property) return property;
10422
10668
  return void 0;
10423
10669
  },
10424
10670
  firstTableProperty(definition) {
10425
10671
  const property = definition.item.properties.find((p) => p.type === "Table");
10426
- if (property)
10427
- return property;
10672
+ if (property) return property;
10428
10673
  return void 0;
10429
10674
  },
10430
10675
  firstEmbedProperty(definition) {
10431
10676
  const property = definition.item.properties.find((p) => p.type === "EmbedURL");
10432
- if (property)
10433
- return property;
10677
+ if (property) return property;
10434
10678
  return void 0;
10435
10679
  },
10436
10680
  richTextProperty(definition, propertyKey) {
@@ -10485,13 +10729,11 @@ var ListTreeBuilder = class {
10485
10729
  return node;
10486
10730
  }
10487
10731
  getParentOfDepth(depth) {
10488
- if (!this.rootNode || depth <= 0)
10489
- throw new Error("Invalid state");
10732
+ if (!this.rootNode || depth <= 0) throw new Error("Invalid state");
10490
10733
  let currentNode = this.rootNode;
10491
10734
  let currentDepth = depth - 1;
10492
10735
  while (currentDepth > 0) {
10493
- if (currentNode.children.length === 0)
10494
- return currentNode;
10736
+ if (currentNode.children.length === 0) return currentNode;
10495
10737
  const lastChild = currentNode.children[currentNode.children.length - 1];
10496
10738
  if (lastChild.type !== "List") {
10497
10739
  return currentNode;
@@ -10928,8 +11170,7 @@ function serializeBlockNodeAttributes(block) {
10928
11170
  }
10929
11171
  function richTextHeadingLevel(property) {
10930
11172
  const style = _optionalChain([property, 'access', _48 => _48.options, 'optionalAccess', _49 => _49.richTextStyle]);
10931
- if (!style)
10932
- return void 0;
11173
+ if (!style) return void 0;
10933
11174
  switch (style) {
10934
11175
  case "Title1":
10935
11176
  return 1;
@@ -10963,8 +11204,7 @@ function serializeCalloutType(calloutType) {
10963
11204
  }
10964
11205
  function serializeRichTextNodePart(richText) {
10965
11206
  const spans = serializeRichText(richText);
10966
- if (spans.length)
10967
- return { content: spans };
11207
+ if (spans.length) return { content: spans };
10968
11208
  return {};
10969
11209
  }
10970
11210
  function serializeRichText(richText) {
@@ -13243,11 +13483,9 @@ function parseAsListNode(prosemirrorNode) {
13243
13483
  };
13244
13484
  }
13245
13485
  function parseAsListNodeItem(prosemirrorNode) {
13246
- if (prosemirrorNode.type !== "listItem")
13247
- return null;
13486
+ if (prosemirrorNode.type !== "listItem") return null;
13248
13487
  const firstChild = _optionalChain([prosemirrorNode, 'access', _53 => _53.content, 'optionalAccess', _54 => _54[0]]);
13249
- if (!firstChild || firstChild.type !== "paragraph")
13250
- return null;
13488
+ if (!firstChild || firstChild.type !== "paragraph") return null;
13251
13489
  return parseRichText(_nullishCoalesce(firstChild.content, () => ( [])));
13252
13490
  }
13253
13491
  function prosemirrorNodeToSection(prosemirrorNode, definitions) {
@@ -13256,8 +13494,7 @@ function prosemirrorNodeToSection(prosemirrorNode, definitions) {
13256
13494
  }
13257
13495
  function internalProsemirrorNodeToSection(prosemirrorNode, definitionsMap) {
13258
13496
  const id = getProsemirrorBlockId(prosemirrorNode);
13259
- if (!id)
13260
- return null;
13497
+ if (!id) return null;
13261
13498
  return {
13262
13499
  id,
13263
13500
  type: "Section",
@@ -13272,8 +13509,7 @@ function internalProsemirrorNodeToSection(prosemirrorNode, definitionsMap) {
13272
13509
  }
13273
13510
  function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
13274
13511
  const id = getProsemirrorBlockId(prosemirrorNode);
13275
- if (!id)
13276
- return null;
13512
+ if (!id) return null;
13277
13513
  return {
13278
13514
  id,
13279
13515
  title: _nullishCoalesce(getProsemirrorAttribute(prosemirrorNode, "title", _zod.z.string()), () => ( "")),
@@ -13282,8 +13518,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
13282
13518
  }
13283
13519
  function prosemirrorNodeToSectionColumns(prosemirrorNode, definitionsMap) {
13284
13520
  const id = getProsemirrorBlockId(prosemirrorNode);
13285
- if (!id)
13286
- return null;
13521
+ if (!id) return null;
13287
13522
  return {
13288
13523
  id,
13289
13524
  blocks: internalProsemirrorNodesToBlocks(_nullishCoalesce(prosemirrorNode.content, () => ( [])), definitionsMap, 0)
@@ -13350,8 +13585,7 @@ function shallowProsemirrorNodeAndDefinitionToBlock(prosemirrorNode, definition)
13350
13585
  }
13351
13586
  function parseAsRichText(prosemirrorNode, definition, property) {
13352
13587
  const id = getProsemirrorBlockId(prosemirrorNode);
13353
- if (!id)
13354
- return null;
13588
+ if (!id) return null;
13355
13589
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13356
13590
  const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", _zod.z.string().optional()));
13357
13591
  return {
@@ -13378,8 +13612,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
13378
13612
  };
13379
13613
  }
13380
13614
  function parseCalloutType(prosemirrorCalloutType) {
13381
- if (!prosemirrorCalloutType)
13382
- return void 0;
13615
+ if (!prosemirrorCalloutType) return void 0;
13383
13616
  switch (prosemirrorCalloutType) {
13384
13617
  case "critical":
13385
13618
  return "Error";
@@ -13395,22 +13628,19 @@ function parseCalloutType(prosemirrorCalloutType) {
13395
13628
  }
13396
13629
  function parseAsMultiRichText(prosemirrorNode, definition, property, definitionsMap, depth) {
13397
13630
  const id = getProsemirrorBlockId(prosemirrorNode);
13398
- if (!id)
13399
- return [];
13631
+ if (!id) return [];
13400
13632
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13401
13633
  const result = [];
13402
13634
  const listItems = [];
13403
13635
  _optionalChain([prosemirrorNode, 'access', _55 => _55.content, 'optionalAccess', _56 => _56.forEach, 'call', _57 => _57((c) => {
13404
- if (c.type !== "listItem")
13405
- return;
13636
+ if (c.type !== "listItem") return;
13406
13637
  _optionalChain([c, 'access', _58 => _58.content, 'optionalAccess', _59 => _59.forEach, 'call', _60 => _60((cc) => {
13407
13638
  listItems.push(cc);
13408
13639
  })]);
13409
13640
  })]);
13410
13641
  let bufferedTextItems = [];
13411
13642
  function flushBufferedTextItems() {
13412
- if (!bufferedTextItems.length)
13413
- return;
13643
+ if (!bufferedTextItems.length) return;
13414
13644
  const idSuffix = result.length ? `-${result.length}` : "";
13415
13645
  result.push({
13416
13646
  id: id + idSuffix,
@@ -13455,8 +13685,7 @@ function parseRichTextSpan(span) {
13455
13685
  if (span.type === "hardBreak") {
13456
13686
  return { text: "\n", attributes: [] };
13457
13687
  }
13458
- if (span.type !== "text" || !span.text)
13459
- return null;
13688
+ if (span.type !== "text" || !span.text) return null;
13460
13689
  const marks = _nullishCoalesce(span.marks, () => ( []));
13461
13690
  return {
13462
13691
  text: span.text,
@@ -13482,8 +13711,7 @@ function parseRichTextAttribute(mark) {
13482
13711
  }
13483
13712
  function parseProsemirrorLink(mark) {
13484
13713
  const href = getProsemirrorAttribute(mark, "href", _zod.z.string().optional());
13485
- if (!href)
13486
- return null;
13714
+ if (!href) return null;
13487
13715
  const target = getProsemirrorAttribute(mark, "target", _zod.z.string().optional());
13488
13716
  const openInNewTab = target === "_blank";
13489
13717
  if (href.startsWith("@")) {
@@ -13504,8 +13732,7 @@ function parseProsemirrorLink(mark) {
13504
13732
  }
13505
13733
  function parseProsemirrorCommentHighlight(mark) {
13506
13734
  const highlightId = getProsemirrorAttribute(mark, "highlightId", _zod.z.string().optional());
13507
- if (!highlightId)
13508
- return null;
13735
+ if (!highlightId) return null;
13509
13736
  const isResolved = _nullishCoalesce(getProsemirrorAttribute(mark, "resolved", _zod.z.boolean().optional()), () => ( false));
13510
13737
  return {
13511
13738
  type: "Comment",
@@ -13515,8 +13742,7 @@ function parseProsemirrorCommentHighlight(mark) {
13515
13742
  }
13516
13743
  function parseAsTable(prosemirrorNode, definition, property) {
13517
13744
  const id = getProsemirrorBlockId(prosemirrorNode);
13518
- if (!id)
13519
- return null;
13745
+ if (!id) return null;
13520
13746
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13521
13747
  const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", _zod.z.boolean().optional()) !== false;
13522
13748
  const tableChild = _optionalChain([prosemirrorNode, 'access', _61 => _61.content, 'optionalAccess', _62 => _62.find, 'call', _63 => _63((c) => c.type === "table")]);
@@ -13563,8 +13789,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
13563
13789
  }
13564
13790
  function parseAsTableCell(prosemirrorNode) {
13565
13791
  const id = getProsemirrorBlockId(prosemirrorNode);
13566
- if (!id)
13567
- return null;
13792
+ if (!id) return null;
13568
13793
  const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", _zod.z.string().optional());
13569
13794
  let columnWidth;
13570
13795
  const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", _zod.z.array(_zod.z.number()).nullish());
@@ -13580,8 +13805,7 @@ function parseAsTableCell(prosemirrorNode) {
13580
13805
  };
13581
13806
  }
13582
13807
  function parseTableCellAlignment(alignment) {
13583
- if (!alignment)
13584
- return "Left";
13808
+ if (!alignment) return "Left";
13585
13809
  switch (alignment) {
13586
13810
  case "left":
13587
13811
  return "Left";
@@ -13595,8 +13819,7 @@ function parseTableCellAlignment(alignment) {
13595
13819
  }
13596
13820
  function parseAsTableNode(prosemirrorNode) {
13597
13821
  const id = getProsemirrorBlockId(prosemirrorNode);
13598
- if (!id)
13599
- return null;
13822
+ if (!id) return null;
13600
13823
  switch (prosemirrorNode.type) {
13601
13824
  case "paragraph":
13602
13825
  return {
@@ -13606,17 +13829,13 @@ function parseAsTableNode(prosemirrorNode) {
13606
13829
  };
13607
13830
  case "image":
13608
13831
  const items = getProsemirrorAttribute(prosemirrorNode, "items", _zod.z.string());
13609
- if (!items)
13610
- return null;
13832
+ if (!items) return null;
13611
13833
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
13612
- if (!parsedItems.success)
13613
- return null;
13834
+ if (!parsedItems.success) return null;
13614
13835
  const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _80 => _80.data, 'access', _81 => _81[0], 'optionalAccess', _82 => _82.props, 'access', _83 => _83.image]);
13615
- if (!rawImagePropertyValue)
13616
- return null;
13836
+ if (!rawImagePropertyValue) return null;
13617
13837
  const imagePropertyValueParseResult = PageBlockItemImageValue.safeParse(rawImagePropertyValue);
13618
- if (!imagePropertyValueParseResult.success)
13619
- return null;
13838
+ if (!imagePropertyValueParseResult.success) return null;
13620
13839
  const { value, caption, alt, alignment } = imagePropertyValueParseResult.data;
13621
13840
  return {
13622
13841
  type: "Image",
@@ -13678,8 +13897,7 @@ function emptyTableCellContent() {
13678
13897
  }
13679
13898
  function parseAsDivider(prosemirrorNode, definition) {
13680
13899
  const id = getProsemirrorBlockId(prosemirrorNode);
13681
- if (!id)
13682
- return null;
13900
+ if (!id) return null;
13683
13901
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13684
13902
  return {
13685
13903
  id,
@@ -13694,8 +13912,7 @@ function parseAsDivider(prosemirrorNode, definition) {
13694
13912
  }
13695
13913
  function parseAsCustomBlock(prosemirrorNode, definition) {
13696
13914
  const id = getProsemirrorBlockId(prosemirrorNode);
13697
- if (!id)
13698
- return null;
13915
+ if (!id) return null;
13699
13916
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13700
13917
  const appearance = parseAppearance(prosemirrorNode);
13701
13918
  const parsedItems = _nullishCoalesce(parseBlockItems(prosemirrorNode, definition), () => ( []));
@@ -13726,8 +13943,7 @@ function definitionExpectsPlaceholderItem(definition) {
13726
13943
  }
13727
13944
  function parseBlockItems(prosemirrorNode, definition) {
13728
13945
  const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", _zod.z.string());
13729
- if (!itemsString)
13730
- return null;
13946
+ if (!itemsString) return null;
13731
13947
  const itemsJson = JSON.parse(itemsString);
13732
13948
  if (!Array.isArray(itemsJson)) {
13733
13949
  console.error("Block `items` property must be a json array");
@@ -13755,8 +13971,7 @@ function parseAppearance(prosemirrorNode) {
13755
13971
  appearance.itemBackgroundColor = parsedColor.data;
13756
13972
  }
13757
13973
  }
13758
- if (!Object.keys(appearance).length)
13759
- return void 0;
13974
+ if (!Object.keys(appearance).length) return void 0;
13760
13975
  return appearance;
13761
13976
  }
13762
13977
  function parseItem(rawItem, definition) {
@@ -13775,7 +13990,12 @@ function parseItem(rawItem, definition) {
13775
13990
  if (validationResult.success) {
13776
13991
  sanitizedProps[property.id] = validationResult.data;
13777
13992
  } else {
13778
- console.log(validationResult.error.toString());
13993
+ if (property.type === "Storybook") {
13994
+ const oldParsed = PageBlockItemStorybookValueOld.safeParse(value);
13995
+ if (oldParsed.success) {
13996
+ sanitizedProps[property.id] = storybookValueFromOldValue(oldParsed.data);
13997
+ }
13998
+ }
13779
13999
  }
13780
14000
  }
13781
14001
  return {
@@ -13844,8 +14064,7 @@ function valueSchemaForPropertyType(type) {
13844
14064
  }
13845
14065
  function getProsemirrorBlockId(prosemirrorNode) {
13846
14066
  const id = getProsemirrorAttribute(prosemirrorNode, "id", _zod.z.string());
13847
- if (!id)
13848
- console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
14067
+ if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
13849
14068
  return id;
13850
14069
  }
13851
14070
  function getProsemirrorBlockVariantId(prosemirrorNode) {
@@ -13943,16 +14162,19 @@ var LocalDocsElementActionExecutor = class {
13943
14162
  }
13944
14163
  applyTransaction(trx) {
13945
14164
  switch (trx.type) {
14165
+ // Groups
13946
14166
  case "DocumentationGroupCreate":
13947
14167
  return this.documentationGroupCreate(trx);
13948
14168
  case "DocumentationGroupUpdate":
13949
14169
  return this.documentationGroupUpdate(trx);
13950
14170
  case "DocumentationGroupMove":
13951
14171
  return this.documentationGroupMove(trx);
14172
+ // Groups - unsupported
13952
14173
  case "DocumentationGroupDelete":
13953
14174
  case "DocumentationGroupDuplicate":
13954
14175
  case "DocumentationGroupRestore":
13955
14176
  throw new Error(`Transaction type ${trx.type} is not yet implemented`);
14177
+ // Pages
13956
14178
  case "DocumentationPageCreate":
13957
14179
  return this.documentationPageCreate(trx);
13958
14180
  case "DocumentationPageUpdate":
@@ -13961,15 +14183,18 @@ var LocalDocsElementActionExecutor = class {
13961
14183
  return this.documentationPageMove(trx);
13962
14184
  case "DocumentationPageDelete":
13963
14185
  return this.documentationPageDelete(trx);
14186
+ // Pages - unsupported
13964
14187
  case "DocumentationPageApprovalStateChange":
13965
14188
  return this.documentationApprovalStateUpdate(trx);
13966
14189
  case "DocumentationPageDuplicate":
13967
14190
  case "DocumentationPageRestore":
13968
14191
  throw new Error(`Transaction type ${trx.type} is not yet implemented`);
14192
+ // Tabs
13969
14193
  case "DocumentationTabCreate":
13970
14194
  return this.documentationTabCreate(trx);
13971
14195
  case "DocumentationTabGroupDelete":
13972
14196
  throw new Error(`Transaction type ${trx.type} is not yet implemented`);
14197
+ // Won't ever be supported
13973
14198
  case "FigmaNodeRender":
13974
14199
  case "FigmaNodeRenderAsync":
13975
14200
  throw new Error(`Transaction type ${trx.type} is not a documentation element action`);
@@ -14178,13 +14403,10 @@ var LocalDocsElementActionExecutor = class {
14178
14403
  ...Array.from(this.pages.values()).filter((p) => p.parentPersistentId === parentPersistentId),
14179
14404
  ...Array.from(this.groups.values()).filter((g) => g.parentPersistentId === parentPersistentId)
14180
14405
  ];
14181
- if (!neighbours.length)
14182
- return 0;
14406
+ if (!neighbours.length) return 0;
14183
14407
  neighbours.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
14184
- if (afterPersistentId === null)
14185
- return neighbours[0].sortOrder - sortOrderStep;
14186
- if (!afterPersistentId)
14187
- return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
14408
+ if (afterPersistentId === null) return neighbours[0].sortOrder - sortOrderStep;
14409
+ if (!afterPersistentId) return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
14188
14410
  const index = neighbours.findIndex((e) => e.persistentId === afterPersistentId);
14189
14411
  if (index < 0 || index === neighbours.length - 1) {
14190
14412
  return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
@@ -14229,24 +14451,21 @@ var DocsStructureRepository = class {
14229
14451
  return !!this._currentHierarchy;
14230
14452
  }
14231
14453
  onInitialized() {
14232
- if (this.isInitialized)
14233
- return Promise.resolve();
14454
+ if (this.isInitialized) return Promise.resolve();
14234
14455
  return new Promise((resolve) => {
14235
14456
  this.initCallbacks.add(resolve);
14236
14457
  });
14237
14458
  }
14238
14459
  addHierarchyObserver(observer) {
14239
14460
  this.hierarchyObservers.add(observer);
14240
- if (this._currentHierarchy)
14241
- observer(this._currentHierarchy);
14461
+ if (this._currentHierarchy) observer(this._currentHierarchy);
14242
14462
  }
14243
14463
  removeHierarchyObserver(observer) {
14244
14464
  this.hierarchyObservers.delete(observer);
14245
14465
  }
14246
14466
  addSettingsObserver(observer) {
14247
14467
  this.settingsObservers.add(observer);
14248
- if (this._currentSettings)
14249
- observer(this._currentSettings);
14468
+ if (this._currentSettings) observer(this._currentSettings);
14250
14469
  }
14251
14470
  removeSettingsObserver(observer) {
14252
14471
  this.settingsObservers.delete(observer);
@@ -14269,8 +14488,7 @@ var DocsStructureRepository = class {
14269
14488
  //
14270
14489
  get currentHierarchy() {
14271
14490
  const hierarchy = this._currentHierarchy;
14272
- if (!hierarchy)
14273
- throw new Error(`Hierarchy cannot be accessed while it's still loading`);
14491
+ if (!hierarchy) throw new Error(`Hierarchy cannot be accessed while it's still loading`);
14274
14492
  return hierarchy;
14275
14493
  }
14276
14494
  //
@@ -14309,8 +14527,7 @@ var DocsStructureRepository = class {
14309
14527
  }
14310
14528
  refreshSettings() {
14311
14529
  const yState = this._yState;
14312
- if (!yState)
14313
- return;
14530
+ if (!yState) return;
14314
14531
  const newSettings = {
14315
14532
  isApprovalRequiredForPublishing: yState.settings.approvalRequiredForPublishing,
14316
14533
  isApprovalsFeatureEnabled: yState.settings.isApprovalFeatureEnabled,
@@ -14323,11 +14540,9 @@ var DocsStructureRepository = class {
14323
14540
  }
14324
14541
  refreshHierarchy() {
14325
14542
  const yState = this._yState;
14326
- if (!yState)
14327
- return;
14543
+ if (!yState) return;
14328
14544
  const hierarchy = this.calculateHierarchy(yState);
14329
- if (!hierarchy)
14330
- return;
14545
+ if (!hierarchy) return;
14331
14546
  this._currentHierarchy = hierarchy;
14332
14547
  this.hierarchyObservers.forEach((o) => o(hierarchy));
14333
14548
  }
@@ -14836,5 +15051,28 @@ var TransactionQueue = class {
14836
15051
 
14837
15052
 
14838
15053
 
14839
- exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BrandsEndpoint = BrandsEndpoint; exports.CodeComponentsEndpoint = CodeComponentsEndpoint; exports.CodegenEndpoint = CodegenEndpoint; exports.Collection = Collection2; exports.DTOAnalyticsDataResponse = DTOAnalyticsDataResponse; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOAuthenticatedUser = DTOAuthenticatedUser; exports.DTOAuthenticatedUserProfile = DTOAuthenticatedUserProfile; exports.DTOAuthenticatedUserResponse = DTOAuthenticatedUserResponse; exports.DTOBffFigmaImportRequestBody = DTOBffFigmaImportRequestBody; exports.DTOBffImportRequestBody = DTOBffImportRequestBody; exports.DTOBffUploadImportRequestBody = DTOBffUploadImportRequestBody; exports.DTOBrand = DTOBrand; exports.DTOBrandCreatePayload = DTOBrandCreatePayload; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandUpdatePayload = DTOBrandUpdatePayload; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCodeComponent = DTOCodeComponent; exports.DTOCodeComponentCreateInput = DTOCodeComponentCreateInput; exports.DTOCodeComponentListResponse = DTOCodeComponentListResponse; exports.DTOCodeComponentProperty = DTOCodeComponentProperty; exports.DTOCodeComponentResponse = DTOCodeComponentResponse; exports.DTOCodeComponentsCreateInput = DTOCodeComponentsCreateInput; exports.DTOColorTokenInlineData = DTOColorTokenInlineData; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaCreatePayload = DTODataSourceFigmaCreatePayload; exports.DTODataSourceFigmaImportPayload = DTODataSourceFigmaImportPayload; exports.DTODataSourceFigmaScope = DTODataSourceFigmaScope; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceResponse = DTODataSourceResponse; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemComponent = DTODesignSystemComponent; exports.DTODesignSystemComponentCreateInput = DTODesignSystemComponentCreateInput; exports.DTODesignSystemComponentListResponse = DTODesignSystemComponentListResponse; exports.DTODesignSystemComponentResponse = DTODesignSystemComponentResponse; exports.DTODesignSystemContactsResponse = DTODesignSystemContactsResponse; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemInvitation = DTODesignSystemInvitation; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemResponse = DTODesignSystemResponse; exports.DTODesignSystemRole = DTODesignSystemRole; exports.DTODesignSystemUpdateAccessModeInput = DTODesignSystemUpdateAccessModeInput; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionRoom = DTODesignSystemVersionRoom; exports.DTODesignSystemVersionRoomResponse = DTODesignSystemVersionRoomResponse; exports.DTODesignSystemVersionStats = DTODesignSystemVersionStats; exports.DTODesignSystemVersionStatsQuery = DTODesignSystemVersionStatsQuery; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODesignToken = DTODesignToken; exports.DTODesignTokenCreatePayload = DTODesignTokenCreatePayload; exports.DTODesignTokenGroup = DTODesignTokenGroup; exports.DTODesignTokenGroupCreatePayload = DTODesignTokenGroupCreatePayload; exports.DTODesignTokenGroupListResponse = DTODesignTokenGroupListResponse; exports.DTODesignTokenGroupResponse = DTODesignTokenGroupResponse; exports.DTODesignTokenListResponse = DTODesignTokenListResponse; exports.DTODesignTokenResponse = DTODesignTokenResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupApprovalState = DTODocumentationGroupApprovalState; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupRestoreActionInput = DTODocumentationGroupRestoreActionInput; exports.DTODocumentationGroupRestoreActionOutput = DTODocumentationGroupRestoreActionOutput; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageApprovalState = DTODocumentationPageApprovalState; exports.DTODocumentationPageApprovalStateChangeActionInput = DTODocumentationPageApprovalStateChangeActionInput; exports.DTODocumentationPageApprovalStateChangeActionOutput = DTODocumentationPageApprovalStateChangeActionOutput; exports.DTODocumentationPageApprovalStateChangeInput = DTODocumentationPageApprovalStateChangeInput; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoom = DTODocumentationPageRoom; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageRoomResponse = DTODocumentationPageRoomResponse; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageUpdateDocumentActionInputV2 = DTODocumentationPageUpdateDocumentActionInputV2; exports.DTODocumentationPageUpdateDocumentActionOutputV2 = DTODocumentationPageUpdateDocumentActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationSettings = DTODocumentationSettings; exports.DTODocumentationStructure = DTODocumentationStructure; exports.DTODocumentationStructureGroupItem = DTODocumentationStructureGroupItem; exports.DTODocumentationStructureItem = DTODocumentationStructureItem; exports.DTODocumentationStructurePageItem = DTODocumentationStructurePageItem; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionCreatePayload = DTOElementPropertyDefinitionCreatePayload; exports.DTOElementPropertyDefinitionListResponse = DTOElementPropertyDefinitionListResponse; exports.DTOElementPropertyDefinitionOption = DTOElementPropertyDefinitionOption; exports.DTOElementPropertyDefinitionResponse = DTOElementPropertyDefinitionResponse; exports.DTOElementPropertyDefinitionUpdatePayload = DTOElementPropertyDefinitionUpdatePayload; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValueListResponse = DTOElementPropertyValueListResponse; exports.DTOElementPropertyValueResponse = DTOElementPropertyValueResponse; exports.DTOElementPropertyValueUpsertPaylod = DTOElementPropertyValueUpsertPaylod; exports.DTOElementPropertyValuesEditActionInput = DTOElementPropertyValuesEditActionInput; exports.DTOElementPropertyValuesEditActionOutput = DTOElementPropertyValuesEditActionOutput; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetOutputV2 = DTOElementsGetOutputV2; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOEvent = DTOEvent; exports.DTOEventDataSourcesImported = DTOEventDataSourcesImported; exports.DTOEventFigmaNodesRendered = DTOEventFigmaNodesRendered; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreateInput = DTOExportJobCreateInput; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResponseLegacy = DTOExportJobResponseLegacy; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterDeprecationInput = DTOExporterDeprecationInput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterListQuery = DTOExporterListQuery; exports.DTOExporterListResponse = DTOExporterListResponse; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterPropertyDefinition = DTOExporterPropertyDefinition; exports.DTOExporterPropertyDefinitionArray = DTOExporterPropertyDefinitionArray; exports.DTOExporterPropertyDefinitionBoolean = DTOExporterPropertyDefinitionBoolean; exports.DTOExporterPropertyDefinitionCode = DTOExporterPropertyDefinitionCode; exports.DTOExporterPropertyDefinitionEnum = DTOExporterPropertyDefinitionEnum; exports.DTOExporterPropertyDefinitionEnumOption = DTOExporterPropertyDefinitionEnumOption; exports.DTOExporterPropertyDefinitionNumber = DTOExporterPropertyDefinitionNumber; exports.DTOExporterPropertyDefinitionObject = DTOExporterPropertyDefinitionObject; exports.DTOExporterPropertyDefinitionString = DTOExporterPropertyDefinitionString; exports.DTOExporterPropertyDefinitionsResponse = DTOExporterPropertyDefinitionsResponse; exports.DTOExporterPropertyType = DTOExporterPropertyType; exports.DTOExporterPropertyValue = DTOExporterPropertyValue; exports.DTOExporterPropertyValueMap = DTOExporterPropertyValueMap; exports.DTOExporterResponse = DTOExporterResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentGroup = DTOFigmaComponentGroup; exports.DTOFigmaComponentGroupListResponse = DTOFigmaComponentGroupListResponse; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeDataV2 = DTOFigmaNodeDataV2; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderAsyncActionInput = DTOFigmaNodeRenderAsyncActionInput; exports.DTOFigmaNodeRenderAsyncActionOutput = DTOFigmaNodeRenderAsyncActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderIdInput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderUrlInput; exports.DTOFigmaNodeRerenderInput = DTOFigmaNodeRerenderInput; exports.DTOFigmaNodeStructure = DTOFigmaNodeStructure; exports.DTOFigmaNodeStructureDetail = DTOFigmaNodeStructureDetail; exports.DTOFigmaNodeStructureDetailResponse = DTOFigmaNodeStructureDetailResponse; exports.DTOFigmaNodeStructureListResponse = DTOFigmaNodeStructureListResponse; exports.DTOFigmaNodeV2 = DTOFigmaNodeV2; exports.DTOFrameNodeStructure = DTOFrameNodeStructure; exports.DTOFrameNodeStructureListResponse = DTOFrameNodeStructureListResponse; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOImportJob = DTOImportJob; exports.DTOImportJobResponse = DTOImportJobResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOObjectMeta = DTOObjectMeta; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPageRedirect = DTOPageRedirect; exports.DTOPageRedirectCreateBody = DTOPageRedirectCreateBody; exports.DTOPageRedirectDeleteResponse = DTOPageRedirectDeleteResponse; exports.DTOPageRedirectListResponse = DTOPageRedirectListResponse; exports.DTOPageRedirectResponse = DTOPageRedirectResponse; exports.DTOPageRedirectUpdateBody = DTOPageRedirectUpdateBody; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineListQuery = DTOPipelineListQuery; exports.DTOPipelineListResponse = DTOPipelineListResponse; exports.DTOPipelineResponse = DTOPipelineResponse; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTOPublishedDocPageVisitData = DTOPublishedDocPageVisitData; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOTheme = DTOTheme; exports.DTOThemeCreatePayload = DTOThemeCreatePayload; exports.DTOThemeListResponse = DTOThemeListResponse; exports.DTOThemeOverride = DTOThemeOverride; exports.DTOThemeOverrideCreatePayload = DTOThemeOverrideCreatePayload; exports.DTOThemeResponse = DTOThemeResponse; exports.DTOTokenCollection = DTOTokenCollection; exports.DTOTokenCollectionsListReponse = DTOTokenCollectionsListReponse; exports.DTOTransferOwnershipPayload = DTOTransferOwnershipPayload; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageDocumentInputV2 = DTOUpdateDocumentationPageDocumentInputV2; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUser = DTOUser; exports.DTOUserGetResponse = DTOUserGetResponse; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserOnboarding = DTOUserOnboarding; exports.DTOUserOnboardingDepartment = DTOUserOnboardingDepartment; exports.DTOUserOnboardingJobLevel = DTOUserOnboardingJobLevel; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdate = DTOUserProfileUpdate; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserSource = DTOUserSource; exports.DTOUserTheme = DTOUserTheme; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceCreateInput = DTOWorkspaceCreateInput; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceInvitationInput = DTOWorkspaceInvitationInput; exports.DTOWorkspaceInvitationUpdateResponse = DTOWorkspaceInvitationUpdateResponse; exports.DTOWorkspaceInvitationsListInput = DTOWorkspaceInvitationsListInput; exports.DTOWorkspaceInvitationsResponse = DTOWorkspaceInvitationsResponse; exports.DTOWorkspaceInviteUpdate = DTOWorkspaceInviteUpdate; exports.DTOWorkspaceMember = DTOWorkspaceMember; exports.DTOWorkspaceMembersListResponse = DTOWorkspaceMembersListResponse; exports.DTOWorkspaceProfile = DTOWorkspaceProfile; exports.DTOWorkspaceResponse = DTOWorkspaceResponse; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DesignSystemBffEndpoint = DesignSystemBffEndpoint; exports.DesignSystemComponentEndpoint = DesignSystemComponentEndpoint; exports.DesignSystemContactsEndpoint = DesignSystemContactsEndpoint; exports.DesignSystemMembersEndpoint = DesignSystemMembersEndpoint; exports.DesignSystemPageRedirectsEndpoint = DesignSystemPageRedirectsEndpoint; exports.DesignSystemSourcesEndpoint = DesignSystemSourcesEndpoint; exports.DesignSystemVersionsEndpoint = DesignSystemVersionsEndpoint; exports.DesignSystemsEndpoint = DesignSystemsEndpoint; exports.DimensionsVariableScopeType = DimensionsVariableScopeType; exports.DocsStructureRepository = DocsStructureRepository; exports.DocumentationEndpoint = DocumentationEndpoint; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ElementPropertyDefinitionsEndpoint = ElementPropertyDefinitionsEndpoint; exports.ElementPropertyValuesEndpoint = ElementPropertyValuesEndpoint; exports.ElementsActionEndpoint = ElementsActionEndpoint; exports.ElementsEndpoint = ElementsEndpoint; exports.ExporterJobsEndpoint = ExporterJobsEndpoint; exports.ExportersEndpoint = ExportersEndpoint; exports.FigmaComponentGroupsEndpoint = FigmaComponentGroupsEndpoint; exports.FigmaComponentsEndpoint = FigmaComponentsEndpoint; exports.FigmaFrameStructuresEndpoint = FigmaFrameStructuresEndpoint; exports.FigmaNodeStructuresEndpoint = FigmaNodeStructuresEndpoint; exports.FigmaUtils = FigmaUtils; exports.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.GitDestinationOptions = GitDestinationOptions; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; exports.LiveblocksEndpoint = LiveblocksEndpoint; exports.LocalDocsElementActionExecutor = LocalDocsElementActionExecutor; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.OverridesEndpoint = OverridesEndpoint; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.ParsedFigmaFileURLError = ParsedFigmaFileURLError; exports.PipelinesEndpoint = PipelinesEndpoint; exports.RGB = RGB; exports.RGBA = RGBA; exports.RequestExecutor = RequestExecutor; exports.RequestExecutorError = RequestExecutorError; exports.ResolvedVariableType = ResolvedVariableType; exports.StringVariableScopeType = StringVariableScopeType; exports.SupernovaApiClient = SupernovaApiClient; exports.ThemesEndpoint = ThemesEndpoint; exports.TokenCollectionsEndpoint = TokenCollectionsEndpoint; exports.TokenGroupsEndpoint = TokenGroupsEndpoint; exports.TokensEndpoint = TokensEndpoint; exports.UsersEndpoint = UsersEndpoint; exports.Variable = Variable; exports.VariableAlias = VariableAlias; exports.VariableMode = VariableMode; exports.VariableValue = VariableValue; exports.VariablesMapping = VariablesMapping; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.VersionStatsEndpoint = VersionStatsEndpoint; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.WorkspaceIntegrationsEndpoint = WorkspaceIntegrationsEndpoint; exports.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; exports.applyActionsLocally = applyActionsLocally; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.computeDocsHierarchy = computeDocsHierarchy; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.exhaustiveInvalidUriPaths = exhaustiveInvalidUriPaths; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.isValidRedirectPath = isValidRedirectPath; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pageVisitsToDto = pageVisitsToDto; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.serializeQuery = serializeQuery; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
15054
+
15055
+
15056
+
15057
+
15058
+
15059
+
15060
+
15061
+
15062
+
15063
+
15064
+
15065
+
15066
+
15067
+
15068
+
15069
+
15070
+
15071
+
15072
+
15073
+
15074
+
15075
+
15076
+
15077
+ exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BrandsEndpoint = BrandsEndpoint; exports.CodeComponentsEndpoint = CodeComponentsEndpoint; exports.CodegenEndpoint = CodegenEndpoint; exports.Collection = Collection2; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOAuthenticatedUser = DTOAuthenticatedUser; exports.DTOAuthenticatedUserProfile = DTOAuthenticatedUserProfile; exports.DTOAuthenticatedUserResponse = DTOAuthenticatedUserResponse; exports.DTOBffFigmaImportRequestBody = DTOBffFigmaImportRequestBody; exports.DTOBffImportRequestBody = DTOBffImportRequestBody; exports.DTOBffUploadImportRequestBody = DTOBffUploadImportRequestBody; exports.DTOBrand = DTOBrand; exports.DTOBrandCreatePayload = DTOBrandCreatePayload; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandUpdatePayload = DTOBrandUpdatePayload; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCodeComponent = DTOCodeComponent; exports.DTOCodeComponentCreateInput = DTOCodeComponentCreateInput; exports.DTOCodeComponentListResponse = DTOCodeComponentListResponse; exports.DTOCodeComponentProperty = DTOCodeComponentProperty; exports.DTOCodeComponentResponse = DTOCodeComponentResponse; exports.DTOCodeComponentsCreateInput = DTOCodeComponentsCreateInput; exports.DTOColorTokenInlineData = DTOColorTokenInlineData; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaCreatePayload = DTODataSourceFigmaCreatePayload; exports.DTODataSourceFigmaImportPayload = DTODataSourceFigmaImportPayload; exports.DTODataSourceFigmaScope = DTODataSourceFigmaScope; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceResponse = DTODataSourceResponse; exports.DTODataSourceStorybook = DTODataSourceStorybook; exports.DTODataSourceStorybookCreatePayload = DTODataSourceStorybookCreatePayload; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODataSourcesStorybookResponse = DTODataSourcesStorybookResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemComponent = DTODesignSystemComponent; exports.DTODesignSystemComponentCreateInput = DTODesignSystemComponentCreateInput; exports.DTODesignSystemComponentListResponse = DTODesignSystemComponentListResponse; exports.DTODesignSystemComponentResponse = DTODesignSystemComponentResponse; exports.DTODesignSystemContactsResponse = DTODesignSystemContactsResponse; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemInvitation = DTODesignSystemInvitation; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemResponse = DTODesignSystemResponse; exports.DTODesignSystemRole = DTODesignSystemRole; exports.DTODesignSystemUpdateAccessModeInput = DTODesignSystemUpdateAccessModeInput; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionRoom = DTODesignSystemVersionRoom; exports.DTODesignSystemVersionRoomResponse = DTODesignSystemVersionRoomResponse; exports.DTODesignSystemVersionStats = DTODesignSystemVersionStats; exports.DTODesignSystemVersionStatsQuery = DTODesignSystemVersionStatsQuery; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODesignToken = DTODesignToken; exports.DTODesignTokenCreatePayload = DTODesignTokenCreatePayload; exports.DTODesignTokenGroup = DTODesignTokenGroup; exports.DTODesignTokenGroupCreatePayload = DTODesignTokenGroupCreatePayload; exports.DTODesignTokenGroupListResponse = DTODesignTokenGroupListResponse; exports.DTODesignTokenGroupResponse = DTODesignTokenGroupResponse; exports.DTODesignTokenListResponse = DTODesignTokenListResponse; exports.DTODesignTokenResponse = DTODesignTokenResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationAnalyticsDiffPayload = DTODocumentationAnalyticsDiffPayload; exports.DTODocumentationAnalyticsQueryParams = DTODocumentationAnalyticsQueryParams; exports.DTODocumentationAnalyticsTimeFrame = DTODocumentationAnalyticsTimeFrame; exports.DTODocumentationAnalyticsTimeFrameComparison = DTODocumentationAnalyticsTimeFrameComparison; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupApprovalState = DTODocumentationGroupApprovalState; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupRestoreActionInput = DTODocumentationGroupRestoreActionInput; exports.DTODocumentationGroupRestoreActionOutput = DTODocumentationGroupRestoreActionOutput; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnalyticsDifference = DTODocumentationPageAnalyticsDifference; exports.DTODocumentationPageAnalyticsResponse = DTODocumentationPageAnalyticsResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageApprovalState = DTODocumentationPageApprovalState; exports.DTODocumentationPageApprovalStateChangeActionInput = DTODocumentationPageApprovalStateChangeActionInput; exports.DTODocumentationPageApprovalStateChangeActionOutput = DTODocumentationPageApprovalStateChangeActionOutput; exports.DTODocumentationPageApprovalStateChangeInput = DTODocumentationPageApprovalStateChangeInput; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageIntervalDifferenceResponse = DTODocumentationPageIntervalDifferenceResponse; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoom = DTODocumentationPageRoom; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageRoomResponse = DTODocumentationPageRoomResponse; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageUpdateDocumentActionInputV2 = DTODocumentationPageUpdateDocumentActionInputV2; exports.DTODocumentationPageUpdateDocumentActionOutputV2 = DTODocumentationPageUpdateDocumentActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationSettings = DTODocumentationSettings; exports.DTODocumentationStructure = DTODocumentationStructure; exports.DTODocumentationStructureGroupItem = DTODocumentationStructureGroupItem; exports.DTODocumentationStructureItem = DTODocumentationStructureItem; exports.DTODocumentationStructurePageItem = DTODocumentationStructurePageItem; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionCreatePayload = DTOElementPropertyDefinitionCreatePayload; exports.DTOElementPropertyDefinitionListResponse = DTOElementPropertyDefinitionListResponse; exports.DTOElementPropertyDefinitionOption = DTOElementPropertyDefinitionOption; exports.DTOElementPropertyDefinitionResponse = DTOElementPropertyDefinitionResponse; exports.DTOElementPropertyDefinitionUpdatePayload = DTOElementPropertyDefinitionUpdatePayload; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValueListResponse = DTOElementPropertyValueListResponse; exports.DTOElementPropertyValueResponse = DTOElementPropertyValueResponse; exports.DTOElementPropertyValueUpsertPaylod = DTOElementPropertyValueUpsertPaylod; exports.DTOElementPropertyValuesEditActionInput = DTOElementPropertyValuesEditActionInput; exports.DTOElementPropertyValuesEditActionOutput = DTOElementPropertyValuesEditActionOutput; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetOutputV2 = DTOElementsGetOutputV2; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOEvent = DTOEvent; exports.DTOEventDataSourcesImported = DTOEventDataSourcesImported; exports.DTOEventFigmaNodesRendered = DTOEventFigmaNodesRendered; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreateInput = DTOExportJobCreateInput; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResponseLegacy = DTOExportJobResponseLegacy; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterDeprecationInput = DTOExporterDeprecationInput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterListQuery = DTOExporterListQuery; exports.DTOExporterListResponse = DTOExporterListResponse; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterPropertyDefinition = DTOExporterPropertyDefinition; exports.DTOExporterPropertyDefinitionArray = DTOExporterPropertyDefinitionArray; exports.DTOExporterPropertyDefinitionBoolean = DTOExporterPropertyDefinitionBoolean; exports.DTOExporterPropertyDefinitionCode = DTOExporterPropertyDefinitionCode; exports.DTOExporterPropertyDefinitionEnum = DTOExporterPropertyDefinitionEnum; exports.DTOExporterPropertyDefinitionEnumOption = DTOExporterPropertyDefinitionEnumOption; exports.DTOExporterPropertyDefinitionNumber = DTOExporterPropertyDefinitionNumber; exports.DTOExporterPropertyDefinitionObject = DTOExporterPropertyDefinitionObject; exports.DTOExporterPropertyDefinitionString = DTOExporterPropertyDefinitionString; exports.DTOExporterPropertyDefinitionsResponse = DTOExporterPropertyDefinitionsResponse; exports.DTOExporterPropertyType = DTOExporterPropertyType; exports.DTOExporterPropertyValue = DTOExporterPropertyValue; exports.DTOExporterPropertyValueMap = DTOExporterPropertyValueMap; exports.DTOExporterResponse = DTOExporterResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentGroup = DTOFigmaComponentGroup; exports.DTOFigmaComponentGroupListResponse = DTOFigmaComponentGroupListResponse; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeDataV2 = DTOFigmaNodeDataV2; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderAsyncActionInput = DTOFigmaNodeRenderAsyncActionInput; exports.DTOFigmaNodeRenderAsyncActionOutput = DTOFigmaNodeRenderAsyncActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderIdInput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderUrlInput; exports.DTOFigmaNodeRerenderInput = DTOFigmaNodeRerenderInput; exports.DTOFigmaNodeStructure = DTOFigmaNodeStructure; exports.DTOFigmaNodeStructureDetail = DTOFigmaNodeStructureDetail; exports.DTOFigmaNodeStructureDetailResponse = DTOFigmaNodeStructureDetailResponse; exports.DTOFigmaNodeStructureListResponse = DTOFigmaNodeStructureListResponse; exports.DTOFigmaNodeV2 = DTOFigmaNodeV2; exports.DTOFrameNodeStructure = DTOFrameNodeStructure; exports.DTOFrameNodeStructureListResponse = DTOFrameNodeStructureListResponse; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOImportJob = DTOImportJob; exports.DTOImportJobResponse = DTOImportJobResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOObjectMeta = DTOObjectMeta; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPageRedirect = DTOPageRedirect; exports.DTOPageRedirectCreateBody = DTOPageRedirectCreateBody; exports.DTOPageRedirectDeleteResponse = DTOPageRedirectDeleteResponse; exports.DTOPageRedirectListResponse = DTOPageRedirectListResponse; exports.DTOPageRedirectResponse = DTOPageRedirectResponse; exports.DTOPageRedirectUpdateBody = DTOPageRedirectUpdateBody; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineListQuery = DTOPipelineListQuery; exports.DTOPipelineListResponse = DTOPipelineListResponse; exports.DTOPipelineResponse = DTOPipelineResponse; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTOPublishedDocPageVisitData = DTOPublishedDocPageVisitData; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOStorybookEntry = DTOStorybookEntry; exports.DTOStorybookEntryListResponse = DTOStorybookEntryListResponse; exports.DTOStorybookEntryOrigin = DTOStorybookEntryOrigin; exports.DTOStorybookEntryReplaceAction = DTOStorybookEntryReplaceAction; exports.DTOStorybookEntryResponse = DTOStorybookEntryResponse; exports.DTOStorybookImportPayload = DTOStorybookImportPayload; exports.DTOTheme = DTOTheme; exports.DTOThemeCreatePayload = DTOThemeCreatePayload; exports.DTOThemeListResponse = DTOThemeListResponse; exports.DTOThemeOverride = DTOThemeOverride; exports.DTOThemeOverrideCreatePayload = DTOThemeOverrideCreatePayload; exports.DTOThemeResponse = DTOThemeResponse; exports.DTOTokenCollection = DTOTokenCollection; exports.DTOTokenCollectionsListReponse = DTOTokenCollectionsListReponse; exports.DTOTransferOwnershipPayload = DTOTransferOwnershipPayload; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageDocumentInputV2 = DTOUpdateDocumentationPageDocumentInputV2; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUser = DTOUser; exports.DTOUserGetResponse = DTOUserGetResponse; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserOnboarding = DTOUserOnboarding; exports.DTOUserOnboardingDepartment = DTOUserOnboardingDepartment; exports.DTOUserOnboardingJobLevel = DTOUserOnboardingJobLevel; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdate = DTOUserProfileUpdate; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserSource = DTOUserSource; exports.DTOUserTheme = DTOUserTheme; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceCreateInput = DTOWorkspaceCreateInput; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceInvitationInput = DTOWorkspaceInvitationInput; exports.DTOWorkspaceInvitationUpdateResponse = DTOWorkspaceInvitationUpdateResponse; exports.DTOWorkspaceInvitationsListInput = DTOWorkspaceInvitationsListInput; exports.DTOWorkspaceInvitationsResponse = DTOWorkspaceInvitationsResponse; exports.DTOWorkspaceInviteUpdate = DTOWorkspaceInviteUpdate; exports.DTOWorkspaceMember = DTOWorkspaceMember; exports.DTOWorkspaceMembersListResponse = DTOWorkspaceMembersListResponse; exports.DTOWorkspaceProfile = DTOWorkspaceProfile; exports.DTOWorkspaceResponse = DTOWorkspaceResponse; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DTOWorkspaceUntypedData = DTOWorkspaceUntypedData; exports.DTOWorkspaceUntypedDataCreatePayload = DTOWorkspaceUntypedDataCreatePayload; exports.DTOWorkspaceUntypedDataListResponse = DTOWorkspaceUntypedDataListResponse; exports.DTOWorkspaceUntypedDataResponse = DTOWorkspaceUntypedDataResponse; exports.DTOWorkspaceUntypedDataUpdatePayload = DTOWorkspaceUntypedDataUpdatePayload; exports.DesignSystemAnalyticsEndpoint = DesignSystemAnalyticsEndpoint; exports.DesignSystemBffEndpoint = DesignSystemBffEndpoint; exports.DesignSystemComponentEndpoint = DesignSystemComponentEndpoint; exports.DesignSystemContactsEndpoint = DesignSystemContactsEndpoint; exports.DesignSystemMembersEndpoint = DesignSystemMembersEndpoint; exports.DesignSystemPageRedirectsEndpoint = DesignSystemPageRedirectsEndpoint; exports.DesignSystemSourcesEndpoint = DesignSystemSourcesEndpoint; exports.DesignSystemVersionsEndpoint = DesignSystemVersionsEndpoint; exports.DesignSystemsEndpoint = DesignSystemsEndpoint; exports.DimensionsVariableScopeType = DimensionsVariableScopeType; exports.DocsStructureRepository = DocsStructureRepository; exports.DocumentationEndpoint = DocumentationEndpoint; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ElementPropertyDefinitionsEndpoint = ElementPropertyDefinitionsEndpoint; exports.ElementPropertyValuesEndpoint = ElementPropertyValuesEndpoint; exports.ElementsActionEndpoint = ElementsActionEndpoint; exports.ElementsEndpoint = ElementsEndpoint; exports.ExporterJobsEndpoint = ExporterJobsEndpoint; exports.ExportersEndpoint = ExportersEndpoint; exports.FigmaComponentGroupsEndpoint = FigmaComponentGroupsEndpoint; exports.FigmaComponentsEndpoint = FigmaComponentsEndpoint; exports.FigmaFrameStructuresEndpoint = FigmaFrameStructuresEndpoint; exports.FigmaNodeStructuresEndpoint = FigmaNodeStructuresEndpoint; exports.FigmaUtils = FigmaUtils; exports.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.GitDestinationOptions = GitDestinationOptions; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; exports.LiveblocksEndpoint = LiveblocksEndpoint; exports.LocalDocsElementActionExecutor = LocalDocsElementActionExecutor; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.OverridesEndpoint = OverridesEndpoint; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.ParsedFigmaFileURLError = ParsedFigmaFileURLError; exports.PipelinesEndpoint = PipelinesEndpoint; exports.RGB = RGB; exports.RGBA = RGBA; exports.RequestExecutor = RequestExecutor; exports.RequestExecutorError = RequestExecutorError; exports.ResolvedVariableType = ResolvedVariableType; exports.StorybookEntriesEndpoint = StorybookEntriesEndpoint; exports.StringVariableScopeType = StringVariableScopeType; exports.SupernovaApiClient = SupernovaApiClient; exports.ThemesEndpoint = ThemesEndpoint; exports.TokenCollectionsEndpoint = TokenCollectionsEndpoint; exports.TokenGroupsEndpoint = TokenGroupsEndpoint; exports.TokensEndpoint = TokensEndpoint; exports.UsersEndpoint = UsersEndpoint; exports.Variable = Variable; exports.VariableAlias = VariableAlias; exports.VariableMode = VariableMode; exports.VariableValue = VariableValue; exports.VariablesMapping = VariablesMapping; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.VersionStatsEndpoint = VersionStatsEndpoint; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.WorkspaceIntegrationsEndpoint = WorkspaceIntegrationsEndpoint; exports.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; exports.applyActionsLocally = applyActionsLocally; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateChangeOverTime = calculateChangeOverTime; exports.calculateElementParentChain = calculateElementParentChain; exports.computeDocsHierarchy = computeDocsHierarchy; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.exhaustiveInvalidUriPaths = exhaustiveInvalidUriPaths; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.isValidRedirectPath = isValidRedirectPath; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pageVisitsToDto = pageVisitsToDto; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.serializeQuery = serializeQuery; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
14840
15078
  //# sourceMappingURL=index.js.map