@supernova-studio/client 1.16.0 → 1.16.2
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.d.mts +902 -755
- package/dist/index.d.ts +902 -755
- package/dist/index.js +742 -428
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1910 -1596
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4401,6 +4401,7 @@ var WorkspaceUntypedData = _zod.z.object({
|
|
|
4401
4401
|
});
|
|
4402
4402
|
var WorkspaceRoleSchema = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
|
|
4403
4403
|
var WorkspaceRole = WorkspaceRoleSchema.enum;
|
|
4404
|
+
var WorkspaceSeatType = _zod.z.enum(["Full", "Builder", "None"]);
|
|
4404
4405
|
var MAX_MEMBERS_COUNT = 100;
|
|
4405
4406
|
var UserInvite = _zod.z.object({
|
|
4406
4407
|
email: _zod.z.string().email().trim().transform((value) => value.toLowerCase()),
|
|
@@ -4471,6 +4472,7 @@ var WorkspaceInvitation = _zod.z.object({
|
|
|
4471
4472
|
createdAt: _zod.z.coerce.date(),
|
|
4472
4473
|
resentAt: _zod.z.coerce.date().nullish(),
|
|
4473
4474
|
role: _zod.z.nativeEnum(WorkspaceRole),
|
|
4475
|
+
seatType: WorkspaceSeatType,
|
|
4474
4476
|
workspaceId: _zod.z.string(),
|
|
4475
4477
|
invitedBy: _zod.z.string()
|
|
4476
4478
|
});
|
|
@@ -4596,6 +4598,7 @@ var WorkspaceMembership = _zod.z.object({
|
|
|
4596
4598
|
userId: _zod.z.string(),
|
|
4597
4599
|
workspaceId: _zod.z.string(),
|
|
4598
4600
|
workspaceRole: _zod.z.nativeEnum(WorkspaceRole),
|
|
4601
|
+
seatType: WorkspaceSeatType,
|
|
4599
4602
|
notificationSettings: UserNotificationSettings,
|
|
4600
4603
|
isPrimaryOwner: _zod.z.boolean().nullish()
|
|
4601
4604
|
});
|
|
@@ -4604,6 +4607,7 @@ var UpdateMembershipRolesInput = _zod.z.object({
|
|
|
4604
4607
|
_zod.z.object({
|
|
4605
4608
|
userId: _zod.z.string(),
|
|
4606
4609
|
role: _zod.z.nativeEnum(WorkspaceRole),
|
|
4610
|
+
seatType: WorkspaceSeatType.optional(),
|
|
4607
4611
|
isPrimaryOwner: _zod.z.boolean().optional()
|
|
4608
4612
|
})
|
|
4609
4613
|
)
|
|
@@ -5265,7 +5269,8 @@ var ForgeProjectRoomUpdate = _zod.z.object({
|
|
|
5265
5269
|
artifacts: _zod.z.array(ForgeProjectArtifact).optional(),
|
|
5266
5270
|
artifactIdsToDelete: _zod.z.array(_zod.z.string()).optional(),
|
|
5267
5271
|
features: _zod.z.array(ProjectFeature).optional(),
|
|
5268
|
-
featureIdsToDelete: _zod.z.array(_zod.z.string()).optional()
|
|
5272
|
+
featureIdsToDelete: _zod.z.array(_zod.z.string()).optional(),
|
|
5273
|
+
executedTransactionIds: _zod.z.string().array().optional()
|
|
5269
5274
|
});
|
|
5270
5275
|
var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
|
|
5271
5276
|
RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
|
|
@@ -7017,6 +7022,11 @@ var DTOBillingCreditsSpendResponse = _zod2.default.object({
|
|
|
7017
7022
|
hasSpentCredits: _zod2.default.boolean()
|
|
7018
7023
|
});
|
|
7019
7024
|
|
|
7025
|
+
// src/api/dto/workspaces/enums.ts
|
|
7026
|
+
|
|
7027
|
+
var DTOWorkspaceRole = _zod2.default.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
|
|
7028
|
+
var DTOWorkspaceSeatType = _zod2.default.enum(["Full", "Builder", "None"]);
|
|
7029
|
+
|
|
7020
7030
|
// src/api/dto/workspaces/git.ts
|
|
7021
7031
|
|
|
7022
7032
|
var DTOGitOrganization = _zod.z.object({
|
|
@@ -7071,7 +7081,8 @@ var DTOIntegrationsGetListResponse = _zod.z.object({
|
|
|
7071
7081
|
|
|
7072
7082
|
var DTOWorkspaceInvitationInput = _zod.z.object({
|
|
7073
7083
|
email: _zod.z.string().email(),
|
|
7074
|
-
role: WorkspaceRoleSchema
|
|
7084
|
+
role: WorkspaceRoleSchema,
|
|
7085
|
+
seatType: DTOWorkspaceSeatType.optional()
|
|
7075
7086
|
});
|
|
7076
7087
|
var DTOWorkspaceInvitationsListInput = _zod.z.object({
|
|
7077
7088
|
invites: DTOWorkspaceInvitationInput.array().max(100),
|
|
@@ -7081,7 +7092,8 @@ var DTOWorkspaceInvitationsResponse = _zod.z.object({
|
|
|
7081
7092
|
invitations: WorkspaceInvitation.array()
|
|
7082
7093
|
});
|
|
7083
7094
|
var DTOWorkspaceInviteUpdate = _zod.z.object({
|
|
7084
|
-
role: WorkspaceRoleSchema
|
|
7095
|
+
role: WorkspaceRoleSchema,
|
|
7096
|
+
seatType: DTOWorkspaceSeatType.optional()
|
|
7085
7097
|
});
|
|
7086
7098
|
var DTOWorkspaceInvitationUpdateResponse = _zod.z.object({
|
|
7087
7099
|
invitation: WorkspaceInvitation
|
|
@@ -7154,21 +7166,26 @@ var DTOWorkspaceResponse = _zod.z.object({
|
|
|
7154
7166
|
});
|
|
7155
7167
|
|
|
7156
7168
|
// src/api/dto/workspaces/membership.ts
|
|
7157
|
-
var DTOWorkspaceRole = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
|
|
7158
7169
|
var DTOUserWorkspaceMembership = _zod.z.object({
|
|
7159
7170
|
// Workspace the user is a member of
|
|
7160
7171
|
workspace: DTOWorkspace,
|
|
7161
|
-
// Assigned role the user has in the workspace
|
|
7172
|
+
// Assigned and stored role the user has in the workspace
|
|
7162
7173
|
role: DTOWorkspaceRole,
|
|
7163
7174
|
// Role that determines actual permissions the user has in the workspace
|
|
7164
7175
|
// E.g. this is different from the default role when editors are downgraded to viewers
|
|
7165
7176
|
// when a workspace's subscription is downgraded to free tier
|
|
7166
|
-
effectiveRole: DTOWorkspaceRole
|
|
7177
|
+
effectiveRole: DTOWorkspaceRole,
|
|
7178
|
+
// Assigned and stored seat type the user has in the workspace
|
|
7179
|
+
seatType: DTOWorkspaceSeatType,
|
|
7180
|
+
// Seat type that determines actual permissions the user has in the workspace.
|
|
7181
|
+
effectiveSeatType: DTOWorkspaceSeatType
|
|
7167
7182
|
});
|
|
7168
7183
|
var DTOWorkspaceMember = _zod.z.object({
|
|
7169
7184
|
user: User,
|
|
7170
|
-
role:
|
|
7171
|
-
effectiveRole:
|
|
7185
|
+
role: DTOWorkspaceRole,
|
|
7186
|
+
effectiveRole: DTOWorkspaceRole,
|
|
7187
|
+
seatType: DTOWorkspaceSeatType,
|
|
7188
|
+
effectiveSeatType: DTOWorkspaceSeatType
|
|
7172
7189
|
});
|
|
7173
7190
|
var DTOUserWorkspaceMembershipsResponse = _zod.z.object({
|
|
7174
7191
|
membership: _zod.z.array(DTOUserWorkspaceMembership)
|
|
@@ -7225,6 +7242,12 @@ var DTOSubscriptionResponse = _zod2.default.object({
|
|
|
7225
7242
|
subscription: DTOSubscription
|
|
7226
7243
|
});
|
|
7227
7244
|
|
|
7245
|
+
// src/api/dto/workspaces/transfer-ownership.ts
|
|
7246
|
+
|
|
7247
|
+
var DTOTransferOwnershipPayload = _zod.z.object({
|
|
7248
|
+
newOwnerId: _zod.z.string()
|
|
7249
|
+
});
|
|
7250
|
+
|
|
7228
7251
|
// src/api/dto/workspaces/untyped-data.ts
|
|
7229
7252
|
|
|
7230
7253
|
var DTOWorkspaceUntypedData = WorkspaceUntypedData;
|
|
@@ -7498,12 +7521,6 @@ var DTOUserNotificationSettingsResponse = _zod.z.object({
|
|
|
7498
7521
|
// src/api/payloads/users/profile/update.ts
|
|
7499
7522
|
var DTOUserProfileUpdatePayload = UserProfileUpdate;
|
|
7500
7523
|
|
|
7501
|
-
// src/api/payloads/workspaces/transfer-ownership.ts
|
|
7502
|
-
|
|
7503
|
-
var DTOTransferOwnershipPayload = _zod.z.object({
|
|
7504
|
-
newOwnerId: _zod.z.string()
|
|
7505
|
-
});
|
|
7506
|
-
|
|
7507
7524
|
// src/api/payloads/workspaces/workspace-configuration.ts
|
|
7508
7525
|
|
|
7509
7526
|
var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
|
|
@@ -9085,22 +9102,17 @@ var DTOForgeSectionItemMoveInput = _zod2.default.object({
|
|
|
9085
9102
|
});
|
|
9086
9103
|
|
|
9087
9104
|
// src/api/dto/forge/project-artifact.ts
|
|
9088
|
-
var omitProps = {
|
|
9089
|
-
projectId: true,
|
|
9090
|
-
createdByUserId: true,
|
|
9091
|
-
createdAt: true,
|
|
9092
|
-
updatedAt: true,
|
|
9093
|
-
sortOrder: true
|
|
9094
|
-
};
|
|
9095
9105
|
var DTOForgeProjectArtifact = ForgeProjectArtifact;
|
|
9096
|
-
var DTOForgeProjectArtifactUpdateInput =
|
|
9097
|
-
|
|
9098
|
-
|
|
9099
|
-
})
|
|
9100
|
-
|
|
9101
|
-
|
|
9102
|
-
|
|
9103
|
-
|
|
9106
|
+
var DTOForgeProjectArtifactUpdateInput = _zod.z.object({
|
|
9107
|
+
id: _zod.z.string(),
|
|
9108
|
+
title: _zod.z.string().optional()
|
|
9109
|
+
});
|
|
9110
|
+
var DTOForgeProjectArtifactCreateInput = _zod.z.object({
|
|
9111
|
+
id: _zod.z.string(),
|
|
9112
|
+
title: _zod.z.string(),
|
|
9113
|
+
sectionId: _zod.z.string().optional(),
|
|
9114
|
+
afterArtifactId: _zod.z.string().optional().nullable()
|
|
9115
|
+
});
|
|
9104
9116
|
var DTOForgeProjectArtifactDeleteInput = _zod.z.object({
|
|
9105
9117
|
id: Id
|
|
9106
9118
|
});
|
|
@@ -9158,7 +9170,7 @@ var DTOForgeProjectActionFeatureCreate = _zod2.default.object({
|
|
|
9158
9170
|
});
|
|
9159
9171
|
var DTOForgeProjectActionFeatureUpdate = _zod2.default.object({
|
|
9160
9172
|
type: _zod2.default.literal("FeatureUpdate"),
|
|
9161
|
-
input:
|
|
9173
|
+
input: DTOForgeProjectFeatureUpdateInput
|
|
9162
9174
|
});
|
|
9163
9175
|
var DTOForgeProjectActionFeatureMove = _zod2.default.object({
|
|
9164
9176
|
type: _zod2.default.literal("FeatureMove"),
|
|
@@ -9216,7 +9228,11 @@ var DTOForgeProjectAction = _zod2.default.discriminatedUnion("type", [
|
|
|
9216
9228
|
DTOForgeProjectActionSectionUpdate,
|
|
9217
9229
|
DTOForgeProjectActionSectionDelete,
|
|
9218
9230
|
DTOForgeProjectActionSectionMove
|
|
9219
|
-
])
|
|
9231
|
+
]).and(
|
|
9232
|
+
_zod2.default.object({
|
|
9233
|
+
tId: _zod2.default.string().optional()
|
|
9234
|
+
})
|
|
9235
|
+
);
|
|
9220
9236
|
|
|
9221
9237
|
// src/api/dto/forge/project-artifact-room.ts
|
|
9222
9238
|
|
|
@@ -11534,103 +11550,393 @@ var DTOEventDataSourcesImported = _zod.z.object({
|
|
|
11534
11550
|
|
|
11535
11551
|
var DTOEvent = _zod.z.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
|
|
11536
11552
|
|
|
11537
|
-
// src/sync/docs-
|
|
11538
|
-
|
|
11539
|
-
|
|
11540
|
-
|
|
11541
|
-
|
|
11542
|
-
|
|
11543
|
-
|
|
11544
|
-
|
|
11545
|
-
|
|
11546
|
-
__publicField(this, "
|
|
11547
|
-
this
|
|
11553
|
+
// src/sync/docs-local-action-executor.ts
|
|
11554
|
+
function applyActionsLocally(input) {
|
|
11555
|
+
const actionExecutor = new LocalDocsElementActionExecutor(input);
|
|
11556
|
+
actionExecutor.applyActions(input.actions);
|
|
11557
|
+
return actionExecutor.localState;
|
|
11558
|
+
}
|
|
11559
|
+
var LocalDocsElementActionExecutor = class {
|
|
11560
|
+
constructor(config) {
|
|
11561
|
+
__publicField(this, "userId");
|
|
11562
|
+
__publicField(this, "designSystemVersionId");
|
|
11563
|
+
__publicField(this, "pages");
|
|
11564
|
+
__publicField(this, "groups");
|
|
11565
|
+
__publicField(this, "approvalStates");
|
|
11566
|
+
__publicField(this, "pageLiveblockRoomIds");
|
|
11567
|
+
const { designSystemVersionId, remoteState, userId } = config;
|
|
11568
|
+
this.userId = userId;
|
|
11569
|
+
this.designSystemVersionId = designSystemVersionId;
|
|
11570
|
+
this.pages = mapByUnique(remoteState.pages, (p) => p.persistentId);
|
|
11571
|
+
this.groups = mapByUnique(remoteState.groups, (p) => p.persistentId);
|
|
11572
|
+
this.approvalStates = mapByUnique(remoteState.approvals, (a) => a.pagePersistentId);
|
|
11573
|
+
this.pageLiveblockRoomIds = { ...remoteState.pageLiveblockRoomIds };
|
|
11548
11574
|
}
|
|
11549
|
-
|
|
11550
|
-
const groups = this.getGroups();
|
|
11551
|
-
const isLoaded = !!groups.length;
|
|
11575
|
+
get localState() {
|
|
11552
11576
|
return {
|
|
11553
|
-
|
|
11554
|
-
groups,
|
|
11555
|
-
|
|
11556
|
-
|
|
11557
|
-
groupSnapshots: this.getGroupSnapshots(),
|
|
11558
|
-
pageContentHashes: this.getDocumentationPageContentHashes(),
|
|
11559
|
-
pageSnapshots: this.getPageSnapshots(),
|
|
11560
|
-
settings: this.getDocumentationInternalSettings(),
|
|
11561
|
-
pageLiveblockRoomIds: this.getDocumentationPageLiveblocksRoomIds(),
|
|
11562
|
-
executedTransactionIds: this.getExecutedTransactionIds()
|
|
11577
|
+
pages: Array.from(this.pages.values()),
|
|
11578
|
+
groups: Array.from(this.groups.values()),
|
|
11579
|
+
approvals: Array.from(this.approvalStates.values()),
|
|
11580
|
+
pageLiveblockRoomIds: this.pageLiveblockRoomIds
|
|
11563
11581
|
};
|
|
11564
11582
|
}
|
|
11565
|
-
|
|
11566
|
-
|
|
11567
|
-
//
|
|
11568
|
-
getPages() {
|
|
11569
|
-
return this.getObjects(this.pagesYMap, DocumentationPageV2);
|
|
11570
|
-
}
|
|
11571
|
-
updatePages(pages) {
|
|
11572
|
-
pages = pages.map((page) => {
|
|
11573
|
-
return {
|
|
11574
|
-
...page,
|
|
11575
|
-
data: {
|
|
11576
|
-
configuration: page.data.configuration
|
|
11577
|
-
}
|
|
11578
|
-
};
|
|
11579
|
-
});
|
|
11580
|
-
this.setObjects(this.pagesYMap, pages);
|
|
11581
|
-
}
|
|
11582
|
-
deletePages(ids) {
|
|
11583
|
-
this.deleteObjects(this.pagesYMap, ids);
|
|
11583
|
+
applyActions(trx) {
|
|
11584
|
+
trx.forEach((trx2) => this.applyTransaction(trx2));
|
|
11584
11585
|
}
|
|
11585
|
-
|
|
11586
|
-
|
|
11586
|
+
applyTransaction(trx) {
|
|
11587
|
+
switch (trx.type) {
|
|
11588
|
+
// Groups
|
|
11589
|
+
case "DocumentationGroupCreate":
|
|
11590
|
+
return this.documentationGroupCreate(trx);
|
|
11591
|
+
case "DocumentationGroupUpdate":
|
|
11592
|
+
return this.documentationGroupUpdate(trx);
|
|
11593
|
+
case "DocumentationGroupMove":
|
|
11594
|
+
return this.documentationGroupMove(trx);
|
|
11595
|
+
// Groups - unsupported
|
|
11596
|
+
case "DocumentationGroupDelete":
|
|
11597
|
+
case "DocumentationGroupDuplicate":
|
|
11598
|
+
case "DocumentationGroupRestore":
|
|
11599
|
+
throw new Error(`Transaction type ${trx.type} is not yet implemented`);
|
|
11600
|
+
// Pages
|
|
11601
|
+
case "DocumentationPageCreate":
|
|
11602
|
+
return this.documentationPageCreate(trx);
|
|
11603
|
+
case "DocumentationPageUpdate":
|
|
11604
|
+
return this.documentationPageUpdate(trx);
|
|
11605
|
+
case "DocumentationPageMove":
|
|
11606
|
+
return this.documentationPageMove(trx);
|
|
11607
|
+
case "DocumentationPageDelete":
|
|
11608
|
+
return this.documentationPageDelete(trx);
|
|
11609
|
+
// Pages - unsupported
|
|
11610
|
+
case "DocumentationPageApprovalStateChange":
|
|
11611
|
+
return this.documentationApprovalStateUpdate(trx);
|
|
11612
|
+
case "DocumentationPageDuplicate":
|
|
11613
|
+
case "DocumentationPageRestore":
|
|
11614
|
+
throw new Error(`Transaction type ${trx.type} is not yet implemented`);
|
|
11615
|
+
// Tabs
|
|
11616
|
+
case "DocumentationTabCreate":
|
|
11617
|
+
return this.documentationTabCreate(trx);
|
|
11618
|
+
case "DocumentationTabGroupDelete":
|
|
11619
|
+
throw new Error(`Transaction type ${trx.type} is not yet implemented`);
|
|
11620
|
+
// Won't ever be supported
|
|
11621
|
+
case "FigmaNodeRender":
|
|
11622
|
+
case "FigmaNodeRenderAsync":
|
|
11623
|
+
throw new Error(`Transaction type ${trx.type} is not a documentation element action`);
|
|
11624
|
+
}
|
|
11587
11625
|
}
|
|
11588
11626
|
//
|
|
11589
|
-
//
|
|
11627
|
+
// Pages
|
|
11590
11628
|
//
|
|
11591
|
-
|
|
11592
|
-
|
|
11629
|
+
documentationPageCreate(trx) {
|
|
11630
|
+
const { input } = trx;
|
|
11631
|
+
const { persistentId } = input;
|
|
11632
|
+
if (this.pages.has(input.persistentId)) {
|
|
11633
|
+
return;
|
|
11634
|
+
}
|
|
11635
|
+
if (!this.groups.has(input.parentPersistentId)) {
|
|
11636
|
+
throw new Error(`Cannot create page: parent persistent id ${input.parentPersistentId} was not found`);
|
|
11637
|
+
}
|
|
11638
|
+
const localPage = {
|
|
11639
|
+
persistentId,
|
|
11640
|
+
createdAt: /* @__PURE__ */ new Date(),
|
|
11641
|
+
parentPersistentId: input.parentPersistentId,
|
|
11642
|
+
shortPersistentId: generateShortPersistentId(),
|
|
11643
|
+
slug: slugify(input.title),
|
|
11644
|
+
meta: { name: input.title },
|
|
11645
|
+
updatedAt: /* @__PURE__ */ new Date(),
|
|
11646
|
+
data: {
|
|
11647
|
+
// TODO Artem: move somewhere reusable
|
|
11648
|
+
configuration: input.configuration ? { ...defaultDocumentationItemConfigurationV2, ...input.configuration } : input.configuration
|
|
11649
|
+
},
|
|
11650
|
+
sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
|
|
11651
|
+
designSystemVersionId: this.designSystemVersionId
|
|
11652
|
+
};
|
|
11653
|
+
this.pages.set(persistentId, localPage);
|
|
11654
|
+
const roomId = `${RoomType.DocumentationPage}:${this.designSystemVersionId}:${persistentId}`;
|
|
11655
|
+
this.pageLiveblockRoomIds[persistentId] = roomId;
|
|
11593
11656
|
}
|
|
11594
|
-
|
|
11595
|
-
|
|
11657
|
+
documentationPageUpdate(trx) {
|
|
11658
|
+
const { input } = trx;
|
|
11659
|
+
const existingPage = this.pages.get(input.id);
|
|
11660
|
+
if (!existingPage) {
|
|
11661
|
+
throw new Error(`Cannot update page: page id ${input.id} was not found`);
|
|
11662
|
+
}
|
|
11663
|
+
const localPage = {
|
|
11664
|
+
...existingPage,
|
|
11665
|
+
userSlug: void 0,
|
|
11666
|
+
meta: {
|
|
11667
|
+
...existingPage.meta,
|
|
11668
|
+
name: _nullishCoalesce(input.title, () => ( existingPage.meta.name))
|
|
11669
|
+
},
|
|
11670
|
+
data: {
|
|
11671
|
+
// TODO Artem: move somewhere reusable
|
|
11672
|
+
configuration: input.configuration ? { ..._nullishCoalesce(existingPage.data.configuration, () => ( defaultDocumentationItemConfigurationV2)), ...input.configuration } : existingPage.data.configuration
|
|
11673
|
+
}
|
|
11674
|
+
};
|
|
11675
|
+
this.pages.set(localPage.persistentId, localPage);
|
|
11596
11676
|
}
|
|
11597
|
-
|
|
11598
|
-
|
|
11677
|
+
documentationPageMove(trx) {
|
|
11678
|
+
const { input } = trx;
|
|
11679
|
+
if (!this.groups.has(input.parentPersistentId)) {
|
|
11680
|
+
throw new Error(`Cannot move page: page parent id ${input.parentPersistentId} was not found`);
|
|
11681
|
+
}
|
|
11682
|
+
const existingPage = this.pages.get(input.id);
|
|
11683
|
+
if (!existingPage) {
|
|
11684
|
+
throw new Error(`Cannot update page: page id ${input.id} was not found`);
|
|
11685
|
+
}
|
|
11686
|
+
const localPage = {
|
|
11687
|
+
...existingPage,
|
|
11688
|
+
userSlug: void 0,
|
|
11689
|
+
sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
|
|
11690
|
+
parentPersistentId: input.parentPersistentId
|
|
11691
|
+
};
|
|
11692
|
+
this.pages.set(localPage.persistentId, localPage);
|
|
11599
11693
|
}
|
|
11600
|
-
|
|
11601
|
-
|
|
11694
|
+
documentationPageDelete(trx) {
|
|
11695
|
+
const { input } = trx;
|
|
11696
|
+
if (!this.pages.delete(trx.input.id)) {
|
|
11697
|
+
throw new Error(`Cannot delete page: page id ${input.id} was not found`);
|
|
11698
|
+
}
|
|
11699
|
+
delete this.pageLiveblockRoomIds[trx.input.id];
|
|
11602
11700
|
}
|
|
11603
11701
|
//
|
|
11604
|
-
//
|
|
11702
|
+
// Group
|
|
11605
11703
|
//
|
|
11606
|
-
|
|
11607
|
-
const
|
|
11608
|
-
|
|
11609
|
-
|
|
11610
|
-
isDraftFeatureAdopted: _nullishCoalesce(map.get("isDraftFeatureAdopted"), () => ( false)),
|
|
11611
|
-
isApprovalFeatureEnabled: _nullishCoalesce(map.get("isApprovalFeatureEnabled"), () => ( false)),
|
|
11612
|
-
approvalRequiredForPublishing: _nullishCoalesce(map.get("approvalRequiredForPublishing"), () => ( false))
|
|
11613
|
-
};
|
|
11614
|
-
const settingsParseResult = DocumentationHierarchySettings.safeParse(rawSettings);
|
|
11615
|
-
if (!settingsParseResult.success) {
|
|
11616
|
-
return {
|
|
11617
|
-
routingVersion: "2",
|
|
11618
|
-
isDraftFeatureAdopted: false,
|
|
11619
|
-
isApprovalFeatureEnabled: false,
|
|
11620
|
-
approvalRequiredForPublishing: false
|
|
11621
|
-
};
|
|
11704
|
+
documentationGroupCreate(trx) {
|
|
11705
|
+
const { input } = trx;
|
|
11706
|
+
if (this.groups.has(input.persistentId)) {
|
|
11707
|
+
return;
|
|
11622
11708
|
}
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11709
|
+
const localGroup = {
|
|
11710
|
+
parentPersistentId: input.parentPersistentId,
|
|
11711
|
+
persistentId: input.persistentId,
|
|
11712
|
+
shortPersistentId: generateShortPersistentId(),
|
|
11713
|
+
slug: slugify(input.title),
|
|
11714
|
+
meta: { name: input.title },
|
|
11715
|
+
createdAt: /* @__PURE__ */ new Date(),
|
|
11716
|
+
updatedAt: /* @__PURE__ */ new Date(),
|
|
11717
|
+
data: {
|
|
11718
|
+
// TODO Artem: move somewhere reusable
|
|
11719
|
+
configuration: input.configuration ? { ...defaultDocumentationItemConfigurationV2, ...input.configuration } : input.configuration
|
|
11720
|
+
},
|
|
11721
|
+
sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
|
|
11722
|
+
designSystemVersionId: this.designSystemVersionId
|
|
11723
|
+
};
|
|
11724
|
+
this.groups.set(localGroup.persistentId, localGroup);
|
|
11725
|
+
}
|
|
11726
|
+
documentationGroupUpdate(trx) {
|
|
11727
|
+
const { input } = trx;
|
|
11728
|
+
const existingGroup = this.groups.get(input.id);
|
|
11729
|
+
if (!existingGroup) {
|
|
11730
|
+
throw new Error(`Cannot update group: group id ${input.id} was not found`);
|
|
11731
|
+
}
|
|
11732
|
+
const localGroup = {
|
|
11733
|
+
...existingGroup,
|
|
11734
|
+
userSlug: void 0,
|
|
11735
|
+
meta: {
|
|
11736
|
+
...existingGroup.meta,
|
|
11737
|
+
name: _nullishCoalesce(input.title, () => ( existingGroup.meta.name))
|
|
11738
|
+
},
|
|
11739
|
+
data: {
|
|
11740
|
+
...existingGroup.data,
|
|
11741
|
+
// TODO Artem: move somewhere reusable
|
|
11742
|
+
configuration: input.configuration ? {
|
|
11743
|
+
..._nullishCoalesce(_optionalChain([existingGroup, 'access', _40 => _40.data, 'optionalAccess', _41 => _41.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
|
|
11744
|
+
...input.configuration
|
|
11745
|
+
} : _optionalChain([existingGroup, 'access', _42 => _42.data, 'optionalAccess', _43 => _43.configuration])
|
|
11746
|
+
}
|
|
11747
|
+
};
|
|
11748
|
+
this.groups.set(localGroup.persistentId, localGroup);
|
|
11749
|
+
}
|
|
11750
|
+
documentationGroupMove(trx) {
|
|
11751
|
+
const { input } = trx;
|
|
11752
|
+
if (!this.groups.has(input.parentPersistentId)) {
|
|
11753
|
+
throw new Error(`Cannot move group: group parent id ${input.parentPersistentId} was not found`);
|
|
11754
|
+
}
|
|
11755
|
+
const existingGroup = this.groups.get(input.id);
|
|
11756
|
+
if (!existingGroup) {
|
|
11757
|
+
throw new Error(`Cannot update group: group id ${input.id} was not found`);
|
|
11758
|
+
}
|
|
11759
|
+
const localGroup = {
|
|
11760
|
+
...existingGroup,
|
|
11761
|
+
userSlug: void 0,
|
|
11762
|
+
sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
|
|
11763
|
+
parentPersistentId: input.parentPersistentId
|
|
11764
|
+
};
|
|
11765
|
+
this.groups.set(localGroup.persistentId, localGroup);
|
|
11766
|
+
}
|
|
11767
|
+
//
|
|
11768
|
+
// Tabs
|
|
11769
|
+
//
|
|
11770
|
+
documentationTabCreate(trx) {
|
|
11771
|
+
const { input } = trx;
|
|
11772
|
+
const page = this.pages.get(input.fromItemPersistentId);
|
|
11773
|
+
if (!page) {
|
|
11774
|
+
throw new Error(`Cannot create tab: page id ${input.fromItemPersistentId} was not found`);
|
|
11775
|
+
}
|
|
11776
|
+
const tabGroup = {
|
|
11777
|
+
parentPersistentId: page.parentPersistentId,
|
|
11778
|
+
persistentId: input.persistentId,
|
|
11779
|
+
shortPersistentId: generateShortPersistentId(),
|
|
11780
|
+
slug: page.slug,
|
|
11781
|
+
meta: page.meta,
|
|
11782
|
+
createdAt: /* @__PURE__ */ new Date(),
|
|
11783
|
+
updatedAt: /* @__PURE__ */ new Date(),
|
|
11784
|
+
data: {
|
|
11785
|
+
behavior: "Tabs",
|
|
11786
|
+
configuration: _optionalChain([page, 'optionalAccess', _44 => _44.data, 'access', _45 => _45.configuration])
|
|
11787
|
+
},
|
|
11788
|
+
sortOrder: page.sortOrder,
|
|
11789
|
+
designSystemVersionId: this.designSystemVersionId
|
|
11790
|
+
};
|
|
11791
|
+
this.groups.set(input.persistentId, tabGroup);
|
|
11792
|
+
const newLocalPage = {
|
|
11793
|
+
...page,
|
|
11794
|
+
userSlug: void 0,
|
|
11795
|
+
sortOrder: 0,
|
|
11796
|
+
parentPersistentId: input.persistentId,
|
|
11797
|
+
meta: { name: input.tabName }
|
|
11798
|
+
};
|
|
11799
|
+
this.pages.set(newLocalPage.persistentId, newLocalPage);
|
|
11800
|
+
}
|
|
11801
|
+
//
|
|
11802
|
+
// Approval states
|
|
11803
|
+
//
|
|
11804
|
+
documentationApprovalStateUpdate(trx) {
|
|
11805
|
+
const { input } = trx;
|
|
11806
|
+
const existingApproval = this.approvalStates.get(input.persistentId);
|
|
11807
|
+
if (input.approvalState) {
|
|
11808
|
+
this.approvalStates.set(input.persistentId, {
|
|
11809
|
+
approvalState: input.approvalState,
|
|
11810
|
+
createdAt: _nullishCoalesce(_optionalChain([existingApproval, 'optionalAccess', _46 => _46.createdAt]), () => ( /* @__PURE__ */ new Date())),
|
|
11811
|
+
designSystemVersionId: this.designSystemVersionId,
|
|
11812
|
+
pagePersistentId: input.persistentId,
|
|
11813
|
+
updatedAt: /* @__PURE__ */ new Date(),
|
|
11814
|
+
updatedByUserId: this.userId
|
|
11815
|
+
});
|
|
11816
|
+
} else {
|
|
11817
|
+
this.approvalStates.delete(input.persistentId);
|
|
11818
|
+
}
|
|
11819
|
+
}
|
|
11820
|
+
//
|
|
11821
|
+
// Utils
|
|
11822
|
+
//
|
|
11823
|
+
calculateSortOrder(parentPersistentId, afterPersistentId) {
|
|
11824
|
+
const sortOrderStep = Math.pow(2, 16);
|
|
11825
|
+
const neighbours = [
|
|
11826
|
+
...Array.from(this.pages.values()).filter((p) => p.parentPersistentId === parentPersistentId),
|
|
11827
|
+
...Array.from(this.groups.values()).filter((g) => g.parentPersistentId === parentPersistentId)
|
|
11828
|
+
];
|
|
11829
|
+
if (!neighbours.length) return 0;
|
|
11830
|
+
neighbours.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
|
|
11831
|
+
if (afterPersistentId === null) return neighbours[0].sortOrder - sortOrderStep;
|
|
11832
|
+
if (!afterPersistentId) return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
|
|
11833
|
+
const index = neighbours.findIndex((e) => e.persistentId === afterPersistentId);
|
|
11834
|
+
if (index < 0 || index === neighbours.length - 1) {
|
|
11835
|
+
return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
|
|
11836
|
+
}
|
|
11837
|
+
const left = neighbours[index].sortOrder;
|
|
11838
|
+
const right = _nullishCoalesce(_optionalChain([neighbours, 'access', _47 => _47[index + 1], 'optionalAccess', _48 => _48.sortOrder]), () => ( left + sortOrderStep * 2));
|
|
11839
|
+
return (right + left) / 2;
|
|
11840
|
+
}
|
|
11841
|
+
};
|
|
11842
|
+
|
|
11843
|
+
// src/sync/docs-structure-repo.ts
|
|
11844
|
+
var _pqueue = require('p-queue'); var _pqueue2 = _interopRequireDefault(_pqueue);
|
|
11845
|
+
|
|
11846
|
+
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
11847
|
+
|
|
11848
|
+
|
|
11849
|
+
// src/yjs/version-room/base.ts
|
|
11850
|
+
var VersionRoomBaseYDoc = class {
|
|
11851
|
+
constructor(yDoc) {
|
|
11852
|
+
__publicField(this, "yDoc");
|
|
11853
|
+
this.yDoc = yDoc;
|
|
11854
|
+
}
|
|
11855
|
+
getState() {
|
|
11856
|
+
const groups = this.getGroups();
|
|
11857
|
+
const isLoaded = !!groups.length;
|
|
11858
|
+
return {
|
|
11859
|
+
isLoaded,
|
|
11860
|
+
groups,
|
|
11861
|
+
pages: this.getPages(),
|
|
11862
|
+
approvals: this.getApprovals(),
|
|
11863
|
+
groupSnapshots: this.getGroupSnapshots(),
|
|
11864
|
+
pageContentHashes: this.getDocumentationPageContentHashes(),
|
|
11865
|
+
pageSnapshots: this.getPageSnapshots(),
|
|
11866
|
+
settings: this.getDocumentationInternalSettings(),
|
|
11867
|
+
pageLiveblockRoomIds: this.getDocumentationPageLiveblocksRoomIds(),
|
|
11868
|
+
executedTransactionIds: this.getExecutedTransactionIds()
|
|
11869
|
+
};
|
|
11870
|
+
}
|
|
11871
|
+
//
|
|
11872
|
+
// Pages
|
|
11873
|
+
//
|
|
11874
|
+
getPages() {
|
|
11875
|
+
return this.getObjects(this.pagesYMap, DocumentationPageV2);
|
|
11876
|
+
}
|
|
11877
|
+
updatePages(pages) {
|
|
11878
|
+
pages = pages.map((page) => {
|
|
11879
|
+
return {
|
|
11880
|
+
...page,
|
|
11881
|
+
data: {
|
|
11882
|
+
configuration: page.data.configuration
|
|
11883
|
+
}
|
|
11884
|
+
};
|
|
11885
|
+
});
|
|
11886
|
+
this.setObjects(this.pagesYMap, pages);
|
|
11887
|
+
}
|
|
11888
|
+
deletePages(ids) {
|
|
11889
|
+
this.deleteObjects(this.pagesYMap, ids);
|
|
11890
|
+
}
|
|
11891
|
+
get pagesYMap() {
|
|
11892
|
+
return this.yDoc.getMap("documentationPages");
|
|
11893
|
+
}
|
|
11894
|
+
//
|
|
11895
|
+
// Groups
|
|
11896
|
+
//
|
|
11897
|
+
getGroups() {
|
|
11898
|
+
return this.getObjects(this.groupsYMap, ElementGroup);
|
|
11899
|
+
}
|
|
11900
|
+
updateGroups(groups) {
|
|
11901
|
+
this.setObjects(this.groupsYMap, groups);
|
|
11902
|
+
}
|
|
11903
|
+
deleteGroups(ids) {
|
|
11904
|
+
this.deleteObjects(this.groupsYMap, ids);
|
|
11905
|
+
}
|
|
11906
|
+
get groupsYMap() {
|
|
11907
|
+
return this.yDoc.getMap("documentationGroups");
|
|
11908
|
+
}
|
|
11909
|
+
//
|
|
11910
|
+
// Documentation internal settings
|
|
11911
|
+
//
|
|
11912
|
+
getDocumentationInternalSettings() {
|
|
11913
|
+
const map = this.internalSettingsYMap;
|
|
11914
|
+
const rawSettings = {
|
|
11915
|
+
routingVersion: map.get("routingVersion"),
|
|
11916
|
+
isDraftFeatureAdopted: _nullishCoalesce(map.get("isDraftFeatureAdopted"), () => ( false)),
|
|
11917
|
+
isApprovalFeatureEnabled: _nullishCoalesce(map.get("isApprovalFeatureEnabled"), () => ( false)),
|
|
11918
|
+
approvalRequiredForPublishing: _nullishCoalesce(map.get("approvalRequiredForPublishing"), () => ( false))
|
|
11919
|
+
};
|
|
11920
|
+
const settingsParseResult = DocumentationHierarchySettings.safeParse(rawSettings);
|
|
11921
|
+
if (!settingsParseResult.success) {
|
|
11922
|
+
return {
|
|
11923
|
+
routingVersion: "2",
|
|
11924
|
+
isDraftFeatureAdopted: false,
|
|
11925
|
+
isApprovalFeatureEnabled: false,
|
|
11926
|
+
approvalRequiredForPublishing: false
|
|
11927
|
+
};
|
|
11928
|
+
}
|
|
11929
|
+
return settingsParseResult.data;
|
|
11930
|
+
}
|
|
11931
|
+
updateDocumentationInternalSettings(settings) {
|
|
11932
|
+
const map = this.internalSettingsYMap;
|
|
11933
|
+
map.set("routingVersion", _nullishCoalesce(settings.routingVersion, () => ( map.get("routingVersion"))));
|
|
11934
|
+
map.set("isDraftFeatureAdopted", _nullishCoalesce(settings.isDraftFeatureAdopted, () => ( map.get("isDraftFeatureAdopted"))));
|
|
11935
|
+
map.set("isApprovalFeatureEnabled", _nullishCoalesce(settings.isApprovalFeatureEnabled, () => ( map.get("isApprovalFeatureEnabled"))));
|
|
11936
|
+
map.set(
|
|
11937
|
+
"approvalRequiredForPublishing",
|
|
11938
|
+
_nullishCoalesce(settings.approvalRequiredForPublishing, () => ( map.get("approvalRequiredForPublishing")))
|
|
11939
|
+
);
|
|
11634
11940
|
}
|
|
11635
11941
|
get internalSettingsYMap() {
|
|
11636
11942
|
return this.yDoc.getMap("documentationInternalSettings");
|
|
@@ -11817,7 +12123,7 @@ function buildPageDraftCreatedAndUpdatedStates(pages, pageSnapshots, pageHashes,
|
|
|
11817
12123
|
if (snapshot) {
|
|
11818
12124
|
publishedState = itemStateFromPage(snapshot.page, snapshot.pageContentHash);
|
|
11819
12125
|
}
|
|
11820
|
-
const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess',
|
|
12126
|
+
const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess', _49 => _49.pageContentHash]))), () => ( ""));
|
|
11821
12127
|
const currentState = itemStateFromPage(page, currentPageContentHash);
|
|
11822
12128
|
const draftState = createDraftState(page.persistentId, currentState, publishedState, debug);
|
|
11823
12129
|
if (draftState) result.set(page.persistentId, draftState);
|
|
@@ -11950,7 +12256,7 @@ function buildGroupDraftCreatedAndUpdatedStates(groups, groupSnapshots, debug) {
|
|
|
11950
12256
|
function itemStateFromGroup(group) {
|
|
11951
12257
|
return {
|
|
11952
12258
|
title: group.meta.name,
|
|
11953
|
-
configuration: _nullishCoalesce(_optionalChain([group, 'access',
|
|
12259
|
+
configuration: _nullishCoalesce(_optionalChain([group, 'access', _50 => _50.data, 'optionalAccess', _51 => _51.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
|
|
11954
12260
|
contentHash: "-"
|
|
11955
12261
|
};
|
|
11956
12262
|
}
|
|
@@ -12111,7 +12417,7 @@ var DTODocumentationPageRoomHeaderDataUpdate = _zod.z.object({
|
|
|
12111
12417
|
function itemConfigurationToYjs(yDoc, item) {
|
|
12112
12418
|
yDoc.transact((trx) => {
|
|
12113
12419
|
const { title, configuration } = item;
|
|
12114
|
-
const header = _optionalChain([configuration, 'optionalAccess',
|
|
12420
|
+
const header = _optionalChain([configuration, 'optionalAccess', _52 => _52.header]);
|
|
12115
12421
|
if (title !== void 0) {
|
|
12116
12422
|
const headerYMap = trx.doc.getMap("itemTitle");
|
|
12117
12423
|
headerYMap.set("title", title);
|
|
@@ -12129,9 +12435,9 @@ function itemConfigurationToYjs(yDoc, item) {
|
|
|
12129
12435
|
header.minHeight !== void 0 && headerYMap.set("minHeight", header.minHeight);
|
|
12130
12436
|
}
|
|
12131
12437
|
const configYMap = trx.doc.getMap("itemConfiguration");
|
|
12132
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
12133
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
12134
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
12438
|
+
_optionalChain([configuration, 'optionalAccess', _53 => _53.showSidebar]) !== void 0 && configYMap.set("showSidebar", configuration.showSidebar);
|
|
12439
|
+
_optionalChain([configuration, 'optionalAccess', _54 => _54.isHidden]) !== void 0 && configYMap.set("isHidden", configuration.isHidden);
|
|
12440
|
+
_optionalChain([configuration, 'optionalAccess', _55 => _55.isPrivate]) !== void 0 && configYMap.set("isPrivate", configuration.isPrivate);
|
|
12135
12441
|
});
|
|
12136
12442
|
}
|
|
12137
12443
|
|
|
@@ -12955,7 +13261,7 @@ var ListTreeBuilder = class {
|
|
|
12955
13261
|
}
|
|
12956
13262
|
addWithProperty(block, multiRichTextProperty) {
|
|
12957
13263
|
const parsedOptions = PageBlockDefinitionMutiRichTextOptions.optional().parse(multiRichTextProperty.options);
|
|
12958
|
-
return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess',
|
|
13264
|
+
return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess', _56 => _56.multiRichTextStyle]) || "OL");
|
|
12959
13265
|
}
|
|
12960
13266
|
add(block, multiRichTextPropertyId, multiRichTextPropertyStyle) {
|
|
12961
13267
|
const list = this.createList(block, multiRichTextPropertyId, multiRichTextPropertyStyle);
|
|
@@ -12970,7 +13276,7 @@ var ListTreeBuilder = class {
|
|
|
12970
13276
|
}
|
|
12971
13277
|
const listParent = this.getParentOfDepth(block.data.indentLevel);
|
|
12972
13278
|
const lastChild = listParent.children[listParent.children.length - 1];
|
|
12973
|
-
if (_optionalChain([lastChild, 'optionalAccess',
|
|
13279
|
+
if (_optionalChain([lastChild, 'optionalAccess', _57 => _57.type]) === "List") {
|
|
12974
13280
|
lastChild.children.push(...list.leadingChildren);
|
|
12975
13281
|
return;
|
|
12976
13282
|
} else {
|
|
@@ -13199,7 +13505,7 @@ function serializeAsRichTextBlock(input) {
|
|
|
13199
13505
|
const textPropertyValue = BlockParsingUtils.richTextPropertyValue(blockItem, richTextProperty.id);
|
|
13200
13506
|
const enrichedInput = { ...input, richTextPropertyValue: textPropertyValue };
|
|
13201
13507
|
const parsedOptions = PageBlockDefinitionRichTextOptions.optional().parse(richTextProperty.options);
|
|
13202
|
-
const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess',
|
|
13508
|
+
const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess', _58 => _58.richTextStyle]), () => ( "Default"));
|
|
13203
13509
|
switch (style) {
|
|
13204
13510
|
case "Callout":
|
|
13205
13511
|
return serializeAsCallout(enrichedInput);
|
|
@@ -13423,7 +13729,7 @@ function serializeBlockNodeAttributes(block) {
|
|
|
13423
13729
|
};
|
|
13424
13730
|
}
|
|
13425
13731
|
function richTextHeadingLevel(property) {
|
|
13426
|
-
const style = _optionalChain([property, 'access',
|
|
13732
|
+
const style = _optionalChain([property, 'access', _59 => _59.options, 'optionalAccess', _60 => _60.richTextStyle]);
|
|
13427
13733
|
if (!style) return void 0;
|
|
13428
13734
|
switch (style) {
|
|
13429
13735
|
case "Title1":
|
|
@@ -13542,7 +13848,7 @@ function serializeAsCustomBlock(block, definition) {
|
|
|
13542
13848
|
linksTo: i.linksTo
|
|
13543
13849
|
};
|
|
13544
13850
|
});
|
|
13545
|
-
const columns = _optionalChain([block, 'access',
|
|
13851
|
+
const columns = _optionalChain([block, 'access', _61 => _61.data, 'access', _62 => _62.appearance, 'optionalAccess', _63 => _63.numberOfColumns]);
|
|
13546
13852
|
return {
|
|
13547
13853
|
type: serializeCustomBlockNodeType(block, definition),
|
|
13548
13854
|
attrs: {
|
|
@@ -15867,7 +16173,7 @@ function parseAsListNode(prosemirrorNode) {
|
|
|
15867
16173
|
}
|
|
15868
16174
|
function parseAsListNodeItem(prosemirrorNode) {
|
|
15869
16175
|
if (prosemirrorNode.type !== "listItem") return null;
|
|
15870
|
-
const firstChild = _optionalChain([prosemirrorNode, 'access',
|
|
16176
|
+
const firstChild = _optionalChain([prosemirrorNode, 'access', _64 => _64.content, 'optionalAccess', _65 => _65[0]]);
|
|
15871
16177
|
if (!firstChild || firstChild.type !== "paragraph") return null;
|
|
15872
16178
|
return parseRichText(_nullishCoalesce(firstChild.content, () => ( [])));
|
|
15873
16179
|
}
|
|
@@ -16015,9 +16321,9 @@ function parseAsMultiRichText(prosemirrorNode, definition, property, definitions
|
|
|
16015
16321
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
16016
16322
|
const result = [];
|
|
16017
16323
|
const listItems = [];
|
|
16018
|
-
_optionalChain([prosemirrorNode, 'access',
|
|
16324
|
+
_optionalChain([prosemirrorNode, 'access', _66 => _66.content, 'optionalAccess', _67 => _67.forEach, 'call', _68 => _68((c) => {
|
|
16019
16325
|
if (c.type !== "listItem") return;
|
|
16020
|
-
_optionalChain([c, 'access',
|
|
16326
|
+
_optionalChain([c, 'access', _69 => _69.content, 'optionalAccess', _70 => _70.forEach, 'call', _71 => _71((cc) => {
|
|
16021
16327
|
listItems.push(cc);
|
|
16022
16328
|
})]);
|
|
16023
16329
|
})]);
|
|
@@ -16128,17 +16434,17 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
16128
16434
|
if (!id) return null;
|
|
16129
16435
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
16130
16436
|
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", _zod.z.boolean().optional()) !== false;
|
|
16131
|
-
const tableChild = _optionalChain([prosemirrorNode, 'access',
|
|
16437
|
+
const tableChild = _optionalChain([prosemirrorNode, 'access', _72 => _72.content, 'optionalAccess', _73 => _73.find, 'call', _74 => _74((c) => c.type === "table")]);
|
|
16132
16438
|
if (!tableChild) {
|
|
16133
16439
|
return emptyTable(id, variantId, 0);
|
|
16134
16440
|
}
|
|
16135
|
-
const rows = _nullishCoalesce(_optionalChain([tableChild, 'access',
|
|
16441
|
+
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]))]), () => ( []));
|
|
16136
16442
|
if (!rows.length) {
|
|
16137
16443
|
return emptyTable(id, variantId, 0);
|
|
16138
16444
|
}
|
|
16139
|
-
const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access',
|
|
16140
|
-
const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access',
|
|
16141
|
-
const hasHeaderRow = _optionalChain([rows, 'access',
|
|
16445
|
+
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));
|
|
16446
|
+
const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _85 => _85.content, 'optionalAccess', _86 => _86[0], 'optionalAccess', _87 => _87.type]) === "tableHeader").length;
|
|
16447
|
+
const hasHeaderRow = _optionalChain([rows, 'access', _88 => _88[0], 'access', _89 => _89.content, 'optionalAccess', _90 => _90.length]) === rowHeaderCells;
|
|
16142
16448
|
const hasHeaderColumn = rows.length === columnHeaderCells;
|
|
16143
16449
|
const tableValue = {
|
|
16144
16450
|
showBorder: hasBorder,
|
|
@@ -16215,7 +16521,7 @@ function parseAsTableNode(prosemirrorNode) {
|
|
|
16215
16521
|
if (!items) return null;
|
|
16216
16522
|
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
16217
16523
|
if (!parsedItems.success) return null;
|
|
16218
|
-
const rawImagePropertyValue = _optionalChain([parsedItems, 'access',
|
|
16524
|
+
const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _91 => _91.data, 'access', _92 => _92[0], 'optionalAccess', _93 => _93.props, 'access', _94 => _94.image]);
|
|
16219
16525
|
if (!rawImagePropertyValue) return null;
|
|
16220
16526
|
const imagePropertyValueParseResult = PageBlockItemImageValue.safeParse(rawImagePropertyValue);
|
|
16221
16527
|
if (!imagePropertyValueParseResult.success) return null;
|
|
@@ -16456,7 +16762,7 @@ function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
|
16456
16762
|
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(_zod.z.string()));
|
|
16457
16763
|
}
|
|
16458
16764
|
function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
|
|
16459
|
-
const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access',
|
|
16765
|
+
const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access', _95 => _95.attrs, 'optionalAccess', _96 => _96[attributeName]]));
|
|
16460
16766
|
if (parsedAttr.success) {
|
|
16461
16767
|
return parsedAttr.data;
|
|
16462
16768
|
} else {
|
|
@@ -16488,11 +16794,13 @@ var ForgeProjectRoomBaseYDoc = class {
|
|
|
16488
16794
|
getState() {
|
|
16489
16795
|
const artifacts = this.getArtifacts();
|
|
16490
16796
|
const features = this.getFeatures();
|
|
16797
|
+
const executedTransactionIds = this.getExecutedTransactionIds();
|
|
16491
16798
|
const isLoaded = true;
|
|
16492
16799
|
return {
|
|
16493
16800
|
isLoaded,
|
|
16494
16801
|
artifacts,
|
|
16495
|
-
features
|
|
16802
|
+
features,
|
|
16803
|
+
executedTransactionIds
|
|
16496
16804
|
};
|
|
16497
16805
|
}
|
|
16498
16806
|
//
|
|
@@ -16526,6 +16834,27 @@ var ForgeProjectRoomBaseYDoc = class {
|
|
|
16526
16834
|
return this.yDoc.getMap("forgeProjectFeatures");
|
|
16527
16835
|
}
|
|
16528
16836
|
//
|
|
16837
|
+
// Executed transactions
|
|
16838
|
+
//
|
|
16839
|
+
updateExecutedTransactionIds(transactionIds) {
|
|
16840
|
+
transactionIds = Array.from(new Set(transactionIds));
|
|
16841
|
+
if (!transactionIds.length) return;
|
|
16842
|
+
const array = this.executedTransactionIdsArray;
|
|
16843
|
+
array.push(transactionIds);
|
|
16844
|
+
if (array.length > 100) {
|
|
16845
|
+
array.delete(0, array.length - 100);
|
|
16846
|
+
}
|
|
16847
|
+
}
|
|
16848
|
+
getExecutedTransactionIds() {
|
|
16849
|
+
const array = this.executedTransactionIdsArray;
|
|
16850
|
+
const transactionIds = [];
|
|
16851
|
+
array.forEach((e) => typeof e === "string" && transactionIds.push(e));
|
|
16852
|
+
return transactionIds;
|
|
16853
|
+
}
|
|
16854
|
+
get executedTransactionIdsArray() {
|
|
16855
|
+
return this.yDoc.getArray("executedTransactionIds");
|
|
16856
|
+
}
|
|
16857
|
+
//
|
|
16529
16858
|
// Utility methods
|
|
16530
16859
|
//
|
|
16531
16860
|
getObjects(map, schema) {
|
|
@@ -16554,6 +16883,7 @@ var BackendForgeProjectRoomYDoc = class {
|
|
|
16554
16883
|
transaction.artifacts && yDoc.updateArtifacts(transaction.artifacts);
|
|
16555
16884
|
transaction.featureIdsToDelete && yDoc.deleteFeatures(transaction.featureIdsToDelete);
|
|
16556
16885
|
transaction.features && yDoc.updateFeatures(transaction.features);
|
|
16886
|
+
transaction.executedTransactionIds && yDoc.updateExecutedTransactionIds(transaction.executedTransactionIds);
|
|
16557
16887
|
});
|
|
16558
16888
|
}
|
|
16559
16889
|
};
|
|
@@ -16591,298 +16921,8 @@ var BackendVersionRoomYDoc = class {
|
|
|
16591
16921
|
}
|
|
16592
16922
|
};
|
|
16593
16923
|
|
|
16594
|
-
// src/sync/
|
|
16595
|
-
|
|
16596
|
-
const actionExecutor = new LocalDocsElementActionExecutor(input);
|
|
16597
|
-
actionExecutor.applyActions(input.actions);
|
|
16598
|
-
return actionExecutor.localState;
|
|
16599
|
-
}
|
|
16600
|
-
var LocalDocsElementActionExecutor = class {
|
|
16601
|
-
constructor(config) {
|
|
16602
|
-
__publicField(this, "userId");
|
|
16603
|
-
__publicField(this, "designSystemVersionId");
|
|
16604
|
-
__publicField(this, "pages");
|
|
16605
|
-
__publicField(this, "groups");
|
|
16606
|
-
__publicField(this, "approvalStates");
|
|
16607
|
-
__publicField(this, "pageLiveblockRoomIds");
|
|
16608
|
-
const { designSystemVersionId, remoteState, userId } = config;
|
|
16609
|
-
this.userId = userId;
|
|
16610
|
-
this.designSystemVersionId = designSystemVersionId;
|
|
16611
|
-
this.pages = mapByUnique(remoteState.pages, (p) => p.persistentId);
|
|
16612
|
-
this.groups = mapByUnique(remoteState.groups, (p) => p.persistentId);
|
|
16613
|
-
this.approvalStates = mapByUnique(remoteState.approvals, (a) => a.pagePersistentId);
|
|
16614
|
-
this.pageLiveblockRoomIds = { ...remoteState.pageLiveblockRoomIds };
|
|
16615
|
-
}
|
|
16616
|
-
get localState() {
|
|
16617
|
-
return {
|
|
16618
|
-
pages: Array.from(this.pages.values()),
|
|
16619
|
-
groups: Array.from(this.groups.values()),
|
|
16620
|
-
approvals: Array.from(this.approvalStates.values()),
|
|
16621
|
-
pageLiveblockRoomIds: this.pageLiveblockRoomIds
|
|
16622
|
-
};
|
|
16623
|
-
}
|
|
16624
|
-
applyActions(trx) {
|
|
16625
|
-
trx.forEach((trx2) => this.applyTransaction(trx2));
|
|
16626
|
-
}
|
|
16627
|
-
applyTransaction(trx) {
|
|
16628
|
-
switch (trx.type) {
|
|
16629
|
-
// Groups
|
|
16630
|
-
case "DocumentationGroupCreate":
|
|
16631
|
-
return this.documentationGroupCreate(trx);
|
|
16632
|
-
case "DocumentationGroupUpdate":
|
|
16633
|
-
return this.documentationGroupUpdate(trx);
|
|
16634
|
-
case "DocumentationGroupMove":
|
|
16635
|
-
return this.documentationGroupMove(trx);
|
|
16636
|
-
// Groups - unsupported
|
|
16637
|
-
case "DocumentationGroupDelete":
|
|
16638
|
-
case "DocumentationGroupDuplicate":
|
|
16639
|
-
case "DocumentationGroupRestore":
|
|
16640
|
-
throw new Error(`Transaction type ${trx.type} is not yet implemented`);
|
|
16641
|
-
// Pages
|
|
16642
|
-
case "DocumentationPageCreate":
|
|
16643
|
-
return this.documentationPageCreate(trx);
|
|
16644
|
-
case "DocumentationPageUpdate":
|
|
16645
|
-
return this.documentationPageUpdate(trx);
|
|
16646
|
-
case "DocumentationPageMove":
|
|
16647
|
-
return this.documentationPageMove(trx);
|
|
16648
|
-
case "DocumentationPageDelete":
|
|
16649
|
-
return this.documentationPageDelete(trx);
|
|
16650
|
-
// Pages - unsupported
|
|
16651
|
-
case "DocumentationPageApprovalStateChange":
|
|
16652
|
-
return this.documentationApprovalStateUpdate(trx);
|
|
16653
|
-
case "DocumentationPageDuplicate":
|
|
16654
|
-
case "DocumentationPageRestore":
|
|
16655
|
-
throw new Error(`Transaction type ${trx.type} is not yet implemented`);
|
|
16656
|
-
// Tabs
|
|
16657
|
-
case "DocumentationTabCreate":
|
|
16658
|
-
return this.documentationTabCreate(trx);
|
|
16659
|
-
case "DocumentationTabGroupDelete":
|
|
16660
|
-
throw new Error(`Transaction type ${trx.type} is not yet implemented`);
|
|
16661
|
-
// Won't ever be supported
|
|
16662
|
-
case "FigmaNodeRender":
|
|
16663
|
-
case "FigmaNodeRenderAsync":
|
|
16664
|
-
throw new Error(`Transaction type ${trx.type} is not a documentation element action`);
|
|
16665
|
-
}
|
|
16666
|
-
}
|
|
16667
|
-
//
|
|
16668
|
-
// Pages
|
|
16669
|
-
//
|
|
16670
|
-
documentationPageCreate(trx) {
|
|
16671
|
-
const { input } = trx;
|
|
16672
|
-
const { persistentId } = input;
|
|
16673
|
-
if (this.pages.has(input.persistentId)) {
|
|
16674
|
-
return;
|
|
16675
|
-
}
|
|
16676
|
-
if (!this.groups.has(input.parentPersistentId)) {
|
|
16677
|
-
throw new Error(`Cannot create page: parent persistent id ${input.parentPersistentId} was not found`);
|
|
16678
|
-
}
|
|
16679
|
-
const localPage = {
|
|
16680
|
-
persistentId,
|
|
16681
|
-
createdAt: /* @__PURE__ */ new Date(),
|
|
16682
|
-
parentPersistentId: input.parentPersistentId,
|
|
16683
|
-
shortPersistentId: generateShortPersistentId(),
|
|
16684
|
-
slug: slugify(input.title),
|
|
16685
|
-
meta: { name: input.title },
|
|
16686
|
-
updatedAt: /* @__PURE__ */ new Date(),
|
|
16687
|
-
data: {
|
|
16688
|
-
// TODO Artem: move somewhere reusable
|
|
16689
|
-
configuration: input.configuration ? { ...defaultDocumentationItemConfigurationV2, ...input.configuration } : input.configuration
|
|
16690
|
-
},
|
|
16691
|
-
sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
|
|
16692
|
-
designSystemVersionId: this.designSystemVersionId
|
|
16693
|
-
};
|
|
16694
|
-
this.pages.set(persistentId, localPage);
|
|
16695
|
-
const roomId = `${RoomType.DocumentationPage}:${this.designSystemVersionId}:${persistentId}`;
|
|
16696
|
-
this.pageLiveblockRoomIds[persistentId] = roomId;
|
|
16697
|
-
}
|
|
16698
|
-
documentationPageUpdate(trx) {
|
|
16699
|
-
const { input } = trx;
|
|
16700
|
-
const existingPage = this.pages.get(input.id);
|
|
16701
|
-
if (!existingPage) {
|
|
16702
|
-
throw new Error(`Cannot update page: page id ${input.id} was not found`);
|
|
16703
|
-
}
|
|
16704
|
-
const localPage = {
|
|
16705
|
-
...existingPage,
|
|
16706
|
-
userSlug: void 0,
|
|
16707
|
-
meta: {
|
|
16708
|
-
...existingPage.meta,
|
|
16709
|
-
name: _nullishCoalesce(input.title, () => ( existingPage.meta.name))
|
|
16710
|
-
},
|
|
16711
|
-
data: {
|
|
16712
|
-
// TODO Artem: move somewhere reusable
|
|
16713
|
-
configuration: input.configuration ? { ..._nullishCoalesce(existingPage.data.configuration, () => ( defaultDocumentationItemConfigurationV2)), ...input.configuration } : existingPage.data.configuration
|
|
16714
|
-
}
|
|
16715
|
-
};
|
|
16716
|
-
this.pages.set(localPage.persistentId, localPage);
|
|
16717
|
-
}
|
|
16718
|
-
documentationPageMove(trx) {
|
|
16719
|
-
const { input } = trx;
|
|
16720
|
-
if (!this.groups.has(input.parentPersistentId)) {
|
|
16721
|
-
throw new Error(`Cannot move page: page parent id ${input.parentPersistentId} was not found`);
|
|
16722
|
-
}
|
|
16723
|
-
const existingPage = this.pages.get(input.id);
|
|
16724
|
-
if (!existingPage) {
|
|
16725
|
-
throw new Error(`Cannot update page: page id ${input.id} was not found`);
|
|
16726
|
-
}
|
|
16727
|
-
const localPage = {
|
|
16728
|
-
...existingPage,
|
|
16729
|
-
userSlug: void 0,
|
|
16730
|
-
sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
|
|
16731
|
-
parentPersistentId: input.parentPersistentId
|
|
16732
|
-
};
|
|
16733
|
-
this.pages.set(localPage.persistentId, localPage);
|
|
16734
|
-
}
|
|
16735
|
-
documentationPageDelete(trx) {
|
|
16736
|
-
const { input } = trx;
|
|
16737
|
-
if (!this.pages.delete(trx.input.id)) {
|
|
16738
|
-
throw new Error(`Cannot delete page: page id ${input.id} was not found`);
|
|
16739
|
-
}
|
|
16740
|
-
delete this.pageLiveblockRoomIds[trx.input.id];
|
|
16741
|
-
}
|
|
16742
|
-
//
|
|
16743
|
-
// Group
|
|
16744
|
-
//
|
|
16745
|
-
documentationGroupCreate(trx) {
|
|
16746
|
-
const { input } = trx;
|
|
16747
|
-
if (this.groups.has(input.persistentId)) {
|
|
16748
|
-
return;
|
|
16749
|
-
}
|
|
16750
|
-
const localGroup = {
|
|
16751
|
-
parentPersistentId: input.parentPersistentId,
|
|
16752
|
-
persistentId: input.persistentId,
|
|
16753
|
-
shortPersistentId: generateShortPersistentId(),
|
|
16754
|
-
slug: slugify(input.title),
|
|
16755
|
-
meta: { name: input.title },
|
|
16756
|
-
createdAt: /* @__PURE__ */ new Date(),
|
|
16757
|
-
updatedAt: /* @__PURE__ */ new Date(),
|
|
16758
|
-
data: {
|
|
16759
|
-
// TODO Artem: move somewhere reusable
|
|
16760
|
-
configuration: input.configuration ? { ...defaultDocumentationItemConfigurationV2, ...input.configuration } : input.configuration
|
|
16761
|
-
},
|
|
16762
|
-
sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
|
|
16763
|
-
designSystemVersionId: this.designSystemVersionId
|
|
16764
|
-
};
|
|
16765
|
-
this.groups.set(localGroup.persistentId, localGroup);
|
|
16766
|
-
}
|
|
16767
|
-
documentationGroupUpdate(trx) {
|
|
16768
|
-
const { input } = trx;
|
|
16769
|
-
const existingGroup = this.groups.get(input.id);
|
|
16770
|
-
if (!existingGroup) {
|
|
16771
|
-
throw new Error(`Cannot update group: group id ${input.id} was not found`);
|
|
16772
|
-
}
|
|
16773
|
-
const localGroup = {
|
|
16774
|
-
...existingGroup,
|
|
16775
|
-
userSlug: void 0,
|
|
16776
|
-
meta: {
|
|
16777
|
-
...existingGroup.meta,
|
|
16778
|
-
name: _nullishCoalesce(input.title, () => ( existingGroup.meta.name))
|
|
16779
|
-
},
|
|
16780
|
-
data: {
|
|
16781
|
-
...existingGroup.data,
|
|
16782
|
-
// TODO Artem: move somewhere reusable
|
|
16783
|
-
configuration: input.configuration ? {
|
|
16784
|
-
..._nullishCoalesce(_optionalChain([existingGroup, 'access', _88 => _88.data, 'optionalAccess', _89 => _89.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
|
|
16785
|
-
...input.configuration
|
|
16786
|
-
} : _optionalChain([existingGroup, 'access', _90 => _90.data, 'optionalAccess', _91 => _91.configuration])
|
|
16787
|
-
}
|
|
16788
|
-
};
|
|
16789
|
-
this.groups.set(localGroup.persistentId, localGroup);
|
|
16790
|
-
}
|
|
16791
|
-
documentationGroupMove(trx) {
|
|
16792
|
-
const { input } = trx;
|
|
16793
|
-
if (!this.groups.has(input.parentPersistentId)) {
|
|
16794
|
-
throw new Error(`Cannot move group: group parent id ${input.parentPersistentId} was not found`);
|
|
16795
|
-
}
|
|
16796
|
-
const existingGroup = this.groups.get(input.id);
|
|
16797
|
-
if (!existingGroup) {
|
|
16798
|
-
throw new Error(`Cannot update group: group id ${input.id} was not found`);
|
|
16799
|
-
}
|
|
16800
|
-
const localGroup = {
|
|
16801
|
-
...existingGroup,
|
|
16802
|
-
userSlug: void 0,
|
|
16803
|
-
sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
|
|
16804
|
-
parentPersistentId: input.parentPersistentId
|
|
16805
|
-
};
|
|
16806
|
-
this.groups.set(localGroup.persistentId, localGroup);
|
|
16807
|
-
}
|
|
16808
|
-
//
|
|
16809
|
-
// Tabs
|
|
16810
|
-
//
|
|
16811
|
-
documentationTabCreate(trx) {
|
|
16812
|
-
const { input } = trx;
|
|
16813
|
-
const page = this.pages.get(input.fromItemPersistentId);
|
|
16814
|
-
if (!page) {
|
|
16815
|
-
throw new Error(`Cannot create tab: page id ${input.fromItemPersistentId} was not found`);
|
|
16816
|
-
}
|
|
16817
|
-
const tabGroup = {
|
|
16818
|
-
parentPersistentId: page.parentPersistentId,
|
|
16819
|
-
persistentId: input.persistentId,
|
|
16820
|
-
shortPersistentId: generateShortPersistentId(),
|
|
16821
|
-
slug: page.slug,
|
|
16822
|
-
meta: page.meta,
|
|
16823
|
-
createdAt: /* @__PURE__ */ new Date(),
|
|
16824
|
-
updatedAt: /* @__PURE__ */ new Date(),
|
|
16825
|
-
data: {
|
|
16826
|
-
behavior: "Tabs",
|
|
16827
|
-
configuration: _optionalChain([page, 'optionalAccess', _92 => _92.data, 'access', _93 => _93.configuration])
|
|
16828
|
-
},
|
|
16829
|
-
sortOrder: page.sortOrder,
|
|
16830
|
-
designSystemVersionId: this.designSystemVersionId
|
|
16831
|
-
};
|
|
16832
|
-
this.groups.set(input.persistentId, tabGroup);
|
|
16833
|
-
const newLocalPage = {
|
|
16834
|
-
...page,
|
|
16835
|
-
userSlug: void 0,
|
|
16836
|
-
sortOrder: 0,
|
|
16837
|
-
parentPersistentId: input.persistentId,
|
|
16838
|
-
meta: { name: input.tabName }
|
|
16839
|
-
};
|
|
16840
|
-
this.pages.set(newLocalPage.persistentId, newLocalPage);
|
|
16841
|
-
}
|
|
16842
|
-
//
|
|
16843
|
-
// Approval states
|
|
16844
|
-
//
|
|
16845
|
-
documentationApprovalStateUpdate(trx) {
|
|
16846
|
-
const { input } = trx;
|
|
16847
|
-
const existingApproval = this.approvalStates.get(input.persistentId);
|
|
16848
|
-
if (input.approvalState) {
|
|
16849
|
-
this.approvalStates.set(input.persistentId, {
|
|
16850
|
-
approvalState: input.approvalState,
|
|
16851
|
-
createdAt: _nullishCoalesce(_optionalChain([existingApproval, 'optionalAccess', _94 => _94.createdAt]), () => ( /* @__PURE__ */ new Date())),
|
|
16852
|
-
designSystemVersionId: this.designSystemVersionId,
|
|
16853
|
-
pagePersistentId: input.persistentId,
|
|
16854
|
-
updatedAt: /* @__PURE__ */ new Date(),
|
|
16855
|
-
updatedByUserId: this.userId
|
|
16856
|
-
});
|
|
16857
|
-
} else {
|
|
16858
|
-
this.approvalStates.delete(input.persistentId);
|
|
16859
|
-
}
|
|
16860
|
-
}
|
|
16861
|
-
//
|
|
16862
|
-
// Utils
|
|
16863
|
-
//
|
|
16864
|
-
calculateSortOrder(parentPersistentId, afterPersistentId) {
|
|
16865
|
-
const sortOrderStep = Math.pow(2, 16);
|
|
16866
|
-
const neighbours = [
|
|
16867
|
-
...Array.from(this.pages.values()).filter((p) => p.parentPersistentId === parentPersistentId),
|
|
16868
|
-
...Array.from(this.groups.values()).filter((g) => g.parentPersistentId === parentPersistentId)
|
|
16869
|
-
];
|
|
16870
|
-
if (!neighbours.length) return 0;
|
|
16871
|
-
neighbours.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
|
|
16872
|
-
if (afterPersistentId === null) return neighbours[0].sortOrder - sortOrderStep;
|
|
16873
|
-
if (!afterPersistentId) return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
|
|
16874
|
-
const index = neighbours.findIndex((e) => e.persistentId === afterPersistentId);
|
|
16875
|
-
if (index < 0 || index === neighbours.length - 1) {
|
|
16876
|
-
return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
|
|
16877
|
-
}
|
|
16878
|
-
const left = neighbours[index].sortOrder;
|
|
16879
|
-
const right = _nullishCoalesce(_optionalChain([neighbours, 'access', _95 => _95[index + 1], 'optionalAccess', _96 => _96.sortOrder]), () => ( left + sortOrderStep * 2));
|
|
16880
|
-
return (right + left) / 2;
|
|
16881
|
-
}
|
|
16882
|
-
};
|
|
16883
|
-
|
|
16884
|
-
// src/sync/docs-structure-repo.ts
|
|
16885
|
-
var DocsStructureRepository = class {
|
|
16924
|
+
// src/sync/docs-structure-repo.ts
|
|
16925
|
+
var DocsStructureRepository = class {
|
|
16886
16926
|
constructor(config) {
|
|
16887
16927
|
__publicField(this, "userId");
|
|
16888
16928
|
__publicField(this, "designSystemVersionId");
|
|
@@ -17066,6 +17106,280 @@ var TransactionQueue = class {
|
|
|
17066
17106
|
}
|
|
17067
17107
|
};
|
|
17068
17108
|
|
|
17109
|
+
// src/sync/project-content-repo.ts
|
|
17110
|
+
|
|
17111
|
+
|
|
17112
|
+
// src/sync/project-local-action-executor.ts
|
|
17113
|
+
function applyProjectActionsLocally(input) {
|
|
17114
|
+
const actionExecutor = new LocalProjectActionExecutor(input);
|
|
17115
|
+
actionExecutor.applyActions(input.actions);
|
|
17116
|
+
return actionExecutor.localState;
|
|
17117
|
+
}
|
|
17118
|
+
var LocalProjectActionExecutor = class {
|
|
17119
|
+
constructor(config) {
|
|
17120
|
+
__publicField(this, "userId");
|
|
17121
|
+
__publicField(this, "projectId");
|
|
17122
|
+
__publicField(this, "artifacts");
|
|
17123
|
+
__publicField(this, "features");
|
|
17124
|
+
const { projectId, remoteState, userId } = config;
|
|
17125
|
+
this.userId = userId;
|
|
17126
|
+
this.projectId = projectId;
|
|
17127
|
+
this.artifacts = mapByUnique(remoteState.artifacts, (p) => p.id);
|
|
17128
|
+
this.features = mapByUnique(remoteState.features, (p) => p.id);
|
|
17129
|
+
}
|
|
17130
|
+
get localState() {
|
|
17131
|
+
return {
|
|
17132
|
+
artifacts: Array.from(this.artifacts.values()),
|
|
17133
|
+
features: Array.from(this.features.values())
|
|
17134
|
+
};
|
|
17135
|
+
}
|
|
17136
|
+
applyActions(trx) {
|
|
17137
|
+
trx.forEach((trx2) => this.applyTransaction(trx2));
|
|
17138
|
+
}
|
|
17139
|
+
applyTransaction(trx) {
|
|
17140
|
+
switch (trx.type) {
|
|
17141
|
+
case "ArtifactCreate":
|
|
17142
|
+
return this.artifactCreate(trx);
|
|
17143
|
+
case "ArtifactUpdate":
|
|
17144
|
+
return this.artifactUpdate(trx);
|
|
17145
|
+
case "ArtifactDelete":
|
|
17146
|
+
return this.artifactDelete(trx);
|
|
17147
|
+
case "FeatureCreate":
|
|
17148
|
+
return this.featureCreate(trx);
|
|
17149
|
+
case "FeatureDelete":
|
|
17150
|
+
return this.featureDelete(trx);
|
|
17151
|
+
case "FeatureUpdate":
|
|
17152
|
+
return this.featureUpdate(trx);
|
|
17153
|
+
}
|
|
17154
|
+
}
|
|
17155
|
+
//
|
|
17156
|
+
// Artifacts
|
|
17157
|
+
//
|
|
17158
|
+
artifactCreate(trx) {
|
|
17159
|
+
const { input } = trx;
|
|
17160
|
+
const { id } = input;
|
|
17161
|
+
this.artifacts.set(id, {
|
|
17162
|
+
id,
|
|
17163
|
+
projectId: this.projectId,
|
|
17164
|
+
sortOrder: 0,
|
|
17165
|
+
title: input.title,
|
|
17166
|
+
updatedAt: /* @__PURE__ */ new Date(),
|
|
17167
|
+
createdAt: /* @__PURE__ */ new Date(),
|
|
17168
|
+
createdByUserId: this.userId
|
|
17169
|
+
});
|
|
17170
|
+
}
|
|
17171
|
+
artifactUpdate(trx) {
|
|
17172
|
+
const { input } = trx;
|
|
17173
|
+
const { id } = input;
|
|
17174
|
+
const existingArtifact = this.artifacts.get(id);
|
|
17175
|
+
if (!existingArtifact) {
|
|
17176
|
+
throw new Error(`Cannot update artifact: artifact ${id} was not found in local storage`);
|
|
17177
|
+
}
|
|
17178
|
+
const mergedArtifact = {
|
|
17179
|
+
...existingArtifact,
|
|
17180
|
+
title: _nullishCoalesce(input.title, () => ( existingArtifact.title)),
|
|
17181
|
+
updatedAt: /* @__PURE__ */ new Date()
|
|
17182
|
+
};
|
|
17183
|
+
this.artifacts.set(id, mergedArtifact);
|
|
17184
|
+
}
|
|
17185
|
+
artifactDelete(trx) {
|
|
17186
|
+
const { input } = trx;
|
|
17187
|
+
const { id } = input;
|
|
17188
|
+
if (!this.artifacts.delete(id)) {
|
|
17189
|
+
throw new Error(`Cannot delete artifact: artifact ${id} was not found in local storage`);
|
|
17190
|
+
}
|
|
17191
|
+
}
|
|
17192
|
+
//
|
|
17193
|
+
// Feature
|
|
17194
|
+
//
|
|
17195
|
+
featureCreate(trx) {
|
|
17196
|
+
const { input } = trx;
|
|
17197
|
+
const { id } = input;
|
|
17198
|
+
this.features.set(id, {
|
|
17199
|
+
id,
|
|
17200
|
+
projectId: this.projectId,
|
|
17201
|
+
description: input.description,
|
|
17202
|
+
isArchived: false,
|
|
17203
|
+
sectionId: input.sectionId,
|
|
17204
|
+
sortOrder: 0,
|
|
17205
|
+
name: input.name,
|
|
17206
|
+
updatedAt: /* @__PURE__ */ new Date(),
|
|
17207
|
+
createdAt: /* @__PURE__ */ new Date(),
|
|
17208
|
+
createdByUserId: this.userId
|
|
17209
|
+
});
|
|
17210
|
+
}
|
|
17211
|
+
featureUpdate(trx) {
|
|
17212
|
+
const { input } = trx;
|
|
17213
|
+
const { id } = input;
|
|
17214
|
+
const existingFeature = this.features.get(id);
|
|
17215
|
+
if (!existingFeature) {
|
|
17216
|
+
throw new Error(`Cannot update feature: feature ${id} was not found in local storage`);
|
|
17217
|
+
}
|
|
17218
|
+
const mergedFeature = {
|
|
17219
|
+
...existingFeature,
|
|
17220
|
+
name: _nullishCoalesce(input.name, () => ( existingFeature.name)),
|
|
17221
|
+
description: _nullishCoalesce(input.description, () => ( existingFeature.description)),
|
|
17222
|
+
isArchived: _nullishCoalesce(input.isArchived, () => ( existingFeature.isArchived)),
|
|
17223
|
+
updatedAt: /* @__PURE__ */ new Date()
|
|
17224
|
+
};
|
|
17225
|
+
this.features.set(id, mergedFeature);
|
|
17226
|
+
}
|
|
17227
|
+
featureDelete(trx) {
|
|
17228
|
+
const { input } = trx;
|
|
17229
|
+
const { id } = input;
|
|
17230
|
+
if (!this.features.delete(id)) {
|
|
17231
|
+
throw new Error(`Cannot delete feature: feature ${id} was not found in local storage`);
|
|
17232
|
+
}
|
|
17233
|
+
}
|
|
17234
|
+
};
|
|
17235
|
+
|
|
17236
|
+
// src/sync/project-content-repo.ts
|
|
17237
|
+
var ForgeProjectContentRepository = class {
|
|
17238
|
+
constructor(config) {
|
|
17239
|
+
__publicField(this, "userId");
|
|
17240
|
+
__publicField(this, "projectId");
|
|
17241
|
+
__publicField(this, "yDoc");
|
|
17242
|
+
__publicField(this, "yObserver");
|
|
17243
|
+
__publicField(this, "_yState");
|
|
17244
|
+
__publicField(this, "_currentProjectContent");
|
|
17245
|
+
__publicField(this, "localActions", []);
|
|
17246
|
+
__publicField(this, "actionQueue");
|
|
17247
|
+
__publicField(this, "projectContentObservers", /* @__PURE__ */ new Set());
|
|
17248
|
+
__publicField(this, "errorObservers", /* @__PURE__ */ new Set());
|
|
17249
|
+
__publicField(this, "initCallbacks", /* @__PURE__ */ new Set());
|
|
17250
|
+
__publicField(this, "transactionIdGenerator");
|
|
17251
|
+
__publicField(this, "transactionExecutor");
|
|
17252
|
+
this.userId = config.userId;
|
|
17253
|
+
this.projectId = config.projectId;
|
|
17254
|
+
this.yDoc = config.yDoc;
|
|
17255
|
+
this.yObserver = this.yDoc.on("update", () => this.onYUpdate());
|
|
17256
|
+
this.onYUpdate();
|
|
17257
|
+
this.transactionExecutor = config.transactionExecutor;
|
|
17258
|
+
this.transactionIdGenerator = config.transactionIdGenerator;
|
|
17259
|
+
this.actionQueue = new TransactionQueue2((action) => this.executeInternalAction(action));
|
|
17260
|
+
}
|
|
17261
|
+
//
|
|
17262
|
+
// Lifecycle
|
|
17263
|
+
//
|
|
17264
|
+
get isInitialized() {
|
|
17265
|
+
return !!this._currentProjectContent;
|
|
17266
|
+
}
|
|
17267
|
+
onInitialized() {
|
|
17268
|
+
if (this.isInitialized) return Promise.resolve();
|
|
17269
|
+
return new Promise((resolve) => {
|
|
17270
|
+
this.initCallbacks.add(resolve);
|
|
17271
|
+
});
|
|
17272
|
+
}
|
|
17273
|
+
addProjectContentObserver(observer) {
|
|
17274
|
+
this.projectContentObservers.add(observer);
|
|
17275
|
+
if (this._currentProjectContent) observer(this._currentProjectContent);
|
|
17276
|
+
}
|
|
17277
|
+
removeProjectContentObserver(observer) {
|
|
17278
|
+
this.projectContentObservers.delete(observer);
|
|
17279
|
+
}
|
|
17280
|
+
addErrorObserver(observer) {
|
|
17281
|
+
this.errorObservers.add(observer);
|
|
17282
|
+
}
|
|
17283
|
+
removeErrorObserver(observer) {
|
|
17284
|
+
this.errorObservers.delete(observer);
|
|
17285
|
+
}
|
|
17286
|
+
dispose() {
|
|
17287
|
+
this.yDoc.off("update", this.yObserver);
|
|
17288
|
+
this.projectContentObservers.clear();
|
|
17289
|
+
this.errorObservers.clear();
|
|
17290
|
+
this.actionQueue.clear();
|
|
17291
|
+
}
|
|
17292
|
+
//
|
|
17293
|
+
// Accessors
|
|
17294
|
+
//
|
|
17295
|
+
get currentProjectContent() {
|
|
17296
|
+
const projectContent = this._currentProjectContent;
|
|
17297
|
+
if (!projectContent) throw new Error(`Project content cannot be accessed while it's still loading`);
|
|
17298
|
+
return projectContent;
|
|
17299
|
+
}
|
|
17300
|
+
//
|
|
17301
|
+
// Actions
|
|
17302
|
+
//
|
|
17303
|
+
executeAction(action, metadata) {
|
|
17304
|
+
void this.executeActionPromise(action, metadata);
|
|
17305
|
+
}
|
|
17306
|
+
executeActionPromise(action, metadata) {
|
|
17307
|
+
const fullAction = { ...action, tId: this.transactionIdGenerator() };
|
|
17308
|
+
this.localActions.push(fullAction);
|
|
17309
|
+
this.refreshProjectContent();
|
|
17310
|
+
return this.actionQueue.enqueue({ action: fullAction, metadata });
|
|
17311
|
+
}
|
|
17312
|
+
async executeInternalAction(action) {
|
|
17313
|
+
try {
|
|
17314
|
+
return await this.transactionExecutor(action.action);
|
|
17315
|
+
} catch (e) {
|
|
17316
|
+
this.localActions = this.localActions.filter((a) => a.tId !== action.action.tId);
|
|
17317
|
+
this.refreshProjectContent();
|
|
17318
|
+
this.errorObservers.forEach((o) => o(e, action.metadata));
|
|
17319
|
+
}
|
|
17320
|
+
}
|
|
17321
|
+
//
|
|
17322
|
+
// Reactions
|
|
17323
|
+
//
|
|
17324
|
+
refreshState() {
|
|
17325
|
+
this.refreshProjectContent();
|
|
17326
|
+
}
|
|
17327
|
+
refreshProjectContent() {
|
|
17328
|
+
const yState = this._yState;
|
|
17329
|
+
if (!yState) return;
|
|
17330
|
+
const projectContent = this.calculateProjectState(yState);
|
|
17331
|
+
if (!projectContent) return;
|
|
17332
|
+
this._currentProjectContent = projectContent;
|
|
17333
|
+
this.projectContentObservers.forEach((o) => o(projectContent));
|
|
17334
|
+
}
|
|
17335
|
+
calculateProjectState(yState) {
|
|
17336
|
+
const executedTransactionIds = new Set(yState.executedTransactionIds);
|
|
17337
|
+
const localActions = this.localActions.filter((a) => a.tId && !executedTransactionIds.has(a.tId));
|
|
17338
|
+
this.localActions = localActions;
|
|
17339
|
+
const state = applyProjectActionsLocally({
|
|
17340
|
+
userId: this.userId,
|
|
17341
|
+
projectId: this.projectId,
|
|
17342
|
+
remoteState: yState,
|
|
17343
|
+
actions: localActions
|
|
17344
|
+
});
|
|
17345
|
+
return {
|
|
17346
|
+
artifacts: state.artifacts,
|
|
17347
|
+
features: state.features
|
|
17348
|
+
};
|
|
17349
|
+
}
|
|
17350
|
+
onYUpdate() {
|
|
17351
|
+
const newState = new ForgeProjectRoomBaseYDoc(this.yDoc).getState();
|
|
17352
|
+
if (newState.isLoaded) {
|
|
17353
|
+
this._yState = newState;
|
|
17354
|
+
this.refreshState();
|
|
17355
|
+
this.initCallbacks.forEach((f) => f());
|
|
17356
|
+
this.initCallbacks.clear();
|
|
17357
|
+
}
|
|
17358
|
+
}
|
|
17359
|
+
};
|
|
17360
|
+
var TransactionQueue2 = class {
|
|
17361
|
+
constructor(executor) {
|
|
17362
|
+
__publicField(this, "executor");
|
|
17363
|
+
__publicField(this, "queue", new (0, _pqueue2.default)({
|
|
17364
|
+
concurrency: 1
|
|
17365
|
+
}));
|
|
17366
|
+
this.executor = executor;
|
|
17367
|
+
}
|
|
17368
|
+
enqueue(trx) {
|
|
17369
|
+
return this.queue.add(() => this.executor(trx));
|
|
17370
|
+
}
|
|
17371
|
+
onEmpty() {
|
|
17372
|
+
return this.queue.onEmpty();
|
|
17373
|
+
}
|
|
17374
|
+
clear() {
|
|
17375
|
+
this.queue.clear();
|
|
17376
|
+
}
|
|
17377
|
+
};
|
|
17378
|
+
|
|
17379
|
+
|
|
17380
|
+
|
|
17381
|
+
|
|
17382
|
+
|
|
17069
17383
|
|
|
17070
17384
|
|
|
17071
17385
|
|
|
@@ -17767,5 +18081,5 @@ var TransactionQueue = class {
|
|
|
17767
18081
|
|
|
17768
18082
|
|
|
17769
18083
|
|
|
17770
|
-
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.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;
|
|
18084
|
+
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.DTOWorkspaceSeatType = DTOWorkspaceSeatType; 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.LocalProjectActionExecutor = LocalProjectActionExecutor; 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.applyProjectActionsLocally = applyProjectActionsLocally; 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;
|
|
17771
18085
|
//# sourceMappingURL=index.js.map
|