@supernova-studio/client 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1463 -612
- package/dist/index.d.ts +1463 -612
- package/dist/index.js +376 -222
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +959 -805
- 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 nonNullishFilter(item) {
|
|
949
|
+
return !!item;
|
|
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(),
|
|
@@ -3833,7 +3846,22 @@ var DocumentationPageDependencies = _zod.z.object({
|
|
|
3833
3846
|
groupPersistentIds: _zod.z.set(_zod.z.string()),
|
|
3834
3847
|
propertyPersistentIds: _zod.z.set(_zod.z.string()),
|
|
3835
3848
|
themePersistentIds: _zod.z.set(_zod.z.string()),
|
|
3836
|
-
documentationPagePersistentIds: _zod.z.set(_zod.z.string())
|
|
3849
|
+
documentationPagePersistentIds: _zod.z.set(_zod.z.string()),
|
|
3850
|
+
storybookEntriesStoryIds: _zod.z.set(_zod.z.string())
|
|
3851
|
+
});
|
|
3852
|
+
var DocumentationPage = _zod.z.object({
|
|
3853
|
+
type: _zod.z.literal("DocumentationPage"),
|
|
3854
|
+
id: _zod.z.string(),
|
|
3855
|
+
persistentId: _zod.z.string(),
|
|
3856
|
+
shortPersistentId: _zod.z.string(),
|
|
3857
|
+
designSystemVersionId: _zod.z.string(),
|
|
3858
|
+
parentPersistentId: _zod.z.string().nullish(),
|
|
3859
|
+
sortOrder: _zod.z.number(),
|
|
3860
|
+
title: _zod.z.string(),
|
|
3861
|
+
slug: _zod.z.string(),
|
|
3862
|
+
userSlug: _zod.z.string().nullish(),
|
|
3863
|
+
createdAt: _zod.z.coerce.date(),
|
|
3864
|
+
updatedAt: _zod.z.coerce.date()
|
|
3837
3865
|
});
|
|
3838
3866
|
var PageRedirect = _zod.z.object({
|
|
3839
3867
|
id: _zod.z.string(),
|
|
@@ -5079,118 +5107,120 @@ var PersonalAccessToken = _zod.z.object({
|
|
|
5079
5107
|
});
|
|
5080
5108
|
|
|
5081
5109
|
// src/api/conversion/analytics/page-visits-to-dto.ts
|
|
5082
|
-
function
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
const
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5110
|
+
function documentationAnalyticsToGlobalDto(entries) {
|
|
5111
|
+
return squashAndConvertToDto(entries);
|
|
5112
|
+
}
|
|
5113
|
+
function documentationAnalyticsToPageDto(entries) {
|
|
5114
|
+
const byPageIdEntries = Array.from(groupBy(entries, (e) => e.pagePersistentId).entries());
|
|
5115
|
+
byPageIdEntries.sort((lhs, rhs) => lhs[0].localeCompare(rhs[0]));
|
|
5116
|
+
return byPageIdEntries.flatMap(([pagePersistentId, entries2]) => {
|
|
5117
|
+
const dtoWithoutPageId = squashAndConvertToDto(entries2);
|
|
5118
|
+
return dtoWithoutPageId.map((dto) => ({ ...dto, pagePersistentId }));
|
|
5119
|
+
});
|
|
5120
|
+
}
|
|
5121
|
+
function squashAndConvertToDto(entries) {
|
|
5122
|
+
const byDay = groupBy(entries, (e) => getStartOfUTCDay(e.timestamp));
|
|
5123
|
+
const obj = Object.fromEntries(
|
|
5124
|
+
Array.from(byDay.entries()).map(([date, values]) => [new Date(date).toISOString(), values.length])
|
|
5090
5125
|
);
|
|
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;
|
|
5126
|
+
return Array.from(byDay.entries()).map(([startOfDay, dayEntries]) => {
|
|
5127
|
+
const firstEntry = dayEntries[0];
|
|
5128
|
+
const uniqueSessions = new Set(dayEntries.map((e) => e.anonymousId).filter(nonNullishFilter)).size;
|
|
5129
|
+
const visitsSum = dayEntries.reduce((prev, curr) => prev + curr.visits, 0);
|
|
5130
|
+
return {
|
|
5131
|
+
versionId: firstEntry.versionId,
|
|
5132
|
+
timestamp: new Date(startOfDay),
|
|
5133
|
+
sessions: uniqueSessions,
|
|
5134
|
+
visits: visitsSum,
|
|
5135
|
+
...firstEntry.locale && { locale: firstEntry.locale }
|
|
5136
|
+
};
|
|
5137
|
+
});
|
|
5122
5138
|
}
|
|
5123
|
-
function
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5139
|
+
function getStartOfUTCDay(date) {
|
|
5140
|
+
const year = date.getUTCFullYear();
|
|
5141
|
+
const month = date.getUTCMonth();
|
|
5142
|
+
const day = date.getUTCDate();
|
|
5143
|
+
return Date.UTC(year, month, day, 0, 0, 0, 0);
|
|
5144
|
+
}
|
|
5145
|
+
|
|
5146
|
+
// src/api/conversion/analytics/page-visits-to-comparison-dto.ts
|
|
5147
|
+
function documentationAnalyticsToPageComparisonDto(input) {
|
|
5148
|
+
const { pagePersistentId } = input;
|
|
5149
|
+
function validateDataPoint(dataPoint) {
|
|
5150
|
+
if (dataPoint.pagePersistentId !== pagePersistentId) {
|
|
5151
|
+
throw SupernovaException.shouldNotHappen(`Tried to include invalid analytics data point!`);
|
|
5152
|
+
}
|
|
5135
5153
|
}
|
|
5154
|
+
input.priorDataPoints.forEach(validateDataPoint);
|
|
5155
|
+
input.currentDataPoints.forEach(validateDataPoint);
|
|
5136
5156
|
return {
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
currentVisitCount: currentIntervalVisits,
|
|
5140
|
-
currentSessionCount: currentIntervalSessions,
|
|
5141
|
-
startDate: priorIntervalStartDate,
|
|
5142
|
-
endDate: priorIntervalEndDate
|
|
5157
|
+
...documentationAnalyticsToComparisonDto(input),
|
|
5158
|
+
pagePersistentId
|
|
5143
5159
|
};
|
|
5144
5160
|
}
|
|
5145
|
-
function
|
|
5146
|
-
const
|
|
5147
|
-
const
|
|
5148
|
-
|
|
5149
|
-
}
|
|
5150
|
-
function aggregatePageVisitsAndSessions(pageData) {
|
|
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
|
-
}
|
|
5161
|
+
function documentationAnalyticsToComparisonDto(input) {
|
|
5162
|
+
const { timeFrame } = input;
|
|
5163
|
+
const priorDataPoints = documentationAnalyticsToGlobalDto(input.priorDataPoints);
|
|
5164
|
+
const currentDataPoints = documentationAnalyticsToGlobalDto(input.currentDataPoints);
|
|
5168
5165
|
return {
|
|
5169
|
-
|
|
5170
|
-
|
|
5166
|
+
timeFrame,
|
|
5167
|
+
priorSessionCount: priorDataPoints.reduce((sum, d) => sum + d.sessions, 0),
|
|
5168
|
+
priorVisitCount: priorDataPoints.reduce((sum, d) => sum + d.visits, 0),
|
|
5169
|
+
currentSessionCount: currentDataPoints.reduce((sum, d) => sum + d.sessions, 0),
|
|
5170
|
+
currentVisitCount: currentDataPoints.reduce((sum, d) => sum + d.visits, 0)
|
|
5171
5171
|
};
|
|
5172
5172
|
}
|
|
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
|
-
}
|
|
5173
|
+
|
|
5174
|
+
// src/api/conversion/analytics/page-visits-to-heatmap-dto.ts
|
|
5175
|
+
function documentationAnalyticsToHeatMapDto(entries, timeFrame) {
|
|
5176
|
+
const byWeekDay = groupBy(entries, (e) => e.timestamp.getUTCDay());
|
|
5189
5177
|
return {
|
|
5190
|
-
|
|
5191
|
-
|
|
5178
|
+
timeFrame,
|
|
5179
|
+
mon: entriesToHeatmapDay(byWeekDay.get(1)),
|
|
5180
|
+
tue: entriesToHeatmapDay(byWeekDay.get(2)),
|
|
5181
|
+
wed: entriesToHeatmapDay(byWeekDay.get(3)),
|
|
5182
|
+
thu: entriesToHeatmapDay(byWeekDay.get(4)),
|
|
5183
|
+
fri: entriesToHeatmapDay(byWeekDay.get(5)),
|
|
5184
|
+
sat: entriesToHeatmapDay(byWeekDay.get(6)),
|
|
5185
|
+
sun: entriesToHeatmapDay(byWeekDay.get(7))
|
|
5192
5186
|
};
|
|
5193
5187
|
}
|
|
5188
|
+
function entriesToHeatmapDay(entries) {
|
|
5189
|
+
const byHour = groupBy(_nullishCoalesce(entries, () => ( [])), (e) => e.timestamp.getUTCHours());
|
|
5190
|
+
return [
|
|
5191
|
+
sumVisits(byHour.get(0), byHour.get(1)),
|
|
5192
|
+
// 0am-2am
|
|
5193
|
+
sumVisits(byHour.get(2), byHour.get(3)),
|
|
5194
|
+
// 2am-4am
|
|
5195
|
+
sumVisits(byHour.get(4), byHour.get(5)),
|
|
5196
|
+
// 4am-6am
|
|
5197
|
+
sumVisits(byHour.get(6), byHour.get(7)),
|
|
5198
|
+
// 6am-6am
|
|
5199
|
+
sumVisits(byHour.get(8), byHour.get(9)),
|
|
5200
|
+
// 8am-6am
|
|
5201
|
+
sumVisits(byHour.get(10), byHour.get(11)),
|
|
5202
|
+
// 10am-12pm
|
|
5203
|
+
sumVisits(byHour.get(12), byHour.get(13)),
|
|
5204
|
+
// 12pm-2pm
|
|
5205
|
+
sumVisits(byHour.get(14), byHour.get(15)),
|
|
5206
|
+
// 2pm-4pm
|
|
5207
|
+
sumVisits(byHour.get(16), byHour.get(17)),
|
|
5208
|
+
// 4pm-6pm
|
|
5209
|
+
sumVisits(byHour.get(18), byHour.get(19)),
|
|
5210
|
+
// 6pm-8pm
|
|
5211
|
+
sumVisits(byHour.get(20), byHour.get(21)),
|
|
5212
|
+
// 8pm-10pm
|
|
5213
|
+
sumVisits(byHour.get(22), byHour.get(23))
|
|
5214
|
+
// 10pm-12pm
|
|
5215
|
+
];
|
|
5216
|
+
}
|
|
5217
|
+
function sumVisits(...entryArrays) {
|
|
5218
|
+
let sum = 0;
|
|
5219
|
+
entryArrays.forEach((a) => {
|
|
5220
|
+
_optionalChain([a, 'optionalAccess', _6 => _6.forEach, 'call', _7 => _7((e) => sum += e.visits)]);
|
|
5221
|
+
});
|
|
5222
|
+
return sum;
|
|
5223
|
+
}
|
|
5194
5224
|
|
|
5195
5225
|
// src/api/conversion/documentation/documentation-item-configuration-v1-to-dto.ts
|
|
5196
5226
|
var getDtoDefaultItemConfigurationV1 = () => ({
|
|
@@ -5258,7 +5288,7 @@ function calculateElementParentChain(elementParentPersistentId, groupPersistentI
|
|
|
5258
5288
|
while (parentId) {
|
|
5259
5289
|
const parent = groupPersistentIdToGroupMap.get(parentId);
|
|
5260
5290
|
if (parent) result.push(parent);
|
|
5261
|
-
parentId = _optionalChain([parent, 'optionalAccess',
|
|
5291
|
+
parentId = _optionalChain([parent, 'optionalAccess', _8 => _8.parentPersistentId]);
|
|
5262
5292
|
}
|
|
5263
5293
|
return result;
|
|
5264
5294
|
}
|
|
@@ -5267,7 +5297,7 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
|
|
|
5267
5297
|
...group,
|
|
5268
5298
|
data: {
|
|
5269
5299
|
...group.data,
|
|
5270
|
-
configuration: _nullishCoalesce(_optionalChain([group, 'access',
|
|
5300
|
+
configuration: _nullishCoalesce(_optionalChain([group, 'access', _9 => _9.data, 'optionalAccess', _10 => _10.configuration]), () => ( getDefaultItemConfiguration()))
|
|
5271
5301
|
}
|
|
5272
5302
|
}));
|
|
5273
5303
|
const groupPersistentIdToGroupMap = mapByUnique(fixedGroups, (group) => group.persistentId);
|
|
@@ -5278,8 +5308,8 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
|
|
|
5278
5308
|
while ((!isHidden || !isPrivate) && nextParentId) {
|
|
5279
5309
|
const parent = groupPersistentIdToGroupMap.get(nextParentId);
|
|
5280
5310
|
if (!parent) break;
|
|
5281
|
-
isHidden = isHidden || _optionalChain([parent, 'access',
|
|
5282
|
-
isPrivate = isPrivate || _optionalChain([parent, 'access',
|
|
5311
|
+
isHidden = isHidden || _optionalChain([parent, 'access', _11 => _11.data, 'optionalAccess', _12 => _12.configuration, 'optionalAccess', _13 => _13.isHidden]) || false;
|
|
5312
|
+
isPrivate = isPrivate || _optionalChain([parent, 'access', _14 => _14.data, 'optionalAccess', _15 => _15.configuration, 'optionalAccess', _16 => _16.isPrivate]) || false;
|
|
5283
5313
|
nextParentId = parent.parentPersistentId;
|
|
5284
5314
|
}
|
|
5285
5315
|
groupToFix.data.configuration.isHidden = isHidden;
|
|
@@ -5287,7 +5317,7 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
|
|
|
5287
5317
|
}
|
|
5288
5318
|
const fixedPages = [];
|
|
5289
5319
|
for (const page of pages) {
|
|
5290
|
-
const configuration = _nullishCoalesce(_optionalChain([page, 'access',
|
|
5320
|
+
const configuration = _nullishCoalesce(_optionalChain([page, 'access', _17 => _17.data, 'optionalAccess', _18 => _18.configuration]), () => ( getDefaultItemConfiguration()));
|
|
5291
5321
|
const parent = groupPersistentIdToGroupMap.get(page.parentPersistentId);
|
|
5292
5322
|
fixedPages.push({
|
|
5293
5323
|
...page,
|
|
@@ -5295,8 +5325,8 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
|
|
|
5295
5325
|
...page.data,
|
|
5296
5326
|
configuration: {
|
|
5297
5327
|
...configuration,
|
|
5298
|
-
isHidden: configuration.isHidden || _optionalChain([parent, 'optionalAccess',
|
|
5299
|
-
isPrivate: configuration.isPrivate || _optionalChain([parent, 'optionalAccess',
|
|
5328
|
+
isHidden: configuration.isHidden || _optionalChain([parent, 'optionalAccess', _19 => _19.data, 'optionalAccess', _20 => _20.configuration, 'optionalAccess', _21 => _21.isHidden]) || false,
|
|
5329
|
+
isPrivate: configuration.isPrivate || _optionalChain([parent, 'optionalAccess', _22 => _22.data, 'optionalAccess', _23 => _23.configuration, 'optionalAccess', _24 => _24.isPrivate]) || false
|
|
5300
5330
|
}
|
|
5301
5331
|
}
|
|
5302
5332
|
});
|
|
@@ -5314,7 +5344,7 @@ function elementGroupsToDocumentationGroupDTOV1(groups, pages) {
|
|
|
5314
5344
|
return groups.map((group) => {
|
|
5315
5345
|
return {
|
|
5316
5346
|
...elementGroupToDocumentationGroupStructureDTOV1(group, childrenIdsMap),
|
|
5317
|
-
configuration: documentationItemConfigurationToDTOV1(_optionalChain([group, 'access',
|
|
5347
|
+
configuration: documentationItemConfigurationToDTOV1(_optionalChain([group, 'access', _25 => _25.data, 'optionalAccess', _26 => _26.configuration]))
|
|
5318
5348
|
};
|
|
5319
5349
|
});
|
|
5320
5350
|
}
|
|
@@ -5322,7 +5352,7 @@ function elementGroupsToDocumentationGroupFixedConfigurationDTOV1(groups, pages)
|
|
|
5322
5352
|
const childrenIdsMap = calculateChildrenIdsMapV1(pages, groups);
|
|
5323
5353
|
const { groups: fixedGroups } = applyPrivacyConfigurationToNestedItems(pages, groups, getDtoDefaultItemConfigurationV1);
|
|
5324
5354
|
return fixedGroups.map((group) => {
|
|
5325
|
-
const configuration = documentationItemConfigurationToDTOV1(_optionalChain([group, 'access',
|
|
5355
|
+
const configuration = documentationItemConfigurationToDTOV1(_optionalChain([group, 'access', _27 => _27.data, 'optionalAccess', _28 => _28.configuration]));
|
|
5326
5356
|
return {
|
|
5327
5357
|
...elementGroupToDocumentationGroupStructureDTOV1(group, childrenIdsMap),
|
|
5328
5358
|
// backward compatibility with custom doc exporters, anyway these groups will not be shown, so we can adjust title
|
|
@@ -5347,7 +5377,7 @@ function elementGroupToDocumentationGroupStructureDTOV1(group, childrenIdsMap) {
|
|
|
5347
5377
|
title: group.meta.name,
|
|
5348
5378
|
childrenIds,
|
|
5349
5379
|
isRoot: !group.parentPersistentId,
|
|
5350
|
-
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access',
|
|
5380
|
+
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access', _29 => _29.data, 'optionalAccess', _30 => _30.behavior]), () => ( "Group")),
|
|
5351
5381
|
shortPersistentId: group.shortPersistentId,
|
|
5352
5382
|
type: "Group"
|
|
5353
5383
|
};
|
|
@@ -5414,10 +5444,10 @@ function elementGroupToDocumentationGroupStructureDTOV2(group, childrenIdsMap) {
|
|
|
5414
5444
|
createdAt: group.createdAt,
|
|
5415
5445
|
updatedAt: group.updatedAt,
|
|
5416
5446
|
title: group.meta.name,
|
|
5417
|
-
configuration: documentationItemConfigurationToDTOV2(_optionalChain([group, 'optionalAccess',
|
|
5447
|
+
configuration: documentationItemConfigurationToDTOV2(_optionalChain([group, 'optionalAccess', _31 => _31.data, 'optionalAccess', _32 => _32.configuration])),
|
|
5418
5448
|
childrenIds,
|
|
5419
5449
|
isRoot: !group.parentPersistentId,
|
|
5420
|
-
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access',
|
|
5450
|
+
groupBehavior: _nullishCoalesce(_optionalChain([group, 'access', _33 => _33.data, 'optionalAccess', _34 => _34.behavior]), () => ( "Group")),
|
|
5421
5451
|
shortPersistentId: group.shortPersistentId,
|
|
5422
5452
|
type: "Group"
|
|
5423
5453
|
};
|
|
@@ -5570,7 +5600,7 @@ function integrationToDto(integration) {
|
|
|
5570
5600
|
workspaceId: integration.workspaceId,
|
|
5571
5601
|
type: integration.type,
|
|
5572
5602
|
createdAt: integration.createdAt,
|
|
5573
|
-
integrationCredentials: _optionalChain([integration, 'access',
|
|
5603
|
+
integrationCredentials: _optionalChain([integration, 'access', _35 => _35.integrationCredentials, 'optionalAccess', _36 => _36.map, 'call', _37 => _37(integrationCredentialToDto)]),
|
|
5574
5604
|
integrationDesignSystems: _nullishCoalesce(integration.integrationDesignSystems, () => ( void 0))
|
|
5575
5605
|
};
|
|
5576
5606
|
}
|
|
@@ -5640,16 +5670,11 @@ var DTOBrandUpdatePayload = _zod.z.object({
|
|
|
5640
5670
|
|
|
5641
5671
|
// src/api/dto/design-systems/code-component.ts
|
|
5642
5672
|
|
|
5673
|
+
var DTOCodeComponentResolvedTypeKind = CodeComponentResolvedTypeKind;
|
|
5674
|
+
var DTOCodeComponentResolvedType = CodeComponentResolvedType;
|
|
5675
|
+
var DTOCodeComponentParentType = CodeComponentParentType;
|
|
5643
5676
|
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
|
-
});
|
|
5677
|
+
var DTOCodeComponent = CodeComponent;
|
|
5653
5678
|
var DTOCodeComponentResponse = _zod.z.object({
|
|
5654
5679
|
codeComponent: DTOCodeComponent
|
|
5655
5680
|
});
|
|
@@ -5659,11 +5684,15 @@ var DTOCodeComponentListResponse = _zod.z.object({
|
|
|
5659
5684
|
var DTOCodeComponentCreateInput = _zod.z.object({
|
|
5660
5685
|
persistentId: _zod.z.string(),
|
|
5661
5686
|
exportName: _zod.z.string(),
|
|
5662
|
-
|
|
5687
|
+
componentPath: _zod.z.string(),
|
|
5688
|
+
description: _zod.z.string(),
|
|
5689
|
+
properties: _zod.z.record(_zod.z.string(), DTOCodeComponentProperty),
|
|
5690
|
+
tags: _zod.z.record(_zod.z.string(), _zod.z.string()).optional()
|
|
5663
5691
|
});
|
|
5664
5692
|
var DTOCodeComponentsCreateInput = _zod.z.object({
|
|
5665
5693
|
codeComponents: DTOCodeComponentCreateInput.array()
|
|
5666
5694
|
});
|
|
5695
|
+
var DTOCodeComponentUpsertResponse = CodeComponentUpsertResponse;
|
|
5667
5696
|
|
|
5668
5697
|
// src/api/dto/design-systems/component.ts
|
|
5669
5698
|
|
|
@@ -6232,17 +6261,15 @@ var DTOUpdateVersionInput = _zod.z.object({
|
|
|
6232
6261
|
|
|
6233
6262
|
// src/api/payloads/documentation/analytics.ts
|
|
6234
6263
|
|
|
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
6264
|
var DTODocumentationAnalyticsTimeFrameComparison = _zod.z.object({
|
|
6244
|
-
referencePeriod:
|
|
6245
|
-
|
|
6265
|
+
referencePeriod: _zod.z.object({
|
|
6266
|
+
start: _zod.z.coerce.date(),
|
|
6267
|
+
end: _zod.z.coerce.date().optional()
|
|
6268
|
+
}),
|
|
6269
|
+
baselinePeriod: _zod.z.object({
|
|
6270
|
+
start: _zod.z.coerce.date(),
|
|
6271
|
+
end: _zod.z.coerce.date().optional()
|
|
6272
|
+
})
|
|
6246
6273
|
});
|
|
6247
6274
|
var DTODocumentationAnalyticsDiffPayload = _zod.z.object({
|
|
6248
6275
|
timeFrames: _zod.z.array(DTODocumentationAnalyticsTimeFrameComparison)
|
|
@@ -6806,27 +6833,80 @@ var DTODesignTokenGroupCreatePayload = _zod.z.object({
|
|
|
6806
6833
|
childrenIds: _zod.z.string().array()
|
|
6807
6834
|
});
|
|
6808
6835
|
|
|
6809
|
-
// src/api/dto/documentation/analytics.ts
|
|
6836
|
+
// src/api/dto/documentation/analytics-v2.ts
|
|
6810
6837
|
|
|
6811
|
-
var
|
|
6838
|
+
var DTODocumentationAnalyticsTimeFrame = _zod.z.object({
|
|
6839
|
+
start: _zod.z.coerce.date(),
|
|
6840
|
+
end: _zod.z.coerce.date().optional()
|
|
6841
|
+
});
|
|
6842
|
+
var DTOPublishedDocVisitData = _zod.z.object({
|
|
6843
|
+
timestamp: _zod.z.coerce.date(),
|
|
6812
6844
|
versionId: _zod.z.string(),
|
|
6813
|
-
pagePersistentId: _zod.z.string(),
|
|
6814
6845
|
locale: _zod.z.string().optional(),
|
|
6815
|
-
timestamp: _zod.z.coerce.date(),
|
|
6816
6846
|
visits: _zod.z.number(),
|
|
6817
6847
|
sessions: _zod.z.number()
|
|
6818
6848
|
});
|
|
6849
|
+
var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
|
|
6850
|
+
pagePersistentId: _zod.z.string()
|
|
6851
|
+
});
|
|
6852
|
+
var DTOPublishedDocVisitHeatMapDay = _zod.z.number().array().length(12);
|
|
6853
|
+
var DTOPublishedDocVisitHeatMapWeek = _zod.z.object({
|
|
6854
|
+
/**
|
|
6855
|
+
* For which timeframe it was calculated
|
|
6856
|
+
*/
|
|
6857
|
+
timeFrame: DTODocumentationAnalyticsTimeFrame,
|
|
6858
|
+
mon: DTOPublishedDocVisitHeatMapDay,
|
|
6859
|
+
tue: DTOPublishedDocVisitHeatMapDay,
|
|
6860
|
+
wed: DTOPublishedDocVisitHeatMapDay,
|
|
6861
|
+
thu: DTOPublishedDocVisitHeatMapDay,
|
|
6862
|
+
fri: DTOPublishedDocVisitHeatMapDay,
|
|
6863
|
+
sat: DTOPublishedDocVisitHeatMapDay,
|
|
6864
|
+
sun: DTOPublishedDocVisitHeatMapDay
|
|
6865
|
+
});
|
|
6866
|
+
var DTOPublishedDocAnalyticsComparisonData = _zod.z.object({
|
|
6867
|
+
/**
|
|
6868
|
+
* For which timeframe it was calculated
|
|
6869
|
+
*/
|
|
6870
|
+
timeFrame: DTODocumentationAnalyticsTimeFrame,
|
|
6871
|
+
priorVisitCount: _zod.z.number(),
|
|
6872
|
+
priorSessionCount: _zod.z.number(),
|
|
6873
|
+
currentVisitCount: _zod.z.number(),
|
|
6874
|
+
currentSessionCount: _zod.z.number()
|
|
6875
|
+
});
|
|
6876
|
+
var DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData.extend({
|
|
6877
|
+
pagePersistentId: _zod.z.string()
|
|
6878
|
+
});
|
|
6879
|
+
var DTODocumentationPageAnalyticsResponse = _zod.z.object({
|
|
6880
|
+
// Old
|
|
6881
|
+
/**
|
|
6882
|
+
* @deprecated
|
|
6883
|
+
*/
|
|
6884
|
+
analytics: _zod.z.array(DTOPublishedDocPageVisitData),
|
|
6885
|
+
/**
|
|
6886
|
+
* @deprecated
|
|
6887
|
+
*/
|
|
6888
|
+
perPageAnalytics: DTOPublishedDocPageVisitData.array(),
|
|
6889
|
+
// New
|
|
6890
|
+
globalAnalytics: DTOPublishedDocVisitData.array(),
|
|
6891
|
+
pageAnalytics: DTOPublishedDocPageVisitData.array(),
|
|
6892
|
+
heatMapData: DTOPublishedDocVisitHeatMapWeek.array(),
|
|
6893
|
+
comparisonData: DTOPublishedDocAnalyticsComparisonData.array(),
|
|
6894
|
+
pageComparisonData: DTOPublishedDocPageAnalyticsComparisonData.array()
|
|
6895
|
+
});
|
|
6896
|
+
var DTODocumentationAnalyticsRequest = _zod.z.object({
|
|
6897
|
+
timeFrames: _zod.z.array(DTODocumentationAnalyticsTimeFrame)
|
|
6898
|
+
});
|
|
6899
|
+
|
|
6900
|
+
// src/api/dto/documentation/analytics.ts
|
|
6901
|
+
|
|
6819
6902
|
var DTODocumentationPageAnalyticsDifference = _zod.z.object({
|
|
6820
6903
|
startDate: _zod.z.coerce.date(),
|
|
6821
|
-
endDate: _zod.z.coerce.date(),
|
|
6904
|
+
endDate: _zod.z.coerce.date().optional(),
|
|
6822
6905
|
currentVisitCount: _zod.z.number(),
|
|
6823
6906
|
currentSessionCount: _zod.z.number(),
|
|
6824
6907
|
priorVisitCount: _zod.z.number(),
|
|
6825
6908
|
priorSessionCount: _zod.z.number()
|
|
6826
6909
|
});
|
|
6827
|
-
var DTODocumentationPageAnalyticsResponse = _zod.z.object({
|
|
6828
|
-
analytics: _zod.z.array(DTOPublishedDocPageVisitData)
|
|
6829
|
-
});
|
|
6830
6910
|
var DTODocumentationPageIntervalDifferenceResponse = _zod.z.object({
|
|
6831
6911
|
differences: _zod.z.array(DTODocumentationPageAnalyticsDifference)
|
|
6832
6912
|
});
|
|
@@ -7540,6 +7620,28 @@ var DTODocumentationPageContentGetResponse = _zod.z.object({
|
|
|
7540
7620
|
pageContent: DTODocumentationPageContent
|
|
7541
7621
|
});
|
|
7542
7622
|
|
|
7623
|
+
// src/api/dto/elements/documentation/page-dependencies.ts
|
|
7624
|
+
|
|
7625
|
+
var DTODocumentationPageDependencies = _zod.z.object({
|
|
7626
|
+
id: _zod.z.string(),
|
|
7627
|
+
designSystemVersionId: _zod.z.string(),
|
|
7628
|
+
createdAt: _zod.z.coerce.date(),
|
|
7629
|
+
updatedAt: _zod.z.coerce.date(),
|
|
7630
|
+
documentationPageId: _zod.z.string(),
|
|
7631
|
+
tokenPersistentIds: _zod.z.array(_zod.z.string()),
|
|
7632
|
+
figmaComponentPersistentIds: _zod.z.array(_zod.z.string()),
|
|
7633
|
+
componentPersistentIds: _zod.z.array(_zod.z.string()),
|
|
7634
|
+
figmaNodePersistentIds: _zod.z.array(_zod.z.string()),
|
|
7635
|
+
groupPersistentIds: _zod.z.array(_zod.z.string()),
|
|
7636
|
+
propertyPersistentIds: _zod.z.array(_zod.z.string()),
|
|
7637
|
+
themePersistentIds: _zod.z.array(_zod.z.string()),
|
|
7638
|
+
documentationPagePersistentIds: _zod.z.array(_zod.z.string()),
|
|
7639
|
+
storybookEntriesStoryIds: _zod.z.array(_zod.z.string())
|
|
7640
|
+
});
|
|
7641
|
+
var DTODocumentationPageDependenciesGetResponse = _zod.z.object({
|
|
7642
|
+
dependencies: _zod.z.array(DTODocumentationPageDependencies)
|
|
7643
|
+
});
|
|
7644
|
+
|
|
7543
7645
|
// src/api/dto/elements/documentation/page-v1.ts
|
|
7544
7646
|
|
|
7545
7647
|
var DocumentationPageV1DTO = DocumentationPageV1.omit({
|
|
@@ -8302,7 +8404,7 @@ var CodeComponentsEndpoint = class {
|
|
|
8302
8404
|
async import(dsId, vId, body) {
|
|
8303
8405
|
return this.requestExecutor.json(
|
|
8304
8406
|
`/design-systems/${dsId}/versions/${vId}/code-components`,
|
|
8305
|
-
|
|
8407
|
+
DTOCodeComponentUpsertResponse,
|
|
8306
8408
|
{
|
|
8307
8409
|
body,
|
|
8308
8410
|
method: "POST"
|
|
@@ -8743,17 +8845,11 @@ var DesignSystemAnalyticsEndpoint = class {
|
|
|
8743
8845
|
constructor(requestExecutor) {
|
|
8744
8846
|
this.requestExecutor = requestExecutor;
|
|
8745
8847
|
}
|
|
8746
|
-
get(designSystemId, versionId,
|
|
8848
|
+
get(designSystemId, versionId, body) {
|
|
8747
8849
|
return this.requestExecutor.json(
|
|
8748
8850
|
`/design-systems/${designSystemId}/versions/${versionId}/documentation/analytics`,
|
|
8749
8851
|
DTODocumentationPageAnalyticsResponse,
|
|
8750
|
-
{
|
|
8751
|
-
method: "GET",
|
|
8752
|
-
query: new URLSearchParams({
|
|
8753
|
-
start: query.start.toISOString(),
|
|
8754
|
-
...query.end && { end: query.end.toISOString() }
|
|
8755
|
-
})
|
|
8756
|
-
}
|
|
8852
|
+
{ method: "POST", body }
|
|
8757
8853
|
);
|
|
8758
8854
|
}
|
|
8759
8855
|
};
|
|
@@ -9207,7 +9303,7 @@ var RequestExecutor = class {
|
|
|
9207
9303
|
}
|
|
9208
9304
|
fullUrl(path, query) {
|
|
9209
9305
|
let url = `https://${this.testServerConfig.host}/api/v2${path}`;
|
|
9210
|
-
const queryString = _optionalChain([query, 'optionalAccess',
|
|
9306
|
+
const queryString = _optionalChain([query, 'optionalAccess', _38 => _38.toString, 'call', _39 => _39()]);
|
|
9211
9307
|
if (queryString) url += `?${queryString}`;
|
|
9212
9308
|
return url;
|
|
9213
9309
|
}
|
|
@@ -9537,7 +9633,7 @@ function buildPageDraftCreatedAndUpdatedStates(pages, pageSnapshots, pageHashes,
|
|
|
9537
9633
|
if (snapshot) {
|
|
9538
9634
|
publishedState = itemStateFromPage(snapshot.page, snapshot.pageContentHash);
|
|
9539
9635
|
}
|
|
9540
|
-
const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess',
|
|
9636
|
+
const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess', _40 => _40.pageContentHash]))), () => ( ""));
|
|
9541
9637
|
const currentState = itemStateFromPage(page, currentPageContentHash);
|
|
9542
9638
|
const draftState = createDraftState(page.persistentId, currentState, publishedState, debug);
|
|
9543
9639
|
if (draftState) result.set(page.persistentId, draftState);
|
|
@@ -9670,7 +9766,7 @@ function buildGroupDraftCreatedAndUpdatedStates(groups, groupSnapshots, debug) {
|
|
|
9670
9766
|
function itemStateFromGroup(group) {
|
|
9671
9767
|
return {
|
|
9672
9768
|
title: group.meta.name,
|
|
9673
|
-
configuration: _nullishCoalesce(_optionalChain([group, 'access',
|
|
9769
|
+
configuration: _nullishCoalesce(_optionalChain([group, 'access', _41 => _41.data, 'optionalAccess', _42 => _42.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
|
|
9674
9770
|
contentHash: "-"
|
|
9675
9771
|
};
|
|
9676
9772
|
}
|
|
@@ -9831,7 +9927,7 @@ var DTODocumentationPageRoomHeaderDataUpdate = _zod.z.object({
|
|
|
9831
9927
|
function itemConfigurationToYjs(yDoc, item) {
|
|
9832
9928
|
yDoc.transact((trx) => {
|
|
9833
9929
|
const { title, configuration } = item;
|
|
9834
|
-
const header = _optionalChain([configuration, 'optionalAccess',
|
|
9930
|
+
const header = _optionalChain([configuration, 'optionalAccess', _43 => _43.header]);
|
|
9835
9931
|
if (title !== void 0) {
|
|
9836
9932
|
const headerYMap = trx.doc.getMap("itemTitle");
|
|
9837
9933
|
headerYMap.set("title", title);
|
|
@@ -9849,9 +9945,9 @@ function itemConfigurationToYjs(yDoc, item) {
|
|
|
9849
9945
|
header.minHeight !== void 0 && headerYMap.set("minHeight", header.minHeight);
|
|
9850
9946
|
}
|
|
9851
9947
|
const configYMap = trx.doc.getMap("itemConfiguration");
|
|
9852
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
9853
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
9854
|
-
_optionalChain([configuration, 'optionalAccess',
|
|
9948
|
+
_optionalChain([configuration, 'optionalAccess', _44 => _44.showSidebar]) !== void 0 && configYMap.set("showSidebar", configuration.showSidebar);
|
|
9949
|
+
_optionalChain([configuration, 'optionalAccess', _45 => _45.isHidden]) !== void 0 && configYMap.set("isHidden", configuration.isHidden);
|
|
9950
|
+
_optionalChain([configuration, 'optionalAccess', _46 => _46.isPrivate]) !== void 0 && configYMap.set("isPrivate", configuration.isPrivate);
|
|
9855
9951
|
});
|
|
9856
9952
|
}
|
|
9857
9953
|
function yjsToItemConfiguration(yDoc) {
|
|
@@ -10701,7 +10797,7 @@ var ListTreeBuilder = class {
|
|
|
10701
10797
|
}
|
|
10702
10798
|
addWithProperty(block, multiRichTextProperty) {
|
|
10703
10799
|
const parsedOptions = PageBlockDefinitionMutiRichTextOptions.optional().parse(multiRichTextProperty.options);
|
|
10704
|
-
return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess',
|
|
10800
|
+
return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess', _47 => _47.multiRichTextStyle]) || "OL");
|
|
10705
10801
|
}
|
|
10706
10802
|
add(block, multiRichTextPropertyId, multiRichTextPropertyStyle) {
|
|
10707
10803
|
const list = this.createList(block, multiRichTextPropertyId, multiRichTextPropertyStyle);
|
|
@@ -10716,7 +10812,7 @@ var ListTreeBuilder = class {
|
|
|
10716
10812
|
}
|
|
10717
10813
|
const listParent = this.getParentOfDepth(block.data.indentLevel);
|
|
10718
10814
|
const lastChild = listParent.children[listParent.children.length - 1];
|
|
10719
|
-
if (_optionalChain([lastChild, 'optionalAccess',
|
|
10815
|
+
if (_optionalChain([lastChild, 'optionalAccess', _48 => _48.type]) === "List") {
|
|
10720
10816
|
lastChild.children.push(...list.leadingChildren);
|
|
10721
10817
|
return;
|
|
10722
10818
|
} else {
|
|
@@ -10945,7 +11041,7 @@ function serializeAsRichTextBlock(input) {
|
|
|
10945
11041
|
const textPropertyValue = BlockParsingUtils.richTextPropertyValue(blockItem, richTextProperty.id);
|
|
10946
11042
|
const enrichedInput = { ...input, richTextPropertyValue: textPropertyValue };
|
|
10947
11043
|
const parsedOptions = PageBlockDefinitionRichTextOptions.optional().parse(richTextProperty.options);
|
|
10948
|
-
const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess',
|
|
11044
|
+
const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess', _49 => _49.richTextStyle]), () => ( "Default"));
|
|
10949
11045
|
switch (style) {
|
|
10950
11046
|
case "Callout":
|
|
10951
11047
|
return serializeAsCallout(enrichedInput);
|
|
@@ -11169,7 +11265,7 @@ function serializeBlockNodeAttributes(block) {
|
|
|
11169
11265
|
};
|
|
11170
11266
|
}
|
|
11171
11267
|
function richTextHeadingLevel(property) {
|
|
11172
|
-
const style = _optionalChain([property, 'access',
|
|
11268
|
+
const style = _optionalChain([property, 'access', _50 => _50.options, 'optionalAccess', _51 => _51.richTextStyle]);
|
|
11173
11269
|
if (!style) return void 0;
|
|
11174
11270
|
switch (style) {
|
|
11175
11271
|
case "Title1":
|
|
@@ -11288,7 +11384,7 @@ function serializeAsCustomBlock(block, definition) {
|
|
|
11288
11384
|
linksTo: i.linksTo
|
|
11289
11385
|
};
|
|
11290
11386
|
});
|
|
11291
|
-
const columns = _optionalChain([block, 'access',
|
|
11387
|
+
const columns = _optionalChain([block, 'access', _52 => _52.data, 'access', _53 => _53.appearance, 'optionalAccess', _54 => _54.numberOfColumns]);
|
|
11292
11388
|
return {
|
|
11293
11389
|
type: serializeCustomBlockNodeType(block, definition),
|
|
11294
11390
|
attrs: {
|
|
@@ -12303,23 +12399,68 @@ var blocks = [
|
|
|
12303
12399
|
id: "embed",
|
|
12304
12400
|
name: "Storybook URL",
|
|
12305
12401
|
type: "Storybook",
|
|
12306
|
-
options: {
|
|
12402
|
+
options: {
|
|
12403
|
+
allowCaption: true,
|
|
12404
|
+
allowResize: true,
|
|
12405
|
+
defaultHeight: 400,
|
|
12406
|
+
renderLayoutAs: "Iframe"
|
|
12407
|
+
},
|
|
12408
|
+
variantOptions: {
|
|
12409
|
+
playground: {
|
|
12410
|
+
renderLayoutAs: "Playground",
|
|
12411
|
+
defaultHeight: 400,
|
|
12412
|
+
allowResize: true
|
|
12413
|
+
}
|
|
12414
|
+
}
|
|
12307
12415
|
}
|
|
12308
12416
|
],
|
|
12309
|
-
appearance: {
|
|
12417
|
+
appearance: {
|
|
12418
|
+
isBordered: true,
|
|
12419
|
+
hasBackground: false
|
|
12420
|
+
},
|
|
12310
12421
|
variants: [
|
|
12422
|
+
{
|
|
12423
|
+
id: "playground",
|
|
12424
|
+
name: "Playground",
|
|
12425
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/storybook-playground.svg",
|
|
12426
|
+
description: "Embed a Storybook story with a preview of the component and controls to adjust the props.",
|
|
12427
|
+
layout: {
|
|
12428
|
+
type: "Column",
|
|
12429
|
+
children: ["embed"],
|
|
12430
|
+
columnAlign: "Start",
|
|
12431
|
+
columnResizing: "Fill",
|
|
12432
|
+
gap: "Medium"
|
|
12433
|
+
},
|
|
12434
|
+
maxColumns: 1,
|
|
12435
|
+
defaultColumns: 1,
|
|
12436
|
+
appearance: {}
|
|
12437
|
+
},
|
|
12311
12438
|
{
|
|
12312
12439
|
id: "default",
|
|
12313
|
-
name: "
|
|
12314
|
-
|
|
12440
|
+
name: "HTML iframe",
|
|
12441
|
+
image: "https://cdn-assets.supernova.io/blocks/variants/storybook-iframe.svg",
|
|
12442
|
+
description: "Embed a Storybook story in an iframe.",
|
|
12443
|
+
layout: {
|
|
12444
|
+
type: "Column",
|
|
12445
|
+
children: ["embed"],
|
|
12446
|
+
columnAlign: "Start",
|
|
12447
|
+
columnResizing: "Fill",
|
|
12448
|
+
gap: "Medium"
|
|
12449
|
+
},
|
|
12315
12450
|
maxColumns: 1,
|
|
12316
12451
|
defaultColumns: 1,
|
|
12317
12452
|
appearance: {}
|
|
12318
12453
|
}
|
|
12319
12454
|
],
|
|
12320
|
-
defaultVariantKey: "
|
|
12455
|
+
defaultVariantKey: "playground"
|
|
12456
|
+
},
|
|
12457
|
+
behavior: {
|
|
12458
|
+
dataType: "Item",
|
|
12459
|
+
items: {
|
|
12460
|
+
numberOfItems: 1,
|
|
12461
|
+
allowLinks: false
|
|
12462
|
+
}
|
|
12321
12463
|
},
|
|
12322
|
-
behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
|
|
12323
12464
|
editorOptions: {
|
|
12324
12465
|
onboarding: {
|
|
12325
12466
|
helpText: "Embed a Storybook story to your documentation.",
|
|
@@ -13484,7 +13625,7 @@ function parseAsListNode(prosemirrorNode) {
|
|
|
13484
13625
|
}
|
|
13485
13626
|
function parseAsListNodeItem(prosemirrorNode) {
|
|
13486
13627
|
if (prosemirrorNode.type !== "listItem") return null;
|
|
13487
|
-
const firstChild = _optionalChain([prosemirrorNode, 'access',
|
|
13628
|
+
const firstChild = _optionalChain([prosemirrorNode, 'access', _55 => _55.content, 'optionalAccess', _56 => _56[0]]);
|
|
13488
13629
|
if (!firstChild || firstChild.type !== "paragraph") return null;
|
|
13489
13630
|
return parseRichText(_nullishCoalesce(firstChild.content, () => ( [])));
|
|
13490
13631
|
}
|
|
@@ -13632,9 +13773,9 @@ function parseAsMultiRichText(prosemirrorNode, definition, property, definitions
|
|
|
13632
13773
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
13633
13774
|
const result = [];
|
|
13634
13775
|
const listItems = [];
|
|
13635
|
-
_optionalChain([prosemirrorNode, 'access',
|
|
13776
|
+
_optionalChain([prosemirrorNode, 'access', _57 => _57.content, 'optionalAccess', _58 => _58.forEach, 'call', _59 => _59((c) => {
|
|
13636
13777
|
if (c.type !== "listItem") return;
|
|
13637
|
-
_optionalChain([c, 'access',
|
|
13778
|
+
_optionalChain([c, 'access', _60 => _60.content, 'optionalAccess', _61 => _61.forEach, 'call', _62 => _62((cc) => {
|
|
13638
13779
|
listItems.push(cc);
|
|
13639
13780
|
})]);
|
|
13640
13781
|
})]);
|
|
@@ -13745,17 +13886,17 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
13745
13886
|
if (!id) return null;
|
|
13746
13887
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
13747
13888
|
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", _zod.z.boolean().optional()) !== false;
|
|
13748
|
-
const tableChild = _optionalChain([prosemirrorNode, 'access',
|
|
13889
|
+
const tableChild = _optionalChain([prosemirrorNode, 'access', _63 => _63.content, 'optionalAccess', _64 => _64.find, 'call', _65 => _65((c) => c.type === "table")]);
|
|
13749
13890
|
if (!tableChild) {
|
|
13750
13891
|
return emptyTable(id, variantId, 0);
|
|
13751
13892
|
}
|
|
13752
|
-
const rows = _nullishCoalesce(_optionalChain([tableChild, 'access',
|
|
13893
|
+
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
13894
|
if (!rows.length) {
|
|
13754
13895
|
return emptyTable(id, variantId, 0);
|
|
13755
13896
|
}
|
|
13756
|
-
const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access',
|
|
13757
|
-
const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access',
|
|
13758
|
-
const hasHeaderRow = _optionalChain([rows, 'access',
|
|
13897
|
+
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));
|
|
13898
|
+
const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _76 => _76.content, 'optionalAccess', _77 => _77[0], 'optionalAccess', _78 => _78.type]) === "tableHeader").length;
|
|
13899
|
+
const hasHeaderRow = _optionalChain([rows, 'access', _79 => _79[0], 'access', _80 => _80.content, 'optionalAccess', _81 => _81.length]) === rowHeaderCells;
|
|
13759
13900
|
const hasHeaderColumn = rows.length === columnHeaderCells;
|
|
13760
13901
|
const tableValue = {
|
|
13761
13902
|
showBorder: hasBorder,
|
|
@@ -13832,7 +13973,7 @@ function parseAsTableNode(prosemirrorNode) {
|
|
|
13832
13973
|
if (!items) return null;
|
|
13833
13974
|
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
13834
13975
|
if (!parsedItems.success) return null;
|
|
13835
|
-
const rawImagePropertyValue = _optionalChain([parsedItems, 'access',
|
|
13976
|
+
const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _82 => _82.data, 'access', _83 => _83[0], 'optionalAccess', _84 => _84.props, 'access', _85 => _85.image]);
|
|
13836
13977
|
if (!rawImagePropertyValue) return null;
|
|
13837
13978
|
const imagePropertyValueParseResult = PageBlockItemImageValue.safeParse(rawImagePropertyValue);
|
|
13838
13979
|
if (!imagePropertyValueParseResult.success) return null;
|
|
@@ -14071,7 +14212,7 @@ function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
|
14071
14212
|
return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(_zod.z.string()));
|
|
14072
14213
|
}
|
|
14073
14214
|
function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
|
|
14074
|
-
const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access',
|
|
14215
|
+
const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access', _86 => _86.attrs, 'optionalAccess', _87 => _87[attributeName]]));
|
|
14075
14216
|
if (parsedAttr.success) {
|
|
14076
14217
|
return parsedAttr.data;
|
|
14077
14218
|
} else {
|
|
@@ -14317,9 +14458,9 @@ var LocalDocsElementActionExecutor = class {
|
|
|
14317
14458
|
...existingGroup.data,
|
|
14318
14459
|
// TODO Artem: move somewhere reusable
|
|
14319
14460
|
configuration: input.configuration ? {
|
|
14320
|
-
..._nullishCoalesce(_optionalChain([existingGroup, 'access',
|
|
14461
|
+
..._nullishCoalesce(_optionalChain([existingGroup, 'access', _88 => _88.data, 'optionalAccess', _89 => _89.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
|
|
14321
14462
|
...input.configuration
|
|
14322
|
-
} : _optionalChain([existingGroup, 'access',
|
|
14463
|
+
} : _optionalChain([existingGroup, 'access', _90 => _90.data, 'optionalAccess', _91 => _91.configuration])
|
|
14323
14464
|
}
|
|
14324
14465
|
};
|
|
14325
14466
|
this.groups.set(localGroup.persistentId, localGroup);
|
|
@@ -14360,7 +14501,7 @@ var LocalDocsElementActionExecutor = class {
|
|
|
14360
14501
|
updatedAt: /* @__PURE__ */ new Date(),
|
|
14361
14502
|
data: {
|
|
14362
14503
|
behavior: "Tabs",
|
|
14363
|
-
configuration: _optionalChain([page, 'optionalAccess',
|
|
14504
|
+
configuration: _optionalChain([page, 'optionalAccess', _92 => _92.data, 'access', _93 => _93.configuration])
|
|
14364
14505
|
},
|
|
14365
14506
|
sortOrder: page.sortOrder,
|
|
14366
14507
|
designSystemVersionId: this.designSystemVersionId
|
|
@@ -14384,7 +14525,7 @@ var LocalDocsElementActionExecutor = class {
|
|
|
14384
14525
|
if (input.approvalState) {
|
|
14385
14526
|
this.approvalStates.set(input.persistentId, {
|
|
14386
14527
|
approvalState: input.approvalState,
|
|
14387
|
-
createdAt: _nullishCoalesce(_optionalChain([existingApproval, 'optionalAccess',
|
|
14528
|
+
createdAt: _nullishCoalesce(_optionalChain([existingApproval, 'optionalAccess', _94 => _94.createdAt]), () => ( /* @__PURE__ */ new Date())),
|
|
14388
14529
|
designSystemVersionId: this.designSystemVersionId,
|
|
14389
14530
|
pagePersistentId: input.persistentId,
|
|
14390
14531
|
updatedAt: /* @__PURE__ */ new Date(),
|
|
@@ -14412,7 +14553,7 @@ var LocalDocsElementActionExecutor = class {
|
|
|
14412
14553
|
return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
|
|
14413
14554
|
}
|
|
14414
14555
|
const left = neighbours[index].sortOrder;
|
|
14415
|
-
const right = _nullishCoalesce(_optionalChain([neighbours, 'access',
|
|
14556
|
+
const right = _nullishCoalesce(_optionalChain([neighbours, 'access', _95 => _95[index + 1], 'optionalAccess', _96 => _96.sortOrder]), () => ( left + sortOrderStep * 2));
|
|
14416
14557
|
return (right + left) / 2;
|
|
14417
14558
|
}
|
|
14418
14559
|
};
|
|
@@ -15074,5 +15215,18 @@ var TransactionQueue = class {
|
|
|
15074
15215
|
|
|
15075
15216
|
|
|
15076
15217
|
|
|
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;
|
|
15218
|
+
|
|
15219
|
+
|
|
15220
|
+
|
|
15221
|
+
|
|
15222
|
+
|
|
15223
|
+
|
|
15224
|
+
|
|
15225
|
+
|
|
15226
|
+
|
|
15227
|
+
|
|
15228
|
+
|
|
15229
|
+
|
|
15230
|
+
|
|
15231
|
+
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.DTODocumentationPageDependencies = DTODocumentationPageDependencies; exports.DTODocumentationPageDependenciesGetResponse = DTODocumentationPageDependenciesGetResponse; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageIntervalDifferenceResponse = DTODocumentationPageIntervalDifferenceResponse; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoom = DTODocumentationPageRoom; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageRoomResponse = DTODocumentationPageRoomResponse; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageUpdateDocumentActionInputV2 = DTODocumentationPageUpdateDocumentActionInputV2; exports.DTODocumentationPageUpdateDocumentActionOutputV2 = DTODocumentationPageUpdateDocumentActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationSettings = DTODocumentationSettings; exports.DTODocumentationStructure = DTODocumentationStructure; exports.DTODocumentationStructureGroupItem = DTODocumentationStructureGroupItem; exports.DTODocumentationStructureItem = DTODocumentationStructureItem; exports.DTODocumentationStructurePageItem = DTODocumentationStructurePageItem; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionCreatePayload = DTOElementPropertyDefinitionCreatePayload; exports.DTOElementPropertyDefinitionListResponse = DTOElementPropertyDefinitionListResponse; exports.DTOElementPropertyDefinitionOption = DTOElementPropertyDefinitionOption; exports.DTOElementPropertyDefinitionResponse = DTOElementPropertyDefinitionResponse; exports.DTOElementPropertyDefinitionUpdatePayload = DTOElementPropertyDefinitionUpdatePayload; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValueListResponse = DTOElementPropertyValueListResponse; exports.DTOElementPropertyValueResponse = DTOElementPropertyValueResponse; exports.DTOElementPropertyValueUpsertPaylod = DTOElementPropertyValueUpsertPaylod; exports.DTOElementPropertyValuesEditActionInput = DTOElementPropertyValuesEditActionInput; exports.DTOElementPropertyValuesEditActionOutput = DTOElementPropertyValuesEditActionOutput; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetOutputV2 = DTOElementsGetOutputV2; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOEvent = DTOEvent; exports.DTOEventDataSourcesImported = DTOEventDataSourcesImported; exports.DTOEventFigmaNodesRendered = DTOEventFigmaNodesRendered; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreateInput = DTOExportJobCreateInput; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResponseLegacy = DTOExportJobResponseLegacy; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterDeprecationInput = DTOExporterDeprecationInput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterListQuery = DTOExporterListQuery; exports.DTOExporterListResponse = DTOExporterListResponse; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterPropertyDefinition = DTOExporterPropertyDefinition; exports.DTOExporterPropertyDefinitionArray = DTOExporterPropertyDefinitionArray; exports.DTOExporterPropertyDefinitionBoolean = DTOExporterPropertyDefinitionBoolean; exports.DTOExporterPropertyDefinitionCode = DTOExporterPropertyDefinitionCode; exports.DTOExporterPropertyDefinitionEnum = DTOExporterPropertyDefinitionEnum; exports.DTOExporterPropertyDefinitionEnumOption = DTOExporterPropertyDefinitionEnumOption; exports.DTOExporterPropertyDefinitionNumber = DTOExporterPropertyDefinitionNumber; exports.DTOExporterPropertyDefinitionObject = DTOExporterPropertyDefinitionObject; exports.DTOExporterPropertyDefinitionString = DTOExporterPropertyDefinitionString; exports.DTOExporterPropertyDefinitionsResponse = DTOExporterPropertyDefinitionsResponse; exports.DTOExporterPropertyType = DTOExporterPropertyType; exports.DTOExporterPropertyValue = DTOExporterPropertyValue; exports.DTOExporterPropertyValueMap = DTOExporterPropertyValueMap; exports.DTOExporterResponse = DTOExporterResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentGroup = DTOFigmaComponentGroup; exports.DTOFigmaComponentGroupListResponse = DTOFigmaComponentGroupListResponse; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeDataV2 = DTOFigmaNodeDataV2; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderAsyncActionInput = DTOFigmaNodeRenderAsyncActionInput; exports.DTOFigmaNodeRenderAsyncActionOutput = DTOFigmaNodeRenderAsyncActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderIdInput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderUrlInput; exports.DTOFigmaNodeRerenderInput = DTOFigmaNodeRerenderInput; exports.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.DTOPublishedDocAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData; exports.DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocPageAnalyticsComparisonData; 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.documentationAnalyticsToPageComparisonDto = documentationAnalyticsToPageComparisonDto; exports.documentationAnalyticsToPageDto = documentationAnalyticsToPageDto; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.exhaustiveInvalidUriPaths = exhaustiveInvalidUriPaths; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.isValidRedirectPath = isValidRedirectPath; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.serializeQuery = serializeQuery; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
15078
15232
|
//# sourceMappingURL=index.js.map
|