@supernova-studio/client 1.5.0 → 1.5.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 +1461 -273
- package/dist/index.d.ts +1461 -273
- package/dist/index.js +369 -214
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2182 -2027
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) =>
|
|
4
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
-
return value;
|
|
6
|
-
};
|
|
3
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7
4
|
|
|
8
5
|
// ../model/dist/index.mjs
|
|
9
6
|
var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
|
|
@@ -136,6 +133,7 @@ var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequire
|
|
|
136
133
|
|
|
137
134
|
|
|
138
135
|
|
|
136
|
+
|
|
139
137
|
|
|
140
138
|
|
|
141
139
|
var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
|
|
@@ -191,15 +189,14 @@ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr)
|
|
|
191
189
|
|
|
192
190
|
|
|
193
191
|
|
|
192
|
+
|
|
193
|
+
|
|
194
194
|
|
|
195
195
|
|
|
196
196
|
|
|
197
197
|
var __defProp2 = Object.defineProperty;
|
|
198
198
|
var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
199
|
-
var __publicField2 = (obj, key, value) =>
|
|
200
|
-
__defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
201
|
-
return value;
|
|
202
|
-
};
|
|
199
|
+
var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
203
200
|
var AssetDeleteScheduleStatus = _zod.z.enum(["InProgress", "Pending"]);
|
|
204
201
|
var AssetDeleteSchedule = _zod.z.object({
|
|
205
202
|
id: _zod.z.string(),
|
|
@@ -927,14 +924,10 @@ function groupBy(items, keyFn) {
|
|
|
927
924
|
return result;
|
|
928
925
|
}
|
|
929
926
|
function areShallowObjectsEqual(lhs, rhs) {
|
|
930
|
-
if (lhs === void 0 !== (rhs === void 0))
|
|
931
|
-
|
|
932
|
-
if (lhs ===
|
|
933
|
-
|
|
934
|
-
if (lhs === null !== (rhs === null))
|
|
935
|
-
return false;
|
|
936
|
-
if (lhs === null || rhs === null)
|
|
937
|
-
return true;
|
|
927
|
+
if (lhs === void 0 !== (rhs === void 0)) return false;
|
|
928
|
+
if (lhs === void 0 || rhs === void 0) return true;
|
|
929
|
+
if (lhs === null !== (rhs === null)) return false;
|
|
930
|
+
if (lhs === null || rhs === null) return true;
|
|
938
931
|
for (const key in lhs) {
|
|
939
932
|
if (!(key in rhs) || lhs[key] !== rhs[key]) {
|
|
940
933
|
return false;
|
|
@@ -949,8 +942,7 @@ function areShallowObjectsEqual(lhs, rhs) {
|
|
|
949
942
|
}
|
|
950
943
|
function recordToMap(record) {
|
|
951
944
|
const map = /* @__PURE__ */ new Map();
|
|
952
|
-
for (const [k, v] of Object.entries(record))
|
|
953
|
-
map.set(k, v);
|
|
945
|
+
for (const [k, v] of Object.entries(record)) map.set(k, v);
|
|
954
946
|
return map;
|
|
955
947
|
}
|
|
956
948
|
var ContentLoadInstruction = _zod.z.object({
|
|
@@ -1667,10 +1659,8 @@ var Size = _zod.z.object({
|
|
|
1667
1659
|
height: _zod.z.number().nullish().transform((v) => _nullishCoalesce(v, () => ( nullSize.height)))
|
|
1668
1660
|
});
|
|
1669
1661
|
var SizeOrUndefined = Size.optional().transform((v) => {
|
|
1670
|
-
if (!v)
|
|
1671
|
-
|
|
1672
|
-
if (isNullSize(v))
|
|
1673
|
-
return void 0;
|
|
1662
|
+
if (!v) return void 0;
|
|
1663
|
+
if (isNullSize(v)) return void 0;
|
|
1674
1664
|
return v;
|
|
1675
1665
|
});
|
|
1676
1666
|
var DesignTokenType = _zod.z.enum([
|
|
@@ -2064,8 +2054,7 @@ function removeCommentSpans(text) {
|
|
|
2064
2054
|
return joinRepeatingSpans(updatedRichText);
|
|
2065
2055
|
}
|
|
2066
2056
|
function joinRepeatingSpans(text) {
|
|
2067
|
-
if (text.spans.length < 2)
|
|
2068
|
-
return text;
|
|
2057
|
+
if (text.spans.length < 2) return text;
|
|
2069
2058
|
text = sanitizeSpans(text);
|
|
2070
2059
|
const { spans, ...rest } = text;
|
|
2071
2060
|
let previousSpan = { ...spans[0] };
|
|
@@ -2085,13 +2074,11 @@ function joinRepeatingSpans(text) {
|
|
|
2085
2074
|
};
|
|
2086
2075
|
}
|
|
2087
2076
|
function areAttributesEqual(lhs, rhs) {
|
|
2088
|
-
if (lhs.length !== rhs.length)
|
|
2089
|
-
return false;
|
|
2077
|
+
if (lhs.length !== rhs.length) return false;
|
|
2090
2078
|
const lhsMap = mapByUnique(lhs, (i) => i.type);
|
|
2091
2079
|
for (const rhsAttribute of rhs) {
|
|
2092
2080
|
const lhsAttribute = lhsMap.get(rhsAttribute.type);
|
|
2093
|
-
if (!areShallowObjectsEqual(lhsAttribute, rhsAttribute))
|
|
2094
|
-
return false;
|
|
2081
|
+
if (!areShallowObjectsEqual(lhsAttribute, rhsAttribute)) return false;
|
|
2095
2082
|
}
|
|
2096
2083
|
return true;
|
|
2097
2084
|
}
|
|
@@ -2518,7 +2505,9 @@ var PageBlockItemStorybookValue = _zod.z.object({
|
|
|
2518
2505
|
caption: _zod.z.string().optional(),
|
|
2519
2506
|
height: _zod.z.number().optional(),
|
|
2520
2507
|
embedUrl: _zod.z.string().optional(),
|
|
2521
|
-
value: _zod.z.string().optional()
|
|
2508
|
+
value: _zod.z.string().optional(),
|
|
2509
|
+
storyId: _zod.z.string().optional(),
|
|
2510
|
+
sourceId: _zod.z.string().optional()
|
|
2522
2511
|
});
|
|
2523
2512
|
var PageBlockItemTextValue = _zod.z.object({
|
|
2524
2513
|
value: _zod.z.string()
|
|
@@ -3173,8 +3162,7 @@ function mapPageBlockItemValuesV2(pageItems, definitionsMap, fn) {
|
|
|
3173
3162
|
traversePageBlockItemsV2(pageItems, (block, item) => {
|
|
3174
3163
|
Object.entries(item.props).forEach(([propKey, value]) => {
|
|
3175
3164
|
const property = definitionsMap.getDefinitionProperty(block.data.packageId, propKey);
|
|
3176
|
-
if (!property)
|
|
3177
|
-
return;
|
|
3165
|
+
if (!property) return;
|
|
3178
3166
|
item.props[propKey] = fn(block, item, property, value);
|
|
3179
3167
|
});
|
|
3180
3168
|
});
|
|
@@ -3267,7 +3255,7 @@ var SourceImportSummary = _zod.z.object({
|
|
|
3267
3255
|
function zeroNumberByDefault() {
|
|
3268
3256
|
return _zod.z.number().nullish().transform((v) => _nullishCoalesce(v, () => ( 0)));
|
|
3269
3257
|
}
|
|
3270
|
-
var DataSourceRemoteType = _zod.z.enum(["Figma", "TokenStudio", "FigmaVariablesPlugin"]);
|
|
3258
|
+
var DataSourceRemoteType = _zod.z.enum(["Figma", "TokenStudio", "FigmaVariablesPlugin", "Storybook"]);
|
|
3271
3259
|
var DataSourceUploadRemoteSource = _zod.z.enum(["TokenStudio", "FigmaVariablesPlugin", "Custom"]);
|
|
3272
3260
|
var DataSourceFigmaState = _zod.z.enum(["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]);
|
|
3273
3261
|
var DataSourceAutoImportMode = _zod.z.enum(["Never", "Hourly"]);
|
|
@@ -3327,10 +3315,22 @@ var DataSourceUploadRemote = _zod.z.object({
|
|
|
3327
3315
|
isTokenTypeSplitEnabled: _zod.z.boolean(),
|
|
3328
3316
|
isCollectionsMigrationCompleted: _zod.z.boolean()
|
|
3329
3317
|
});
|
|
3318
|
+
var DataSourceStorybookRemote = _zod.z.object({
|
|
3319
|
+
type: _zod.z.literal(DataSourceRemoteType.Enum.Storybook),
|
|
3320
|
+
indexUrl: _zod.z.string(),
|
|
3321
|
+
userUrl: _zod.z.string(),
|
|
3322
|
+
ownerId: _zod.z.string().optional(),
|
|
3323
|
+
lastImportedAt: _zod.z.coerce.date().optional(),
|
|
3324
|
+
lastImportedSuccessfully: _zod.z.coerce.date().optional(),
|
|
3325
|
+
isFailed: _zod.z.boolean(),
|
|
3326
|
+
storiesCount: _zod.z.number(),
|
|
3327
|
+
docsCount: _zod.z.number()
|
|
3328
|
+
});
|
|
3330
3329
|
var DataSourceRemote = _zod.z.discriminatedUnion("type", [
|
|
3331
3330
|
DataSourceFigmaRemote,
|
|
3332
3331
|
DataSourceUploadRemote,
|
|
3333
|
-
DataSourceTokenStudioRemote
|
|
3332
|
+
DataSourceTokenStudioRemote,
|
|
3333
|
+
DataSourceStorybookRemote
|
|
3334
3334
|
]);
|
|
3335
3335
|
var DataSource = _zod.z.object({
|
|
3336
3336
|
id: _zod.z.string(),
|
|
@@ -3405,15 +3405,11 @@ var FigmaImportBaseContext = _zod.z.object({
|
|
|
3405
3405
|
importWarnings: _zod.z.record(ImportWarning.array()).default({})
|
|
3406
3406
|
});
|
|
3407
3407
|
var FeatureFlagsKeepAliases = _zod.z.object({
|
|
3408
|
-
isTypographyPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
|
|
3409
|
-
isGradientPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
|
|
3410
|
-
isShadowPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
|
|
3411
3408
|
isNonCompatibleTypeChangesEnabled: _zod.z.boolean().default(false),
|
|
3412
3409
|
isTypographyUseFontStyleEnabled: _zod.z.boolean().default(false)
|
|
3413
3410
|
});
|
|
3414
3411
|
var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
|
|
3415
3412
|
sourcesWithMissingAccess: _zod.z.array(_zod.z.string()).default([]),
|
|
3416
|
-
shadowOpacityOptional: _zod.z.boolean().default(false),
|
|
3417
3413
|
featureFlagsKeepAliases: FeatureFlagsKeepAliases.default({})
|
|
3418
3414
|
});
|
|
3419
3415
|
var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
|
|
@@ -3522,20 +3518,18 @@ var FigmaComponentImportModelPart = _zod.z.object({
|
|
|
3522
3518
|
parentComponentId: _zod.z.string().optional(),
|
|
3523
3519
|
componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
|
|
3524
3520
|
variantPropertyValues: _zod.z.record(_zod.z.string()).optional(),
|
|
3525
|
-
renderNodeId: _zod.z.string()
|
|
3521
|
+
renderNodeId: _zod.z.string(),
|
|
3522
|
+
svg: FigmaSvgRenderImportModel.optional()
|
|
3526
3523
|
});
|
|
3527
3524
|
var FigmaComponentImportModel = ImportModelBase.extend(FigmaComponentImportModelPart.shape).extend({
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
origin: FigmaComponentOrigin
|
|
3525
|
+
origin: FigmaComponentOrigin,
|
|
3526
|
+
isAsset: _zod.z.boolean()
|
|
3531
3527
|
});
|
|
3532
3528
|
var FigmaComponentImportModelInput = ImportModelInputBase.extend(FigmaComponentImportModelPart.shape).extend({
|
|
3533
|
-
originMetadata: FigmaComponentOriginPart
|
|
3534
|
-
|
|
3535
|
-
var AssetImportModelInput = ImportModelInputBase.extend(FigmaComponentImportModelPart.shape).extend({
|
|
3536
|
-
svg: FigmaSvgRenderImportModel,
|
|
3537
|
-
originMetadata: FigmaComponentOriginPart
|
|
3529
|
+
originMetadata: FigmaComponentOriginPart,
|
|
3530
|
+
isAsset: _zod.z.boolean().optional()
|
|
3538
3531
|
});
|
|
3532
|
+
var AssetImportModelInput = FigmaComponentImportModelInput;
|
|
3539
3533
|
var DataSourceImportModel = _zod.z.object({
|
|
3540
3534
|
id: _zod.z.string(),
|
|
3541
3535
|
fileName: _zod.z.string().optional(),
|
|
@@ -3908,6 +3902,13 @@ var SsoProvider = _zod.z.object({
|
|
|
3908
3902
|
emailDomains: _zod.z.array(_zod.z.string()),
|
|
3909
3903
|
metadataXml: _zod.z.string().nullish()
|
|
3910
3904
|
});
|
|
3905
|
+
var WorkspaceUntypedData = _zod.z.object({
|
|
3906
|
+
id: _zod.z.string(),
|
|
3907
|
+
workspaceId: _zod.z.string(),
|
|
3908
|
+
value: _zod.z.unknown(),
|
|
3909
|
+
createdAt: _zod.z.coerce.date(),
|
|
3910
|
+
updatedAt: _zod.z.coerce.date()
|
|
3911
|
+
});
|
|
3911
3912
|
var WorkspaceRoleSchema = _zod.z.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
|
|
3912
3913
|
var WorkspaceRole = WorkspaceRoleSchema.enum;
|
|
3913
3914
|
var MAX_MEMBERS_COUNT = 100;
|
|
@@ -4316,6 +4317,33 @@ var PublishedDoc = _zod.z.object({
|
|
|
4316
4317
|
tokenCount: _zod.z.number(),
|
|
4317
4318
|
assetCount: _zod.z.number()
|
|
4318
4319
|
});
|
|
4320
|
+
var StorybookEntryOrigin = _zod.z.object({
|
|
4321
|
+
id: _zod.z.string(),
|
|
4322
|
+
type: _zod.z.enum(["story", "docs"]),
|
|
4323
|
+
name: _zod.z.string(),
|
|
4324
|
+
title: _zod.z.string()
|
|
4325
|
+
// Same as 'kind' for v3
|
|
4326
|
+
});
|
|
4327
|
+
var StorybookEntry = _zod.z.object({
|
|
4328
|
+
id: _zod.z.string(),
|
|
4329
|
+
storyId: _zod.z.string(),
|
|
4330
|
+
designSystemId: _zod.z.string(),
|
|
4331
|
+
sourceId: _zod.z.string(),
|
|
4332
|
+
aliases: _zod.z.array(_zod.z.string()).optional(),
|
|
4333
|
+
url: _zod.z.string(),
|
|
4334
|
+
isDeleted: _zod.z.boolean().optional(),
|
|
4335
|
+
origin: StorybookEntryOrigin,
|
|
4336
|
+
createdAt: _zod.z.coerce.date(),
|
|
4337
|
+
updatedAt: _zod.z.coerce.date()
|
|
4338
|
+
});
|
|
4339
|
+
var StorybookPayload = _zod.z.object({
|
|
4340
|
+
id: _zod.z.string(),
|
|
4341
|
+
designSystemId: _zod.z.string(),
|
|
4342
|
+
sourceId: _zod.z.string(),
|
|
4343
|
+
payload: _zod.z.any(),
|
|
4344
|
+
createdAt: _zod.z.coerce.date(),
|
|
4345
|
+
updatedAt: _zod.z.coerce.date()
|
|
4346
|
+
});
|
|
4319
4347
|
var DesignSystemVersion = _zod.z.object({
|
|
4320
4348
|
id: _zod.z.string(),
|
|
4321
4349
|
version: _zod.z.string(),
|
|
@@ -4624,8 +4652,7 @@ var IntegrationToken = _zod.z.object({
|
|
|
4624
4652
|
token_bitbucket_username: _zod.z.string().optional(),
|
|
4625
4653
|
// Bitbucket only
|
|
4626
4654
|
custom_url: _zod.z.string().optional().transform((value) => {
|
|
4627
|
-
if (!_optionalChain([value, 'optionalAccess', _4 => _4.trim, 'call', _5 => _5()]))
|
|
4628
|
-
return void 0;
|
|
4655
|
+
if (!_optionalChain([value, 'optionalAccess', _4 => _4.trim, 'call', _5 => _5()])) return void 0;
|
|
4629
4656
|
return formatCustomUrl(value);
|
|
4630
4657
|
})
|
|
4631
4658
|
}).refine((data) => {
|
|
@@ -4844,7 +4871,6 @@ var ExporterWorkspaceMembership = _zod.z.object({
|
|
|
4844
4871
|
});
|
|
4845
4872
|
var FlaggedFeature = _zod.z.enum([
|
|
4846
4873
|
"FigmaImporterV2",
|
|
4847
|
-
"ShadowOpacityOptional",
|
|
4848
4874
|
"DisableImporter",
|
|
4849
4875
|
"VariablesOrder",
|
|
4850
4876
|
"TypographyPropsKeepAliases",
|
|
@@ -5015,6 +5041,28 @@ function pageVisitsToDto(entries) {
|
|
|
5015
5041
|
}
|
|
5016
5042
|
return result;
|
|
5017
5043
|
}
|
|
5044
|
+
function calculateChangeOverTime(currentIntervalData, priorIntervalData, priorIntervalStartDate, priorIntervalEndDate) {
|
|
5045
|
+
let priorIntervalVisits = 0;
|
|
5046
|
+
let priorIntervalSessions = 0;
|
|
5047
|
+
for (const v of priorIntervalData) {
|
|
5048
|
+
priorIntervalVisits += v.visits;
|
|
5049
|
+
priorIntervalSessions += v.sessions;
|
|
5050
|
+
}
|
|
5051
|
+
let currentIntervalVisits = 0;
|
|
5052
|
+
let currentIntervalSessions = 0;
|
|
5053
|
+
for (const v of currentIntervalData) {
|
|
5054
|
+
currentIntervalVisits += v.visits;
|
|
5055
|
+
currentIntervalSessions += v.sessions;
|
|
5056
|
+
}
|
|
5057
|
+
return {
|
|
5058
|
+
priorVisitCount: priorIntervalVisits,
|
|
5059
|
+
priorSessionCount: priorIntervalSessions,
|
|
5060
|
+
currentVisitCount: currentIntervalVisits,
|
|
5061
|
+
currentSessionCount: currentIntervalSessions,
|
|
5062
|
+
startDate: priorIntervalStartDate,
|
|
5063
|
+
endDate: priorIntervalEndDate
|
|
5064
|
+
};
|
|
5065
|
+
}
|
|
5018
5066
|
function getTimestampKey(timestamp) {
|
|
5019
5067
|
const date = timestamp.toISOString().split("T")[0];
|
|
5020
5068
|
const hour = timestamp.toISOString().split("T")[1].split(":")[0];
|
|
@@ -5080,8 +5128,7 @@ var getDtoDefaultItemConfigurationV1 = () => ({
|
|
|
5080
5128
|
});
|
|
5081
5129
|
function documentationItemConfigurationToDTOV1(config) {
|
|
5082
5130
|
const dtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1();
|
|
5083
|
-
if (!config)
|
|
5084
|
-
return dtoDefaultItemConfigurationV1;
|
|
5131
|
+
if (!config) return dtoDefaultItemConfigurationV1;
|
|
5085
5132
|
const { backgroundColor, foregroundColor, ...headerRest } = config.header;
|
|
5086
5133
|
return {
|
|
5087
5134
|
showSidebar: config.showSidebar,
|
|
@@ -5095,16 +5142,11 @@ function documentationItemConfigurationToDTOV1(config) {
|
|
|
5095
5142
|
};
|
|
5096
5143
|
}
|
|
5097
5144
|
function colorToDTOV1(color) {
|
|
5098
|
-
if (!color)
|
|
5099
|
-
|
|
5100
|
-
if (color.
|
|
5101
|
-
|
|
5102
|
-
if (
|
|
5103
|
-
return void 0;
|
|
5104
|
-
if (typeof color.value === "string")
|
|
5105
|
-
return { value: color.value };
|
|
5106
|
-
if (typeof color.value.color === "string")
|
|
5107
|
-
return { value: color.value.color };
|
|
5145
|
+
if (!color) return void 0;
|
|
5146
|
+
if (color.aliasTo) return { aliasTo: color.aliasTo };
|
|
5147
|
+
if (!color.value) return void 0;
|
|
5148
|
+
if (typeof color.value === "string") return { value: color.value };
|
|
5149
|
+
if (typeof color.value.color === "string") return { value: color.value.color };
|
|
5108
5150
|
return void 0;
|
|
5109
5151
|
}
|
|
5110
5152
|
|
|
@@ -5117,8 +5159,7 @@ function buildDocPagePublishPaths(groups, pages, routingVersion) {
|
|
|
5117
5159
|
let pathV1 = `${page.userSlug || page.slug}.html`;
|
|
5118
5160
|
let pathV2 = `${page.slug}-${page.shortPersistentId}`;
|
|
5119
5161
|
for (const parent of parentChain) {
|
|
5120
|
-
if (!parent.parentPersistentId)
|
|
5121
|
-
continue;
|
|
5162
|
+
if (!parent.parentPersistentId) continue;
|
|
5122
5163
|
pathV1 = `${parent.userSlug || parent.slug || "root"}/${pathV1}`;
|
|
5123
5164
|
pathV2 = `${parent.slug || "root"}/${pathV2}`;
|
|
5124
5165
|
}
|
|
@@ -5137,8 +5178,7 @@ function calculateElementParentChain(elementParentPersistentId, groupPersistentI
|
|
|
5137
5178
|
let parentId = elementParentPersistentId;
|
|
5138
5179
|
while (parentId) {
|
|
5139
5180
|
const parent = groupPersistentIdToGroupMap.get(parentId);
|
|
5140
|
-
if (parent)
|
|
5141
|
-
result.push(parent);
|
|
5181
|
+
if (parent) result.push(parent);
|
|
5142
5182
|
parentId = _optionalChain([parent, 'optionalAccess', _6 => _6.parentPersistentId]);
|
|
5143
5183
|
}
|
|
5144
5184
|
return result;
|
|
@@ -5158,8 +5198,7 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
|
|
|
5158
5198
|
let nextParentId = groupToFix.parentPersistentId;
|
|
5159
5199
|
while ((!isHidden || !isPrivate) && nextParentId) {
|
|
5160
5200
|
const parent = groupPersistentIdToGroupMap.get(nextParentId);
|
|
5161
|
-
if (!parent)
|
|
5162
|
-
break;
|
|
5201
|
+
if (!parent) break;
|
|
5163
5202
|
isHidden = isHidden || _optionalChain([parent, 'access', _9 => _9.data, 'optionalAccess', _10 => _10.configuration, 'optionalAccess', _11 => _11.isHidden]) || false;
|
|
5164
5203
|
isPrivate = isPrivate || _optionalChain([parent, 'access', _12 => _12.data, 'optionalAccess', _13 => _13.configuration, 'optionalAccess', _14 => _14.isPrivate]) || false;
|
|
5165
5204
|
nextParentId = parent.parentPersistentId;
|
|
@@ -5238,8 +5277,7 @@ function calculateChildrenIdsMapV1(elements, groups) {
|
|
|
5238
5277
|
const byParentId = groupBy([...elements, ...groups], (e) => e.parentPersistentId);
|
|
5239
5278
|
const childrenIdsMap = /* @__PURE__ */ new Map();
|
|
5240
5279
|
for (const [parentPersistentId, children] of byParentId) {
|
|
5241
|
-
if (!parentPersistentId)
|
|
5242
|
-
continue;
|
|
5280
|
+
if (!parentPersistentId) continue;
|
|
5243
5281
|
children.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
|
|
5244
5282
|
childrenIdsMap.set(
|
|
5245
5283
|
parentPersistentId,
|
|
@@ -5264,8 +5302,7 @@ var getDtoDefaultItemConfigurationV2 = () => ({
|
|
|
5264
5302
|
});
|
|
5265
5303
|
function documentationItemConfigurationToDTOV2(config) {
|
|
5266
5304
|
const dtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2();
|
|
5267
|
-
if (!config)
|
|
5268
|
-
return dtoDefaultItemConfigurationV2;
|
|
5305
|
+
if (!config) return dtoDefaultItemConfigurationV2;
|
|
5269
5306
|
return {
|
|
5270
5307
|
header: config.header,
|
|
5271
5308
|
isHidden: _nullishCoalesce(config.isHidden, () => ( dtoDefaultItemConfigurationV2.isHidden)),
|
|
@@ -5310,8 +5347,7 @@ function calculateChildrenIdsMapV2(elements, groups) {
|
|
|
5310
5347
|
const byParentId = groupBy([...elements, ...groups], (e) => e.parentPersistentId);
|
|
5311
5348
|
const childrenIdsMap = /* @__PURE__ */ new Map();
|
|
5312
5349
|
for (const [parentPersistentId, children] of byParentId) {
|
|
5313
|
-
if (!parentPersistentId)
|
|
5314
|
-
continue;
|
|
5350
|
+
if (!parentPersistentId) continue;
|
|
5315
5351
|
children.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
|
|
5316
5352
|
childrenIdsMap.set(
|
|
5317
5353
|
parentPersistentId,
|
|
@@ -5333,10 +5369,8 @@ function documentationPagesFixedConfigurationToDTOV1(pages, groups, routingVersi
|
|
|
5333
5369
|
}
|
|
5334
5370
|
function documentationPageToDTOV1(page, pagePathMap) {
|
|
5335
5371
|
let path = pagePathMap.get(page.persistentId);
|
|
5336
|
-
if (!path)
|
|
5337
|
-
|
|
5338
|
-
if (path.startsWith("/"))
|
|
5339
|
-
path = path.substring(1);
|
|
5372
|
+
if (!path) throw SupernovaException.conflict(`Path for page ${page.id} was not calculated`);
|
|
5373
|
+
if (path.startsWith("/")) path = path.substring(1);
|
|
5340
5374
|
const configuration = documentationItemConfigurationToDTOV1(page.data.configuration);
|
|
5341
5375
|
return {
|
|
5342
5376
|
id: page.id,
|
|
@@ -5371,10 +5405,8 @@ function documentationPagesFixedConfigurationToDTOV2(pages, groups, routingVersi
|
|
|
5371
5405
|
}
|
|
5372
5406
|
function _documentationPageToDTOV2(page, pagePathMap, pageLiveblocksRoomIdMap) {
|
|
5373
5407
|
let path = pagePathMap.get(page.persistentId);
|
|
5374
|
-
if (!path)
|
|
5375
|
-
|
|
5376
|
-
if (path.startsWith("/"))
|
|
5377
|
-
path = path.substring(1);
|
|
5408
|
+
if (!path) throw new Error(`Path for page ${page.persistentId} was not calculated`);
|
|
5409
|
+
if (path.startsWith("/")) path = path.substring(1);
|
|
5378
5410
|
const liveblocksRoomId = pageLiveblocksRoomIdMap.get(page.persistentId);
|
|
5379
5411
|
return {
|
|
5380
5412
|
id: "to_be_removed",
|
|
@@ -5730,10 +5762,35 @@ var DTODataSourceFigmaVariablesPlugin = _zod.z.object({
|
|
|
5730
5762
|
isCollectionsMigrationCompleted: _zod.z.boolean().default(false)
|
|
5731
5763
|
})
|
|
5732
5764
|
});
|
|
5765
|
+
var DTODataSourceStorybook = _zod.z.object({
|
|
5766
|
+
id: _zod.z.string(),
|
|
5767
|
+
type: _zod.z.literal(DataSourceRemoteType.Enum.Storybook),
|
|
5768
|
+
fileName: _zod.z.string(),
|
|
5769
|
+
brandId: _zod.z.string(),
|
|
5770
|
+
sortOrder: _zod.z.number().optional(),
|
|
5771
|
+
storybook: _zod.z.object({
|
|
5772
|
+
indexUrl: _zod.z.string(),
|
|
5773
|
+
userUrl: _zod.z.string(),
|
|
5774
|
+
lastImportedAt: _zod.z.coerce.date().optional(),
|
|
5775
|
+
lastImportedSuccessfully: _zod.z.coerce.date().optional(),
|
|
5776
|
+
isFailed: _zod.z.boolean(),
|
|
5777
|
+
storiesCount: _zod.z.number(),
|
|
5778
|
+
docsCount: _zod.z.number()
|
|
5779
|
+
})
|
|
5780
|
+
});
|
|
5781
|
+
var DTODataSourcesStorybookResponse = _zod.z.object({
|
|
5782
|
+
isFailed: _zod.z.boolean(),
|
|
5783
|
+
storiesCount: _zod.z.number(),
|
|
5784
|
+
docsCount: _zod.z.number(),
|
|
5785
|
+
created: _zod.z.array(_zod.z.string()).optional(),
|
|
5786
|
+
updated: _zod.z.array(_zod.z.string()).optional(),
|
|
5787
|
+
deleted: _zod.z.array(_zod.z.string()).optional()
|
|
5788
|
+
});
|
|
5733
5789
|
var DTODataSource = _zod.z.discriminatedUnion("type", [
|
|
5734
5790
|
DTODataSourceFigma,
|
|
5735
5791
|
DTODataSourceFigmaVariablesPlugin,
|
|
5736
|
-
DTODataSourceTokenStudio
|
|
5792
|
+
DTODataSourceTokenStudio,
|
|
5793
|
+
DTODataSourceStorybook
|
|
5737
5794
|
]);
|
|
5738
5795
|
var DTODataSourcesListResponse = _zod.z.object({
|
|
5739
5796
|
sources: _zod.z.array(DTODataSource)
|
|
@@ -5750,6 +5807,17 @@ var DTODataSourceFigmaCreatePayload = _zod.z.object({
|
|
|
5750
5807
|
var DTODataSourceFigmaImportPayload = _zod.z.object({
|
|
5751
5808
|
sourceIds: _zod.z.array(_zod.z.string())
|
|
5752
5809
|
});
|
|
5810
|
+
var DTODataSourceStorybookCreatePayload = _zod.z.object({
|
|
5811
|
+
brandPersistentId: _zod.z.string(),
|
|
5812
|
+
userUrl: _zod.z.string(),
|
|
5813
|
+
indexUrl: _zod.z.string(),
|
|
5814
|
+
payload: _zod.z.unknown(),
|
|
5815
|
+
type: _zod.z.literal(DataSourceRemoteType.Enum.Storybook)
|
|
5816
|
+
});
|
|
5817
|
+
var DTOStorybookImportPayload = _zod.z.object({
|
|
5818
|
+
sourceId: _zod.z.string(),
|
|
5819
|
+
payload: _zod.z.unknown()
|
|
5820
|
+
});
|
|
5753
5821
|
|
|
5754
5822
|
// src/api/dto/design-systems/design-system.ts
|
|
5755
5823
|
|
|
@@ -6000,6 +6068,32 @@ var DTODesignSystemVersionStatsQuery = _zod.z.object({
|
|
|
6000
6068
|
brandId: _zod.z.string().optional()
|
|
6001
6069
|
});
|
|
6002
6070
|
|
|
6071
|
+
// src/api/dto/design-systems/storybook.ts
|
|
6072
|
+
|
|
6073
|
+
var DTOStorybookEntryOrigin = _zod.z.object({
|
|
6074
|
+
id: _zod.z.string(),
|
|
6075
|
+
type: _zod.z.enum(["story", "docs"]),
|
|
6076
|
+
name: _zod.z.string(),
|
|
6077
|
+
title: _zod.z.string()
|
|
6078
|
+
});
|
|
6079
|
+
var DTOStorybookEntry = _zod.z.object({
|
|
6080
|
+
id: _zod.z.string(),
|
|
6081
|
+
storyId: _zod.z.string(),
|
|
6082
|
+
designSystemId: _zod.z.string(),
|
|
6083
|
+
sourceId: _zod.z.string(),
|
|
6084
|
+
aliases: _zod.z.array(_zod.z.string()).optional(),
|
|
6085
|
+
url: _zod.z.string(),
|
|
6086
|
+
isDeleted: _zod.z.boolean().optional(),
|
|
6087
|
+
origin: DTOStorybookEntryOrigin,
|
|
6088
|
+
createdAt: _zod.z.coerce.date(),
|
|
6089
|
+
updatedAt: _zod.z.coerce.date()
|
|
6090
|
+
});
|
|
6091
|
+
var DTOStorybookEntryReplaceAction = _zod.z.object({
|
|
6092
|
+
newStoryId: _zod.z.string()
|
|
6093
|
+
});
|
|
6094
|
+
var DTOStorybookEntryListResponse = _zod.z.object({ entries: _zod.z.array(DTOStorybookEntry) });
|
|
6095
|
+
var DTOStorybookEntryResponse = _zod.z.object({ entry: DTOStorybookEntry });
|
|
6096
|
+
|
|
6003
6097
|
// src/api/dto/design-systems/version-room.ts
|
|
6004
6098
|
|
|
6005
6099
|
var DTODesignSystemVersionRoom = _zod.z.object({
|
|
@@ -6057,6 +6151,24 @@ var DTOUpdateVersionInput = _zod.z.object({
|
|
|
6057
6151
|
changeLog: _zod.z.string()
|
|
6058
6152
|
});
|
|
6059
6153
|
|
|
6154
|
+
// src/api/payloads/documentation/analytics.ts
|
|
6155
|
+
|
|
6156
|
+
var DTODocumentationAnalyticsTimeFrame = _zod.z.object({
|
|
6157
|
+
start: _zod.z.coerce.date(),
|
|
6158
|
+
end: _zod.z.coerce.date()
|
|
6159
|
+
});
|
|
6160
|
+
var DTODocumentationAnalyticsQueryParams = _zod.z.object({
|
|
6161
|
+
start: _zod.z.coerce.date(),
|
|
6162
|
+
end: _zod.z.coerce.date().optional()
|
|
6163
|
+
});
|
|
6164
|
+
var DTODocumentationAnalyticsTimeFrameComparison = _zod.z.object({
|
|
6165
|
+
referencePeriod: DTODocumentationAnalyticsTimeFrame,
|
|
6166
|
+
baselinePeriod: DTODocumentationAnalyticsTimeFrame
|
|
6167
|
+
});
|
|
6168
|
+
var DTODocumentationAnalyticsDiffPayload = _zod.z.object({
|
|
6169
|
+
timeFrames: _zod.z.array(DTODocumentationAnalyticsTimeFrameComparison)
|
|
6170
|
+
});
|
|
6171
|
+
|
|
6060
6172
|
// src/api/payloads/documentation/block-definitions.ts
|
|
6061
6173
|
|
|
6062
6174
|
|
|
@@ -6517,6 +6629,22 @@ var DTOWorkspaceMembersListResponse = _zod.z.object({
|
|
|
6517
6629
|
members: _zod.z.array(DTOWorkspaceMember)
|
|
6518
6630
|
});
|
|
6519
6631
|
|
|
6632
|
+
// src/api/dto/workspaces/untyped-data.ts
|
|
6633
|
+
|
|
6634
|
+
var DTOWorkspaceUntypedData = WorkspaceUntypedData;
|
|
6635
|
+
var DTOWorkspaceUntypedDataListResponse = _zod.z.object({
|
|
6636
|
+
data: DTOWorkspaceUntypedData.array()
|
|
6637
|
+
});
|
|
6638
|
+
var DTOWorkspaceUntypedDataResponse = _zod.z.object({
|
|
6639
|
+
data: DTOWorkspaceUntypedData
|
|
6640
|
+
});
|
|
6641
|
+
var DTOWorkspaceUntypedDataCreatePayload = _zod.z.object({
|
|
6642
|
+
value: _zod.z.unknown()
|
|
6643
|
+
});
|
|
6644
|
+
var DTOWorkspaceUntypedDataUpdatePayload = _zod.z.object({
|
|
6645
|
+
value: _zod.z.unknown()
|
|
6646
|
+
});
|
|
6647
|
+
|
|
6520
6648
|
// src/api/dto/bff/app-bootstrap-data.ts
|
|
6521
6649
|
var DTOAppBootstrapDataQuery = _zod.z.object({
|
|
6522
6650
|
preferredWorkspaceId: _zod.z.string().optional(),
|
|
@@ -6610,7 +6738,20 @@ var DTOPublishedDocPageVisitData = _zod.z.object({
|
|
|
6610
6738
|
visits: _zod.z.number(),
|
|
6611
6739
|
sessions: _zod.z.number()
|
|
6612
6740
|
});
|
|
6613
|
-
var
|
|
6741
|
+
var DTODocumentationPageAnalyticsDifference = _zod.z.object({
|
|
6742
|
+
startDate: _zod.z.coerce.date(),
|
|
6743
|
+
endDate: _zod.z.coerce.date(),
|
|
6744
|
+
currentVisitCount: _zod.z.number(),
|
|
6745
|
+
currentSessionCount: _zod.z.number(),
|
|
6746
|
+
priorVisitCount: _zod.z.number(),
|
|
6747
|
+
priorSessionCount: _zod.z.number()
|
|
6748
|
+
});
|
|
6749
|
+
var DTODocumentationPageAnalyticsResponse = _zod.z.object({
|
|
6750
|
+
analytics: _zod.z.array(DTOPublishedDocPageVisitData)
|
|
6751
|
+
});
|
|
6752
|
+
var DTODocumentationPageIntervalDifferenceResponse = _zod.z.object({
|
|
6753
|
+
differences: _zod.z.array(DTODocumentationPageAnalyticsDifference)
|
|
6754
|
+
});
|
|
6614
6755
|
|
|
6615
6756
|
// src/api/dto/documentation/anchor.ts
|
|
6616
6757
|
|
|
@@ -8519,6 +8660,26 @@ var DesignSystemVersionsEndpoint = class {
|
|
|
8519
8660
|
}
|
|
8520
8661
|
};
|
|
8521
8662
|
|
|
8663
|
+
// src/api/endpoints/design-system/analytics.ts
|
|
8664
|
+
var DesignSystemAnalyticsEndpoint = class {
|
|
8665
|
+
constructor(requestExecutor) {
|
|
8666
|
+
this.requestExecutor = requestExecutor;
|
|
8667
|
+
}
|
|
8668
|
+
get(designSystemId, versionId, query) {
|
|
8669
|
+
return this.requestExecutor.json(
|
|
8670
|
+
`/design-systems/${designSystemId}/versions/${versionId}/documentation/analytics`,
|
|
8671
|
+
DTODocumentationPageAnalyticsResponse,
|
|
8672
|
+
{
|
|
8673
|
+
method: "GET",
|
|
8674
|
+
query: new URLSearchParams({
|
|
8675
|
+
start: query.start.toISOString(),
|
|
8676
|
+
...query.end && { end: query.end.toISOString() }
|
|
8677
|
+
})
|
|
8678
|
+
}
|
|
8679
|
+
);
|
|
8680
|
+
}
|
|
8681
|
+
};
|
|
8682
|
+
|
|
8522
8683
|
// src/api/endpoints/design-system/bff.ts
|
|
8523
8684
|
var DesignSystemBffEndpoint = class {
|
|
8524
8685
|
constructor(requestExecutor) {
|
|
@@ -8636,6 +8797,9 @@ var DesignSystemSourcesEndpoint = class {
|
|
|
8636
8797
|
list(dsId) {
|
|
8637
8798
|
return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourcesListResponse);
|
|
8638
8799
|
}
|
|
8800
|
+
get(dsId, sourceId) {
|
|
8801
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
|
|
8802
|
+
}
|
|
8639
8803
|
delete(dsId, sourceId) {
|
|
8640
8804
|
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, _zod.z.any(), { method: "DELETE" });
|
|
8641
8805
|
}
|
|
@@ -8645,6 +8809,29 @@ var DesignSystemSourcesEndpoint = class {
|
|
|
8645
8809
|
body: payload
|
|
8646
8810
|
});
|
|
8647
8811
|
}
|
|
8812
|
+
storybookImport(dsId, payload) {
|
|
8813
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook-import`, DTODataSourcesStorybookResponse, {
|
|
8814
|
+
method: "POST",
|
|
8815
|
+
body: payload
|
|
8816
|
+
});
|
|
8817
|
+
}
|
|
8818
|
+
};
|
|
8819
|
+
|
|
8820
|
+
// src/api/endpoints/design-system/storybook.ts
|
|
8821
|
+
|
|
8822
|
+
var StorybookEntriesEndpoint = class {
|
|
8823
|
+
constructor(requestExecutor) {
|
|
8824
|
+
this.requestExecutor = requestExecutor;
|
|
8825
|
+
}
|
|
8826
|
+
list(dsId) {
|
|
8827
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook`, DTOStorybookEntryListResponse);
|
|
8828
|
+
}
|
|
8829
|
+
replace(dsId, entryId) {
|
|
8830
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, DTOStorybookEntryReplaceAction, { method: "PUT" });
|
|
8831
|
+
}
|
|
8832
|
+
delete(dsId, entryId) {
|
|
8833
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, _zod.z.any(), { method: "DELETE" });
|
|
8834
|
+
}
|
|
8648
8835
|
};
|
|
8649
8836
|
|
|
8650
8837
|
// src/api/endpoints/design-system/design-systems.ts
|
|
@@ -8655,16 +8842,20 @@ var DesignSystemsEndpoint = class {
|
|
|
8655
8842
|
__publicField(this, "versions");
|
|
8656
8843
|
__publicField(this, "bff");
|
|
8657
8844
|
__publicField(this, "sources");
|
|
8845
|
+
__publicField(this, "storybook");
|
|
8658
8846
|
__publicField(this, "contacts");
|
|
8659
8847
|
__publicField(this, "redirects");
|
|
8660
8848
|
__publicField(this, "figmaNodeStructures");
|
|
8849
|
+
__publicField(this, "analytics");
|
|
8661
8850
|
this.members = new DesignSystemMembersEndpoint(requestExecutor);
|
|
8662
8851
|
this.versions = new DesignSystemVersionsEndpoint(requestExecutor);
|
|
8663
8852
|
this.bff = new DesignSystemBffEndpoint(requestExecutor);
|
|
8664
8853
|
this.sources = new DesignSystemSourcesEndpoint(requestExecutor);
|
|
8854
|
+
this.storybook = new StorybookEntriesEndpoint(requestExecutor);
|
|
8665
8855
|
this.contacts = new DesignSystemContactsEndpoint(requestExecutor);
|
|
8666
8856
|
this.redirects = new DesignSystemPageRedirectsEndpoint(requestExecutor);
|
|
8667
8857
|
this.figmaNodeStructures = new FigmaNodeStructuresEndpoint(requestExecutor);
|
|
8858
|
+
this.analytics = new DesignSystemAnalyticsEndpoint(requestExecutor);
|
|
8668
8859
|
}
|
|
8669
8860
|
create(body) {
|
|
8670
8861
|
return this.requestExecutor.json("/design-systems", DTODesignSystemResponse, { method: "POST", body });
|
|
@@ -8902,14 +9093,12 @@ var RequestExecutor = class {
|
|
|
8902
9093
|
const defaultHeaders = {
|
|
8903
9094
|
Accept: "application/json"
|
|
8904
9095
|
};
|
|
8905
|
-
if (requestInit.body)
|
|
8906
|
-
defaultHeaders["Content-Type"] = "application/json";
|
|
9096
|
+
if (requestInit.body) defaultHeaders["Content-Type"] = "application/json";
|
|
8907
9097
|
if (this.testServerConfig.accessToken) {
|
|
8908
9098
|
defaultHeaders["Authorization"] = `Bearer ${this.testServerConfig.accessToken}`;
|
|
8909
9099
|
}
|
|
8910
9100
|
let body;
|
|
8911
|
-
if (requestInit.body && typeof requestInit.body === "object")
|
|
8912
|
-
body = JSON.stringify(requestInit.body);
|
|
9101
|
+
if (requestInit.body && typeof requestInit.body === "object") body = JSON.stringify(requestInit.body);
|
|
8913
9102
|
const response = await _nodefetch2.default.call(void 0, this.fullUrl(path, requestInit.query), {
|
|
8914
9103
|
...requestInit,
|
|
8915
9104
|
headers: {
|
|
@@ -8941,8 +9130,7 @@ var RequestExecutor = class {
|
|
|
8941
9130
|
fullUrl(path, query) {
|
|
8942
9131
|
let url = `https://${this.testServerConfig.host}/api/v2${path}`;
|
|
8943
9132
|
const queryString = _optionalChain([query, 'optionalAccess', _36 => _36.toString, 'call', _37 => _37()]);
|
|
8944
|
-
if (queryString)
|
|
8945
|
-
url += `?${queryString}`;
|
|
9133
|
+
if (queryString) url += `?${queryString}`;
|
|
8946
9134
|
return url;
|
|
8947
9135
|
}
|
|
8948
9136
|
};
|
|
@@ -9140,8 +9328,7 @@ var VersionRoomBaseYDoc = class {
|
|
|
9140
9328
|
const map = this.documentationPageContentHashesYMap;
|
|
9141
9329
|
const result = {};
|
|
9142
9330
|
map.forEach((hash2, key) => {
|
|
9143
|
-
if (typeof hash2 === "string")
|
|
9144
|
-
result[key] = hash2;
|
|
9331
|
+
if (typeof hash2 === "string") result[key] = hash2;
|
|
9145
9332
|
});
|
|
9146
9333
|
return result;
|
|
9147
9334
|
}
|
|
@@ -9149,8 +9336,7 @@ var VersionRoomBaseYDoc = class {
|
|
|
9149
9336
|
const map = this.documentationPageLiveblocksRoomIdsYMap;
|
|
9150
9337
|
const result = {};
|
|
9151
9338
|
map.forEach((hash2, key) => {
|
|
9152
|
-
if (typeof hash2 === "string")
|
|
9153
|
-
result[key] = hash2;
|
|
9339
|
+
if (typeof hash2 === "string") result[key] = hash2;
|
|
9154
9340
|
});
|
|
9155
9341
|
return result;
|
|
9156
9342
|
}
|
|
@@ -9184,8 +9370,7 @@ var VersionRoomBaseYDoc = class {
|
|
|
9184
9370
|
//
|
|
9185
9371
|
updateExecutedTransactionIds(transactionIds) {
|
|
9186
9372
|
transactionIds = Array.from(new Set(transactionIds));
|
|
9187
|
-
if (!transactionIds.length)
|
|
9188
|
-
return;
|
|
9373
|
+
if (!transactionIds.length) return;
|
|
9189
9374
|
const array = this.executedTransactionIdsArray;
|
|
9190
9375
|
array.push(transactionIds);
|
|
9191
9376
|
if (array.length > 100) {
|
|
@@ -9277,8 +9462,7 @@ function buildPageDraftCreatedAndUpdatedStates(pages, pageSnapshots, pageHashes,
|
|
|
9277
9462
|
const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess', _38 => _38.pageContentHash]))), () => ( ""));
|
|
9278
9463
|
const currentState = itemStateFromPage(page, currentPageContentHash);
|
|
9279
9464
|
const draftState = createDraftState(page.persistentId, currentState, publishedState, debug);
|
|
9280
|
-
if (draftState)
|
|
9281
|
-
result.set(page.persistentId, draftState);
|
|
9465
|
+
if (draftState) result.set(page.persistentId, draftState);
|
|
9282
9466
|
});
|
|
9283
9467
|
return result;
|
|
9284
9468
|
}
|
|
@@ -9297,8 +9481,7 @@ function buildPagePublishedMetadata(pages, pageSnapshots) {
|
|
|
9297
9481
|
const result = /* @__PURE__ */ new Map();
|
|
9298
9482
|
pages.forEach((p) => {
|
|
9299
9483
|
const publishedSnapshot = publishedPageSnapshotsByPersistentId.get(p.persistentId);
|
|
9300
|
-
if (!publishedSnapshot)
|
|
9301
|
-
return;
|
|
9484
|
+
if (!publishedSnapshot) return;
|
|
9302
9485
|
result.set(p.persistentId, {
|
|
9303
9486
|
lastPublishedAt: publishedSnapshot.createdAt,
|
|
9304
9487
|
lastPublishedByUserId: publishedSnapshot.createdByUserId
|
|
@@ -9362,8 +9545,7 @@ function buildPageDraftDeletedStates(pages, pageSnapshots) {
|
|
|
9362
9545
|
const result = /* @__PURE__ */ new Map();
|
|
9363
9546
|
pages.forEach((page) => {
|
|
9364
9547
|
const deletedSnapshot = deletedSnapshotsByPagePersistentId.get(page.persistentId);
|
|
9365
|
-
if (!deletedSnapshot)
|
|
9366
|
-
return;
|
|
9548
|
+
if (!deletedSnapshot) return;
|
|
9367
9549
|
result.set(page.persistentId, {
|
|
9368
9550
|
changeType: "Deleted",
|
|
9369
9551
|
deletedAt: deletedSnapshot.createdAt,
|
|
@@ -9379,11 +9561,9 @@ function buildGroupDraftDeletedStates(groups, groupSnapshots) {
|
|
|
9379
9561
|
);
|
|
9380
9562
|
const result = /* @__PURE__ */ new Map();
|
|
9381
9563
|
groups.forEach((group) => {
|
|
9382
|
-
if (!group.parentPersistentId)
|
|
9383
|
-
return;
|
|
9564
|
+
if (!group.parentPersistentId) return;
|
|
9384
9565
|
const deletedSnapshot = deletedSnapshotsByGroupPersistentId.get(group.persistentId);
|
|
9385
|
-
if (!deletedSnapshot)
|
|
9386
|
-
return;
|
|
9566
|
+
if (!deletedSnapshot) return;
|
|
9387
9567
|
result.set(group.persistentId, {
|
|
9388
9568
|
changeType: "Deleted",
|
|
9389
9569
|
deletedAt: deletedSnapshot.createdAt,
|
|
@@ -9397,8 +9577,7 @@ function buildGroupDraftCreatedAndUpdatedStates(groups, groupSnapshots, debug) {
|
|
|
9397
9577
|
const publishedSnapshotsByGroupPersistent = mapByUnique(publishedSnapshots, (s) => s.group.persistentId);
|
|
9398
9578
|
const result = /* @__PURE__ */ new Map();
|
|
9399
9579
|
groups.forEach((group) => {
|
|
9400
|
-
if (!group.parentPersistentId)
|
|
9401
|
-
return;
|
|
9580
|
+
if (!group.parentPersistentId) return;
|
|
9402
9581
|
const currentState = itemStateFromGroup(group);
|
|
9403
9582
|
const snapshot = publishedSnapshotsByGroupPersistent.get(group.persistentId);
|
|
9404
9583
|
let publishedState;
|
|
@@ -9406,8 +9585,7 @@ function buildGroupDraftCreatedAndUpdatedStates(groups, groupSnapshots, debug) {
|
|
|
9406
9585
|
publishedState = itemStateFromGroup(snapshot.group);
|
|
9407
9586
|
}
|
|
9408
9587
|
const draftState = createDraftState(group.persistentId, currentState, publishedState, debug);
|
|
9409
|
-
if (draftState)
|
|
9410
|
-
result.set(group.persistentId, draftState);
|
|
9588
|
+
if (draftState) result.set(group.persistentId, draftState);
|
|
9411
9589
|
});
|
|
9412
9590
|
return result;
|
|
9413
9591
|
}
|
|
@@ -9425,11 +9603,9 @@ function buildGroupPublishedMetadata(groups, groupSnapshots) {
|
|
|
9425
9603
|
);
|
|
9426
9604
|
const result = /* @__PURE__ */ new Map();
|
|
9427
9605
|
groups.forEach((g) => {
|
|
9428
|
-
if (!g.parentPersistentId)
|
|
9429
|
-
return;
|
|
9606
|
+
if (!g.parentPersistentId) return;
|
|
9430
9607
|
const publishedSnapshot = publishedGroupSnapshotsByPersistentId.get(g.persistentId);
|
|
9431
|
-
if (!publishedSnapshot)
|
|
9432
|
-
return;
|
|
9608
|
+
if (!publishedSnapshot) return;
|
|
9433
9609
|
result.set(g.persistentId, {
|
|
9434
9610
|
lastPublishedAt: publishedSnapshot.createdAt,
|
|
9435
9611
|
lastPublishedByUserId: publishedSnapshot.createdByUserId
|
|
@@ -9448,17 +9624,14 @@ function generatePageContentHash(content, definitions, debug = false) {
|
|
|
9448
9624
|
return generateHash(sanitizedContent, debug);
|
|
9449
9625
|
}
|
|
9450
9626
|
function isPageContentEmpty(content) {
|
|
9451
|
-
if (content.blocks.length > 1)
|
|
9452
|
-
|
|
9453
|
-
if (content.blocks.length < 1)
|
|
9454
|
-
return true;
|
|
9627
|
+
if (content.blocks.length > 1) return false;
|
|
9628
|
+
if (content.blocks.length < 1) return true;
|
|
9455
9629
|
const singleBlock = content.blocks[0];
|
|
9456
9630
|
if (singleBlock.type !== "Block" || singleBlock.data.packageId !== "io.supernova.block.rich-text") {
|
|
9457
9631
|
return false;
|
|
9458
9632
|
}
|
|
9459
9633
|
const singleItem = singleBlock.data.items[0];
|
|
9460
|
-
if (!singleItem || !singleItem.props["text"])
|
|
9461
|
-
return true;
|
|
9634
|
+
if (!singleItem || !singleItem.props["text"]) return true;
|
|
9462
9635
|
const textValue = singleItem.props["text"];
|
|
9463
9636
|
return !textValue.value.spans.length;
|
|
9464
9637
|
}
|
|
@@ -10368,10 +10541,8 @@ var _yprosemirror = require('y-prosemirror');
|
|
|
10368
10541
|
// src/yjs/docs-editor/utils.ts
|
|
10369
10542
|
var BlockParsingUtils = {
|
|
10370
10543
|
singleBlockItem(block) {
|
|
10371
|
-
if (!block.data.items.length)
|
|
10372
|
-
|
|
10373
|
-
if (block.data.items.length > 1)
|
|
10374
|
-
throw new Error(`Block ${block.id} has more than 1 item`);
|
|
10544
|
+
if (!block.data.items.length) throw new Error(`Block ${block.id} has no items`);
|
|
10545
|
+
if (block.data.items.length > 1) throw new Error(`Block ${block.id} has more than 1 item`);
|
|
10375
10546
|
return block.data.items[0];
|
|
10376
10547
|
},
|
|
10377
10548
|
richTextPropertyValue(item, propertyKey) {
|
|
@@ -10403,34 +10574,29 @@ var BlockParsingUtils = {
|
|
|
10403
10574
|
},
|
|
10404
10575
|
propertyValueOrThrow(item, propertyKey) {
|
|
10405
10576
|
const value = item.props[propertyKey];
|
|
10406
|
-
if (!value)
|
|
10407
|
-
throw new Error(`Property ${propertyKey} is not defined on block item`);
|
|
10577
|
+
if (!value) throw new Error(`Property ${propertyKey} is not defined on block item`);
|
|
10408
10578
|
return value;
|
|
10409
10579
|
}
|
|
10410
10580
|
};
|
|
10411
10581
|
var BlockDefinitionUtils = {
|
|
10412
10582
|
firstRichTextProperty(definition) {
|
|
10413
10583
|
const property = definition.item.properties.find((p) => p.type === "RichText");
|
|
10414
|
-
if (property)
|
|
10415
|
-
return property;
|
|
10584
|
+
if (property) return property;
|
|
10416
10585
|
return void 0;
|
|
10417
10586
|
},
|
|
10418
10587
|
firstMultiRichTextProperty(definition) {
|
|
10419
10588
|
const property = definition.item.properties.find((p) => p.type === "MultiRichText");
|
|
10420
|
-
if (property)
|
|
10421
|
-
return property;
|
|
10589
|
+
if (property) return property;
|
|
10422
10590
|
return void 0;
|
|
10423
10591
|
},
|
|
10424
10592
|
firstTableProperty(definition) {
|
|
10425
10593
|
const property = definition.item.properties.find((p) => p.type === "Table");
|
|
10426
|
-
if (property)
|
|
10427
|
-
return property;
|
|
10594
|
+
if (property) return property;
|
|
10428
10595
|
return void 0;
|
|
10429
10596
|
},
|
|
10430
10597
|
firstEmbedProperty(definition) {
|
|
10431
10598
|
const property = definition.item.properties.find((p) => p.type === "EmbedURL");
|
|
10432
|
-
if (property)
|
|
10433
|
-
return property;
|
|
10599
|
+
if (property) return property;
|
|
10434
10600
|
return void 0;
|
|
10435
10601
|
},
|
|
10436
10602
|
richTextProperty(definition, propertyKey) {
|
|
@@ -10485,13 +10651,11 @@ var ListTreeBuilder = class {
|
|
|
10485
10651
|
return node;
|
|
10486
10652
|
}
|
|
10487
10653
|
getParentOfDepth(depth) {
|
|
10488
|
-
if (!this.rootNode || depth <= 0)
|
|
10489
|
-
throw new Error("Invalid state");
|
|
10654
|
+
if (!this.rootNode || depth <= 0) throw new Error("Invalid state");
|
|
10490
10655
|
let currentNode = this.rootNode;
|
|
10491
10656
|
let currentDepth = depth - 1;
|
|
10492
10657
|
while (currentDepth > 0) {
|
|
10493
|
-
if (currentNode.children.length === 0)
|
|
10494
|
-
return currentNode;
|
|
10658
|
+
if (currentNode.children.length === 0) return currentNode;
|
|
10495
10659
|
const lastChild = currentNode.children[currentNode.children.length - 1];
|
|
10496
10660
|
if (lastChild.type !== "List") {
|
|
10497
10661
|
return currentNode;
|
|
@@ -10928,8 +11092,7 @@ function serializeBlockNodeAttributes(block) {
|
|
|
10928
11092
|
}
|
|
10929
11093
|
function richTextHeadingLevel(property) {
|
|
10930
11094
|
const style = _optionalChain([property, 'access', _48 => _48.options, 'optionalAccess', _49 => _49.richTextStyle]);
|
|
10931
|
-
if (!style)
|
|
10932
|
-
return void 0;
|
|
11095
|
+
if (!style) return void 0;
|
|
10933
11096
|
switch (style) {
|
|
10934
11097
|
case "Title1":
|
|
10935
11098
|
return 1;
|
|
@@ -10963,8 +11126,7 @@ function serializeCalloutType(calloutType) {
|
|
|
10963
11126
|
}
|
|
10964
11127
|
function serializeRichTextNodePart(richText) {
|
|
10965
11128
|
const spans = serializeRichText(richText);
|
|
10966
|
-
if (spans.length)
|
|
10967
|
-
return { content: spans };
|
|
11129
|
+
if (spans.length) return { content: spans };
|
|
10968
11130
|
return {};
|
|
10969
11131
|
}
|
|
10970
11132
|
function serializeRichText(richText) {
|
|
@@ -13243,11 +13405,9 @@ function parseAsListNode(prosemirrorNode) {
|
|
|
13243
13405
|
};
|
|
13244
13406
|
}
|
|
13245
13407
|
function parseAsListNodeItem(prosemirrorNode) {
|
|
13246
|
-
if (prosemirrorNode.type !== "listItem")
|
|
13247
|
-
return null;
|
|
13408
|
+
if (prosemirrorNode.type !== "listItem") return null;
|
|
13248
13409
|
const firstChild = _optionalChain([prosemirrorNode, 'access', _53 => _53.content, 'optionalAccess', _54 => _54[0]]);
|
|
13249
|
-
if (!firstChild || firstChild.type !== "paragraph")
|
|
13250
|
-
return null;
|
|
13410
|
+
if (!firstChild || firstChild.type !== "paragraph") return null;
|
|
13251
13411
|
return parseRichText(_nullishCoalesce(firstChild.content, () => ( [])));
|
|
13252
13412
|
}
|
|
13253
13413
|
function prosemirrorNodeToSection(prosemirrorNode, definitions) {
|
|
@@ -13256,8 +13416,7 @@ function prosemirrorNodeToSection(prosemirrorNode, definitions) {
|
|
|
13256
13416
|
}
|
|
13257
13417
|
function internalProsemirrorNodeToSection(prosemirrorNode, definitionsMap) {
|
|
13258
13418
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
13259
|
-
if (!id)
|
|
13260
|
-
return null;
|
|
13419
|
+
if (!id) return null;
|
|
13261
13420
|
return {
|
|
13262
13421
|
id,
|
|
13263
13422
|
type: "Section",
|
|
@@ -13272,8 +13431,7 @@ function internalProsemirrorNodeToSection(prosemirrorNode, definitionsMap) {
|
|
|
13272
13431
|
}
|
|
13273
13432
|
function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
|
|
13274
13433
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
13275
|
-
if (!id)
|
|
13276
|
-
return null;
|
|
13434
|
+
if (!id) return null;
|
|
13277
13435
|
return {
|
|
13278
13436
|
id,
|
|
13279
13437
|
title: _nullishCoalesce(getProsemirrorAttribute(prosemirrorNode, "title", _zod.z.string()), () => ( "")),
|
|
@@ -13282,8 +13440,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
|
|
|
13282
13440
|
}
|
|
13283
13441
|
function prosemirrorNodeToSectionColumns(prosemirrorNode, definitionsMap) {
|
|
13284
13442
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
13285
|
-
if (!id)
|
|
13286
|
-
return null;
|
|
13443
|
+
if (!id) return null;
|
|
13287
13444
|
return {
|
|
13288
13445
|
id,
|
|
13289
13446
|
blocks: internalProsemirrorNodesToBlocks(_nullishCoalesce(prosemirrorNode.content, () => ( [])), definitionsMap, 0)
|
|
@@ -13350,8 +13507,7 @@ function shallowProsemirrorNodeAndDefinitionToBlock(prosemirrorNode, definition)
|
|
|
13350
13507
|
}
|
|
13351
13508
|
function parseAsRichText(prosemirrorNode, definition, property) {
|
|
13352
13509
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
13353
|
-
if (!id)
|
|
13354
|
-
return null;
|
|
13510
|
+
if (!id) return null;
|
|
13355
13511
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
13356
13512
|
const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", _zod.z.string().optional()));
|
|
13357
13513
|
return {
|
|
@@ -13378,8 +13534,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
|
|
|
13378
13534
|
};
|
|
13379
13535
|
}
|
|
13380
13536
|
function parseCalloutType(prosemirrorCalloutType) {
|
|
13381
|
-
if (!prosemirrorCalloutType)
|
|
13382
|
-
return void 0;
|
|
13537
|
+
if (!prosemirrorCalloutType) return void 0;
|
|
13383
13538
|
switch (prosemirrorCalloutType) {
|
|
13384
13539
|
case "critical":
|
|
13385
13540
|
return "Error";
|
|
@@ -13395,22 +13550,19 @@ function parseCalloutType(prosemirrorCalloutType) {
|
|
|
13395
13550
|
}
|
|
13396
13551
|
function parseAsMultiRichText(prosemirrorNode, definition, property, definitionsMap, depth) {
|
|
13397
13552
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
13398
|
-
if (!id)
|
|
13399
|
-
return [];
|
|
13553
|
+
if (!id) return [];
|
|
13400
13554
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
13401
13555
|
const result = [];
|
|
13402
13556
|
const listItems = [];
|
|
13403
13557
|
_optionalChain([prosemirrorNode, 'access', _55 => _55.content, 'optionalAccess', _56 => _56.forEach, 'call', _57 => _57((c) => {
|
|
13404
|
-
if (c.type !== "listItem")
|
|
13405
|
-
return;
|
|
13558
|
+
if (c.type !== "listItem") return;
|
|
13406
13559
|
_optionalChain([c, 'access', _58 => _58.content, 'optionalAccess', _59 => _59.forEach, 'call', _60 => _60((cc) => {
|
|
13407
13560
|
listItems.push(cc);
|
|
13408
13561
|
})]);
|
|
13409
13562
|
})]);
|
|
13410
13563
|
let bufferedTextItems = [];
|
|
13411
13564
|
function flushBufferedTextItems() {
|
|
13412
|
-
if (!bufferedTextItems.length)
|
|
13413
|
-
return;
|
|
13565
|
+
if (!bufferedTextItems.length) return;
|
|
13414
13566
|
const idSuffix = result.length ? `-${result.length}` : "";
|
|
13415
13567
|
result.push({
|
|
13416
13568
|
id: id + idSuffix,
|
|
@@ -13455,8 +13607,7 @@ function parseRichTextSpan(span) {
|
|
|
13455
13607
|
if (span.type === "hardBreak") {
|
|
13456
13608
|
return { text: "\n", attributes: [] };
|
|
13457
13609
|
}
|
|
13458
|
-
if (span.type !== "text" || !span.text)
|
|
13459
|
-
return null;
|
|
13610
|
+
if (span.type !== "text" || !span.text) return null;
|
|
13460
13611
|
const marks = _nullishCoalesce(span.marks, () => ( []));
|
|
13461
13612
|
return {
|
|
13462
13613
|
text: span.text,
|
|
@@ -13482,8 +13633,7 @@ function parseRichTextAttribute(mark) {
|
|
|
13482
13633
|
}
|
|
13483
13634
|
function parseProsemirrorLink(mark) {
|
|
13484
13635
|
const href = getProsemirrorAttribute(mark, "href", _zod.z.string().optional());
|
|
13485
|
-
if (!href)
|
|
13486
|
-
return null;
|
|
13636
|
+
if (!href) return null;
|
|
13487
13637
|
const target = getProsemirrorAttribute(mark, "target", _zod.z.string().optional());
|
|
13488
13638
|
const openInNewTab = target === "_blank";
|
|
13489
13639
|
if (href.startsWith("@")) {
|
|
@@ -13504,8 +13654,7 @@ function parseProsemirrorLink(mark) {
|
|
|
13504
13654
|
}
|
|
13505
13655
|
function parseProsemirrorCommentHighlight(mark) {
|
|
13506
13656
|
const highlightId = getProsemirrorAttribute(mark, "highlightId", _zod.z.string().optional());
|
|
13507
|
-
if (!highlightId)
|
|
13508
|
-
return null;
|
|
13657
|
+
if (!highlightId) return null;
|
|
13509
13658
|
const isResolved = _nullishCoalesce(getProsemirrorAttribute(mark, "resolved", _zod.z.boolean().optional()), () => ( false));
|
|
13510
13659
|
return {
|
|
13511
13660
|
type: "Comment",
|
|
@@ -13515,8 +13664,7 @@ function parseProsemirrorCommentHighlight(mark) {
|
|
|
13515
13664
|
}
|
|
13516
13665
|
function parseAsTable(prosemirrorNode, definition, property) {
|
|
13517
13666
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
13518
|
-
if (!id)
|
|
13519
|
-
return null;
|
|
13667
|
+
if (!id) return null;
|
|
13520
13668
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
13521
13669
|
const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", _zod.z.boolean().optional()) !== false;
|
|
13522
13670
|
const tableChild = _optionalChain([prosemirrorNode, 'access', _61 => _61.content, 'optionalAccess', _62 => _62.find, 'call', _63 => _63((c) => c.type === "table")]);
|
|
@@ -13563,8 +13711,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
|
|
|
13563
13711
|
}
|
|
13564
13712
|
function parseAsTableCell(prosemirrorNode) {
|
|
13565
13713
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
13566
|
-
if (!id)
|
|
13567
|
-
return null;
|
|
13714
|
+
if (!id) return null;
|
|
13568
13715
|
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", _zod.z.string().optional());
|
|
13569
13716
|
let columnWidth;
|
|
13570
13717
|
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", _zod.z.array(_zod.z.number()).nullish());
|
|
@@ -13580,8 +13727,7 @@ function parseAsTableCell(prosemirrorNode) {
|
|
|
13580
13727
|
};
|
|
13581
13728
|
}
|
|
13582
13729
|
function parseTableCellAlignment(alignment) {
|
|
13583
|
-
if (!alignment)
|
|
13584
|
-
return "Left";
|
|
13730
|
+
if (!alignment) return "Left";
|
|
13585
13731
|
switch (alignment) {
|
|
13586
13732
|
case "left":
|
|
13587
13733
|
return "Left";
|
|
@@ -13595,8 +13741,7 @@ function parseTableCellAlignment(alignment) {
|
|
|
13595
13741
|
}
|
|
13596
13742
|
function parseAsTableNode(prosemirrorNode) {
|
|
13597
13743
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
13598
|
-
if (!id)
|
|
13599
|
-
return null;
|
|
13744
|
+
if (!id) return null;
|
|
13600
13745
|
switch (prosemirrorNode.type) {
|
|
13601
13746
|
case "paragraph":
|
|
13602
13747
|
return {
|
|
@@ -13606,17 +13751,13 @@ function parseAsTableNode(prosemirrorNode) {
|
|
|
13606
13751
|
};
|
|
13607
13752
|
case "image":
|
|
13608
13753
|
const items = getProsemirrorAttribute(prosemirrorNode, "items", _zod.z.string());
|
|
13609
|
-
if (!items)
|
|
13610
|
-
return null;
|
|
13754
|
+
if (!items) return null;
|
|
13611
13755
|
const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
|
|
13612
|
-
if (!parsedItems.success)
|
|
13613
|
-
return null;
|
|
13756
|
+
if (!parsedItems.success) return null;
|
|
13614
13757
|
const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _80 => _80.data, 'access', _81 => _81[0], 'optionalAccess', _82 => _82.props, 'access', _83 => _83.image]);
|
|
13615
|
-
if (!rawImagePropertyValue)
|
|
13616
|
-
return null;
|
|
13758
|
+
if (!rawImagePropertyValue) return null;
|
|
13617
13759
|
const imagePropertyValueParseResult = PageBlockItemImageValue.safeParse(rawImagePropertyValue);
|
|
13618
|
-
if (!imagePropertyValueParseResult.success)
|
|
13619
|
-
return null;
|
|
13760
|
+
if (!imagePropertyValueParseResult.success) return null;
|
|
13620
13761
|
const { value, caption, alt, alignment } = imagePropertyValueParseResult.data;
|
|
13621
13762
|
return {
|
|
13622
13763
|
type: "Image",
|
|
@@ -13678,8 +13819,7 @@ function emptyTableCellContent() {
|
|
|
13678
13819
|
}
|
|
13679
13820
|
function parseAsDivider(prosemirrorNode, definition) {
|
|
13680
13821
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
13681
|
-
if (!id)
|
|
13682
|
-
return null;
|
|
13822
|
+
if (!id) return null;
|
|
13683
13823
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
13684
13824
|
return {
|
|
13685
13825
|
id,
|
|
@@ -13694,8 +13834,7 @@ function parseAsDivider(prosemirrorNode, definition) {
|
|
|
13694
13834
|
}
|
|
13695
13835
|
function parseAsCustomBlock(prosemirrorNode, definition) {
|
|
13696
13836
|
const id = getProsemirrorBlockId(prosemirrorNode);
|
|
13697
|
-
if (!id)
|
|
13698
|
-
return null;
|
|
13837
|
+
if (!id) return null;
|
|
13699
13838
|
const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
|
|
13700
13839
|
const appearance = parseAppearance(prosemirrorNode);
|
|
13701
13840
|
const parsedItems = _nullishCoalesce(parseBlockItems(prosemirrorNode, definition), () => ( []));
|
|
@@ -13726,8 +13865,7 @@ function definitionExpectsPlaceholderItem(definition) {
|
|
|
13726
13865
|
}
|
|
13727
13866
|
function parseBlockItems(prosemirrorNode, definition) {
|
|
13728
13867
|
const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", _zod.z.string());
|
|
13729
|
-
if (!itemsString)
|
|
13730
|
-
return null;
|
|
13868
|
+
if (!itemsString) return null;
|
|
13731
13869
|
const itemsJson = JSON.parse(itemsString);
|
|
13732
13870
|
if (!Array.isArray(itemsJson)) {
|
|
13733
13871
|
console.error("Block `items` property must be a json array");
|
|
@@ -13755,8 +13893,7 @@ function parseAppearance(prosemirrorNode) {
|
|
|
13755
13893
|
appearance.itemBackgroundColor = parsedColor.data;
|
|
13756
13894
|
}
|
|
13757
13895
|
}
|
|
13758
|
-
if (!Object.keys(appearance).length)
|
|
13759
|
-
return void 0;
|
|
13896
|
+
if (!Object.keys(appearance).length) return void 0;
|
|
13760
13897
|
return appearance;
|
|
13761
13898
|
}
|
|
13762
13899
|
function parseItem(rawItem, definition) {
|
|
@@ -13844,8 +13981,7 @@ function valueSchemaForPropertyType(type) {
|
|
|
13844
13981
|
}
|
|
13845
13982
|
function getProsemirrorBlockId(prosemirrorNode) {
|
|
13846
13983
|
const id = getProsemirrorAttribute(prosemirrorNode, "id", _zod.z.string());
|
|
13847
|
-
if (!id)
|
|
13848
|
-
console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
|
|
13984
|
+
if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
|
|
13849
13985
|
return id;
|
|
13850
13986
|
}
|
|
13851
13987
|
function getProsemirrorBlockVariantId(prosemirrorNode) {
|
|
@@ -13943,16 +14079,19 @@ var LocalDocsElementActionExecutor = class {
|
|
|
13943
14079
|
}
|
|
13944
14080
|
applyTransaction(trx) {
|
|
13945
14081
|
switch (trx.type) {
|
|
14082
|
+
// Groups
|
|
13946
14083
|
case "DocumentationGroupCreate":
|
|
13947
14084
|
return this.documentationGroupCreate(trx);
|
|
13948
14085
|
case "DocumentationGroupUpdate":
|
|
13949
14086
|
return this.documentationGroupUpdate(trx);
|
|
13950
14087
|
case "DocumentationGroupMove":
|
|
13951
14088
|
return this.documentationGroupMove(trx);
|
|
14089
|
+
// Groups - unsupported
|
|
13952
14090
|
case "DocumentationGroupDelete":
|
|
13953
14091
|
case "DocumentationGroupDuplicate":
|
|
13954
14092
|
case "DocumentationGroupRestore":
|
|
13955
14093
|
throw new Error(`Transaction type ${trx.type} is not yet implemented`);
|
|
14094
|
+
// Pages
|
|
13956
14095
|
case "DocumentationPageCreate":
|
|
13957
14096
|
return this.documentationPageCreate(trx);
|
|
13958
14097
|
case "DocumentationPageUpdate":
|
|
@@ -13961,15 +14100,18 @@ var LocalDocsElementActionExecutor = class {
|
|
|
13961
14100
|
return this.documentationPageMove(trx);
|
|
13962
14101
|
case "DocumentationPageDelete":
|
|
13963
14102
|
return this.documentationPageDelete(trx);
|
|
14103
|
+
// Pages - unsupported
|
|
13964
14104
|
case "DocumentationPageApprovalStateChange":
|
|
13965
14105
|
return this.documentationApprovalStateUpdate(trx);
|
|
13966
14106
|
case "DocumentationPageDuplicate":
|
|
13967
14107
|
case "DocumentationPageRestore":
|
|
13968
14108
|
throw new Error(`Transaction type ${trx.type} is not yet implemented`);
|
|
14109
|
+
// Tabs
|
|
13969
14110
|
case "DocumentationTabCreate":
|
|
13970
14111
|
return this.documentationTabCreate(trx);
|
|
13971
14112
|
case "DocumentationTabGroupDelete":
|
|
13972
14113
|
throw new Error(`Transaction type ${trx.type} is not yet implemented`);
|
|
14114
|
+
// Won't ever be supported
|
|
13973
14115
|
case "FigmaNodeRender":
|
|
13974
14116
|
case "FigmaNodeRenderAsync":
|
|
13975
14117
|
throw new Error(`Transaction type ${trx.type} is not a documentation element action`);
|
|
@@ -14178,13 +14320,10 @@ var LocalDocsElementActionExecutor = class {
|
|
|
14178
14320
|
...Array.from(this.pages.values()).filter((p) => p.parentPersistentId === parentPersistentId),
|
|
14179
14321
|
...Array.from(this.groups.values()).filter((g) => g.parentPersistentId === parentPersistentId)
|
|
14180
14322
|
];
|
|
14181
|
-
if (!neighbours.length)
|
|
14182
|
-
return 0;
|
|
14323
|
+
if (!neighbours.length) return 0;
|
|
14183
14324
|
neighbours.sort((lhs, rhs) => lhs.sortOrder - rhs.sortOrder);
|
|
14184
|
-
if (afterPersistentId === null)
|
|
14185
|
-
|
|
14186
|
-
if (!afterPersistentId)
|
|
14187
|
-
return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
|
|
14325
|
+
if (afterPersistentId === null) return neighbours[0].sortOrder - sortOrderStep;
|
|
14326
|
+
if (!afterPersistentId) return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
|
|
14188
14327
|
const index = neighbours.findIndex((e) => e.persistentId === afterPersistentId);
|
|
14189
14328
|
if (index < 0 || index === neighbours.length - 1) {
|
|
14190
14329
|
return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
|
|
@@ -14229,24 +14368,21 @@ var DocsStructureRepository = class {
|
|
|
14229
14368
|
return !!this._currentHierarchy;
|
|
14230
14369
|
}
|
|
14231
14370
|
onInitialized() {
|
|
14232
|
-
if (this.isInitialized)
|
|
14233
|
-
return Promise.resolve();
|
|
14371
|
+
if (this.isInitialized) return Promise.resolve();
|
|
14234
14372
|
return new Promise((resolve) => {
|
|
14235
14373
|
this.initCallbacks.add(resolve);
|
|
14236
14374
|
});
|
|
14237
14375
|
}
|
|
14238
14376
|
addHierarchyObserver(observer) {
|
|
14239
14377
|
this.hierarchyObservers.add(observer);
|
|
14240
|
-
if (this._currentHierarchy)
|
|
14241
|
-
observer(this._currentHierarchy);
|
|
14378
|
+
if (this._currentHierarchy) observer(this._currentHierarchy);
|
|
14242
14379
|
}
|
|
14243
14380
|
removeHierarchyObserver(observer) {
|
|
14244
14381
|
this.hierarchyObservers.delete(observer);
|
|
14245
14382
|
}
|
|
14246
14383
|
addSettingsObserver(observer) {
|
|
14247
14384
|
this.settingsObservers.add(observer);
|
|
14248
|
-
if (this._currentSettings)
|
|
14249
|
-
observer(this._currentSettings);
|
|
14385
|
+
if (this._currentSettings) observer(this._currentSettings);
|
|
14250
14386
|
}
|
|
14251
14387
|
removeSettingsObserver(observer) {
|
|
14252
14388
|
this.settingsObservers.delete(observer);
|
|
@@ -14269,8 +14405,7 @@ var DocsStructureRepository = class {
|
|
|
14269
14405
|
//
|
|
14270
14406
|
get currentHierarchy() {
|
|
14271
14407
|
const hierarchy = this._currentHierarchy;
|
|
14272
|
-
if (!hierarchy)
|
|
14273
|
-
throw new Error(`Hierarchy cannot be accessed while it's still loading`);
|
|
14408
|
+
if (!hierarchy) throw new Error(`Hierarchy cannot be accessed while it's still loading`);
|
|
14274
14409
|
return hierarchy;
|
|
14275
14410
|
}
|
|
14276
14411
|
//
|
|
@@ -14309,8 +14444,7 @@ var DocsStructureRepository = class {
|
|
|
14309
14444
|
}
|
|
14310
14445
|
refreshSettings() {
|
|
14311
14446
|
const yState = this._yState;
|
|
14312
|
-
if (!yState)
|
|
14313
|
-
return;
|
|
14447
|
+
if (!yState) return;
|
|
14314
14448
|
const newSettings = {
|
|
14315
14449
|
isApprovalRequiredForPublishing: yState.settings.approvalRequiredForPublishing,
|
|
14316
14450
|
isApprovalsFeatureEnabled: yState.settings.isApprovalFeatureEnabled,
|
|
@@ -14323,11 +14457,9 @@ var DocsStructureRepository = class {
|
|
|
14323
14457
|
}
|
|
14324
14458
|
refreshHierarchy() {
|
|
14325
14459
|
const yState = this._yState;
|
|
14326
|
-
if (!yState)
|
|
14327
|
-
return;
|
|
14460
|
+
if (!yState) return;
|
|
14328
14461
|
const hierarchy = this.calculateHierarchy(yState);
|
|
14329
|
-
if (!hierarchy)
|
|
14330
|
-
return;
|
|
14462
|
+
if (!hierarchy) return;
|
|
14331
14463
|
this._currentHierarchy = hierarchy;
|
|
14332
14464
|
this.hierarchyObservers.forEach((o) => o(hierarchy));
|
|
14333
14465
|
}
|
|
@@ -14836,5 +14968,28 @@ var TransactionQueue = class {
|
|
|
14836
14968
|
|
|
14837
14969
|
|
|
14838
14970
|
|
|
14839
|
-
exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BrandsEndpoint = BrandsEndpoint; exports.CodeComponentsEndpoint = CodeComponentsEndpoint; exports.CodegenEndpoint = CodegenEndpoint; exports.Collection = Collection2; exports.DTOAnalyticsDataResponse = DTOAnalyticsDataResponse; 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.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; 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.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.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.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.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.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.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.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;
|
|
14971
|
+
|
|
14972
|
+
|
|
14973
|
+
|
|
14974
|
+
|
|
14975
|
+
|
|
14976
|
+
|
|
14977
|
+
|
|
14978
|
+
|
|
14979
|
+
|
|
14980
|
+
|
|
14981
|
+
|
|
14982
|
+
|
|
14983
|
+
|
|
14984
|
+
|
|
14985
|
+
|
|
14986
|
+
|
|
14987
|
+
|
|
14988
|
+
|
|
14989
|
+
|
|
14990
|
+
|
|
14991
|
+
|
|
14992
|
+
|
|
14993
|
+
|
|
14994
|
+
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;
|
|
14840
14995
|
//# sourceMappingURL=index.js.map
|