@supernova-studio/client 1.0.0-alpha.5 → 1.0.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -838,6 +838,12 @@ function areShallowObjectsEqual(lhs, rhs) {
838
838
  }
839
839
  return true;
840
840
  }
841
+ function recordToMap(record) {
842
+ const map = /* @__PURE__ */ new Map();
843
+ for (const [k, v] of Object.entries(record))
844
+ map.set(k, v);
845
+ return map;
846
+ }
841
847
  var ContentLoadInstruction = z34.object({
842
848
  from: z34.string(),
843
849
  to: z34.string(),
@@ -1709,6 +1715,7 @@ var PageBlockCodeLanguage = z40.enum([
1709
1715
  ]);
1710
1716
  var PageBlockAlignment = z40.enum(["Left", "Center", "Stretch", "Right"]);
1711
1717
  var PageBlockThemeType = z40.enum(["Override", "Comparison"]);
1718
+ var PageBlockTokenNameFormat = z40.enum(["Name", "GroupAndName", "FullPath", "CustomProperty"]);
1712
1719
  var PageBlockAssetType = z40.enum(["image", "figmaFrame"]);
1713
1720
  var PageBlockTilesAlignment = z40.enum(["Center", "FrameHeight"]);
1714
1721
  var PageBlockTilesLayout = z40.enum(["C8", "C7", "C6", "C5", "C4", "C3", "C2", "C1", "C1_75"]);
@@ -1783,6 +1790,7 @@ var PageBlockFigmaFrameProperties = z40.object({
1783
1790
  })
1784
1791
  ),
1785
1792
  alignment: PageBlockTilesAlignment,
1793
+ previewContainerHeight: nullishToOptional(z40.number()),
1786
1794
  layout: PageBlockTilesLayout,
1787
1795
  backgroundColor: nullishToOptional(ColorTokenInlineData),
1788
1796
  showTitles: z40.boolean()
@@ -1814,8 +1822,17 @@ var PageBlockFigmaComponentBlockConfig = z40.object({
1814
1822
  showPropertyList: nullishToOptional(z40.boolean()),
1815
1823
  previewOrderIds: nullishToOptional(z40.array(z40.string())),
1816
1824
  previewContainerSize: nullishToOptional(z40.enum(["Centered", "NaturalHeight"])),
1825
+ previewContainerHeight: nullishToOptional(z40.number()),
1817
1826
  backgroundColor: nullishToOptional(ColorTokenInlineData)
1818
1827
  });
1828
+ var PageBlockTokenBlockConfig = z40.object({
1829
+ tokenNameFormat: nullishToOptional(PageBlockTokenNameFormat),
1830
+ tokenNameCustomPropertyId: nullishToOptional(z40.string())
1831
+ });
1832
+ var PageBlockAssetBlockConfig = z40.object({
1833
+ showSearch: nullishToOptional(z40.boolean()),
1834
+ showAssetDescription: nullishToOptional(z40.boolean())
1835
+ });
1819
1836
  var PageBlockSelectedFigmaComponent = z40.object({
1820
1837
  figmaComponentId: z40.string(),
1821
1838
  selectedComponentProperties: z40.string().array()
@@ -1846,7 +1863,9 @@ var PageBlockGuideline = z40.object({
1846
1863
  type: z40.string(),
1847
1864
  imageAlt: nullishToOptional(z40.string()),
1848
1865
  imageCaption: nullishToOptional(z40.string()),
1849
- imageAlignment: nullishToOptional(PageBlockAlignment)
1866
+ imageAlignment: nullishToOptional(PageBlockAlignment),
1867
+ openLightbox: nullishToOptional(z40.boolean()),
1868
+ isBordered: nullishToOptional(z40.boolean())
1850
1869
  });
1851
1870
  var PageBlockBaseV1 = z40.object({
1852
1871
  persistentId: z40.string(),
@@ -1873,6 +1892,8 @@ var PageBlockBaseV1 = z40.object({
1873
1892
  asset: nullishToOptional(PageBlockAsset),
1874
1893
  alignment: nullishToOptional(PageBlockAlignment),
1875
1894
  imageAlt: nullishToOptional(z40.string()),
1895
+ openLightbox: nullishToOptional(z40.boolean()),
1896
+ isBordered: nullishToOptional(z40.boolean()),
1876
1897
  // Shortcuts block
1877
1898
  shortcuts: nullishToOptional(z40.array(PageBlockShortcut)),
1878
1899
  // Guidelines
@@ -1894,10 +1915,13 @@ var PageBlockBaseV1 = z40.object({
1894
1915
  // Tables
1895
1916
  tableProperties: nullishToOptional(PageBlockTableProperties),
1896
1917
  columnId: nullishToOptional(z40.string()),
1897
- // Token spreadsheet
1918
+ // Design tokens
1898
1919
  theme: nullishToOptional(PageBlockTheme),
1899
1920
  swatches: nullishToOptional(PageBlockSwatch.array()),
1900
1921
  blacklistedElementProperties: nullishToOptional(z40.array(z40.string())),
1922
+ tokenBlockConfig: nullishToOptional(PageBlockTokenBlockConfig),
1923
+ // (Vector) assets
1924
+ assetBlockConfig: nullishToOptional(PageBlockAssetBlockConfig),
1901
1925
  // Figma components
1902
1926
  figmaComponentsBlockConfig: nullishToOptional(PageBlockFigmaComponentBlockConfig),
1903
1927
  selectedFigmaComponent: nullishToOptional(PageBlockSelectedFigmaComponent),
@@ -2195,7 +2219,6 @@ var PageBlockImageAlignment = z44.enum(["Left", "Center", "Stretch"]);
2195
2219
  var PageBlockTableCellAlignment = z44.enum(["Left", "Center", "Right"]);
2196
2220
  var PageBlockPreviewContainerSize = z44.enum(["Centered", "NaturalHeight"]);
2197
2221
  var PageBlockThemeDisplayMode = z44.enum(["Split", "Override"]);
2198
- var PageBlockTokenNameFormat = z44.enum(["Name", "GroupAndName", "FullPath", "CustomProperty"]);
2199
2222
  var PageBlockTokenValueFormat = z44.enum(["ResolvedValue", "ReferenceName", "NoValue"]);
2200
2223
  var PageBlockImageResourceReference = z44.object({
2201
2224
  resourceId: z44.string(),
@@ -2444,7 +2467,9 @@ var PageBlockItemTableImageNode = z44.object({
2444
2467
  caption: PageBlockItemImageValue.shape.caption,
2445
2468
  alt: PageBlockItemImageValue.shape.alt,
2446
2469
  value: PageBlockItemImageValue.shape.value,
2447
- alignment: PageBlockItemImageValue.shape.alignment
2470
+ alignment: PageBlockItemImageValue.shape.alignment,
2471
+ openLightbox: PageBlockItemImageValue.shape.openLightbox,
2472
+ isBordered: PageBlockItemImageValue.shape.isBordered
2448
2473
  });
2449
2474
  var PageBlockItemTableNode = z44.discriminatedUnion("type", [
2450
2475
  PageBlockItemTableRichTextNode,
@@ -2729,6 +2754,7 @@ var ShadowLayerValue = z70.object({
2729
2754
  type: ShadowType
2730
2755
  });
2731
2756
  var ShadowTokenDataBase = tokenAliasOrValue(ShadowLayerValue);
2757
+ var ShadowValue = z70.array(ShadowTokenDataBase);
2732
2758
  var ShadowTokenData = tokenAliasOrValue(z70.array(ShadowTokenDataBase));
2733
2759
  var SizeUnit = z71.enum(["Pixels", "Rem", "Percent"]);
2734
2760
  var SizeValue = z71.object({
@@ -3246,10 +3272,15 @@ var FigmaImportBaseContext = z90.object({
3246
3272
  */
3247
3273
  importWarnings: z90.record(ImportWarning.array()).default({})
3248
3274
  });
3275
+ var FeatureFlagsKeepAliases = z90.object({
3276
+ isTypographyPropsKeepAliasesEnabled: z90.boolean().default(false),
3277
+ isGradientPropsKeepAliasesEnabled: z90.boolean().default(false),
3278
+ isShadowPropsKeepAliasesEnabled: z90.boolean().default(false)
3279
+ });
3249
3280
  var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
3250
3281
  sourcesWithMissingAccess: z90.array(z90.string()).default([]),
3251
3282
  shadowOpacityOptional: z90.boolean().default(false),
3252
- typographyPropsKeepAliases: z90.boolean().default(false)
3283
+ featureFlagsKeepAliases: FeatureFlagsKeepAliases.default({})
3253
3284
  });
3254
3285
  var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
3255
3286
  importMetadata: DataSourceFigmaImportMetadata
@@ -4300,7 +4331,8 @@ var RestoredDocumentationGroup = z149.object({
4300
4331
  parent: ElementGroup
4301
4332
  });
4302
4333
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
4303
- RoomTypeEnum2["DocumentationPage"] = "documentation-page";
4334
+ RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
4335
+ RoomTypeEnum2["DocumentationPage"] = "doc-page";
4304
4336
  RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
4305
4337
  RoomTypeEnum2["Workspace"] = "workspace";
4306
4338
  return RoomTypeEnum2;
@@ -4624,7 +4656,9 @@ var FlaggedFeature = z169.enum([
4624
4656
  "ShadowOpacityOptional",
4625
4657
  "DisableImporter",
4626
4658
  "VariablesOrder",
4627
- "TypographyPropsKeepAliases"
4659
+ "TypographyPropsKeepAliases",
4660
+ "GradientPropsKeepAliases",
4661
+ "ShadowPropsKeepAliases"
4628
4662
  ]);
4629
4663
  var FeatureFlagMap = z169.record(FlaggedFeature, z169.boolean());
4630
4664
  var FeatureFlag = z169.object({
@@ -5037,25 +5071,26 @@ function documentationPageToDTOV1(page, pagePathMap) {
5037
5071
  }
5038
5072
 
5039
5073
  // src/api/conversion/documentation/documentation-page-v2-to-dto.ts
5040
- function documentationPageToDTOV2(page, groups, routingVersion) {
5074
+ function documentationPageToDTOV2(page, groups, routingVersion, pageLiveblocksRoomIdMap) {
5041
5075
  const pathsMap = buildDocPagePublishPaths(groups, [page], routingVersion);
5042
- return _documentationPageToDTOV2(page, pathsMap);
5076
+ return _documentationPageToDTOV2(page, pathsMap, pageLiveblocksRoomIdMap);
5043
5077
  }
5044
- function documentationPagesToDTOV2(pages, groups, routingVersion) {
5078
+ function documentationPagesToDTOV2(pages, groups, routingVersion, pageLiveblocksRoomIdMap) {
5045
5079
  const pathsMap = buildDocPagePublishPaths(groups, pages, routingVersion);
5046
- return pages.map((page) => _documentationPageToDTOV2(page, pathsMap));
5080
+ return pages.map((page) => _documentationPageToDTOV2(page, pathsMap, pageLiveblocksRoomIdMap));
5047
5081
  }
5048
- function documentationPagesFixedConfigurationToDTOV2(pages, groups, routingVersion) {
5082
+ function documentationPagesFixedConfigurationToDTOV2(pages, groups, routingVersion, pageLiveblocksRoomIdMap) {
5049
5083
  const pathsMap = buildDocPagePublishPaths(groups, pages, routingVersion);
5050
5084
  const { pages: fixedPages } = applyPrivacyConfigurationToNestedItems(pages, groups, getDtoDefaultItemConfigurationV2);
5051
- return fixedPages.map((page) => _documentationPageToDTOV2(page, pathsMap));
5085
+ return fixedPages.map((page) => _documentationPageToDTOV2(page, pathsMap, pageLiveblocksRoomIdMap));
5052
5086
  }
5053
- function _documentationPageToDTOV2(page, pagePathMap) {
5087
+ function _documentationPageToDTOV2(page, pagePathMap, pageLiveblocksRoomIdMap) {
5054
5088
  let path = pagePathMap.get(page.persistentId);
5055
5089
  if (!path)
5056
5090
  throw new Error(`Path for page ${page.persistentId} was not calculated`);
5057
5091
  if (path.startsWith("/"))
5058
5092
  path = path.substring(1);
5093
+ const liveblocksRoomId = pageLiveblocksRoomIdMap.get(page.persistentId);
5059
5094
  return {
5060
5095
  id: "to_be_removed",
5061
5096
  designSystemVersionId: page.designSystemVersionId,
@@ -5068,7 +5103,8 @@ function _documentationPageToDTOV2(page, pagePathMap) {
5068
5103
  createdAt: page.createdAt,
5069
5104
  updatedAt: page.updatedAt,
5070
5105
  path,
5071
- type: "Page"
5106
+ type: "Page",
5107
+ ...liveblocksRoomId && { liveblocksRoomId }
5072
5108
  };
5073
5109
  }
5074
5110
 
@@ -6260,6 +6296,8 @@ var DTODocumentationPageV2 = z222.object({
6260
6296
  publishMetadata: DTODocumentationPublishMetadata.optional(),
6261
6297
  /** Defines the approval state of the documentation page */
6262
6298
  approvalState: DTODocumentationPageApprovalState.optional(),
6299
+ /** Id of the page document room */
6300
+ liveblocksRoomId: z222.string().optional(),
6263
6301
  // Backward compatibility
6264
6302
  type: z222.literal("Page")
6265
6303
  });
@@ -6368,7 +6406,7 @@ var DTOExporterMembership = z225.object({
6368
6406
  exporterId: z225.string(),
6369
6407
  role: DTOExporterMembershipRole
6370
6408
  });
6371
- var DTOExporterCreateOutput = z225.object({
6409
+ var DTOExporterResponse = z225.object({
6372
6410
  exporter: DTOExporter,
6373
6411
  membership: DTOExporterMembership
6374
6412
  });
@@ -6440,6 +6478,12 @@ var DTOExportJob = z226.object({
6440
6478
  var DTOExportJobResponse = z226.object({
6441
6479
  job: DTOExportJob
6442
6480
  });
6481
+ var DTOExportJobResponseLegacy = z226.object({
6482
+ job: z226.object({
6483
+ id: z226.string(),
6484
+ status: ExportJobStatus
6485
+ })
6486
+ });
6443
6487
 
6444
6488
  // src/api/dto/export/pipeline.ts
6445
6489
  import { z as z227 } from "zod";
@@ -6484,53 +6528,62 @@ var DTOPublishDocumentationResponse = z228.object({
6484
6528
  job: DTOExportJob
6485
6529
  });
6486
6530
 
6531
+ // src/api/dto/documentation/room.ts
6532
+ import { z as z229 } from "zod";
6533
+ var DTODocumentationPageRoom = z229.object({
6534
+ id: z229.string()
6535
+ });
6536
+ var DTODocumentationPageRoomResponse = z229.object({
6537
+ room: DTODocumentationPageRoom
6538
+ });
6539
+
6487
6540
  // src/api/dto/elements/components/figma-component-group.ts
6488
- import z229 from "zod";
6489
- var DTOFigmaComponentGroup = z229.object({
6490
- id: z229.string(),
6491
- designSystemVersionId: z229.string(),
6492
- persistentId: z229.string(),
6493
- isRoot: z229.boolean(),
6494
- brandId: z229.string(),
6541
+ import z230 from "zod";
6542
+ var DTOFigmaComponentGroup = z230.object({
6543
+ id: z230.string(),
6544
+ designSystemVersionId: z230.string(),
6545
+ persistentId: z230.string(),
6546
+ isRoot: z230.boolean(),
6547
+ brandId: z230.string(),
6495
6548
  meta: DTOObjectMeta,
6496
- childrenIds: z229.string().array()
6549
+ childrenIds: z230.string().array()
6497
6550
  });
6498
- var DTOFigmaComponentGroupListResponse = z229.object({
6551
+ var DTOFigmaComponentGroupListResponse = z230.object({
6499
6552
  groups: DTOFigmaComponentGroup.array()
6500
6553
  });
6501
6554
 
6502
6555
  // src/api/dto/elements/components/figma-component.ts
6503
- import { z as z230 } from "zod";
6556
+ import { z as z231 } from "zod";
6504
6557
  var DTOFigmaComponentProperty = FigmaComponentProperty;
6505
- var DTOFigmaComponentPropertyMap = z230.record(DTOFigmaComponentProperty);
6506
- var DTOFigmaComponent = z230.object({
6507
- id: z230.string(),
6508
- persistentId: z230.string(),
6509
- designSystemVersionId: z230.string(),
6510
- brandId: z230.string(),
6511
- thumbnailUrl: z230.string().optional(),
6512
- svgUrl: z230.string().optional(),
6513
- exportProperties: z230.object({
6514
- isAsset: z230.boolean()
6558
+ var DTOFigmaComponentPropertyMap = z231.record(DTOFigmaComponentProperty);
6559
+ var DTOFigmaComponent = z231.object({
6560
+ id: z231.string(),
6561
+ persistentId: z231.string(),
6562
+ designSystemVersionId: z231.string(),
6563
+ brandId: z231.string(),
6564
+ thumbnailUrl: z231.string().optional(),
6565
+ svgUrl: z231.string().optional(),
6566
+ exportProperties: z231.object({
6567
+ isAsset: z231.boolean()
6515
6568
  }),
6516
- createdAt: z230.coerce.date(),
6517
- updatedAt: z230.coerce.date(),
6569
+ createdAt: z231.coerce.date(),
6570
+ updatedAt: z231.coerce.date(),
6518
6571
  meta: ObjectMeta,
6519
6572
  originComponent: FigmaComponentOrigin.optional(),
6520
- parentComponentPersistentId: z230.string().optional(),
6521
- childrenPersistentIds: z230.string().array().optional(),
6573
+ parentComponentPersistentId: z231.string().optional(),
6574
+ childrenPersistentIds: z231.string().array().optional(),
6522
6575
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
6523
- variantPropertyValues: z230.record(z230.string()).optional()
6576
+ variantPropertyValues: z231.record(z231.string()).optional()
6524
6577
  });
6525
- var DTOFigmaComponentListResponse = z230.object({
6578
+ var DTOFigmaComponentListResponse = z231.object({
6526
6579
  components: DTOFigmaComponent.array()
6527
6580
  });
6528
6581
 
6529
6582
  // src/api/dto/elements/documentation/group-action.ts
6530
- import { z as z232 } from "zod";
6583
+ import { z as z233 } from "zod";
6531
6584
 
6532
6585
  // src/api/dto/elements/documentation/group-v2.ts
6533
- import { z as z231 } from "zod";
6586
+ import { z as z232 } from "zod";
6534
6587
  var DTODocumentationGroupV2 = ElementGroup.omit({
6535
6588
  sortOrder: true,
6536
6589
  parentPersistentId: true,
@@ -6540,13 +6593,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6540
6593
  data: true,
6541
6594
  shortPersistentId: true
6542
6595
  }).extend({
6543
- title: z231.string(),
6544
- isRoot: z231.boolean(),
6545
- childrenIds: z231.array(z231.string()),
6596
+ title: z232.string(),
6597
+ isRoot: z232.boolean(),
6598
+ childrenIds: z232.array(z232.string()),
6546
6599
  groupBehavior: DocumentationGroupBehavior,
6547
- shortPersistentId: z231.string(),
6600
+ shortPersistentId: z232.string(),
6548
6601
  configuration: DTODocumentationItemConfigurationV2,
6549
- type: z231.literal("Group"),
6602
+ type: z232.literal("Group"),
6550
6603
  /** Defined when a group has changed since last publish and can be included into a partial publish */
6551
6604
  draftState: DTODocumentationDraftState.optional(),
6552
6605
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -6554,127 +6607,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6554
6607
  //** An approval state for frontend to utilize. */
6555
6608
  approvalState: DTODocumentationGroupApprovalState.optional()
6556
6609
  });
6557
- var DTOCreateDocumentationGroupInput = z231.object({
6610
+ var DTOCreateDocumentationGroupInput = z232.object({
6558
6611
  // Identifier
6559
- persistentId: z231.string(),
6612
+ persistentId: z232.string(),
6560
6613
  // Group properties
6561
- title: z231.string(),
6614
+ title: z232.string(),
6562
6615
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6563
6616
  // Group placement properties
6564
- afterPersistentId: z231.string().nullish(),
6565
- parentPersistentId: z231.string()
6617
+ afterPersistentId: z232.string().nullish(),
6618
+ parentPersistentId: z232.string()
6566
6619
  });
6567
- var DTOUpdateDocumentationGroupInput = z231.object({
6620
+ var DTOUpdateDocumentationGroupInput = z232.object({
6568
6621
  // Identifier of the group to update
6569
- id: z231.string(),
6622
+ id: z232.string(),
6570
6623
  // Group properties
6571
- title: z231.string().optional(),
6624
+ title: z232.string().optional(),
6572
6625
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6573
6626
  });
6574
- var DTOMoveDocumentationGroupInput = z231.object({
6627
+ var DTOMoveDocumentationGroupInput = z232.object({
6575
6628
  // Identifier of the group to update
6576
- id: z231.string(),
6629
+ id: z232.string(),
6577
6630
  // Group placement properties
6578
- parentPersistentId: z231.string(),
6579
- afterPersistentId: z231.string().nullish()
6631
+ parentPersistentId: z232.string(),
6632
+ afterPersistentId: z232.string().nullish()
6580
6633
  });
6581
- var DTODuplicateDocumentationGroupInput = z231.object({
6634
+ var DTODuplicateDocumentationGroupInput = z232.object({
6582
6635
  // Identifier of the group to duplicate from
6583
- id: z231.string(),
6636
+ id: z232.string(),
6584
6637
  // New group persistent id
6585
- persistentId: z231.string(),
6638
+ persistentId: z232.string(),
6586
6639
  // Group placement properties
6587
- afterPersistentId: z231.string().nullish(),
6588
- parentPersistentId: z231.string()
6640
+ afterPersistentId: z232.string().nullish(),
6641
+ parentPersistentId: z232.string()
6589
6642
  });
6590
- var DTOCreateDocumentationTabInput = z231.object({
6643
+ var DTOCreateDocumentationTabInput = z232.object({
6591
6644
  // New group persistent id
6592
- persistentId: z231.string(),
6645
+ persistentId: z232.string(),
6593
6646
  // If this is page, we will attempt to convert it to tab
6594
6647
  // If this is tab group, we will add a new tab to it
6595
- fromItemPersistentId: z231.string(),
6596
- tabName: z231.string()
6648
+ fromItemPersistentId: z232.string(),
6649
+ tabName: z232.string()
6597
6650
  });
6598
- var DTODeleteDocumentationTabGroupInput = z231.object({
6651
+ var DTODeleteDocumentationTabGroupInput = z232.object({
6599
6652
  // Deleted group id
6600
- id: z231.string()
6653
+ id: z232.string()
6601
6654
  });
6602
- var DTODeleteDocumentationGroupInput = z231.object({
6655
+ var DTODeleteDocumentationGroupInput = z232.object({
6603
6656
  // Identifier
6604
- id: z231.string(),
6657
+ id: z232.string(),
6605
6658
  // Deletion options
6606
- deleteSubtree: z231.boolean().default(false)
6659
+ deleteSubtree: z232.boolean().default(false)
6607
6660
  });
6608
6661
 
6609
6662
  // src/api/dto/elements/documentation/group-action.ts
6610
- var SuccessPayload = z232.object({
6611
- success: z232.literal(true)
6663
+ var SuccessPayload = z233.object({
6664
+ success: z233.literal(true)
6612
6665
  });
6613
- var DTODocumentationGroupCreateActionOutputV2 = z232.object({
6614
- type: z232.literal("DocumentationGroupCreate"),
6666
+ var DTODocumentationGroupCreateActionOutputV2 = z233.object({
6667
+ type: z233.literal("DocumentationGroupCreate"),
6615
6668
  output: SuccessPayload
6616
6669
  });
6617
- var DTODocumentationTabCreateActionOutputV2 = z232.object({
6618
- type: z232.literal("DocumentationTabCreate"),
6670
+ var DTODocumentationTabCreateActionOutputV2 = z233.object({
6671
+ type: z233.literal("DocumentationTabCreate"),
6619
6672
  output: SuccessPayload
6620
6673
  });
6621
- var DTODocumentationGroupUpdateActionOutputV2 = z232.object({
6622
- type: z232.literal("DocumentationGroupUpdate"),
6674
+ var DTODocumentationGroupUpdateActionOutputV2 = z233.object({
6675
+ type: z233.literal("DocumentationGroupUpdate"),
6623
6676
  output: SuccessPayload
6624
6677
  });
6625
- var DTODocumentationGroupMoveActionOutputV2 = z232.object({
6626
- type: z232.literal("DocumentationGroupMove"),
6678
+ var DTODocumentationGroupMoveActionOutputV2 = z233.object({
6679
+ type: z233.literal("DocumentationGroupMove"),
6627
6680
  output: SuccessPayload
6628
6681
  });
6629
- var DTODocumentationGroupDuplicateActionOutputV2 = z232.object({
6630
- type: z232.literal("DocumentationGroupDuplicate"),
6682
+ var DTODocumentationGroupDuplicateActionOutputV2 = z233.object({
6683
+ type: z233.literal("DocumentationGroupDuplicate"),
6631
6684
  output: SuccessPayload
6632
6685
  });
6633
- var DTODocumentationGroupDeleteActionOutputV2 = z232.object({
6634
- type: z232.literal("DocumentationGroupDelete"),
6686
+ var DTODocumentationGroupDeleteActionOutputV2 = z233.object({
6687
+ type: z233.literal("DocumentationGroupDelete"),
6635
6688
  output: SuccessPayload
6636
6689
  });
6637
- var DTODocumentationTabGroupDeleteActionOutputV2 = z232.object({
6638
- type: z232.literal("DocumentationTabGroupDelete"),
6690
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z233.object({
6691
+ type: z233.literal("DocumentationTabGroupDelete"),
6639
6692
  output: SuccessPayload
6640
6693
  });
6641
- var DTODocumentationGroupCreateActionInputV2 = z232.object({
6642
- type: z232.literal("DocumentationGroupCreate"),
6694
+ var DTODocumentationGroupCreateActionInputV2 = z233.object({
6695
+ type: z233.literal("DocumentationGroupCreate"),
6643
6696
  input: DTOCreateDocumentationGroupInput
6644
6697
  });
6645
- var DTODocumentationTabCreateActionInputV2 = z232.object({
6646
- type: z232.literal("DocumentationTabCreate"),
6698
+ var DTODocumentationTabCreateActionInputV2 = z233.object({
6699
+ type: z233.literal("DocumentationTabCreate"),
6647
6700
  input: DTOCreateDocumentationTabInput
6648
6701
  });
6649
- var DTODocumentationGroupUpdateActionInputV2 = z232.object({
6650
- type: z232.literal("DocumentationGroupUpdate"),
6702
+ var DTODocumentationGroupUpdateActionInputV2 = z233.object({
6703
+ type: z233.literal("DocumentationGroupUpdate"),
6651
6704
  input: DTOUpdateDocumentationGroupInput
6652
6705
  });
6653
- var DTODocumentationGroupMoveActionInputV2 = z232.object({
6654
- type: z232.literal("DocumentationGroupMove"),
6706
+ var DTODocumentationGroupMoveActionInputV2 = z233.object({
6707
+ type: z233.literal("DocumentationGroupMove"),
6655
6708
  input: DTOMoveDocumentationGroupInput
6656
6709
  });
6657
- var DTODocumentationGroupDuplicateActionInputV2 = z232.object({
6658
- type: z232.literal("DocumentationGroupDuplicate"),
6710
+ var DTODocumentationGroupDuplicateActionInputV2 = z233.object({
6711
+ type: z233.literal("DocumentationGroupDuplicate"),
6659
6712
  input: DTODuplicateDocumentationGroupInput
6660
6713
  });
6661
- var DTODocumentationGroupDeleteActionInputV2 = z232.object({
6662
- type: z232.literal("DocumentationGroupDelete"),
6714
+ var DTODocumentationGroupDeleteActionInputV2 = z233.object({
6715
+ type: z233.literal("DocumentationGroupDelete"),
6663
6716
  input: DTODeleteDocumentationGroupInput
6664
6717
  });
6665
- var DTODocumentationTabGroupDeleteActionInputV2 = z232.object({
6666
- type: z232.literal("DocumentationTabGroupDelete"),
6718
+ var DTODocumentationTabGroupDeleteActionInputV2 = z233.object({
6719
+ type: z233.literal("DocumentationTabGroupDelete"),
6667
6720
  input: DTODeleteDocumentationTabGroupInput
6668
6721
  });
6669
6722
 
6670
6723
  // src/api/dto/elements/documentation/group-v1.ts
6671
- import { z as z234 } from "zod";
6724
+ import { z as z235 } from "zod";
6672
6725
 
6673
6726
  // src/api/dto/elements/documentation/item-configuration-v1.ts
6674
- import { z as z233 } from "zod";
6675
- var DocumentationColorV1 = z233.object({
6676
- aliasTo: z233.string().optional(),
6677
- value: z233.string().optional()
6727
+ import { z as z234 } from "zod";
6728
+ var DocumentationColorV1 = z234.object({
6729
+ aliasTo: z234.string().optional(),
6730
+ value: z234.string().optional()
6678
6731
  });
6679
6732
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6680
6733
  foregroundColor: true,
@@ -6683,10 +6736,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6683
6736
  foregroundColor: DocumentationColorV1.optional(),
6684
6737
  backgroundColor: DocumentationColorV1.optional()
6685
6738
  });
6686
- var DTODocumentationItemConfigurationV1 = z233.object({
6687
- showSidebar: z233.boolean(),
6688
- isPrivate: z233.boolean(),
6689
- isHidden: z233.boolean(),
6739
+ var DTODocumentationItemConfigurationV1 = z234.object({
6740
+ showSidebar: z234.boolean(),
6741
+ isPrivate: z234.boolean(),
6742
+ isHidden: z234.boolean(),
6690
6743
  header: DTODocumentationItemHeaderV1
6691
6744
  });
6692
6745
 
@@ -6700,27 +6753,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
6700
6753
  data: true,
6701
6754
  shortPersistentId: true
6702
6755
  }).extend({
6703
- title: z234.string(),
6704
- isRoot: z234.boolean(),
6705
- childrenIds: z234.array(z234.string()),
6756
+ title: z235.string(),
6757
+ isRoot: z235.boolean(),
6758
+ childrenIds: z235.array(z235.string()),
6706
6759
  groupBehavior: DocumentationGroupBehavior,
6707
- shortPersistentId: z234.string(),
6708
- type: z234.literal("Group")
6760
+ shortPersistentId: z235.string(),
6761
+ type: z235.literal("Group")
6709
6762
  });
6710
6763
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
6711
6764
  configuration: DTODocumentationItemConfigurationV1
6712
6765
  });
6713
6766
 
6714
6767
  // src/api/dto/elements/documentation/hierarchy.ts
6715
- import { z as z235 } from "zod";
6716
- var DTODocumentationHierarchyV2 = z235.object({
6717
- pages: z235.array(
6768
+ import { z as z236 } from "zod";
6769
+ var DTODocumentationHierarchyV2 = z236.object({
6770
+ pages: z236.array(
6718
6771
  DTODocumentationPageV2.extend({
6719
6772
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6720
6773
  draftState: DTODocumentationDraftState.optional()
6721
6774
  })
6722
6775
  ),
6723
- groups: z235.array(
6776
+ groups: z236.array(
6724
6777
  DTODocumentationGroupV2.extend({
6725
6778
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6726
6779
  draftState: DTODocumentationDraftState.optional()
@@ -6729,84 +6782,84 @@ var DTODocumentationHierarchyV2 = z235.object({
6729
6782
  });
6730
6783
 
6731
6784
  // src/api/dto/elements/documentation/page-actions-v2.ts
6732
- import { z as z236 } from "zod";
6733
- var SuccessPayload2 = z236.object({
6734
- success: z236.literal(true)
6785
+ import { z as z237 } from "zod";
6786
+ var SuccessPayload2 = z237.object({
6787
+ success: z237.literal(true)
6735
6788
  });
6736
- var DTODocumentationPageCreateActionOutputV2 = z236.object({
6737
- type: z236.literal("DocumentationPageCreate"),
6789
+ var DTODocumentationPageCreateActionOutputV2 = z237.object({
6790
+ type: z237.literal("DocumentationPageCreate"),
6738
6791
  output: SuccessPayload2
6739
6792
  });
6740
- var DTODocumentationPageUpdateActionOutputV2 = z236.object({
6741
- type: z236.literal("DocumentationPageUpdate"),
6793
+ var DTODocumentationPageUpdateActionOutputV2 = z237.object({
6794
+ type: z237.literal("DocumentationPageUpdate"),
6742
6795
  output: SuccessPayload2
6743
6796
  });
6744
- var DTODocumentationPageMoveActionOutputV2 = z236.object({
6745
- type: z236.literal("DocumentationPageMove"),
6797
+ var DTODocumentationPageMoveActionOutputV2 = z237.object({
6798
+ type: z237.literal("DocumentationPageMove"),
6746
6799
  output: SuccessPayload2
6747
6800
  });
6748
- var DTODocumentationPageDuplicateActionOutputV2 = z236.object({
6749
- type: z236.literal("DocumentationPageDuplicate"),
6801
+ var DTODocumentationPageDuplicateActionOutputV2 = z237.object({
6802
+ type: z237.literal("DocumentationPageDuplicate"),
6750
6803
  output: SuccessPayload2
6751
6804
  });
6752
- var DTODocumentationPageDeleteActionOutputV2 = z236.object({
6753
- type: z236.literal("DocumentationPageDelete"),
6805
+ var DTODocumentationPageDeleteActionOutputV2 = z237.object({
6806
+ type: z237.literal("DocumentationPageDelete"),
6754
6807
  output: SuccessPayload2
6755
6808
  });
6756
- var DTODocumentationPageRestoreActionOutput = z236.object({
6757
- type: z236.literal("DocumentationPageRestore"),
6809
+ var DTODocumentationPageRestoreActionOutput = z237.object({
6810
+ type: z237.literal("DocumentationPageRestore"),
6758
6811
  output: SuccessPayload2
6759
6812
  });
6760
- var DTODocumentationGroupRestoreActionOutput = z236.object({
6761
- type: z236.literal("DocumentationGroupRestore"),
6813
+ var DTODocumentationGroupRestoreActionOutput = z237.object({
6814
+ type: z237.literal("DocumentationGroupRestore"),
6762
6815
  output: SuccessPayload2
6763
6816
  });
6764
- var DTODocumentationPageApprovalStateChangeActionOutput = z236.object({
6765
- type: z236.literal("DocumentationPageApprovalStateChange"),
6817
+ var DTODocumentationPageApprovalStateChangeActionOutput = z237.object({
6818
+ type: z237.literal("DocumentationPageApprovalStateChange"),
6766
6819
  output: SuccessPayload2
6767
6820
  });
6768
- var DTODocumentationPageCreateActionInputV2 = z236.object({
6769
- type: z236.literal("DocumentationPageCreate"),
6821
+ var DTODocumentationPageCreateActionInputV2 = z237.object({
6822
+ type: z237.literal("DocumentationPageCreate"),
6770
6823
  input: DTOCreateDocumentationPageInputV2
6771
6824
  });
6772
- var DTODocumentationPageUpdateActionInputV2 = z236.object({
6773
- type: z236.literal("DocumentationPageUpdate"),
6825
+ var DTODocumentationPageUpdateActionInputV2 = z237.object({
6826
+ type: z237.literal("DocumentationPageUpdate"),
6774
6827
  input: DTOUpdateDocumentationPageInputV2
6775
6828
  });
6776
- var DTODocumentationPageMoveActionInputV2 = z236.object({
6777
- type: z236.literal("DocumentationPageMove"),
6829
+ var DTODocumentationPageMoveActionInputV2 = z237.object({
6830
+ type: z237.literal("DocumentationPageMove"),
6778
6831
  input: DTOMoveDocumentationPageInputV2
6779
6832
  });
6780
- var DTODocumentationPageDuplicateActionInputV2 = z236.object({
6781
- type: z236.literal("DocumentationPageDuplicate"),
6833
+ var DTODocumentationPageDuplicateActionInputV2 = z237.object({
6834
+ type: z237.literal("DocumentationPageDuplicate"),
6782
6835
  input: DTODuplicateDocumentationPageInputV2
6783
6836
  });
6784
- var DTODocumentationPageDeleteActionInputV2 = z236.object({
6785
- type: z236.literal("DocumentationPageDelete"),
6837
+ var DTODocumentationPageDeleteActionInputV2 = z237.object({
6838
+ type: z237.literal("DocumentationPageDelete"),
6786
6839
  input: DTODeleteDocumentationPageInputV2
6787
6840
  });
6788
- var DTODocumentationPageRestoreActionInput = z236.object({
6789
- type: z236.literal("DocumentationPageRestore"),
6841
+ var DTODocumentationPageRestoreActionInput = z237.object({
6842
+ type: z237.literal("DocumentationPageRestore"),
6790
6843
  input: DTORestoreDocumentationPageInput
6791
6844
  });
6792
- var DTODocumentationGroupRestoreActionInput = z236.object({
6793
- type: z236.literal("DocumentationGroupRestore"),
6845
+ var DTODocumentationGroupRestoreActionInput = z237.object({
6846
+ type: z237.literal("DocumentationGroupRestore"),
6794
6847
  input: DTORestoreDocumentationGroupInput
6795
6848
  });
6796
- var DTODocumentationPageApprovalStateChangeActionInput = z236.object({
6797
- type: z236.literal("DocumentationPageApprovalStateChange"),
6849
+ var DTODocumentationPageApprovalStateChangeActionInput = z237.object({
6850
+ type: z237.literal("DocumentationPageApprovalStateChange"),
6798
6851
  input: DTODocumentationPageApprovalStateChangeInput
6799
6852
  });
6800
6853
 
6801
6854
  // src/api/dto/elements/documentation/page-content.ts
6802
- import { z as z237 } from "zod";
6855
+ import { z as z238 } from "zod";
6803
6856
  var DTODocumentationPageContent = DocumentationPageContent;
6804
- var DTODocumentationPageContentGetResponse = z237.object({
6857
+ var DTODocumentationPageContentGetResponse = z238.object({
6805
6858
  pageContent: DTODocumentationPageContent
6806
6859
  });
6807
6860
 
6808
6861
  // src/api/dto/elements/documentation/page-v1.ts
6809
- import { z as z238 } from "zod";
6862
+ import { z as z239 } from "zod";
6810
6863
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
6811
6864
  data: true,
6812
6865
  meta: true,
@@ -6814,63 +6867,63 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
6814
6867
  sortOrder: true
6815
6868
  }).extend({
6816
6869
  configuration: DTODocumentationItemConfigurationV1,
6817
- blocks: z238.array(PageBlockV1),
6818
- title: z238.string(),
6819
- path: z238.string()
6870
+ blocks: z239.array(PageBlockV1),
6871
+ title: z239.string(),
6872
+ path: z239.string()
6820
6873
  });
6821
6874
 
6822
6875
  // src/api/dto/elements/documentation/structure.ts
6823
- import { z as z239 } from "zod";
6824
- var DTODocumentationStructureItemType = z239.enum(["Group", "Page"]);
6825
- var DTODocumentationStructureItemBase = z239.object({
6876
+ import { z as z240 } from "zod";
6877
+ var DTODocumentationStructureItemType = z240.enum(["Group", "Page"]);
6878
+ var DTODocumentationStructureItemBase = z240.object({
6826
6879
  type: DTODocumentationStructureItemType,
6827
- id: z239.string(),
6828
- designSystemVersionId: z239.string(),
6829
- shortPersistentId: z239.string(),
6830
- persistentId: z239.string(),
6831
- title: z239.string(),
6832
- createdAt: z239.coerce.date(),
6833
- updatedAt: z239.coerce.date()
6880
+ id: z240.string(),
6881
+ designSystemVersionId: z240.string(),
6882
+ shortPersistentId: z240.string(),
6883
+ persistentId: z240.string(),
6884
+ title: z240.string(),
6885
+ createdAt: z240.coerce.date(),
6886
+ updatedAt: z240.coerce.date()
6834
6887
  });
6835
6888
  var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
6836
- type: z239.literal(DTODocumentationStructureItemType.enum.Group),
6837
- groupBehavior: z239.string(),
6838
- childrenIds: z239.string().array(),
6839
- isRoot: z239.boolean()
6889
+ type: z240.literal(DTODocumentationStructureItemType.enum.Group),
6890
+ groupBehavior: z240.string(),
6891
+ childrenIds: z240.string().array(),
6892
+ isRoot: z240.boolean()
6840
6893
  });
6841
6894
  var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
6842
- type: z239.literal(DTODocumentationStructureItemType.enum.Page),
6843
- path: z239.string()
6895
+ type: z240.literal(DTODocumentationStructureItemType.enum.Page),
6896
+ path: z240.string()
6844
6897
  });
6845
- var DTODocumentationStructureItem = z239.discriminatedUnion("type", [
6898
+ var DTODocumentationStructureItem = z240.discriminatedUnion("type", [
6846
6899
  DTODocumentationStructureGroupItem,
6847
6900
  DTODocumentationStructurePageItem
6848
6901
  ]);
6849
- var DTODocumentationStructure = z239.object({
6850
- items: z239.array(DTODocumentationStructureItem)
6902
+ var DTODocumentationStructure = z240.object({
6903
+ items: z240.array(DTODocumentationStructureItem)
6851
6904
  });
6852
6905
 
6853
6906
  // src/api/dto/elements/figma-nodes/figma-node.ts
6854
- import { z as z240 } from "zod";
6907
+ import { z as z241 } from "zod";
6855
6908
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
6856
- var DTOFigmaNodeOrigin = z240.object({
6857
- sourceId: z240.string(),
6858
- fileId: z240.string().optional(),
6859
- parentName: z240.string().optional()
6909
+ var DTOFigmaNodeOrigin = z241.object({
6910
+ sourceId: z241.string(),
6911
+ fileId: z241.string().optional(),
6912
+ parentName: z241.string().optional()
6860
6913
  });
6861
- var DTOFigmaNodeData = z240.object({
6914
+ var DTOFigmaNodeData = z241.object({
6862
6915
  // Id of the node in the Figma file
6863
- figmaNodeId: z240.string(),
6916
+ figmaNodeId: z241.string(),
6864
6917
  // Validity
6865
- isValid: z240.boolean(),
6918
+ isValid: z241.boolean(),
6866
6919
  // Asset data
6867
- assetId: z240.string(),
6868
- assetUrl: z240.string(),
6920
+ assetId: z241.string(),
6921
+ assetUrl: z241.string(),
6869
6922
  assetFormat: DTOFigmaNodeRenderFormat,
6870
6923
  // Asset metadata
6871
- assetScale: z240.number(),
6872
- assetWidth: z240.number().optional(),
6873
- assetHeight: z240.number().optional()
6924
+ assetScale: z241.number(),
6925
+ assetWidth: z241.number().optional(),
6926
+ assetHeight: z241.number().optional()
6874
6927
  });
6875
6928
  var DTOFigmaNode = FigmaNodeReference.omit({
6876
6929
  data: true,
@@ -6879,127 +6932,127 @@ var DTOFigmaNode = FigmaNodeReference.omit({
6879
6932
  data: DTOFigmaNodeData,
6880
6933
  origin: DTOFigmaNodeOrigin
6881
6934
  });
6882
- var DTOFigmaNodeRenderInputBase = z240.object({
6935
+ var DTOFigmaNodeRenderInputBase = z241.object({
6883
6936
  /**
6884
6937
  * Format in which the node must be rendered, png by default.
6885
6938
  */
6886
6939
  format: FigmaNodeRenderFormat.default("Png")
6887
6940
  });
6888
6941
  var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
6889
- inputType: z240.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
6942
+ inputType: z241.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
6890
6943
  /**
6891
6944
  * Id of a design system's data source representing a linked Figma file
6892
6945
  */
6893
- sourceId: z240.string(),
6946
+ sourceId: z241.string(),
6894
6947
  /**
6895
6948
  * Id of a node within the Figma file
6896
6949
  */
6897
- figmaFileNodeId: z240.string()
6950
+ figmaFileNodeId: z241.string()
6898
6951
  });
6899
6952
  var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
6900
- inputType: z240.literal("URL"),
6953
+ inputType: z241.literal("URL"),
6901
6954
  /**
6902
6955
  * Id of a design system's data source representing a linked Figma file
6903
6956
  */
6904
- figmaNodeUrl: z240.string()
6957
+ figmaNodeUrl: z241.string()
6905
6958
  });
6906
- var DTOFigmaNodeRenderInput = z240.discriminatedUnion("inputType", [
6959
+ var DTOFigmaNodeRenderInput = z241.discriminatedUnion("inputType", [
6907
6960
  DTOFigmaNodeRenderIdInput,
6908
6961
  DTOFigmaNodeRenderUrlInput
6909
6962
  ]);
6910
6963
 
6911
6964
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
6912
- import { z as z241 } from "zod";
6913
- var DTOFigmaNodeRenderActionOutput = z241.object({
6914
- type: z241.literal("FigmaNodeRender"),
6915
- figmaNodes: z241.array(DTOFigmaNode)
6965
+ import { z as z242 } from "zod";
6966
+ var DTOFigmaNodeRenderActionOutput = z242.object({
6967
+ type: z242.literal("FigmaNodeRender"),
6968
+ figmaNodes: z242.array(DTOFigmaNode)
6916
6969
  });
6917
- var DTOFigmaNodeRenderActionInput = z241.object({
6918
- type: z241.literal("FigmaNodeRender"),
6970
+ var DTOFigmaNodeRenderActionInput = z242.object({
6971
+ type: z242.literal("FigmaNodeRender"),
6919
6972
  input: DTOFigmaNodeRenderInput.array()
6920
6973
  });
6921
6974
 
6922
6975
  // src/api/dto/elements/frame-node-structures/frame-node-structure.ts
6923
- import { z as z242 } from "zod";
6924
- var DTOFrameNodeStructure = z242.object({
6925
- id: z242.string(),
6926
- persistentId: z242.string(),
6927
- designSystemVersionId: z242.string(),
6976
+ import { z as z243 } from "zod";
6977
+ var DTOFrameNodeStructure = z243.object({
6978
+ id: z243.string(),
6979
+ persistentId: z243.string(),
6980
+ designSystemVersionId: z243.string(),
6928
6981
  origin: FigmaFileStructureOrigin,
6929
6982
  assetsInFile: FigmaFileStructureStatistics
6930
6983
  });
6931
- var DTOFrameNodeStructureListResponse = z242.object({
6984
+ var DTOFrameNodeStructureListResponse = z243.object({
6932
6985
  structures: DTOFrameNodeStructure.array()
6933
6986
  });
6934
6987
 
6935
6988
  // src/api/dto/elements/properties/property-definitions.ts
6936
- import { z as z243 } from "zod";
6989
+ import { z as z244 } from "zod";
6937
6990
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
6938
- var DTOElementPropertyDefinitionOption = z243.object({
6939
- id: z243.string(),
6940
- name: z243.string(),
6991
+ var DTOElementPropertyDefinitionOption = z244.object({
6992
+ id: z244.string(),
6993
+ name: z244.string(),
6941
6994
  backgroundColor: DTOColorTokenInlineData.optional()
6942
6995
  });
6943
- var DTOElementPropertyDefinition = z243.object({
6944
- id: z243.string(),
6945
- designSystemVersionId: z243.string(),
6996
+ var DTOElementPropertyDefinition = z244.object({
6997
+ id: z244.string(),
6998
+ designSystemVersionId: z244.string(),
6946
6999
  meta: DTOObjectMeta,
6947
- persistentId: z243.string(),
7000
+ persistentId: z244.string(),
6948
7001
  type: ElementPropertyTypeSchema,
6949
7002
  targetElementType: ElementPropertyTargetType,
6950
- codeName: z243.string().regex(CODE_NAME_REGEX2),
6951
- options: nullishToOptional(z243.array(DTOElementPropertyDefinitionOption)),
7003
+ codeName: z244.string().regex(CODE_NAME_REGEX2),
7004
+ options: nullishToOptional(z244.array(DTOElementPropertyDefinitionOption)),
6952
7005
  linkElementType: nullishToOptional(ElementPropertyLinkType),
6953
- isImmutable: z243.boolean(),
7006
+ isImmutable: z244.boolean(),
6954
7007
  immutablePropertyType: ElementPropertyImmutableType.optional()
6955
7008
  });
6956
- var DTOElementPropertyDefinitionListResponse = z243.object({
6957
- definitions: z243.array(DTOElementPropertyDefinition)
7009
+ var DTOElementPropertyDefinitionListResponse = z244.object({
7010
+ definitions: z244.array(DTOElementPropertyDefinition)
6958
7011
  });
6959
- var DTOElementPropertyDefinitionResponse = z243.object({
7012
+ var DTOElementPropertyDefinitionResponse = z244.object({
6960
7013
  definition: DTOElementPropertyDefinition
6961
7014
  });
6962
- var DTOElementPropertyDefinitionCreatePayload = z243.object({
7015
+ var DTOElementPropertyDefinitionCreatePayload = z244.object({
6963
7016
  meta: DTOObjectMeta,
6964
- persistentId: z243.string(),
7017
+ persistentId: z244.string(),
6965
7018
  type: ElementPropertyTypeSchema,
6966
7019
  targetElementType: ElementPropertyTargetType,
6967
- codeName: z243.string().regex(CODE_NAME_REGEX2),
6968
- options: nullishToOptional(z243.array(DTOElementPropertyDefinitionOption)),
7020
+ codeName: z244.string().regex(CODE_NAME_REGEX2),
7021
+ options: nullishToOptional(z244.array(DTOElementPropertyDefinitionOption)),
6969
7022
  linkElementType: nullishToOptional(ElementPropertyLinkType),
6970
- columnWidth: z243.number().max(1024).optional()
7023
+ columnWidth: z244.number().max(1024).optional()
6971
7024
  });
6972
- var DTOElementPropertyDefinitionUpdatePayload = z243.object({
7025
+ var DTOElementPropertyDefinitionUpdatePayload = z244.object({
6973
7026
  meta: DTOObjectMeta.optional(),
6974
- codeName: z243.string().regex(CODE_NAME_REGEX2).optional(),
6975
- options: z243.array(DTOElementPropertyDefinitionOption).optional()
7027
+ codeName: z244.string().regex(CODE_NAME_REGEX2).optional(),
7028
+ options: z244.array(DTOElementPropertyDefinitionOption).optional()
6976
7029
  });
6977
7030
 
6978
7031
  // src/api/dto/elements/properties/property-values.ts
6979
- import { z as z244 } from "zod";
6980
- var DTOElementPropertyValue = z244.object({
6981
- id: z244.string(),
6982
- designSystemVersionId: z244.string(),
6983
- definitionId: z244.string(),
6984
- targetElementId: z244.string(),
6985
- value: z244.union([z244.string(), z244.number(), z244.boolean()]).optional(),
6986
- valuePreview: z244.string().optional()
6987
- });
6988
- var DTOElementPropertyValueListResponse = z244.object({
6989
- values: z244.array(DTOElementPropertyValue)
6990
- });
6991
- var DTOElementPropertyValueResponse = z244.object({
7032
+ import { z as z245 } from "zod";
7033
+ var DTOElementPropertyValue = z245.object({
7034
+ id: z245.string(),
7035
+ designSystemVersionId: z245.string(),
7036
+ definitionId: z245.string(),
7037
+ targetElementId: z245.string(),
7038
+ value: z245.union([z245.string(), z245.number(), z245.boolean()]).optional(),
7039
+ valuePreview: z245.string().optional()
7040
+ });
7041
+ var DTOElementPropertyValueListResponse = z245.object({
7042
+ values: z245.array(DTOElementPropertyValue)
7043
+ });
7044
+ var DTOElementPropertyValueResponse = z245.object({
6992
7045
  value: DTOElementPropertyValue
6993
7046
  });
6994
- var DTOElementPropertyValueUpsertPaylod = z244.object({
6995
- definitionId: z244.string(),
6996
- targetElementId: z244.string(),
6997
- value: z244.string().or(z244.number()).or(z244.boolean())
7047
+ var DTOElementPropertyValueUpsertPaylod = z245.object({
7048
+ definitionId: z245.string(),
7049
+ targetElementId: z245.string(),
7050
+ value: z245.string().or(z245.number()).or(z245.boolean())
6998
7051
  });
6999
7052
 
7000
7053
  // src/api/dto/elements/elements-action-v2.ts
7001
- import { z as z245 } from "zod";
7002
- var DTOElementActionOutput = z245.discriminatedUnion("type", [
7054
+ import { z as z246 } from "zod";
7055
+ var DTOElementActionOutput = z246.discriminatedUnion("type", [
7003
7056
  // Documentation pages
7004
7057
  DTODocumentationPageCreateActionOutputV2,
7005
7058
  DTODocumentationPageUpdateActionOutputV2,
@@ -7022,7 +7075,7 @@ var DTOElementActionOutput = z245.discriminatedUnion("type", [
7022
7075
  // Approvals
7023
7076
  DTODocumentationPageApprovalStateChangeActionOutput
7024
7077
  ]);
7025
- var DTOElementActionInput = z245.discriminatedUnion("type", [
7078
+ var DTOElementActionInput = z246.discriminatedUnion("type", [
7026
7079
  // Documentation pages
7027
7080
  DTODocumentationPageCreateActionInputV2,
7028
7081
  DTODocumentationPageUpdateActionInputV2,
@@ -7047,80 +7100,80 @@ var DTOElementActionInput = z245.discriminatedUnion("type", [
7047
7100
  ]);
7048
7101
 
7049
7102
  // src/api/dto/elements/get-elements-v2.ts
7050
- import { z as z246 } from "zod";
7051
- var DTOElementsGetTypeFilter = z246.enum(["FigmaNode"]);
7052
- var DTOElementsGetQuerySchema = z246.object({
7053
- types: z246.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
7103
+ import { z as z247 } from "zod";
7104
+ var DTOElementsGetTypeFilter = z247.enum(["FigmaNode"]);
7105
+ var DTOElementsGetQuerySchema = z247.object({
7106
+ types: z247.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
7054
7107
  });
7055
- var DTOElementsGetOutput = z246.object({
7056
- figmaNodes: z246.array(DTOFigmaNode).optional()
7108
+ var DTOElementsGetOutput = z247.object({
7109
+ figmaNodes: z247.array(DTOFigmaNode).optional()
7057
7110
  });
7058
7111
 
7059
7112
  // src/api/dto/figma-components/assets/download.ts
7060
- import { z as z247 } from "zod";
7061
- var DTOAssetRenderConfiguration = z247.object({
7062
- prefix: z247.string().optional(),
7063
- suffix: z247.string().optional(),
7064
- scale: z247.enum(["x1", "x2", "x3", "x4"]),
7065
- format: z247.enum(["png", "pdf", "svg"])
7066
- });
7067
- var DTORenderedAssetFile = z247.object({
7068
- assetId: z247.string(),
7069
- fileName: z247.string(),
7070
- sourceUrl: z247.string(),
7113
+ import { z as z248 } from "zod";
7114
+ var DTOAssetRenderConfiguration = z248.object({
7115
+ prefix: z248.string().optional(),
7116
+ suffix: z248.string().optional(),
7117
+ scale: z248.enum(["x1", "x2", "x3", "x4"]),
7118
+ format: z248.enum(["png", "pdf", "svg"])
7119
+ });
7120
+ var DTORenderedAssetFile = z248.object({
7121
+ assetId: z248.string(),
7122
+ fileName: z248.string(),
7123
+ sourceUrl: z248.string(),
7071
7124
  settings: DTOAssetRenderConfiguration,
7072
- originalName: z247.string()
7125
+ originalName: z248.string()
7073
7126
  });
7074
- var DTODownloadAssetsRequest = z247.object({
7075
- persistentIds: z247.array(z247.string().uuid()).optional(),
7127
+ var DTODownloadAssetsRequest = z248.object({
7128
+ persistentIds: z248.array(z248.string().uuid()).optional(),
7076
7129
  settings: DTOAssetRenderConfiguration.array()
7077
7130
  });
7078
- var DTODownloadAssetsResponse = z247.object({
7131
+ var DTODownloadAssetsResponse = z248.object({
7079
7132
  items: DTORenderedAssetFile.array()
7080
7133
  });
7081
7134
 
7082
7135
  // src/api/dto/liveblocks/auth-response.ts
7083
- import { z as z248 } from "zod";
7084
- var DTOLiveblocksAuthResponse = z248.object({
7085
- token: z248.string()
7136
+ import { z as z249 } from "zod";
7137
+ var DTOLiveblocksAuthResponse = z249.object({
7138
+ token: z249.string()
7086
7139
  });
7087
7140
 
7088
7141
  // src/api/dto/themes/override.ts
7089
- import { z as z249 } from "zod";
7142
+ import { z as z250 } from "zod";
7090
7143
  var DTOThemeOverride = DesignTokenTypedData.and(
7091
- z249.object({
7092
- tokenPersistentId: z249.string(),
7144
+ z250.object({
7145
+ tokenPersistentId: z250.string(),
7093
7146
  origin: ThemeOverrideOrigin.optional()
7094
7147
  })
7095
7148
  );
7096
7149
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
7097
- z249.object({
7098
- tokenPersistentId: z249.string()
7150
+ z250.object({
7151
+ tokenPersistentId: z250.string()
7099
7152
  })
7100
7153
  );
7101
7154
 
7102
7155
  // src/api/dto/themes/theme.ts
7103
- import { z as z250 } from "zod";
7104
- var DTOTheme = z250.object({
7105
- id: z250.string(),
7106
- persistentId: z250.string(),
7107
- designSystemVersionId: z250.string(),
7108
- brandId: z250.string(),
7156
+ import { z as z251 } from "zod";
7157
+ var DTOTheme = z251.object({
7158
+ id: z251.string(),
7159
+ persistentId: z251.string(),
7160
+ designSystemVersionId: z251.string(),
7161
+ brandId: z251.string(),
7109
7162
  meta: ObjectMeta,
7110
- codeName: z250.string(),
7163
+ codeName: z251.string(),
7111
7164
  overrides: DTOThemeOverride.array()
7112
7165
  });
7113
- var DTOThemeResponse = z250.object({
7166
+ var DTOThemeResponse = z251.object({
7114
7167
  theme: DTOTheme
7115
7168
  });
7116
- var DTOThemeListResponse = z250.object({
7169
+ var DTOThemeListResponse = z251.object({
7117
7170
  themes: DTOTheme.array()
7118
7171
  });
7119
- var DTOThemeCreatePayload = z250.object({
7172
+ var DTOThemeCreatePayload = z251.object({
7120
7173
  meta: ObjectMeta,
7121
- persistentId: z250.string(),
7122
- brandId: z250.string(),
7123
- codeName: z250.string(),
7174
+ persistentId: z251.string(),
7175
+ brandId: z251.string(),
7176
+ codeName: z251.string(),
7124
7177
  overrides: DTOThemeOverride.array()
7125
7178
  });
7126
7179
 
@@ -7237,11 +7290,34 @@ var ExportersEndpoint = class {
7237
7290
  constructor(requestExecutor) {
7238
7291
  this.requestExecutor = requestExecutor;
7239
7292
  }
7293
+ add(workspaceId, body) {
7294
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/exporters`, DTOExporterResponse, {
7295
+ body,
7296
+ method: "POST"
7297
+ });
7298
+ }
7240
7299
  list(workspaceId, query) {
7241
7300
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/exporters`, DTOExporterListResponse, {
7242
7301
  query: serializeQuery(query)
7243
7302
  });
7244
7303
  }
7304
+ get(workspaceId, exporterId) {
7305
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/exporters/${exporterId}`, DTOExporterResponse);
7306
+ }
7307
+ };
7308
+
7309
+ // src/api/endpoints/codegen/jobs.ts
7310
+ import { z as z252 } from "zod";
7311
+ var ExporterJobsEndpoint = class {
7312
+ constructor(requestExecutor) {
7313
+ this.requestExecutor = requestExecutor;
7314
+ }
7315
+ list(workspaceId) {
7316
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z252.any());
7317
+ }
7318
+ get(workspaceId, jobId) {
7319
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
7320
+ }
7245
7321
  };
7246
7322
 
7247
7323
  // src/api/endpoints/codegen/pipelines.ts
@@ -7281,13 +7357,15 @@ var CodegenEndpoint = class {
7281
7357
  this.requestExecutor = requestExecutor;
7282
7358
  __publicField(this, "exporters");
7283
7359
  __publicField(this, "pipelines");
7360
+ __publicField(this, "jobs");
7284
7361
  this.pipelines = new PipelinesEndpoint(requestExecutor);
7285
7362
  this.exporters = new ExportersEndpoint(requestExecutor);
7363
+ this.jobs = new ExporterJobsEndpoint(requestExecutor);
7286
7364
  }
7287
7365
  };
7288
7366
 
7289
7367
  // src/api/endpoints/design-system/versions/brands.ts
7290
- import { z as z251 } from "zod";
7368
+ import { z as z253 } from "zod";
7291
7369
  var BrandsEndpoint = class {
7292
7370
  constructor(requestExecutor) {
7293
7371
  this.requestExecutor = requestExecutor;
@@ -7321,7 +7399,7 @@ var BrandsEndpoint = class {
7321
7399
  });
7322
7400
  }
7323
7401
  delete(dsId, vId, brandId) {
7324
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z251.any(), {
7402
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z253.any(), {
7325
7403
  method: "DELETE"
7326
7404
  });
7327
7405
  }
@@ -7332,8 +7410,8 @@ var DocumentationEndpoint = class {
7332
7410
  constructor(requestExecutor) {
7333
7411
  this.requestExecutor = requestExecutor;
7334
7412
  }
7335
- getStructure(designSystemId, versionId) {
7336
- return this.requestExecutor.json(
7413
+ async getStructure(designSystemId, versionId) {
7414
+ return await this.requestExecutor.json(
7337
7415
  `/design-systems/${designSystemId}/versions/${versionId}/documentation/structure`,
7338
7416
  DTODocumentationStructure
7339
7417
  );
@@ -7341,10 +7419,13 @@ var DocumentationEndpoint = class {
7341
7419
  async getDocStructure(dsId, vId) {
7342
7420
  return await this.requestExecutor.json(
7343
7421
  `/design-systems/${dsId}/versions/${vId}/documentation/structure`,
7344
- DTODocumentationStructure,
7345
- {
7346
- method: "GET"
7347
- }
7422
+ DTODocumentationStructure
7423
+ );
7424
+ }
7425
+ async getPageRoom(dsId, vId, pageId) {
7426
+ return await this.requestExecutor.json(
7427
+ `/design-systems/${dsId}/versions/${vId}/documentation/pages/${pageId}/room`,
7428
+ DTODocumentationPageRoomResponse
7348
7429
  );
7349
7430
  }
7350
7431
  };
@@ -7475,7 +7556,7 @@ var ImportJobsEndpoint = class {
7475
7556
  };
7476
7557
 
7477
7558
  // src/api/endpoints/design-system/versions/overrides.ts
7478
- import { z as z252 } from "zod";
7559
+ import { z as z254 } from "zod";
7479
7560
  var OverridesEndpoint = class {
7480
7561
  constructor(requestExecutor) {
7481
7562
  this.requestExecutor = requestExecutor;
@@ -7483,7 +7564,7 @@ var OverridesEndpoint = class {
7483
7564
  create(dsId, versionId, themeId, body) {
7484
7565
  return this.requestExecutor.json(
7485
7566
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
7486
- z252.any(),
7567
+ z254.any(),
7487
7568
  {
7488
7569
  method: "POST",
7489
7570
  body
@@ -7493,7 +7574,7 @@ var OverridesEndpoint = class {
7493
7574
  };
7494
7575
 
7495
7576
  // src/api/endpoints/design-system/versions/property-definitions.ts
7496
- import { z as z253 } from "zod";
7577
+ import { z as z255 } from "zod";
7497
7578
  var ElementPropertyDefinitionsEndpoint = class {
7498
7579
  constructor(requestExecutor) {
7499
7580
  this.requestExecutor = requestExecutor;
@@ -7521,7 +7602,7 @@ var ElementPropertyDefinitionsEndpoint = class {
7521
7602
  delete(designSystemId, versionId, defId) {
7522
7603
  return this.requestExecutor.json(
7523
7604
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
7524
- z253.any(),
7605
+ z255.any(),
7525
7606
  { method: "DELETE" }
7526
7607
  );
7527
7608
  }
@@ -7560,7 +7641,7 @@ var VersionStatsEndpoint = class {
7560
7641
  };
7561
7642
 
7562
7643
  // src/api/endpoints/design-system/versions/themes.ts
7563
- import { z as z254 } from "zod";
7644
+ import { z as z256 } from "zod";
7564
7645
  var ThemesEndpoint = class {
7565
7646
  constructor(requestExecutor) {
7566
7647
  this.requestExecutor = requestExecutor;
@@ -7583,7 +7664,7 @@ var ThemesEndpoint = class {
7583
7664
  });
7584
7665
  }
7585
7666
  delete(dsId, versionId, themeId) {
7586
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z254.any(), {
7667
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z256.any(), {
7587
7668
  method: "DELETE"
7588
7669
  });
7589
7670
  }
@@ -7730,7 +7811,7 @@ var DesignSystemContactsEndpoint = class {
7730
7811
  };
7731
7812
 
7732
7813
  // src/api/endpoints/design-system/design-systems.ts
7733
- import { z as z256 } from "zod";
7814
+ import { z as z258 } from "zod";
7734
7815
 
7735
7816
  // src/api/endpoints/design-system/members.ts
7736
7817
  var DesignSystemMembersEndpoint = class {
@@ -7751,7 +7832,7 @@ var DesignSystemMembersEndpoint = class {
7751
7832
  };
7752
7833
 
7753
7834
  // src/api/endpoints/design-system/sources.ts
7754
- import { z as z255 } from "zod";
7835
+ import { z as z257 } from "zod";
7755
7836
  var DesignSystemSourcesEndpoint = class {
7756
7837
  constructor(requestExecutor) {
7757
7838
  this.requestExecutor = requestExecutor;
@@ -7766,7 +7847,7 @@ var DesignSystemSourcesEndpoint = class {
7766
7847
  return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourcesListResponse);
7767
7848
  }
7768
7849
  delete(dsId, sourceId) {
7769
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z255.any(), { method: "DELETE" });
7850
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z257.any(), { method: "DELETE" });
7770
7851
  }
7771
7852
  figmaImport(dsId, payload) {
7772
7853
  return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/cloud-import`, DTOImportJobResponse, {
@@ -7801,7 +7882,7 @@ var DesignSystemsEndpoint = class {
7801
7882
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
7802
7883
  }
7803
7884
  delete(dsId) {
7804
- return this.requestExecutor.json(`/design-systems/${dsId}`, z256.any(), { method: "DELETE" });
7885
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z258.any(), { method: "DELETE" });
7805
7886
  }
7806
7887
  update(dsId, body) {
7807
7888
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -7845,7 +7926,7 @@ var WorkspaceInvitationsEndpoint = class {
7845
7926
  };
7846
7927
 
7847
7928
  // src/api/endpoints/workspaces/workspace-members.ts
7848
- import { z as z257 } from "zod";
7929
+ import { z as z259 } from "zod";
7849
7930
  var WorkspaceMembersEndpoint = class {
7850
7931
  constructor(requestExecutor) {
7851
7932
  this.requestExecutor = requestExecutor;
@@ -7862,7 +7943,7 @@ var WorkspaceMembersEndpoint = class {
7862
7943
  });
7863
7944
  }
7864
7945
  invite(workspaceId, body) {
7865
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z257.any(), { method: "POST", body });
7946
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z259.any(), { method: "POST", body });
7866
7947
  }
7867
7948
  delete(workspaceId, userId) {
7868
7949
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -7872,7 +7953,7 @@ var WorkspaceMembersEndpoint = class {
7872
7953
  };
7873
7954
 
7874
7955
  // src/api/endpoints/workspaces/workspaces.ts
7875
- import { z as z258 } from "zod";
7956
+ import { z as z260 } from "zod";
7876
7957
  var WorkspacesEndpoint = class {
7877
7958
  constructor(requestExecutor) {
7878
7959
  this.requestExecutor = requestExecutor;
@@ -7895,10 +7976,10 @@ var WorkspacesEndpoint = class {
7895
7976
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
7896
7977
  }
7897
7978
  delete(workspaceId) {
7898
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z258.any(), { method: "DELETE" });
7979
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z260.any(), { method: "DELETE" });
7899
7980
  }
7900
7981
  subscription(workspaceId) {
7901
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z258.any(), { method: "GET" });
7982
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z260.any(), { method: "GET" });
7902
7983
  }
7903
7984
  transferOwnership(workspaceId, body) {
7904
7985
  return this.requestExecutor.json(`/workspaces/${workspaceId}/ownership`, DTOWorkspaceResponse, {
@@ -7908,6 +7989,19 @@ var WorkspacesEndpoint = class {
7908
7989
  }
7909
7990
  };
7910
7991
 
7992
+ // src/api/endpoints/liveblocks.ts
7993
+ var LiveblocksEndpoint = class {
7994
+ constructor(requestExecutor) {
7995
+ this.requestExecutor = requestExecutor;
7996
+ }
7997
+ auth(body) {
7998
+ return this.requestExecutor.json("/liveblocks/auth", DTOLiveblocksAuthResponse, {
7999
+ method: "POST",
8000
+ body
8001
+ });
8002
+ }
8003
+ };
8004
+
7911
8005
  // src/api/endpoints/users.ts
7912
8006
  var UsersEndpoint = class {
7913
8007
  constructor(requestExecutor) {
@@ -7985,9 +8079,9 @@ ${bodyText}`,
7985
8079
 
7986
8080
  // src/api/transport/request-executor.ts
7987
8081
  import fetch from "node-fetch";
7988
- import { z as z259 } from "zod";
7989
- var ResponseWrapper = z259.object({
7990
- result: z259.record(z259.any())
8082
+ import { z as z261 } from "zod";
8083
+ var ResponseWrapper = z261.object({
8084
+ result: z261.record(z261.any())
7991
8085
  });
7992
8086
  var RequestExecutor = class {
7993
8087
  constructor(testServerConfig) {
@@ -8050,6 +8144,7 @@ var SupernovaApiClient = class {
8050
8144
  __publicField(this, "workspaces");
8051
8145
  __publicField(this, "designSystems");
8052
8146
  __publicField(this, "codegen");
8147
+ __publicField(this, "liveblocks");
8053
8148
  const requestExecutor = new RequestExecutor({
8054
8149
  host: config.host,
8055
8150
  accessToken: config.accessToken
@@ -8058,6 +8153,7 @@ var SupernovaApiClient = class {
8058
8153
  this.workspaces = new WorkspacesEndpoint(requestExecutor);
8059
8154
  this.designSystems = new DesignSystemsEndpoint(requestExecutor);
8060
8155
  this.codegen = new CodegenEndpoint(requestExecutor);
8156
+ this.liveblocks = new LiveblocksEndpoint(requestExecutor);
8061
8157
  }
8062
8158
  };
8063
8159
 
@@ -8065,7 +8161,7 @@ var SupernovaApiClient = class {
8065
8161
  import PQueue from "p-queue";
8066
8162
 
8067
8163
  // src/yjs/design-system-content/documentation-hierarchy.ts
8068
- import { z as z260 } from "zod";
8164
+ import { z as z262 } from "zod";
8069
8165
 
8070
8166
  // src/yjs/version-room/base.ts
8071
8167
  var VersionRoomBaseYDoc = class {
@@ -8084,7 +8180,8 @@ var VersionRoomBaseYDoc = class {
8084
8180
  groupSnapshots: this.getGroupSnapshots(),
8085
8181
  pageContentHashes: this.getDocumentationPageContentHashes(),
8086
8182
  pageSnapshots: this.getPageSnapshots(),
8087
- settings: this.getDocumentationInternalSettings()
8183
+ settings: this.getDocumentationInternalSettings(),
8184
+ pageLiveblockRoomIds: this.getDocumentationPageLiveblocksRoomIds()
8088
8185
  };
8089
8186
  }
8090
8187
  //
@@ -8216,6 +8313,18 @@ var VersionRoomBaseYDoc = class {
8216
8313
  });
8217
8314
  return result;
8218
8315
  }
8316
+ getDocumentationPageLiveblocksRoomIds() {
8317
+ const map = this.documentationPageLiveblocksRoomIdsYMap;
8318
+ const result = {};
8319
+ map.forEach((hash2, key) => {
8320
+ if (typeof hash2 === "string")
8321
+ result[key] = hash2;
8322
+ });
8323
+ return result;
8324
+ }
8325
+ get documentationPageLiveblocksRoomIdsYMap() {
8326
+ return this.yDoc.getMap("documentationPageLiveblocksRoomIds");
8327
+ }
8219
8328
  updateDocumentationPageContentHashes(hashes) {
8220
8329
  const map = this.documentationPageContentHashesYMap;
8221
8330
  Object.entries(hashes).forEach(([key, hash2]) => map.set(key, hash2));
@@ -8242,12 +8351,12 @@ var VersionRoomBaseYDoc = class {
8242
8351
  function computeDocsHierarchy(input, options = {}) {
8243
8352
  const includeDeletedContent = options.includeDeletedContent ?? false;
8244
8353
  const debug = options.debug ?? false;
8245
- const { pages, groups, pageSnapshots, groupSnapshots, settings, pageContentHashes, approvals } = input;
8354
+ const { pages, groups, pageSnapshots, groupSnapshots, settings, pageContentHashes, approvals, pageLiveblockRoomIds } = input;
8246
8355
  if (includeDeletedContent) {
8247
8356
  pages.push(...getDeletedPages(pages, pageSnapshots));
8248
8357
  groups.push(...getDeletedGroups(groups, groupSnapshots));
8249
8358
  }
8250
- const pageDTOs = documentationPagesToDTOV2(pages, groups, settings.routingVersion);
8359
+ const pageDTOs = documentationPagesToDTOV2(pages, groups, settings.routingVersion, recordToMap(pageLiveblockRoomIds));
8251
8360
  const groupDTOs = elementGroupsToDocumentationGroupDTOV2(groups, pages);
8252
8361
  if (!settings.isDraftFeatureAdopted) {
8253
8362
  return {
@@ -8587,24 +8696,24 @@ var FrontendVersionRoomYDoc = class {
8587
8696
  };
8588
8697
 
8589
8698
  // src/yjs/design-system-content/documentation-hierarchy.ts
8590
- var DocumentationHierarchySettings = z260.object({
8591
- routingVersion: z260.string(),
8592
- isDraftFeatureAdopted: z260.boolean(),
8593
- isApprovalFeatureEnabled: z260.boolean(),
8594
- approvalRequiredForPublishing: z260.boolean()
8699
+ var DocumentationHierarchySettings = z262.object({
8700
+ routingVersion: z262.string(),
8701
+ isDraftFeatureAdopted: z262.boolean(),
8702
+ isApprovalFeatureEnabled: z262.boolean(),
8703
+ approvalRequiredForPublishing: z262.boolean()
8595
8704
  });
8596
8705
  function yjsToDocumentationHierarchy(doc) {
8597
8706
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
8598
8707
  }
8599
8708
 
8600
8709
  // src/yjs/design-system-content/item-configuration.ts
8601
- import { z as z261 } from "zod";
8602
- var DTODocumentationPageRoomHeaderData = z261.object({
8603
- title: z261.string(),
8710
+ import { z as z263 } from "zod";
8711
+ var DTODocumentationPageRoomHeaderData = z263.object({
8712
+ title: z263.string(),
8604
8713
  configuration: DTODocumentationItemConfigurationV2
8605
8714
  });
8606
- var DTODocumentationPageRoomHeaderDataUpdate = z261.object({
8607
- title: z261.string().optional(),
8715
+ var DTODocumentationPageRoomHeaderDataUpdate = z263.object({
8716
+ title: z263.string().optional(),
8608
8717
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
8609
8718
  });
8610
8719
  function itemConfigurationToYjs(yDoc, item) {
@@ -8655,7 +8764,7 @@ function yjsToItemConfiguration(yDoc) {
8655
8764
  header: rawHeader
8656
8765
  };
8657
8766
  return {
8658
- title: z261.string().parse(title),
8767
+ title: z263.string().parse(title),
8659
8768
  configuration: DTODocumentationItemConfigurationV2.parse(rawConfig)
8660
8769
  };
8661
8770
  }
@@ -8665,9 +8774,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
8665
8774
  var PageSectionEditorModel = PageSectionEditorModelV2;
8666
8775
 
8667
8776
  // src/yjs/docs-editor/model/page.ts
8668
- import { z as z262 } from "zod";
8669
- var DocumentationPageEditorModel = z262.object({
8670
- blocks: z262.array(DocumentationPageContentItem)
8777
+ import { z as z264 } from "zod";
8778
+ var DocumentationPageEditorModel = z264.object({
8779
+ blocks: z264.array(DocumentationPageContentItem)
8671
8780
  });
8672
8781
 
8673
8782
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -12188,7 +12297,7 @@ var blocks = [
12188
12297
 
12189
12298
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
12190
12299
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
12191
- import { z as z263 } from "zod";
12300
+ import { z as z265 } from "zod";
12192
12301
  function yDocToPage(yDoc, definitions) {
12193
12302
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
12194
12303
  }
@@ -12268,7 +12377,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
12268
12377
  return null;
12269
12378
  return {
12270
12379
  id,
12271
- title: getProsemirrorAttribute(prosemirrorNode, "title", z263.string()) ?? "",
12380
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z265.string()) ?? "",
12272
12381
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
12273
12382
  };
12274
12383
  }
@@ -12303,7 +12412,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
12303
12412
  });
12304
12413
  }
12305
12414
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
12306
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z263.string());
12415
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z265.string());
12307
12416
  if (!definitionId) {
12308
12417
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
12309
12418
  return [];
@@ -12345,7 +12454,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
12345
12454
  if (!id)
12346
12455
  return null;
12347
12456
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
12348
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z263.string().optional()));
12457
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z265.string().optional()));
12349
12458
  return {
12350
12459
  id,
12351
12460
  type: "Block",
@@ -12473,10 +12582,10 @@ function parseRichTextAttribute(mark) {
12473
12582
  return null;
12474
12583
  }
12475
12584
  function parseProsemirrorLink(mark) {
12476
- const href = getProsemirrorAttribute(mark, "href", z263.string().optional());
12585
+ const href = getProsemirrorAttribute(mark, "href", z265.string().optional());
12477
12586
  if (!href)
12478
12587
  return null;
12479
- const target = getProsemirrorAttribute(mark, "target", z263.string().optional());
12588
+ const target = getProsemirrorAttribute(mark, "target", z265.string().optional());
12480
12589
  const openInNewTab = target === "_blank";
12481
12590
  if (href.startsWith("@")) {
12482
12591
  return {
@@ -12495,10 +12604,10 @@ function parseProsemirrorLink(mark) {
12495
12604
  }
12496
12605
  }
12497
12606
  function parseProsemirrorCommentHighlight(mark) {
12498
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z263.string().optional());
12607
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z265.string().optional());
12499
12608
  if (!highlightId)
12500
12609
  return null;
12501
- const isResolved = getProsemirrorAttribute(mark, "resolved", z263.boolean().optional()) ?? false;
12610
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z265.boolean().optional()) ?? false;
12502
12611
  return {
12503
12612
  type: "Comment",
12504
12613
  commentHighlightId: highlightId,
@@ -12510,7 +12619,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
12510
12619
  if (!id)
12511
12620
  return null;
12512
12621
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
12513
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z263.boolean().optional()) !== false;
12622
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z265.boolean().optional()) !== false;
12514
12623
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
12515
12624
  if (!tableChild) {
12516
12625
  return emptyTable(id, variantId, 0);
@@ -12557,9 +12666,9 @@ function parseAsTableCell(prosemirrorNode) {
12557
12666
  const id = getProsemirrorBlockId(prosemirrorNode);
12558
12667
  if (!id)
12559
12668
  return null;
12560
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z263.string().optional());
12669
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z265.string().optional());
12561
12670
  let columnWidth;
12562
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z263.array(z263.number()).nullish());
12671
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z265.array(z265.number()).nullish());
12563
12672
  if (columnWidthArray) {
12564
12673
  columnWidth = roundDimension(columnWidthArray[0]);
12565
12674
  }
@@ -12597,7 +12706,7 @@ function parseAsTableNode(prosemirrorNode) {
12597
12706
  value: parseRichText(prosemirrorNode.content ?? [])
12598
12707
  };
12599
12708
  case "image":
12600
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z263.string());
12709
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z265.string());
12601
12710
  if (!items)
12602
12711
  return null;
12603
12712
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
@@ -12717,7 +12826,7 @@ function definitionExpectsPlaceholderItem(definition) {
12717
12826
  );
12718
12827
  }
12719
12828
  function parseBlockItems(prosemirrorNode, definition) {
12720
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z263.string());
12829
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z265.string());
12721
12830
  if (!itemsString)
12722
12831
  return null;
12723
12832
  const itemsJson = JSON.parse(itemsString);
@@ -12729,18 +12838,18 @@ function parseBlockItems(prosemirrorNode, definition) {
12729
12838
  }
12730
12839
  function parseAppearance(prosemirrorNode) {
12731
12840
  let appearance = {};
12732
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z263.string().optional());
12841
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z265.string().optional());
12733
12842
  if (rawAppearanceString) {
12734
12843
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
12735
12844
  if (parsedAppearance.success) {
12736
12845
  appearance = parsedAppearance.data;
12737
12846
  }
12738
12847
  }
12739
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z263.number().optional());
12848
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z265.number().optional());
12740
12849
  if (columns) {
12741
12850
  appearance.numberOfColumns = columns;
12742
12851
  }
12743
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z263.string().optional());
12852
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z265.string().optional());
12744
12853
  if (backgroundColor) {
12745
12854
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
12746
12855
  if (parsedColor.success) {
@@ -12835,13 +12944,13 @@ function valueSchemaForPropertyType(type) {
12835
12944
  }
12836
12945
  }
12837
12946
  function getProsemirrorBlockId(prosemirrorNode) {
12838
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z263.string());
12947
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z265.string());
12839
12948
  if (!id)
12840
12949
  console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
12841
12950
  return id;
12842
12951
  }
12843
12952
  function getProsemirrorBlockVariantId(prosemirrorNode) {
12844
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z263.string()));
12953
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z265.string()));
12845
12954
  }
12846
12955
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
12847
12956
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -12903,6 +13012,7 @@ var BackendVersionRoomYDoc = class {
12903
13012
  var LocalStorage = class {
12904
13013
  constructor() {
12905
13014
  __publicField(this, "pages", /* @__PURE__ */ new Map());
13015
+ __publicField(this, "liveblocksRoomIds", /* @__PURE__ */ new Map());
12906
13016
  __publicField(this, "deletedPageIds", /* @__PURE__ */ new Set());
12907
13017
  __publicField(this, "groups", /* @__PURE__ */ new Map());
12908
13018
  }
@@ -12934,14 +13044,24 @@ var LocalStorage = class {
12934
13044
  removePage(persistentId) {
12935
13045
  this.pages.delete(persistentId);
12936
13046
  }
13047
+ setPageLiveblocksRoomId(pagePersistentId, id) {
13048
+ this.liveblocksRoomIds.set(pagePersistentId, id);
13049
+ }
13050
+ getPageLiveblocksRoomId(pagePersistentId) {
13051
+ return this.liveblocksRoomIds.get(pagePersistentId);
13052
+ }
13053
+ getAllPageLiveblocksRoomIds() {
13054
+ return this.liveblocksRoomIds;
13055
+ }
12937
13056
  };
12938
13057
 
12939
13058
  // src/sync/docs-structure-repo.ts
12940
13059
  var DocsStructureRepo = class {
12941
13060
  };
12942
13061
  var DocsStructureRepository = class {
12943
- constructor(yDoc, transactionExecutor) {
13062
+ constructor(designSystemVersionId, yDoc, transactionExecutor) {
12944
13063
  __publicField(this, "localState", new LocalStorage());
13064
+ __publicField(this, "designSystemVersionId");
12945
13065
  __publicField(this, "yDoc");
12946
13066
  __publicField(this, "yObserver");
12947
13067
  __publicField(this, "_yState");
@@ -12949,6 +13069,7 @@ var DocsStructureRepository = class {
12949
13069
  __publicField(this, "trxQueue");
12950
13070
  __publicField(this, "hierarchyObservers", /* @__PURE__ */ new Set());
12951
13071
  __publicField(this, "initCallbacks", /* @__PURE__ */ new Set());
13072
+ this.designSystemVersionId = designSystemVersionId;
12952
13073
  this.yDoc = yDoc;
12953
13074
  this.yObserver = yDoc.on("update", () => this.onYUpdate());
12954
13075
  this.onYUpdate();
@@ -13002,7 +13123,7 @@ var DocsStructureRepository = class {
13002
13123
  // Actions
13003
13124
  //
13004
13125
  createPage(input) {
13005
- void this.createPage(input);
13126
+ void this.createPagePromise(input);
13006
13127
  }
13007
13128
  createPagePromise(input) {
13008
13129
  this.localState.setPage({
@@ -13017,6 +13138,10 @@ var DocsStructureRepository = class {
13017
13138
  sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
13018
13139
  designSystemVersionId: ""
13019
13140
  });
13141
+ this.localState.setPageLiveblocksRoomId(
13142
+ input.persistentId,
13143
+ `${RoomType.DocumentationPage}:${this.designSystemVersionId}:${input.persistentId}`
13144
+ );
13020
13145
  this.refreshHierarchy();
13021
13146
  return this.trxQueue.enqueue({
13022
13147
  type: "DocumentationPageCreate",
@@ -13109,6 +13234,10 @@ var DocsStructureRepository = class {
13109
13234
  allPagesById.set(p.persistentId, p);
13110
13235
  });
13111
13236
  this.localState.getAllDeletedPages().forEach((id) => allPagesById.delete(id));
13237
+ const pageLiveblockRoomIds = { ...this.yState.pageLiveblockRoomIds };
13238
+ this.localState.getAllPageLiveblocksRoomIds().forEach((v, k) => {
13239
+ pageLiveblockRoomIds[k] = v;
13240
+ });
13112
13241
  const hierarchy = computeDocsHierarchy({
13113
13242
  approvals: yState.approvals,
13114
13243
  groups: yState.groups,
@@ -13116,7 +13245,8 @@ var DocsStructureRepository = class {
13116
13245
  pageContentHashes: yState.pageContentHashes,
13117
13246
  pages: Array.from(allPagesById.values()),
13118
13247
  pageSnapshots: yState.pageSnapshots,
13119
- settings: yState.settings
13248
+ settings: yState.settings,
13249
+ pageLiveblockRoomIds
13120
13250
  });
13121
13251
  return hierarchy;
13122
13252
  }
@@ -13139,8 +13269,10 @@ var DocsStructureRepository = class {
13139
13269
  if (!neighbours.length)
13140
13270
  return 0;
13141
13271
  neighbours.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
13142
- if (!afterPersistentId)
13272
+ if (afterPersistentId === null)
13143
13273
  return neighbours[0].sortOrder - sortOrderStep;
13274
+ if (!afterPersistentId)
13275
+ return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
13144
13276
  const index = neighbours.findIndex((e) => e.persistentId === afterPersistentId);
13145
13277
  if (index < 0 || index === neighbours.length - 1) {
13146
13278
  return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
@@ -13287,8 +13419,10 @@ export {
13287
13419
  DTODocumentationPageMoveActionOutputV2,
13288
13420
  DTODocumentationPageRestoreActionInput,
13289
13421
  DTODocumentationPageRestoreActionOutput,
13422
+ DTODocumentationPageRoom,
13290
13423
  DTODocumentationPageRoomHeaderData,
13291
13424
  DTODocumentationPageRoomHeaderDataUpdate,
13425
+ DTODocumentationPageRoomResponse,
13292
13426
  DTODocumentationPageSnapshot,
13293
13427
  DTODocumentationPageUpdateActionInputV2,
13294
13428
  DTODocumentationPageUpdateActionOutputV2,
@@ -13335,11 +13469,11 @@ export {
13335
13469
  DTOExportJobDesignSystemVersionPreview,
13336
13470
  DTOExportJobDestinations,
13337
13471
  DTOExportJobResponse,
13472
+ DTOExportJobResponseLegacy,
13338
13473
  DTOExportJobResult,
13339
13474
  DTOExportJobsListFilter,
13340
13475
  DTOExporter,
13341
13476
  DTOExporterCreateInput,
13342
- DTOExporterCreateOutput,
13343
13477
  DTOExporterGitProviderEnum,
13344
13478
  DTOExporterListQuery,
13345
13479
  DTOExporterListResponse,
@@ -13356,6 +13490,7 @@ export {
13356
13490
  DTOExporterPropertyDefinitionValueMap,
13357
13491
  DTOExporterPropertyDefinitionsResponse,
13358
13492
  DTOExporterPropertyType,
13493
+ DTOExporterResponse,
13359
13494
  DTOExporterSource,
13360
13495
  DTOExporterType,
13361
13496
  DTOExporterUpdateInput,
@@ -13473,6 +13608,7 @@ export {
13473
13608
  ElementPropertyValuesEndpoint,
13474
13609
  ElementsActionEndpoint,
13475
13610
  ElementsEndpoint,
13611
+ ExporterJobsEndpoint,
13476
13612
  ExportersEndpoint,
13477
13613
  FigmaComponentGroupsEndpoint,
13478
13614
  FigmaComponentsEndpoint,
@@ -13482,6 +13618,7 @@ export {
13482
13618
  FrontendVersionRoomYDoc,
13483
13619
  ImportJobsEndpoint,
13484
13620
  ListTreeBuilder,
13621
+ LiveblocksEndpoint,
13485
13622
  LocalStorage,
13486
13623
  NpmRegistryInput,
13487
13624
  ObjectMeta2 as ObjectMeta,