@supernova-studio/client 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1123 -526
- package/dist/index.d.ts +1123 -526
- package/dist/index.js +343 -234
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +927 -818
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -637,25 +637,41 @@ var Asset = _zod.z.object({
|
|
|
637
637
|
var ResolvedAsset = Asset.extend({
|
|
638
638
|
url: _zod.z.string()
|
|
639
639
|
});
|
|
640
|
-
var
|
|
641
|
-
"
|
|
642
|
-
"
|
|
643
|
-
"
|
|
644
|
-
"
|
|
645
|
-
"
|
|
646
|
-
"
|
|
647
|
-
"
|
|
640
|
+
var CodeComponentResolvedTypeKind = _zod.z.enum([
|
|
641
|
+
"string",
|
|
642
|
+
"number",
|
|
643
|
+
"numberLiteral",
|
|
644
|
+
"boolean",
|
|
645
|
+
"booleanLiteral",
|
|
646
|
+
"object",
|
|
647
|
+
"function",
|
|
648
|
+
"stringLiteral",
|
|
649
|
+
"union",
|
|
650
|
+
"slot",
|
|
651
|
+
"null",
|
|
652
|
+
"undefined",
|
|
653
|
+
"any"
|
|
648
654
|
]);
|
|
649
|
-
var
|
|
650
|
-
|
|
651
|
-
|
|
655
|
+
var CodeComponentResolvedType = _zod.z.lazy(
|
|
656
|
+
() => _zod.z.object({
|
|
657
|
+
kind: CodeComponentResolvedTypeKind,
|
|
658
|
+
raw: _zod.z.string().optional(),
|
|
659
|
+
types: _zod.z.array(CodeComponentResolvedType).optional(),
|
|
660
|
+
isArray: _zod.z.boolean().optional()
|
|
661
|
+
})
|
|
662
|
+
);
|
|
663
|
+
var CodeComponentParentType = _zod.z.object({
|
|
664
|
+
fileName: _zod.z.string(),
|
|
665
|
+
name: _zod.z.string()
|
|
652
666
|
});
|
|
653
667
|
var CodeComponentProperty = _zod.z.object({
|
|
654
|
-
control: CodeComponentPropertyControl,
|
|
655
668
|
defaultValue: _zod.z.string().optional(),
|
|
656
669
|
name: _zod.z.string(),
|
|
657
670
|
required: _zod.z.boolean(),
|
|
658
|
-
type:
|
|
671
|
+
type: CodeComponentResolvedType,
|
|
672
|
+
declarations: _zod.z.array(CodeComponentParentType).optional(),
|
|
673
|
+
tags: _zod.z.record(_zod.z.string(), _zod.z.string()).optional(),
|
|
674
|
+
description: _zod.z.string()
|
|
659
675
|
});
|
|
660
676
|
var CodeComponent = _zod.z.object({
|
|
661
677
|
id: _zod.z.string(),
|
|
@@ -664,7 +680,15 @@ var CodeComponent = _zod.z.object({
|
|
|
664
680
|
createdAt: _zod.z.coerce.date(),
|
|
665
681
|
updatedAt: _zod.z.coerce.date(),
|
|
666
682
|
exportName: _zod.z.string(),
|
|
667
|
-
|
|
683
|
+
componentPath: _zod.z.string(),
|
|
684
|
+
description: _zod.z.string(),
|
|
685
|
+
properties: _zod.z.record(_zod.z.string(), CodeComponentProperty),
|
|
686
|
+
tags: _zod.z.record(_zod.z.string(), _zod.z.string()).optional()
|
|
687
|
+
});
|
|
688
|
+
var CodeComponentUpsertResponse = _zod.z.object({
|
|
689
|
+
created: _zod.z.number().nonnegative(),
|
|
690
|
+
updated: _zod.z.number().nonnegative(),
|
|
691
|
+
deleted: _zod.z.number().nonnegative()
|
|
668
692
|
});
|
|
669
693
|
var FigmaFileDownloadScope = _zod.z.object({
|
|
670
694
|
styles: _zod.z.boolean(),
|
|
@@ -921,6 +945,9 @@ function groupBy(items, keyFn) {
|
|
|
921
945
|
}
|
|
922
946
|
return result;
|
|
923
947
|
}
|
|
948
|
+
function nonNullFilter(item) {
|
|
949
|
+
return item !== null;
|
|
950
|
+
}
|
|
924
951
|
function areShallowObjectsEqual(lhs, rhs) {
|
|
925
952
|
if (lhs === void 0 !== (rhs === void 0)) return false;
|
|
926
953
|
if (lhs === void 0 || rhs === void 0) return true;
|
|
@@ -3777,25 +3804,20 @@ var DocumentationLinkPreview = _zod.z.object({
|
|
|
3777
3804
|
description: _zod.z.string().optional(),
|
|
3778
3805
|
thumbnail: PageBlockImageReference.optional()
|
|
3779
3806
|
});
|
|
3780
|
-
var DocumentationPage = _zod.z.object({
|
|
3781
|
-
type: _zod.z.literal("DocumentationPage"),
|
|
3782
|
-
id: _zod.z.string(),
|
|
3783
|
-
persistentId: _zod.z.string(),
|
|
3784
|
-
shortPersistentId: _zod.z.string(),
|
|
3785
|
-
designSystemVersionId: _zod.z.string(),
|
|
3786
|
-
parentPersistentId: _zod.z.string().nullish(),
|
|
3787
|
-
sortOrder: _zod.z.number(),
|
|
3788
|
-
title: _zod.z.string(),
|
|
3789
|
-
slug: _zod.z.string(),
|
|
3790
|
-
userSlug: _zod.z.string().nullish(),
|
|
3791
|
-
createdAt: _zod.z.coerce.date(),
|
|
3792
|
-
updatedAt: _zod.z.coerce.date()
|
|
3793
|
-
});
|
|
3794
3807
|
var DocumentationPageAnchor = _zod.z.object({
|
|
3795
3808
|
blockId: _zod.z.string(),
|
|
3796
3809
|
level: _zod.z.number(),
|
|
3797
3810
|
text: _zod.z.string()
|
|
3798
3811
|
});
|
|
3812
|
+
var DocumentationPageContentBackup = _zod.z.object({
|
|
3813
|
+
id: _zod.z.string(),
|
|
3814
|
+
designSystemVersionId: _zod.z.string(),
|
|
3815
|
+
createdAt: _zod.z.coerce.date(),
|
|
3816
|
+
updatedAt: _zod.z.coerce.date(),
|
|
3817
|
+
documentationPageId: _zod.z.string(),
|
|
3818
|
+
documentationPageName: _zod.z.string(),
|
|
3819
|
+
storagePath: _zod.z.string()
|
|
3820
|
+
});
|
|
3799
3821
|
var DocumentationPageContentItem = _zod.z.discriminatedUnion("type", [
|
|
3800
3822
|
PageBlockEditorModelV2,
|
|
3801
3823
|
PageSectionEditorModelV2
|
|
@@ -3811,15 +3833,6 @@ var DocumentationPageContent = _zod.z.object({
|
|
|
3811
3833
|
documentationPageId: _zod.z.string(),
|
|
3812
3834
|
data: DocumentationPageContentData
|
|
3813
3835
|
});
|
|
3814
|
-
var DocumentationPageContentBackup = _zod.z.object({
|
|
3815
|
-
id: _zod.z.string(),
|
|
3816
|
-
designSystemVersionId: _zod.z.string(),
|
|
3817
|
-
createdAt: _zod.z.coerce.date(),
|
|
3818
|
-
updatedAt: _zod.z.coerce.date(),
|
|
3819
|
-
documentationPageId: _zod.z.string(),
|
|
3820
|
-
documentationPageName: _zod.z.string(),
|
|
3821
|
-
storagePath: _zod.z.string()
|
|
3822
|
-
});
|
|
3823
3836
|
var DocumentationPageDependencies = _zod.z.object({
|
|
3824
3837
|
id: _zod.z.string(),
|
|
3825
3838
|
designSystemVersionId: _zod.z.string(),
|
|
@@ -3835,6 +3848,20 @@ var DocumentationPageDependencies = _zod.z.object({
|
|
|
3835
3848
|
themePersistentIds: _zod.z.set(_zod.z.string()),
|
|
3836
3849
|
documentationPagePersistentIds: _zod.z.set(_zod.z.string())
|
|
3837
3850
|
});
|
|
3851
|
+
var DocumentationPage = _zod.z.object({
|
|
3852
|
+
type: _zod.z.literal("DocumentationPage"),
|
|
3853
|
+
id: _zod.z.string(),
|
|
3854
|
+
persistentId: _zod.z.string(),
|
|
3855
|
+
shortPersistentId: _zod.z.string(),
|
|
3856
|
+
designSystemVersionId: _zod.z.string(),
|
|
3857
|
+
parentPersistentId: _zod.z.string().nullish(),
|
|
3858
|
+
sortOrder: _zod.z.number(),
|
|
3859
|
+
title: _zod.z.string(),
|
|
3860
|
+
slug: _zod.z.string(),
|
|
3861
|
+
userSlug: _zod.z.string().nullish(),
|
|
3862
|
+
createdAt: _zod.z.coerce.date(),
|
|
3863
|
+
updatedAt: _zod.z.coerce.date()
|
|
3864
|
+
});
|
|
3838
3865
|
var PageRedirect = _zod.z.object({
|
|
3839
3866
|
id: _zod.z.string(),
|
|
3840
3867
|
pagePersistentId: _zod.z.string(),
|
|
@@ -5079,118 +5106,106 @@ var PersonalAccessToken = _zod.z.object({
|
|
|
5079
5106
|
});
|
|
5080
5107
|
|
|
5081
5108
|
// src/api/conversion/analytics/page-visits-to-dto.ts
|
|
5082
|
-
function
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
const
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5109
|
+
function documentationAnalyticsToGlobalDto(entries) {
|
|
5110
|
+
return squashAndConvertToDto(entries);
|
|
5111
|
+
}
|
|
5112
|
+
function documentationAnalyticsToPageDto(entries) {
|
|
5113
|
+
const byPageIdEntries = Array.from(groupBy(entries, (e) => e.pagePersistentId).entries());
|
|
5114
|
+
byPageIdEntries.sort((lhs, rhs) => lhs[0].localeCompare(rhs[0]));
|
|
5115
|
+
return byPageIdEntries.flatMap(([pagePersistentId, entries2]) => {
|
|
5116
|
+
const dtoWithoutPageId = squashAndConvertToDto(entries2);
|
|
5117
|
+
return dtoWithoutPageId.map((dto) => ({ ...dto, pagePersistentId }));
|
|
5118
|
+
});
|
|
5119
|
+
}
|
|
5120
|
+
function squashAndConvertToDto(entries) {
|
|
5121
|
+
const byDay = groupBy(entries, (e) => getStartOfUTCDay(e.timestamp));
|
|
5122
|
+
const obj = Object.fromEntries(
|
|
5123
|
+
Array.from(byDay.entries()).map(([date, values]) => [new Date(date).toISOString(), values.length])
|
|
5090
5124
|
);
|
|
5091
|
-
|
|
5092
|
-
const
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
const pageData2 = pageDataGroupedByPageId.get(id);
|
|
5104
|
-
if (!pageData2) {
|
|
5105
|
-
throw SupernovaException.shouldNotHappen();
|
|
5106
|
-
}
|
|
5107
|
-
const entry = pageData2[0];
|
|
5108
|
-
if (!entry) {
|
|
5109
|
-
throw SupernovaException.shouldNotHappen();
|
|
5110
|
-
}
|
|
5111
|
-
result.push({
|
|
5112
|
-
versionId: entry.versionId,
|
|
5113
|
-
pagePersistentId: entry.pagePersistentId,
|
|
5114
|
-
timestamp: entry.timestamp,
|
|
5115
|
-
visits: _nullishCoalesce(visitsPerPage.get(id), () => ( 0)),
|
|
5116
|
-
sessions: _nullishCoalesce(sessionsPerPage.get(id), () => ( 0)),
|
|
5117
|
-
locale: entry.locale
|
|
5118
|
-
});
|
|
5119
|
-
}
|
|
5120
|
-
}
|
|
5121
|
-
return result;
|
|
5125
|
+
return Array.from(byDay.entries()).map(([startOfDay, dayEntries]) => {
|
|
5126
|
+
const firstEntry = dayEntries[0];
|
|
5127
|
+
const uniqueSessions = new Set(dayEntries.map((e) => e.anonymousId).filter(nonNullFilter)).size;
|
|
5128
|
+
const visitsSum = dayEntries.reduce((prev, curr) => prev + curr.visits, 0);
|
|
5129
|
+
return {
|
|
5130
|
+
versionId: firstEntry.versionId,
|
|
5131
|
+
locale: firstEntry.locale,
|
|
5132
|
+
timestamp: new Date(startOfDay),
|
|
5133
|
+
sessions: uniqueSessions,
|
|
5134
|
+
visits: visitsSum
|
|
5135
|
+
};
|
|
5136
|
+
});
|
|
5122
5137
|
}
|
|
5123
|
-
function
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
priorIntervalSessions += v.sessions;
|
|
5129
|
-
}
|
|
5130
|
-
let currentIntervalVisits = 0;
|
|
5131
|
-
let currentIntervalSessions = 0;
|
|
5132
|
-
for (const v of currentIntervalData) {
|
|
5133
|
-
currentIntervalVisits += v.visits;
|
|
5134
|
-
currentIntervalSessions += v.sessions;
|
|
5135
|
-
}
|
|
5136
|
-
return {
|
|
5137
|
-
priorVisitCount: priorIntervalVisits,
|
|
5138
|
-
priorSessionCount: priorIntervalSessions,
|
|
5139
|
-
currentVisitCount: currentIntervalVisits,
|
|
5140
|
-
currentSessionCount: currentIntervalSessions,
|
|
5141
|
-
startDate: priorIntervalStartDate,
|
|
5142
|
-
endDate: priorIntervalEndDate
|
|
5143
|
-
};
|
|
5138
|
+
function getStartOfUTCDay(date) {
|
|
5139
|
+
const year = date.getUTCFullYear();
|
|
5140
|
+
const month = date.getUTCMonth();
|
|
5141
|
+
const day = date.getUTCDate();
|
|
5142
|
+
return Date.UTC(year, month, day, 0, 0, 0, 0);
|
|
5144
5143
|
}
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
const visitsPerPage = /* @__PURE__ */ new Map();
|
|
5152
|
-
const sessionsPerPage = /* @__PURE__ */ new Map();
|
|
5153
|
-
const uniqueSessions = /* @__PURE__ */ new Set();
|
|
5154
|
-
for (const entry of pageData) {
|
|
5155
|
-
const pageId = entry.pagePersistentId;
|
|
5156
|
-
const visits = entry.visits;
|
|
5157
|
-
const currentSessionIdsLength = uniqueSessions.size;
|
|
5158
|
-
if (!entry.anonymousId) {
|
|
5159
|
-
throw SupernovaException.shouldNotHappen();
|
|
5160
|
-
}
|
|
5161
|
-
uniqueSessions.add(entry.anonymousId);
|
|
5162
|
-
const newSessionIdsLength = uniqueSessions.size;
|
|
5163
|
-
if (newSessionIdsLength > currentSessionIdsLength) {
|
|
5164
|
-
sessionsPerPage.set(pageId, (_nullishCoalesce(sessionsPerPage.get(pageId), () => ( 0))) + 1);
|
|
5165
|
-
}
|
|
5166
|
-
visitsPerPage.set(pageId, (_nullishCoalesce(visitsPerPage.get(pageId), () => ( 0))) + visits);
|
|
5167
|
-
}
|
|
5144
|
+
|
|
5145
|
+
// src/api/conversion/analytics/page-visits-to-comparison-dto.ts
|
|
5146
|
+
function documentationAnalyticsToComparisonDto(input) {
|
|
5147
|
+
const { timeFrame } = input;
|
|
5148
|
+
const priorDataPoints = documentationAnalyticsToGlobalDto(input.priorDataPoints);
|
|
5149
|
+
const currentDataPoints = documentationAnalyticsToGlobalDto(input.currentDataPoints);
|
|
5168
5150
|
return {
|
|
5169
|
-
|
|
5170
|
-
|
|
5151
|
+
timeFrame,
|
|
5152
|
+
priorSessionCount: priorDataPoints.reduce((sum, d) => sum + d.sessions, 0),
|
|
5153
|
+
priorVisitCount: priorDataPoints.reduce((sum, d) => sum + d.visits, 0),
|
|
5154
|
+
currentSessionCount: currentDataPoints.reduce((sum, d) => sum + d.sessions, 0),
|
|
5155
|
+
currentVisitCount: currentDataPoints.reduce((sum, d) => sum + d.visits, 0)
|
|
5171
5156
|
};
|
|
5172
5157
|
}
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
const
|
|
5177
|
-
for (const entry of dataCopy) {
|
|
5178
|
-
if (!entry.anonymousId) {
|
|
5179
|
-
sessionLessResults.push({
|
|
5180
|
-
versionId: entry.versionId,
|
|
5181
|
-
pagePersistentId: entry.pagePersistentId,
|
|
5182
|
-
timestamp: entry.timestamp,
|
|
5183
|
-
visits: entry.visits,
|
|
5184
|
-
sessions: 0,
|
|
5185
|
-
locale: entry.locale
|
|
5186
|
-
});
|
|
5187
|
-
}
|
|
5188
|
-
}
|
|
5158
|
+
|
|
5159
|
+
// src/api/conversion/analytics/page-visits-to-heatmap-dto.ts
|
|
5160
|
+
function documentationAnalyticsToHeatMapDto(entries, timeFrame) {
|
|
5161
|
+
const byWeekDay = groupBy(entries, (e) => e.timestamp.getUTCDay());
|
|
5189
5162
|
return {
|
|
5190
|
-
|
|
5191
|
-
|
|
5163
|
+
timeFrame,
|
|
5164
|
+
mon: entriesToHeatmapDay(byWeekDay.get(1)),
|
|
5165
|
+
tue: entriesToHeatmapDay(byWeekDay.get(2)),
|
|
5166
|
+
wed: entriesToHeatmapDay(byWeekDay.get(3)),
|
|
5167
|
+
thu: entriesToHeatmapDay(byWeekDay.get(4)),
|
|
5168
|
+
fri: entriesToHeatmapDay(byWeekDay.get(5)),
|
|
5169
|
+
sat: entriesToHeatmapDay(byWeekDay.get(6)),
|
|
5170
|
+
sun: entriesToHeatmapDay(byWeekDay.get(7))
|
|
5192
5171
|
};
|
|
5193
5172
|
}
|
|
5173
|
+
function entriesToHeatmapDay(entries) {
|
|
5174
|
+
const byHour = groupBy(_nullishCoalesce(entries, () => ( [])), (e) => e.timestamp.getUTCHours());
|
|
5175
|
+
return [
|
|
5176
|
+
sumVisits(byHour.get(0), byHour.get(1)),
|
|
5177
|
+
// 0am-2am
|
|
5178
|
+
sumVisits(byHour.get(2), byHour.get(3)),
|
|
5179
|
+
// 2am-4am
|
|
5180
|
+
sumVisits(byHour.get(4), byHour.get(5)),
|
|
5181
|
+
// 4am-6am
|
|
5182
|
+
sumVisits(byHour.get(6), byHour.get(7)),
|
|
5183
|
+
// 6am-6am
|
|
5184
|
+
sumVisits(byHour.get(8), byHour.get(9)),
|
|
5185
|
+
// 8am-6am
|
|
5186
|
+
sumVisits(byHour.get(10), byHour.get(11)),
|
|
5187
|
+
// 10am-12pm
|
|
5188
|
+
sumVisits(byHour.get(12), byHour.get(13)),
|
|
5189
|
+
// 12pm-2pm
|
|
5190
|
+
sumVisits(byHour.get(14), byHour.get(15)),
|
|
5191
|
+
// 2pm-4pm
|
|
5192
|
+
sumVisits(byHour.get(16), byHour.get(17)),
|
|
5193
|
+
// 4pm-6pm
|
|
5194
|
+
sumVisits(byHour.get(18), byHour.get(19)),
|
|
5195
|
+
// 6pm-8pm
|
|
5196
|
+
sumVisits(byHour.get(20), byHour.get(21)),
|
|
5197
|
+
// 8pm-10pm
|
|
5198
|
+
sumVisits(byHour.get(22), byHour.get(23))
|
|
5199
|
+
// 10pm-12pm
|
|
5200
|
+
];
|
|
5201
|
+
}
|
|
5202
|
+
function sumVisits(...entryArrays) {
|
|
5203
|
+
let sum = 0;
|
|
5204
|
+
entryArrays.forEach((a) => {
|
|
5205
|
+
_optionalChain([a, 'optionalAccess', _6 => _6.forEach, 'call', _7 => _7((e) => sum += e.visits)]);
|
|
5206
|
+
});
|
|
5207
|
+
return sum;
|
|
5208
|
+
}
|
|
5194
5209
|
|
|
5195
5210
|
// src/api/conversion/documentation/documentation-item-configuration-v1-to-dto.ts
|
|
5196
5211
|
var getDtoDefaultItemConfigurationV1 = () => ({
|
|
@@ -5258,7 +5273,7 @@ function calculateElementParentChain(elementParentPersistentId, groupPersistentI
|
|
|
5258
5273
|
while (parentId) {
|
|
5259
5274
|
const parent = groupPersistentIdToGroupMap.get(parentId);
|
|
5260
5275
|
if (parent) result.push(parent);
|
|
5261
|
-
parentId = _optionalChain([parent, 'optionalAccess',
|
|
5276
|
+
parentId = _optionalChain([parent, 'optionalAccess', _8 => _8.parentPersistentId]);
|
|
5262
5277
|
}
|
|
5263
5278
|
return result;
|
|
5264
5279
|
}
|
|
@@ -5267,7 +5282,7 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
|
|
|
5267
5282
|
...group,
|
|
5268
5283
|
data: {
|
|
5269
5284
|
...group.data,
|
|
5270
|
-
configuration: _nullishCoalesce(_optionalChain([group, 'access',
|
|
5285
|
+
configuration: _nullishCoalesce(_optionalChain([group, 'access', _9 => _9.data, 'optionalAccess', _10 => _10.configuration]), () => ( getDefaultItemConfiguration()))
|
|
5271
5286
|
}
|
|
5272
5287
|
}));
|
|
5273
5288
|
const groupPersistentIdToGroupMap = mapByUnique(fixedGroups, (group) => group.persistentId);
|
|
@@ -5278,8 +5293,8 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
|
|
|
5278
5293
|
while ((!isHidden || !isPrivate) && nextParentId) {
|
|
5279
5294
|
const parent = groupPersistentIdToGroupMap.get(nextParentId);
|
|
5280
5295
|
if (!parent) break;
|
|
5281
|
-
isHidden = isHidden || _optionalChain([parent, 'access',
|
|
5282
|
-
isPrivate = isPrivate || _optionalChain([parent, 'access',
|
|
5296
|
+
isHidden = isHidden || _optionalChain([parent, 'access', _11 => _11.data, 'optionalAccess', _12 => _12.configuration, 'optionalAccess', _13 => _13.isHidden]) || false;
|
|
5297
|
+
isPrivate = isPrivate || _optionalChain([parent, 'access', _14 => _14.data, 'optionalAccess', _15 => _15.configuration, 'optionalAccess', _16 => _16.isPrivate]) || false;
|
|
5283
5298
|
nextParentId = parent.parentPersistentId;
|
|
5284
5299
|
}
|
|
5285
5300
|
groupToFix.data.configuration.isHidden = isHidden;
|
|
@@ -5287,7 +5302,7 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
|
|
|
5287
5302
|
}
|
|
5288
5303
|
const fixedPages = [];
|
|
5289
5304
|
for (const page of pages) {
|
|
5290
|
-
const configuration = _nullishCoalesce(_optionalChain([page, 'access',
|
|
5305
|
+
const configuration = _nullishCoalesce(_optionalChain([page, 'access', _17 => _17.data, 'optionalAccess', _18 => _18.configuration]), () => ( getDefaultItemConfiguration()));
|
|
5291
5306
|
const parent = groupPersistentIdToGroupMap.get(page.parentPersistentId);
|
|
5292
5307
|
fixedPages.push({
|
|
5293
5308
|
...page,
|
|
@@ -5295,8 +5310,8 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
|
|
|
5295
5310
|
...page.data,
|
|
5296
5311
|
configuration: {
|
|
5297
5312
|
...configuration,
|
|
5298
|
-
isHidden: configuration.isHidden || _optionalChain([parent, 'optionalAccess',
|
|
5299
|
-
isPrivate: configuration.isPrivate || _optionalChain([parent, 'optionalAccess',
|
|
5313
|
+
isHidden: configuration.isHidden || _optionalChain([parent, 'optionalAccess', _19 => _19.data, 'optionalAccess', _20 => _20.configuration, 'optionalAccess', _21 => _21.isHidden]) || false,
|
|
5314
|
+
isPrivate: configuration.isPrivate || _optionalChain([parent, 'optionalAccess', _22 => _22.data, 'optionalAccess', _23 => _23.configuration, 'optionalAccess', _24 => _24.isPrivate]) || false
|
|
5300
5315
|
}
|
|
5301
5316
|
}
|
|
5302
5317
|
});
|
|
@@ -5314,7 +5329,7 @@ function elementGroupsToDocumentationGroupDTOV1(groups, pages) {
|
|
|
5314
5329
|
return groups.map((group) => {
|
|
5315
5330
|
return {
|
|
5316
5331
|
...elementGroupToDocumentationGroupStructureDTOV1(group, childrenIdsMap),
|
|
5317
|
-
configuration: documentationItemConfigurationToDTOV1(_optionalChain([group, 'access',
|
|
5332
|
+
configuration: documentationItemConfigurationToDTOV1(_optionalChain([group, 'access', _25 => _25.data, 'optionalAccess', _26 => _26.configuration]))
|
|
5318
5333
|
};
|
|
5319
5334
|
});
|
|
5320
5335
|
}
|
|
@@ -5322,7 +5337,7 @@ function elementGroupsToDocumentationGroupFixedConfigurationDTOV1(groups, pages)
|
|
|
5322
5337
|
const childrenIdsMap = calculateChildrenIdsMapV1(pages, groups);
|
|
5323
5338
|
const { groups: fixedGroups } = applyPrivacyConfigurationToNestedItems(pages, groups, getDtoDefaultItemConfigurationV1);
|
|
5324
5339
|
return fixedGroups.map((group) => {
|
|
5325
|
-
const configuration = documentationItemConfigurationToDTOV1(_optionalChain([group, 'access',
|
|
5340
|
+
const configuration = documentationItemConfigurationToDTOV1(_optionalChain([group, 'access', _27 => _27.data, 'optionalAccess', _28 => _28.configuration]));
|
|
5326
5341
|
return {
|
|
5327
5342
|
...elementGroupToDocumentationGroupStructureDTOV1(group, childrenIdsMap),
|
|
5328
5343
|
// backward compatibility with custom doc exporters, anyway these groups will not be shown, so we can adjust title
|
|
@@ -5347,7 +5362,7 @@ function elementGroupToDocumentationGroupStructureDTOV1(group, childrenIdsMap) {
|
|
|
5347
5362
|
title: group.meta.name,
|
|
5348
5363
|
childrenIds,
|
|
5349
5364
|
isRoot: !group.parentPersistentId,
|
|
5350
|
-
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access',
|
|
5365
|
+
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access', _29 => _29.data, 'optionalAccess', _30 => _30.behavior]), () => ( "Group")),
|
|
5351
5366
|
shortPersistentId: group.shortPersistentId,
|
|
5352
5367
|
type: "Group"
|
|
5353
5368
|
};
|
|
@@ -5414,10 +5429,10 @@ function elementGroupToDocumentationGroupStructureDTOV2(group, childrenIdsMap) {
|
|
|
5414
5429
|
createdAt: group.createdAt,
|
|
5415
5430
|
updatedAt: group.updatedAt,
|
|
5416
5431
|
title: group.meta.name,
|
|
5417
|
-
configuration: documentationItemConfigurationToDTOV2(_optionalChain([group, 'optionalAccess',
|
|
5432
|
+
configuration: documentationItemConfigurationToDTOV2(_optionalChain([group, 'optionalAccess', _31 => _31.data, 'optionalAccess', _32 => _32.configuration])),
|
|
5418
5433
|
childrenIds,
|
|
5419
5434
|
isRoot: !group.parentPersistentId,
|
|
5420
|
-
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access',
|
|
5435
|
+
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access', _33 => _33.data, 'optionalAccess', _34 => _34.behavior]), () => ( "Group")),
|
|
5421
5436
|
shortPersistentId: group.shortPersistentId,
|
|
5422
5437
|
type: "Group"
|
|
5423
5438
|
};
|
|
@@ -5570,7 +5585,7 @@ function integrationToDto(integration) {
|
|
|
5570
5585
|
workspaceId: integration.workspaceId,
|
|
5571
5586
|
type: integration.type,
|
|
5572
5587
|
createdAt: integration.createdAt,
|
|
5573
|
-
integrationCredentials: _optionalChain([integration, 'access',
|
|
5588
|
+
integrationCredentials: _optionalChain([integration, 'access', _35 => _35.integrationCredentials, 'optionalAccess', _36 => _36.map, 'call', _37 => _37(integrationCredentialToDto)]),
|
|
5574
5589
|
integrationDesignSystems: _nullishCoalesce(integration.integrationDesignSystems, () => ( void 0))
|
|
5575
5590
|
};
|
|
5576
5591
|
}
|
|
@@ -5640,16 +5655,11 @@ var DTOBrandUpdatePayload = _zod.z.object({
|
|
|
5640
5655
|
|
|
5641
5656
|
// src/api/dto/design-systems/code-component.ts
|
|
5642
5657
|
|
|
5658
|
+
var DTOCodeComponentResolvedTypeKind = CodeComponentResolvedTypeKind;
|
|
5659
|
+
var DTOCodeComponentResolvedType = CodeComponentResolvedType;
|
|
5660
|
+
var DTOCodeComponentParentType = CodeComponentParentType;
|
|
5643
5661
|
var DTOCodeComponentProperty = CodeComponentProperty;
|
|
5644
|
-
var DTOCodeComponent =
|
|
5645
|
-
id: _zod.z.string(),
|
|
5646
|
-
designSystemVersionId: _zod.z.string(),
|
|
5647
|
-
persistentId: _zod.z.string(),
|
|
5648
|
-
createdAt: _zod.z.coerce.date(),
|
|
5649
|
-
updatedAt: _zod.z.coerce.date(),
|
|
5650
|
-
exportName: _zod.z.string(),
|
|
5651
|
-
properties: _zod.z.record(_zod.z.string(), DTOCodeComponentProperty)
|
|
5652
|
-
});
|
|
5662
|
+
var DTOCodeComponent = CodeComponent;
|
|
5653
5663
|
var DTOCodeComponentResponse = _zod.z.object({
|
|
5654
5664
|
codeComponent: DTOCodeComponent
|
|
5655
5665
|
});
|
|
@@ -5659,11 +5669,15 @@ var DTOCodeComponentListResponse = _zod.z.object({
|
|
|
5659
5669
|
var DTOCodeComponentCreateInput = _zod.z.object({
|
|
5660
5670
|
persistentId: _zod.z.string(),
|
|
5661
5671
|
exportName: _zod.z.string(),
|
|
5662
|
-
|
|
5672
|
+
componentPath: _zod.z.string(),
|
|
5673
|
+
description: _zod.z.string(),
|
|
5674
|
+
properties: _zod.z.record(_zod.z.string(), DTOCodeComponentProperty),
|
|
5675
|
+
tags: _zod.z.record(_zod.z.string(), _zod.z.string()).optional()
|
|
5663
5676
|
});
|
|
5664
5677
|
var DTOCodeComponentsCreateInput = _zod.z.object({
|
|
5665
5678
|
codeComponents: DTOCodeComponentCreateInput.array()
|
|
5666
5679
|
});
|
|
5680
|
+
var DTOCodeComponentUpsertResponse = CodeComponentUpsertResponse;
|
|
5667
5681
|
|
|
5668
5682
|
// src/api/dto/design-systems/component.ts
|
|
5669
5683
|
|
|
@@ -6232,17 +6246,15 @@ var DTOUpdateVersionInput = _zod.z.object({
|
|
|
6232
6246
|
|
|
6233
6247
|
// src/api/payloads/documentation/analytics.ts
|
|
6234
6248
|
|
|
6235
|
-
var DTODocumentationAnalyticsTimeFrame = _zod.z.object({
|
|
6236
|
-
start: _zod.z.coerce.date(),
|
|
6237
|
-
end: _zod.z.coerce.date()
|
|
6238
|
-
});
|
|
6239
|
-
var DTODocumentationAnalyticsQueryParams = _zod.z.object({
|
|
6240
|
-
start: _zod.z.coerce.date(),
|
|
6241
|
-
end: _zod.z.coerce.date().optional()
|
|
6242
|
-
});
|
|
6243
6249
|
var DTODocumentationAnalyticsTimeFrameComparison = _zod.z.object({
|
|
6244
|
-
referencePeriod:
|
|
6245
|
-
|
|
6250
|
+
referencePeriod: _zod.z.object({
|
|
6251
|
+
start: _zod.z.coerce.date(),
|
|
6252
|
+
end: _zod.z.coerce.date().optional()
|
|
6253
|
+
}),
|
|
6254
|
+
baselinePeriod: _zod.z.object({
|
|
6255
|
+
start: _zod.z.coerce.date(),
|
|
6256
|
+
end: _zod.z.coerce.date().optional()
|
|
6257
|
+
})
|
|
6246
6258
|
});
|
|
6247
6259
|
var DTODocumentationAnalyticsDiffPayload = _zod.z.object({
|
|
6248
6260
|
timeFrames: _zod.z.array(DTODocumentationAnalyticsTimeFrameComparison)
|
|
@@ -6806,27 +6818,76 @@ var DTODesignTokenGroupCreatePayload = _zod.z.object({
|
|
|
6806
6818
|
childrenIds: _zod.z.string().array()
|
|
6807
6819
|
});
|
|
6808
6820
|
|
|
6809
|
-
// src/api/dto/documentation/analytics.ts
|
|
6821
|
+
// src/api/dto/documentation/analytics-v2.ts
|
|
6810
6822
|
|
|
6811
|
-
var
|
|
6823
|
+
var DTODocumentationAnalyticsTimeFrame = _zod.z.object({
|
|
6824
|
+
start: _zod.z.coerce.date(),
|
|
6825
|
+
end: _zod.z.coerce.date().optional()
|
|
6826
|
+
});
|
|
6827
|
+
var DTOPublishedDocVisitData = _zod.z.object({
|
|
6828
|
+
timestamp: _zod.z.coerce.date(),
|
|
6812
6829
|
versionId: _zod.z.string(),
|
|
6813
|
-
pagePersistentId: _zod.z.string(),
|
|
6814
6830
|
locale: _zod.z.string().optional(),
|
|
6815
|
-
timestamp: _zod.z.coerce.date(),
|
|
6816
6831
|
visits: _zod.z.number(),
|
|
6817
6832
|
sessions: _zod.z.number()
|
|
6818
6833
|
});
|
|
6834
|
+
var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
|
|
6835
|
+
pagePersistentId: _zod.z.string()
|
|
6836
|
+
});
|
|
6837
|
+
var DTOPublishedDocVisitHeatMapDay = _zod.z.number().array().length(12);
|
|
6838
|
+
var DTOPublishedDocVisitHeatMapWeek = _zod.z.object({
|
|
6839
|
+
/**
|
|
6840
|
+
* For which timeframe it was calculated
|
|
6841
|
+
*/
|
|
6842
|
+
timeFrame: DTODocumentationAnalyticsTimeFrame,
|
|
6843
|
+
mon: DTOPublishedDocVisitHeatMapDay,
|
|
6844
|
+
tue: DTOPublishedDocVisitHeatMapDay,
|
|
6845
|
+
wed: DTOPublishedDocVisitHeatMapDay,
|
|
6846
|
+
thu: DTOPublishedDocVisitHeatMapDay,
|
|
6847
|
+
fri: DTOPublishedDocVisitHeatMapDay,
|
|
6848
|
+
sat: DTOPublishedDocVisitHeatMapDay,
|
|
6849
|
+
sun: DTOPublishedDocVisitHeatMapDay
|
|
6850
|
+
});
|
|
6851
|
+
var DTOPubishedDocAnalyticsComparisonData = _zod.z.object({
|
|
6852
|
+
/**
|
|
6853
|
+
* For which timeframe it was calculated
|
|
6854
|
+
*/
|
|
6855
|
+
timeFrame: DTODocumentationAnalyticsTimeFrame,
|
|
6856
|
+
priorVisitCount: _zod.z.number(),
|
|
6857
|
+
priorSessionCount: _zod.z.number(),
|
|
6858
|
+
currentVisitCount: _zod.z.number(),
|
|
6859
|
+
currentSessionCount: _zod.z.number()
|
|
6860
|
+
});
|
|
6861
|
+
var DTODocumentationPageAnalyticsResponse = _zod.z.object({
|
|
6862
|
+
// Old
|
|
6863
|
+
/**
|
|
6864
|
+
* @deprecated
|
|
6865
|
+
*/
|
|
6866
|
+
analytics: _zod.z.array(DTOPublishedDocPageVisitData),
|
|
6867
|
+
/**
|
|
6868
|
+
* @deprecated
|
|
6869
|
+
*/
|
|
6870
|
+
perPageAnalytics: DTOPublishedDocPageVisitData.array(),
|
|
6871
|
+
// New
|
|
6872
|
+
globalAnalytics: DTOPublishedDocVisitData.array(),
|
|
6873
|
+
pageAnalytics: DTOPublishedDocPageVisitData.array(),
|
|
6874
|
+
heatMapData: DTOPublishedDocVisitHeatMapWeek.array(),
|
|
6875
|
+
comparisonData: DTOPubishedDocAnalyticsComparisonData.array()
|
|
6876
|
+
});
|
|
6877
|
+
var DTODocumentationAnalyticsRequest = _zod.z.object({
|
|
6878
|
+
timeFrames: _zod.z.array(DTODocumentationAnalyticsTimeFrame)
|
|
6879
|
+
});
|
|
6880
|
+
|
|
6881
|
+
// src/api/dto/documentation/analytics.ts
|
|
6882
|
+
|
|
6819
6883
|
var DTODocumentationPageAnalyticsDifference = _zod.z.object({
|
|
6820
6884
|
startDate: _zod.z.coerce.date(),
|
|
6821
|
-
endDate: _zod.z.coerce.date(),
|
|
6885
|
+
endDate: _zod.z.coerce.date().optional(),
|
|
6822
6886
|
currentVisitCount: _zod.z.number(),
|
|
6823
6887
|
currentSessionCount: _zod.z.number(),
|
|
6824
6888
|
priorVisitCount: _zod.z.number(),
|
|
6825
6889
|
priorSessionCount: _zod.z.number()
|
|
6826
6890
|
});
|
|
6827
|
-
var DTODocumentationPageAnalyticsResponse = _zod.z.object({
|
|
6828
|
-
analytics: _zod.z.array(DTOPublishedDocPageVisitData)
|
|
6829
|
-
});
|
|
6830
6891
|
var DTODocumentationPageIntervalDifferenceResponse = _zod.z.object({
|
|
6831
6892
|
differences: _zod.z.array(DTODocumentationPageAnalyticsDifference)
|
|
6832
6893
|
});
|
|
@@ -8302,7 +8363,7 @@ var CodeComponentsEndpoint = class {
|
|
|
8302
8363
|
async import(dsId, vId, body) {
|
|
8303
8364
|
return this.requestExecutor.json(
|
|
8304
8365
|
`/design-systems/${dsId}/versions/${vId}/code-components`,
|
|
8305
|
-
|
|
8366
|
+
DTOCodeComponentUpsertResponse,
|
|
8306
8367
|
{
|
|
8307
8368
|
body,
|
|
8308
8369
|
method: "POST"
|
|
@@ -8743,17 +8804,11 @@ var DesignSystemAnalyticsEndpoint = class {
|
|
|
8743
8804
|
constructor(requestExecutor) {
|
|
8744
8805
|
this.requestExecutor = requestExecutor;
|
|
8745
8806
|
}
|
|
8746
|
-
get(designSystemId, versionId,
|
|
8807
|
+
get(designSystemId, versionId, body) {
|
|
8747
8808
|
return this.requestExecutor.json(
|
|
8748
8809
|
`/design-systems/${designSystemId}/versions/${versionId}/documentation/analytics`,
|
|
8749
8810
|
DTODocumentationPageAnalyticsResponse,
|
|
8750
|
-
{
|
|
8751
|
-
method: "GET",
|
|
8752
|
-
query: new URLSearchParams({
|
|
8753
|
-
start: query.start.toISOString(),
|
|
8754
|
-
...query.end && { end: query.end.toISOString() }
|
|
8755
|
-
})
|
|
8756
|
-
}
|
|
8811
|
+
{ method: "POST", body }
|
|
8757
8812
|
);
|
|
8758
8813
|
}
|
|
8759
8814
|
};
|
|
@@ -9207,7 +9262,7 @@ var RequestExecutor = class {
|
|
|
9207
9262
|
}
|
|
9208
9263
|
fullUrl(path, query) {
|
|
9209
9264
|
let url = `https://${this.testServerConfig.host}/api/v2${path}`;
|
|
9210
|
-
const queryString = _optionalChain([query, 'optionalAccess',
|
|
9265
|
+
const queryString = _optionalChain([query, 'optionalAccess', _38 => _38.toString, 'call', _39 => _39()]);
|
|
9211
9266
|
if (queryString) url += `?${queryString}`;
|
|
9212
9267
|
return url;
|
|
9213
9268
|
}
|
|
@@ -9537,7 +9592,7 @@ function buildPageDraftCreatedAndUpdatedStates(pages, pageSnapshots, pageHashes,
|
|
|
9537
9592
|
if (snapshot) {
|
|
9538
9593
|
publishedState = itemStateFromPage(snapshot.page, snapshot.pageContentHash);
|
|
9539
9594
|
}
|
|
9540
|
-
const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess',
|
|
9595
|
+
const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess', _40 => _40.pageContentHash]))), () => ( ""));
|
|
9541
9596
|
const currentState = itemStateFromPage(page, currentPageContentHash);
|
|
9542
9597
|
const draftState = createDraftState(page.persistentId, currentState, publishedState, debug);
|
|
9543
9598
|
if (draftState) result.set(page.persistentId, draftState);
|
|
@@ -9670,7 +9725,7 @@ function buildGroupDraftCreatedAndUpdatedStates(groups, groupSnapshots, debug) {
|
|
|
9670
9725
|
function itemStateFromGroup(group) {
|
|
9671
9726
|
return {
|
|
9672
9727
|
title: group.meta.name,
|
|
9673
|
-
configuration: _nullishCoalesce(_optionalChain([group, 'access',
|
|
9728
|
+
configuration: _nullishCoalesce(_optionalChain([group, 'access', _41 => _41.data, 'optionalAccess', _42 => _42.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
|
|
9674
9729
|
contentHash: "-"
|
|
9675
9730
|
};
|
|
9676
9731
|
}
|
|
@@ -9831,7 +9886,7 @@ var DTODocumentationPageRoomHeaderDataUpdate = _zod.z.object({
|
|
|
9831
9886
|
function itemConfigurationToYjs(yDoc, item) {
|
|
9832
9887
|
yDoc.transact((trx) => {
|
|
9833
9888
|
const { title, configuration } = item;
|
|
9834
|
-
const header = _optionalChain([configuration, 'optionalAccess',
|
|
9889
|
+
const header = _optionalChain([configuration, 'optionalAccess', _43 => _43.header]);
|
|
9835
9890
|
if (title !== void 0) {
|
|
9836
9891
|
const headerYMap = trx.doc.getMap("itemTitle");
|
|
9837
9892
|
headerYMap.set("title", title);
|
|
@@ -9849,9 +9904,9 @@ function itemConfigurationToYjs(yDoc, item) {
|
|
|
9849
9904
|
header.minHeight !== void 0 && headerYMap.set("minHeight", header.minHeight);
|
|
9850
9905
|
}
|
|
9851
9906
|
const configYMap = trx.doc.getMap("itemConfiguration");
|
|
9852
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
9853
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
9854
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
9907
|
+
_optionalChain([configuration, 'optionalAccess', _44 => _44.showSidebar]) !== void 0 && configYMap.set("showSidebar", configuration.showSidebar);
|
|
9908
|
+
_optionalChain([configuration, 'optionalAccess', _45 => _45.isHidden]) !== void 0 && configYMap.set("isHidden", configuration.isHidden);
|
|
9909
|
+
_optionalChain([configuration, 'optionalAccess', _46 => _46.isPrivate]) !== void 0 && configYMap.set("isPrivate", configuration.isPrivate);
|
|
9855
9910
|
});
|
|
9856
9911
|
}
|
|
9857
9912
|
function yjsToItemConfiguration(yDoc) {
|
|
@@ -10701,7 +10756,7 @@ var ListTreeBuilder = class {
|
|
|
10701
10756
|
}
|
|
10702
10757
|
addWithProperty(block, multiRichTextProperty) {
|
|
10703
10758
|
const parsedOptions = PageBlockDefinitionMutiRichTextOptions.optional().parse(multiRichTextProperty.options);
|
|
10704
|
-
return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess',
|
|
10759
|
+
return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess', _47 => _47.multiRichTextStyle]) || "OL");
|
|
10705
10760
|
}
|
|
10706
10761
|
add(block, multiRichTextPropertyId, multiRichTextPropertyStyle) {
|
|
10707
10762
|
const list = this.createList(block, multiRichTextPropertyId, multiRichTextPropertyStyle);
|
|
@@ -10716,7 +10771,7 @@ var ListTreeBuilder = class {
|
|
|
10716
10771
|
}
|
|
10717
10772
|
const listParent = this.getParentOfDepth(block.data.indentLevel);
|
|
10718
10773
|
const lastChild = listParent.children[listParent.children.length - 1];
|
|
10719
|
-
if (_optionalChain([lastChild, 'optionalAccess',
|
|
10774
|
+
if (_optionalChain([lastChild, 'optionalAccess', _48 => _48.type]) === "List") {
|
|
10720
10775
|
lastChild.children.push(...list.leadingChildren);
|
|
10721
10776
|
return;
|
|
10722
10777
|
} else {
|
|
@@ -10945,7 +11000,7 @@ function serializeAsRichTextBlock(input) {
|
|
|
10945
11000
|
const textPropertyValue = BlockParsingUtils.richTextPropertyValue(blockItem, richTextProperty.id);
|
|
10946
11001
|
const enrichedInput = { ...input, richTextPropertyValue: textPropertyValue };
|
|
10947
11002
|
const parsedOptions = PageBlockDefinitionRichTextOptions.optional().parse(richTextProperty.options);
|
|
10948
|
-
const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess',
|
|
11003
|
+
const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess', _49 => _49.richTextStyle]), () => ( "Default"));
|
|
10949
11004
|
switch (style) {
|
|
10950
11005
|
case "Callout":
|
|
10951
11006
|
return serializeAsCallout(enrichedInput);
|
|
@@ -11169,7 +11224,7 @@ function serializeBlockNodeAttributes(block) {
|
|
|
11169
11224
|
};
|
|
11170
11225
|
}
|
|
11171
11226
|
function richTextHeadingLevel(property) {
|
|
11172
|
-
const style = _optionalChain([property, 'access',
|
|
11227
|
+
const style = _optionalChain([property, 'access', _50 => _50.options, 'optionalAccess', _51 => _51.richTextStyle]);
|
|
11173
11228
|
if (!style) return void 0;
|
|
11174
11229
|
switch (style) {
|
|
11175
11230
|
case "Title1":
|
|
@@ -11288,7 +11343,7 @@ function serializeAsCustomBlock(block, definition) {
|
|
|
11288
11343
|
linksTo: i.linksTo
|
|
11289
11344
|
};
|
|
11290
11345
|
});
|
|
11291
|
-
const columns = _optionalChain([block, 'access',
|
|
11346
|
+
const columns = _optionalChain([block, 'access', _52 => _52.data, 'access', _53 => _53.appearance, 'optionalAccess', _54 => _54.numberOfColumns]);
|
|
11292
11347
|
return {
|
|
11293
11348
|
type: serializeCustomBlockNodeType(block, definition),
|
|
11294
11349
|
attrs: {
|
|
@@ -12303,23 +12358,68 @@ var blocks = [
|
|
|
12303
12358
|
id: "embed",
|
|
12304
12359
|
name: "Storybook URL",
|
|
12305
12360
|
type: "Storybook",
|
|
12306
|
-
options: {
|
|
12361
|
+
options: {
|
|
12362
|
+
allowCaption: true,
|
|
12363
|
+
allowResize: true,
|
|
12364
|
+
defaultHeight: 400,
|
|
12365
|
+
renderLayoutAs: "Iframe"
|
|
12366
|
+
},
|
|
12367
|
+
variantOptions: {
|
|
12368
|
+
playground: {
|
|
12369
|
+
renderLayoutAs: "Playground",
|
|
12370
|
+
defaultHeight: 400,
|
|
12371
|
+
allowResize: true
|
|
12372
|
+
}
|
|
12373
|
+
}
|
|
12307
12374
|
}
|
|
12308
12375
|
],
|
|
12309
|
-
appearance: {
|
|
12376
|
+
appearance: {
|
|
12377
|
+
isBordered: true,
|
|
12378
|
+
hasBackground: false
|
|
12379
|
+
},
|
|
12310
12380
|
variants: [
|
|
12381
|
+
{
|
|
12382
|
+
id: "playground",
|
|
12383
|
+
name: "Playground",
|
|
12384
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/storybook-playground.svg",
|
|
12385
|
+
description: "Embed a Storybook story with a preview of the component and controls to adjust the props.",
|
|
12386
|
+
layout: {
|
|
12387
|
+
type: "Column",
|
|
12388
|
+
children: ["embed"],
|
|
12389
|
+
columnAlign: "Start",
|
|
12390
|
+
columnResizing: "Fill",
|
|
12391
|
+
gap: "Medium"
|
|
12392
|
+
},
|
|
12393
|
+
maxColumns: 1,
|
|
12394
|
+
defaultColumns: 1,
|
|
12395
|
+
appearance: {}
|
|
12396
|
+
},
|
|
12311
12397
|
{
|
|
12312
12398
|
id: "default",
|
|
12313
|
-
name: "
|
|
12314
|
-
|
|
12399
|
+
name: "HTML iframe",
|
|
12400
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/storybook-iframe.svg",
|
|
12401
|
+
description: "Embed a Storybook story in an iframe.",
|
|
12402
|
+
layout: {
|
|
12403
|
+
type: "Column",
|
|
12404
|
+
children: ["embed"],
|
|
12405
|
+
columnAlign: "Start",
|
|
12406
|
+
columnResizing: "Fill",
|
|
12407
|
+
gap: "Medium"
|
|
12408
|
+
},
|
|
12315
12409
|
maxColumns: 1,
|
|
12316
12410
|
defaultColumns: 1,
|
|
12317
12411
|
appearance: {}
|
|
12318
12412
|
}
|
|
12319
12413
|
],
|
|
12320
|
-
defaultVariantKey: "
|
|
12414
|
+
defaultVariantKey: "playground"
|
|
12415
|
+
},
|
|
12416
|
+
behavior: {
|
|
12417
|
+
dataType: "Item",
|
|
12418
|
+
items: {
|
|
12419
|
+
numberOfItems: 1,
|
|
12420
|
+
allowLinks: false
|
|
12421
|
+
}
|
|
12321
12422
|
},
|
|
12322
|
-
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
12323
12423
|
editorOptions: {
|
|
12324
12424
|
onboarding: {
|
|
12325
12425
|
helpText: "Embed a Storybook story to your documentation.",
|
|
@@ -13455,7 +13555,7 @@ function shallowProsemirrorNodeToBlock(prosemirrorNode, definition) {
|
|
|
13455
13555
|
}
|
|
13456
13556
|
function prosemirrorDocToRichTextPropertyValue(prosemirrorNode) {
|
|
13457
13557
|
return {
|
|
13458
|
-
value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map((n) => prosemirrorNodeToRichTextEditorPropertyNode(n)).filter(
|
|
13558
|
+
value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map((n) => prosemirrorNodeToRichTextEditorPropertyNode(n)).filter(nonNullFilter2)
|
|
13459
13559
|
};
|
|
13460
13560
|
}
|
|
13461
13561
|
function prosemirrorNodeToRichTextEditorPropertyNode(prosemirrorNode) {
|
|
@@ -13479,12 +13579,12 @@ function parseAsListNode(prosemirrorNode) {
|
|
|
13479
13579
|
return {
|
|
13480
13580
|
type: "List",
|
|
13481
13581
|
listType: prosemirrorNode.type === "orderedList" ? "OL" : "UL",
|
|
13482
|
-
value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map(parseAsListNodeItem).filter(
|
|
13582
|
+
value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map(parseAsListNodeItem).filter(nonNullFilter2)
|
|
13483
13583
|
};
|
|
13484
13584
|
}
|
|
13485
13585
|
function parseAsListNodeItem(prosemirrorNode) {
|
|
13486
13586
|
if (prosemirrorNode.type !== "listItem") return null;
|
|
13487
|
-
const firstChild = _optionalChain([prosemirrorNode, 'access',
|
|
13587
|
+
const firstChild = _optionalChain([prosemirrorNode, 'access', _55 => _55.content, 'optionalAccess', _56 => _56[0]]);
|
|
13488
13588
|
if (!firstChild || firstChild.type !== "paragraph") return null;
|
|
13489
13589
|
return parseRichText(_nullishCoalesce(firstChild.content, () => ( [])));
|
|
13490
13590
|
}
|
|
@@ -13504,7 +13604,7 @@ function internalProsemirrorNodeToSection(prosemirrorNode, definitionsMap) {
|
|
|
13504
13604
|
contentExpandToEdges: true,
|
|
13505
13605
|
expandToEdges: true
|
|
13506
13606
|
},
|
|
13507
|
-
items: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).filter((c) => c.type === "sectionItem").map((c) => prosemirrorNodeToSectionItem(c, definitionsMap)).filter(
|
|
13607
|
+
items: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).filter((c) => c.type === "sectionItem").map((c) => prosemirrorNodeToSectionItem(c, definitionsMap)).filter(nonNullFilter2)
|
|
13508
13608
|
};
|
|
13509
13609
|
}
|
|
13510
13610
|
function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
|
|
@@ -13513,7 +13613,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
|
|
|
13513
13613
|
return {
|
|
13514
13614
|
id,
|
|
13515
13615
|
title: _nullishCoalesce(getProsemirrorAttribute(prosemirrorNode, "title", _zod.z.string()), () => ( "")),
|
|
13516
|
-
columns: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(
|
|
13616
|
+
columns: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter2)
|
|
13517
13617
|
};
|
|
13518
13618
|
}
|
|
13519
13619
|
function prosemirrorNodeToSectionColumns(prosemirrorNode, definitionsMap) {
|
|
@@ -13632,9 +13732,9 @@ function parseAsMultiRichText(prosemirrorNode, definition, property, definitions
|
|
|
13632
13732
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
13633
13733
|
const result = [];
|
|
13634
13734
|
const listItems = [];
|
|
13635
|
-
_optionalChain([prosemirrorNode, 'access',
|
|
13735
|
+
_optionalChain([prosemirrorNode, 'access', _57 => _57.content, 'optionalAccess', _58 => _58.forEach, 'call', _59 => _59((c) => {
|
|
13636
13736
|
if (c.type !== "listItem") return;
|
|
13637
|
-
_optionalChain([c, 'access',
|
|
13737
|
+
_optionalChain([c, 'access', _60 => _60.content, 'optionalAccess', _61 => _61.forEach, 'call', _62 => _62((cc) => {
|
|
13638
13738
|
listItems.push(cc);
|
|
13639
13739
|
})]);
|
|
13640
13740
|
})]);
|
|
@@ -13678,7 +13778,7 @@ function parseAsMultiRichText(prosemirrorNode, definition, property, definitions
|
|
|
13678
13778
|
}
|
|
13679
13779
|
function parseRichText(spans) {
|
|
13680
13780
|
return {
|
|
13681
|
-
spans: spans.map(parseRichTextSpan).filter(
|
|
13781
|
+
spans: spans.map(parseRichTextSpan).filter(nonNullFilter2)
|
|
13682
13782
|
};
|
|
13683
13783
|
}
|
|
13684
13784
|
function parseRichTextSpan(span) {
|
|
@@ -13689,7 +13789,7 @@ function parseRichTextSpan(span) {
|
|
|
13689
13789
|
const marks = _nullishCoalesce(span.marks, () => ( []));
|
|
13690
13790
|
return {
|
|
13691
13791
|
text: span.text,
|
|
13692
|
-
attributes: marks.map(parseRichTextAttribute).filter(
|
|
13792
|
+
attributes: marks.map(parseRichTextAttribute).filter(nonNullFilter2)
|
|
13693
13793
|
};
|
|
13694
13794
|
}
|
|
13695
13795
|
function parseRichTextAttribute(mark) {
|
|
@@ -13745,17 +13845,17 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
13745
13845
|
if (!id) return null;
|
|
13746
13846
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
13747
13847
|
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", _zod.z.boolean().optional()) !== false;
|
|
13748
|
-
const tableChild = _optionalChain([prosemirrorNode, 'access',
|
|
13848
|
+
const tableChild = _optionalChain([prosemirrorNode, 'access', _63 => _63.content, 'optionalAccess', _64 => _64.find, 'call', _65 => _65((c) => c.type === "table")]);
|
|
13749
13849
|
if (!tableChild) {
|
|
13750
13850
|
return emptyTable(id, variantId, 0);
|
|
13751
13851
|
}
|
|
13752
|
-
const rows = _nullishCoalesce(_optionalChain([tableChild, 'access',
|
|
13852
|
+
const rows = _nullishCoalesce(_optionalChain([tableChild, 'access', _66 => _66.content, 'optionalAccess', _67 => _67.filter, 'call', _68 => _68((c) => c.type === "tableRow" && !!_optionalChain([c, 'access', _69 => _69.content, 'optionalAccess', _70 => _70.length]))]), () => ( []));
|
|
13753
13853
|
if (!rows.length) {
|
|
13754
13854
|
return emptyTable(id, variantId, 0);
|
|
13755
13855
|
}
|
|
13756
|
-
const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access',
|
|
13757
|
-
const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access',
|
|
13758
|
-
const hasHeaderRow = _optionalChain([rows, 'access',
|
|
13856
|
+
const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access', _71 => _71[0], 'access', _72 => _72.content, 'optionalAccess', _73 => _73.filter, 'call', _74 => _74((c) => c.type === "tableHeader"), 'access', _75 => _75.length]), () => ( 0));
|
|
13857
|
+
const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _76 => _76.content, 'optionalAccess', _77 => _77[0], 'optionalAccess', _78 => _78.type]) === "tableHeader").length;
|
|
13858
|
+
const hasHeaderRow = _optionalChain([rows, 'access', _79 => _79[0], 'access', _80 => _80.content, 'optionalAccess', _81 => _81.length]) === rowHeaderCells;
|
|
13759
13859
|
const hasHeaderColumn = rows.length === columnHeaderCells;
|
|
13760
13860
|
const tableValue = {
|
|
13761
13861
|
showBorder: hasBorder,
|
|
@@ -13765,7 +13865,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
13765
13865
|
};
|
|
13766
13866
|
tableValue.value = rows.map((row) => {
|
|
13767
13867
|
return {
|
|
13768
|
-
cells: (_nullishCoalesce(row.content, () => ( []))).map(parseAsTableCell).filter(
|
|
13868
|
+
cells: (_nullishCoalesce(row.content, () => ( []))).map(parseAsTableCell).filter(nonNullFilter2)
|
|
13769
13869
|
};
|
|
13770
13870
|
});
|
|
13771
13871
|
return {
|
|
@@ -13796,7 +13896,7 @@ function parseAsTableCell(prosemirrorNode) {
|
|
|
13796
13896
|
if (columnWidthArray) {
|
|
13797
13897
|
columnWidth = roundDimension(columnWidthArray[0]);
|
|
13798
13898
|
}
|
|
13799
|
-
const tableNodes = (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map(parseAsTableNode).filter(
|
|
13899
|
+
const tableNodes = (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map(parseAsTableNode).filter(nonNullFilter2);
|
|
13800
13900
|
return {
|
|
13801
13901
|
id,
|
|
13802
13902
|
alignment: parseTableCellAlignment(textAlign),
|
|
@@ -13832,7 +13932,7 @@ function parseAsTableNode(prosemirrorNode) {
|
|
|
13832
13932
|
if (!items) return null;
|
|
13833
13933
|
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
13834
13934
|
if (!parsedItems.success) return null;
|
|
13835
|
-
const rawImagePropertyValue = _optionalChain([parsedItems, 'access',
|
|
13935
|
+
const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _82 => _82.data, 'access', _83 => _83[0], 'optionalAccess', _84 => _84.props, 'access', _85 => _85.image]);
|
|
13836
13936
|
if (!rawImagePropertyValue) return null;
|
|
13837
13937
|
const imagePropertyValueParseResult = PageBlockItemImageValue.safeParse(rawImagePropertyValue);
|
|
13838
13938
|
if (!imagePropertyValueParseResult.success) return null;
|
|
@@ -13949,7 +14049,7 @@ function parseBlockItems(prosemirrorNode, definition) {
|
|
|
13949
14049
|
console.error("Block `items` property must be a json array");
|
|
13950
14050
|
return null;
|
|
13951
14051
|
}
|
|
13952
|
-
return itemsJson.map((i) => parseItem(i, definition)).filter(
|
|
14052
|
+
return itemsJson.map((i) => parseItem(i, definition)).filter(nonNullFilter2);
|
|
13953
14053
|
}
|
|
13954
14054
|
function parseAppearance(prosemirrorNode) {
|
|
13955
14055
|
let appearance = {};
|
|
@@ -14071,7 +14171,7 @@ function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
|
14071
14171
|
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(_zod.z.string()));
|
|
14072
14172
|
}
|
|
14073
14173
|
function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
|
|
14074
|
-
const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access',
|
|
14174
|
+
const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access', _86 => _86.attrs, 'optionalAccess', _87 => _87[attributeName]]));
|
|
14075
14175
|
if (parsedAttr.success) {
|
|
14076
14176
|
return parsedAttr.data;
|
|
14077
14177
|
} else {
|
|
@@ -14080,7 +14180,7 @@ function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchem
|
|
|
14080
14180
|
return void 0;
|
|
14081
14181
|
}
|
|
14082
14182
|
}
|
|
14083
|
-
function
|
|
14183
|
+
function nonNullFilter2(item) {
|
|
14084
14184
|
return item !== null;
|
|
14085
14185
|
}
|
|
14086
14186
|
function mapByUnique2(items, keyFn) {
|
|
@@ -14317,9 +14417,9 @@ var LocalDocsElementActionExecutor = class {
|
|
|
14317
14417
|
...existingGroup.data,
|
|
14318
14418
|
// TODO Artem: move somewhere reusable
|
|
14319
14419
|
configuration: input.configuration ? {
|
|
14320
|
-
..._nullishCoalesce(_optionalChain([existingGroup, 'access',
|
|
14420
|
+
..._nullishCoalesce(_optionalChain([existingGroup, 'access', _88 => _88.data, 'optionalAccess', _89 => _89.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
|
|
14321
14421
|
...input.configuration
|
|
14322
|
-
} : _optionalChain([existingGroup, 'access',
|
|
14422
|
+
} : _optionalChain([existingGroup, 'access', _90 => _90.data, 'optionalAccess', _91 => _91.configuration])
|
|
14323
14423
|
}
|
|
14324
14424
|
};
|
|
14325
14425
|
this.groups.set(localGroup.persistentId, localGroup);
|
|
@@ -14360,7 +14460,7 @@ var LocalDocsElementActionExecutor = class {
|
|
|
14360
14460
|
updatedAt: /* @__PURE__ */ new Date(),
|
|
14361
14461
|
data: {
|
|
14362
14462
|
behavior: "Tabs",
|
|
14363
|
-
configuration: _optionalChain([page, 'optionalAccess',
|
|
14463
|
+
configuration: _optionalChain([page, 'optionalAccess', _92 => _92.data, 'access', _93 => _93.configuration])
|
|
14364
14464
|
},
|
|
14365
14465
|
sortOrder: page.sortOrder,
|
|
14366
14466
|
designSystemVersionId: this.designSystemVersionId
|
|
@@ -14384,7 +14484,7 @@ var LocalDocsElementActionExecutor = class {
|
|
|
14384
14484
|
if (input.approvalState) {
|
|
14385
14485
|
this.approvalStates.set(input.persistentId, {
|
|
14386
14486
|
approvalState: input.approvalState,
|
|
14387
|
-
createdAt: _nullishCoalesce(_optionalChain([existingApproval, 'optionalAccess',
|
|
14487
|
+
createdAt: _nullishCoalesce(_optionalChain([existingApproval, 'optionalAccess', _94 => _94.createdAt]), () => ( /* @__PURE__ */ new Date())),
|
|
14388
14488
|
designSystemVersionId: this.designSystemVersionId,
|
|
14389
14489
|
pagePersistentId: input.persistentId,
|
|
14390
14490
|
updatedAt: /* @__PURE__ */ new Date(),
|
|
@@ -14412,7 +14512,7 @@ var LocalDocsElementActionExecutor = class {
|
|
|
14412
14512
|
return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
|
|
14413
14513
|
}
|
|
14414
14514
|
const left = neighbours[index].sortOrder;
|
|
14415
|
-
const right = _nullishCoalesce(_optionalChain([neighbours, 'access',
|
|
14515
|
+
const right = _nullishCoalesce(_optionalChain([neighbours, 'access', _95 => _95[index + 1], 'optionalAccess', _96 => _96.sortOrder]), () => ( left + sortOrderStep * 2));
|
|
14416
14516
|
return (right + left) / 2;
|
|
14417
14517
|
}
|
|
14418
14518
|
};
|
|
@@ -15074,5 +15174,14 @@ var TransactionQueue = class {
|
|
|
15074
15174
|
|
|
15075
15175
|
|
|
15076
15176
|
|
|
15077
|
-
exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BrandsEndpoint = BrandsEndpoint; exports.CodeComponentsEndpoint = CodeComponentsEndpoint; exports.CodegenEndpoint = CodegenEndpoint; exports.Collection = Collection2; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOAuthenticatedUser = DTOAuthenticatedUser; exports.DTOAuthenticatedUserProfile = DTOAuthenticatedUserProfile; exports.DTOAuthenticatedUserResponse = DTOAuthenticatedUserResponse; exports.DTOBffFigmaImportRequestBody = DTOBffFigmaImportRequestBody; exports.DTOBffImportRequestBody = DTOBffImportRequestBody; exports.DTOBffUploadImportRequestBody = DTOBffUploadImportRequestBody; exports.DTOBrand = DTOBrand; exports.DTOBrandCreatePayload = DTOBrandCreatePayload; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandUpdatePayload = DTOBrandUpdatePayload; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCodeComponent = DTOCodeComponent; exports.DTOCodeComponentCreateInput = DTOCodeComponentCreateInput; exports.DTOCodeComponentListResponse = DTOCodeComponentListResponse; exports.DTOCodeComponentProperty = DTOCodeComponentProperty; exports.DTOCodeComponentResponse = DTOCodeComponentResponse; exports.DTOCodeComponentsCreateInput = DTOCodeComponentsCreateInput; exports.DTOColorTokenInlineData = DTOColorTokenInlineData; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaCreatePayload = DTODataSourceFigmaCreatePayload; exports.DTODataSourceFigmaImportPayload = DTODataSourceFigmaImportPayload; exports.DTODataSourceFigmaScope = DTODataSourceFigmaScope; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceResponse = DTODataSourceResponse; exports.DTODataSourceStorybook = DTODataSourceStorybook; exports.DTODataSourceStorybookCreatePayload = DTODataSourceStorybookCreatePayload; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODataSourcesStorybookResponse = DTODataSourcesStorybookResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemComponent = DTODesignSystemComponent; exports.DTODesignSystemComponentCreateInput = DTODesignSystemComponentCreateInput; exports.DTODesignSystemComponentListResponse = DTODesignSystemComponentListResponse; exports.DTODesignSystemComponentResponse = DTODesignSystemComponentResponse; exports.DTODesignSystemContactsResponse = DTODesignSystemContactsResponse; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemInvitation = DTODesignSystemInvitation; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemResponse = DTODesignSystemResponse; exports.DTODesignSystemRole = DTODesignSystemRole; exports.DTODesignSystemUpdateAccessModeInput = DTODesignSystemUpdateAccessModeInput; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionRoom = DTODesignSystemVersionRoom; exports.DTODesignSystemVersionRoomResponse = DTODesignSystemVersionRoomResponse; exports.DTODesignSystemVersionStats = DTODesignSystemVersionStats; exports.DTODesignSystemVersionStatsQuery = DTODesignSystemVersionStatsQuery; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODesignToken = DTODesignToken; exports.DTODesignTokenCreatePayload = DTODesignTokenCreatePayload; exports.DTODesignTokenGroup = DTODesignTokenGroup; exports.DTODesignTokenGroupCreatePayload = DTODesignTokenGroupCreatePayload; exports.DTODesignTokenGroupListResponse = DTODesignTokenGroupListResponse; exports.DTODesignTokenGroupResponse = DTODesignTokenGroupResponse; exports.DTODesignTokenListResponse = DTODesignTokenListResponse; exports.DTODesignTokenResponse = DTODesignTokenResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationAnalyticsDiffPayload = DTODocumentationAnalyticsDiffPayload; exports.DTODocumentationAnalyticsQueryParams = DTODocumentationAnalyticsQueryParams; exports.DTODocumentationAnalyticsTimeFrame = DTODocumentationAnalyticsTimeFrame; exports.DTODocumentationAnalyticsTimeFrameComparison = DTODocumentationAnalyticsTimeFrameComparison; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupApprovalState = DTODocumentationGroupApprovalState; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupRestoreActionInput = DTODocumentationGroupRestoreActionInput; exports.DTODocumentationGroupRestoreActionOutput = DTODocumentationGroupRestoreActionOutput; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnalyticsDifference = DTODocumentationPageAnalyticsDifference; exports.DTODocumentationPageAnalyticsResponse = DTODocumentationPageAnalyticsResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageApprovalState = DTODocumentationPageApprovalState; exports.DTODocumentationPageApprovalStateChangeActionInput = DTODocumentationPageApprovalStateChangeActionInput; exports.DTODocumentationPageApprovalStateChangeActionOutput = DTODocumentationPageApprovalStateChangeActionOutput; exports.DTODocumentationPageApprovalStateChangeInput = DTODocumentationPageApprovalStateChangeInput; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageIntervalDifferenceResponse = DTODocumentationPageIntervalDifferenceResponse; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoom = DTODocumentationPageRoom; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageRoomResponse = DTODocumentationPageRoomResponse; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageUpdateDocumentActionInputV2 = DTODocumentationPageUpdateDocumentActionInputV2; exports.DTODocumentationPageUpdateDocumentActionOutputV2 = DTODocumentationPageUpdateDocumentActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationSettings = DTODocumentationSettings; exports.DTODocumentationStructure = DTODocumentationStructure; exports.DTODocumentationStructureGroupItem = DTODocumentationStructureGroupItem; exports.DTODocumentationStructureItem = DTODocumentationStructureItem; exports.DTODocumentationStructurePageItem = DTODocumentationStructurePageItem; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionCreatePayload = DTOElementPropertyDefinitionCreatePayload; exports.DTOElementPropertyDefinitionListResponse = DTOElementPropertyDefinitionListResponse; exports.DTOElementPropertyDefinitionOption = DTOElementPropertyDefinitionOption; exports.DTOElementPropertyDefinitionResponse = DTOElementPropertyDefinitionResponse; exports.DTOElementPropertyDefinitionUpdatePayload = DTOElementPropertyDefinitionUpdatePayload; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValueListResponse = DTOElementPropertyValueListResponse; exports.DTOElementPropertyValueResponse = DTOElementPropertyValueResponse; exports.DTOElementPropertyValueUpsertPaylod = DTOElementPropertyValueUpsertPaylod; exports.DTOElementPropertyValuesEditActionInput = DTOElementPropertyValuesEditActionInput; exports.DTOElementPropertyValuesEditActionOutput = DTOElementPropertyValuesEditActionOutput; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetOutputV2 = DTOElementsGetOutputV2; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOEvent = DTOEvent; exports.DTOEventDataSourcesImported = DTOEventDataSourcesImported; exports.DTOEventFigmaNodesRendered = DTOEventFigmaNodesRendered; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreateInput = DTOExportJobCreateInput; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResponseLegacy = DTOExportJobResponseLegacy; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterDeprecationInput = DTOExporterDeprecationInput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterListQuery = DTOExporterListQuery; exports.DTOExporterListResponse = DTOExporterListResponse; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterPropertyDefinition = DTOExporterPropertyDefinition; exports.DTOExporterPropertyDefinitionArray = DTOExporterPropertyDefinitionArray; exports.DTOExporterPropertyDefinitionBoolean = DTOExporterPropertyDefinitionBoolean; exports.DTOExporterPropertyDefinitionCode = DTOExporterPropertyDefinitionCode; exports.DTOExporterPropertyDefinitionEnum = DTOExporterPropertyDefinitionEnum; exports.DTOExporterPropertyDefinitionEnumOption = DTOExporterPropertyDefinitionEnumOption; exports.DTOExporterPropertyDefinitionNumber = DTOExporterPropertyDefinitionNumber; exports.DTOExporterPropertyDefinitionObject = DTOExporterPropertyDefinitionObject; exports.DTOExporterPropertyDefinitionString = DTOExporterPropertyDefinitionString; exports.DTOExporterPropertyDefinitionsResponse = DTOExporterPropertyDefinitionsResponse; exports.DTOExporterPropertyType = DTOExporterPropertyType; exports.DTOExporterPropertyValue = DTOExporterPropertyValue; exports.DTOExporterPropertyValueMap = DTOExporterPropertyValueMap; exports.DTOExporterResponse = DTOExporterResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentGroup = DTOFigmaComponentGroup; exports.DTOFigmaComponentGroupListResponse = DTOFigmaComponentGroupListResponse; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeDataV2 = DTOFigmaNodeDataV2; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderAsyncActionInput = DTOFigmaNodeRenderAsyncActionInput; exports.DTOFigmaNodeRenderAsyncActionOutput = DTOFigmaNodeRenderAsyncActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderIdInput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderUrlInput; exports.DTOFigmaNodeRerenderInput = DTOFigmaNodeRerenderInput; exports.DTOFigmaNodeStructure = DTOFigmaNodeStructure; exports.DTOFigmaNodeStructureDetail = DTOFigmaNodeStructureDetail; exports.DTOFigmaNodeStructureDetailResponse = DTOFigmaNodeStructureDetailResponse; exports.DTOFigmaNodeStructureListResponse = DTOFigmaNodeStructureListResponse; exports.DTOFigmaNodeV2 = DTOFigmaNodeV2; exports.DTOFrameNodeStructure = DTOFrameNodeStructure; exports.DTOFrameNodeStructureListResponse = DTOFrameNodeStructureListResponse; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOImportJob = DTOImportJob; exports.DTOImportJobResponse = DTOImportJobResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOObjectMeta = DTOObjectMeta; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPageRedirect = DTOPageRedirect; exports.DTOPageRedirectCreateBody = DTOPageRedirectCreateBody; exports.DTOPageRedirectDeleteResponse = DTOPageRedirectDeleteResponse; exports.DTOPageRedirectListResponse = DTOPageRedirectListResponse; exports.DTOPageRedirectResponse = DTOPageRedirectResponse; exports.DTOPageRedirectUpdateBody = DTOPageRedirectUpdateBody; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineListQuery = DTOPipelineListQuery; exports.DTOPipelineListResponse = DTOPipelineListResponse; exports.DTOPipelineResponse = DTOPipelineResponse; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTOPublishedDocPageVisitData = DTOPublishedDocPageVisitData; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOStorybookEntry = DTOStorybookEntry; exports.DTOStorybookEntryListResponse = DTOStorybookEntryListResponse; exports.DTOStorybookEntryOrigin = DTOStorybookEntryOrigin; exports.DTOStorybookEntryReplaceAction = DTOStorybookEntryReplaceAction; exports.DTOStorybookEntryResponse = DTOStorybookEntryResponse; exports.DTOStorybookImportPayload = DTOStorybookImportPayload; exports.DTOTheme = DTOTheme; exports.DTOThemeCreatePayload = DTOThemeCreatePayload; exports.DTOThemeListResponse = DTOThemeListResponse; exports.DTOThemeOverride = DTOThemeOverride; exports.DTOThemeOverrideCreatePayload = DTOThemeOverrideCreatePayload; exports.DTOThemeResponse = DTOThemeResponse; exports.DTOTokenCollection = DTOTokenCollection; exports.DTOTokenCollectionsListReponse = DTOTokenCollectionsListReponse; exports.DTOTransferOwnershipPayload = DTOTransferOwnershipPayload; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageDocumentInputV2 = DTOUpdateDocumentationPageDocumentInputV2; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUser = DTOUser; exports.DTOUserGetResponse = DTOUserGetResponse; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserOnboarding = DTOUserOnboarding; exports.DTOUserOnboardingDepartment = DTOUserOnboardingDepartment; exports.DTOUserOnboardingJobLevel = DTOUserOnboardingJobLevel; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdate = DTOUserProfileUpdate; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserSource = DTOUserSource; exports.DTOUserTheme = DTOUserTheme; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceCreateInput = DTOWorkspaceCreateInput; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceInvitationInput = DTOWorkspaceInvitationInput; exports.DTOWorkspaceInvitationUpdateResponse = DTOWorkspaceInvitationUpdateResponse; exports.DTOWorkspaceInvitationsListInput = DTOWorkspaceInvitationsListInput; exports.DTOWorkspaceInvitationsResponse = DTOWorkspaceInvitationsResponse; exports.DTOWorkspaceInviteUpdate = DTOWorkspaceInviteUpdate; exports.DTOWorkspaceMember = DTOWorkspaceMember; exports.DTOWorkspaceMembersListResponse = DTOWorkspaceMembersListResponse; exports.DTOWorkspaceProfile = DTOWorkspaceProfile; exports.DTOWorkspaceResponse = DTOWorkspaceResponse; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.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.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.GitDestinationOptions = GitDestinationOptions; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; exports.LiveblocksEndpoint = LiveblocksEndpoint; exports.LocalDocsElementActionExecutor = LocalDocsElementActionExecutor; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.OverridesEndpoint = OverridesEndpoint; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.ParsedFigmaFileURLError = ParsedFigmaFileURLError; exports.PipelinesEndpoint = PipelinesEndpoint; exports.RGB = RGB; exports.RGBA = RGBA; exports.RequestExecutor = RequestExecutor; exports.RequestExecutorError = RequestExecutorError; exports.ResolvedVariableType = ResolvedVariableType; exports.StorybookEntriesEndpoint = StorybookEntriesEndpoint; exports.StringVariableScopeType = StringVariableScopeType; exports.SupernovaApiClient = SupernovaApiClient; exports.ThemesEndpoint = ThemesEndpoint; exports.TokenCollectionsEndpoint = TokenCollectionsEndpoint; exports.TokenGroupsEndpoint = TokenGroupsEndpoint; exports.TokensEndpoint = TokensEndpoint; exports.UsersEndpoint = UsersEndpoint; exports.Variable = Variable; exports.VariableAlias = VariableAlias; exports.VariableMode = VariableMode; exports.VariableValue = VariableValue; exports.VariablesMapping = VariablesMapping; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.VersionStatsEndpoint = VersionStatsEndpoint; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.WorkspaceIntegrationsEndpoint = WorkspaceIntegrationsEndpoint; exports.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; exports.applyActionsLocally = applyActionsLocally; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateChangeOverTime = calculateChangeOverTime; exports.calculateElementParentChain = calculateElementParentChain; exports.computeDocsHierarchy = computeDocsHierarchy; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.exhaustiveInvalidUriPaths = exhaustiveInvalidUriPaths; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.isValidRedirectPath = isValidRedirectPath; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pageVisitsToDto = pageVisitsToDto; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.serializeQuery = serializeQuery; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
15177
|
+
|
|
15178
|
+
|
|
15179
|
+
|
|
15180
|
+
|
|
15181
|
+
|
|
15182
|
+
|
|
15183
|
+
|
|
15184
|
+
|
|
15185
|
+
|
|
15186
|
+
exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BrandsEndpoint = BrandsEndpoint; exports.CodeComponentsEndpoint = CodeComponentsEndpoint; exports.CodegenEndpoint = CodegenEndpoint; exports.Collection = Collection2; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOAuthenticatedUser = DTOAuthenticatedUser; exports.DTOAuthenticatedUserProfile = DTOAuthenticatedUserProfile; exports.DTOAuthenticatedUserResponse = DTOAuthenticatedUserResponse; exports.DTOBffFigmaImportRequestBody = DTOBffFigmaImportRequestBody; exports.DTOBffImportRequestBody = DTOBffImportRequestBody; exports.DTOBffUploadImportRequestBody = DTOBffUploadImportRequestBody; exports.DTOBrand = DTOBrand; exports.DTOBrandCreatePayload = DTOBrandCreatePayload; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandUpdatePayload = DTOBrandUpdatePayload; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCodeComponent = DTOCodeComponent; exports.DTOCodeComponentCreateInput = DTOCodeComponentCreateInput; exports.DTOCodeComponentListResponse = DTOCodeComponentListResponse; exports.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.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaCreatePayload = DTODataSourceFigmaCreatePayload; exports.DTODataSourceFigmaImportPayload = DTODataSourceFigmaImportPayload; exports.DTODataSourceFigmaScope = DTODataSourceFigmaScope; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceResponse = DTODataSourceResponse; exports.DTODataSourceStorybook = DTODataSourceStorybook; exports.DTODataSourceStorybookCreatePayload = DTODataSourceStorybookCreatePayload; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODataSourcesStorybookResponse = DTODataSourcesStorybookResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemComponent = DTODesignSystemComponent; exports.DTODesignSystemComponentCreateInput = DTODesignSystemComponentCreateInput; exports.DTODesignSystemComponentListResponse = DTODesignSystemComponentListResponse; exports.DTODesignSystemComponentResponse = DTODesignSystemComponentResponse; exports.DTODesignSystemContactsResponse = DTODesignSystemContactsResponse; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemInvitation = DTODesignSystemInvitation; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemResponse = DTODesignSystemResponse; exports.DTODesignSystemRole = DTODesignSystemRole; exports.DTODesignSystemUpdateAccessModeInput = DTODesignSystemUpdateAccessModeInput; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionRoom = DTODesignSystemVersionRoom; exports.DTODesignSystemVersionRoomResponse = DTODesignSystemVersionRoomResponse; exports.DTODesignSystemVersionStats = DTODesignSystemVersionStats; exports.DTODesignSystemVersionStatsQuery = DTODesignSystemVersionStatsQuery; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODesignToken = DTODesignToken; exports.DTODesignTokenCreatePayload = DTODesignTokenCreatePayload; exports.DTODesignTokenGroup = DTODesignTokenGroup; exports.DTODesignTokenGroupCreatePayload = DTODesignTokenGroupCreatePayload; exports.DTODesignTokenGroupListResponse = DTODesignTokenGroupListResponse; exports.DTODesignTokenGroupResponse = DTODesignTokenGroupResponse; exports.DTODesignTokenListResponse = DTODesignTokenListResponse; exports.DTODesignTokenResponse = DTODesignTokenResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationAnalyticsDiffPayload = DTODocumentationAnalyticsDiffPayload; exports.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.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageIntervalDifferenceResponse = DTODocumentationPageIntervalDifferenceResponse; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoom = DTODocumentationPageRoom; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageRoomResponse = DTODocumentationPageRoomResponse; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageUpdateDocumentActionInputV2 = DTODocumentationPageUpdateDocumentActionInputV2; exports.DTODocumentationPageUpdateDocumentActionOutputV2 = DTODocumentationPageUpdateDocumentActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationSettings = DTODocumentationSettings; exports.DTODocumentationStructure = DTODocumentationStructure; exports.DTODocumentationStructureGroupItem = DTODocumentationStructureGroupItem; exports.DTODocumentationStructureItem = DTODocumentationStructureItem; exports.DTODocumentationStructurePageItem = DTODocumentationStructurePageItem; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionCreatePayload = DTOElementPropertyDefinitionCreatePayload; exports.DTOElementPropertyDefinitionListResponse = DTOElementPropertyDefinitionListResponse; exports.DTOElementPropertyDefinitionOption = DTOElementPropertyDefinitionOption; exports.DTOElementPropertyDefinitionResponse = DTOElementPropertyDefinitionResponse; exports.DTOElementPropertyDefinitionUpdatePayload = DTOElementPropertyDefinitionUpdatePayload; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValueListResponse = DTOElementPropertyValueListResponse; exports.DTOElementPropertyValueResponse = DTOElementPropertyValueResponse; exports.DTOElementPropertyValueUpsertPaylod = DTOElementPropertyValueUpsertPaylod; exports.DTOElementPropertyValuesEditActionInput = DTOElementPropertyValuesEditActionInput; exports.DTOElementPropertyValuesEditActionOutput = DTOElementPropertyValuesEditActionOutput; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetOutputV2 = DTOElementsGetOutputV2; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOEvent = DTOEvent; exports.DTOEventDataSourcesImported = DTOEventDataSourcesImported; exports.DTOEventFigmaNodesRendered = DTOEventFigmaNodesRendered; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreateInput = DTOExportJobCreateInput; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResponseLegacy = DTOExportJobResponseLegacy; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterDeprecationInput = DTOExporterDeprecationInput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterListQuery = DTOExporterListQuery; exports.DTOExporterListResponse = DTOExporterListResponse; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterPropertyDefinition = DTOExporterPropertyDefinition; exports.DTOExporterPropertyDefinitionArray = DTOExporterPropertyDefinitionArray; exports.DTOExporterPropertyDefinitionBoolean = DTOExporterPropertyDefinitionBoolean; exports.DTOExporterPropertyDefinitionCode = DTOExporterPropertyDefinitionCode; exports.DTOExporterPropertyDefinitionEnum = DTOExporterPropertyDefinitionEnum; exports.DTOExporterPropertyDefinitionEnumOption = DTOExporterPropertyDefinitionEnumOption; exports.DTOExporterPropertyDefinitionNumber = DTOExporterPropertyDefinitionNumber; exports.DTOExporterPropertyDefinitionObject = DTOExporterPropertyDefinitionObject; exports.DTOExporterPropertyDefinitionString = DTOExporterPropertyDefinitionString; exports.DTOExporterPropertyDefinitionsResponse = DTOExporterPropertyDefinitionsResponse; exports.DTOExporterPropertyType = DTOExporterPropertyType; exports.DTOExporterPropertyValue = DTOExporterPropertyValue; exports.DTOExporterPropertyValueMap = DTOExporterPropertyValueMap; exports.DTOExporterResponse = DTOExporterResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentGroup = DTOFigmaComponentGroup; exports.DTOFigmaComponentGroupListResponse = DTOFigmaComponentGroupListResponse; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeDataV2 = DTOFigmaNodeDataV2; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderAsyncActionInput = DTOFigmaNodeRenderAsyncActionInput; exports.DTOFigmaNodeRenderAsyncActionOutput = DTOFigmaNodeRenderAsyncActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderIdInput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderUrlInput; exports.DTOFigmaNodeRerenderInput = DTOFigmaNodeRerenderInput; exports.DTOFigmaNodeStructure = DTOFigmaNodeStructure; exports.DTOFigmaNodeStructureDetail = DTOFigmaNodeStructureDetail; exports.DTOFigmaNodeStructureDetailResponse = DTOFigmaNodeStructureDetailResponse; exports.DTOFigmaNodeStructureListResponse = DTOFigmaNodeStructureListResponse; exports.DTOFigmaNodeV2 = DTOFigmaNodeV2; exports.DTOFrameNodeStructure = DTOFrameNodeStructure; exports.DTOFrameNodeStructureListResponse = DTOFrameNodeStructureListResponse; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOImportJob = DTOImportJob; exports.DTOImportJobResponse = DTOImportJobResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOObjectMeta = DTOObjectMeta; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPageRedirect = DTOPageRedirect; exports.DTOPageRedirectCreateBody = DTOPageRedirectCreateBody; exports.DTOPageRedirectDeleteResponse = DTOPageRedirectDeleteResponse; exports.DTOPageRedirectListResponse = DTOPageRedirectListResponse; exports.DTOPageRedirectResponse = DTOPageRedirectResponse; exports.DTOPageRedirectUpdateBody = DTOPageRedirectUpdateBody; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineListQuery = DTOPipelineListQuery; exports.DTOPipelineListResponse = DTOPipelineListResponse; exports.DTOPipelineResponse = DTOPipelineResponse; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPubishedDocAnalyticsComparisonData = DTOPubishedDocAnalyticsComparisonData; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTOPublishedDocPageVisitData = DTOPublishedDocPageVisitData; exports.DTOPublishedDocVisitData = DTOPublishedDocVisitData; exports.DTOPublishedDocVisitHeatMapWeek = DTOPublishedDocVisitHeatMapWeek; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOStorybookEntry = DTOStorybookEntry; exports.DTOStorybookEntryListResponse = DTOStorybookEntryListResponse; exports.DTOStorybookEntryOrigin = DTOStorybookEntryOrigin; exports.DTOStorybookEntryReplaceAction = DTOStorybookEntryReplaceAction; exports.DTOStorybookEntryResponse = DTOStorybookEntryResponse; exports.DTOStorybookImportPayload = DTOStorybookImportPayload; exports.DTOTheme = DTOTheme; exports.DTOThemeCreatePayload = DTOThemeCreatePayload; exports.DTOThemeListResponse = DTOThemeListResponse; exports.DTOThemeOverride = DTOThemeOverride; exports.DTOThemeOverrideCreatePayload = DTOThemeOverrideCreatePayload; exports.DTOThemeResponse = DTOThemeResponse; exports.DTOTokenCollection = DTOTokenCollection; exports.DTOTokenCollectionsListReponse = DTOTokenCollectionsListReponse; exports.DTOTransferOwnershipPayload = DTOTransferOwnershipPayload; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageDocumentInputV2 = DTOUpdateDocumentationPageDocumentInputV2; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUser = DTOUser; exports.DTOUserGetResponse = DTOUserGetResponse; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserOnboarding = DTOUserOnboarding; exports.DTOUserOnboardingDepartment = DTOUserOnboardingDepartment; exports.DTOUserOnboardingJobLevel = DTOUserOnboardingJobLevel; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdate = DTOUserProfileUpdate; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserSource = DTOUserSource; exports.DTOUserTheme = DTOUserTheme; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceCreateInput = DTOWorkspaceCreateInput; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceInvitationInput = DTOWorkspaceInvitationInput; exports.DTOWorkspaceInvitationUpdateResponse = DTOWorkspaceInvitationUpdateResponse; exports.DTOWorkspaceInvitationsListInput = DTOWorkspaceInvitationsListInput; exports.DTOWorkspaceInvitationsResponse = DTOWorkspaceInvitationsResponse; exports.DTOWorkspaceInviteUpdate = DTOWorkspaceInviteUpdate; exports.DTOWorkspaceMember = DTOWorkspaceMember; exports.DTOWorkspaceMembersListResponse = DTOWorkspaceMembersListResponse; exports.DTOWorkspaceProfile = DTOWorkspaceProfile; exports.DTOWorkspaceResponse = DTOWorkspaceResponse; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.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.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.GitDestinationOptions = GitDestinationOptions; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; exports.LiveblocksEndpoint = LiveblocksEndpoint; exports.LocalDocsElementActionExecutor = LocalDocsElementActionExecutor; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.OverridesEndpoint = OverridesEndpoint; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.ParsedFigmaFileURLError = ParsedFigmaFileURLError; exports.PipelinesEndpoint = PipelinesEndpoint; exports.RGB = RGB; exports.RGBA = RGBA; exports.RequestExecutor = RequestExecutor; exports.RequestExecutorError = RequestExecutorError; exports.ResolvedVariableType = ResolvedVariableType; exports.StorybookEntriesEndpoint = StorybookEntriesEndpoint; exports.StringVariableScopeType = StringVariableScopeType; exports.SupernovaApiClient = SupernovaApiClient; exports.ThemesEndpoint = ThemesEndpoint; exports.TokenCollectionsEndpoint = TokenCollectionsEndpoint; exports.TokenGroupsEndpoint = TokenGroupsEndpoint; exports.TokensEndpoint = TokensEndpoint; exports.UsersEndpoint = UsersEndpoint; exports.Variable = Variable; exports.VariableAlias = VariableAlias; exports.VariableMode = VariableMode; exports.VariableValue = VariableValue; exports.VariablesMapping = VariablesMapping; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.VersionStatsEndpoint = VersionStatsEndpoint; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.WorkspaceIntegrationsEndpoint = WorkspaceIntegrationsEndpoint; exports.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; exports.applyActionsLocally = applyActionsLocally; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.computeDocsHierarchy = computeDocsHierarchy; exports.documentationAnalyticsToComparisonDto = documentationAnalyticsToComparisonDto; exports.documentationAnalyticsToGlobalDto = documentationAnalyticsToGlobalDto; exports.documentationAnalyticsToHeatMapDto = documentationAnalyticsToHeatMapDto; 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; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
15078
15187
|
//# sourceMappingURL=index.js.map
|