@supernova-studio/client 1.4.23 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.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);
@@ -191,15 +188,14 @@ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr)
191
188
 
192
189
 
193
190
 
191
+
192
+
194
193
 
195
194
 
196
195
 
197
196
  var __defProp2 = Object.defineProperty;
198
197
  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
- };
198
+ var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
203
199
  var AssetDeleteScheduleStatus = _zod.z.enum(["InProgress", "Pending"]);
204
200
  var AssetDeleteSchedule = _zod.z.object({
205
201
  id: _zod.z.string(),
@@ -276,7 +272,7 @@ var BillingDetails = _zod.z.object({
276
272
  poNumber: nullishToOptional(_zod.z.string())
277
273
  });
278
274
  var featureLimitedSchema = _zod.z.object({
279
- max: _zod.z.number(),
275
+ max: _zod.z.number().optional(),
280
276
  errorMessage: _zod.z.string(),
281
277
  errorReason: _zod.z.string()
282
278
  });
@@ -312,7 +308,8 @@ var FeaturesSummary = _zod.z.object({
312
308
  selectivePublishing: featureToggleSchema,
313
309
  designSystemAccessModes: featureToggleSchema,
314
310
  designSystemRoles: featureToggleSchema,
315
- documentationPageRedirects: featureToggleSchema
311
+ documentationPageRedirects: featureToggleSchema,
312
+ analytics: featureLimitedSchema
316
313
  });
317
314
  var InvoiceSchema = _zod.z.object({
318
315
  id: _zod.z.string(),
@@ -926,14 +923,10 @@ function groupBy(items, keyFn) {
926
923
  return result;
927
924
  }
928
925
  function areShallowObjectsEqual(lhs, rhs) {
929
- if (lhs === void 0 !== (rhs === void 0))
930
- return false;
931
- if (lhs === void 0 || rhs === void 0)
932
- return true;
933
- if (lhs === null !== (rhs === null))
934
- return false;
935
- if (lhs === null || rhs === null)
936
- return true;
926
+ if (lhs === void 0 !== (rhs === void 0)) return false;
927
+ if (lhs === void 0 || rhs === void 0) return true;
928
+ if (lhs === null !== (rhs === null)) return false;
929
+ if (lhs === null || rhs === null) return true;
937
930
  for (const key in lhs) {
938
931
  if (!(key in rhs) || lhs[key] !== rhs[key]) {
939
932
  return false;
@@ -948,8 +941,7 @@ function areShallowObjectsEqual(lhs, rhs) {
948
941
  }
949
942
  function recordToMap(record) {
950
943
  const map = /* @__PURE__ */ new Map();
951
- for (const [k, v] of Object.entries(record))
952
- map.set(k, v);
944
+ for (const [k, v] of Object.entries(record)) map.set(k, v);
953
945
  return map;
954
946
  }
955
947
  var ContentLoadInstruction = _zod.z.object({
@@ -1666,10 +1658,8 @@ var Size = _zod.z.object({
1666
1658
  height: _zod.z.number().nullish().transform((v) => _nullishCoalesce(v, () => ( nullSize.height)))
1667
1659
  });
1668
1660
  var SizeOrUndefined = Size.optional().transform((v) => {
1669
- if (!v)
1670
- return void 0;
1671
- if (isNullSize(v))
1672
- return void 0;
1661
+ if (!v) return void 0;
1662
+ if (isNullSize(v)) return void 0;
1673
1663
  return v;
1674
1664
  });
1675
1665
  var DesignTokenType = _zod.z.enum([
@@ -2063,8 +2053,7 @@ function removeCommentSpans(text) {
2063
2053
  return joinRepeatingSpans(updatedRichText);
2064
2054
  }
2065
2055
  function joinRepeatingSpans(text) {
2066
- if (text.spans.length < 2)
2067
- return text;
2056
+ if (text.spans.length < 2) return text;
2068
2057
  text = sanitizeSpans(text);
2069
2058
  const { spans, ...rest } = text;
2070
2059
  let previousSpan = { ...spans[0] };
@@ -2084,13 +2073,11 @@ function joinRepeatingSpans(text) {
2084
2073
  };
2085
2074
  }
2086
2075
  function areAttributesEqual(lhs, rhs) {
2087
- if (lhs.length !== rhs.length)
2088
- return false;
2076
+ if (lhs.length !== rhs.length) return false;
2089
2077
  const lhsMap = mapByUnique(lhs, (i) => i.type);
2090
2078
  for (const rhsAttribute of rhs) {
2091
2079
  const lhsAttribute = lhsMap.get(rhsAttribute.type);
2092
- if (!areShallowObjectsEqual(lhsAttribute, rhsAttribute))
2093
- return false;
2080
+ if (!areShallowObjectsEqual(lhsAttribute, rhsAttribute)) return false;
2094
2081
  }
2095
2082
  return true;
2096
2083
  }
@@ -2517,7 +2504,9 @@ var PageBlockItemStorybookValue = _zod.z.object({
2517
2504
  caption: _zod.z.string().optional(),
2518
2505
  height: _zod.z.number().optional(),
2519
2506
  embedUrl: _zod.z.string().optional(),
2520
- value: _zod.z.string().optional()
2507
+ value: _zod.z.string().optional(),
2508
+ storyId: _zod.z.string().optional(),
2509
+ sourceId: _zod.z.string().optional()
2521
2510
  });
2522
2511
  var PageBlockItemTextValue = _zod.z.object({
2523
2512
  value: _zod.z.string()
@@ -3172,8 +3161,7 @@ function mapPageBlockItemValuesV2(pageItems, definitionsMap, fn) {
3172
3161
  traversePageBlockItemsV2(pageItems, (block, item) => {
3173
3162
  Object.entries(item.props).forEach(([propKey, value]) => {
3174
3163
  const property = definitionsMap.getDefinitionProperty(block.data.packageId, propKey);
3175
- if (!property)
3176
- return;
3164
+ if (!property) return;
3177
3165
  item.props[propKey] = fn(block, item, property, value);
3178
3166
  });
3179
3167
  });
@@ -3266,7 +3254,7 @@ var SourceImportSummary = _zod.z.object({
3266
3254
  function zeroNumberByDefault() {
3267
3255
  return _zod.z.number().nullish().transform((v) => _nullishCoalesce(v, () => ( 0)));
3268
3256
  }
3269
- var DataSourceRemoteType = _zod.z.enum(["Figma", "TokenStudio", "FigmaVariablesPlugin"]);
3257
+ var DataSourceRemoteType = _zod.z.enum(["Figma", "TokenStudio", "FigmaVariablesPlugin", "Storybook"]);
3270
3258
  var DataSourceUploadRemoteSource = _zod.z.enum(["TokenStudio", "FigmaVariablesPlugin", "Custom"]);
3271
3259
  var DataSourceFigmaState = _zod.z.enum(["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]);
3272
3260
  var DataSourceAutoImportMode = _zod.z.enum(["Never", "Hourly"]);
@@ -3326,10 +3314,22 @@ var DataSourceUploadRemote = _zod.z.object({
3326
3314
  isTokenTypeSplitEnabled: _zod.z.boolean(),
3327
3315
  isCollectionsMigrationCompleted: _zod.z.boolean()
3328
3316
  });
3317
+ var DataSourceStorybookRemote = _zod.z.object({
3318
+ type: _zod.z.literal(DataSourceRemoteType.Enum.Storybook),
3319
+ indexUrl: _zod.z.string(),
3320
+ userUrl: _zod.z.string(),
3321
+ ownerId: _zod.z.string().optional(),
3322
+ lastImportedAt: _zod.z.coerce.date().optional(),
3323
+ lastImportedSuccessfully: _zod.z.coerce.date().optional(),
3324
+ isFailed: _zod.z.boolean(),
3325
+ storiesCount: _zod.z.number(),
3326
+ docsCount: _zod.z.number()
3327
+ });
3329
3328
  var DataSourceRemote = _zod.z.discriminatedUnion("type", [
3330
3329
  DataSourceFigmaRemote,
3331
3330
  DataSourceUploadRemote,
3332
- DataSourceTokenStudioRemote
3331
+ DataSourceTokenStudioRemote,
3332
+ DataSourceStorybookRemote
3333
3333
  ]);
3334
3334
  var DataSource = _zod.z.object({
3335
3335
  id: _zod.z.string(),
@@ -3404,15 +3404,11 @@ var FigmaImportBaseContext = _zod.z.object({
3404
3404
  importWarnings: _zod.z.record(ImportWarning.array()).default({})
3405
3405
  });
3406
3406
  var FeatureFlagsKeepAliases = _zod.z.object({
3407
- isTypographyPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
3408
- isGradientPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
3409
- isShadowPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
3410
3407
  isNonCompatibleTypeChangesEnabled: _zod.z.boolean().default(false),
3411
3408
  isTypographyUseFontStyleEnabled: _zod.z.boolean().default(false)
3412
3409
  });
3413
3410
  var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
3414
3411
  sourcesWithMissingAccess: _zod.z.array(_zod.z.string()).default([]),
3415
- shadowOpacityOptional: _zod.z.boolean().default(false),
3416
3412
  featureFlagsKeepAliases: FeatureFlagsKeepAliases.default({})
3417
3413
  });
3418
3414
  var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
@@ -3521,20 +3517,18 @@ var FigmaComponentImportModelPart = _zod.z.object({
3521
3517
  parentComponentId: _zod.z.string().optional(),
3522
3518
  componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
3523
3519
  variantPropertyValues: _zod.z.record(_zod.z.string()).optional(),
3524
- renderNodeId: _zod.z.string()
3520
+ renderNodeId: _zod.z.string(),
3521
+ svg: FigmaSvgRenderImportModel.optional()
3525
3522
  });
3526
3523
  var FigmaComponentImportModel = ImportModelBase.extend(FigmaComponentImportModelPart.shape).extend({
3527
- isAsset: _zod.z.boolean(),
3528
- svg: FigmaSvgRenderImportModel.optional(),
3529
- origin: FigmaComponentOrigin
3524
+ origin: FigmaComponentOrigin,
3525
+ isAsset: _zod.z.boolean()
3530
3526
  });
3531
3527
  var FigmaComponentImportModelInput = ImportModelInputBase.extend(FigmaComponentImportModelPart.shape).extend({
3532
- originMetadata: FigmaComponentOriginPart
3533
- });
3534
- var AssetImportModelInput = ImportModelInputBase.extend(FigmaComponentImportModelPart.shape).extend({
3535
- svg: FigmaSvgRenderImportModel,
3536
- originMetadata: FigmaComponentOriginPart
3528
+ originMetadata: FigmaComponentOriginPart,
3529
+ isAsset: _zod.z.boolean().optional()
3537
3530
  });
3531
+ var AssetImportModelInput = FigmaComponentImportModelInput;
3538
3532
  var DataSourceImportModel = _zod.z.object({
3539
3533
  id: _zod.z.string(),
3540
3534
  fileName: _zod.z.string().optional(),
@@ -4315,6 +4309,33 @@ var PublishedDoc = _zod.z.object({
4315
4309
  tokenCount: _zod.z.number(),
4316
4310
  assetCount: _zod.z.number()
4317
4311
  });
4312
+ var StorybookEntryOrigin = _zod.z.object({
4313
+ id: _zod.z.string(),
4314
+ type: _zod.z.enum(["story", "docs"]),
4315
+ name: _zod.z.string(),
4316
+ title: _zod.z.string()
4317
+ // Same as 'kind' for v3
4318
+ });
4319
+ var StorybookEntry = _zod.z.object({
4320
+ id: _zod.z.string(),
4321
+ storyId: _zod.z.string(),
4322
+ designSystemId: _zod.z.string(),
4323
+ sourceId: _zod.z.string(),
4324
+ aliases: _zod.z.array(_zod.z.string()).optional(),
4325
+ url: _zod.z.string(),
4326
+ isDeleted: _zod.z.boolean().optional(),
4327
+ origin: StorybookEntryOrigin,
4328
+ createdAt: _zod.z.coerce.date(),
4329
+ updatedAt: _zod.z.coerce.date()
4330
+ });
4331
+ var StorybookPayload = _zod.z.object({
4332
+ id: _zod.z.string(),
4333
+ designSystemId: _zod.z.string(),
4334
+ sourceId: _zod.z.string(),
4335
+ payload: _zod.z.any(),
4336
+ createdAt: _zod.z.coerce.date(),
4337
+ updatedAt: _zod.z.coerce.date()
4338
+ });
4318
4339
  var DesignSystemVersion = _zod.z.object({
4319
4340
  id: _zod.z.string(),
4320
4341
  version: _zod.z.string(),
@@ -4623,8 +4644,7 @@ var IntegrationToken = _zod.z.object({
4623
4644
  token_bitbucket_username: _zod.z.string().optional(),
4624
4645
  // Bitbucket only
4625
4646
  custom_url: _zod.z.string().optional().transform((value) => {
4626
- if (!_optionalChain([value, 'optionalAccess', _4 => _4.trim, 'call', _5 => _5()]))
4627
- return void 0;
4647
+ if (!_optionalChain([value, 'optionalAccess', _4 => _4.trim, 'call', _5 => _5()])) return void 0;
4628
4648
  return formatCustomUrl(value);
4629
4649
  })
4630
4650
  }).refine((data) => {
@@ -4843,7 +4863,6 @@ var ExporterWorkspaceMembership = _zod.z.object({
4843
4863
  });
4844
4864
  var FlaggedFeature = _zod.z.enum([
4845
4865
  "FigmaImporterV2",
4846
- "ShadowOpacityOptional",
4847
4866
  "DisableImporter",
4848
4867
  "VariablesOrder",
4849
4868
  "TypographyPropsKeepAliases",
@@ -5014,6 +5033,28 @@ function pageVisitsToDto(entries) {
5014
5033
  }
5015
5034
  return result;
5016
5035
  }
5036
+ function calculateChangeOverTime(currentIntervalData, priorIntervalData, priorIntervalStartDate, priorIntervalEndDate) {
5037
+ let priorIntervalVisits = 0;
5038
+ let priorIntervalSessions = 0;
5039
+ for (const v of priorIntervalData) {
5040
+ priorIntervalVisits += v.visits;
5041
+ priorIntervalSessions += v.sessions;
5042
+ }
5043
+ let currentIntervalVisits = 0;
5044
+ let currentIntervalSessions = 0;
5045
+ for (const v of currentIntervalData) {
5046
+ currentIntervalVisits += v.visits;
5047
+ currentIntervalSessions += v.sessions;
5048
+ }
5049
+ return {
5050
+ priorVisitCount: priorIntervalVisits,
5051
+ priorSessionCount: priorIntervalSessions,
5052
+ currentVisitCount: currentIntervalVisits,
5053
+ currentSessionCount: currentIntervalSessions,
5054
+ startDate: priorIntervalStartDate,
5055
+ endDate: priorIntervalEndDate
5056
+ };
5057
+ }
5017
5058
  function getTimestampKey(timestamp) {
5018
5059
  const date = timestamp.toISOString().split("T")[0];
5019
5060
  const hour = timestamp.toISOString().split("T")[1].split(":")[0];
@@ -5079,8 +5120,7 @@ var getDtoDefaultItemConfigurationV1 = () => ({
5079
5120
  });
5080
5121
  function documentationItemConfigurationToDTOV1(config) {
5081
5122
  const dtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1();
5082
- if (!config)
5083
- return dtoDefaultItemConfigurationV1;
5123
+ if (!config) return dtoDefaultItemConfigurationV1;
5084
5124
  const { backgroundColor, foregroundColor, ...headerRest } = config.header;
5085
5125
  return {
5086
5126
  showSidebar: config.showSidebar,
@@ -5094,16 +5134,11 @@ function documentationItemConfigurationToDTOV1(config) {
5094
5134
  };
5095
5135
  }
5096
5136
  function colorToDTOV1(color) {
5097
- if (!color)
5098
- return void 0;
5099
- if (color.aliasTo)
5100
- return { aliasTo: color.aliasTo };
5101
- if (!color.value)
5102
- return void 0;
5103
- if (typeof color.value === "string")
5104
- return { value: color.value };
5105
- if (typeof color.value.color === "string")
5106
- return { value: color.value.color };
5137
+ if (!color) return void 0;
5138
+ if (color.aliasTo) return { aliasTo: color.aliasTo };
5139
+ if (!color.value) return void 0;
5140
+ if (typeof color.value === "string") return { value: color.value };
5141
+ if (typeof color.value.color === "string") return { value: color.value.color };
5107
5142
  return void 0;
5108
5143
  }
5109
5144
 
@@ -5116,8 +5151,7 @@ function buildDocPagePublishPaths(groups, pages, routingVersion) {
5116
5151
  let pathV1 = `${page.userSlug || page.slug}.html`;
5117
5152
  let pathV2 = `${page.slug}-${page.shortPersistentId}`;
5118
5153
  for (const parent of parentChain) {
5119
- if (!parent.parentPersistentId)
5120
- continue;
5154
+ if (!parent.parentPersistentId) continue;
5121
5155
  pathV1 = `${parent.userSlug || parent.slug || "root"}/${pathV1}`;
5122
5156
  pathV2 = `${parent.slug || "root"}/${pathV2}`;
5123
5157
  }
@@ -5136,8 +5170,7 @@ function calculateElementParentChain(elementParentPersistentId, groupPersistentI
5136
5170
  let parentId = elementParentPersistentId;
5137
5171
  while (parentId) {
5138
5172
  const parent = groupPersistentIdToGroupMap.get(parentId);
5139
- if (parent)
5140
- result.push(parent);
5173
+ if (parent) result.push(parent);
5141
5174
  parentId = _optionalChain([parent, 'optionalAccess', _6 => _6.parentPersistentId]);
5142
5175
  }
5143
5176
  return result;
@@ -5157,8 +5190,7 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
5157
5190
  let nextParentId = groupToFix.parentPersistentId;
5158
5191
  while ((!isHidden || !isPrivate) && nextParentId) {
5159
5192
  const parent = groupPersistentIdToGroupMap.get(nextParentId);
5160
- if (!parent)
5161
- break;
5193
+ if (!parent) break;
5162
5194
  isHidden = isHidden || _optionalChain([parent, 'access', _9 => _9.data, 'optionalAccess', _10 => _10.configuration, 'optionalAccess', _11 => _11.isHidden]) || false;
5163
5195
  isPrivate = isPrivate || _optionalChain([parent, 'access', _12 => _12.data, 'optionalAccess', _13 => _13.configuration, 'optionalAccess', _14 => _14.isPrivate]) || false;
5164
5196
  nextParentId = parent.parentPersistentId;
@@ -5237,8 +5269,7 @@ function calculateChildrenIdsMapV1(elements, groups) {
5237
5269
  const byParentId = groupBy([...elements, ...groups], (e) => e.parentPersistentId);
5238
5270
  const childrenIdsMap = /* @__PURE__ */ new Map();
5239
5271
  for (const [parentPersistentId, children] of byParentId) {
5240
- if (!parentPersistentId)
5241
- continue;
5272
+ if (!parentPersistentId) continue;
5242
5273
  children.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
5243
5274
  childrenIdsMap.set(
5244
5275
  parentPersistentId,
@@ -5263,8 +5294,7 @@ var getDtoDefaultItemConfigurationV2 = () => ({
5263
5294
  });
5264
5295
  function documentationItemConfigurationToDTOV2(config) {
5265
5296
  const dtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2();
5266
- if (!config)
5267
- return dtoDefaultItemConfigurationV2;
5297
+ if (!config) return dtoDefaultItemConfigurationV2;
5268
5298
  return {
5269
5299
  header: config.header,
5270
5300
  isHidden: _nullishCoalesce(config.isHidden, () => ( dtoDefaultItemConfigurationV2.isHidden)),
@@ -5309,8 +5339,7 @@ function calculateChildrenIdsMapV2(elements, groups) {
5309
5339
  const byParentId = groupBy([...elements, ...groups], (e) => e.parentPersistentId);
5310
5340
  const childrenIdsMap = /* @__PURE__ */ new Map();
5311
5341
  for (const [parentPersistentId, children] of byParentId) {
5312
- if (!parentPersistentId)
5313
- continue;
5342
+ if (!parentPersistentId) continue;
5314
5343
  children.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
5315
5344
  childrenIdsMap.set(
5316
5345
  parentPersistentId,
@@ -5332,10 +5361,8 @@ function documentationPagesFixedConfigurationToDTOV1(pages, groups, routingVersi
5332
5361
  }
5333
5362
  function documentationPageToDTOV1(page, pagePathMap) {
5334
5363
  let path = pagePathMap.get(page.persistentId);
5335
- if (!path)
5336
- throw SupernovaException.conflict(`Path for page ${page.id} was not calculated`);
5337
- if (path.startsWith("/"))
5338
- path = path.substring(1);
5364
+ if (!path) throw SupernovaException.conflict(`Path for page ${page.id} was not calculated`);
5365
+ if (path.startsWith("/")) path = path.substring(1);
5339
5366
  const configuration = documentationItemConfigurationToDTOV1(page.data.configuration);
5340
5367
  return {
5341
5368
  id: page.id,
@@ -5370,10 +5397,8 @@ function documentationPagesFixedConfigurationToDTOV2(pages, groups, routingVersi
5370
5397
  }
5371
5398
  function _documentationPageToDTOV2(page, pagePathMap, pageLiveblocksRoomIdMap) {
5372
5399
  let path = pagePathMap.get(page.persistentId);
5373
- if (!path)
5374
- throw new Error(`Path for page ${page.persistentId} was not calculated`);
5375
- if (path.startsWith("/"))
5376
- path = path.substring(1);
5400
+ if (!path) throw new Error(`Path for page ${page.persistentId} was not calculated`);
5401
+ if (path.startsWith("/")) path = path.substring(1);
5377
5402
  const liveblocksRoomId = pageLiveblocksRoomIdMap.get(page.persistentId);
5378
5403
  return {
5379
5404
  id: "to_be_removed",
@@ -5729,10 +5754,35 @@ var DTODataSourceFigmaVariablesPlugin = _zod.z.object({
5729
5754
  isCollectionsMigrationCompleted: _zod.z.boolean().default(false)
5730
5755
  })
5731
5756
  });
5757
+ var DTODataSourceStorybook = _zod.z.object({
5758
+ id: _zod.z.string(),
5759
+ type: _zod.z.literal(DataSourceRemoteType.Enum.Storybook),
5760
+ fileName: _zod.z.string(),
5761
+ brandId: _zod.z.string(),
5762
+ sortOrder: _zod.z.number().optional(),
5763
+ storybook: _zod.z.object({
5764
+ indexUrl: _zod.z.string(),
5765
+ userUrl: _zod.z.string(),
5766
+ lastImportedAt: _zod.z.coerce.date().optional(),
5767
+ lastImportedSuccessfully: _zod.z.coerce.date().optional(),
5768
+ isFailed: _zod.z.boolean(),
5769
+ storiesCount: _zod.z.number(),
5770
+ docsCount: _zod.z.number()
5771
+ })
5772
+ });
5773
+ var DTODataSourcesStorybookResponse = _zod.z.object({
5774
+ isFailed: _zod.z.boolean(),
5775
+ storiesCount: _zod.z.number(),
5776
+ docsCount: _zod.z.number(),
5777
+ created: _zod.z.array(_zod.z.string()).optional(),
5778
+ updated: _zod.z.array(_zod.z.string()).optional(),
5779
+ deleted: _zod.z.array(_zod.z.string()).optional()
5780
+ });
5732
5781
  var DTODataSource = _zod.z.discriminatedUnion("type", [
5733
5782
  DTODataSourceFigma,
5734
5783
  DTODataSourceFigmaVariablesPlugin,
5735
- DTODataSourceTokenStudio
5784
+ DTODataSourceTokenStudio,
5785
+ DTODataSourceStorybook
5736
5786
  ]);
5737
5787
  var DTODataSourcesListResponse = _zod.z.object({
5738
5788
  sources: _zod.z.array(DTODataSource)
@@ -5749,6 +5799,17 @@ var DTODataSourceFigmaCreatePayload = _zod.z.object({
5749
5799
  var DTODataSourceFigmaImportPayload = _zod.z.object({
5750
5800
  sourceIds: _zod.z.array(_zod.z.string())
5751
5801
  });
5802
+ var DTODataSourceStorybookCreatePayload = _zod.z.object({
5803
+ brandPersistentId: _zod.z.string(),
5804
+ userUrl: _zod.z.string(),
5805
+ indexUrl: _zod.z.string(),
5806
+ payload: _zod.z.unknown(),
5807
+ type: _zod.z.literal(DataSourceRemoteType.Enum.Storybook)
5808
+ });
5809
+ var DTOStorybookImportPayload = _zod.z.object({
5810
+ sourceId: _zod.z.string(),
5811
+ payload: _zod.z.unknown()
5812
+ });
5752
5813
 
5753
5814
  // src/api/dto/design-systems/design-system.ts
5754
5815
 
@@ -5999,6 +6060,32 @@ var DTODesignSystemVersionStatsQuery = _zod.z.object({
5999
6060
  brandId: _zod.z.string().optional()
6000
6061
  });
6001
6062
 
6063
+ // src/api/dto/design-systems/storybook.ts
6064
+
6065
+ var DTOStorybookEntryOrigin = _zod.z.object({
6066
+ id: _zod.z.string(),
6067
+ type: _zod.z.enum(["story", "docs"]),
6068
+ name: _zod.z.string(),
6069
+ title: _zod.z.string()
6070
+ });
6071
+ var DTOStorybookEntry = _zod.z.object({
6072
+ id: _zod.z.string(),
6073
+ storyId: _zod.z.string(),
6074
+ designSystemId: _zod.z.string(),
6075
+ sourceId: _zod.z.string(),
6076
+ aliases: _zod.z.array(_zod.z.string()).optional(),
6077
+ url: _zod.z.string(),
6078
+ isDeleted: _zod.z.boolean().optional(),
6079
+ origin: DTOStorybookEntryOrigin,
6080
+ createdAt: _zod.z.coerce.date(),
6081
+ updatedAt: _zod.z.coerce.date()
6082
+ });
6083
+ var DTOStorybookEntryReplaceAction = _zod.z.object({
6084
+ newStoryId: _zod.z.string()
6085
+ });
6086
+ var DTOStorybookEntryListResponse = _zod.z.object({ entries: _zod.z.array(DTOStorybookEntry) });
6087
+ var DTOStorybookEntryResponse = _zod.z.object({ entry: DTOStorybookEntry });
6088
+
6002
6089
  // src/api/dto/design-systems/version-room.ts
6003
6090
 
6004
6091
  var DTODesignSystemVersionRoom = _zod.z.object({
@@ -6056,6 +6143,24 @@ var DTOUpdateVersionInput = _zod.z.object({
6056
6143
  changeLog: _zod.z.string()
6057
6144
  });
6058
6145
 
6146
+ // src/api/payloads/documentation/analytics.ts
6147
+
6148
+ var DTODocumentationAnalyticsTimeFrame = _zod.z.object({
6149
+ start: _zod.z.coerce.date(),
6150
+ end: _zod.z.coerce.date()
6151
+ });
6152
+ var DTODocumentationAnalyticsQueryParams = _zod.z.object({
6153
+ start: _zod.z.coerce.date(),
6154
+ end: _zod.z.coerce.date().optional()
6155
+ });
6156
+ var DTODocumentationAnalyticsTimeFrameComparison = _zod.z.object({
6157
+ referencePeriod: DTODocumentationAnalyticsTimeFrame,
6158
+ baselinePeriod: DTODocumentationAnalyticsTimeFrame
6159
+ });
6160
+ var DTODocumentationAnalyticsDiffPayload = _zod.z.object({
6161
+ timeFrames: _zod.z.array(DTODocumentationAnalyticsTimeFrameComparison)
6162
+ });
6163
+
6059
6164
  // src/api/payloads/documentation/block-definitions.ts
6060
6165
 
6061
6166
 
@@ -6609,7 +6714,20 @@ var DTOPublishedDocPageVisitData = _zod.z.object({
6609
6714
  visits: _zod.z.number(),
6610
6715
  sessions: _zod.z.number()
6611
6716
  });
6612
- var DTOAnalyticsDataResponse = _zod.z.array(DTOPublishedDocPageVisitData);
6717
+ var DTODocumentationPageAnalyticsDifference = _zod.z.object({
6718
+ startDate: _zod.z.coerce.date(),
6719
+ endDate: _zod.z.coerce.date(),
6720
+ currentVisitCount: _zod.z.number(),
6721
+ currentSessionCount: _zod.z.number(),
6722
+ priorVisitCount: _zod.z.number(),
6723
+ priorSessionCount: _zod.z.number()
6724
+ });
6725
+ var DTODocumentationPageAnalyticsResponse = _zod.z.object({
6726
+ analytics: _zod.z.array(DTOPublishedDocPageVisitData)
6727
+ });
6728
+ var DTODocumentationPageIntervalDifferenceResponse = _zod.z.object({
6729
+ differences: _zod.z.array(DTODocumentationPageAnalyticsDifference)
6730
+ });
6613
6731
 
6614
6732
  // src/api/dto/documentation/anchor.ts
6615
6733
 
@@ -8518,6 +8636,26 @@ var DesignSystemVersionsEndpoint = class {
8518
8636
  }
8519
8637
  };
8520
8638
 
8639
+ // src/api/endpoints/design-system/analytics.ts
8640
+ var DesignSystemAnalyticsEndpoint = class {
8641
+ constructor(requestExecutor) {
8642
+ this.requestExecutor = requestExecutor;
8643
+ }
8644
+ get(designSystemId, versionId, query) {
8645
+ return this.requestExecutor.json(
8646
+ `/design-systems/${designSystemId}/versions/${versionId}/documentation/analytics`,
8647
+ DTODocumentationPageAnalyticsResponse,
8648
+ {
8649
+ method: "GET",
8650
+ query: new URLSearchParams({
8651
+ start: query.start.toISOString(),
8652
+ ...query.end && { end: query.end.toISOString() }
8653
+ })
8654
+ }
8655
+ );
8656
+ }
8657
+ };
8658
+
8521
8659
  // src/api/endpoints/design-system/bff.ts
8522
8660
  var DesignSystemBffEndpoint = class {
8523
8661
  constructor(requestExecutor) {
@@ -8635,6 +8773,9 @@ var DesignSystemSourcesEndpoint = class {
8635
8773
  list(dsId) {
8636
8774
  return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourcesListResponse);
8637
8775
  }
8776
+ get(dsId, sourceId) {
8777
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
8778
+ }
8638
8779
  delete(dsId, sourceId) {
8639
8780
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, _zod.z.any(), { method: "DELETE" });
8640
8781
  }
@@ -8644,6 +8785,29 @@ var DesignSystemSourcesEndpoint = class {
8644
8785
  body: payload
8645
8786
  });
8646
8787
  }
8788
+ storybookImport(dsId, payload) {
8789
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook-import`, DTODataSourcesStorybookResponse, {
8790
+ method: "POST",
8791
+ body: payload
8792
+ });
8793
+ }
8794
+ };
8795
+
8796
+ // src/api/endpoints/design-system/storybook.ts
8797
+
8798
+ var StorybookEntriesEndpoint = class {
8799
+ constructor(requestExecutor) {
8800
+ this.requestExecutor = requestExecutor;
8801
+ }
8802
+ list(dsId) {
8803
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook`, DTOStorybookEntryListResponse);
8804
+ }
8805
+ replace(dsId, entryId) {
8806
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, DTOStorybookEntryReplaceAction, { method: "PUT" });
8807
+ }
8808
+ delete(dsId, entryId) {
8809
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, _zod.z.any(), { method: "DELETE" });
8810
+ }
8647
8811
  };
8648
8812
 
8649
8813
  // src/api/endpoints/design-system/design-systems.ts
@@ -8654,16 +8818,20 @@ var DesignSystemsEndpoint = class {
8654
8818
  __publicField(this, "versions");
8655
8819
  __publicField(this, "bff");
8656
8820
  __publicField(this, "sources");
8821
+ __publicField(this, "storybook");
8657
8822
  __publicField(this, "contacts");
8658
8823
  __publicField(this, "redirects");
8659
8824
  __publicField(this, "figmaNodeStructures");
8825
+ __publicField(this, "analytics");
8660
8826
  this.members = new DesignSystemMembersEndpoint(requestExecutor);
8661
8827
  this.versions = new DesignSystemVersionsEndpoint(requestExecutor);
8662
8828
  this.bff = new DesignSystemBffEndpoint(requestExecutor);
8663
8829
  this.sources = new DesignSystemSourcesEndpoint(requestExecutor);
8830
+ this.storybook = new StorybookEntriesEndpoint(requestExecutor);
8664
8831
  this.contacts = new DesignSystemContactsEndpoint(requestExecutor);
8665
8832
  this.redirects = new DesignSystemPageRedirectsEndpoint(requestExecutor);
8666
8833
  this.figmaNodeStructures = new FigmaNodeStructuresEndpoint(requestExecutor);
8834
+ this.analytics = new DesignSystemAnalyticsEndpoint(requestExecutor);
8667
8835
  }
8668
8836
  create(body) {
8669
8837
  return this.requestExecutor.json("/design-systems", DTODesignSystemResponse, { method: "POST", body });
@@ -8901,14 +9069,12 @@ var RequestExecutor = class {
8901
9069
  const defaultHeaders = {
8902
9070
  Accept: "application/json"
8903
9071
  };
8904
- if (requestInit.body)
8905
- defaultHeaders["Content-Type"] = "application/json";
9072
+ if (requestInit.body) defaultHeaders["Content-Type"] = "application/json";
8906
9073
  if (this.testServerConfig.accessToken) {
8907
9074
  defaultHeaders["Authorization"] = `Bearer ${this.testServerConfig.accessToken}`;
8908
9075
  }
8909
9076
  let body;
8910
- if (requestInit.body && typeof requestInit.body === "object")
8911
- body = JSON.stringify(requestInit.body);
9077
+ if (requestInit.body && typeof requestInit.body === "object") body = JSON.stringify(requestInit.body);
8912
9078
  const response = await _nodefetch2.default.call(void 0, this.fullUrl(path, requestInit.query), {
8913
9079
  ...requestInit,
8914
9080
  headers: {
@@ -8940,8 +9106,7 @@ var RequestExecutor = class {
8940
9106
  fullUrl(path, query) {
8941
9107
  let url = `https://${this.testServerConfig.host}/api/v2${path}`;
8942
9108
  const queryString = _optionalChain([query, 'optionalAccess', _36 => _36.toString, 'call', _37 => _37()]);
8943
- if (queryString)
8944
- url += `?${queryString}`;
9109
+ if (queryString) url += `?${queryString}`;
8945
9110
  return url;
8946
9111
  }
8947
9112
  };
@@ -9139,8 +9304,7 @@ var VersionRoomBaseYDoc = class {
9139
9304
  const map = this.documentationPageContentHashesYMap;
9140
9305
  const result = {};
9141
9306
  map.forEach((hash2, key) => {
9142
- if (typeof hash2 === "string")
9143
- result[key] = hash2;
9307
+ if (typeof hash2 === "string") result[key] = hash2;
9144
9308
  });
9145
9309
  return result;
9146
9310
  }
@@ -9148,8 +9312,7 @@ var VersionRoomBaseYDoc = class {
9148
9312
  const map = this.documentationPageLiveblocksRoomIdsYMap;
9149
9313
  const result = {};
9150
9314
  map.forEach((hash2, key) => {
9151
- if (typeof hash2 === "string")
9152
- result[key] = hash2;
9315
+ if (typeof hash2 === "string") result[key] = hash2;
9153
9316
  });
9154
9317
  return result;
9155
9318
  }
@@ -9183,8 +9346,7 @@ var VersionRoomBaseYDoc = class {
9183
9346
  //
9184
9347
  updateExecutedTransactionIds(transactionIds) {
9185
9348
  transactionIds = Array.from(new Set(transactionIds));
9186
- if (!transactionIds.length)
9187
- return;
9349
+ if (!transactionIds.length) return;
9188
9350
  const array = this.executedTransactionIdsArray;
9189
9351
  array.push(transactionIds);
9190
9352
  if (array.length > 100) {
@@ -9276,8 +9438,7 @@ function buildPageDraftCreatedAndUpdatedStates(pages, pageSnapshots, pageHashes,
9276
9438
  const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess', _38 => _38.pageContentHash]))), () => ( ""));
9277
9439
  const currentState = itemStateFromPage(page, currentPageContentHash);
9278
9440
  const draftState = createDraftState(page.persistentId, currentState, publishedState, debug);
9279
- if (draftState)
9280
- result.set(page.persistentId, draftState);
9441
+ if (draftState) result.set(page.persistentId, draftState);
9281
9442
  });
9282
9443
  return result;
9283
9444
  }
@@ -9296,8 +9457,7 @@ function buildPagePublishedMetadata(pages, pageSnapshots) {
9296
9457
  const result = /* @__PURE__ */ new Map();
9297
9458
  pages.forEach((p) => {
9298
9459
  const publishedSnapshot = publishedPageSnapshotsByPersistentId.get(p.persistentId);
9299
- if (!publishedSnapshot)
9300
- return;
9460
+ if (!publishedSnapshot) return;
9301
9461
  result.set(p.persistentId, {
9302
9462
  lastPublishedAt: publishedSnapshot.createdAt,
9303
9463
  lastPublishedByUserId: publishedSnapshot.createdByUserId
@@ -9361,8 +9521,7 @@ function buildPageDraftDeletedStates(pages, pageSnapshots) {
9361
9521
  const result = /* @__PURE__ */ new Map();
9362
9522
  pages.forEach((page) => {
9363
9523
  const deletedSnapshot = deletedSnapshotsByPagePersistentId.get(page.persistentId);
9364
- if (!deletedSnapshot)
9365
- return;
9524
+ if (!deletedSnapshot) return;
9366
9525
  result.set(page.persistentId, {
9367
9526
  changeType: "Deleted",
9368
9527
  deletedAt: deletedSnapshot.createdAt,
@@ -9378,11 +9537,9 @@ function buildGroupDraftDeletedStates(groups, groupSnapshots) {
9378
9537
  );
9379
9538
  const result = /* @__PURE__ */ new Map();
9380
9539
  groups.forEach((group) => {
9381
- if (!group.parentPersistentId)
9382
- return;
9540
+ if (!group.parentPersistentId) return;
9383
9541
  const deletedSnapshot = deletedSnapshotsByGroupPersistentId.get(group.persistentId);
9384
- if (!deletedSnapshot)
9385
- return;
9542
+ if (!deletedSnapshot) return;
9386
9543
  result.set(group.persistentId, {
9387
9544
  changeType: "Deleted",
9388
9545
  deletedAt: deletedSnapshot.createdAt,
@@ -9396,8 +9553,7 @@ function buildGroupDraftCreatedAndUpdatedStates(groups, groupSnapshots, debug) {
9396
9553
  const publishedSnapshotsByGroupPersistent = mapByUnique(publishedSnapshots, (s) => s.group.persistentId);
9397
9554
  const result = /* @__PURE__ */ new Map();
9398
9555
  groups.forEach((group) => {
9399
- if (!group.parentPersistentId)
9400
- return;
9556
+ if (!group.parentPersistentId) return;
9401
9557
  const currentState = itemStateFromGroup(group);
9402
9558
  const snapshot = publishedSnapshotsByGroupPersistent.get(group.persistentId);
9403
9559
  let publishedState;
@@ -9405,8 +9561,7 @@ function buildGroupDraftCreatedAndUpdatedStates(groups, groupSnapshots, debug) {
9405
9561
  publishedState = itemStateFromGroup(snapshot.group);
9406
9562
  }
9407
9563
  const draftState = createDraftState(group.persistentId, currentState, publishedState, debug);
9408
- if (draftState)
9409
- result.set(group.persistentId, draftState);
9564
+ if (draftState) result.set(group.persistentId, draftState);
9410
9565
  });
9411
9566
  return result;
9412
9567
  }
@@ -9424,11 +9579,9 @@ function buildGroupPublishedMetadata(groups, groupSnapshots) {
9424
9579
  );
9425
9580
  const result = /* @__PURE__ */ new Map();
9426
9581
  groups.forEach((g) => {
9427
- if (!g.parentPersistentId)
9428
- return;
9582
+ if (!g.parentPersistentId) return;
9429
9583
  const publishedSnapshot = publishedGroupSnapshotsByPersistentId.get(g.persistentId);
9430
- if (!publishedSnapshot)
9431
- return;
9584
+ if (!publishedSnapshot) return;
9432
9585
  result.set(g.persistentId, {
9433
9586
  lastPublishedAt: publishedSnapshot.createdAt,
9434
9587
  lastPublishedByUserId: publishedSnapshot.createdByUserId
@@ -9447,17 +9600,14 @@ function generatePageContentHash(content, definitions, debug = false) {
9447
9600
  return generateHash(sanitizedContent, debug);
9448
9601
  }
9449
9602
  function isPageContentEmpty(content) {
9450
- if (content.blocks.length > 1)
9451
- return false;
9452
- if (content.blocks.length < 1)
9453
- return true;
9603
+ if (content.blocks.length > 1) return false;
9604
+ if (content.blocks.length < 1) return true;
9454
9605
  const singleBlock = content.blocks[0];
9455
9606
  if (singleBlock.type !== "Block" || singleBlock.data.packageId !== "io.supernova.block.rich-text") {
9456
9607
  return false;
9457
9608
  }
9458
9609
  const singleItem = singleBlock.data.items[0];
9459
- if (!singleItem || !singleItem.props["text"])
9460
- return true;
9610
+ if (!singleItem || !singleItem.props["text"]) return true;
9461
9611
  const textValue = singleItem.props["text"];
9462
9612
  return !textValue.value.spans.length;
9463
9613
  }
@@ -10367,10 +10517,8 @@ var _yprosemirror = require('y-prosemirror');
10367
10517
  // src/yjs/docs-editor/utils.ts
10368
10518
  var BlockParsingUtils = {
10369
10519
  singleBlockItem(block) {
10370
- if (!block.data.items.length)
10371
- throw new Error(`Block ${block.id} has no items`);
10372
- if (block.data.items.length > 1)
10373
- throw new Error(`Block ${block.id} has more than 1 item`);
10520
+ if (!block.data.items.length) throw new Error(`Block ${block.id} has no items`);
10521
+ if (block.data.items.length > 1) throw new Error(`Block ${block.id} has more than 1 item`);
10374
10522
  return block.data.items[0];
10375
10523
  },
10376
10524
  richTextPropertyValue(item, propertyKey) {
@@ -10402,34 +10550,29 @@ var BlockParsingUtils = {
10402
10550
  },
10403
10551
  propertyValueOrThrow(item, propertyKey) {
10404
10552
  const value = item.props[propertyKey];
10405
- if (!value)
10406
- throw new Error(`Property ${propertyKey} is not defined on block item`);
10553
+ if (!value) throw new Error(`Property ${propertyKey} is not defined on block item`);
10407
10554
  return value;
10408
10555
  }
10409
10556
  };
10410
10557
  var BlockDefinitionUtils = {
10411
10558
  firstRichTextProperty(definition) {
10412
10559
  const property = definition.item.properties.find((p) => p.type === "RichText");
10413
- if (property)
10414
- return property;
10560
+ if (property) return property;
10415
10561
  return void 0;
10416
10562
  },
10417
10563
  firstMultiRichTextProperty(definition) {
10418
10564
  const property = definition.item.properties.find((p) => p.type === "MultiRichText");
10419
- if (property)
10420
- return property;
10565
+ if (property) return property;
10421
10566
  return void 0;
10422
10567
  },
10423
10568
  firstTableProperty(definition) {
10424
10569
  const property = definition.item.properties.find((p) => p.type === "Table");
10425
- if (property)
10426
- return property;
10570
+ if (property) return property;
10427
10571
  return void 0;
10428
10572
  },
10429
10573
  firstEmbedProperty(definition) {
10430
10574
  const property = definition.item.properties.find((p) => p.type === "EmbedURL");
10431
- if (property)
10432
- return property;
10575
+ if (property) return property;
10433
10576
  return void 0;
10434
10577
  },
10435
10578
  richTextProperty(definition, propertyKey) {
@@ -10484,13 +10627,11 @@ var ListTreeBuilder = class {
10484
10627
  return node;
10485
10628
  }
10486
10629
  getParentOfDepth(depth) {
10487
- if (!this.rootNode || depth <= 0)
10488
- throw new Error("Invalid state");
10630
+ if (!this.rootNode || depth <= 0) throw new Error("Invalid state");
10489
10631
  let currentNode = this.rootNode;
10490
10632
  let currentDepth = depth - 1;
10491
10633
  while (currentDepth > 0) {
10492
- if (currentNode.children.length === 0)
10493
- return currentNode;
10634
+ if (currentNode.children.length === 0) return currentNode;
10494
10635
  const lastChild = currentNode.children[currentNode.children.length - 1];
10495
10636
  if (lastChild.type !== "List") {
10496
10637
  return currentNode;
@@ -10927,8 +11068,7 @@ function serializeBlockNodeAttributes(block) {
10927
11068
  }
10928
11069
  function richTextHeadingLevel(property) {
10929
11070
  const style = _optionalChain([property, 'access', _48 => _48.options, 'optionalAccess', _49 => _49.richTextStyle]);
10930
- if (!style)
10931
- return void 0;
11071
+ if (!style) return void 0;
10932
11072
  switch (style) {
10933
11073
  case "Title1":
10934
11074
  return 1;
@@ -10962,8 +11102,7 @@ function serializeCalloutType(calloutType) {
10962
11102
  }
10963
11103
  function serializeRichTextNodePart(richText) {
10964
11104
  const spans = serializeRichText(richText);
10965
- if (spans.length)
10966
- return { content: spans };
11105
+ if (spans.length) return { content: spans };
10967
11106
  return {};
10968
11107
  }
10969
11108
  function serializeRichText(richText) {
@@ -13242,11 +13381,9 @@ function parseAsListNode(prosemirrorNode) {
13242
13381
  };
13243
13382
  }
13244
13383
  function parseAsListNodeItem(prosemirrorNode) {
13245
- if (prosemirrorNode.type !== "listItem")
13246
- return null;
13384
+ if (prosemirrorNode.type !== "listItem") return null;
13247
13385
  const firstChild = _optionalChain([prosemirrorNode, 'access', _53 => _53.content, 'optionalAccess', _54 => _54[0]]);
13248
- if (!firstChild || firstChild.type !== "paragraph")
13249
- return null;
13386
+ if (!firstChild || firstChild.type !== "paragraph") return null;
13250
13387
  return parseRichText(_nullishCoalesce(firstChild.content, () => ( [])));
13251
13388
  }
13252
13389
  function prosemirrorNodeToSection(prosemirrorNode, definitions) {
@@ -13255,8 +13392,7 @@ function prosemirrorNodeToSection(prosemirrorNode, definitions) {
13255
13392
  }
13256
13393
  function internalProsemirrorNodeToSection(prosemirrorNode, definitionsMap) {
13257
13394
  const id = getProsemirrorBlockId(prosemirrorNode);
13258
- if (!id)
13259
- return null;
13395
+ if (!id) return null;
13260
13396
  return {
13261
13397
  id,
13262
13398
  type: "Section",
@@ -13271,8 +13407,7 @@ function internalProsemirrorNodeToSection(prosemirrorNode, definitionsMap) {
13271
13407
  }
13272
13408
  function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
13273
13409
  const id = getProsemirrorBlockId(prosemirrorNode);
13274
- if (!id)
13275
- return null;
13410
+ if (!id) return null;
13276
13411
  return {
13277
13412
  id,
13278
13413
  title: _nullishCoalesce(getProsemirrorAttribute(prosemirrorNode, "title", _zod.z.string()), () => ( "")),
@@ -13281,8 +13416,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
13281
13416
  }
13282
13417
  function prosemirrorNodeToSectionColumns(prosemirrorNode, definitionsMap) {
13283
13418
  const id = getProsemirrorBlockId(prosemirrorNode);
13284
- if (!id)
13285
- return null;
13419
+ if (!id) return null;
13286
13420
  return {
13287
13421
  id,
13288
13422
  blocks: internalProsemirrorNodesToBlocks(_nullishCoalesce(prosemirrorNode.content, () => ( [])), definitionsMap, 0)
@@ -13349,8 +13483,7 @@ function shallowProsemirrorNodeAndDefinitionToBlock(prosemirrorNode, definition)
13349
13483
  }
13350
13484
  function parseAsRichText(prosemirrorNode, definition, property) {
13351
13485
  const id = getProsemirrorBlockId(prosemirrorNode);
13352
- if (!id)
13353
- return null;
13486
+ if (!id) return null;
13354
13487
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13355
13488
  const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", _zod.z.string().optional()));
13356
13489
  return {
@@ -13377,8 +13510,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
13377
13510
  };
13378
13511
  }
13379
13512
  function parseCalloutType(prosemirrorCalloutType) {
13380
- if (!prosemirrorCalloutType)
13381
- return void 0;
13513
+ if (!prosemirrorCalloutType) return void 0;
13382
13514
  switch (prosemirrorCalloutType) {
13383
13515
  case "critical":
13384
13516
  return "Error";
@@ -13394,22 +13526,19 @@ function parseCalloutType(prosemirrorCalloutType) {
13394
13526
  }
13395
13527
  function parseAsMultiRichText(prosemirrorNode, definition, property, definitionsMap, depth) {
13396
13528
  const id = getProsemirrorBlockId(prosemirrorNode);
13397
- if (!id)
13398
- return [];
13529
+ if (!id) return [];
13399
13530
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13400
13531
  const result = [];
13401
13532
  const listItems = [];
13402
13533
  _optionalChain([prosemirrorNode, 'access', _55 => _55.content, 'optionalAccess', _56 => _56.forEach, 'call', _57 => _57((c) => {
13403
- if (c.type !== "listItem")
13404
- return;
13534
+ if (c.type !== "listItem") return;
13405
13535
  _optionalChain([c, 'access', _58 => _58.content, 'optionalAccess', _59 => _59.forEach, 'call', _60 => _60((cc) => {
13406
13536
  listItems.push(cc);
13407
13537
  })]);
13408
13538
  })]);
13409
13539
  let bufferedTextItems = [];
13410
13540
  function flushBufferedTextItems() {
13411
- if (!bufferedTextItems.length)
13412
- return;
13541
+ if (!bufferedTextItems.length) return;
13413
13542
  const idSuffix = result.length ? `-${result.length}` : "";
13414
13543
  result.push({
13415
13544
  id: id + idSuffix,
@@ -13454,8 +13583,7 @@ function parseRichTextSpan(span) {
13454
13583
  if (span.type === "hardBreak") {
13455
13584
  return { text: "\n", attributes: [] };
13456
13585
  }
13457
- if (span.type !== "text" || !span.text)
13458
- return null;
13586
+ if (span.type !== "text" || !span.text) return null;
13459
13587
  const marks = _nullishCoalesce(span.marks, () => ( []));
13460
13588
  return {
13461
13589
  text: span.text,
@@ -13481,8 +13609,7 @@ function parseRichTextAttribute(mark) {
13481
13609
  }
13482
13610
  function parseProsemirrorLink(mark) {
13483
13611
  const href = getProsemirrorAttribute(mark, "href", _zod.z.string().optional());
13484
- if (!href)
13485
- return null;
13612
+ if (!href) return null;
13486
13613
  const target = getProsemirrorAttribute(mark, "target", _zod.z.string().optional());
13487
13614
  const openInNewTab = target === "_blank";
13488
13615
  if (href.startsWith("@")) {
@@ -13503,8 +13630,7 @@ function parseProsemirrorLink(mark) {
13503
13630
  }
13504
13631
  function parseProsemirrorCommentHighlight(mark) {
13505
13632
  const highlightId = getProsemirrorAttribute(mark, "highlightId", _zod.z.string().optional());
13506
- if (!highlightId)
13507
- return null;
13633
+ if (!highlightId) return null;
13508
13634
  const isResolved = _nullishCoalesce(getProsemirrorAttribute(mark, "resolved", _zod.z.boolean().optional()), () => ( false));
13509
13635
  return {
13510
13636
  type: "Comment",
@@ -13514,8 +13640,7 @@ function parseProsemirrorCommentHighlight(mark) {
13514
13640
  }
13515
13641
  function parseAsTable(prosemirrorNode, definition, property) {
13516
13642
  const id = getProsemirrorBlockId(prosemirrorNode);
13517
- if (!id)
13518
- return null;
13643
+ if (!id) return null;
13519
13644
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13520
13645
  const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", _zod.z.boolean().optional()) !== false;
13521
13646
  const tableChild = _optionalChain([prosemirrorNode, 'access', _61 => _61.content, 'optionalAccess', _62 => _62.find, 'call', _63 => _63((c) => c.type === "table")]);
@@ -13562,8 +13687,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
13562
13687
  }
13563
13688
  function parseAsTableCell(prosemirrorNode) {
13564
13689
  const id = getProsemirrorBlockId(prosemirrorNode);
13565
- if (!id)
13566
- return null;
13690
+ if (!id) return null;
13567
13691
  const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", _zod.z.string().optional());
13568
13692
  let columnWidth;
13569
13693
  const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", _zod.z.array(_zod.z.number()).nullish());
@@ -13579,8 +13703,7 @@ function parseAsTableCell(prosemirrorNode) {
13579
13703
  };
13580
13704
  }
13581
13705
  function parseTableCellAlignment(alignment) {
13582
- if (!alignment)
13583
- return "Left";
13706
+ if (!alignment) return "Left";
13584
13707
  switch (alignment) {
13585
13708
  case "left":
13586
13709
  return "Left";
@@ -13594,8 +13717,7 @@ function parseTableCellAlignment(alignment) {
13594
13717
  }
13595
13718
  function parseAsTableNode(prosemirrorNode) {
13596
13719
  const id = getProsemirrorBlockId(prosemirrorNode);
13597
- if (!id)
13598
- return null;
13720
+ if (!id) return null;
13599
13721
  switch (prosemirrorNode.type) {
13600
13722
  case "paragraph":
13601
13723
  return {
@@ -13605,17 +13727,13 @@ function parseAsTableNode(prosemirrorNode) {
13605
13727
  };
13606
13728
  case "image":
13607
13729
  const items = getProsemirrorAttribute(prosemirrorNode, "items", _zod.z.string());
13608
- if (!items)
13609
- return null;
13730
+ if (!items) return null;
13610
13731
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
13611
- if (!parsedItems.success)
13612
- return null;
13732
+ if (!parsedItems.success) return null;
13613
13733
  const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _80 => _80.data, 'access', _81 => _81[0], 'optionalAccess', _82 => _82.props, 'access', _83 => _83.image]);
13614
- if (!rawImagePropertyValue)
13615
- return null;
13734
+ if (!rawImagePropertyValue) return null;
13616
13735
  const imagePropertyValueParseResult = PageBlockItemImageValue.safeParse(rawImagePropertyValue);
13617
- if (!imagePropertyValueParseResult.success)
13618
- return null;
13736
+ if (!imagePropertyValueParseResult.success) return null;
13619
13737
  const { value, caption, alt, alignment } = imagePropertyValueParseResult.data;
13620
13738
  return {
13621
13739
  type: "Image",
@@ -13677,8 +13795,7 @@ function emptyTableCellContent() {
13677
13795
  }
13678
13796
  function parseAsDivider(prosemirrorNode, definition) {
13679
13797
  const id = getProsemirrorBlockId(prosemirrorNode);
13680
- if (!id)
13681
- return null;
13798
+ if (!id) return null;
13682
13799
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13683
13800
  return {
13684
13801
  id,
@@ -13693,8 +13810,7 @@ function parseAsDivider(prosemirrorNode, definition) {
13693
13810
  }
13694
13811
  function parseAsCustomBlock(prosemirrorNode, definition) {
13695
13812
  const id = getProsemirrorBlockId(prosemirrorNode);
13696
- if (!id)
13697
- return null;
13813
+ if (!id) return null;
13698
13814
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13699
13815
  const appearance = parseAppearance(prosemirrorNode);
13700
13816
  const parsedItems = _nullishCoalesce(parseBlockItems(prosemirrorNode, definition), () => ( []));
@@ -13725,8 +13841,7 @@ function definitionExpectsPlaceholderItem(definition) {
13725
13841
  }
13726
13842
  function parseBlockItems(prosemirrorNode, definition) {
13727
13843
  const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", _zod.z.string());
13728
- if (!itemsString)
13729
- return null;
13844
+ if (!itemsString) return null;
13730
13845
  const itemsJson = JSON.parse(itemsString);
13731
13846
  if (!Array.isArray(itemsJson)) {
13732
13847
  console.error("Block `items` property must be a json array");
@@ -13754,8 +13869,7 @@ function parseAppearance(prosemirrorNode) {
13754
13869
  appearance.itemBackgroundColor = parsedColor.data;
13755
13870
  }
13756
13871
  }
13757
- if (!Object.keys(appearance).length)
13758
- return void 0;
13872
+ if (!Object.keys(appearance).length) return void 0;
13759
13873
  return appearance;
13760
13874
  }
13761
13875
  function parseItem(rawItem, definition) {
@@ -13843,8 +13957,7 @@ function valueSchemaForPropertyType(type) {
13843
13957
  }
13844
13958
  function getProsemirrorBlockId(prosemirrorNode) {
13845
13959
  const id = getProsemirrorAttribute(prosemirrorNode, "id", _zod.z.string());
13846
- if (!id)
13847
- console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
13960
+ if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
13848
13961
  return id;
13849
13962
  }
13850
13963
  function getProsemirrorBlockVariantId(prosemirrorNode) {
@@ -13942,16 +14055,19 @@ var LocalDocsElementActionExecutor = class {
13942
14055
  }
13943
14056
  applyTransaction(trx) {
13944
14057
  switch (trx.type) {
14058
+ // Groups
13945
14059
  case "DocumentationGroupCreate":
13946
14060
  return this.documentationGroupCreate(trx);
13947
14061
  case "DocumentationGroupUpdate":
13948
14062
  return this.documentationGroupUpdate(trx);
13949
14063
  case "DocumentationGroupMove":
13950
14064
  return this.documentationGroupMove(trx);
14065
+ // Groups - unsupported
13951
14066
  case "DocumentationGroupDelete":
13952
14067
  case "DocumentationGroupDuplicate":
13953
14068
  case "DocumentationGroupRestore":
13954
14069
  throw new Error(`Transaction type ${trx.type} is not yet implemented`);
14070
+ // Pages
13955
14071
  case "DocumentationPageCreate":
13956
14072
  return this.documentationPageCreate(trx);
13957
14073
  case "DocumentationPageUpdate":
@@ -13960,15 +14076,18 @@ var LocalDocsElementActionExecutor = class {
13960
14076
  return this.documentationPageMove(trx);
13961
14077
  case "DocumentationPageDelete":
13962
14078
  return this.documentationPageDelete(trx);
14079
+ // Pages - unsupported
13963
14080
  case "DocumentationPageApprovalStateChange":
13964
14081
  return this.documentationApprovalStateUpdate(trx);
13965
14082
  case "DocumentationPageDuplicate":
13966
14083
  case "DocumentationPageRestore":
13967
14084
  throw new Error(`Transaction type ${trx.type} is not yet implemented`);
14085
+ // Tabs
13968
14086
  case "DocumentationTabCreate":
13969
14087
  return this.documentationTabCreate(trx);
13970
14088
  case "DocumentationTabGroupDelete":
13971
14089
  throw new Error(`Transaction type ${trx.type} is not yet implemented`);
14090
+ // Won't ever be supported
13972
14091
  case "FigmaNodeRender":
13973
14092
  case "FigmaNodeRenderAsync":
13974
14093
  throw new Error(`Transaction type ${trx.type} is not a documentation element action`);
@@ -14177,13 +14296,10 @@ var LocalDocsElementActionExecutor = class {
14177
14296
  ...Array.from(this.pages.values()).filter((p) => p.parentPersistentId === parentPersistentId),
14178
14297
  ...Array.from(this.groups.values()).filter((g) => g.parentPersistentId === parentPersistentId)
14179
14298
  ];
14180
- if (!neighbours.length)
14181
- return 0;
14299
+ if (!neighbours.length) return 0;
14182
14300
  neighbours.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
14183
- if (afterPersistentId === null)
14184
- return neighbours[0].sortOrder - sortOrderStep;
14185
- if (!afterPersistentId)
14186
- return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
14301
+ if (afterPersistentId === null) return neighbours[0].sortOrder - sortOrderStep;
14302
+ if (!afterPersistentId) return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
14187
14303
  const index = neighbours.findIndex((e) => e.persistentId === afterPersistentId);
14188
14304
  if (index < 0 || index === neighbours.length - 1) {
14189
14305
  return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
@@ -14228,24 +14344,21 @@ var DocsStructureRepository = class {
14228
14344
  return !!this._currentHierarchy;
14229
14345
  }
14230
14346
  onInitialized() {
14231
- if (this.isInitialized)
14232
- return Promise.resolve();
14347
+ if (this.isInitialized) return Promise.resolve();
14233
14348
  return new Promise((resolve) => {
14234
14349
  this.initCallbacks.add(resolve);
14235
14350
  });
14236
14351
  }
14237
14352
  addHierarchyObserver(observer) {
14238
14353
  this.hierarchyObservers.add(observer);
14239
- if (this._currentHierarchy)
14240
- observer(this._currentHierarchy);
14354
+ if (this._currentHierarchy) observer(this._currentHierarchy);
14241
14355
  }
14242
14356
  removeHierarchyObserver(observer) {
14243
14357
  this.hierarchyObservers.delete(observer);
14244
14358
  }
14245
14359
  addSettingsObserver(observer) {
14246
14360
  this.settingsObservers.add(observer);
14247
- if (this._currentSettings)
14248
- observer(this._currentSettings);
14361
+ if (this._currentSettings) observer(this._currentSettings);
14249
14362
  }
14250
14363
  removeSettingsObserver(observer) {
14251
14364
  this.settingsObservers.delete(observer);
@@ -14268,8 +14381,7 @@ var DocsStructureRepository = class {
14268
14381
  //
14269
14382
  get currentHierarchy() {
14270
14383
  const hierarchy = this._currentHierarchy;
14271
- if (!hierarchy)
14272
- throw new Error(`Hierarchy cannot be accessed while it's still loading`);
14384
+ if (!hierarchy) throw new Error(`Hierarchy cannot be accessed while it's still loading`);
14273
14385
  return hierarchy;
14274
14386
  }
14275
14387
  //
@@ -14308,8 +14420,7 @@ var DocsStructureRepository = class {
14308
14420
  }
14309
14421
  refreshSettings() {
14310
14422
  const yState = this._yState;
14311
- if (!yState)
14312
- return;
14423
+ if (!yState) return;
14313
14424
  const newSettings = {
14314
14425
  isApprovalRequiredForPublishing: yState.settings.approvalRequiredForPublishing,
14315
14426
  isApprovalsFeatureEnabled: yState.settings.isApprovalFeatureEnabled,
@@ -14322,11 +14433,9 @@ var DocsStructureRepository = class {
14322
14433
  }
14323
14434
  refreshHierarchy() {
14324
14435
  const yState = this._yState;
14325
- if (!yState)
14326
- return;
14436
+ if (!yState) return;
14327
14437
  const hierarchy = this.calculateHierarchy(yState);
14328
- if (!hierarchy)
14329
- return;
14438
+ if (!hierarchy) return;
14330
14439
  this._currentHierarchy = hierarchy;
14331
14440
  this.hierarchyObservers.forEach((o) => o(hierarchy));
14332
14441
  }
@@ -14835,5 +14944,23 @@ var TransactionQueue = class {
14835
14944
 
14836
14945
 
14837
14946
 
14838
- 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;
14947
+
14948
+
14949
+
14950
+
14951
+
14952
+
14953
+
14954
+
14955
+
14956
+
14957
+
14958
+
14959
+
14960
+
14961
+
14962
+
14963
+
14964
+
14965
+ 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.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;
14839
14966
  //# sourceMappingURL=index.js.map