@supernova-studio/client 1.15.0 → 1.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -216,6 +216,7 @@ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr)
216
216
 
217
217
 
218
218
 
219
+
219
220
 
220
221
 
221
222
  var __defProp2 = Object.defineProperty;
@@ -5146,17 +5147,28 @@ var ForgeProjectArtifactContent = _zod.z.object({
5146
5147
  updatedAt: _zod.z.coerce.date(),
5147
5148
  data: ForgeProjectArtifactContentData
5148
5149
  });
5150
+ var ForgeProjectSectionChildType = _zod.z.enum(["Artifact", "Feature"]);
5151
+ var SortOrder = _zod.z.number().int().min(0);
5152
+ var ForgeSection = _zod.z.object({
5153
+ id: Id,
5154
+ projectId: _zod.z.string(),
5155
+ name: _zod.z.string(),
5156
+ sortOrder: SortOrder.default(0),
5157
+ createdAt: _zod.z.coerce.date(),
5158
+ updatedAt: _zod.z.coerce.date(),
5159
+ childType: ForgeProjectSectionChildType
5160
+ });
5149
5161
  var ForgeProjectArtifact = _zod.z.object({
5150
- id: _zod.z.string(),
5162
+ id: Id,
5151
5163
  projectId: _zod.z.string(),
5152
5164
  iterationId: _zod.z.string().nullish(),
5153
5165
  title: _zod.z.string(),
5154
5166
  previewUrl: _zod.z.string().nullish(),
5155
- path: _zod.z.string(),
5156
- sortOrder: _zod.z.number().default(0),
5167
+ sortOrder: SortOrder.default(0),
5157
5168
  createdAt: _zod.z.coerce.date(),
5158
5169
  updatedAt: _zod.z.coerce.date(),
5159
- createdByUserId: _zod.z.string()
5170
+ createdByUserId: _zod.z.string(),
5171
+ sectionId: Id.optional()
5160
5172
  });
5161
5173
  var ForgeProjectContextDependency = _zod.z.object({
5162
5174
  packageName: _zod.z.string(),
@@ -5188,10 +5200,10 @@ var ProjectFeature = _zod.z.object({
5188
5200
  description: _zod.z.string(),
5189
5201
  id: Id,
5190
5202
  isArchived: _zod.z.boolean().optional(),
5191
- name: Id,
5203
+ name: _zod.z.string(),
5192
5204
  projectId: _zod.z.string(),
5193
5205
  sectionId: Id.optional(),
5194
- sortOrder: _zod.z.number().int().min(0),
5206
+ sortOrder: SortOrder.default(0),
5195
5207
  updatedAt: _zod.z.coerce.date().optional()
5196
5208
  });
5197
5209
  var ForgeProjectRole = _zod.z.enum(["Viewer", "Editor", "Admin"]);
@@ -5253,7 +5265,8 @@ var ForgeProjectRoomUpdate = _zod.z.object({
5253
5265
  artifacts: _zod.z.array(ForgeProjectArtifact).optional(),
5254
5266
  artifactIdsToDelete: _zod.z.array(_zod.z.string()).optional(),
5255
5267
  features: _zod.z.array(ProjectFeature).optional(),
5256
- featureIdsToDelete: _zod.z.array(_zod.z.string()).optional()
5268
+ featureIdsToDelete: _zod.z.array(_zod.z.string()).optional(),
5269
+ executedTransactionIds: _zod.z.string().array().optional()
5257
5270
  });
5258
5271
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5259
5272
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
@@ -9045,24 +9058,49 @@ var DTODeleteForgeIterationMessageResponse = _zod.z.object({
9045
9058
 
9046
9059
  // src/api/dto/forge/project-artifact.ts
9047
9060
 
9048
- var omitProps = {
9049
- projectId: true,
9050
- createdByUserId: true,
9051
- createdAt: true,
9052
- updatedAt: true
9053
- };
9061
+
9062
+ // src/api/dto/forge/project-section.ts
9063
+
9064
+ var AfterSectionId = _zod2.default.string().uuid().nullish().optional();
9065
+ var DTOForgeSection = ForgeSection;
9066
+ var DTOForgeSectionCreateInput = DTOForgeSection.pick({
9067
+ id: true,
9068
+ name: true,
9069
+ childType: true
9070
+ }).extend({
9071
+ afterSectionId: AfterSectionId
9072
+ });
9073
+ var DTOForgeSectionUpdateInput = DTOForgeSection.pick({ id: true, name: true });
9074
+ var DTOForgeSectionDeleteInput = DTOForgeSection.pick({ id: true }).extend({
9075
+ deleteChildren: _zod2.default.boolean().default(false)
9076
+ });
9077
+ var DTOForgeSectionMoveInput = DTOForgeSection.pick({ id: true }).extend({
9078
+ afterSectionId: AfterSectionId
9079
+ });
9080
+ var DTOForgeSectionItemMoveInput = _zod2.default.object({
9081
+ id: Id,
9082
+ sectionId: Id.nullish().optional(),
9083
+ // undefined=stay, null=no section, string=move to section
9084
+ afterId: Id.nullish().optional()
9085
+ // undefined=end, null=beginning, string=after artifact
9086
+ });
9087
+
9088
+ // src/api/dto/forge/project-artifact.ts
9054
9089
  var DTOForgeProjectArtifact = ForgeProjectArtifact;
9055
- var DTOForgeProjectArtifactUpdateInput = DTOForgeProjectArtifact.omit({
9056
- ...omitProps,
9057
- iterationId: true
9058
- }).partial().extend({
9059
- id: ForgeProjectArtifact.shape.id
9060
- // explicitly reintroduce required id
9061
- });
9062
- var DTOForgeProjectArtifactCreateInput = DTOForgeProjectArtifact.omit(omitProps);
9090
+ var DTOForgeProjectArtifactUpdateInput = _zod.z.object({
9091
+ id: _zod.z.string(),
9092
+ title: _zod.z.string().optional()
9093
+ });
9094
+ var DTOForgeProjectArtifactCreateInput = _zod.z.object({
9095
+ id: _zod.z.string(),
9096
+ title: _zod.z.string(),
9097
+ sectionId: _zod.z.string().optional(),
9098
+ afterArtifactId: _zod.z.string().optional().nullable()
9099
+ });
9063
9100
  var DTOForgeProjectArtifactDeleteInput = _zod.z.object({
9064
- id: _zod.z.string()
9101
+ id: Id
9065
9102
  });
9103
+ var DTOForgeProjectArtifactMoveInput = DTOForgeSectionItemMoveInput;
9066
9104
  var DTOForgeProjectArtifactGetResponse = _zod.z.object({
9067
9105
  artifact: DTOForgeProjectArtifact
9068
9106
  });
@@ -9075,13 +9113,15 @@ var DTOForgeProjectArtifactUpdateResponse = _zod.z.object({
9075
9113
  var DTOForgeProjectArtifactDeleteResponse = _zod.z.object({
9076
9114
  ok: _zod.z.literal(true)
9077
9115
  });
9116
+ var DTOForgeProjectArtifactMoveResponse = _zod.z.object({
9117
+ artifact: DTOForgeProjectArtifact
9118
+ });
9078
9119
  var DTOForgeProjectArtifactsListResponse = _zod.z.object({
9079
9120
  artifacts: _zod.z.array(DTOForgeProjectArtifact)
9080
9121
  });
9081
9122
 
9082
9123
  // src/api/dto/forge/project-feature.ts
9083
9124
 
9084
- var Id2 = _zod2.default.string().uuid();
9085
9125
  var DTOForgeProjectFeature = ProjectFeature;
9086
9126
  var DTOForgeProjectFeatureListResponse = _zod2.default.object({
9087
9127
  features: DTOForgeProjectFeature.array()
@@ -9090,26 +9130,22 @@ var DTOForgeProjectFeatureGetResponse = _zod2.default.object({
9090
9130
  feature: DTOForgeProjectFeature
9091
9131
  });
9092
9132
  var DTOForgeProjectFeatureCreateInput = _zod2.default.object({
9093
- id: Id2,
9133
+ id: Id,
9094
9134
  name: _zod2.default.string(),
9095
9135
  description: _zod2.default.string(),
9096
- sectionId: Id2.optional(),
9097
- afterFeatureId: Id2.nullable().optional()
9136
+ sectionId: Id.optional(),
9137
+ afterFeatureId: Id.nullable().optional()
9098
9138
  });
9099
9139
  var DTOForgeProjectFeatureUpdateInput = _zod2.default.object({
9100
- id: Id2,
9140
+ id: Id,
9101
9141
  name: _zod2.default.string().optional(),
9102
9142
  description: _zod2.default.string().optional(),
9103
9143
  isArchived: _zod2.default.boolean().optional()
9104
9144
  });
9105
9145
  var DTOForgeProjectFeatureDeleteInput = _zod2.default.object({
9106
- id: Id2
9107
- });
9108
- var DTOForgeProjectFeatureMoveInput = _zod2.default.object({
9109
- id: Id2,
9110
- sectionId: Id2.optional(),
9111
- afterFeatureId: Id2.nullable().optional()
9146
+ id: Id
9112
9147
  });
9148
+ var DTOForgeProjectFeatureMoveInput = DTOForgeSectionItemMoveInput;
9113
9149
 
9114
9150
  // src/api/dto/forge/project-action.ts
9115
9151
  var DTOForgeProjectActionFeatureCreate = _zod2.default.object({
@@ -9118,7 +9154,11 @@ var DTOForgeProjectActionFeatureCreate = _zod2.default.object({
9118
9154
  });
9119
9155
  var DTOForgeProjectActionFeatureUpdate = _zod2.default.object({
9120
9156
  type: _zod2.default.literal("FeatureUpdate"),
9121
- input: DTOForgeProjectFeatureCreateInput
9157
+ input: DTOForgeProjectFeatureUpdateInput
9158
+ });
9159
+ var DTOForgeProjectActionFeatureMove = _zod2.default.object({
9160
+ type: _zod2.default.literal("FeatureMove"),
9161
+ input: DTOForgeProjectFeatureMoveInput
9122
9162
  });
9123
9163
  var DTOForgeProjectActionFeatureDelete = _zod2.default.object({
9124
9164
  type: _zod2.default.literal("FeatureDelete"),
@@ -9136,14 +9176,47 @@ var DTOForgeProjectActionArtifactDelete = _zod2.default.object({
9136
9176
  type: _zod2.default.literal("ArtifactDelete"),
9137
9177
  input: DTOForgeProjectArtifactDeleteInput
9138
9178
  });
9179
+ var DTOForgeProjectActionArtifactMove = _zod2.default.object({
9180
+ type: _zod2.default.literal("ArtifactMove"),
9181
+ input: DTOForgeProjectArtifactMoveInput
9182
+ });
9183
+ var DTOForgeProjectActionSectionCreate = _zod2.default.object({
9184
+ type: _zod2.default.literal("SectionCreate"),
9185
+ input: DTOForgeSectionCreateInput
9186
+ });
9187
+ var DTOForgeProjectActionSectionUpdate = _zod2.default.object({
9188
+ type: _zod2.default.literal("SectionUpdate"),
9189
+ input: DTOForgeSectionUpdateInput
9190
+ });
9191
+ var DTOForgeProjectActionSectionDelete = _zod2.default.object({
9192
+ type: _zod2.default.literal("SectionDelete"),
9193
+ input: DTOForgeSectionDeleteInput
9194
+ });
9195
+ var DTOForgeProjectActionSectionMove = _zod2.default.object({
9196
+ type: _zod2.default.literal("SectionMove"),
9197
+ input: DTOForgeSectionMoveInput
9198
+ });
9139
9199
  var DTOForgeProjectAction = _zod2.default.discriminatedUnion("type", [
9200
+ //features
9140
9201
  DTOForgeProjectActionFeatureCreate,
9141
9202
  DTOForgeProjectActionFeatureUpdate,
9142
9203
  DTOForgeProjectActionFeatureDelete,
9204
+ DTOForgeProjectActionFeatureMove,
9205
+ //artifacts
9143
9206
  DTOForgeProjectActionArtifactCreate,
9144
9207
  DTOForgeProjectActionArtifactUpdate,
9145
- DTOForgeProjectActionArtifactDelete
9146
- ]);
9208
+ DTOForgeProjectActionArtifactDelete,
9209
+ DTOForgeProjectActionArtifactMove,
9210
+ //section
9211
+ DTOForgeProjectActionSectionCreate,
9212
+ DTOForgeProjectActionSectionUpdate,
9213
+ DTOForgeProjectActionSectionDelete,
9214
+ DTOForgeProjectActionSectionMove
9215
+ ]).and(
9216
+ _zod2.default.object({
9217
+ tId: _zod2.default.string().optional()
9218
+ })
9219
+ );
9147
9220
 
9148
9221
  // src/api/dto/forge/project-artifact-room.ts
9149
9222
 
@@ -11461,88 +11534,378 @@ var DTOEventDataSourcesImported = _zod.z.object({
11461
11534
 
11462
11535
  var DTOEvent = _zod.z.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
11463
11536
 
11464
- // src/sync/docs-structure-repo.ts
11465
- var _pqueue = require('p-queue'); var _pqueue2 = _interopRequireDefault(_pqueue);
11466
-
11467
- // src/yjs/design-system-content/documentation-hierarchy.ts
11468
-
11469
-
11470
- // src/yjs/version-room/base.ts
11471
- var VersionRoomBaseYDoc = class {
11472
- constructor(yDoc) {
11473
- __publicField(this, "yDoc");
11474
- this.yDoc = yDoc;
11537
+ // src/sync/docs-local-action-executor.ts
11538
+ function applyActionsLocally(input) {
11539
+ const actionExecutor = new LocalDocsElementActionExecutor(input);
11540
+ actionExecutor.applyActions(input.actions);
11541
+ return actionExecutor.localState;
11542
+ }
11543
+ var LocalDocsElementActionExecutor = class {
11544
+ constructor(config) {
11545
+ __publicField(this, "userId");
11546
+ __publicField(this, "designSystemVersionId");
11547
+ __publicField(this, "pages");
11548
+ __publicField(this, "groups");
11549
+ __publicField(this, "approvalStates");
11550
+ __publicField(this, "pageLiveblockRoomIds");
11551
+ const { designSystemVersionId, remoteState, userId } = config;
11552
+ this.userId = userId;
11553
+ this.designSystemVersionId = designSystemVersionId;
11554
+ this.pages = mapByUnique(remoteState.pages, (p) => p.persistentId);
11555
+ this.groups = mapByUnique(remoteState.groups, (p) => p.persistentId);
11556
+ this.approvalStates = mapByUnique(remoteState.approvals, (a) => a.pagePersistentId);
11557
+ this.pageLiveblockRoomIds = { ...remoteState.pageLiveblockRoomIds };
11475
11558
  }
11476
- getState() {
11477
- const groups = this.getGroups();
11478
- const isLoaded = !!groups.length;
11559
+ get localState() {
11479
11560
  return {
11480
- isLoaded,
11481
- groups,
11482
- pages: this.getPages(),
11483
- approvals: this.getApprovals(),
11484
- groupSnapshots: this.getGroupSnapshots(),
11485
- pageContentHashes: this.getDocumentationPageContentHashes(),
11486
- pageSnapshots: this.getPageSnapshots(),
11487
- settings: this.getDocumentationInternalSettings(),
11488
- pageLiveblockRoomIds: this.getDocumentationPageLiveblocksRoomIds(),
11489
- executedTransactionIds: this.getExecutedTransactionIds()
11561
+ pages: Array.from(this.pages.values()),
11562
+ groups: Array.from(this.groups.values()),
11563
+ approvals: Array.from(this.approvalStates.values()),
11564
+ pageLiveblockRoomIds: this.pageLiveblockRoomIds
11490
11565
  };
11491
11566
  }
11492
- //
11493
- // Pages
11494
- //
11495
- getPages() {
11496
- return this.getObjects(this.pagesYMap, DocumentationPageV2);
11497
- }
11498
- updatePages(pages) {
11499
- pages = pages.map((page) => {
11500
- return {
11501
- ...page,
11502
- data: {
11503
- configuration: page.data.configuration
11504
- }
11505
- };
11506
- });
11507
- this.setObjects(this.pagesYMap, pages);
11508
- }
11509
- deletePages(ids) {
11510
- this.deleteObjects(this.pagesYMap, ids);
11567
+ applyActions(trx) {
11568
+ trx.forEach((trx2) => this.applyTransaction(trx2));
11511
11569
  }
11512
- get pagesYMap() {
11513
- return this.yDoc.getMap("documentationPages");
11570
+ applyTransaction(trx) {
11571
+ switch (trx.type) {
11572
+ // Groups
11573
+ case "DocumentationGroupCreate":
11574
+ return this.documentationGroupCreate(trx);
11575
+ case "DocumentationGroupUpdate":
11576
+ return this.documentationGroupUpdate(trx);
11577
+ case "DocumentationGroupMove":
11578
+ return this.documentationGroupMove(trx);
11579
+ // Groups - unsupported
11580
+ case "DocumentationGroupDelete":
11581
+ case "DocumentationGroupDuplicate":
11582
+ case "DocumentationGroupRestore":
11583
+ throw new Error(`Transaction type ${trx.type} is not yet implemented`);
11584
+ // Pages
11585
+ case "DocumentationPageCreate":
11586
+ return this.documentationPageCreate(trx);
11587
+ case "DocumentationPageUpdate":
11588
+ return this.documentationPageUpdate(trx);
11589
+ case "DocumentationPageMove":
11590
+ return this.documentationPageMove(trx);
11591
+ case "DocumentationPageDelete":
11592
+ return this.documentationPageDelete(trx);
11593
+ // Pages - unsupported
11594
+ case "DocumentationPageApprovalStateChange":
11595
+ return this.documentationApprovalStateUpdate(trx);
11596
+ case "DocumentationPageDuplicate":
11597
+ case "DocumentationPageRestore":
11598
+ throw new Error(`Transaction type ${trx.type} is not yet implemented`);
11599
+ // Tabs
11600
+ case "DocumentationTabCreate":
11601
+ return this.documentationTabCreate(trx);
11602
+ case "DocumentationTabGroupDelete":
11603
+ throw new Error(`Transaction type ${trx.type} is not yet implemented`);
11604
+ // Won't ever be supported
11605
+ case "FigmaNodeRender":
11606
+ case "FigmaNodeRenderAsync":
11607
+ throw new Error(`Transaction type ${trx.type} is not a documentation element action`);
11608
+ }
11514
11609
  }
11515
11610
  //
11516
- // Groups
11611
+ // Pages
11517
11612
  //
11518
- getGroups() {
11519
- return this.getObjects(this.groupsYMap, ElementGroup);
11613
+ documentationPageCreate(trx) {
11614
+ const { input } = trx;
11615
+ const { persistentId } = input;
11616
+ if (this.pages.has(input.persistentId)) {
11617
+ return;
11618
+ }
11619
+ if (!this.groups.has(input.parentPersistentId)) {
11620
+ throw new Error(`Cannot create page: parent persistent id ${input.parentPersistentId} was not found`);
11621
+ }
11622
+ const localPage = {
11623
+ persistentId,
11624
+ createdAt: /* @__PURE__ */ new Date(),
11625
+ parentPersistentId: input.parentPersistentId,
11626
+ shortPersistentId: generateShortPersistentId(),
11627
+ slug: slugify(input.title),
11628
+ meta: { name: input.title },
11629
+ updatedAt: /* @__PURE__ */ new Date(),
11630
+ data: {
11631
+ // TODO Artem: move somewhere reusable
11632
+ configuration: input.configuration ? { ...defaultDocumentationItemConfigurationV2, ...input.configuration } : input.configuration
11633
+ },
11634
+ sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
11635
+ designSystemVersionId: this.designSystemVersionId
11636
+ };
11637
+ this.pages.set(persistentId, localPage);
11638
+ const roomId = `${RoomType.DocumentationPage}:${this.designSystemVersionId}:${persistentId}`;
11639
+ this.pageLiveblockRoomIds[persistentId] = roomId;
11520
11640
  }
11521
- updateGroups(groups) {
11522
- this.setObjects(this.groupsYMap, groups);
11641
+ documentationPageUpdate(trx) {
11642
+ const { input } = trx;
11643
+ const existingPage = this.pages.get(input.id);
11644
+ if (!existingPage) {
11645
+ throw new Error(`Cannot update page: page id ${input.id} was not found`);
11646
+ }
11647
+ const localPage = {
11648
+ ...existingPage,
11649
+ userSlug: void 0,
11650
+ meta: {
11651
+ ...existingPage.meta,
11652
+ name: _nullishCoalesce(input.title, () => ( existingPage.meta.name))
11653
+ },
11654
+ data: {
11655
+ // TODO Artem: move somewhere reusable
11656
+ configuration: input.configuration ? { ..._nullishCoalesce(existingPage.data.configuration, () => ( defaultDocumentationItemConfigurationV2)), ...input.configuration } : existingPage.data.configuration
11657
+ }
11658
+ };
11659
+ this.pages.set(localPage.persistentId, localPage);
11523
11660
  }
11524
- deleteGroups(ids) {
11525
- this.deleteObjects(this.groupsYMap, ids);
11661
+ documentationPageMove(trx) {
11662
+ const { input } = trx;
11663
+ if (!this.groups.has(input.parentPersistentId)) {
11664
+ throw new Error(`Cannot move page: page parent id ${input.parentPersistentId} was not found`);
11665
+ }
11666
+ const existingPage = this.pages.get(input.id);
11667
+ if (!existingPage) {
11668
+ throw new Error(`Cannot update page: page id ${input.id} was not found`);
11669
+ }
11670
+ const localPage = {
11671
+ ...existingPage,
11672
+ userSlug: void 0,
11673
+ sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
11674
+ parentPersistentId: input.parentPersistentId
11675
+ };
11676
+ this.pages.set(localPage.persistentId, localPage);
11526
11677
  }
11527
- get groupsYMap() {
11528
- return this.yDoc.getMap("documentationGroups");
11678
+ documentationPageDelete(trx) {
11679
+ const { input } = trx;
11680
+ if (!this.pages.delete(trx.input.id)) {
11681
+ throw new Error(`Cannot delete page: page id ${input.id} was not found`);
11682
+ }
11683
+ delete this.pageLiveblockRoomIds[trx.input.id];
11529
11684
  }
11530
11685
  //
11531
- // Documentation internal settings
11686
+ // Group
11532
11687
  //
11533
- getDocumentationInternalSettings() {
11534
- const map = this.internalSettingsYMap;
11535
- const rawSettings = {
11536
- routingVersion: map.get("routingVersion"),
11537
- isDraftFeatureAdopted: _nullishCoalesce(map.get("isDraftFeatureAdopted"), () => ( false)),
11538
- isApprovalFeatureEnabled: _nullishCoalesce(map.get("isApprovalFeatureEnabled"), () => ( false)),
11539
- approvalRequiredForPublishing: _nullishCoalesce(map.get("approvalRequiredForPublishing"), () => ( false))
11540
- };
11541
- const settingsParseResult = DocumentationHierarchySettings.safeParse(rawSettings);
11542
- if (!settingsParseResult.success) {
11543
- return {
11544
- routingVersion: "2",
11545
- isDraftFeatureAdopted: false,
11688
+ documentationGroupCreate(trx) {
11689
+ const { input } = trx;
11690
+ if (this.groups.has(input.persistentId)) {
11691
+ return;
11692
+ }
11693
+ const localGroup = {
11694
+ parentPersistentId: input.parentPersistentId,
11695
+ persistentId: input.persistentId,
11696
+ shortPersistentId: generateShortPersistentId(),
11697
+ slug: slugify(input.title),
11698
+ meta: { name: input.title },
11699
+ createdAt: /* @__PURE__ */ new Date(),
11700
+ updatedAt: /* @__PURE__ */ new Date(),
11701
+ data: {
11702
+ // TODO Artem: move somewhere reusable
11703
+ configuration: input.configuration ? { ...defaultDocumentationItemConfigurationV2, ...input.configuration } : input.configuration
11704
+ },
11705
+ sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
11706
+ designSystemVersionId: this.designSystemVersionId
11707
+ };
11708
+ this.groups.set(localGroup.persistentId, localGroup);
11709
+ }
11710
+ documentationGroupUpdate(trx) {
11711
+ const { input } = trx;
11712
+ const existingGroup = this.groups.get(input.id);
11713
+ if (!existingGroup) {
11714
+ throw new Error(`Cannot update group: group id ${input.id} was not found`);
11715
+ }
11716
+ const localGroup = {
11717
+ ...existingGroup,
11718
+ userSlug: void 0,
11719
+ meta: {
11720
+ ...existingGroup.meta,
11721
+ name: _nullishCoalesce(input.title, () => ( existingGroup.meta.name))
11722
+ },
11723
+ data: {
11724
+ ...existingGroup.data,
11725
+ // TODO Artem: move somewhere reusable
11726
+ configuration: input.configuration ? {
11727
+ ..._nullishCoalesce(_optionalChain([existingGroup, 'access', _40 => _40.data, 'optionalAccess', _41 => _41.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
11728
+ ...input.configuration
11729
+ } : _optionalChain([existingGroup, 'access', _42 => _42.data, 'optionalAccess', _43 => _43.configuration])
11730
+ }
11731
+ };
11732
+ this.groups.set(localGroup.persistentId, localGroup);
11733
+ }
11734
+ documentationGroupMove(trx) {
11735
+ const { input } = trx;
11736
+ if (!this.groups.has(input.parentPersistentId)) {
11737
+ throw new Error(`Cannot move group: group parent id ${input.parentPersistentId} was not found`);
11738
+ }
11739
+ const existingGroup = this.groups.get(input.id);
11740
+ if (!existingGroup) {
11741
+ throw new Error(`Cannot update group: group id ${input.id} was not found`);
11742
+ }
11743
+ const localGroup = {
11744
+ ...existingGroup,
11745
+ userSlug: void 0,
11746
+ sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
11747
+ parentPersistentId: input.parentPersistentId
11748
+ };
11749
+ this.groups.set(localGroup.persistentId, localGroup);
11750
+ }
11751
+ //
11752
+ // Tabs
11753
+ //
11754
+ documentationTabCreate(trx) {
11755
+ const { input } = trx;
11756
+ const page = this.pages.get(input.fromItemPersistentId);
11757
+ if (!page) {
11758
+ throw new Error(`Cannot create tab: page id ${input.fromItemPersistentId} was not found`);
11759
+ }
11760
+ const tabGroup = {
11761
+ parentPersistentId: page.parentPersistentId,
11762
+ persistentId: input.persistentId,
11763
+ shortPersistentId: generateShortPersistentId(),
11764
+ slug: page.slug,
11765
+ meta: page.meta,
11766
+ createdAt: /* @__PURE__ */ new Date(),
11767
+ updatedAt: /* @__PURE__ */ new Date(),
11768
+ data: {
11769
+ behavior: "Tabs",
11770
+ configuration: _optionalChain([page, 'optionalAccess', _44 => _44.data, 'access', _45 => _45.configuration])
11771
+ },
11772
+ sortOrder: page.sortOrder,
11773
+ designSystemVersionId: this.designSystemVersionId
11774
+ };
11775
+ this.groups.set(input.persistentId, tabGroup);
11776
+ const newLocalPage = {
11777
+ ...page,
11778
+ userSlug: void 0,
11779
+ sortOrder: 0,
11780
+ parentPersistentId: input.persistentId,
11781
+ meta: { name: input.tabName }
11782
+ };
11783
+ this.pages.set(newLocalPage.persistentId, newLocalPage);
11784
+ }
11785
+ //
11786
+ // Approval states
11787
+ //
11788
+ documentationApprovalStateUpdate(trx) {
11789
+ const { input } = trx;
11790
+ const existingApproval = this.approvalStates.get(input.persistentId);
11791
+ if (input.approvalState) {
11792
+ this.approvalStates.set(input.persistentId, {
11793
+ approvalState: input.approvalState,
11794
+ createdAt: _nullishCoalesce(_optionalChain([existingApproval, 'optionalAccess', _46 => _46.createdAt]), () => ( /* @__PURE__ */ new Date())),
11795
+ designSystemVersionId: this.designSystemVersionId,
11796
+ pagePersistentId: input.persistentId,
11797
+ updatedAt: /* @__PURE__ */ new Date(),
11798
+ updatedByUserId: this.userId
11799
+ });
11800
+ } else {
11801
+ this.approvalStates.delete(input.persistentId);
11802
+ }
11803
+ }
11804
+ //
11805
+ // Utils
11806
+ //
11807
+ calculateSortOrder(parentPersistentId, afterPersistentId) {
11808
+ const sortOrderStep = Math.pow(2, 16);
11809
+ const neighbours = [
11810
+ ...Array.from(this.pages.values()).filter((p) => p.parentPersistentId === parentPersistentId),
11811
+ ...Array.from(this.groups.values()).filter((g) => g.parentPersistentId === parentPersistentId)
11812
+ ];
11813
+ if (!neighbours.length) return 0;
11814
+ neighbours.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
11815
+ if (afterPersistentId === null) return neighbours[0].sortOrder - sortOrderStep;
11816
+ if (!afterPersistentId) return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
11817
+ const index = neighbours.findIndex((e) => e.persistentId === afterPersistentId);
11818
+ if (index < 0 || index === neighbours.length - 1) {
11819
+ return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
11820
+ }
11821
+ const left = neighbours[index].sortOrder;
11822
+ const right = _nullishCoalesce(_optionalChain([neighbours, 'access', _47 => _47[index + 1], 'optionalAccess', _48 => _48.sortOrder]), () => ( left + sortOrderStep * 2));
11823
+ return (right + left) / 2;
11824
+ }
11825
+ };
11826
+
11827
+ // src/sync/docs-structure-repo.ts
11828
+ var _pqueue = require('p-queue'); var _pqueue2 = _interopRequireDefault(_pqueue);
11829
+
11830
+ // src/yjs/design-system-content/documentation-hierarchy.ts
11831
+
11832
+
11833
+ // src/yjs/version-room/base.ts
11834
+ var VersionRoomBaseYDoc = class {
11835
+ constructor(yDoc) {
11836
+ __publicField(this, "yDoc");
11837
+ this.yDoc = yDoc;
11838
+ }
11839
+ getState() {
11840
+ const groups = this.getGroups();
11841
+ const isLoaded = !!groups.length;
11842
+ return {
11843
+ isLoaded,
11844
+ groups,
11845
+ pages: this.getPages(),
11846
+ approvals: this.getApprovals(),
11847
+ groupSnapshots: this.getGroupSnapshots(),
11848
+ pageContentHashes: this.getDocumentationPageContentHashes(),
11849
+ pageSnapshots: this.getPageSnapshots(),
11850
+ settings: this.getDocumentationInternalSettings(),
11851
+ pageLiveblockRoomIds: this.getDocumentationPageLiveblocksRoomIds(),
11852
+ executedTransactionIds: this.getExecutedTransactionIds()
11853
+ };
11854
+ }
11855
+ //
11856
+ // Pages
11857
+ //
11858
+ getPages() {
11859
+ return this.getObjects(this.pagesYMap, DocumentationPageV2);
11860
+ }
11861
+ updatePages(pages) {
11862
+ pages = pages.map((page) => {
11863
+ return {
11864
+ ...page,
11865
+ data: {
11866
+ configuration: page.data.configuration
11867
+ }
11868
+ };
11869
+ });
11870
+ this.setObjects(this.pagesYMap, pages);
11871
+ }
11872
+ deletePages(ids) {
11873
+ this.deleteObjects(this.pagesYMap, ids);
11874
+ }
11875
+ get pagesYMap() {
11876
+ return this.yDoc.getMap("documentationPages");
11877
+ }
11878
+ //
11879
+ // Groups
11880
+ //
11881
+ getGroups() {
11882
+ return this.getObjects(this.groupsYMap, ElementGroup);
11883
+ }
11884
+ updateGroups(groups) {
11885
+ this.setObjects(this.groupsYMap, groups);
11886
+ }
11887
+ deleteGroups(ids) {
11888
+ this.deleteObjects(this.groupsYMap, ids);
11889
+ }
11890
+ get groupsYMap() {
11891
+ return this.yDoc.getMap("documentationGroups");
11892
+ }
11893
+ //
11894
+ // Documentation internal settings
11895
+ //
11896
+ getDocumentationInternalSettings() {
11897
+ const map = this.internalSettingsYMap;
11898
+ const rawSettings = {
11899
+ routingVersion: map.get("routingVersion"),
11900
+ isDraftFeatureAdopted: _nullishCoalesce(map.get("isDraftFeatureAdopted"), () => ( false)),
11901
+ isApprovalFeatureEnabled: _nullishCoalesce(map.get("isApprovalFeatureEnabled"), () => ( false)),
11902
+ approvalRequiredForPublishing: _nullishCoalesce(map.get("approvalRequiredForPublishing"), () => ( false))
11903
+ };
11904
+ const settingsParseResult = DocumentationHierarchySettings.safeParse(rawSettings);
11905
+ if (!settingsParseResult.success) {
11906
+ return {
11907
+ routingVersion: "2",
11908
+ isDraftFeatureAdopted: false,
11546
11909
  isApprovalFeatureEnabled: false,
11547
11910
  approvalRequiredForPublishing: false
11548
11911
  };
@@ -11744,7 +12107,7 @@ function buildPageDraftCreatedAndUpdatedStates(pages, pageSnapshots, pageHashes,
11744
12107
  if (snapshot) {
11745
12108
  publishedState = itemStateFromPage(snapshot.page, snapshot.pageContentHash);
11746
12109
  }
11747
- const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess', _40 => _40.pageContentHash]))), () => ( ""));
12110
+ const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess', _49 => _49.pageContentHash]))), () => ( ""));
11748
12111
  const currentState = itemStateFromPage(page, currentPageContentHash);
11749
12112
  const draftState = createDraftState(page.persistentId, currentState, publishedState, debug);
11750
12113
  if (draftState) result.set(page.persistentId, draftState);
@@ -11877,7 +12240,7 @@ function buildGroupDraftCreatedAndUpdatedStates(groups, groupSnapshots, debug) {
11877
12240
  function itemStateFromGroup(group) {
11878
12241
  return {
11879
12242
  title: group.meta.name,
11880
- configuration: _nullishCoalesce(_optionalChain([group, 'access', _41 => _41.data, 'optionalAccess', _42 => _42.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
12243
+ configuration: _nullishCoalesce(_optionalChain([group, 'access', _50 => _50.data, 'optionalAccess', _51 => _51.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
11881
12244
  contentHash: "-"
11882
12245
  };
11883
12246
  }
@@ -12038,7 +12401,7 @@ var DTODocumentationPageRoomHeaderDataUpdate = _zod.z.object({
12038
12401
  function itemConfigurationToYjs(yDoc, item) {
12039
12402
  yDoc.transact((trx) => {
12040
12403
  const { title, configuration } = item;
12041
- const header = _optionalChain([configuration, 'optionalAccess', _43 => _43.header]);
12404
+ const header = _optionalChain([configuration, 'optionalAccess', _52 => _52.header]);
12042
12405
  if (title !== void 0) {
12043
12406
  const headerYMap = trx.doc.getMap("itemTitle");
12044
12407
  headerYMap.set("title", title);
@@ -12056,9 +12419,9 @@ function itemConfigurationToYjs(yDoc, item) {
12056
12419
  header.minHeight !== void 0 && headerYMap.set("minHeight", header.minHeight);
12057
12420
  }
12058
12421
  const configYMap = trx.doc.getMap("itemConfiguration");
12059
- _optionalChain([configuration, 'optionalAccess', _44 => _44.showSidebar]) !== void 0 && configYMap.set("showSidebar", configuration.showSidebar);
12060
- _optionalChain([configuration, 'optionalAccess', _45 => _45.isHidden]) !== void 0 && configYMap.set("isHidden", configuration.isHidden);
12061
- _optionalChain([configuration, 'optionalAccess', _46 => _46.isPrivate]) !== void 0 && configYMap.set("isPrivate", configuration.isPrivate);
12422
+ _optionalChain([configuration, 'optionalAccess', _53 => _53.showSidebar]) !== void 0 && configYMap.set("showSidebar", configuration.showSidebar);
12423
+ _optionalChain([configuration, 'optionalAccess', _54 => _54.isHidden]) !== void 0 && configYMap.set("isHidden", configuration.isHidden);
12424
+ _optionalChain([configuration, 'optionalAccess', _55 => _55.isPrivate]) !== void 0 && configYMap.set("isPrivate", configuration.isPrivate);
12062
12425
  });
12063
12426
  }
12064
12427
 
@@ -12882,7 +13245,7 @@ var ListTreeBuilder = class {
12882
13245
  }
12883
13246
  addWithProperty(block, multiRichTextProperty) {
12884
13247
  const parsedOptions = PageBlockDefinitionMutiRichTextOptions.optional().parse(multiRichTextProperty.options);
12885
- return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess', _47 => _47.multiRichTextStyle]) || "OL");
13248
+ return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess', _56 => _56.multiRichTextStyle]) || "OL");
12886
13249
  }
12887
13250
  add(block, multiRichTextPropertyId, multiRichTextPropertyStyle) {
12888
13251
  const list = this.createList(block, multiRichTextPropertyId, multiRichTextPropertyStyle);
@@ -12897,7 +13260,7 @@ var ListTreeBuilder = class {
12897
13260
  }
12898
13261
  const listParent = this.getParentOfDepth(block.data.indentLevel);
12899
13262
  const lastChild = listParent.children[listParent.children.length - 1];
12900
- if (_optionalChain([lastChild, 'optionalAccess', _48 => _48.type]) === "List") {
13263
+ if (_optionalChain([lastChild, 'optionalAccess', _57 => _57.type]) === "List") {
12901
13264
  lastChild.children.push(...list.leadingChildren);
12902
13265
  return;
12903
13266
  } else {
@@ -13126,7 +13489,7 @@ function serializeAsRichTextBlock(input) {
13126
13489
  const textPropertyValue = BlockParsingUtils.richTextPropertyValue(blockItem, richTextProperty.id);
13127
13490
  const enrichedInput = { ...input, richTextPropertyValue: textPropertyValue };
13128
13491
  const parsedOptions = PageBlockDefinitionRichTextOptions.optional().parse(richTextProperty.options);
13129
- const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess', _49 => _49.richTextStyle]), () => ( "Default"));
13492
+ const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess', _58 => _58.richTextStyle]), () => ( "Default"));
13130
13493
  switch (style) {
13131
13494
  case "Callout":
13132
13495
  return serializeAsCallout(enrichedInput);
@@ -13350,7 +13713,7 @@ function serializeBlockNodeAttributes(block) {
13350
13713
  };
13351
13714
  }
13352
13715
  function richTextHeadingLevel(property) {
13353
- const style = _optionalChain([property, 'access', _50 => _50.options, 'optionalAccess', _51 => _51.richTextStyle]);
13716
+ const style = _optionalChain([property, 'access', _59 => _59.options, 'optionalAccess', _60 => _60.richTextStyle]);
13354
13717
  if (!style) return void 0;
13355
13718
  switch (style) {
13356
13719
  case "Title1":
@@ -13469,7 +13832,7 @@ function serializeAsCustomBlock(block, definition) {
13469
13832
  linksTo: i.linksTo
13470
13833
  };
13471
13834
  });
13472
- const columns = _optionalChain([block, 'access', _52 => _52.data, 'access', _53 => _53.appearance, 'optionalAccess', _54 => _54.numberOfColumns]);
13835
+ const columns = _optionalChain([block, 'access', _61 => _61.data, 'access', _62 => _62.appearance, 'optionalAccess', _63 => _63.numberOfColumns]);
13473
13836
  return {
13474
13837
  type: serializeCustomBlockNodeType(block, definition),
13475
13838
  attrs: {
@@ -15794,7 +16157,7 @@ function parseAsListNode(prosemirrorNode) {
15794
16157
  }
15795
16158
  function parseAsListNodeItem(prosemirrorNode) {
15796
16159
  if (prosemirrorNode.type !== "listItem") return null;
15797
- const firstChild = _optionalChain([prosemirrorNode, 'access', _55 => _55.content, 'optionalAccess', _56 => _56[0]]);
16160
+ const firstChild = _optionalChain([prosemirrorNode, 'access', _64 => _64.content, 'optionalAccess', _65 => _65[0]]);
15798
16161
  if (!firstChild || firstChild.type !== "paragraph") return null;
15799
16162
  return parseRichText(_nullishCoalesce(firstChild.content, () => ( [])));
15800
16163
  }
@@ -15942,9 +16305,9 @@ function parseAsMultiRichText(prosemirrorNode, definition, property, definitions
15942
16305
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
15943
16306
  const result = [];
15944
16307
  const listItems = [];
15945
- _optionalChain([prosemirrorNode, 'access', _57 => _57.content, 'optionalAccess', _58 => _58.forEach, 'call', _59 => _59((c) => {
16308
+ _optionalChain([prosemirrorNode, 'access', _66 => _66.content, 'optionalAccess', _67 => _67.forEach, 'call', _68 => _68((c) => {
15946
16309
  if (c.type !== "listItem") return;
15947
- _optionalChain([c, 'access', _60 => _60.content, 'optionalAccess', _61 => _61.forEach, 'call', _62 => _62((cc) => {
16310
+ _optionalChain([c, 'access', _69 => _69.content, 'optionalAccess', _70 => _70.forEach, 'call', _71 => _71((cc) => {
15948
16311
  listItems.push(cc);
15949
16312
  })]);
15950
16313
  })]);
@@ -16055,17 +16418,17 @@ function parseAsTable(prosemirrorNode, definition, property) {
16055
16418
  if (!id) return null;
16056
16419
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
16057
16420
  const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", _zod.z.boolean().optional()) !== false;
16058
- const tableChild = _optionalChain([prosemirrorNode, 'access', _63 => _63.content, 'optionalAccess', _64 => _64.find, 'call', _65 => _65((c) => c.type === "table")]);
16421
+ const tableChild = _optionalChain([prosemirrorNode, 'access', _72 => _72.content, 'optionalAccess', _73 => _73.find, 'call', _74 => _74((c) => c.type === "table")]);
16059
16422
  if (!tableChild) {
16060
16423
  return emptyTable(id, variantId, 0);
16061
16424
  }
16062
- const rows = _nullishCoalesce(_optionalChain([tableChild, 'access', _66 => _66.content, 'optionalAccess', _67 => _67.filter, 'call', _68 => _68((c) => c.type === "tableRow" && !!_optionalChain([c, 'access', _69 => _69.content, 'optionalAccess', _70 => _70.length]))]), () => ( []));
16425
+ const rows = _nullishCoalesce(_optionalChain([tableChild, 'access', _75 => _75.content, 'optionalAccess', _76 => _76.filter, 'call', _77 => _77((c) => c.type === "tableRow" && !!_optionalChain([c, 'access', _78 => _78.content, 'optionalAccess', _79 => _79.length]))]), () => ( []));
16063
16426
  if (!rows.length) {
16064
16427
  return emptyTable(id, variantId, 0);
16065
16428
  }
16066
- const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access', _71 => _71[0], 'access', _72 => _72.content, 'optionalAccess', _73 => _73.filter, 'call', _74 => _74((c) => c.type === "tableHeader"), 'access', _75 => _75.length]), () => ( 0));
16067
- const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _76 => _76.content, 'optionalAccess', _77 => _77[0], 'optionalAccess', _78 => _78.type]) === "tableHeader").length;
16068
- const hasHeaderRow = _optionalChain([rows, 'access', _79 => _79[0], 'access', _80 => _80.content, 'optionalAccess', _81 => _81.length]) === rowHeaderCells;
16429
+ const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access', _80 => _80[0], 'access', _81 => _81.content, 'optionalAccess', _82 => _82.filter, 'call', _83 => _83((c) => c.type === "tableHeader"), 'access', _84 => _84.length]), () => ( 0));
16430
+ const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _85 => _85.content, 'optionalAccess', _86 => _86[0], 'optionalAccess', _87 => _87.type]) === "tableHeader").length;
16431
+ const hasHeaderRow = _optionalChain([rows, 'access', _88 => _88[0], 'access', _89 => _89.content, 'optionalAccess', _90 => _90.length]) === rowHeaderCells;
16069
16432
  const hasHeaderColumn = rows.length === columnHeaderCells;
16070
16433
  const tableValue = {
16071
16434
  showBorder: hasBorder,
@@ -16142,7 +16505,7 @@ function parseAsTableNode(prosemirrorNode) {
16142
16505
  if (!items) return null;
16143
16506
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
16144
16507
  if (!parsedItems.success) return null;
16145
- const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _82 => _82.data, 'access', _83 => _83[0], 'optionalAccess', _84 => _84.props, 'access', _85 => _85.image]);
16508
+ const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _91 => _91.data, 'access', _92 => _92[0], 'optionalAccess', _93 => _93.props, 'access', _94 => _94.image]);
16146
16509
  if (!rawImagePropertyValue) return null;
16147
16510
  const imagePropertyValueParseResult = PageBlockItemImageValue.safeParse(rawImagePropertyValue);
16148
16511
  if (!imagePropertyValueParseResult.success) return null;
@@ -16383,7 +16746,7 @@ function getProsemirrorBlockVariantId(prosemirrorNode) {
16383
16746
  return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(_zod.z.string()));
16384
16747
  }
16385
16748
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
16386
- const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access', _86 => _86.attrs, 'optionalAccess', _87 => _87[attributeName]]));
16749
+ const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access', _95 => _95.attrs, 'optionalAccess', _96 => _96[attributeName]]));
16387
16750
  if (parsedAttr.success) {
16388
16751
  return parsedAttr.data;
16389
16752
  } else {
@@ -16415,11 +16778,13 @@ var ForgeProjectRoomBaseYDoc = class {
16415
16778
  getState() {
16416
16779
  const artifacts = this.getArtifacts();
16417
16780
  const features = this.getFeatures();
16781
+ const executedTransactionIds = this.getExecutedTransactionIds();
16418
16782
  const isLoaded = true;
16419
16783
  return {
16420
16784
  isLoaded,
16421
16785
  artifacts,
16422
- features
16786
+ features,
16787
+ executedTransactionIds
16423
16788
  };
16424
16789
  }
16425
16790
  //
@@ -16453,6 +16818,27 @@ var ForgeProjectRoomBaseYDoc = class {
16453
16818
  return this.yDoc.getMap("forgeProjectFeatures");
16454
16819
  }
16455
16820
  //
16821
+ // Executed transactions
16822
+ //
16823
+ updateExecutedTransactionIds(transactionIds) {
16824
+ transactionIds = Array.from(new Set(transactionIds));
16825
+ if (!transactionIds.length) return;
16826
+ const array = this.executedTransactionIdsArray;
16827
+ array.push(transactionIds);
16828
+ if (array.length > 100) {
16829
+ array.delete(0, array.length - 100);
16830
+ }
16831
+ }
16832
+ getExecutedTransactionIds() {
16833
+ const array = this.executedTransactionIdsArray;
16834
+ const transactionIds = [];
16835
+ array.forEach((e) => typeof e === "string" && transactionIds.push(e));
16836
+ return transactionIds;
16837
+ }
16838
+ get executedTransactionIdsArray() {
16839
+ return this.yDoc.getArray("executedTransactionIds");
16840
+ }
16841
+ //
16456
16842
  // Utility methods
16457
16843
  //
16458
16844
  getObjects(map, schema) {
@@ -16481,6 +16867,7 @@ var BackendForgeProjectRoomYDoc = class {
16481
16867
  transaction.artifacts && yDoc.updateArtifacts(transaction.artifacts);
16482
16868
  transaction.featureIdsToDelete && yDoc.deleteFeatures(transaction.featureIdsToDelete);
16483
16869
  transaction.features && yDoc.updateFeatures(transaction.features);
16870
+ transaction.executedTransactionIds && yDoc.updateExecutedTransactionIds(transaction.executedTransactionIds);
16484
16871
  });
16485
16872
  }
16486
16873
  };
@@ -16518,298 +16905,8 @@ var BackendVersionRoomYDoc = class {
16518
16905
  }
16519
16906
  };
16520
16907
 
16521
- // src/sync/local-action-executor.ts
16522
- function applyActionsLocally(input) {
16523
- const actionExecutor = new LocalDocsElementActionExecutor(input);
16524
- actionExecutor.applyActions(input.actions);
16525
- return actionExecutor.localState;
16526
- }
16527
- var LocalDocsElementActionExecutor = class {
16528
- constructor(config) {
16529
- __publicField(this, "userId");
16530
- __publicField(this, "designSystemVersionId");
16531
- __publicField(this, "pages");
16532
- __publicField(this, "groups");
16533
- __publicField(this, "approvalStates");
16534
- __publicField(this, "pageLiveblockRoomIds");
16535
- const { designSystemVersionId, remoteState, userId } = config;
16536
- this.userId = userId;
16537
- this.designSystemVersionId = designSystemVersionId;
16538
- this.pages = mapByUnique(remoteState.pages, (p) => p.persistentId);
16539
- this.groups = mapByUnique(remoteState.groups, (p) => p.persistentId);
16540
- this.approvalStates = mapByUnique(remoteState.approvals, (a) => a.pagePersistentId);
16541
- this.pageLiveblockRoomIds = { ...remoteState.pageLiveblockRoomIds };
16542
- }
16543
- get localState() {
16544
- return {
16545
- pages: Array.from(this.pages.values()),
16546
- groups: Array.from(this.groups.values()),
16547
- approvals: Array.from(this.approvalStates.values()),
16548
- pageLiveblockRoomIds: this.pageLiveblockRoomIds
16549
- };
16550
- }
16551
- applyActions(trx) {
16552
- trx.forEach((trx2) => this.applyTransaction(trx2));
16553
- }
16554
- applyTransaction(trx) {
16555
- switch (trx.type) {
16556
- // Groups
16557
- case "DocumentationGroupCreate":
16558
- return this.documentationGroupCreate(trx);
16559
- case "DocumentationGroupUpdate":
16560
- return this.documentationGroupUpdate(trx);
16561
- case "DocumentationGroupMove":
16562
- return this.documentationGroupMove(trx);
16563
- // Groups - unsupported
16564
- case "DocumentationGroupDelete":
16565
- case "DocumentationGroupDuplicate":
16566
- case "DocumentationGroupRestore":
16567
- throw new Error(`Transaction type ${trx.type} is not yet implemented`);
16568
- // Pages
16569
- case "DocumentationPageCreate":
16570
- return this.documentationPageCreate(trx);
16571
- case "DocumentationPageUpdate":
16572
- return this.documentationPageUpdate(trx);
16573
- case "DocumentationPageMove":
16574
- return this.documentationPageMove(trx);
16575
- case "DocumentationPageDelete":
16576
- return this.documentationPageDelete(trx);
16577
- // Pages - unsupported
16578
- case "DocumentationPageApprovalStateChange":
16579
- return this.documentationApprovalStateUpdate(trx);
16580
- case "DocumentationPageDuplicate":
16581
- case "DocumentationPageRestore":
16582
- throw new Error(`Transaction type ${trx.type} is not yet implemented`);
16583
- // Tabs
16584
- case "DocumentationTabCreate":
16585
- return this.documentationTabCreate(trx);
16586
- case "DocumentationTabGroupDelete":
16587
- throw new Error(`Transaction type ${trx.type} is not yet implemented`);
16588
- // Won't ever be supported
16589
- case "FigmaNodeRender":
16590
- case "FigmaNodeRenderAsync":
16591
- throw new Error(`Transaction type ${trx.type} is not a documentation element action`);
16592
- }
16593
- }
16594
- //
16595
- // Pages
16596
- //
16597
- documentationPageCreate(trx) {
16598
- const { input } = trx;
16599
- const { persistentId } = input;
16600
- if (this.pages.has(input.persistentId)) {
16601
- return;
16602
- }
16603
- if (!this.groups.has(input.parentPersistentId)) {
16604
- throw new Error(`Cannot create page: parent persistent id ${input.parentPersistentId} was not found`);
16605
- }
16606
- const localPage = {
16607
- persistentId,
16608
- createdAt: /* @__PURE__ */ new Date(),
16609
- parentPersistentId: input.parentPersistentId,
16610
- shortPersistentId: generateShortPersistentId(),
16611
- slug: slugify(input.title),
16612
- meta: { name: input.title },
16613
- updatedAt: /* @__PURE__ */ new Date(),
16614
- data: {
16615
- // TODO Artem: move somewhere reusable
16616
- configuration: input.configuration ? { ...defaultDocumentationItemConfigurationV2, ...input.configuration } : input.configuration
16617
- },
16618
- sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
16619
- designSystemVersionId: this.designSystemVersionId
16620
- };
16621
- this.pages.set(persistentId, localPage);
16622
- const roomId = `${RoomType.DocumentationPage}:${this.designSystemVersionId}:${persistentId}`;
16623
- this.pageLiveblockRoomIds[persistentId] = roomId;
16624
- }
16625
- documentationPageUpdate(trx) {
16626
- const { input } = trx;
16627
- const existingPage = this.pages.get(input.id);
16628
- if (!existingPage) {
16629
- throw new Error(`Cannot update page: page id ${input.id} was not found`);
16630
- }
16631
- const localPage = {
16632
- ...existingPage,
16633
- userSlug: void 0,
16634
- meta: {
16635
- ...existingPage.meta,
16636
- name: _nullishCoalesce(input.title, () => ( existingPage.meta.name))
16637
- },
16638
- data: {
16639
- // TODO Artem: move somewhere reusable
16640
- configuration: input.configuration ? { ..._nullishCoalesce(existingPage.data.configuration, () => ( defaultDocumentationItemConfigurationV2)), ...input.configuration } : existingPage.data.configuration
16641
- }
16642
- };
16643
- this.pages.set(localPage.persistentId, localPage);
16644
- }
16645
- documentationPageMove(trx) {
16646
- const { input } = trx;
16647
- if (!this.groups.has(input.parentPersistentId)) {
16648
- throw new Error(`Cannot move page: page parent id ${input.parentPersistentId} was not found`);
16649
- }
16650
- const existingPage = this.pages.get(input.id);
16651
- if (!existingPage) {
16652
- throw new Error(`Cannot update page: page id ${input.id} was not found`);
16653
- }
16654
- const localPage = {
16655
- ...existingPage,
16656
- userSlug: void 0,
16657
- sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
16658
- parentPersistentId: input.parentPersistentId
16659
- };
16660
- this.pages.set(localPage.persistentId, localPage);
16661
- }
16662
- documentationPageDelete(trx) {
16663
- const { input } = trx;
16664
- if (!this.pages.delete(trx.input.id)) {
16665
- throw new Error(`Cannot delete page: page id ${input.id} was not found`);
16666
- }
16667
- delete this.pageLiveblockRoomIds[trx.input.id];
16668
- }
16669
- //
16670
- // Group
16671
- //
16672
- documentationGroupCreate(trx) {
16673
- const { input } = trx;
16674
- if (this.groups.has(input.persistentId)) {
16675
- return;
16676
- }
16677
- const localGroup = {
16678
- parentPersistentId: input.parentPersistentId,
16679
- persistentId: input.persistentId,
16680
- shortPersistentId: generateShortPersistentId(),
16681
- slug: slugify(input.title),
16682
- meta: { name: input.title },
16683
- createdAt: /* @__PURE__ */ new Date(),
16684
- updatedAt: /* @__PURE__ */ new Date(),
16685
- data: {
16686
- // TODO Artem: move somewhere reusable
16687
- configuration: input.configuration ? { ...defaultDocumentationItemConfigurationV2, ...input.configuration } : input.configuration
16688
- },
16689
- sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
16690
- designSystemVersionId: this.designSystemVersionId
16691
- };
16692
- this.groups.set(localGroup.persistentId, localGroup);
16693
- }
16694
- documentationGroupUpdate(trx) {
16695
- const { input } = trx;
16696
- const existingGroup = this.groups.get(input.id);
16697
- if (!existingGroup) {
16698
- throw new Error(`Cannot update group: group id ${input.id} was not found`);
16699
- }
16700
- const localGroup = {
16701
- ...existingGroup,
16702
- userSlug: void 0,
16703
- meta: {
16704
- ...existingGroup.meta,
16705
- name: _nullishCoalesce(input.title, () => ( existingGroup.meta.name))
16706
- },
16707
- data: {
16708
- ...existingGroup.data,
16709
- // TODO Artem: move somewhere reusable
16710
- configuration: input.configuration ? {
16711
- ..._nullishCoalesce(_optionalChain([existingGroup, 'access', _88 => _88.data, 'optionalAccess', _89 => _89.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
16712
- ...input.configuration
16713
- } : _optionalChain([existingGroup, 'access', _90 => _90.data, 'optionalAccess', _91 => _91.configuration])
16714
- }
16715
- };
16716
- this.groups.set(localGroup.persistentId, localGroup);
16717
- }
16718
- documentationGroupMove(trx) {
16719
- const { input } = trx;
16720
- if (!this.groups.has(input.parentPersistentId)) {
16721
- throw new Error(`Cannot move group: group parent id ${input.parentPersistentId} was not found`);
16722
- }
16723
- const existingGroup = this.groups.get(input.id);
16724
- if (!existingGroup) {
16725
- throw new Error(`Cannot update group: group id ${input.id} was not found`);
16726
- }
16727
- const localGroup = {
16728
- ...existingGroup,
16729
- userSlug: void 0,
16730
- sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
16731
- parentPersistentId: input.parentPersistentId
16732
- };
16733
- this.groups.set(localGroup.persistentId, localGroup);
16734
- }
16735
- //
16736
- // Tabs
16737
- //
16738
- documentationTabCreate(trx) {
16739
- const { input } = trx;
16740
- const page = this.pages.get(input.fromItemPersistentId);
16741
- if (!page) {
16742
- throw new Error(`Cannot create tab: page id ${input.fromItemPersistentId} was not found`);
16743
- }
16744
- const tabGroup = {
16745
- parentPersistentId: page.parentPersistentId,
16746
- persistentId: input.persistentId,
16747
- shortPersistentId: generateShortPersistentId(),
16748
- slug: page.slug,
16749
- meta: page.meta,
16750
- createdAt: /* @__PURE__ */ new Date(),
16751
- updatedAt: /* @__PURE__ */ new Date(),
16752
- data: {
16753
- behavior: "Tabs",
16754
- configuration: _optionalChain([page, 'optionalAccess', _92 => _92.data, 'access', _93 => _93.configuration])
16755
- },
16756
- sortOrder: page.sortOrder,
16757
- designSystemVersionId: this.designSystemVersionId
16758
- };
16759
- this.groups.set(input.persistentId, tabGroup);
16760
- const newLocalPage = {
16761
- ...page,
16762
- userSlug: void 0,
16763
- sortOrder: 0,
16764
- parentPersistentId: input.persistentId,
16765
- meta: { name: input.tabName }
16766
- };
16767
- this.pages.set(newLocalPage.persistentId, newLocalPage);
16768
- }
16769
- //
16770
- // Approval states
16771
- //
16772
- documentationApprovalStateUpdate(trx) {
16773
- const { input } = trx;
16774
- const existingApproval = this.approvalStates.get(input.persistentId);
16775
- if (input.approvalState) {
16776
- this.approvalStates.set(input.persistentId, {
16777
- approvalState: input.approvalState,
16778
- createdAt: _nullishCoalesce(_optionalChain([existingApproval, 'optionalAccess', _94 => _94.createdAt]), () => ( /* @__PURE__ */ new Date())),
16779
- designSystemVersionId: this.designSystemVersionId,
16780
- pagePersistentId: input.persistentId,
16781
- updatedAt: /* @__PURE__ */ new Date(),
16782
- updatedByUserId: this.userId
16783
- });
16784
- } else {
16785
- this.approvalStates.delete(input.persistentId);
16786
- }
16787
- }
16788
- //
16789
- // Utils
16790
- //
16791
- calculateSortOrder(parentPersistentId, afterPersistentId) {
16792
- const sortOrderStep = Math.pow(2, 16);
16793
- const neighbours = [
16794
- ...Array.from(this.pages.values()).filter((p) => p.parentPersistentId === parentPersistentId),
16795
- ...Array.from(this.groups.values()).filter((g) => g.parentPersistentId === parentPersistentId)
16796
- ];
16797
- if (!neighbours.length) return 0;
16798
- neighbours.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
16799
- if (afterPersistentId === null) return neighbours[0].sortOrder - sortOrderStep;
16800
- if (!afterPersistentId) return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
16801
- const index = neighbours.findIndex((e) => e.persistentId === afterPersistentId);
16802
- if (index < 0 || index === neighbours.length - 1) {
16803
- return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
16804
- }
16805
- const left = neighbours[index].sortOrder;
16806
- const right = _nullishCoalesce(_optionalChain([neighbours, 'access', _95 => _95[index + 1], 'optionalAccess', _96 => _96.sortOrder]), () => ( left + sortOrderStep * 2));
16807
- return (right + left) / 2;
16808
- }
16809
- };
16810
-
16811
- // src/sync/docs-structure-repo.ts
16812
- var DocsStructureRepository = class {
16908
+ // src/sync/docs-structure-repo.ts
16909
+ var DocsStructureRepository = class {
16813
16910
  constructor(config) {
16814
16911
  __publicField(this, "userId");
16815
16912
  __publicField(this, "designSystemVersionId");
@@ -16993,6 +17090,291 @@ var TransactionQueue = class {
16993
17090
  }
16994
17091
  };
16995
17092
 
17093
+ // src/sync/project-content-repo.ts
17094
+
17095
+
17096
+ // src/sync/project-local-action-executor.ts
17097
+ function applyProjectActionsLocally(input) {
17098
+ const actionExecutor = new LocalProjectActionExecutor(input);
17099
+ actionExecutor.applyActions(input.actions);
17100
+ return actionExecutor.localState;
17101
+ }
17102
+ var LocalProjectActionExecutor = class {
17103
+ constructor(config) {
17104
+ __publicField(this, "userId");
17105
+ __publicField(this, "projectId");
17106
+ __publicField(this, "artifacts");
17107
+ __publicField(this, "features");
17108
+ const { projectId, remoteState, userId } = config;
17109
+ this.userId = userId;
17110
+ this.projectId = projectId;
17111
+ this.artifacts = mapByUnique(remoteState.artifacts, (p) => p.id);
17112
+ this.features = mapByUnique(remoteState.features, (p) => p.id);
17113
+ }
17114
+ get localState() {
17115
+ return {
17116
+ artifacts: Array.from(this.artifacts.values()),
17117
+ features: Array.from(this.features.values())
17118
+ };
17119
+ }
17120
+ applyActions(trx) {
17121
+ trx.forEach((trx2) => this.applyTransaction(trx2));
17122
+ }
17123
+ applyTransaction(trx) {
17124
+ switch (trx.type) {
17125
+ case "ArtifactCreate":
17126
+ return this.artifactCreate(trx);
17127
+ case "ArtifactUpdate":
17128
+ return this.artifactUpdate(trx);
17129
+ case "ArtifactDelete":
17130
+ return this.artifactDelete(trx);
17131
+ case "FeatureCreate":
17132
+ return this.featureCreate(trx);
17133
+ case "FeatureDelete":
17134
+ return this.featureDelete(trx);
17135
+ case "FeatureUpdate":
17136
+ return this.featureUpdate(trx);
17137
+ }
17138
+ }
17139
+ //
17140
+ // Artifacts
17141
+ //
17142
+ artifactCreate(trx) {
17143
+ const { input } = trx;
17144
+ const { id } = input;
17145
+ this.artifacts.set(id, {
17146
+ id,
17147
+ projectId: this.projectId,
17148
+ sortOrder: 0,
17149
+ title: input.title,
17150
+ updatedAt: /* @__PURE__ */ new Date(),
17151
+ createdAt: /* @__PURE__ */ new Date(),
17152
+ createdByUserId: this.userId
17153
+ });
17154
+ }
17155
+ artifactUpdate(trx) {
17156
+ const { input } = trx;
17157
+ const { id } = input;
17158
+ const existingArtifact = this.artifacts.get(id);
17159
+ if (!existingArtifact) {
17160
+ throw new Error(`Cannot update artifact: artifact ${id} was not found in local storage`);
17161
+ }
17162
+ const mergedArtifact = {
17163
+ ...existingArtifact,
17164
+ title: _nullishCoalesce(input.title, () => ( existingArtifact.title)),
17165
+ updatedAt: /* @__PURE__ */ new Date()
17166
+ };
17167
+ this.artifacts.set(id, mergedArtifact);
17168
+ }
17169
+ artifactDelete(trx) {
17170
+ const { input } = trx;
17171
+ const { id } = input;
17172
+ if (!this.artifacts.delete(id)) {
17173
+ throw new Error(`Cannot delete artifact: artifact ${id} was not found in local storage`);
17174
+ }
17175
+ }
17176
+ //
17177
+ // Feature
17178
+ //
17179
+ featureCreate(trx) {
17180
+ const { input } = trx;
17181
+ const { id } = input;
17182
+ this.features.set(id, {
17183
+ id,
17184
+ projectId: this.projectId,
17185
+ description: input.description,
17186
+ isArchived: false,
17187
+ sectionId: input.sectionId,
17188
+ sortOrder: 0,
17189
+ name: input.name,
17190
+ updatedAt: /* @__PURE__ */ new Date(),
17191
+ createdAt: /* @__PURE__ */ new Date(),
17192
+ createdByUserId: this.userId
17193
+ });
17194
+ }
17195
+ featureUpdate(trx) {
17196
+ const { input } = trx;
17197
+ const { id } = input;
17198
+ const existingFeature = this.features.get(id);
17199
+ if (!existingFeature) {
17200
+ throw new Error(`Cannot update feature: feature ${id} was not found in local storage`);
17201
+ }
17202
+ const mergedFeature = {
17203
+ ...existingFeature,
17204
+ name: _nullishCoalesce(input.name, () => ( existingFeature.name)),
17205
+ description: _nullishCoalesce(input.description, () => ( existingFeature.description)),
17206
+ isArchived: _nullishCoalesce(input.isArchived, () => ( existingFeature.isArchived)),
17207
+ updatedAt: /* @__PURE__ */ new Date()
17208
+ };
17209
+ this.features.set(id, mergedFeature);
17210
+ }
17211
+ featureDelete(trx) {
17212
+ const { input } = trx;
17213
+ const { id } = input;
17214
+ if (!this.features.delete(id)) {
17215
+ throw new Error(`Cannot delete feature: feature ${id} was not found in local storage`);
17216
+ }
17217
+ }
17218
+ };
17219
+
17220
+ // src/sync/project-content-repo.ts
17221
+ var ForgeProjectContentRepository = class {
17222
+ constructor(config) {
17223
+ __publicField(this, "userId");
17224
+ __publicField(this, "projectId");
17225
+ __publicField(this, "yDoc");
17226
+ __publicField(this, "yObserver");
17227
+ __publicField(this, "_yState");
17228
+ __publicField(this, "_currentProjectContent");
17229
+ __publicField(this, "localActions", []);
17230
+ __publicField(this, "actionQueue");
17231
+ __publicField(this, "projectContentObservers", /* @__PURE__ */ new Set());
17232
+ __publicField(this, "errorObservers", /* @__PURE__ */ new Set());
17233
+ __publicField(this, "initCallbacks", /* @__PURE__ */ new Set());
17234
+ __publicField(this, "transactionIdGenerator");
17235
+ __publicField(this, "transactionExecutor");
17236
+ this.userId = config.userId;
17237
+ this.projectId = config.projectId;
17238
+ this.yDoc = config.yDoc;
17239
+ this.yObserver = this.yDoc.on("update", () => this.onYUpdate());
17240
+ this.onYUpdate();
17241
+ this.transactionExecutor = config.transactionExecutor;
17242
+ this.transactionIdGenerator = config.transactionIdGenerator;
17243
+ this.actionQueue = new TransactionQueue2((action) => this.executeInternalAction(action));
17244
+ }
17245
+ //
17246
+ // Lifecycle
17247
+ //
17248
+ get isInitialized() {
17249
+ return !!this._currentProjectContent;
17250
+ }
17251
+ onInitialized() {
17252
+ if (this.isInitialized) return Promise.resolve();
17253
+ return new Promise((resolve) => {
17254
+ this.initCallbacks.add(resolve);
17255
+ });
17256
+ }
17257
+ addProjectContentObserver(observer) {
17258
+ this.projectContentObservers.add(observer);
17259
+ if (this._currentProjectContent) observer(this._currentProjectContent);
17260
+ }
17261
+ removeProjectContentObserver(observer) {
17262
+ this.projectContentObservers.delete(observer);
17263
+ }
17264
+ addErrorObserver(observer) {
17265
+ this.errorObservers.add(observer);
17266
+ }
17267
+ removeErrorObserver(observer) {
17268
+ this.errorObservers.delete(observer);
17269
+ }
17270
+ dispose() {
17271
+ this.yDoc.off("update", this.yObserver);
17272
+ this.projectContentObservers.clear();
17273
+ this.errorObservers.clear();
17274
+ this.actionQueue.clear();
17275
+ }
17276
+ //
17277
+ // Accessors
17278
+ //
17279
+ get currentProjectContent() {
17280
+ const projectContent = this._currentProjectContent;
17281
+ if (!projectContent) throw new Error(`Project content cannot be accessed while it's still loading`);
17282
+ return projectContent;
17283
+ }
17284
+ //
17285
+ // Actions
17286
+ //
17287
+ executeAction(action, metadata) {
17288
+ void this.executeActionPromise(action, metadata);
17289
+ }
17290
+ executeActionPromise(action, metadata) {
17291
+ const fullAction = { ...action, tId: this.transactionIdGenerator() };
17292
+ this.localActions.push(fullAction);
17293
+ this.refreshProjectContent();
17294
+ return this.actionQueue.enqueue({ action: fullAction, metadata });
17295
+ }
17296
+ async executeInternalAction(action) {
17297
+ try {
17298
+ return await this.transactionExecutor(action.action);
17299
+ } catch (e) {
17300
+ this.localActions = this.localActions.filter((a) => a.tId !== action.action.tId);
17301
+ this.refreshProjectContent();
17302
+ this.errorObservers.forEach((o) => o(e, action.metadata));
17303
+ }
17304
+ }
17305
+ //
17306
+ // Reactions
17307
+ //
17308
+ refreshState() {
17309
+ this.refreshProjectContent();
17310
+ }
17311
+ refreshProjectContent() {
17312
+ const yState = this._yState;
17313
+ if (!yState) return;
17314
+ const projectContent = this.calculateProjectState(yState);
17315
+ if (!projectContent) return;
17316
+ this._currentProjectContent = projectContent;
17317
+ this.projectContentObservers.forEach((o) => o(projectContent));
17318
+ }
17319
+ calculateProjectState(yState) {
17320
+ const executedTransactionIds = new Set(yState.executedTransactionIds);
17321
+ const localActions = this.localActions.filter((a) => a.tId && !executedTransactionIds.has(a.tId));
17322
+ this.localActions = localActions;
17323
+ const state = applyProjectActionsLocally({
17324
+ userId: this.userId,
17325
+ projectId: this.projectId,
17326
+ remoteState: yState,
17327
+ actions: localActions
17328
+ });
17329
+ return {
17330
+ artifacts: state.artifacts,
17331
+ features: state.features
17332
+ };
17333
+ }
17334
+ onYUpdate() {
17335
+ const newState = new ForgeProjectRoomBaseYDoc(this.yDoc).getState();
17336
+ if (newState.isLoaded) {
17337
+ this._yState = newState;
17338
+ this.refreshState();
17339
+ this.initCallbacks.forEach((f) => f());
17340
+ this.initCallbacks.clear();
17341
+ }
17342
+ }
17343
+ };
17344
+ var TransactionQueue2 = class {
17345
+ constructor(executor) {
17346
+ __publicField(this, "executor");
17347
+ __publicField(this, "queue", new (0, _pqueue2.default)({
17348
+ concurrency: 1
17349
+ }));
17350
+ this.executor = executor;
17351
+ }
17352
+ enqueue(trx) {
17353
+ return this.queue.add(() => this.executor(trx));
17354
+ }
17355
+ onEmpty() {
17356
+ return this.queue.onEmpty();
17357
+ }
17358
+ clear() {
17359
+ this.queue.clear();
17360
+ }
17361
+ };
17362
+
17363
+
17364
+
17365
+
17366
+
17367
+
17368
+
17369
+
17370
+
17371
+
17372
+
17373
+
17374
+
17375
+
17376
+
17377
+
16996
17378
 
16997
17379
 
16998
17380
 
@@ -17680,5 +18062,5 @@ var TransactionQueue = class {
17680
18062
 
17681
18063
 
17682
18064
 
17683
- exports.BackendForgeProjectRoomYDoc = BackendForgeProjectRoomYDoc; exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BrandsEndpoint = BrandsEndpoint; exports.ChatThreadMessagesEndpoint = ChatThreadMessagesEndpoint; exports.CodeComponentsEndpoint = CodeComponentsEndpoint; exports.CodegenEndpoint = CodegenEndpoint; exports.Collection = Collection2; exports.DTOAccessToken = DTOAccessToken; exports.DTOAccessTokenCreatePayload = DTOAccessTokenCreatePayload; exports.DTOAccessTokenFull = DTOAccessTokenFull; exports.DTOAccessTokenFullResponse = DTOAccessTokenFullResponse; exports.DTOAccessTokenListResponse = DTOAccessTokenListResponse; exports.DTOAccessTokenResponse = DTOAccessTokenResponse; exports.DTOAddMembersToForgeProject = DTOAddMembersToForgeProject; exports.DTOAnalyzeCodeComponentsInPackage = DTOAnalyzeCodeComponentsInPackage; exports.DTOAnalyzeCodeComponentsInPackageInput = DTOAnalyzeCodeComponentsInPackageInput; exports.DTOAnalyzeCodeComponentsInPackageResponse = DTOAnalyzeCodeComponentsInPackageResponse; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOAssetScope = DTOAssetScope; exports.DTOAuthenticatedUser = DTOAuthenticatedUser; exports.DTOAuthenticatedUserProfile = DTOAuthenticatedUserProfile; exports.DTOAuthenticatedUserResponse = DTOAuthenticatedUserResponse; exports.DTOBffFigmaImportRequestBody = DTOBffFigmaImportRequestBody; exports.DTOBffImportRequestBody = DTOBffImportRequestBody; exports.DTOBffUploadImportRequestBody = DTOBffUploadImportRequestBody; exports.DTOBillingCreditsSpendInput = DTOBillingCreditsSpendInput; exports.DTOBillingCreditsSpendResponse = DTOBillingCreditsSpendResponse; exports.DTOBrand = DTOBrand; exports.DTOBrandCreatePayload = DTOBrandCreatePayload; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandUpdatePayload = DTOBrandUpdatePayload; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCodeComponent = DTOCodeComponent; exports.DTOCodeComponentCreateInput = DTOCodeComponentCreateInput; exports.DTOCodeComponentListResponse = DTOCodeComponentListResponse; exports.DTOCodeComponentParentType = DTOCodeComponentParentType; exports.DTOCodeComponentProperty = DTOCodeComponentProperty; exports.DTOCodeComponentResolvedType = DTOCodeComponentResolvedType; exports.DTOCodeComponentResolvedTypeKind = DTOCodeComponentResolvedTypeKind; exports.DTOCodeComponentResponse = DTOCodeComponentResponse; exports.DTOCodeComponentUpsertResponse = DTOCodeComponentUpsertResponse; exports.DTOCodeComponentsCreateInput = DTOCodeComponentsCreateInput; exports.DTOColorTokenInlineData = DTOColorTokenInlineData; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateForgeAgent = DTOCreateForgeAgent; exports.DTOCreateForgeAgentResponse = DTOCreateForgeAgentResponse; exports.DTOCreateForgeArtifact = DTOCreateForgeArtifact; exports.DTOCreateForgeArtifactResponse = DTOCreateForgeArtifactResponse; exports.DTOCreateForgeBuildArtifact = DTOCreateForgeBuildArtifact; exports.DTOCreateForgeFigmaArtifact = DTOCreateForgeFigmaArtifact; exports.DTOCreateForgeFileArtifact = DTOCreateForgeFileArtifact; exports.DTOCreateForgeIterationMessage = DTOCreateForgeIterationMessage; exports.DTOCreateForgeIterationMessageResponse = DTOCreateForgeIterationMessageResponse; exports.DTOCreateForgeParticipant = DTOCreateForgeParticipant; exports.DTOCreateForgeParticipantResponse = DTOCreateForgeParticipantResponse; exports.DTOCreateForgeProject = DTOCreateForgeProject; exports.DTOCreateForgeProjectContext = DTOCreateForgeProjectContext; exports.DTOCreateForgeProjectInvitation = DTOCreateForgeProjectInvitation; exports.DTOCreateForgeProjectIteration = DTOCreateForgeProjectIteration; exports.DTOCreateForgeProjectIterationResponse = DTOCreateForgeProjectIterationResponse; exports.DTOCreateForgeProjectMember = DTOCreateForgeProjectMember; exports.DTOCreateForgeProjectResponse = DTOCreateForgeProjectResponse; exports.DTOCreateForgeSpecArtifact = DTOCreateForgeSpecArtifact; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaCreatePayload = DTODataSourceFigmaCreatePayload; exports.DTODataSourceFigmaImportPayload = DTODataSourceFigmaImportPayload; exports.DTODataSourceFigmaScope = DTODataSourceFigmaScope; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceResponse = DTODataSourceResponse; exports.DTODataSourceStorybook = DTODataSourceStorybook; exports.DTODataSourceStorybookCreatePayload = DTODataSourceStorybookCreatePayload; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODataSourcesStorybookResponse = DTODataSourcesStorybookResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteForgeAgentResponse = DTODeleteForgeAgentResponse; exports.DTODeleteForgeArtifactResponse = DTODeleteForgeArtifactResponse; exports.DTODeleteForgeIterationMessageResponse = DTODeleteForgeIterationMessageResponse; exports.DTODeleteForgeParticipantResponse = DTODeleteForgeParticipantResponse; exports.DTODeleteForgeProjectIterationResponse = DTODeleteForgeProjectIterationResponse; exports.DTODependencyDefinition = DTODependencyDefinition; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemComponent = DTODesignSystemComponent; exports.DTODesignSystemComponentCreateInput = DTODesignSystemComponentCreateInput; exports.DTODesignSystemComponentListResponse = DTODesignSystemComponentListResponse; exports.DTODesignSystemComponentResponse = DTODesignSystemComponentResponse; exports.DTODesignSystemContactsResponse = DTODesignSystemContactsResponse; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemInvitation = DTODesignSystemInvitation; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemResponse = DTODesignSystemResponse; exports.DTODesignSystemRole = DTODesignSystemRole; exports.DTODesignSystemUpdateAccessModeInput = DTODesignSystemUpdateAccessModeInput; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionRoom = DTODesignSystemVersionRoom; exports.DTODesignSystemVersionRoomResponse = DTODesignSystemVersionRoomResponse; exports.DTODesignSystemVersionStats = DTODesignSystemVersionStats; exports.DTODesignSystemVersionStatsQuery = DTODesignSystemVersionStatsQuery; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODesignToken = DTODesignToken; exports.DTODesignTokenCreatePayload = DTODesignTokenCreatePayload; exports.DTODesignTokenGroup = DTODesignTokenGroup; exports.DTODesignTokenGroupCreatePayload = DTODesignTokenGroupCreatePayload; exports.DTODesignTokenGroupListResponse = DTODesignTokenGroupListResponse; exports.DTODesignTokenGroupResponse = DTODesignTokenGroupResponse; exports.DTODesignTokenListResponse = DTODesignTokenListResponse; exports.DTODesignTokenResponse = DTODesignTokenResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationAnalyticsDiffPayload = DTODocumentationAnalyticsDiffPayload; exports.DTODocumentationAnalyticsRequest = DTODocumentationAnalyticsRequest; exports.DTODocumentationAnalyticsTimeFrame = DTODocumentationAnalyticsTimeFrame; exports.DTODocumentationAnalyticsTimeFrameComparison = DTODocumentationAnalyticsTimeFrameComparison; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupApprovalState = DTODocumentationGroupApprovalState; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupRestoreActionInput = DTODocumentationGroupRestoreActionInput; exports.DTODocumentationGroupRestoreActionOutput = DTODocumentationGroupRestoreActionOutput; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnalyticsDifference = DTODocumentationPageAnalyticsDifference; exports.DTODocumentationPageAnalyticsResponse = DTODocumentationPageAnalyticsResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageApprovalState = DTODocumentationPageApprovalState; exports.DTODocumentationPageApprovalStateChangeActionInput = DTODocumentationPageApprovalStateChangeActionInput; exports.DTODocumentationPageApprovalStateChangeActionOutput = DTODocumentationPageApprovalStateChangeActionOutput; exports.DTODocumentationPageApprovalStateChangeInput = DTODocumentationPageApprovalStateChangeInput; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDependencies = DTODocumentationPageDependencies; exports.DTODocumentationPageDependenciesGetResponse = DTODocumentationPageDependenciesGetResponse; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageIntervalDifferenceResponse = DTODocumentationPageIntervalDifferenceResponse; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoom = DTODocumentationPageRoom; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageRoomResponse = DTODocumentationPageRoomResponse; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageUpdateDocumentActionInputV2 = DTODocumentationPageUpdateDocumentActionInputV2; exports.DTODocumentationPageUpdateDocumentActionOutputV2 = DTODocumentationPageUpdateDocumentActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationSettings = DTODocumentationSettings; exports.DTODocumentationStructure = DTODocumentationStructure; exports.DTODocumentationStructureGroupItem = DTODocumentationStructureGroupItem; exports.DTODocumentationStructureItem = DTODocumentationStructureItem; exports.DTODocumentationStructurePageItem = DTODocumentationStructurePageItem; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionCreatePayload = DTOElementPropertyDefinitionCreatePayload; exports.DTOElementPropertyDefinitionListResponse = DTOElementPropertyDefinitionListResponse; exports.DTOElementPropertyDefinitionOption = DTOElementPropertyDefinitionOption; exports.DTOElementPropertyDefinitionResponse = DTOElementPropertyDefinitionResponse; exports.DTOElementPropertyDefinitionUpdatePayload = DTOElementPropertyDefinitionUpdatePayload; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValueListResponse = DTOElementPropertyValueListResponse; exports.DTOElementPropertyValueResponse = DTOElementPropertyValueResponse; exports.DTOElementPropertyValueUpsertPaylod = DTOElementPropertyValueUpsertPaylod; exports.DTOElementPropertyValuesEditActionInput = DTOElementPropertyValuesEditActionInput; exports.DTOElementPropertyValuesEditActionOutput = DTOElementPropertyValuesEditActionOutput; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetOutputV2 = DTOElementsGetOutputV2; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOEvent = DTOEvent; exports.DTOEventDataSourcesImported = DTOEventDataSourcesImported; exports.DTOEventFigmaNodesRendered = DTOEventFigmaNodesRendered; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreateInput = DTOExportJobCreateInput; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResponseLegacy = DTOExportJobResponseLegacy; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterDeprecationInput = DTOExporterDeprecationInput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterListQuery = DTOExporterListQuery; exports.DTOExporterListResponse = DTOExporterListResponse; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterPropertyDefinition = DTOExporterPropertyDefinition; exports.DTOExporterPropertyDefinitionArray = DTOExporterPropertyDefinitionArray; exports.DTOExporterPropertyDefinitionBoolean = DTOExporterPropertyDefinitionBoolean; exports.DTOExporterPropertyDefinitionCode = DTOExporterPropertyDefinitionCode; exports.DTOExporterPropertyDefinitionEnum = DTOExporterPropertyDefinitionEnum; exports.DTOExporterPropertyDefinitionEnumOption = DTOExporterPropertyDefinitionEnumOption; exports.DTOExporterPropertyDefinitionNumber = DTOExporterPropertyDefinitionNumber; exports.DTOExporterPropertyDefinitionObject = DTOExporterPropertyDefinitionObject; exports.DTOExporterPropertyDefinitionString = DTOExporterPropertyDefinitionString; exports.DTOExporterPropertyDefinitionsResponse = DTOExporterPropertyDefinitionsResponse; exports.DTOExporterPropertyType = DTOExporterPropertyType; exports.DTOExporterPropertyValue = DTOExporterPropertyValue; exports.DTOExporterPropertyValueMap = DTOExporterPropertyValueMap; exports.DTOExporterResponse = DTOExporterResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentGroup = DTOFigmaComponentGroup; exports.DTOFigmaComponentGroupListResponse = DTOFigmaComponentGroupListResponse; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeDataV2 = DTOFigmaNodeDataV2; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderAsyncActionInput = DTOFigmaNodeRenderAsyncActionInput; exports.DTOFigmaNodeRenderAsyncActionOutput = DTOFigmaNodeRenderAsyncActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderIdInput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderUrlInput; exports.DTOFigmaNodeRerenderInput = DTOFigmaNodeRerenderInput; exports.DTOFigmaNodeResponse = DTOFigmaNodeResponse; exports.DTOFigmaNodeStructure = DTOFigmaNodeStructure; exports.DTOFigmaNodeStructureDetail = DTOFigmaNodeStructureDetail; exports.DTOFigmaNodeStructureDetailResponse = DTOFigmaNodeStructureDetailResponse; exports.DTOFigmaNodeStructureListResponse = DTOFigmaNodeStructureListResponse; exports.DTOFigmaNodeV2 = DTOFigmaNodeV2; exports.DTOFigmaSourceUpdatePayload = DTOFigmaSourceUpdatePayload; exports.DTOFileResponseItem = DTOFileResponseItem; exports.DTOFileUploadFinalizePayload = DTOFileUploadFinalizePayload; exports.DTOFileUploadFinalizeResponse = DTOFileUploadFinalizeResponse; exports.DTOFileUploadItem = DTOFileUploadItem; exports.DTOFileUploadPayload = DTOFileUploadPayload; exports.DTOFileUploadResponse = DTOFileUploadResponse; exports.DTOFileUploadResponseItem = DTOFileUploadResponseItem; exports.DTOFilesGetPayload = DTOFilesGetPayload; exports.DTOFilesGetQuery = DTOFilesGetQuery; exports.DTOFilesResponse = DTOFilesResponse; exports.DTOForgeAgent = DTOForgeAgent; exports.DTOForgeAgentsListResponse = DTOForgeAgentsListResponse; exports.DTOForgeArtifact = DTOForgeArtifact; exports.DTOForgeArtifactGetResponse = DTOForgeArtifactGetResponse; exports.DTOForgeArtifactsListResponse = DTOForgeArtifactsListResponse; exports.DTOForgeAvatarBuilder = DTOForgeAvatarBuilder; exports.DTOForgeBuildArtifact = DTOForgeBuildArtifact; exports.DTOForgeChatMessage = DTOForgeChatMessage; exports.DTOForgeChatMessageCreateInput = DTOForgeChatMessageCreateInput; exports.DTOForgeChatMessageCreateResponse = DTOForgeChatMessageCreateResponse; exports.DTOForgeChatMessageListQuery = DTOForgeChatMessageListQuery; exports.DTOForgeChatMessageListResponse = DTOForgeChatMessageListResponse; exports.DTOForgeChatMessageScoreInput = DTOForgeChatMessageScoreInput; exports.DTOForgeChatMessageScoreRequest = DTOForgeChatMessageScoreRequest; exports.DTOForgeChatMessageSender = DTOForgeChatMessageSender; exports.DTOForgeChatMessageSenderType = DTOForgeChatMessageSenderType; exports.DTOForgeChatMessageTagInput = DTOForgeChatMessageTagInput; exports.DTOForgeChatThread = DTOForgeChatThread; exports.DTOForgeChatThreadCreateInput = DTOForgeChatThreadCreateInput; exports.DTOForgeChatThreadCreateResponse = DTOForgeChatThreadCreateResponse; exports.DTOForgeChatThreadDeleteResponse = DTOForgeChatThreadDeleteResponse; exports.DTOForgeChatThreadListQuery = DTOForgeChatThreadListQuery; exports.DTOForgeChatThreadListResponse = DTOForgeChatThreadListResponse; exports.DTOForgeChatThreadUpdateInput = DTOForgeChatThreadUpdateInput; exports.DTOForgeChatThreadUpdateResponse = DTOForgeChatThreadUpdateResponse; exports.DTOForgeFigmaArtifact = DTOForgeFigmaArtifact; exports.DTOForgeFileArtifact = DTOForgeFileArtifact; exports.DTOForgeIterationMessage = DTOForgeIterationMessage; exports.DTOForgeIterationMessagesListResponse = DTOForgeIterationMessagesListResponse; exports.DTOForgeParticipant = DTOForgeParticipant; exports.DTOForgeParticipantGetResponse = DTOForgeParticipantGetResponse; exports.DTOForgeParticipantsListResponse = DTOForgeParticipantsListResponse; exports.DTOForgeProject = DTOForgeProject; exports.DTOForgeProjectAction = DTOForgeProjectAction; exports.DTOForgeProjectActionArtifactCreate = DTOForgeProjectActionArtifactCreate; exports.DTOForgeProjectActionArtifactDelete = DTOForgeProjectActionArtifactDelete; exports.DTOForgeProjectActionArtifactUpdate = DTOForgeProjectActionArtifactUpdate; exports.DTOForgeProjectActionFeatureCreate = DTOForgeProjectActionFeatureCreate; exports.DTOForgeProjectActionFeatureDelete = DTOForgeProjectActionFeatureDelete; exports.DTOForgeProjectActionFeatureUpdate = DTOForgeProjectActionFeatureUpdate; exports.DTOForgeProjectArtifact = DTOForgeProjectArtifact; exports.DTOForgeProjectArtifactCreateInput = DTOForgeProjectArtifactCreateInput; exports.DTOForgeProjectArtifactCreateResponse = DTOForgeProjectArtifactCreateResponse; exports.DTOForgeProjectArtifactDeleteInput = DTOForgeProjectArtifactDeleteInput; exports.DTOForgeProjectArtifactDeleteResponse = DTOForgeProjectArtifactDeleteResponse; exports.DTOForgeProjectArtifactGetResponse = DTOForgeProjectArtifactGetResponse; exports.DTOForgeProjectArtifactRoom = DTOForgeProjectArtifactRoom; exports.DTOForgeProjectArtifactRoomResponse = DTOForgeProjectArtifactRoomResponse; exports.DTOForgeProjectArtifactUpdateInput = DTOForgeProjectArtifactUpdateInput; exports.DTOForgeProjectArtifactUpdateResponse = DTOForgeProjectArtifactUpdateResponse; exports.DTOForgeProjectArtifactsListResponse = DTOForgeProjectArtifactsListResponse; exports.DTOForgeProjectContext = DTOForgeProjectContext; exports.DTOForgeProjectContextCreateResponse = DTOForgeProjectContextCreateResponse; exports.DTOForgeProjectContextGetResponse = DTOForgeProjectContextGetResponse; exports.DTOForgeProjectContextListResponse = DTOForgeProjectContextListResponse; exports.DTOForgeProjectContextRemoveResponse = DTOForgeProjectContextRemoveResponse; exports.DTOForgeProjectContextUpdateResponse = DTOForgeProjectContextUpdateResponse; exports.DTOForgeProjectFeature = DTOForgeProjectFeature; exports.DTOForgeProjectFeatureCreateInput = DTOForgeProjectFeatureCreateInput; exports.DTOForgeProjectFeatureDeleteInput = DTOForgeProjectFeatureDeleteInput; exports.DTOForgeProjectFeatureGetResponse = DTOForgeProjectFeatureGetResponse; exports.DTOForgeProjectFeatureListResponse = DTOForgeProjectFeatureListResponse; exports.DTOForgeProjectFeatureMoveInput = DTOForgeProjectFeatureMoveInput; exports.DTOForgeProjectFeatureUpdateInput = DTOForgeProjectFeatureUpdateInput; exports.DTOForgeProjectGetResponse = DTOForgeProjectGetResponse; exports.DTOForgeProjectInvitation = DTOForgeProjectInvitation; exports.DTOForgeProjectInvitationCreateResponse = DTOForgeProjectInvitationCreateResponse; exports.DTOForgeProjectInvitationGetResponse = DTOForgeProjectInvitationGetResponse; exports.DTOForgeProjectInvitationRemoveResponse = DTOForgeProjectInvitationRemoveResponse; exports.DTOForgeProjectInvitationUpdateResponse = DTOForgeProjectInvitationUpdateResponse; exports.DTOForgeProjectInvitationsListResponse = DTOForgeProjectInvitationsListResponse; exports.DTOForgeProjectIteration = DTOForgeProjectIteration; exports.DTOForgeProjectIterationListResponse = DTOForgeProjectIterationListResponse; exports.DTOForgeProjectIterationMergeMeta = DTOForgeProjectIterationMergeMeta; exports.DTOForgeProjectMember = DTOForgeProjectMember; exports.DTOForgeProjectMemberCreateResponse = DTOForgeProjectMemberCreateResponse; exports.DTOForgeProjectMemberGetResponse = DTOForgeProjectMemberGetResponse; exports.DTOForgeProjectMemberRemoveResponse = DTOForgeProjectMemberRemoveResponse; exports.DTOForgeProjectMemberRole = DTOForgeProjectMemberRole; exports.DTOForgeProjectMemberUpdateResponse = DTOForgeProjectMemberUpdateResponse; exports.DTOForgeProjectMembersListResponse = DTOForgeProjectMembersListResponse; exports.DTOForgeProjectRoom = DTOForgeProjectRoom; exports.DTOForgeProjectRoomResponse = DTOForgeProjectRoomResponse; exports.DTOForgeProjectsListResponse = DTOForgeProjectsListResponse; exports.DTOForgeSpecArtifact = DTOForgeSpecArtifact; exports.DTOFrameNodeStructure = DTOFrameNodeStructure; exports.DTOFrameNodeStructureListResponse = DTOFrameNodeStructureListResponse; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetBlockDefinitionsQuery = DTOGetBlockDefinitionsQuery; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGetForgeIterationMessageResponse = DTOGetForgeIterationMessageResponse; exports.DTOGetForgeProjectIterationResponse = DTOGetForgeProjectIterationResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOImportJob = DTOImportJob; exports.DTOImportJobResponse = DTOImportJobResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryAccessTokenResponse = DTONpmRegistryAccessTokenResponse; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOObjectMeta = DTOObjectMeta; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPageRedirect = DTOPageRedirect; exports.DTOPageRedirectCreateBody = DTOPageRedirectCreateBody; exports.DTOPageRedirectDeleteResponse = DTOPageRedirectDeleteResponse; exports.DTOPageRedirectListResponse = DTOPageRedirectListResponse; exports.DTOPageRedirectResponse = DTOPageRedirectResponse; exports.DTOPageRedirectUpdateBody = DTOPageRedirectUpdateBody; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineListQuery = DTOPipelineListQuery; exports.DTOPipelineListResponse = DTOPipelineListResponse; exports.DTOPipelineResponse = DTOPipelineResponse; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPortalSettings = DTOPortalSettings; exports.DTOPortalSettingsGetResponse = DTOPortalSettingsGetResponse; exports.DTOPortalSettingsSidebar = DTOPortalSettingsSidebar; exports.DTOPortalSettingsSidebarLink = DTOPortalSettingsSidebarLink; exports.DTOPortalSettingsSidebarSection = DTOPortalSettingsSidebarSection; exports.DTOPortalSettingsTheme = DTOPortalSettingsTheme; exports.DTOPortalSettingsUpdatePayload = DTOPortalSettingsUpdatePayload; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTOPublishedDocAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData; exports.DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocPageAnalyticsComparisonData; exports.DTOPublishedDocPageVisitData = DTOPublishedDocPageVisitData; exports.DTOPublishedDocVisitData = DTOPublishedDocVisitData; exports.DTOPublishedDocVisitHeatMapWeek = DTOPublishedDocVisitHeatMapWeek; exports.DTORegistry = DTORegistry; exports.DTORemoveForgeProjectInvitation = DTORemoveForgeProjectInvitation; exports.DTORemoveForgeProjectMember = DTORemoveForgeProjectMember; exports.DTORemoveForgeProjectResponse = DTORemoveForgeProjectResponse; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOStorybookAccessTokenPayload = DTOStorybookAccessTokenPayload; exports.DTOStorybookAccessTokenResponse = DTOStorybookAccessTokenResponse; exports.DTOStorybookEntry = DTOStorybookEntry; exports.DTOStorybookEntryListResponse = DTOStorybookEntryListResponse; exports.DTOStorybookEntryOrigin = DTOStorybookEntryOrigin; exports.DTOStorybookEntryQuery = DTOStorybookEntryQuery; exports.DTOStorybookEntryReplaceAction = DTOStorybookEntryReplaceAction; exports.DTOStorybookEntryResponse = DTOStorybookEntryResponse; exports.DTOStorybookImportPayload = DTOStorybookImportPayload; exports.DTOStorybookSourceUpdatePayload = DTOStorybookSourceUpdatePayload; exports.DTOStorybookUploadStatus = DTOStorybookUploadStatus; exports.DTOStorybookUploadUrlRequest = DTOStorybookUploadUrlRequest; exports.DTOStorybookUploadUrlResponse = DTOStorybookUploadUrlResponse; exports.DTOSubscription = DTOSubscription; exports.DTOSubscriptionResponse = DTOSubscriptionResponse; exports.DTOTheme = DTOTheme; exports.DTOThemeCreatePayload = DTOThemeCreatePayload; exports.DTOThemeListResponse = DTOThemeListResponse; exports.DTOThemeOverride = DTOThemeOverride; exports.DTOThemeOverrideCreatePayload = DTOThemeOverrideCreatePayload; exports.DTOThemeResponse = DTOThemeResponse; exports.DTOTokenCollection = DTOTokenCollection; exports.DTOTokenCollectionsListReponse = DTOTokenCollectionsListReponse; exports.DTOTransferOwnershipPayload = DTOTransferOwnershipPayload; exports.DTOUGetForgeAgentResponse = DTOUGetForgeAgentResponse; exports.DTOUGetForgeProjectResponse = DTOUGetForgeProjectResponse; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageDocumentInputV2 = DTOUpdateDocumentationPageDocumentInputV2; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateForgeAgent = DTOUpdateForgeAgent; exports.DTOUpdateForgeAgentResponse = DTOUpdateForgeAgentResponse; exports.DTOUpdateForgeArtifact = DTOUpdateForgeArtifact; exports.DTOUpdateForgeArtifactResponse = DTOUpdateForgeArtifactResponse; exports.DTOUpdateForgeBuildArtifact = DTOUpdateForgeBuildArtifact; exports.DTOUpdateForgeFigmaArtifact = DTOUpdateForgeFigmaArtifact; exports.DTOUpdateForgeFileArtifact = DTOUpdateForgeFileArtifact; exports.DTOUpdateForgeIterationMessage = DTOUpdateForgeIterationMessage; exports.DTOUpdateForgeIterationMessageResponse = DTOUpdateForgeIterationMessageResponse; exports.DTOUpdateForgeParticipant = DTOUpdateForgeParticipant; exports.DTOUpdateForgeParticipantResponse = DTOUpdateForgeParticipantResponse; exports.DTOUpdateForgeProject = DTOUpdateForgeProject; exports.DTOUpdateForgeProjectContext = DTOUpdateForgeProjectContext; exports.DTOUpdateForgeProjectInvitation = DTOUpdateForgeProjectInvitation; exports.DTOUpdateForgeProjectIteration = DTOUpdateForgeProjectIteration; exports.DTOUpdateForgeProjectIterationResponse = DTOUpdateForgeProjectIterationResponse; exports.DTOUpdateForgeProjectMember = DTOUpdateForgeProjectMember; exports.DTOUpdateForgeProjectResponse = DTOUpdateForgeProjectResponse; exports.DTOUpdateForgeSpecArtifact = DTOUpdateForgeSpecArtifact; exports.DTOUpdateRegistryInput = DTOUpdateRegistryInput; exports.DTOUpdateRegistryOutput = DTOUpdateRegistryOutput; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUploadUrlItem = DTOUploadUrlItem; exports.DTOUser = DTOUser; exports.DTOUserDesignSystemsResponse = DTOUserDesignSystemsResponse; exports.DTOUserGetResponse = DTOUserGetResponse; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserOnboarding = DTOUserOnboarding; exports.DTOUserOnboardingDepartment = DTOUserOnboardingDepartment; exports.DTOUserOnboardingJobLevel = DTOUserOnboardingJobLevel; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdate = DTOUserProfileUpdate; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserSource = DTOUserSource; exports.DTOUserTheme = DTOUserTheme; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceCreateInput = DTOWorkspaceCreateInput; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceInvitationInput = DTOWorkspaceInvitationInput; exports.DTOWorkspaceInvitationUpdateResponse = DTOWorkspaceInvitationUpdateResponse; exports.DTOWorkspaceInvitationsListInput = DTOWorkspaceInvitationsListInput; exports.DTOWorkspaceInvitationsResponse = DTOWorkspaceInvitationsResponse; exports.DTOWorkspaceInviteUpdate = DTOWorkspaceInviteUpdate; exports.DTOWorkspaceMember = DTOWorkspaceMember; exports.DTOWorkspaceMembersListResponse = DTOWorkspaceMembersListResponse; exports.DTOWorkspaceProfile = DTOWorkspaceProfile; exports.DTOWorkspaceResponse = DTOWorkspaceResponse; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DTOWorkspaceUntypedData = DTOWorkspaceUntypedData; exports.DTOWorkspaceUntypedDataCreatePayload = DTOWorkspaceUntypedDataCreatePayload; exports.DTOWorkspaceUntypedDataListResponse = DTOWorkspaceUntypedDataListResponse; exports.DTOWorkspaceUntypedDataResponse = DTOWorkspaceUntypedDataResponse; exports.DTOWorkspaceUntypedDataUpdatePayload = DTOWorkspaceUntypedDataUpdatePayload; exports.DesignSystemAnalyticsEndpoint = DesignSystemAnalyticsEndpoint; exports.DesignSystemBffEndpoint = DesignSystemBffEndpoint; exports.DesignSystemComponentEndpoint = DesignSystemComponentEndpoint; exports.DesignSystemContactsEndpoint = DesignSystemContactsEndpoint; exports.DesignSystemMembersEndpoint = DesignSystemMembersEndpoint; exports.DesignSystemPageRedirectsEndpoint = DesignSystemPageRedirectsEndpoint; exports.DesignSystemSourcesEndpoint = DesignSystemSourcesEndpoint; exports.DesignSystemVersionsEndpoint = DesignSystemVersionsEndpoint; exports.DesignSystemsEndpoint = DesignSystemsEndpoint; exports.DimensionsVariableScopeType = DimensionsVariableScopeType; exports.DocsStructureRepository = DocsStructureRepository; exports.DocumentationEndpoint = DocumentationEndpoint; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ElementPropertyDefinitionsEndpoint = ElementPropertyDefinitionsEndpoint; exports.ElementPropertyValuesEndpoint = ElementPropertyValuesEndpoint; exports.ElementsActionEndpoint = ElementsActionEndpoint; exports.ElementsEndpoint = ElementsEndpoint; exports.ExporterJobsEndpoint = ExporterJobsEndpoint; exports.ExportersEndpoint = ExportersEndpoint; exports.FigmaComponentGroupsEndpoint = FigmaComponentGroupsEndpoint; exports.FigmaComponentsEndpoint = FigmaComponentsEndpoint; exports.FigmaFrameStructuresEndpoint = FigmaFrameStructuresEndpoint; exports.FigmaNodeStructuresEndpoint = FigmaNodeStructuresEndpoint; exports.FigmaUtils = FigmaUtils; exports.FilesEndpoint = FilesEndpoint; exports.ForgeAgentsEndpoint = ForgeAgentsEndpoint; exports.ForgeArtifactsEndpoint = ForgeArtifactsEndpoint; exports.ForgeFeaturesEndpoint = ForgeFeaturesEndpoint; exports.ForgeIterationMessagesEndpoint = ForgeIterationMessagesEndpoint; exports.ForgeParticipantsEndpoint = ForgeParticipantsEndpoint; exports.ForgeProjectContextsEndpoint = ForgeProjectContextsEndpoint; exports.ForgeProjectFeaturesEndpoint = ForgeProjectFeaturesEndpoint; exports.ForgeProjectInvitationsEndpoint = ForgeProjectInvitationsEndpoint; exports.ForgeProjectIterationsEndpoint = ForgeProjectIterationsEndpoint; exports.ForgeProjectMembersEndpoint = ForgeProjectMembersEndpoint; exports.ForgeProjectRoomBaseYDoc = ForgeProjectRoomBaseYDoc; exports.ForgeProjectsEndpoint = ForgeProjectsEndpoint; exports.ForgesEndpoint = ForgesEndpoint; exports.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.GitDestinationOptions = GitDestinationOptions; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; exports.LiveblocksEndpoint = LiveblocksEndpoint; exports.LocalDocsElementActionExecutor = LocalDocsElementActionExecutor; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.OverridesEndpoint = OverridesEndpoint; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.ParsedFigmaFileURLError = ParsedFigmaFileURLError; exports.PipelinesEndpoint = PipelinesEndpoint; exports.RGB = RGB; exports.RGBA = RGBA; exports.RequestExecutor = RequestExecutor; exports.RequestExecutorError = RequestExecutorError; exports.ResolvedVariableType = ResolvedVariableType; exports.StorybookEntriesEndpoint = StorybookEntriesEndpoint; exports.StorybookHostingEndpoint = StorybookHostingEndpoint; exports.StringVariableScopeType = StringVariableScopeType; exports.SupernovaApiClient = SupernovaApiClient; exports.ThemesEndpoint = ThemesEndpoint; exports.TokenCollectionsEndpoint = TokenCollectionsEndpoint; exports.TokenGroupsEndpoint = TokenGroupsEndpoint; exports.TokensEndpoint = TokensEndpoint; exports.UsersEndpoint = UsersEndpoint; exports.Variable = Variable; exports.VariableAlias = VariableAlias; exports.VariableMode = VariableMode; exports.VariableValue = VariableValue; exports.VariablesMapping = VariablesMapping; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.VersionStatsEndpoint = VersionStatsEndpoint; exports.WorkspaceChatThreadsEndpoint = WorkspaceChatThreadsEndpoint; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.WorkspaceIntegrationsEndpoint = WorkspaceIntegrationsEndpoint; exports.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspaceNpmRegistryEndpoint = WorkspaceNpmRegistryEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; exports.applyActionsLocally = applyActionsLocally; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.computeDocsHierarchy = computeDocsHierarchy; exports.documentationAnalyticsToComparisonDto = documentationAnalyticsToComparisonDto; exports.documentationAnalyticsToGlobalDto = documentationAnalyticsToGlobalDto; exports.documentationAnalyticsToHeatMapDto = documentationAnalyticsToHeatMapDto; exports.documentationAnalyticsToPageComparisonDto = documentationAnalyticsToPageComparisonDto; exports.documentationAnalyticsToPageDto = documentationAnalyticsToPageDto; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.exhaustiveInvalidUriPaths = exhaustiveInvalidUriPaths; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.isValidRedirectPath = isValidRedirectPath; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.serializeQuery = serializeQuery; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy;
18065
+ exports.BackendForgeProjectRoomYDoc = BackendForgeProjectRoomYDoc; exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BrandsEndpoint = BrandsEndpoint; exports.ChatThreadMessagesEndpoint = ChatThreadMessagesEndpoint; exports.CodeComponentsEndpoint = CodeComponentsEndpoint; exports.CodegenEndpoint = CodegenEndpoint; exports.Collection = Collection2; exports.DTOAccessToken = DTOAccessToken; exports.DTOAccessTokenCreatePayload = DTOAccessTokenCreatePayload; exports.DTOAccessTokenFull = DTOAccessTokenFull; exports.DTOAccessTokenFullResponse = DTOAccessTokenFullResponse; exports.DTOAccessTokenListResponse = DTOAccessTokenListResponse; exports.DTOAccessTokenResponse = DTOAccessTokenResponse; exports.DTOAddMembersToForgeProject = DTOAddMembersToForgeProject; exports.DTOAnalyzeCodeComponentsInPackage = DTOAnalyzeCodeComponentsInPackage; exports.DTOAnalyzeCodeComponentsInPackageInput = DTOAnalyzeCodeComponentsInPackageInput; exports.DTOAnalyzeCodeComponentsInPackageResponse = DTOAnalyzeCodeComponentsInPackageResponse; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOAssetScope = DTOAssetScope; exports.DTOAuthenticatedUser = DTOAuthenticatedUser; exports.DTOAuthenticatedUserProfile = DTOAuthenticatedUserProfile; exports.DTOAuthenticatedUserResponse = DTOAuthenticatedUserResponse; exports.DTOBffFigmaImportRequestBody = DTOBffFigmaImportRequestBody; exports.DTOBffImportRequestBody = DTOBffImportRequestBody; exports.DTOBffUploadImportRequestBody = DTOBffUploadImportRequestBody; exports.DTOBillingCreditsSpendInput = DTOBillingCreditsSpendInput; exports.DTOBillingCreditsSpendResponse = DTOBillingCreditsSpendResponse; exports.DTOBrand = DTOBrand; exports.DTOBrandCreatePayload = DTOBrandCreatePayload; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandUpdatePayload = DTOBrandUpdatePayload; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCodeComponent = DTOCodeComponent; exports.DTOCodeComponentCreateInput = DTOCodeComponentCreateInput; exports.DTOCodeComponentListResponse = DTOCodeComponentListResponse; exports.DTOCodeComponentParentType = DTOCodeComponentParentType; exports.DTOCodeComponentProperty = DTOCodeComponentProperty; exports.DTOCodeComponentResolvedType = DTOCodeComponentResolvedType; exports.DTOCodeComponentResolvedTypeKind = DTOCodeComponentResolvedTypeKind; exports.DTOCodeComponentResponse = DTOCodeComponentResponse; exports.DTOCodeComponentUpsertResponse = DTOCodeComponentUpsertResponse; exports.DTOCodeComponentsCreateInput = DTOCodeComponentsCreateInput; exports.DTOColorTokenInlineData = DTOColorTokenInlineData; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateForgeAgent = DTOCreateForgeAgent; exports.DTOCreateForgeAgentResponse = DTOCreateForgeAgentResponse; exports.DTOCreateForgeArtifact = DTOCreateForgeArtifact; exports.DTOCreateForgeArtifactResponse = DTOCreateForgeArtifactResponse; exports.DTOCreateForgeBuildArtifact = DTOCreateForgeBuildArtifact; exports.DTOCreateForgeFigmaArtifact = DTOCreateForgeFigmaArtifact; exports.DTOCreateForgeFileArtifact = DTOCreateForgeFileArtifact; exports.DTOCreateForgeIterationMessage = DTOCreateForgeIterationMessage; exports.DTOCreateForgeIterationMessageResponse = DTOCreateForgeIterationMessageResponse; exports.DTOCreateForgeParticipant = DTOCreateForgeParticipant; exports.DTOCreateForgeParticipantResponse = DTOCreateForgeParticipantResponse; exports.DTOCreateForgeProject = DTOCreateForgeProject; exports.DTOCreateForgeProjectContext = DTOCreateForgeProjectContext; exports.DTOCreateForgeProjectInvitation = DTOCreateForgeProjectInvitation; exports.DTOCreateForgeProjectIteration = DTOCreateForgeProjectIteration; exports.DTOCreateForgeProjectIterationResponse = DTOCreateForgeProjectIterationResponse; exports.DTOCreateForgeProjectMember = DTOCreateForgeProjectMember; exports.DTOCreateForgeProjectResponse = DTOCreateForgeProjectResponse; exports.DTOCreateForgeSpecArtifact = DTOCreateForgeSpecArtifact; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaCreatePayload = DTODataSourceFigmaCreatePayload; exports.DTODataSourceFigmaImportPayload = DTODataSourceFigmaImportPayload; exports.DTODataSourceFigmaScope = DTODataSourceFigmaScope; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceResponse = DTODataSourceResponse; exports.DTODataSourceStorybook = DTODataSourceStorybook; exports.DTODataSourceStorybookCreatePayload = DTODataSourceStorybookCreatePayload; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODataSourcesStorybookResponse = DTODataSourcesStorybookResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODeleteForgeAgentResponse = DTODeleteForgeAgentResponse; exports.DTODeleteForgeArtifactResponse = DTODeleteForgeArtifactResponse; exports.DTODeleteForgeIterationMessageResponse = DTODeleteForgeIterationMessageResponse; exports.DTODeleteForgeParticipantResponse = DTODeleteForgeParticipantResponse; exports.DTODeleteForgeProjectIterationResponse = DTODeleteForgeProjectIterationResponse; exports.DTODependencyDefinition = DTODependencyDefinition; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemComponent = DTODesignSystemComponent; exports.DTODesignSystemComponentCreateInput = DTODesignSystemComponentCreateInput; exports.DTODesignSystemComponentListResponse = DTODesignSystemComponentListResponse; exports.DTODesignSystemComponentResponse = DTODesignSystemComponentResponse; exports.DTODesignSystemContactsResponse = DTODesignSystemContactsResponse; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemInvitation = DTODesignSystemInvitation; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemResponse = DTODesignSystemResponse; exports.DTODesignSystemRole = DTODesignSystemRole; exports.DTODesignSystemUpdateAccessModeInput = DTODesignSystemUpdateAccessModeInput; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionRoom = DTODesignSystemVersionRoom; exports.DTODesignSystemVersionRoomResponse = DTODesignSystemVersionRoomResponse; exports.DTODesignSystemVersionStats = DTODesignSystemVersionStats; exports.DTODesignSystemVersionStatsQuery = DTODesignSystemVersionStatsQuery; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODesignToken = DTODesignToken; exports.DTODesignTokenCreatePayload = DTODesignTokenCreatePayload; exports.DTODesignTokenGroup = DTODesignTokenGroup; exports.DTODesignTokenGroupCreatePayload = DTODesignTokenGroupCreatePayload; exports.DTODesignTokenGroupListResponse = DTODesignTokenGroupListResponse; exports.DTODesignTokenGroupResponse = DTODesignTokenGroupResponse; exports.DTODesignTokenListResponse = DTODesignTokenListResponse; exports.DTODesignTokenResponse = DTODesignTokenResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationAnalyticsDiffPayload = DTODocumentationAnalyticsDiffPayload; exports.DTODocumentationAnalyticsRequest = DTODocumentationAnalyticsRequest; exports.DTODocumentationAnalyticsTimeFrame = DTODocumentationAnalyticsTimeFrame; exports.DTODocumentationAnalyticsTimeFrameComparison = DTODocumentationAnalyticsTimeFrameComparison; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupApprovalState = DTODocumentationGroupApprovalState; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupRestoreActionInput = DTODocumentationGroupRestoreActionInput; exports.DTODocumentationGroupRestoreActionOutput = DTODocumentationGroupRestoreActionOutput; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnalyticsDifference = DTODocumentationPageAnalyticsDifference; exports.DTODocumentationPageAnalyticsResponse = DTODocumentationPageAnalyticsResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageApprovalState = DTODocumentationPageApprovalState; exports.DTODocumentationPageApprovalStateChangeActionInput = DTODocumentationPageApprovalStateChangeActionInput; exports.DTODocumentationPageApprovalStateChangeActionOutput = DTODocumentationPageApprovalStateChangeActionOutput; exports.DTODocumentationPageApprovalStateChangeInput = DTODocumentationPageApprovalStateChangeInput; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDependencies = DTODocumentationPageDependencies; exports.DTODocumentationPageDependenciesGetResponse = DTODocumentationPageDependenciesGetResponse; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageIntervalDifferenceResponse = DTODocumentationPageIntervalDifferenceResponse; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoom = DTODocumentationPageRoom; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageRoomResponse = DTODocumentationPageRoomResponse; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageUpdateDocumentActionInputV2 = DTODocumentationPageUpdateDocumentActionInputV2; exports.DTODocumentationPageUpdateDocumentActionOutputV2 = DTODocumentationPageUpdateDocumentActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationSettings = DTODocumentationSettings; exports.DTODocumentationStructure = DTODocumentationStructure; exports.DTODocumentationStructureGroupItem = DTODocumentationStructureGroupItem; exports.DTODocumentationStructureItem = DTODocumentationStructureItem; exports.DTODocumentationStructurePageItem = DTODocumentationStructurePageItem; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionCreatePayload = DTOElementPropertyDefinitionCreatePayload; exports.DTOElementPropertyDefinitionListResponse = DTOElementPropertyDefinitionListResponse; exports.DTOElementPropertyDefinitionOption = DTOElementPropertyDefinitionOption; exports.DTOElementPropertyDefinitionResponse = DTOElementPropertyDefinitionResponse; exports.DTOElementPropertyDefinitionUpdatePayload = DTOElementPropertyDefinitionUpdatePayload; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValueListResponse = DTOElementPropertyValueListResponse; exports.DTOElementPropertyValueResponse = DTOElementPropertyValueResponse; exports.DTOElementPropertyValueUpsertPaylod = DTOElementPropertyValueUpsertPaylod; exports.DTOElementPropertyValuesEditActionInput = DTOElementPropertyValuesEditActionInput; exports.DTOElementPropertyValuesEditActionOutput = DTOElementPropertyValuesEditActionOutput; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetOutputV2 = DTOElementsGetOutputV2; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOEvent = DTOEvent; exports.DTOEventDataSourcesImported = DTOEventDataSourcesImported; exports.DTOEventFigmaNodesRendered = DTOEventFigmaNodesRendered; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreateInput = DTOExportJobCreateInput; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResponseLegacy = DTOExportJobResponseLegacy; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterDeprecationInput = DTOExporterDeprecationInput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterListQuery = DTOExporterListQuery; exports.DTOExporterListResponse = DTOExporterListResponse; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterPropertyDefinition = DTOExporterPropertyDefinition; exports.DTOExporterPropertyDefinitionArray = DTOExporterPropertyDefinitionArray; exports.DTOExporterPropertyDefinitionBoolean = DTOExporterPropertyDefinitionBoolean; exports.DTOExporterPropertyDefinitionCode = DTOExporterPropertyDefinitionCode; exports.DTOExporterPropertyDefinitionEnum = DTOExporterPropertyDefinitionEnum; exports.DTOExporterPropertyDefinitionEnumOption = DTOExporterPropertyDefinitionEnumOption; exports.DTOExporterPropertyDefinitionNumber = DTOExporterPropertyDefinitionNumber; exports.DTOExporterPropertyDefinitionObject = DTOExporterPropertyDefinitionObject; exports.DTOExporterPropertyDefinitionString = DTOExporterPropertyDefinitionString; exports.DTOExporterPropertyDefinitionsResponse = DTOExporterPropertyDefinitionsResponse; exports.DTOExporterPropertyType = DTOExporterPropertyType; exports.DTOExporterPropertyValue = DTOExporterPropertyValue; exports.DTOExporterPropertyValueMap = DTOExporterPropertyValueMap; exports.DTOExporterResponse = DTOExporterResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentGroup = DTOFigmaComponentGroup; exports.DTOFigmaComponentGroupListResponse = DTOFigmaComponentGroupListResponse; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeDataV2 = DTOFigmaNodeDataV2; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderAsyncActionInput = DTOFigmaNodeRenderAsyncActionInput; exports.DTOFigmaNodeRenderAsyncActionOutput = DTOFigmaNodeRenderAsyncActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderIdInput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderUrlInput; exports.DTOFigmaNodeRerenderInput = DTOFigmaNodeRerenderInput; exports.DTOFigmaNodeResponse = DTOFigmaNodeResponse; exports.DTOFigmaNodeStructure = DTOFigmaNodeStructure; exports.DTOFigmaNodeStructureDetail = DTOFigmaNodeStructureDetail; exports.DTOFigmaNodeStructureDetailResponse = DTOFigmaNodeStructureDetailResponse; exports.DTOFigmaNodeStructureListResponse = DTOFigmaNodeStructureListResponse; exports.DTOFigmaNodeV2 = DTOFigmaNodeV2; exports.DTOFigmaSourceUpdatePayload = DTOFigmaSourceUpdatePayload; exports.DTOFileResponseItem = DTOFileResponseItem; exports.DTOFileUploadFinalizePayload = DTOFileUploadFinalizePayload; exports.DTOFileUploadFinalizeResponse = DTOFileUploadFinalizeResponse; exports.DTOFileUploadItem = DTOFileUploadItem; exports.DTOFileUploadPayload = DTOFileUploadPayload; exports.DTOFileUploadResponse = DTOFileUploadResponse; exports.DTOFileUploadResponseItem = DTOFileUploadResponseItem; exports.DTOFilesGetPayload = DTOFilesGetPayload; exports.DTOFilesGetQuery = DTOFilesGetQuery; exports.DTOFilesResponse = DTOFilesResponse; exports.DTOForgeAgent = DTOForgeAgent; exports.DTOForgeAgentsListResponse = DTOForgeAgentsListResponse; exports.DTOForgeArtifact = DTOForgeArtifact; exports.DTOForgeArtifactGetResponse = DTOForgeArtifactGetResponse; exports.DTOForgeArtifactsListResponse = DTOForgeArtifactsListResponse; exports.DTOForgeAvatarBuilder = DTOForgeAvatarBuilder; exports.DTOForgeBuildArtifact = DTOForgeBuildArtifact; exports.DTOForgeChatMessage = DTOForgeChatMessage; exports.DTOForgeChatMessageCreateInput = DTOForgeChatMessageCreateInput; exports.DTOForgeChatMessageCreateResponse = DTOForgeChatMessageCreateResponse; exports.DTOForgeChatMessageListQuery = DTOForgeChatMessageListQuery; exports.DTOForgeChatMessageListResponse = DTOForgeChatMessageListResponse; exports.DTOForgeChatMessageScoreInput = DTOForgeChatMessageScoreInput; exports.DTOForgeChatMessageScoreRequest = DTOForgeChatMessageScoreRequest; exports.DTOForgeChatMessageSender = DTOForgeChatMessageSender; exports.DTOForgeChatMessageSenderType = DTOForgeChatMessageSenderType; exports.DTOForgeChatMessageTagInput = DTOForgeChatMessageTagInput; exports.DTOForgeChatThread = DTOForgeChatThread; exports.DTOForgeChatThreadCreateInput = DTOForgeChatThreadCreateInput; exports.DTOForgeChatThreadCreateResponse = DTOForgeChatThreadCreateResponse; exports.DTOForgeChatThreadDeleteResponse = DTOForgeChatThreadDeleteResponse; exports.DTOForgeChatThreadListQuery = DTOForgeChatThreadListQuery; exports.DTOForgeChatThreadListResponse = DTOForgeChatThreadListResponse; exports.DTOForgeChatThreadUpdateInput = DTOForgeChatThreadUpdateInput; exports.DTOForgeChatThreadUpdateResponse = DTOForgeChatThreadUpdateResponse; exports.DTOForgeFigmaArtifact = DTOForgeFigmaArtifact; exports.DTOForgeFileArtifact = DTOForgeFileArtifact; exports.DTOForgeIterationMessage = DTOForgeIterationMessage; exports.DTOForgeIterationMessagesListResponse = DTOForgeIterationMessagesListResponse; exports.DTOForgeParticipant = DTOForgeParticipant; exports.DTOForgeParticipantGetResponse = DTOForgeParticipantGetResponse; exports.DTOForgeParticipantsListResponse = DTOForgeParticipantsListResponse; exports.DTOForgeProject = DTOForgeProject; exports.DTOForgeProjectAction = DTOForgeProjectAction; exports.DTOForgeProjectActionArtifactCreate = DTOForgeProjectActionArtifactCreate; exports.DTOForgeProjectActionArtifactDelete = DTOForgeProjectActionArtifactDelete; exports.DTOForgeProjectActionArtifactMove = DTOForgeProjectActionArtifactMove; exports.DTOForgeProjectActionArtifactUpdate = DTOForgeProjectActionArtifactUpdate; exports.DTOForgeProjectActionFeatureCreate = DTOForgeProjectActionFeatureCreate; exports.DTOForgeProjectActionFeatureDelete = DTOForgeProjectActionFeatureDelete; exports.DTOForgeProjectActionFeatureMove = DTOForgeProjectActionFeatureMove; exports.DTOForgeProjectActionFeatureUpdate = DTOForgeProjectActionFeatureUpdate; exports.DTOForgeProjectActionSectionCreate = DTOForgeProjectActionSectionCreate; exports.DTOForgeProjectActionSectionDelete = DTOForgeProjectActionSectionDelete; exports.DTOForgeProjectActionSectionMove = DTOForgeProjectActionSectionMove; exports.DTOForgeProjectActionSectionUpdate = DTOForgeProjectActionSectionUpdate; exports.DTOForgeProjectArtifact = DTOForgeProjectArtifact; exports.DTOForgeProjectArtifactCreateInput = DTOForgeProjectArtifactCreateInput; exports.DTOForgeProjectArtifactCreateResponse = DTOForgeProjectArtifactCreateResponse; exports.DTOForgeProjectArtifactDeleteInput = DTOForgeProjectArtifactDeleteInput; exports.DTOForgeProjectArtifactDeleteResponse = DTOForgeProjectArtifactDeleteResponse; exports.DTOForgeProjectArtifactGetResponse = DTOForgeProjectArtifactGetResponse; exports.DTOForgeProjectArtifactMoveInput = DTOForgeProjectArtifactMoveInput; exports.DTOForgeProjectArtifactMoveResponse = DTOForgeProjectArtifactMoveResponse; exports.DTOForgeProjectArtifactRoom = DTOForgeProjectArtifactRoom; exports.DTOForgeProjectArtifactRoomResponse = DTOForgeProjectArtifactRoomResponse; exports.DTOForgeProjectArtifactUpdateInput = DTOForgeProjectArtifactUpdateInput; exports.DTOForgeProjectArtifactUpdateResponse = DTOForgeProjectArtifactUpdateResponse; exports.DTOForgeProjectArtifactsListResponse = DTOForgeProjectArtifactsListResponse; exports.DTOForgeProjectContext = DTOForgeProjectContext; exports.DTOForgeProjectContextCreateResponse = DTOForgeProjectContextCreateResponse; exports.DTOForgeProjectContextGetResponse = DTOForgeProjectContextGetResponse; exports.DTOForgeProjectContextListResponse = DTOForgeProjectContextListResponse; exports.DTOForgeProjectContextRemoveResponse = DTOForgeProjectContextRemoveResponse; exports.DTOForgeProjectContextUpdateResponse = DTOForgeProjectContextUpdateResponse; exports.DTOForgeProjectFeature = DTOForgeProjectFeature; exports.DTOForgeProjectFeatureCreateInput = DTOForgeProjectFeatureCreateInput; exports.DTOForgeProjectFeatureDeleteInput = DTOForgeProjectFeatureDeleteInput; exports.DTOForgeProjectFeatureGetResponse = DTOForgeProjectFeatureGetResponse; exports.DTOForgeProjectFeatureListResponse = DTOForgeProjectFeatureListResponse; exports.DTOForgeProjectFeatureMoveInput = DTOForgeProjectFeatureMoveInput; exports.DTOForgeProjectFeatureUpdateInput = DTOForgeProjectFeatureUpdateInput; exports.DTOForgeProjectGetResponse = DTOForgeProjectGetResponse; exports.DTOForgeProjectInvitation = DTOForgeProjectInvitation; exports.DTOForgeProjectInvitationCreateResponse = DTOForgeProjectInvitationCreateResponse; exports.DTOForgeProjectInvitationGetResponse = DTOForgeProjectInvitationGetResponse; exports.DTOForgeProjectInvitationRemoveResponse = DTOForgeProjectInvitationRemoveResponse; exports.DTOForgeProjectInvitationUpdateResponse = DTOForgeProjectInvitationUpdateResponse; exports.DTOForgeProjectInvitationsListResponse = DTOForgeProjectInvitationsListResponse; exports.DTOForgeProjectIteration = DTOForgeProjectIteration; exports.DTOForgeProjectIterationListResponse = DTOForgeProjectIterationListResponse; exports.DTOForgeProjectIterationMergeMeta = DTOForgeProjectIterationMergeMeta; exports.DTOForgeProjectMember = DTOForgeProjectMember; exports.DTOForgeProjectMemberCreateResponse = DTOForgeProjectMemberCreateResponse; exports.DTOForgeProjectMemberGetResponse = DTOForgeProjectMemberGetResponse; exports.DTOForgeProjectMemberRemoveResponse = DTOForgeProjectMemberRemoveResponse; exports.DTOForgeProjectMemberRole = DTOForgeProjectMemberRole; exports.DTOForgeProjectMemberUpdateResponse = DTOForgeProjectMemberUpdateResponse; exports.DTOForgeProjectMembersListResponse = DTOForgeProjectMembersListResponse; exports.DTOForgeProjectRoom = DTOForgeProjectRoom; exports.DTOForgeProjectRoomResponse = DTOForgeProjectRoomResponse; exports.DTOForgeProjectsListResponse = DTOForgeProjectsListResponse; exports.DTOForgeSection = DTOForgeSection; exports.DTOForgeSectionCreateInput = DTOForgeSectionCreateInput; exports.DTOForgeSectionDeleteInput = DTOForgeSectionDeleteInput; exports.DTOForgeSectionItemMoveInput = DTOForgeSectionItemMoveInput; exports.DTOForgeSectionMoveInput = DTOForgeSectionMoveInput; exports.DTOForgeSectionUpdateInput = DTOForgeSectionUpdateInput; exports.DTOForgeSpecArtifact = DTOForgeSpecArtifact; exports.DTOFrameNodeStructure = DTOFrameNodeStructure; exports.DTOFrameNodeStructureListResponse = DTOFrameNodeStructureListResponse; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetBlockDefinitionsQuery = DTOGetBlockDefinitionsQuery; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGetForgeIterationMessageResponse = DTOGetForgeIterationMessageResponse; exports.DTOGetForgeProjectIterationResponse = DTOGetForgeProjectIterationResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOImportJob = DTOImportJob; exports.DTOImportJobResponse = DTOImportJobResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryAccessTokenResponse = DTONpmRegistryAccessTokenResponse; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOObjectMeta = DTOObjectMeta; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPageRedirect = DTOPageRedirect; exports.DTOPageRedirectCreateBody = DTOPageRedirectCreateBody; exports.DTOPageRedirectDeleteResponse = DTOPageRedirectDeleteResponse; exports.DTOPageRedirectListResponse = DTOPageRedirectListResponse; exports.DTOPageRedirectResponse = DTOPageRedirectResponse; exports.DTOPageRedirectUpdateBody = DTOPageRedirectUpdateBody; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineListQuery = DTOPipelineListQuery; exports.DTOPipelineListResponse = DTOPipelineListResponse; exports.DTOPipelineResponse = DTOPipelineResponse; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPortalSettings = DTOPortalSettings; exports.DTOPortalSettingsGetResponse = DTOPortalSettingsGetResponse; exports.DTOPortalSettingsSidebar = DTOPortalSettingsSidebar; exports.DTOPortalSettingsSidebarLink = DTOPortalSettingsSidebarLink; exports.DTOPortalSettingsSidebarSection = DTOPortalSettingsSidebarSection; exports.DTOPortalSettingsTheme = DTOPortalSettingsTheme; exports.DTOPortalSettingsUpdatePayload = DTOPortalSettingsUpdatePayload; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTOPublishedDocAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData; exports.DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocPageAnalyticsComparisonData; exports.DTOPublishedDocPageVisitData = DTOPublishedDocPageVisitData; exports.DTOPublishedDocVisitData = DTOPublishedDocVisitData; exports.DTOPublishedDocVisitHeatMapWeek = DTOPublishedDocVisitHeatMapWeek; exports.DTORegistry = DTORegistry; exports.DTORemoveForgeProjectInvitation = DTORemoveForgeProjectInvitation; exports.DTORemoveForgeProjectMember = DTORemoveForgeProjectMember; exports.DTORemoveForgeProjectResponse = DTORemoveForgeProjectResponse; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOStorybookAccessTokenPayload = DTOStorybookAccessTokenPayload; exports.DTOStorybookAccessTokenResponse = DTOStorybookAccessTokenResponse; exports.DTOStorybookEntry = DTOStorybookEntry; exports.DTOStorybookEntryListResponse = DTOStorybookEntryListResponse; exports.DTOStorybookEntryOrigin = DTOStorybookEntryOrigin; exports.DTOStorybookEntryQuery = DTOStorybookEntryQuery; exports.DTOStorybookEntryReplaceAction = DTOStorybookEntryReplaceAction; exports.DTOStorybookEntryResponse = DTOStorybookEntryResponse; exports.DTOStorybookImportPayload = DTOStorybookImportPayload; exports.DTOStorybookSourceUpdatePayload = DTOStorybookSourceUpdatePayload; exports.DTOStorybookUploadStatus = DTOStorybookUploadStatus; exports.DTOStorybookUploadUrlRequest = DTOStorybookUploadUrlRequest; exports.DTOStorybookUploadUrlResponse = DTOStorybookUploadUrlResponse; exports.DTOSubscription = DTOSubscription; exports.DTOSubscriptionResponse = DTOSubscriptionResponse; exports.DTOTheme = DTOTheme; exports.DTOThemeCreatePayload = DTOThemeCreatePayload; exports.DTOThemeListResponse = DTOThemeListResponse; exports.DTOThemeOverride = DTOThemeOverride; exports.DTOThemeOverrideCreatePayload = DTOThemeOverrideCreatePayload; exports.DTOThemeResponse = DTOThemeResponse; exports.DTOTokenCollection = DTOTokenCollection; exports.DTOTokenCollectionsListReponse = DTOTokenCollectionsListReponse; exports.DTOTransferOwnershipPayload = DTOTransferOwnershipPayload; exports.DTOUGetForgeAgentResponse = DTOUGetForgeAgentResponse; exports.DTOUGetForgeProjectResponse = DTOUGetForgeProjectResponse; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageDocumentInputV2 = DTOUpdateDocumentationPageDocumentInputV2; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateForgeAgent = DTOUpdateForgeAgent; exports.DTOUpdateForgeAgentResponse = DTOUpdateForgeAgentResponse; exports.DTOUpdateForgeArtifact = DTOUpdateForgeArtifact; exports.DTOUpdateForgeArtifactResponse = DTOUpdateForgeArtifactResponse; exports.DTOUpdateForgeBuildArtifact = DTOUpdateForgeBuildArtifact; exports.DTOUpdateForgeFigmaArtifact = DTOUpdateForgeFigmaArtifact; exports.DTOUpdateForgeFileArtifact = DTOUpdateForgeFileArtifact; exports.DTOUpdateForgeIterationMessage = DTOUpdateForgeIterationMessage; exports.DTOUpdateForgeIterationMessageResponse = DTOUpdateForgeIterationMessageResponse; exports.DTOUpdateForgeParticipant = DTOUpdateForgeParticipant; exports.DTOUpdateForgeParticipantResponse = DTOUpdateForgeParticipantResponse; exports.DTOUpdateForgeProject = DTOUpdateForgeProject; exports.DTOUpdateForgeProjectContext = DTOUpdateForgeProjectContext; exports.DTOUpdateForgeProjectInvitation = DTOUpdateForgeProjectInvitation; exports.DTOUpdateForgeProjectIteration = DTOUpdateForgeProjectIteration; exports.DTOUpdateForgeProjectIterationResponse = DTOUpdateForgeProjectIterationResponse; exports.DTOUpdateForgeProjectMember = DTOUpdateForgeProjectMember; exports.DTOUpdateForgeProjectResponse = DTOUpdateForgeProjectResponse; exports.DTOUpdateForgeSpecArtifact = DTOUpdateForgeSpecArtifact; exports.DTOUpdateRegistryInput = DTOUpdateRegistryInput; exports.DTOUpdateRegistryOutput = DTOUpdateRegistryOutput; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUploadUrlItem = DTOUploadUrlItem; exports.DTOUser = DTOUser; exports.DTOUserDesignSystemsResponse = DTOUserDesignSystemsResponse; exports.DTOUserGetResponse = DTOUserGetResponse; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserOnboarding = DTOUserOnboarding; exports.DTOUserOnboardingDepartment = DTOUserOnboardingDepartment; exports.DTOUserOnboardingJobLevel = DTOUserOnboardingJobLevel; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdate = DTOUserProfileUpdate; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserSource = DTOUserSource; exports.DTOUserTheme = DTOUserTheme; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceCreateInput = DTOWorkspaceCreateInput; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceInvitationInput = DTOWorkspaceInvitationInput; exports.DTOWorkspaceInvitationUpdateResponse = DTOWorkspaceInvitationUpdateResponse; exports.DTOWorkspaceInvitationsListInput = DTOWorkspaceInvitationsListInput; exports.DTOWorkspaceInvitationsResponse = DTOWorkspaceInvitationsResponse; exports.DTOWorkspaceInviteUpdate = DTOWorkspaceInviteUpdate; exports.DTOWorkspaceMember = DTOWorkspaceMember; exports.DTOWorkspaceMembersListResponse = DTOWorkspaceMembersListResponse; exports.DTOWorkspaceProfile = DTOWorkspaceProfile; exports.DTOWorkspaceResponse = DTOWorkspaceResponse; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DTOWorkspaceUntypedData = DTOWorkspaceUntypedData; exports.DTOWorkspaceUntypedDataCreatePayload = DTOWorkspaceUntypedDataCreatePayload; exports.DTOWorkspaceUntypedDataListResponse = DTOWorkspaceUntypedDataListResponse; exports.DTOWorkspaceUntypedDataResponse = DTOWorkspaceUntypedDataResponse; exports.DTOWorkspaceUntypedDataUpdatePayload = DTOWorkspaceUntypedDataUpdatePayload; exports.DesignSystemAnalyticsEndpoint = DesignSystemAnalyticsEndpoint; exports.DesignSystemBffEndpoint = DesignSystemBffEndpoint; exports.DesignSystemComponentEndpoint = DesignSystemComponentEndpoint; exports.DesignSystemContactsEndpoint = DesignSystemContactsEndpoint; exports.DesignSystemMembersEndpoint = DesignSystemMembersEndpoint; exports.DesignSystemPageRedirectsEndpoint = DesignSystemPageRedirectsEndpoint; exports.DesignSystemSourcesEndpoint = DesignSystemSourcesEndpoint; exports.DesignSystemVersionsEndpoint = DesignSystemVersionsEndpoint; exports.DesignSystemsEndpoint = DesignSystemsEndpoint; exports.DimensionsVariableScopeType = DimensionsVariableScopeType; exports.DocsStructureRepository = DocsStructureRepository; exports.DocumentationEndpoint = DocumentationEndpoint; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ElementPropertyDefinitionsEndpoint = ElementPropertyDefinitionsEndpoint; exports.ElementPropertyValuesEndpoint = ElementPropertyValuesEndpoint; exports.ElementsActionEndpoint = ElementsActionEndpoint; exports.ElementsEndpoint = ElementsEndpoint; exports.ExporterJobsEndpoint = ExporterJobsEndpoint; exports.ExportersEndpoint = ExportersEndpoint; exports.FigmaComponentGroupsEndpoint = FigmaComponentGroupsEndpoint; exports.FigmaComponentsEndpoint = FigmaComponentsEndpoint; exports.FigmaFrameStructuresEndpoint = FigmaFrameStructuresEndpoint; exports.FigmaNodeStructuresEndpoint = FigmaNodeStructuresEndpoint; exports.FigmaUtils = FigmaUtils; exports.FilesEndpoint = FilesEndpoint; exports.ForgeAgentsEndpoint = ForgeAgentsEndpoint; exports.ForgeArtifactsEndpoint = ForgeArtifactsEndpoint; exports.ForgeFeaturesEndpoint = ForgeFeaturesEndpoint; exports.ForgeIterationMessagesEndpoint = ForgeIterationMessagesEndpoint; exports.ForgeParticipantsEndpoint = ForgeParticipantsEndpoint; exports.ForgeProjectContentRepository = ForgeProjectContentRepository; exports.ForgeProjectContextsEndpoint = ForgeProjectContextsEndpoint; exports.ForgeProjectFeaturesEndpoint = ForgeProjectFeaturesEndpoint; exports.ForgeProjectInvitationsEndpoint = ForgeProjectInvitationsEndpoint; exports.ForgeProjectIterationsEndpoint = ForgeProjectIterationsEndpoint; exports.ForgeProjectMembersEndpoint = ForgeProjectMembersEndpoint; exports.ForgeProjectRoomBaseYDoc = ForgeProjectRoomBaseYDoc; exports.ForgeProjectsEndpoint = ForgeProjectsEndpoint; exports.ForgesEndpoint = ForgesEndpoint; exports.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.GitDestinationOptions = GitDestinationOptions; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; exports.LiveblocksEndpoint = LiveblocksEndpoint; exports.LocalDocsElementActionExecutor = LocalDocsElementActionExecutor; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.OverridesEndpoint = OverridesEndpoint; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.ParsedFigmaFileURLError = ParsedFigmaFileURLError; exports.PipelinesEndpoint = PipelinesEndpoint; exports.RGB = RGB; exports.RGBA = RGBA; exports.RequestExecutor = RequestExecutor; exports.RequestExecutorError = RequestExecutorError; exports.ResolvedVariableType = ResolvedVariableType; exports.StorybookEntriesEndpoint = StorybookEntriesEndpoint; exports.StorybookHostingEndpoint = StorybookHostingEndpoint; exports.StringVariableScopeType = StringVariableScopeType; exports.SupernovaApiClient = SupernovaApiClient; exports.ThemesEndpoint = ThemesEndpoint; exports.TokenCollectionsEndpoint = TokenCollectionsEndpoint; exports.TokenGroupsEndpoint = TokenGroupsEndpoint; exports.TokensEndpoint = TokensEndpoint; exports.UsersEndpoint = UsersEndpoint; exports.Variable = Variable; exports.VariableAlias = VariableAlias; exports.VariableMode = VariableMode; exports.VariableValue = VariableValue; exports.VariablesMapping = VariablesMapping; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.VersionStatsEndpoint = VersionStatsEndpoint; exports.WorkspaceChatThreadsEndpoint = WorkspaceChatThreadsEndpoint; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.WorkspaceIntegrationsEndpoint = WorkspaceIntegrationsEndpoint; exports.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspaceNpmRegistryEndpoint = WorkspaceNpmRegistryEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; exports.applyActionsLocally = applyActionsLocally; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.computeDocsHierarchy = computeDocsHierarchy; exports.documentationAnalyticsToComparisonDto = documentationAnalyticsToComparisonDto; exports.documentationAnalyticsToGlobalDto = documentationAnalyticsToGlobalDto; exports.documentationAnalyticsToHeatMapDto = documentationAnalyticsToHeatMapDto; exports.documentationAnalyticsToPageComparisonDto = documentationAnalyticsToPageComparisonDto; exports.documentationAnalyticsToPageDto = documentationAnalyticsToPageDto; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.exhaustiveInvalidUriPaths = exhaustiveInvalidUriPaths; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.isValidRedirectPath = isValidRedirectPath; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.serializeQuery = serializeQuery; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy;
17684
18066
  //# sourceMappingURL=index.js.map