@supernova-studio/client 0.58.16 → 0.58.18

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
@@ -4283,7 +4283,8 @@ var RestoredDocumentationGroup = z149.object({
4283
4283
  parent: ElementGroup
4284
4284
  });
4285
4285
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
4286
- RoomTypeEnum2["DocumentationPage"] = "documentation-page";
4286
+ RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
4287
+ RoomTypeEnum2["DocumentationPage"] = "doc-page";
4287
4288
  RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
4288
4289
  RoomTypeEnum2["Workspace"] = "workspace";
4289
4290
  return RoomTypeEnum2;
@@ -6467,53 +6468,62 @@ var DTOPublishDocumentationResponse = z228.object({
6467
6468
  job: DTOExportJob
6468
6469
  });
6469
6470
 
6471
+ // src/api/dto/documentation/room.ts
6472
+ import { z as z229 } from "zod";
6473
+ var DTODocumentationPageRoom = z229.object({
6474
+ id: z229.string()
6475
+ });
6476
+ var DTODocumentationPageRoomResponse = z229.object({
6477
+ room: DTODocumentationPageRoom
6478
+ });
6479
+
6470
6480
  // src/api/dto/elements/components/figma-component-group.ts
6471
- import z229 from "zod";
6472
- var DTOFigmaComponentGroup = z229.object({
6473
- id: z229.string(),
6474
- designSystemVersionId: z229.string(),
6475
- persistentId: z229.string(),
6476
- isRoot: z229.boolean(),
6477
- brandId: z229.string(),
6481
+ import z230 from "zod";
6482
+ var DTOFigmaComponentGroup = z230.object({
6483
+ id: z230.string(),
6484
+ designSystemVersionId: z230.string(),
6485
+ persistentId: z230.string(),
6486
+ isRoot: z230.boolean(),
6487
+ brandId: z230.string(),
6478
6488
  meta: DTOObjectMeta,
6479
- childrenIds: z229.string().array()
6489
+ childrenIds: z230.string().array()
6480
6490
  });
6481
- var DTOFigmaComponentGroupListResponse = z229.object({
6491
+ var DTOFigmaComponentGroupListResponse = z230.object({
6482
6492
  groups: DTOFigmaComponentGroup.array()
6483
6493
  });
6484
6494
 
6485
6495
  // src/api/dto/elements/components/figma-component.ts
6486
- import { z as z230 } from "zod";
6496
+ import { z as z231 } from "zod";
6487
6497
  var DTOFigmaComponentProperty = FigmaComponentProperty;
6488
- var DTOFigmaComponentPropertyMap = z230.record(DTOFigmaComponentProperty);
6489
- var DTOFigmaComponent = z230.object({
6490
- id: z230.string(),
6491
- persistentId: z230.string(),
6492
- designSystemVersionId: z230.string(),
6493
- brandId: z230.string(),
6494
- thumbnailUrl: z230.string().optional(),
6495
- svgUrl: z230.string().optional(),
6496
- exportProperties: z230.object({
6497
- isAsset: z230.boolean()
6498
+ var DTOFigmaComponentPropertyMap = z231.record(DTOFigmaComponentProperty);
6499
+ var DTOFigmaComponent = z231.object({
6500
+ id: z231.string(),
6501
+ persistentId: z231.string(),
6502
+ designSystemVersionId: z231.string(),
6503
+ brandId: z231.string(),
6504
+ thumbnailUrl: z231.string().optional(),
6505
+ svgUrl: z231.string().optional(),
6506
+ exportProperties: z231.object({
6507
+ isAsset: z231.boolean()
6498
6508
  }),
6499
- createdAt: z230.coerce.date(),
6500
- updatedAt: z230.coerce.date(),
6509
+ createdAt: z231.coerce.date(),
6510
+ updatedAt: z231.coerce.date(),
6501
6511
  meta: ObjectMeta,
6502
6512
  originComponent: FigmaComponentOrigin.optional(),
6503
- parentComponentPersistentId: z230.string().optional(),
6504
- childrenPersistentIds: z230.string().array().optional(),
6513
+ parentComponentPersistentId: z231.string().optional(),
6514
+ childrenPersistentIds: z231.string().array().optional(),
6505
6515
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
6506
- variantPropertyValues: z230.record(z230.string()).optional()
6516
+ variantPropertyValues: z231.record(z231.string()).optional()
6507
6517
  });
6508
- var DTOFigmaComponentListResponse = z230.object({
6518
+ var DTOFigmaComponentListResponse = z231.object({
6509
6519
  components: DTOFigmaComponent.array()
6510
6520
  });
6511
6521
 
6512
6522
  // src/api/dto/elements/documentation/group-action.ts
6513
- import { z as z232 } from "zod";
6523
+ import { z as z233 } from "zod";
6514
6524
 
6515
6525
  // src/api/dto/elements/documentation/group-v2.ts
6516
- import { z as z231 } from "zod";
6526
+ import { z as z232 } from "zod";
6517
6527
  var DTODocumentationGroupV2 = ElementGroup.omit({
6518
6528
  sortOrder: true,
6519
6529
  parentPersistentId: true,
@@ -6523,13 +6533,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6523
6533
  data: true,
6524
6534
  shortPersistentId: true
6525
6535
  }).extend({
6526
- title: z231.string(),
6527
- isRoot: z231.boolean(),
6528
- childrenIds: z231.array(z231.string()),
6536
+ title: z232.string(),
6537
+ isRoot: z232.boolean(),
6538
+ childrenIds: z232.array(z232.string()),
6529
6539
  groupBehavior: DocumentationGroupBehavior,
6530
- shortPersistentId: z231.string(),
6540
+ shortPersistentId: z232.string(),
6531
6541
  configuration: DTODocumentationItemConfigurationV2,
6532
- type: z231.literal("Group"),
6542
+ type: z232.literal("Group"),
6533
6543
  /** Defined when a group has changed since last publish and can be included into a partial publish */
6534
6544
  draftState: DTODocumentationDraftState.optional(),
6535
6545
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -6537,127 +6547,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6537
6547
  //** An approval state for frontend to utilize. */
6538
6548
  approvalState: DTODocumentationGroupApprovalState.optional()
6539
6549
  });
6540
- var DTOCreateDocumentationGroupInput = z231.object({
6550
+ var DTOCreateDocumentationGroupInput = z232.object({
6541
6551
  // Identifier
6542
- persistentId: z231.string(),
6552
+ persistentId: z232.string(),
6543
6553
  // Group properties
6544
- title: z231.string(),
6554
+ title: z232.string(),
6545
6555
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6546
6556
  // Group placement properties
6547
- afterPersistentId: z231.string().nullish(),
6548
- parentPersistentId: z231.string()
6557
+ afterPersistentId: z232.string().nullish(),
6558
+ parentPersistentId: z232.string()
6549
6559
  });
6550
- var DTOUpdateDocumentationGroupInput = z231.object({
6560
+ var DTOUpdateDocumentationGroupInput = z232.object({
6551
6561
  // Identifier of the group to update
6552
- id: z231.string(),
6562
+ id: z232.string(),
6553
6563
  // Group properties
6554
- title: z231.string().optional(),
6564
+ title: z232.string().optional(),
6555
6565
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6556
6566
  });
6557
- var DTOMoveDocumentationGroupInput = z231.object({
6567
+ var DTOMoveDocumentationGroupInput = z232.object({
6558
6568
  // Identifier of the group to update
6559
- id: z231.string(),
6569
+ id: z232.string(),
6560
6570
  // Group placement properties
6561
- parentPersistentId: z231.string(),
6562
- afterPersistentId: z231.string().nullish()
6571
+ parentPersistentId: z232.string(),
6572
+ afterPersistentId: z232.string().nullish()
6563
6573
  });
6564
- var DTODuplicateDocumentationGroupInput = z231.object({
6574
+ var DTODuplicateDocumentationGroupInput = z232.object({
6565
6575
  // Identifier of the group to duplicate from
6566
- id: z231.string(),
6576
+ id: z232.string(),
6567
6577
  // New group persistent id
6568
- persistentId: z231.string(),
6578
+ persistentId: z232.string(),
6569
6579
  // Group placement properties
6570
- afterPersistentId: z231.string().nullish(),
6571
- parentPersistentId: z231.string()
6580
+ afterPersistentId: z232.string().nullish(),
6581
+ parentPersistentId: z232.string()
6572
6582
  });
6573
- var DTOCreateDocumentationTabInput = z231.object({
6583
+ var DTOCreateDocumentationTabInput = z232.object({
6574
6584
  // New group persistent id
6575
- persistentId: z231.string(),
6585
+ persistentId: z232.string(),
6576
6586
  // If this is page, we will attempt to convert it to tab
6577
6587
  // If this is tab group, we will add a new tab to it
6578
- fromItemPersistentId: z231.string(),
6579
- tabName: z231.string()
6588
+ fromItemPersistentId: z232.string(),
6589
+ tabName: z232.string()
6580
6590
  });
6581
- var DTODeleteDocumentationTabGroupInput = z231.object({
6591
+ var DTODeleteDocumentationTabGroupInput = z232.object({
6582
6592
  // Deleted group id
6583
- id: z231.string()
6593
+ id: z232.string()
6584
6594
  });
6585
- var DTODeleteDocumentationGroupInput = z231.object({
6595
+ var DTODeleteDocumentationGroupInput = z232.object({
6586
6596
  // Identifier
6587
- id: z231.string(),
6597
+ id: z232.string(),
6588
6598
  // Deletion options
6589
- deleteSubtree: z231.boolean().default(false)
6599
+ deleteSubtree: z232.boolean().default(false)
6590
6600
  });
6591
6601
 
6592
6602
  // src/api/dto/elements/documentation/group-action.ts
6593
- var SuccessPayload = z232.object({
6594
- success: z232.literal(true)
6603
+ var SuccessPayload = z233.object({
6604
+ success: z233.literal(true)
6595
6605
  });
6596
- var DTODocumentationGroupCreateActionOutputV2 = z232.object({
6597
- type: z232.literal("DocumentationGroupCreate"),
6606
+ var DTODocumentationGroupCreateActionOutputV2 = z233.object({
6607
+ type: z233.literal("DocumentationGroupCreate"),
6598
6608
  output: SuccessPayload
6599
6609
  });
6600
- var DTODocumentationTabCreateActionOutputV2 = z232.object({
6601
- type: z232.literal("DocumentationTabCreate"),
6610
+ var DTODocumentationTabCreateActionOutputV2 = z233.object({
6611
+ type: z233.literal("DocumentationTabCreate"),
6602
6612
  output: SuccessPayload
6603
6613
  });
6604
- var DTODocumentationGroupUpdateActionOutputV2 = z232.object({
6605
- type: z232.literal("DocumentationGroupUpdate"),
6614
+ var DTODocumentationGroupUpdateActionOutputV2 = z233.object({
6615
+ type: z233.literal("DocumentationGroupUpdate"),
6606
6616
  output: SuccessPayload
6607
6617
  });
6608
- var DTODocumentationGroupMoveActionOutputV2 = z232.object({
6609
- type: z232.literal("DocumentationGroupMove"),
6618
+ var DTODocumentationGroupMoveActionOutputV2 = z233.object({
6619
+ type: z233.literal("DocumentationGroupMove"),
6610
6620
  output: SuccessPayload
6611
6621
  });
6612
- var DTODocumentationGroupDuplicateActionOutputV2 = z232.object({
6613
- type: z232.literal("DocumentationGroupDuplicate"),
6622
+ var DTODocumentationGroupDuplicateActionOutputV2 = z233.object({
6623
+ type: z233.literal("DocumentationGroupDuplicate"),
6614
6624
  output: SuccessPayload
6615
6625
  });
6616
- var DTODocumentationGroupDeleteActionOutputV2 = z232.object({
6617
- type: z232.literal("DocumentationGroupDelete"),
6626
+ var DTODocumentationGroupDeleteActionOutputV2 = z233.object({
6627
+ type: z233.literal("DocumentationGroupDelete"),
6618
6628
  output: SuccessPayload
6619
6629
  });
6620
- var DTODocumentationTabGroupDeleteActionOutputV2 = z232.object({
6621
- type: z232.literal("DocumentationTabGroupDelete"),
6630
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z233.object({
6631
+ type: z233.literal("DocumentationTabGroupDelete"),
6622
6632
  output: SuccessPayload
6623
6633
  });
6624
- var DTODocumentationGroupCreateActionInputV2 = z232.object({
6625
- type: z232.literal("DocumentationGroupCreate"),
6634
+ var DTODocumentationGroupCreateActionInputV2 = z233.object({
6635
+ type: z233.literal("DocumentationGroupCreate"),
6626
6636
  input: DTOCreateDocumentationGroupInput
6627
6637
  });
6628
- var DTODocumentationTabCreateActionInputV2 = z232.object({
6629
- type: z232.literal("DocumentationTabCreate"),
6638
+ var DTODocumentationTabCreateActionInputV2 = z233.object({
6639
+ type: z233.literal("DocumentationTabCreate"),
6630
6640
  input: DTOCreateDocumentationTabInput
6631
6641
  });
6632
- var DTODocumentationGroupUpdateActionInputV2 = z232.object({
6633
- type: z232.literal("DocumentationGroupUpdate"),
6642
+ var DTODocumentationGroupUpdateActionInputV2 = z233.object({
6643
+ type: z233.literal("DocumentationGroupUpdate"),
6634
6644
  input: DTOUpdateDocumentationGroupInput
6635
6645
  });
6636
- var DTODocumentationGroupMoveActionInputV2 = z232.object({
6637
- type: z232.literal("DocumentationGroupMove"),
6646
+ var DTODocumentationGroupMoveActionInputV2 = z233.object({
6647
+ type: z233.literal("DocumentationGroupMove"),
6638
6648
  input: DTOMoveDocumentationGroupInput
6639
6649
  });
6640
- var DTODocumentationGroupDuplicateActionInputV2 = z232.object({
6641
- type: z232.literal("DocumentationGroupDuplicate"),
6650
+ var DTODocumentationGroupDuplicateActionInputV2 = z233.object({
6651
+ type: z233.literal("DocumentationGroupDuplicate"),
6642
6652
  input: DTODuplicateDocumentationGroupInput
6643
6653
  });
6644
- var DTODocumentationGroupDeleteActionInputV2 = z232.object({
6645
- type: z232.literal("DocumentationGroupDelete"),
6654
+ var DTODocumentationGroupDeleteActionInputV2 = z233.object({
6655
+ type: z233.literal("DocumentationGroupDelete"),
6646
6656
  input: DTODeleteDocumentationGroupInput
6647
6657
  });
6648
- var DTODocumentationTabGroupDeleteActionInputV2 = z232.object({
6649
- type: z232.literal("DocumentationTabGroupDelete"),
6658
+ var DTODocumentationTabGroupDeleteActionInputV2 = z233.object({
6659
+ type: z233.literal("DocumentationTabGroupDelete"),
6650
6660
  input: DTODeleteDocumentationTabGroupInput
6651
6661
  });
6652
6662
 
6653
6663
  // src/api/dto/elements/documentation/group-v1.ts
6654
- import { z as z234 } from "zod";
6664
+ import { z as z235 } from "zod";
6655
6665
 
6656
6666
  // src/api/dto/elements/documentation/item-configuration-v1.ts
6657
- import { z as z233 } from "zod";
6658
- var DocumentationColorV1 = z233.object({
6659
- aliasTo: z233.string().optional(),
6660
- value: z233.string().optional()
6667
+ import { z as z234 } from "zod";
6668
+ var DocumentationColorV1 = z234.object({
6669
+ aliasTo: z234.string().optional(),
6670
+ value: z234.string().optional()
6661
6671
  });
6662
6672
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6663
6673
  foregroundColor: true,
@@ -6666,10 +6676,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6666
6676
  foregroundColor: DocumentationColorV1.optional(),
6667
6677
  backgroundColor: DocumentationColorV1.optional()
6668
6678
  });
6669
- var DTODocumentationItemConfigurationV1 = z233.object({
6670
- showSidebar: z233.boolean(),
6671
- isPrivate: z233.boolean(),
6672
- isHidden: z233.boolean(),
6679
+ var DTODocumentationItemConfigurationV1 = z234.object({
6680
+ showSidebar: z234.boolean(),
6681
+ isPrivate: z234.boolean(),
6682
+ isHidden: z234.boolean(),
6673
6683
  header: DTODocumentationItemHeaderV1
6674
6684
  });
6675
6685
 
@@ -6683,27 +6693,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
6683
6693
  data: true,
6684
6694
  shortPersistentId: true
6685
6695
  }).extend({
6686
- title: z234.string(),
6687
- isRoot: z234.boolean(),
6688
- childrenIds: z234.array(z234.string()),
6696
+ title: z235.string(),
6697
+ isRoot: z235.boolean(),
6698
+ childrenIds: z235.array(z235.string()),
6689
6699
  groupBehavior: DocumentationGroupBehavior,
6690
- shortPersistentId: z234.string(),
6691
- type: z234.literal("Group")
6700
+ shortPersistentId: z235.string(),
6701
+ type: z235.literal("Group")
6692
6702
  });
6693
6703
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
6694
6704
  configuration: DTODocumentationItemConfigurationV1
6695
6705
  });
6696
6706
 
6697
6707
  // src/api/dto/elements/documentation/hierarchy.ts
6698
- import { z as z235 } from "zod";
6699
- var DTODocumentationHierarchyV2 = z235.object({
6700
- pages: z235.array(
6708
+ import { z as z236 } from "zod";
6709
+ var DTODocumentationHierarchyV2 = z236.object({
6710
+ pages: z236.array(
6701
6711
  DTODocumentationPageV2.extend({
6702
6712
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6703
6713
  draftState: DTODocumentationDraftState.optional()
6704
6714
  })
6705
6715
  ),
6706
- groups: z235.array(
6716
+ groups: z236.array(
6707
6717
  DTODocumentationGroupV2.extend({
6708
6718
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6709
6719
  draftState: DTODocumentationDraftState.optional()
@@ -6712,84 +6722,84 @@ var DTODocumentationHierarchyV2 = z235.object({
6712
6722
  });
6713
6723
 
6714
6724
  // src/api/dto/elements/documentation/page-actions-v2.ts
6715
- import { z as z236 } from "zod";
6716
- var SuccessPayload2 = z236.object({
6717
- success: z236.literal(true)
6725
+ import { z as z237 } from "zod";
6726
+ var SuccessPayload2 = z237.object({
6727
+ success: z237.literal(true)
6718
6728
  });
6719
- var DTODocumentationPageCreateActionOutputV2 = z236.object({
6720
- type: z236.literal("DocumentationPageCreate"),
6729
+ var DTODocumentationPageCreateActionOutputV2 = z237.object({
6730
+ type: z237.literal("DocumentationPageCreate"),
6721
6731
  output: SuccessPayload2
6722
6732
  });
6723
- var DTODocumentationPageUpdateActionOutputV2 = z236.object({
6724
- type: z236.literal("DocumentationPageUpdate"),
6733
+ var DTODocumentationPageUpdateActionOutputV2 = z237.object({
6734
+ type: z237.literal("DocumentationPageUpdate"),
6725
6735
  output: SuccessPayload2
6726
6736
  });
6727
- var DTODocumentationPageMoveActionOutputV2 = z236.object({
6728
- type: z236.literal("DocumentationPageMove"),
6737
+ var DTODocumentationPageMoveActionOutputV2 = z237.object({
6738
+ type: z237.literal("DocumentationPageMove"),
6729
6739
  output: SuccessPayload2
6730
6740
  });
6731
- var DTODocumentationPageDuplicateActionOutputV2 = z236.object({
6732
- type: z236.literal("DocumentationPageDuplicate"),
6741
+ var DTODocumentationPageDuplicateActionOutputV2 = z237.object({
6742
+ type: z237.literal("DocumentationPageDuplicate"),
6733
6743
  output: SuccessPayload2
6734
6744
  });
6735
- var DTODocumentationPageDeleteActionOutputV2 = z236.object({
6736
- type: z236.literal("DocumentationPageDelete"),
6745
+ var DTODocumentationPageDeleteActionOutputV2 = z237.object({
6746
+ type: z237.literal("DocumentationPageDelete"),
6737
6747
  output: SuccessPayload2
6738
6748
  });
6739
- var DTODocumentationPageRestoreActionOutput = z236.object({
6740
- type: z236.literal("DocumentationPageRestore"),
6749
+ var DTODocumentationPageRestoreActionOutput = z237.object({
6750
+ type: z237.literal("DocumentationPageRestore"),
6741
6751
  output: SuccessPayload2
6742
6752
  });
6743
- var DTODocumentationGroupRestoreActionOutput = z236.object({
6744
- type: z236.literal("DocumentationGroupRestore"),
6753
+ var DTODocumentationGroupRestoreActionOutput = z237.object({
6754
+ type: z237.literal("DocumentationGroupRestore"),
6745
6755
  output: SuccessPayload2
6746
6756
  });
6747
- var DTODocumentationPageApprovalStateChangeActionOutput = z236.object({
6748
- type: z236.literal("DocumentationPageApprovalStateChange"),
6757
+ var DTODocumentationPageApprovalStateChangeActionOutput = z237.object({
6758
+ type: z237.literal("DocumentationPageApprovalStateChange"),
6749
6759
  output: SuccessPayload2
6750
6760
  });
6751
- var DTODocumentationPageCreateActionInputV2 = z236.object({
6752
- type: z236.literal("DocumentationPageCreate"),
6761
+ var DTODocumentationPageCreateActionInputV2 = z237.object({
6762
+ type: z237.literal("DocumentationPageCreate"),
6753
6763
  input: DTOCreateDocumentationPageInputV2
6754
6764
  });
6755
- var DTODocumentationPageUpdateActionInputV2 = z236.object({
6756
- type: z236.literal("DocumentationPageUpdate"),
6765
+ var DTODocumentationPageUpdateActionInputV2 = z237.object({
6766
+ type: z237.literal("DocumentationPageUpdate"),
6757
6767
  input: DTOUpdateDocumentationPageInputV2
6758
6768
  });
6759
- var DTODocumentationPageMoveActionInputV2 = z236.object({
6760
- type: z236.literal("DocumentationPageMove"),
6769
+ var DTODocumentationPageMoveActionInputV2 = z237.object({
6770
+ type: z237.literal("DocumentationPageMove"),
6761
6771
  input: DTOMoveDocumentationPageInputV2
6762
6772
  });
6763
- var DTODocumentationPageDuplicateActionInputV2 = z236.object({
6764
- type: z236.literal("DocumentationPageDuplicate"),
6773
+ var DTODocumentationPageDuplicateActionInputV2 = z237.object({
6774
+ type: z237.literal("DocumentationPageDuplicate"),
6765
6775
  input: DTODuplicateDocumentationPageInputV2
6766
6776
  });
6767
- var DTODocumentationPageDeleteActionInputV2 = z236.object({
6768
- type: z236.literal("DocumentationPageDelete"),
6777
+ var DTODocumentationPageDeleteActionInputV2 = z237.object({
6778
+ type: z237.literal("DocumentationPageDelete"),
6769
6779
  input: DTODeleteDocumentationPageInputV2
6770
6780
  });
6771
- var DTODocumentationPageRestoreActionInput = z236.object({
6772
- type: z236.literal("DocumentationPageRestore"),
6781
+ var DTODocumentationPageRestoreActionInput = z237.object({
6782
+ type: z237.literal("DocumentationPageRestore"),
6773
6783
  input: DTORestoreDocumentationPageInput
6774
6784
  });
6775
- var DTODocumentationGroupRestoreActionInput = z236.object({
6776
- type: z236.literal("DocumentationGroupRestore"),
6785
+ var DTODocumentationGroupRestoreActionInput = z237.object({
6786
+ type: z237.literal("DocumentationGroupRestore"),
6777
6787
  input: DTORestoreDocumentationGroupInput
6778
6788
  });
6779
- var DTODocumentationPageApprovalStateChangeActionInput = z236.object({
6780
- type: z236.literal("DocumentationPageApprovalStateChange"),
6789
+ var DTODocumentationPageApprovalStateChangeActionInput = z237.object({
6790
+ type: z237.literal("DocumentationPageApprovalStateChange"),
6781
6791
  input: DTODocumentationPageApprovalStateChangeInput
6782
6792
  });
6783
6793
 
6784
6794
  // src/api/dto/elements/documentation/page-content.ts
6785
- import { z as z237 } from "zod";
6795
+ import { z as z238 } from "zod";
6786
6796
  var DTODocumentationPageContent = DocumentationPageContent;
6787
- var DTODocumentationPageContentGetResponse = z237.object({
6797
+ var DTODocumentationPageContentGetResponse = z238.object({
6788
6798
  pageContent: DTODocumentationPageContent
6789
6799
  });
6790
6800
 
6791
6801
  // src/api/dto/elements/documentation/page-v1.ts
6792
- import { z as z238 } from "zod";
6802
+ import { z as z239 } from "zod";
6793
6803
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
6794
6804
  data: true,
6795
6805
  meta: true,
@@ -6797,63 +6807,63 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
6797
6807
  sortOrder: true
6798
6808
  }).extend({
6799
6809
  configuration: DTODocumentationItemConfigurationV1,
6800
- blocks: z238.array(PageBlockV1),
6801
- title: z238.string(),
6802
- path: z238.string()
6810
+ blocks: z239.array(PageBlockV1),
6811
+ title: z239.string(),
6812
+ path: z239.string()
6803
6813
  });
6804
6814
 
6805
6815
  // src/api/dto/elements/documentation/structure.ts
6806
- import { z as z239 } from "zod";
6807
- var DTODocumentationStructureItemType = z239.enum(["Group", "Page"]);
6808
- var DTODocumentationStructureItemBase = z239.object({
6816
+ import { z as z240 } from "zod";
6817
+ var DTODocumentationStructureItemType = z240.enum(["Group", "Page"]);
6818
+ var DTODocumentationStructureItemBase = z240.object({
6809
6819
  type: DTODocumentationStructureItemType,
6810
- id: z239.string(),
6811
- designSystemVersionId: z239.string(),
6812
- shortPersistentId: z239.string(),
6813
- persistentId: z239.string(),
6814
- title: z239.string(),
6815
- createdAt: z239.coerce.date(),
6816
- updatedAt: z239.coerce.date()
6820
+ id: z240.string(),
6821
+ designSystemVersionId: z240.string(),
6822
+ shortPersistentId: z240.string(),
6823
+ persistentId: z240.string(),
6824
+ title: z240.string(),
6825
+ createdAt: z240.coerce.date(),
6826
+ updatedAt: z240.coerce.date()
6817
6827
  });
6818
6828
  var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
6819
- type: z239.literal(DTODocumentationStructureItemType.enum.Group),
6820
- groupBehavior: z239.string(),
6821
- childrenIds: z239.string().array(),
6822
- isRoot: z239.boolean()
6829
+ type: z240.literal(DTODocumentationStructureItemType.enum.Group),
6830
+ groupBehavior: z240.string(),
6831
+ childrenIds: z240.string().array(),
6832
+ isRoot: z240.boolean()
6823
6833
  });
6824
6834
  var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
6825
- type: z239.literal(DTODocumentationStructureItemType.enum.Page),
6826
- path: z239.string()
6835
+ type: z240.literal(DTODocumentationStructureItemType.enum.Page),
6836
+ path: z240.string()
6827
6837
  });
6828
- var DTODocumentationStructureItem = z239.discriminatedUnion("type", [
6838
+ var DTODocumentationStructureItem = z240.discriminatedUnion("type", [
6829
6839
  DTODocumentationStructureGroupItem,
6830
6840
  DTODocumentationStructurePageItem
6831
6841
  ]);
6832
- var DTODocumentationStructure = z239.object({
6833
- items: z239.array(DTODocumentationStructureItem)
6842
+ var DTODocumentationStructure = z240.object({
6843
+ items: z240.array(DTODocumentationStructureItem)
6834
6844
  });
6835
6845
 
6836
6846
  // src/api/dto/elements/figma-nodes/figma-node.ts
6837
- import { z as z240 } from "zod";
6847
+ import { z as z241 } from "zod";
6838
6848
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
6839
- var DTOFigmaNodeOrigin = z240.object({
6840
- sourceId: z240.string(),
6841
- fileId: z240.string().optional(),
6842
- parentName: z240.string().optional()
6849
+ var DTOFigmaNodeOrigin = z241.object({
6850
+ sourceId: z241.string(),
6851
+ fileId: z241.string().optional(),
6852
+ parentName: z241.string().optional()
6843
6853
  });
6844
- var DTOFigmaNodeData = z240.object({
6854
+ var DTOFigmaNodeData = z241.object({
6845
6855
  // Id of the node in the Figma file
6846
- figmaNodeId: z240.string(),
6856
+ figmaNodeId: z241.string(),
6847
6857
  // Validity
6848
- isValid: z240.boolean(),
6858
+ isValid: z241.boolean(),
6849
6859
  // Asset data
6850
- assetId: z240.string(),
6851
- assetUrl: z240.string(),
6860
+ assetId: z241.string(),
6861
+ assetUrl: z241.string(),
6852
6862
  assetFormat: DTOFigmaNodeRenderFormat,
6853
6863
  // Asset metadata
6854
- assetScale: z240.number(),
6855
- assetWidth: z240.number().optional(),
6856
- assetHeight: z240.number().optional()
6864
+ assetScale: z241.number(),
6865
+ assetWidth: z241.number().optional(),
6866
+ assetHeight: z241.number().optional()
6857
6867
  });
6858
6868
  var DTOFigmaNode = FigmaNodeReference.omit({
6859
6869
  data: true,
@@ -6862,113 +6872,127 @@ var DTOFigmaNode = FigmaNodeReference.omit({
6862
6872
  data: DTOFigmaNodeData,
6863
6873
  origin: DTOFigmaNodeOrigin
6864
6874
  });
6865
- var DTOFigmaNodeRenderInput = z240.object({
6875
+ var DTOFigmaNodeRenderInputBase = z241.object({
6876
+ /**
6877
+ * Format in which the node must be rendered, png by default.
6878
+ */
6879
+ format: FigmaNodeRenderFormat.default("Png")
6880
+ });
6881
+ var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
6882
+ inputType: z241.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
6866
6883
  /**
6867
6884
  * Id of a design system's data source representing a linked Figma file
6868
6885
  */
6869
- sourceId: z240.string(),
6886
+ sourceId: z241.string(),
6870
6887
  /**
6871
6888
  * Id of a node within the Figma file
6872
6889
  */
6873
- figmaFileNodeId: z240.string(),
6890
+ figmaFileNodeId: z241.string()
6891
+ });
6892
+ var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
6893
+ inputType: z241.literal("URL"),
6874
6894
  /**
6875
- * Format in which the node must be rendered, png by default.
6895
+ * Id of a design system's data source representing a linked Figma file
6876
6896
  */
6877
- format: FigmaNodeRenderFormat.default("Png")
6897
+ figmaNodeUrl: z241.string()
6878
6898
  });
6899
+ var DTOFigmaNodeRenderInput = z241.discriminatedUnion("inputType", [
6900
+ DTOFigmaNodeRenderIdInput,
6901
+ DTOFigmaNodeRenderUrlInput
6902
+ ]);
6879
6903
 
6880
6904
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
6881
- import { z as z241 } from "zod";
6882
- var DTOFigmaNodeRenderActionOutput = z241.object({
6883
- type: z241.literal("FigmaNodeRender"),
6884
- figmaNodes: z241.array(DTOFigmaNode)
6905
+ import { z as z242 } from "zod";
6906
+ var DTOFigmaNodeRenderActionOutput = z242.object({
6907
+ type: z242.literal("FigmaNodeRender"),
6908
+ figmaNodes: z242.array(DTOFigmaNode)
6885
6909
  });
6886
- var DTOFigmaNodeRenderActionInput = z241.object({
6887
- type: z241.literal("FigmaNodeRender"),
6910
+ var DTOFigmaNodeRenderActionInput = z242.object({
6911
+ type: z242.literal("FigmaNodeRender"),
6888
6912
  input: DTOFigmaNodeRenderInput.array()
6889
6913
  });
6890
6914
 
6891
6915
  // src/api/dto/elements/frame-node-structures/frame-node-structure.ts
6892
- import { z as z242 } from "zod";
6893
- var DTOFrameNodeStructure = z242.object({
6894
- id: z242.string(),
6895
- persistentId: z242.string(),
6896
- designSystemVersionId: z242.string(),
6916
+ import { z as z243 } from "zod";
6917
+ var DTOFrameNodeStructure = z243.object({
6918
+ id: z243.string(),
6919
+ persistentId: z243.string(),
6920
+ designSystemVersionId: z243.string(),
6897
6921
  origin: FigmaFileStructureOrigin,
6898
6922
  assetsInFile: FigmaFileStructureStatistics
6899
6923
  });
6900
- var DTOFrameNodeStructureListResponse = z242.object({
6924
+ var DTOFrameNodeStructureListResponse = z243.object({
6901
6925
  structures: DTOFrameNodeStructure.array()
6902
6926
  });
6903
6927
 
6904
6928
  // src/api/dto/elements/properties/property-definitions.ts
6905
- import { z as z243 } from "zod";
6929
+ import { z as z244 } from "zod";
6906
6930
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
6907
- var DTOElementPropertyDefinitionOption = z243.object({
6908
- id: z243.string(),
6909
- name: z243.string(),
6931
+ var DTOElementPropertyDefinitionOption = z244.object({
6932
+ id: z244.string(),
6933
+ name: z244.string(),
6910
6934
  backgroundColor: DTOColorTokenInlineData.optional()
6911
6935
  });
6912
- var DTOElementPropertyDefinition = z243.object({
6913
- id: z243.string(),
6914
- designSystemVersionId: z243.string(),
6936
+ var DTOElementPropertyDefinition = z244.object({
6937
+ id: z244.string(),
6938
+ designSystemVersionId: z244.string(),
6915
6939
  meta: DTOObjectMeta,
6916
- persistentId: z243.string(),
6940
+ persistentId: z244.string(),
6917
6941
  type: ElementPropertyTypeSchema,
6918
6942
  targetElementType: ElementPropertyTargetType,
6919
- codeName: z243.string().regex(CODE_NAME_REGEX2),
6920
- options: nullishToOptional(z243.array(DTOElementPropertyDefinitionOption)),
6943
+ codeName: z244.string().regex(CODE_NAME_REGEX2),
6944
+ options: nullishToOptional(z244.array(DTOElementPropertyDefinitionOption)),
6921
6945
  linkElementType: nullishToOptional(ElementPropertyLinkType),
6922
- isImmutable: z243.boolean(),
6946
+ isImmutable: z244.boolean(),
6923
6947
  immutablePropertyType: ElementPropertyImmutableType.optional()
6924
6948
  });
6925
- var DTOElementPropertyDefinitionListResponse = z243.object({
6926
- definitions: z243.array(DTOElementPropertyDefinition)
6949
+ var DTOElementPropertyDefinitionListResponse = z244.object({
6950
+ definitions: z244.array(DTOElementPropertyDefinition)
6927
6951
  });
6928
- var DTOElementPropertyDefinitionResponse = z243.object({
6952
+ var DTOElementPropertyDefinitionResponse = z244.object({
6929
6953
  definition: DTOElementPropertyDefinition
6930
6954
  });
6931
- var DTOElementPropertyDefinitionCreatePayload = z243.object({
6955
+ var DTOElementPropertyDefinitionCreatePayload = z244.object({
6932
6956
  meta: DTOObjectMeta,
6933
- persistentId: z243.string(),
6957
+ persistentId: z244.string(),
6934
6958
  type: ElementPropertyTypeSchema,
6935
6959
  targetElementType: ElementPropertyTargetType,
6936
- codeName: z243.string().regex(CODE_NAME_REGEX2),
6937
- options: nullishToOptional(z243.array(DTOElementPropertyDefinitionOption)),
6960
+ codeName: z244.string().regex(CODE_NAME_REGEX2),
6961
+ options: nullishToOptional(z244.array(DTOElementPropertyDefinitionOption)),
6938
6962
  linkElementType: nullishToOptional(ElementPropertyLinkType),
6939
- columnWidth: z243.number().max(1024).optional()
6963
+ columnWidth: z244.number().max(1024).optional()
6940
6964
  });
6941
- var DTOElementPropertyDefinitionUpdatePayload = z243.object({
6965
+ var DTOElementPropertyDefinitionUpdatePayload = z244.object({
6942
6966
  meta: DTOObjectMeta.optional(),
6943
- codeName: z243.string().regex(CODE_NAME_REGEX2).optional(),
6944
- options: z243.array(DTOElementPropertyDefinitionOption).optional()
6967
+ codeName: z244.string().regex(CODE_NAME_REGEX2).optional(),
6968
+ options: z244.array(DTOElementPropertyDefinitionOption).optional()
6945
6969
  });
6946
6970
 
6947
6971
  // src/api/dto/elements/properties/property-values.ts
6948
- import { z as z244 } from "zod";
6949
- var DTOElementPropertyValue = z244.object({
6950
- id: z244.string(),
6951
- designSystemVersionId: z244.string(),
6952
- definitionId: z244.string(),
6953
- targetElementId: z244.string(),
6954
- value: z244.union([z244.string(), z244.number(), z244.boolean()]).optional(),
6955
- valuePreview: z244.string().optional()
6956
- });
6957
- var DTOElementPropertyValueListResponse = z244.object({
6958
- values: z244.array(DTOElementPropertyValue)
6959
- });
6960
- var DTOElementPropertyValueResponse = z244.object({
6972
+ import { z as z245 } from "zod";
6973
+ var DTOElementPropertyValue = z245.object({
6974
+ id: z245.string(),
6975
+ designSystemVersionId: z245.string(),
6976
+ definitionId: z245.string(),
6977
+ targetElementId: z245.string(),
6978
+ value: z245.union([z245.string(), z245.number(), z245.boolean()]).optional(),
6979
+ valuePreview: z245.string().optional()
6980
+ });
6981
+ var DTOElementPropertyValueListResponse = z245.object({
6982
+ values: z245.array(DTOElementPropertyValue)
6983
+ });
6984
+ var DTOElementPropertyValueResponse = z245.object({
6961
6985
  value: DTOElementPropertyValue
6962
6986
  });
6963
- var DTOElementPropertyValueUpsertPaylod = z244.object({
6964
- definitionId: z244.string(),
6965
- targetElementId: z244.string(),
6966
- value: z244.string().or(z244.number()).or(z244.boolean())
6987
+ var DTOElementPropertyValueUpsertPaylod = z245.object({
6988
+ definitionId: z245.string(),
6989
+ targetElementId: z245.string(),
6990
+ value: z245.string().or(z245.number()).or(z245.boolean())
6967
6991
  });
6968
6992
 
6969
6993
  // src/api/dto/elements/elements-action-v2.ts
6970
- import { z as z245 } from "zod";
6971
- var DTOElementActionOutput = z245.discriminatedUnion("type", [
6994
+ import { z as z246 } from "zod";
6995
+ var DTOElementActionOutput = z246.discriminatedUnion("type", [
6972
6996
  // Documentation pages
6973
6997
  DTODocumentationPageCreateActionOutputV2,
6974
6998
  DTODocumentationPageUpdateActionOutputV2,
@@ -6991,7 +7015,7 @@ var DTOElementActionOutput = z245.discriminatedUnion("type", [
6991
7015
  // Approvals
6992
7016
  DTODocumentationPageApprovalStateChangeActionOutput
6993
7017
  ]);
6994
- var DTOElementActionInput = z245.discriminatedUnion("type", [
7018
+ var DTOElementActionInput = z246.discriminatedUnion("type", [
6995
7019
  // Documentation pages
6996
7020
  DTODocumentationPageCreateActionInputV2,
6997
7021
  DTODocumentationPageUpdateActionInputV2,
@@ -7016,83 +7040,119 @@ var DTOElementActionInput = z245.discriminatedUnion("type", [
7016
7040
  ]);
7017
7041
 
7018
7042
  // src/api/dto/elements/get-elements-v2.ts
7019
- import { z as z246 } from "zod";
7020
- var DTOElementsGetTypeFilter = z246.enum(["FigmaNode"]);
7021
- var DTOElementsGetQuerySchema = z246.object({
7022
- types: z246.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
7043
+ import { z as z247 } from "zod";
7044
+ var DTOElementsGetTypeFilter = z247.enum(["FigmaNode"]);
7045
+ var DTOElementsGetQuerySchema = z247.object({
7046
+ types: z247.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
7023
7047
  });
7024
- var DTOElementsGetOutput = z246.object({
7025
- figmaNodes: z246.array(DTOFigmaNode).optional()
7048
+ var DTOElementsGetOutput = z247.object({
7049
+ figmaNodes: z247.array(DTOFigmaNode).optional()
7026
7050
  });
7027
7051
 
7028
7052
  // src/api/dto/figma-components/assets/download.ts
7029
- import { z as z247 } from "zod";
7030
- var DTOAssetRenderConfiguration = z247.object({
7031
- prefix: z247.string().optional(),
7032
- suffix: z247.string().optional(),
7033
- scale: z247.enum(["x1", "x2", "x3", "x4"]),
7034
- format: z247.enum(["png", "pdf", "svg"])
7035
- });
7036
- var DTORenderedAssetFile = z247.object({
7037
- assetId: z247.string(),
7038
- fileName: z247.string(),
7039
- sourceUrl: z247.string(),
7053
+ import { z as z248 } from "zod";
7054
+ var DTOAssetRenderConfiguration = z248.object({
7055
+ prefix: z248.string().optional(),
7056
+ suffix: z248.string().optional(),
7057
+ scale: z248.enum(["x1", "x2", "x3", "x4"]),
7058
+ format: z248.enum(["png", "pdf", "svg"])
7059
+ });
7060
+ var DTORenderedAssetFile = z248.object({
7061
+ assetId: z248.string(),
7062
+ fileName: z248.string(),
7063
+ sourceUrl: z248.string(),
7040
7064
  settings: DTOAssetRenderConfiguration,
7041
- originalName: z247.string()
7065
+ originalName: z248.string()
7042
7066
  });
7043
- var DTODownloadAssetsRequest = z247.object({
7044
- persistentIds: z247.array(z247.string().uuid()).optional(),
7067
+ var DTODownloadAssetsRequest = z248.object({
7068
+ persistentIds: z248.array(z248.string().uuid()).optional(),
7045
7069
  settings: DTOAssetRenderConfiguration.array()
7046
7070
  });
7047
- var DTODownloadAssetsResponse = z247.object({
7071
+ var DTODownloadAssetsResponse = z248.object({
7048
7072
  items: DTORenderedAssetFile.array()
7049
7073
  });
7050
7074
 
7051
7075
  // src/api/dto/liveblocks/auth-response.ts
7052
- import { z as z248 } from "zod";
7053
- var DTOLiveblocksAuthResponse = z248.object({
7054
- token: z248.string()
7076
+ import { z as z249 } from "zod";
7077
+ var DTOLiveblocksAuthResponse = z249.object({
7078
+ token: z249.string()
7055
7079
  });
7056
7080
 
7057
7081
  // src/api/dto/themes/override.ts
7058
- import { z as z249 } from "zod";
7082
+ import { z as z250 } from "zod";
7059
7083
  var DTOThemeOverride = DesignTokenTypedData.and(
7060
- z249.object({
7061
- tokenPersistentId: z249.string(),
7084
+ z250.object({
7085
+ tokenPersistentId: z250.string(),
7062
7086
  origin: ThemeOverrideOrigin.optional()
7063
7087
  })
7064
7088
  );
7065
7089
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
7066
- z249.object({
7067
- tokenPersistentId: z249.string()
7090
+ z250.object({
7091
+ tokenPersistentId: z250.string()
7068
7092
  })
7069
7093
  );
7070
7094
 
7071
7095
  // src/api/dto/themes/theme.ts
7072
- import { z as z250 } from "zod";
7073
- var DTOTheme = z250.object({
7074
- id: z250.string(),
7075
- persistentId: z250.string(),
7076
- designSystemVersionId: z250.string(),
7077
- brandId: z250.string(),
7096
+ import { z as z251 } from "zod";
7097
+ var DTOTheme = z251.object({
7098
+ id: z251.string(),
7099
+ persistentId: z251.string(),
7100
+ designSystemVersionId: z251.string(),
7101
+ brandId: z251.string(),
7078
7102
  meta: ObjectMeta,
7079
- codeName: z250.string(),
7103
+ codeName: z251.string(),
7080
7104
  overrides: DTOThemeOverride.array()
7081
7105
  });
7082
- var DTOThemeResponse = z250.object({
7106
+ var DTOThemeResponse = z251.object({
7083
7107
  theme: DTOTheme
7084
7108
  });
7085
- var DTOThemeListResponse = z250.object({
7109
+ var DTOThemeListResponse = z251.object({
7086
7110
  themes: DTOTheme.array()
7087
7111
  });
7088
- var DTOThemeCreatePayload = z250.object({
7112
+ var DTOThemeCreatePayload = z251.object({
7089
7113
  meta: ObjectMeta,
7090
- persistentId: z250.string(),
7091
- brandId: z250.string(),
7092
- codeName: z250.string(),
7114
+ persistentId: z251.string(),
7115
+ brandId: z251.string(),
7116
+ codeName: z251.string(),
7093
7117
  overrides: DTOThemeOverride.array()
7094
7118
  });
7095
7119
 
7120
+ // src/utils/figma.ts
7121
+ var figmaFileIdRegex = /^[0-9a-zA-Z]{22,128}$/;
7122
+ var nodeIdRegex = /^d+-d+$/;
7123
+ var nodeTypeRegex = /^[0-9a-zA-Z]^/;
7124
+ var FigmaUtils = {
7125
+ tryParseFigmaFileURL(urlString) {
7126
+ if (!URL.canParse(urlString))
7127
+ return null;
7128
+ const url = new URL(urlString);
7129
+ if (!url.hostname.endsWith("figma.com"))
7130
+ return null;
7131
+ const pathSegments = url.pathname.split("/");
7132
+ if (pathSegments[0] !== "design" && pathSegments[0] !== "file")
7133
+ return null;
7134
+ const fileId = pathSegments[1];
7135
+ if (!fileId || !fileId.match(figmaFileIdRegex))
7136
+ return null;
7137
+ let fileName = null;
7138
+ const rawFileName = pathSegments[2];
7139
+ if (rawFileName) {
7140
+ fileName = rawFileName.replaceAll("-", " ");
7141
+ }
7142
+ let nodeId = null;
7143
+ const nodeIdRaw = url.searchParams.get("node-id");
7144
+ if (nodeIdRaw && nodeIdRaw.match(nodeIdRegex)) {
7145
+ nodeId = nodeIdRaw.replace("-", ":");
7146
+ }
7147
+ let nodeType = null;
7148
+ const nodeTypeRaw = url.searchParams.get("node-type");
7149
+ if (nodeTypeRaw && nodeTypeRaw.match(nodeTypeRegex)) {
7150
+ nodeType = nodeTypeRaw;
7151
+ }
7152
+ return { fileId, fileName, nodeId, nodeType };
7153
+ }
7154
+ };
7155
+
7096
7156
  // src/utils/hash.ts
7097
7157
  function hash(input) {
7098
7158
  return farmhash(input).toString(16);
@@ -7220,7 +7280,7 @@ var CodegenEndpoint = class {
7220
7280
  };
7221
7281
 
7222
7282
  // src/api/endpoints/design-system/versions/brands.ts
7223
- import { z as z251 } from "zod";
7283
+ import { z as z252 } from "zod";
7224
7284
  var BrandsEndpoint = class {
7225
7285
  constructor(requestExecutor) {
7226
7286
  this.requestExecutor = requestExecutor;
@@ -7254,7 +7314,7 @@ var BrandsEndpoint = class {
7254
7314
  });
7255
7315
  }
7256
7316
  delete(dsId, vId, brandId) {
7257
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z251.any(), {
7317
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z252.any(), {
7258
7318
  method: "DELETE"
7259
7319
  });
7260
7320
  }
@@ -7265,8 +7325,8 @@ var DocumentationEndpoint = class {
7265
7325
  constructor(requestExecutor) {
7266
7326
  this.requestExecutor = requestExecutor;
7267
7327
  }
7268
- getStructure(designSystemId, versionId) {
7269
- return this.requestExecutor.json(
7328
+ async getStructure(designSystemId, versionId) {
7329
+ return await this.requestExecutor.json(
7270
7330
  `/design-systems/${designSystemId}/versions/${versionId}/documentation/structure`,
7271
7331
  DTODocumentationStructure
7272
7332
  );
@@ -7274,10 +7334,13 @@ var DocumentationEndpoint = class {
7274
7334
  async getDocStructure(dsId, vId) {
7275
7335
  return await this.requestExecutor.json(
7276
7336
  `/design-systems/${dsId}/versions/${vId}/documentation/structure`,
7277
- DTODocumentationStructure,
7278
- {
7279
- method: "GET"
7280
- }
7337
+ DTODocumentationStructure
7338
+ );
7339
+ }
7340
+ async getPageRoom(dsId, vId, pageId) {
7341
+ return await this.requestExecutor.json(
7342
+ `/design-systems/${dsId}/versions/${vId}/documentation/pages/${pageId}/room`,
7343
+ DTODocumentationPageRoomResponse
7281
7344
  );
7282
7345
  }
7283
7346
  };
@@ -7408,7 +7471,7 @@ var ImportJobsEndpoint = class {
7408
7471
  };
7409
7472
 
7410
7473
  // src/api/endpoints/design-system/versions/overrides.ts
7411
- import { z as z252 } from "zod";
7474
+ import { z as z253 } from "zod";
7412
7475
  var OverridesEndpoint = class {
7413
7476
  constructor(requestExecutor) {
7414
7477
  this.requestExecutor = requestExecutor;
@@ -7416,7 +7479,7 @@ var OverridesEndpoint = class {
7416
7479
  create(dsId, versionId, themeId, body) {
7417
7480
  return this.requestExecutor.json(
7418
7481
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
7419
- z252.any(),
7482
+ z253.any(),
7420
7483
  {
7421
7484
  method: "POST",
7422
7485
  body
@@ -7426,7 +7489,7 @@ var OverridesEndpoint = class {
7426
7489
  };
7427
7490
 
7428
7491
  // src/api/endpoints/design-system/versions/property-definitions.ts
7429
- import { z as z253 } from "zod";
7492
+ import { z as z254 } from "zod";
7430
7493
  var ElementPropertyDefinitionsEndpoint = class {
7431
7494
  constructor(requestExecutor) {
7432
7495
  this.requestExecutor = requestExecutor;
@@ -7454,7 +7517,7 @@ var ElementPropertyDefinitionsEndpoint = class {
7454
7517
  delete(designSystemId, versionId, defId) {
7455
7518
  return this.requestExecutor.json(
7456
7519
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
7457
- z253.any(),
7520
+ z254.any(),
7458
7521
  { method: "DELETE" }
7459
7522
  );
7460
7523
  }
@@ -7493,7 +7556,7 @@ var VersionStatsEndpoint = class {
7493
7556
  };
7494
7557
 
7495
7558
  // src/api/endpoints/design-system/versions/themes.ts
7496
- import { z as z254 } from "zod";
7559
+ import { z as z255 } from "zod";
7497
7560
  var ThemesEndpoint = class {
7498
7561
  constructor(requestExecutor) {
7499
7562
  this.requestExecutor = requestExecutor;
@@ -7516,7 +7579,7 @@ var ThemesEndpoint = class {
7516
7579
  });
7517
7580
  }
7518
7581
  delete(dsId, versionId, themeId) {
7519
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z254.any(), {
7582
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z255.any(), {
7520
7583
  method: "DELETE"
7521
7584
  });
7522
7585
  }
@@ -7663,7 +7726,7 @@ var DesignSystemContactsEndpoint = class {
7663
7726
  };
7664
7727
 
7665
7728
  // src/api/endpoints/design-system/design-systems.ts
7666
- import { z as z256 } from "zod";
7729
+ import { z as z257 } from "zod";
7667
7730
 
7668
7731
  // src/api/endpoints/design-system/members.ts
7669
7732
  var DesignSystemMembersEndpoint = class {
@@ -7684,7 +7747,7 @@ var DesignSystemMembersEndpoint = class {
7684
7747
  };
7685
7748
 
7686
7749
  // src/api/endpoints/design-system/sources.ts
7687
- import { z as z255 } from "zod";
7750
+ import { z as z256 } from "zod";
7688
7751
  var DesignSystemSourcesEndpoint = class {
7689
7752
  constructor(requestExecutor) {
7690
7753
  this.requestExecutor = requestExecutor;
@@ -7699,7 +7762,7 @@ var DesignSystemSourcesEndpoint = class {
7699
7762
  return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourcesListResponse);
7700
7763
  }
7701
7764
  delete(dsId, sourceId) {
7702
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z255.any(), { method: "DELETE" });
7765
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z256.any(), { method: "DELETE" });
7703
7766
  }
7704
7767
  figmaImport(dsId, payload) {
7705
7768
  return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/cloud-import`, DTOImportJobResponse, {
@@ -7734,7 +7797,7 @@ var DesignSystemsEndpoint = class {
7734
7797
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
7735
7798
  }
7736
7799
  delete(dsId) {
7737
- return this.requestExecutor.json(`/design-systems/${dsId}`, z256.any(), { method: "DELETE" });
7800
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z257.any(), { method: "DELETE" });
7738
7801
  }
7739
7802
  update(dsId, body) {
7740
7803
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -7778,7 +7841,7 @@ var WorkspaceInvitationsEndpoint = class {
7778
7841
  };
7779
7842
 
7780
7843
  // src/api/endpoints/workspaces/workspace-members.ts
7781
- import { z as z257 } from "zod";
7844
+ import { z as z258 } from "zod";
7782
7845
  var WorkspaceMembersEndpoint = class {
7783
7846
  constructor(requestExecutor) {
7784
7847
  this.requestExecutor = requestExecutor;
@@ -7795,7 +7858,7 @@ var WorkspaceMembersEndpoint = class {
7795
7858
  });
7796
7859
  }
7797
7860
  invite(workspaceId, body) {
7798
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z257.any(), { method: "POST", body });
7861
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z258.any(), { method: "POST", body });
7799
7862
  }
7800
7863
  delete(workspaceId, userId) {
7801
7864
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -7805,7 +7868,7 @@ var WorkspaceMembersEndpoint = class {
7805
7868
  };
7806
7869
 
7807
7870
  // src/api/endpoints/workspaces/workspaces.ts
7808
- import { z as z258 } from "zod";
7871
+ import { z as z259 } from "zod";
7809
7872
  var WorkspacesEndpoint = class {
7810
7873
  constructor(requestExecutor) {
7811
7874
  this.requestExecutor = requestExecutor;
@@ -7828,10 +7891,10 @@ var WorkspacesEndpoint = class {
7828
7891
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
7829
7892
  }
7830
7893
  delete(workspaceId) {
7831
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z258.any(), { method: "DELETE" });
7894
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z259.any(), { method: "DELETE" });
7832
7895
  }
7833
7896
  subscription(workspaceId) {
7834
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z258.any(), { method: "GET" });
7897
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z259.any(), { method: "GET" });
7835
7898
  }
7836
7899
  transferOwnership(workspaceId, body) {
7837
7900
  return this.requestExecutor.json(`/workspaces/${workspaceId}/ownership`, DTOWorkspaceResponse, {
@@ -7918,9 +7981,9 @@ ${bodyText}`,
7918
7981
 
7919
7982
  // src/api/transport/request-executor.ts
7920
7983
  import fetch from "node-fetch";
7921
- import { z as z259 } from "zod";
7922
- var ResponseWrapper = z259.object({
7923
- result: z259.record(z259.any())
7984
+ import { z as z260 } from "zod";
7985
+ var ResponseWrapper = z260.object({
7986
+ result: z260.record(z260.any())
7924
7987
  });
7925
7988
  var RequestExecutor = class {
7926
7989
  constructor(testServerConfig) {
@@ -7976,6 +8039,19 @@ var RequestExecutor = class {
7976
8039
  }
7977
8040
  };
7978
8041
 
8042
+ // src/api/endpoints/liveblocks.ts
8043
+ var LiveblocksEndpoint = class {
8044
+ constructor(requestExecutor) {
8045
+ this.requestExecutor = requestExecutor;
8046
+ }
8047
+ auth(body) {
8048
+ return this.requestExecutor.json("/liveblocks/auth", DTOLiveblocksAuthResponse, {
8049
+ method: "POST",
8050
+ body
8051
+ });
8052
+ }
8053
+ };
8054
+
7979
8055
  // src/api/client.ts
7980
8056
  var SupernovaApiClient = class {
7981
8057
  constructor(config) {
@@ -7983,6 +8059,7 @@ var SupernovaApiClient = class {
7983
8059
  __publicField(this, "workspaces");
7984
8060
  __publicField(this, "designSystems");
7985
8061
  __publicField(this, "codegen");
8062
+ __publicField(this, "liveblocks");
7986
8063
  const requestExecutor = new RequestExecutor({
7987
8064
  host: config.host,
7988
8065
  accessToken: config.accessToken
@@ -7991,11 +8068,12 @@ var SupernovaApiClient = class {
7991
8068
  this.workspaces = new WorkspacesEndpoint(requestExecutor);
7992
8069
  this.designSystems = new DesignSystemsEndpoint(requestExecutor);
7993
8070
  this.codegen = new CodegenEndpoint(requestExecutor);
8071
+ this.liveblocks = new LiveblocksEndpoint(requestExecutor);
7994
8072
  }
7995
8073
  };
7996
8074
 
7997
8075
  // src/yjs/design-system-content/documentation-hierarchy.ts
7998
- import { z as z260 } from "zod";
8076
+ import { z as z261 } from "zod";
7999
8077
 
8000
8078
  // src/yjs/version-room/base.ts
8001
8079
  var VersionRoomBaseYDoc = class {
@@ -8525,24 +8603,24 @@ var FrontendVersionRoomYDoc = class {
8525
8603
  };
8526
8604
 
8527
8605
  // src/yjs/design-system-content/documentation-hierarchy.ts
8528
- var DocumentationHierarchySettings = z260.object({
8529
- routingVersion: z260.string(),
8530
- isDraftFeatureAdopted: z260.boolean(),
8531
- isApprovalFeatureEnabled: z260.boolean(),
8532
- approvalRequiredForPublishing: z260.boolean()
8606
+ var DocumentationHierarchySettings = z261.object({
8607
+ routingVersion: z261.string(),
8608
+ isDraftFeatureAdopted: z261.boolean(),
8609
+ isApprovalFeatureEnabled: z261.boolean(),
8610
+ approvalRequiredForPublishing: z261.boolean()
8533
8611
  });
8534
8612
  function yjsToDocumentationHierarchy(doc) {
8535
8613
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
8536
8614
  }
8537
8615
 
8538
8616
  // src/yjs/design-system-content/item-configuration.ts
8539
- import { z as z261 } from "zod";
8540
- var DTODocumentationPageRoomHeaderData = z261.object({
8541
- title: z261.string(),
8617
+ import { z as z262 } from "zod";
8618
+ var DTODocumentationPageRoomHeaderData = z262.object({
8619
+ title: z262.string(),
8542
8620
  configuration: DTODocumentationItemConfigurationV2
8543
8621
  });
8544
- var DTODocumentationPageRoomHeaderDataUpdate = z261.object({
8545
- title: z261.string().optional(),
8622
+ var DTODocumentationPageRoomHeaderDataUpdate = z262.object({
8623
+ title: z262.string().optional(),
8546
8624
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
8547
8625
  });
8548
8626
  function itemConfigurationToYjs(yDoc, item) {
@@ -8593,7 +8671,7 @@ function yjsToItemConfiguration(yDoc) {
8593
8671
  header: rawHeader
8594
8672
  };
8595
8673
  return {
8596
- title: z261.string().parse(title),
8674
+ title: z262.string().parse(title),
8597
8675
  configuration: DTODocumentationItemConfigurationV2.parse(rawConfig)
8598
8676
  };
8599
8677
  }
@@ -8603,9 +8681,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
8603
8681
  var PageSectionEditorModel = PageSectionEditorModelV2;
8604
8682
 
8605
8683
  // src/yjs/docs-editor/model/page.ts
8606
- import { z as z262 } from "zod";
8607
- var DocumentationPageEditorModel = z262.object({
8608
- blocks: z262.array(DocumentationPageContentItem)
8684
+ import { z as z263 } from "zod";
8685
+ var DocumentationPageEditorModel = z263.object({
8686
+ blocks: z263.array(DocumentationPageContentItem)
8609
8687
  });
8610
8688
 
8611
8689
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -12126,7 +12204,7 @@ var blocks = [
12126
12204
 
12127
12205
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
12128
12206
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
12129
- import { z as z263 } from "zod";
12207
+ import { z as z264 } from "zod";
12130
12208
  function yDocToPage(yDoc, definitions) {
12131
12209
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
12132
12210
  }
@@ -12206,7 +12284,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
12206
12284
  return null;
12207
12285
  return {
12208
12286
  id,
12209
- title: getProsemirrorAttribute(prosemirrorNode, "title", z263.string()) ?? "",
12287
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z264.string()) ?? "",
12210
12288
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
12211
12289
  };
12212
12290
  }
@@ -12241,7 +12319,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
12241
12319
  });
12242
12320
  }
12243
12321
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
12244
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z263.string());
12322
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z264.string());
12245
12323
  if (!definitionId) {
12246
12324
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
12247
12325
  return [];
@@ -12283,7 +12361,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
12283
12361
  if (!id)
12284
12362
  return null;
12285
12363
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
12286
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z263.string().optional()));
12364
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z264.string().optional()));
12287
12365
  return {
12288
12366
  id,
12289
12367
  type: "Block",
@@ -12411,10 +12489,10 @@ function parseRichTextAttribute(mark) {
12411
12489
  return null;
12412
12490
  }
12413
12491
  function parseProsemirrorLink(mark) {
12414
- const href = getProsemirrorAttribute(mark, "href", z263.string().optional());
12492
+ const href = getProsemirrorAttribute(mark, "href", z264.string().optional());
12415
12493
  if (!href)
12416
12494
  return null;
12417
- const target = getProsemirrorAttribute(mark, "target", z263.string().optional());
12495
+ const target = getProsemirrorAttribute(mark, "target", z264.string().optional());
12418
12496
  const openInNewTab = target === "_blank";
12419
12497
  if (href.startsWith("@")) {
12420
12498
  return {
@@ -12433,10 +12511,10 @@ function parseProsemirrorLink(mark) {
12433
12511
  }
12434
12512
  }
12435
12513
  function parseProsemirrorCommentHighlight(mark) {
12436
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z263.string().optional());
12514
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z264.string().optional());
12437
12515
  if (!highlightId)
12438
12516
  return null;
12439
- const isResolved = getProsemirrorAttribute(mark, "resolved", z263.boolean().optional()) ?? false;
12517
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z264.boolean().optional()) ?? false;
12440
12518
  return {
12441
12519
  type: "Comment",
12442
12520
  commentHighlightId: highlightId,
@@ -12448,7 +12526,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
12448
12526
  if (!id)
12449
12527
  return null;
12450
12528
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
12451
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z263.boolean().optional()) !== false;
12529
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z264.boolean().optional()) !== false;
12452
12530
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
12453
12531
  if (!tableChild) {
12454
12532
  return emptyTable(id, variantId, 0);
@@ -12495,9 +12573,9 @@ function parseAsTableCell(prosemirrorNode) {
12495
12573
  const id = getProsemirrorBlockId(prosemirrorNode);
12496
12574
  if (!id)
12497
12575
  return null;
12498
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z263.string().optional());
12576
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z264.string().optional());
12499
12577
  let columnWidth;
12500
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z263.array(z263.number()).nullish());
12578
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z264.array(z264.number()).nullish());
12501
12579
  if (columnWidthArray) {
12502
12580
  columnWidth = roundDimension(columnWidthArray[0]);
12503
12581
  }
@@ -12535,7 +12613,7 @@ function parseAsTableNode(prosemirrorNode) {
12535
12613
  value: parseRichText(prosemirrorNode.content ?? [])
12536
12614
  };
12537
12615
  case "image":
12538
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z263.string());
12616
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z264.string());
12539
12617
  if (!items)
12540
12618
  return null;
12541
12619
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
@@ -12655,7 +12733,7 @@ function definitionExpectsPlaceholderItem(definition) {
12655
12733
  );
12656
12734
  }
12657
12735
  function parseBlockItems(prosemirrorNode, definition) {
12658
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z263.string());
12736
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z264.string());
12659
12737
  if (!itemsString)
12660
12738
  return null;
12661
12739
  const itemsJson = JSON.parse(itemsString);
@@ -12667,18 +12745,18 @@ function parseBlockItems(prosemirrorNode, definition) {
12667
12745
  }
12668
12746
  function parseAppearance(prosemirrorNode) {
12669
12747
  let appearance = {};
12670
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z263.string().optional());
12748
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z264.string().optional());
12671
12749
  if (rawAppearanceString) {
12672
12750
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
12673
12751
  if (parsedAppearance.success) {
12674
12752
  appearance = parsedAppearance.data;
12675
12753
  }
12676
12754
  }
12677
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z263.number().optional());
12755
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z264.number().optional());
12678
12756
  if (columns) {
12679
12757
  appearance.numberOfColumns = columns;
12680
12758
  }
12681
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z263.string().optional());
12759
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z264.string().optional());
12682
12760
  if (backgroundColor) {
12683
12761
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
12684
12762
  if (parsedColor.success) {
@@ -12773,13 +12851,13 @@ function valueSchemaForPropertyType(type) {
12773
12851
  }
12774
12852
  }
12775
12853
  function getProsemirrorBlockId(prosemirrorNode) {
12776
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z263.string());
12854
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z264.string());
12777
12855
  if (!id)
12778
12856
  console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
12779
12857
  return id;
12780
12858
  }
12781
12859
  function getProsemirrorBlockVariantId(prosemirrorNode) {
12782
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z263.string()));
12860
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z264.string()));
12783
12861
  }
12784
12862
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
12785
12863
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -12955,8 +13033,10 @@ export {
12955
13033
  DTODocumentationPageMoveActionOutputV2,
12956
13034
  DTODocumentationPageRestoreActionInput,
12957
13035
  DTODocumentationPageRestoreActionOutput,
13036
+ DTODocumentationPageRoom,
12958
13037
  DTODocumentationPageRoomHeaderData,
12959
13038
  DTODocumentationPageRoomHeaderDataUpdate,
13039
+ DTODocumentationPageRoomResponse,
12960
13040
  DTODocumentationPageSnapshot,
12961
13041
  DTODocumentationPageUpdateActionInputV2,
12962
13042
  DTODocumentationPageUpdateActionOutputV2,
@@ -13143,6 +13223,7 @@ export {
13143
13223
  FigmaComponentGroupsEndpoint,
13144
13224
  FigmaComponentsEndpoint,
13145
13225
  FigmaFrameStructuresEndpoint,
13226
+ FigmaUtils,
13146
13227
  FormattedCollections,
13147
13228
  FrontendVersionRoomYDoc,
13148
13229
  ImportJobsEndpoint,