@supernova-studio/client 1.0.0-alpha.6 → 1.0.0-alpha.7
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 +393 -7
- package/dist/index.d.ts +393 -7
- package/dist/index.js +163 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +499 -364
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -838,6 +838,12 @@ function areShallowObjectsEqual(lhs, rhs) {
|
|
|
838
838
|
}
|
|
839
839
|
return true;
|
|
840
840
|
}
|
|
841
|
+
function recordToMap(record) {
|
|
842
|
+
const map = /* @__PURE__ */ new Map();
|
|
843
|
+
for (const [k, v] of Object.entries(record))
|
|
844
|
+
map.set(k, v);
|
|
845
|
+
return map;
|
|
846
|
+
}
|
|
841
847
|
var ContentLoadInstruction = _zod.z.object({
|
|
842
848
|
from: _zod.z.string(),
|
|
843
849
|
to: _zod.z.string(),
|
|
@@ -1709,6 +1715,7 @@ var PageBlockCodeLanguage = _zod.z.enum([
|
|
|
1709
1715
|
]);
|
|
1710
1716
|
var PageBlockAlignment = _zod.z.enum(["Left", "Center", "Stretch", "Right"]);
|
|
1711
1717
|
var PageBlockThemeType = _zod.z.enum(["Override", "Comparison"]);
|
|
1718
|
+
var PageBlockTokenNameFormat = _zod.z.enum(["Name", "GroupAndName", "FullPath", "CustomProperty"]);
|
|
1712
1719
|
var PageBlockAssetType = _zod.z.enum(["image", "figmaFrame"]);
|
|
1713
1720
|
var PageBlockTilesAlignment = _zod.z.enum(["Center", "FrameHeight"]);
|
|
1714
1721
|
var PageBlockTilesLayout = _zod.z.enum(["C8", "C7", "C6", "C5", "C4", "C3", "C2", "C1", "C1_75"]);
|
|
@@ -1783,6 +1790,7 @@ var PageBlockFigmaFrameProperties = _zod.z.object({
|
|
|
1783
1790
|
})
|
|
1784
1791
|
),
|
|
1785
1792
|
alignment: PageBlockTilesAlignment,
|
|
1793
|
+
previewContainerHeight: nullishToOptional(_zod.z.number()),
|
|
1786
1794
|
layout: PageBlockTilesLayout,
|
|
1787
1795
|
backgroundColor: nullishToOptional(ColorTokenInlineData),
|
|
1788
1796
|
showTitles: _zod.z.boolean()
|
|
@@ -1814,8 +1822,17 @@ var PageBlockFigmaComponentBlockConfig = _zod.z.object({
|
|
|
1814
1822
|
showPropertyList: nullishToOptional(_zod.z.boolean()),
|
|
1815
1823
|
previewOrderIds: nullishToOptional(_zod.z.array(_zod.z.string())),
|
|
1816
1824
|
previewContainerSize: nullishToOptional(_zod.z.enum(["Centered", "NaturalHeight"])),
|
|
1825
|
+
previewContainerHeight: nullishToOptional(_zod.z.number()),
|
|
1817
1826
|
backgroundColor: nullishToOptional(ColorTokenInlineData)
|
|
1818
1827
|
});
|
|
1828
|
+
var PageBlockTokenBlockConfig = _zod.z.object({
|
|
1829
|
+
tokenNameFormat: nullishToOptional(PageBlockTokenNameFormat),
|
|
1830
|
+
tokenNameCustomPropertyId: nullishToOptional(_zod.z.string())
|
|
1831
|
+
});
|
|
1832
|
+
var PageBlockAssetBlockConfig = _zod.z.object({
|
|
1833
|
+
showSearch: nullishToOptional(_zod.z.boolean()),
|
|
1834
|
+
showAssetDescription: nullishToOptional(_zod.z.boolean())
|
|
1835
|
+
});
|
|
1819
1836
|
var PageBlockSelectedFigmaComponent = _zod.z.object({
|
|
1820
1837
|
figmaComponentId: _zod.z.string(),
|
|
1821
1838
|
selectedComponentProperties: _zod.z.string().array()
|
|
@@ -1846,7 +1863,9 @@ var PageBlockGuideline = _zod.z.object({
|
|
|
1846
1863
|
type: _zod.z.string(),
|
|
1847
1864
|
imageAlt: nullishToOptional(_zod.z.string()),
|
|
1848
1865
|
imageCaption: nullishToOptional(_zod.z.string()),
|
|
1849
|
-
imageAlignment: nullishToOptional(PageBlockAlignment)
|
|
1866
|
+
imageAlignment: nullishToOptional(PageBlockAlignment),
|
|
1867
|
+
openLightbox: nullishToOptional(_zod.z.boolean()),
|
|
1868
|
+
isBordered: nullishToOptional(_zod.z.boolean())
|
|
1850
1869
|
});
|
|
1851
1870
|
var PageBlockBaseV1 = _zod.z.object({
|
|
1852
1871
|
persistentId: _zod.z.string(),
|
|
@@ -1873,6 +1892,8 @@ var PageBlockBaseV1 = _zod.z.object({
|
|
|
1873
1892
|
asset: nullishToOptional(PageBlockAsset),
|
|
1874
1893
|
alignment: nullishToOptional(PageBlockAlignment),
|
|
1875
1894
|
imageAlt: nullishToOptional(_zod.z.string()),
|
|
1895
|
+
openLightbox: nullishToOptional(_zod.z.boolean()),
|
|
1896
|
+
isBordered: nullishToOptional(_zod.z.boolean()),
|
|
1876
1897
|
// Shortcuts block
|
|
1877
1898
|
shortcuts: nullishToOptional(_zod.z.array(PageBlockShortcut)),
|
|
1878
1899
|
// Guidelines
|
|
@@ -1894,10 +1915,13 @@ var PageBlockBaseV1 = _zod.z.object({
|
|
|
1894
1915
|
// Tables
|
|
1895
1916
|
tableProperties: nullishToOptional(PageBlockTableProperties),
|
|
1896
1917
|
columnId: nullishToOptional(_zod.z.string()),
|
|
1897
|
-
//
|
|
1918
|
+
// Design tokens
|
|
1898
1919
|
theme: nullishToOptional(PageBlockTheme),
|
|
1899
1920
|
swatches: nullishToOptional(PageBlockSwatch.array()),
|
|
1900
1921
|
blacklistedElementProperties: nullishToOptional(_zod.z.array(_zod.z.string())),
|
|
1922
|
+
tokenBlockConfig: nullishToOptional(PageBlockTokenBlockConfig),
|
|
1923
|
+
// (Vector) assets
|
|
1924
|
+
assetBlockConfig: nullishToOptional(PageBlockAssetBlockConfig),
|
|
1901
1925
|
// Figma components
|
|
1902
1926
|
figmaComponentsBlockConfig: nullishToOptional(PageBlockFigmaComponentBlockConfig),
|
|
1903
1927
|
selectedFigmaComponent: nullishToOptional(PageBlockSelectedFigmaComponent),
|
|
@@ -2195,7 +2219,6 @@ var PageBlockImageAlignment = _zod.z.enum(["Left", "Center", "Stretch"]);
|
|
|
2195
2219
|
var PageBlockTableCellAlignment = _zod.z.enum(["Left", "Center", "Right"]);
|
|
2196
2220
|
var PageBlockPreviewContainerSize = _zod.z.enum(["Centered", "NaturalHeight"]);
|
|
2197
2221
|
var PageBlockThemeDisplayMode = _zod.z.enum(["Split", "Override"]);
|
|
2198
|
-
var PageBlockTokenNameFormat = _zod.z.enum(["Name", "GroupAndName", "FullPath", "CustomProperty"]);
|
|
2199
2222
|
var PageBlockTokenValueFormat = _zod.z.enum(["ResolvedValue", "ReferenceName", "NoValue"]);
|
|
2200
2223
|
var PageBlockImageResourceReference = _zod.z.object({
|
|
2201
2224
|
resourceId: _zod.z.string(),
|
|
@@ -2444,7 +2467,9 @@ var PageBlockItemTableImageNode = _zod.z.object({
|
|
|
2444
2467
|
caption: PageBlockItemImageValue.shape.caption,
|
|
2445
2468
|
alt: PageBlockItemImageValue.shape.alt,
|
|
2446
2469
|
value: PageBlockItemImageValue.shape.value,
|
|
2447
|
-
alignment: PageBlockItemImageValue.shape.alignment
|
|
2470
|
+
alignment: PageBlockItemImageValue.shape.alignment,
|
|
2471
|
+
openLightbox: PageBlockItemImageValue.shape.openLightbox,
|
|
2472
|
+
isBordered: PageBlockItemImageValue.shape.isBordered
|
|
2448
2473
|
});
|
|
2449
2474
|
var PageBlockItemTableNode = _zod.z.discriminatedUnion("type", [
|
|
2450
2475
|
PageBlockItemTableRichTextNode,
|
|
@@ -2729,6 +2754,7 @@ var ShadowLayerValue = _zod.z.object({
|
|
|
2729
2754
|
type: ShadowType
|
|
2730
2755
|
});
|
|
2731
2756
|
var ShadowTokenDataBase = tokenAliasOrValue(ShadowLayerValue);
|
|
2757
|
+
var ShadowValue = _zod.z.array(ShadowTokenDataBase);
|
|
2732
2758
|
var ShadowTokenData = tokenAliasOrValue(_zod.z.array(ShadowTokenDataBase));
|
|
2733
2759
|
var SizeUnit = _zod.z.enum(["Pixels", "Rem", "Percent"]);
|
|
2734
2760
|
var SizeValue = _zod.z.object({
|
|
@@ -3246,10 +3272,15 @@ var FigmaImportBaseContext = _zod.z.object({
|
|
|
3246
3272
|
*/
|
|
3247
3273
|
importWarnings: _zod.z.record(ImportWarning.array()).default({})
|
|
3248
3274
|
});
|
|
3275
|
+
var FeatureFlagsKeepAliases = _zod.z.object({
|
|
3276
|
+
isTypographyPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
|
|
3277
|
+
isGradientPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
|
|
3278
|
+
isShadowPropsKeepAliasesEnabled: _zod.z.boolean().default(false)
|
|
3279
|
+
});
|
|
3249
3280
|
var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
|
|
3250
3281
|
sourcesWithMissingAccess: _zod.z.array(_zod.z.string()).default([]),
|
|
3251
3282
|
shadowOpacityOptional: _zod.z.boolean().default(false),
|
|
3252
|
-
|
|
3283
|
+
featureFlagsKeepAliases: FeatureFlagsKeepAliases.default({})
|
|
3253
3284
|
});
|
|
3254
3285
|
var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
|
|
3255
3286
|
importMetadata: DataSourceFigmaImportMetadata
|
|
@@ -4300,7 +4331,8 @@ var RestoredDocumentationGroup = _zod.z.object({
|
|
|
4300
4331
|
parent: ElementGroup
|
|
4301
4332
|
});
|
|
4302
4333
|
var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
|
|
4303
|
-
RoomTypeEnum2["
|
|
4334
|
+
RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
|
|
4335
|
+
RoomTypeEnum2["DocumentationPage"] = "doc-page";
|
|
4304
4336
|
RoomTypeEnum2["DesignSystemVersion"] = "design-system-version";
|
|
4305
4337
|
RoomTypeEnum2["Workspace"] = "workspace";
|
|
4306
4338
|
return RoomTypeEnum2;
|
|
@@ -4624,7 +4656,9 @@ var FlaggedFeature = _zod.z.enum([
|
|
|
4624
4656
|
"ShadowOpacityOptional",
|
|
4625
4657
|
"DisableImporter",
|
|
4626
4658
|
"VariablesOrder",
|
|
4627
|
-
"TypographyPropsKeepAliases"
|
|
4659
|
+
"TypographyPropsKeepAliases",
|
|
4660
|
+
"GradientPropsKeepAliases",
|
|
4661
|
+
"ShadowPropsKeepAliases"
|
|
4628
4662
|
]);
|
|
4629
4663
|
var FeatureFlagMap = _zod.z.record(FlaggedFeature, _zod.z.boolean());
|
|
4630
4664
|
var FeatureFlag = _zod.z.object({
|
|
@@ -5037,25 +5071,26 @@ function documentationPageToDTOV1(page, pagePathMap) {
|
|
|
5037
5071
|
}
|
|
5038
5072
|
|
|
5039
5073
|
// src/api/conversion/documentation/documentation-page-v2-to-dto.ts
|
|
5040
|
-
function documentationPageToDTOV2(page, groups, routingVersion) {
|
|
5074
|
+
function documentationPageToDTOV2(page, groups, routingVersion, pageLiveblocksRoomIdMap) {
|
|
5041
5075
|
const pathsMap = buildDocPagePublishPaths(groups, [page], routingVersion);
|
|
5042
|
-
return _documentationPageToDTOV2(page, pathsMap);
|
|
5076
|
+
return _documentationPageToDTOV2(page, pathsMap, pageLiveblocksRoomIdMap);
|
|
5043
5077
|
}
|
|
5044
|
-
function documentationPagesToDTOV2(pages, groups, routingVersion) {
|
|
5078
|
+
function documentationPagesToDTOV2(pages, groups, routingVersion, pageLiveblocksRoomIdMap) {
|
|
5045
5079
|
const pathsMap = buildDocPagePublishPaths(groups, pages, routingVersion);
|
|
5046
|
-
return pages.map((page) => _documentationPageToDTOV2(page, pathsMap));
|
|
5080
|
+
return pages.map((page) => _documentationPageToDTOV2(page, pathsMap, pageLiveblocksRoomIdMap));
|
|
5047
5081
|
}
|
|
5048
|
-
function documentationPagesFixedConfigurationToDTOV2(pages, groups, routingVersion) {
|
|
5082
|
+
function documentationPagesFixedConfigurationToDTOV2(pages, groups, routingVersion, pageLiveblocksRoomIdMap) {
|
|
5049
5083
|
const pathsMap = buildDocPagePublishPaths(groups, pages, routingVersion);
|
|
5050
5084
|
const { pages: fixedPages } = applyPrivacyConfigurationToNestedItems(pages, groups, getDtoDefaultItemConfigurationV2);
|
|
5051
|
-
return fixedPages.map((page) => _documentationPageToDTOV2(page, pathsMap));
|
|
5085
|
+
return fixedPages.map((page) => _documentationPageToDTOV2(page, pathsMap, pageLiveblocksRoomIdMap));
|
|
5052
5086
|
}
|
|
5053
|
-
function _documentationPageToDTOV2(page, pagePathMap) {
|
|
5087
|
+
function _documentationPageToDTOV2(page, pagePathMap, pageLiveblocksRoomIdMap) {
|
|
5054
5088
|
let path = pagePathMap.get(page.persistentId);
|
|
5055
5089
|
if (!path)
|
|
5056
5090
|
throw new Error(`Path for page ${page.persistentId} was not calculated`);
|
|
5057
5091
|
if (path.startsWith("/"))
|
|
5058
5092
|
path = path.substring(1);
|
|
5093
|
+
const liveblocksRoomId = pageLiveblocksRoomIdMap.get(page.persistentId);
|
|
5059
5094
|
return {
|
|
5060
5095
|
id: "to_be_removed",
|
|
5061
5096
|
designSystemVersionId: page.designSystemVersionId,
|
|
@@ -5068,7 +5103,8 @@ function _documentationPageToDTOV2(page, pagePathMap) {
|
|
|
5068
5103
|
createdAt: page.createdAt,
|
|
5069
5104
|
updatedAt: page.updatedAt,
|
|
5070
5105
|
path,
|
|
5071
|
-
type: "Page"
|
|
5106
|
+
type: "Page",
|
|
5107
|
+
...liveblocksRoomId && { liveblocksRoomId }
|
|
5072
5108
|
};
|
|
5073
5109
|
}
|
|
5074
5110
|
|
|
@@ -6260,6 +6296,8 @@ var DTODocumentationPageV2 = _zod.z.object({
|
|
|
6260
6296
|
publishMetadata: DTODocumentationPublishMetadata.optional(),
|
|
6261
6297
|
/** Defines the approval state of the documentation page */
|
|
6262
6298
|
approvalState: DTODocumentationPageApprovalState.optional(),
|
|
6299
|
+
/** Id of the page document room */
|
|
6300
|
+
liveblocksRoomId: _zod.z.string().optional(),
|
|
6263
6301
|
// Backward compatibility
|
|
6264
6302
|
type: _zod.z.literal("Page")
|
|
6265
6303
|
});
|
|
@@ -6368,7 +6406,7 @@ var DTOExporterMembership = _zod.z.object({
|
|
|
6368
6406
|
exporterId: _zod.z.string(),
|
|
6369
6407
|
role: DTOExporterMembershipRole
|
|
6370
6408
|
});
|
|
6371
|
-
var
|
|
6409
|
+
var DTOExporterResponse = _zod.z.object({
|
|
6372
6410
|
exporter: DTOExporter,
|
|
6373
6411
|
membership: DTOExporterMembership
|
|
6374
6412
|
});
|
|
@@ -6440,6 +6478,12 @@ var DTOExportJob = _zod.z.object({
|
|
|
6440
6478
|
var DTOExportJobResponse = _zod.z.object({
|
|
6441
6479
|
job: DTOExportJob
|
|
6442
6480
|
});
|
|
6481
|
+
var DTOExportJobResponseLegacy = _zod.z.object({
|
|
6482
|
+
job: _zod.z.object({
|
|
6483
|
+
id: _zod.z.string(),
|
|
6484
|
+
status: ExportJobStatus
|
|
6485
|
+
})
|
|
6486
|
+
});
|
|
6443
6487
|
|
|
6444
6488
|
// src/api/dto/export/pipeline.ts
|
|
6445
6489
|
|
|
@@ -6484,6 +6528,15 @@ var DTOPublishDocumentationResponse = _zod.z.object({
|
|
|
6484
6528
|
job: DTOExportJob
|
|
6485
6529
|
});
|
|
6486
6530
|
|
|
6531
|
+
// src/api/dto/documentation/room.ts
|
|
6532
|
+
|
|
6533
|
+
var DTODocumentationPageRoom = _zod.z.object({
|
|
6534
|
+
id: _zod.z.string()
|
|
6535
|
+
});
|
|
6536
|
+
var DTODocumentationPageRoomResponse = _zod.z.object({
|
|
6537
|
+
room: DTODocumentationPageRoom
|
|
6538
|
+
});
|
|
6539
|
+
|
|
6487
6540
|
// src/api/dto/elements/components/figma-component-group.ts
|
|
6488
6541
|
|
|
6489
6542
|
var DTOFigmaComponentGroup = _zod2.default.object({
|
|
@@ -7237,11 +7290,34 @@ var ExportersEndpoint = class {
|
|
|
7237
7290
|
constructor(requestExecutor) {
|
|
7238
7291
|
this.requestExecutor = requestExecutor;
|
|
7239
7292
|
}
|
|
7293
|
+
add(workspaceId, body) {
|
|
7294
|
+
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/exporters`, DTOExporterResponse, {
|
|
7295
|
+
body,
|
|
7296
|
+
method: "POST"
|
|
7297
|
+
});
|
|
7298
|
+
}
|
|
7240
7299
|
list(workspaceId, query) {
|
|
7241
7300
|
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/exporters`, DTOExporterListResponse, {
|
|
7242
7301
|
query: serializeQuery(query)
|
|
7243
7302
|
});
|
|
7244
7303
|
}
|
|
7304
|
+
get(workspaceId, exporterId) {
|
|
7305
|
+
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/exporters/${exporterId}`, DTOExporterResponse);
|
|
7306
|
+
}
|
|
7307
|
+
};
|
|
7308
|
+
|
|
7309
|
+
// src/api/endpoints/codegen/jobs.ts
|
|
7310
|
+
|
|
7311
|
+
var ExporterJobsEndpoint = class {
|
|
7312
|
+
constructor(requestExecutor) {
|
|
7313
|
+
this.requestExecutor = requestExecutor;
|
|
7314
|
+
}
|
|
7315
|
+
list(workspaceId) {
|
|
7316
|
+
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, _zod.z.any());
|
|
7317
|
+
}
|
|
7318
|
+
get(workspaceId, jobId) {
|
|
7319
|
+
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
|
|
7320
|
+
}
|
|
7245
7321
|
};
|
|
7246
7322
|
|
|
7247
7323
|
// src/api/endpoints/codegen/pipelines.ts
|
|
@@ -7281,8 +7357,10 @@ var CodegenEndpoint = class {
|
|
|
7281
7357
|
this.requestExecutor = requestExecutor;
|
|
7282
7358
|
__publicField(this, "exporters");
|
|
7283
7359
|
__publicField(this, "pipelines");
|
|
7360
|
+
__publicField(this, "jobs");
|
|
7284
7361
|
this.pipelines = new PipelinesEndpoint(requestExecutor);
|
|
7285
7362
|
this.exporters = new ExportersEndpoint(requestExecutor);
|
|
7363
|
+
this.jobs = new ExporterJobsEndpoint(requestExecutor);
|
|
7286
7364
|
}
|
|
7287
7365
|
};
|
|
7288
7366
|
|
|
@@ -7332,8 +7410,8 @@ var DocumentationEndpoint = class {
|
|
|
7332
7410
|
constructor(requestExecutor) {
|
|
7333
7411
|
this.requestExecutor = requestExecutor;
|
|
7334
7412
|
}
|
|
7335
|
-
getStructure(designSystemId, versionId) {
|
|
7336
|
-
return this.requestExecutor.json(
|
|
7413
|
+
async getStructure(designSystemId, versionId) {
|
|
7414
|
+
return await this.requestExecutor.json(
|
|
7337
7415
|
`/design-systems/${designSystemId}/versions/${versionId}/documentation/structure`,
|
|
7338
7416
|
DTODocumentationStructure
|
|
7339
7417
|
);
|
|
@@ -7341,10 +7419,13 @@ var DocumentationEndpoint = class {
|
|
|
7341
7419
|
async getDocStructure(dsId, vId) {
|
|
7342
7420
|
return await this.requestExecutor.json(
|
|
7343
7421
|
`/design-systems/${dsId}/versions/${vId}/documentation/structure`,
|
|
7344
|
-
DTODocumentationStructure
|
|
7345
|
-
|
|
7346
|
-
|
|
7347
|
-
|
|
7422
|
+
DTODocumentationStructure
|
|
7423
|
+
);
|
|
7424
|
+
}
|
|
7425
|
+
async getPageRoom(dsId, vId, pageId) {
|
|
7426
|
+
return await this.requestExecutor.json(
|
|
7427
|
+
`/design-systems/${dsId}/versions/${vId}/documentation/pages/${pageId}/room`,
|
|
7428
|
+
DTODocumentationPageRoomResponse
|
|
7348
7429
|
);
|
|
7349
7430
|
}
|
|
7350
7431
|
};
|
|
@@ -7908,6 +7989,19 @@ var WorkspacesEndpoint = class {
|
|
|
7908
7989
|
}
|
|
7909
7990
|
};
|
|
7910
7991
|
|
|
7992
|
+
// src/api/endpoints/liveblocks.ts
|
|
7993
|
+
var LiveblocksEndpoint = class {
|
|
7994
|
+
constructor(requestExecutor) {
|
|
7995
|
+
this.requestExecutor = requestExecutor;
|
|
7996
|
+
}
|
|
7997
|
+
auth(body) {
|
|
7998
|
+
return this.requestExecutor.json("/liveblocks/auth", DTOLiveblocksAuthResponse, {
|
|
7999
|
+
method: "POST",
|
|
8000
|
+
body
|
|
8001
|
+
});
|
|
8002
|
+
}
|
|
8003
|
+
};
|
|
8004
|
+
|
|
7911
8005
|
// src/api/endpoints/users.ts
|
|
7912
8006
|
var UsersEndpoint = class {
|
|
7913
8007
|
constructor(requestExecutor) {
|
|
@@ -8050,6 +8144,7 @@ var SupernovaApiClient = class {
|
|
|
8050
8144
|
__publicField(this, "workspaces");
|
|
8051
8145
|
__publicField(this, "designSystems");
|
|
8052
8146
|
__publicField(this, "codegen");
|
|
8147
|
+
__publicField(this, "liveblocks");
|
|
8053
8148
|
const requestExecutor = new RequestExecutor({
|
|
8054
8149
|
host: config.host,
|
|
8055
8150
|
accessToken: config.accessToken
|
|
@@ -8058,6 +8153,7 @@ var SupernovaApiClient = class {
|
|
|
8058
8153
|
this.workspaces = new WorkspacesEndpoint(requestExecutor);
|
|
8059
8154
|
this.designSystems = new DesignSystemsEndpoint(requestExecutor);
|
|
8060
8155
|
this.codegen = new CodegenEndpoint(requestExecutor);
|
|
8156
|
+
this.liveblocks = new LiveblocksEndpoint(requestExecutor);
|
|
8061
8157
|
}
|
|
8062
8158
|
};
|
|
8063
8159
|
|
|
@@ -8084,7 +8180,8 @@ var VersionRoomBaseYDoc = class {
|
|
|
8084
8180
|
groupSnapshots: this.getGroupSnapshots(),
|
|
8085
8181
|
pageContentHashes: this.getDocumentationPageContentHashes(),
|
|
8086
8182
|
pageSnapshots: this.getPageSnapshots(),
|
|
8087
|
-
settings: this.getDocumentationInternalSettings()
|
|
8183
|
+
settings: this.getDocumentationInternalSettings(),
|
|
8184
|
+
pageLiveblockRoomIds: this.getDocumentationPageLiveblocksRoomIds()
|
|
8088
8185
|
};
|
|
8089
8186
|
}
|
|
8090
8187
|
//
|
|
@@ -8216,6 +8313,18 @@ var VersionRoomBaseYDoc = class {
|
|
|
8216
8313
|
});
|
|
8217
8314
|
return result;
|
|
8218
8315
|
}
|
|
8316
|
+
getDocumentationPageLiveblocksRoomIds() {
|
|
8317
|
+
const map = this.documentationPageLiveblocksRoomIdsYMap;
|
|
8318
|
+
const result = {};
|
|
8319
|
+
map.forEach((hash2, key) => {
|
|
8320
|
+
if (typeof hash2 === "string")
|
|
8321
|
+
result[key] = hash2;
|
|
8322
|
+
});
|
|
8323
|
+
return result;
|
|
8324
|
+
}
|
|
8325
|
+
get documentationPageLiveblocksRoomIdsYMap() {
|
|
8326
|
+
return this.yDoc.getMap("documentationPageLiveblocksRoomIds");
|
|
8327
|
+
}
|
|
8219
8328
|
updateDocumentationPageContentHashes(hashes) {
|
|
8220
8329
|
const map = this.documentationPageContentHashesYMap;
|
|
8221
8330
|
Object.entries(hashes).forEach(([key, hash2]) => map.set(key, hash2));
|
|
@@ -8242,12 +8351,12 @@ var VersionRoomBaseYDoc = class {
|
|
|
8242
8351
|
function computeDocsHierarchy(input, options = {}) {
|
|
8243
8352
|
const includeDeletedContent = _nullishCoalesce(options.includeDeletedContent, () => ( false));
|
|
8244
8353
|
const debug = _nullishCoalesce(options.debug, () => ( false));
|
|
8245
|
-
const { pages, groups, pageSnapshots, groupSnapshots, settings, pageContentHashes, approvals } = input;
|
|
8354
|
+
const { pages, groups, pageSnapshots, groupSnapshots, settings, pageContentHashes, approvals, pageLiveblockRoomIds } = input;
|
|
8246
8355
|
if (includeDeletedContent) {
|
|
8247
8356
|
pages.push(...getDeletedPages(pages, pageSnapshots));
|
|
8248
8357
|
groups.push(...getDeletedGroups(groups, groupSnapshots));
|
|
8249
8358
|
}
|
|
8250
|
-
const pageDTOs = documentationPagesToDTOV2(pages, groups, settings.routingVersion);
|
|
8359
|
+
const pageDTOs = documentationPagesToDTOV2(pages, groups, settings.routingVersion, recordToMap(pageLiveblockRoomIds));
|
|
8251
8360
|
const groupDTOs = elementGroupsToDocumentationGroupDTOV2(groups, pages);
|
|
8252
8361
|
if (!settings.isDraftFeatureAdopted) {
|
|
8253
8362
|
return {
|
|
@@ -12903,6 +13012,7 @@ var BackendVersionRoomYDoc = class {
|
|
|
12903
13012
|
var LocalStorage = class {
|
|
12904
13013
|
constructor() {
|
|
12905
13014
|
__publicField(this, "pages", /* @__PURE__ */ new Map());
|
|
13015
|
+
__publicField(this, "liveblocksRoomIds", /* @__PURE__ */ new Map());
|
|
12906
13016
|
__publicField(this, "deletedPageIds", /* @__PURE__ */ new Set());
|
|
12907
13017
|
__publicField(this, "groups", /* @__PURE__ */ new Map());
|
|
12908
13018
|
}
|
|
@@ -12934,14 +13044,24 @@ var LocalStorage = class {
|
|
|
12934
13044
|
removePage(persistentId) {
|
|
12935
13045
|
this.pages.delete(persistentId);
|
|
12936
13046
|
}
|
|
13047
|
+
setPageLiveblocksRoomId(pagePersistentId, id) {
|
|
13048
|
+
this.liveblocksRoomIds.set(pagePersistentId, id);
|
|
13049
|
+
}
|
|
13050
|
+
getPageLiveblocksRoomId(pagePersistentId) {
|
|
13051
|
+
return this.liveblocksRoomIds.get(pagePersistentId);
|
|
13052
|
+
}
|
|
13053
|
+
getAllPageLiveblocksRoomIds() {
|
|
13054
|
+
return this.liveblocksRoomIds;
|
|
13055
|
+
}
|
|
12937
13056
|
};
|
|
12938
13057
|
|
|
12939
13058
|
// src/sync/docs-structure-repo.ts
|
|
12940
13059
|
var DocsStructureRepo = class {
|
|
12941
13060
|
};
|
|
12942
13061
|
var DocsStructureRepository = class {
|
|
12943
|
-
constructor(yDoc, transactionExecutor) {
|
|
13062
|
+
constructor(designSystemVersionId, yDoc, transactionExecutor) {
|
|
12944
13063
|
__publicField(this, "localState", new LocalStorage());
|
|
13064
|
+
__publicField(this, "designSystemVersionId");
|
|
12945
13065
|
__publicField(this, "yDoc");
|
|
12946
13066
|
__publicField(this, "yObserver");
|
|
12947
13067
|
__publicField(this, "_yState");
|
|
@@ -12949,6 +13069,7 @@ var DocsStructureRepository = class {
|
|
|
12949
13069
|
__publicField(this, "trxQueue");
|
|
12950
13070
|
__publicField(this, "hierarchyObservers", /* @__PURE__ */ new Set());
|
|
12951
13071
|
__publicField(this, "initCallbacks", /* @__PURE__ */ new Set());
|
|
13072
|
+
this.designSystemVersionId = designSystemVersionId;
|
|
12952
13073
|
this.yDoc = yDoc;
|
|
12953
13074
|
this.yObserver = yDoc.on("update", () => this.onYUpdate());
|
|
12954
13075
|
this.onYUpdate();
|
|
@@ -13017,6 +13138,10 @@ var DocsStructureRepository = class {
|
|
|
13017
13138
|
sortOrder: this.calculateSortOrder(input.parentPersistentId, input.afterPersistentId),
|
|
13018
13139
|
designSystemVersionId: ""
|
|
13019
13140
|
});
|
|
13141
|
+
this.localState.setPageLiveblocksRoomId(
|
|
13142
|
+
input.persistentId,
|
|
13143
|
+
`${RoomType.DocumentationPage}:${this.designSystemVersionId}:${input.persistentId}`
|
|
13144
|
+
);
|
|
13020
13145
|
this.refreshHierarchy();
|
|
13021
13146
|
return this.trxQueue.enqueue({
|
|
13022
13147
|
type: "DocumentationPageCreate",
|
|
@@ -13109,6 +13234,10 @@ var DocsStructureRepository = class {
|
|
|
13109
13234
|
allPagesById.set(p.persistentId, p);
|
|
13110
13235
|
});
|
|
13111
13236
|
this.localState.getAllDeletedPages().forEach((id) => allPagesById.delete(id));
|
|
13237
|
+
const pageLiveblockRoomIds = { ...this.yState.pageLiveblockRoomIds };
|
|
13238
|
+
this.localState.getAllPageLiveblocksRoomIds().forEach((v, k) => {
|
|
13239
|
+
pageLiveblockRoomIds[k] = v;
|
|
13240
|
+
});
|
|
13112
13241
|
const hierarchy = computeDocsHierarchy({
|
|
13113
13242
|
approvals: yState.approvals,
|
|
13114
13243
|
groups: yState.groups,
|
|
@@ -13116,7 +13245,8 @@ var DocsStructureRepository = class {
|
|
|
13116
13245
|
pageContentHashes: yState.pageContentHashes,
|
|
13117
13246
|
pages: Array.from(allPagesById.values()),
|
|
13118
13247
|
pageSnapshots: yState.pageSnapshots,
|
|
13119
|
-
settings: yState.settings
|
|
13248
|
+
settings: yState.settings,
|
|
13249
|
+
pageLiveblockRoomIds
|
|
13120
13250
|
});
|
|
13121
13251
|
return hierarchy;
|
|
13122
13252
|
}
|
|
@@ -13564,5 +13694,10 @@ var TransactionQueue = class {
|
|
|
13564
13694
|
|
|
13565
13695
|
|
|
13566
13696
|
|
|
13567
|
-
exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BrandsEndpoint = BrandsEndpoint; 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.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.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.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; 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.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterCreateOutput = DTOExporterCreateOutput; 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.DTOExporterPropertyDefinitionEnum = DTOExporterPropertyDefinitionEnum; exports.DTOExporterPropertyDefinitionNumber = DTOExporterPropertyDefinitionNumber; exports.DTOExporterPropertyDefinitionObject = DTOExporterPropertyDefinitionObject; exports.DTOExporterPropertyDefinitionString = DTOExporterPropertyDefinitionString; exports.DTOExporterPropertyDefinitionValue = DTOExporterPropertyDefinitionValue; exports.DTOExporterPropertyDefinitionValueMap = DTOExporterPropertyDefinitionValueMap; exports.DTOExporterPropertyDefinitionsResponse = DTOExporterPropertyDefinitionsResponse; exports.DTOExporterPropertyType = DTOExporterPropertyType; 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.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; 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.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.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.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.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.DesignSystemSourcesEndpoint = DesignSystemSourcesEndpoint; exports.DesignSystemVersionsEndpoint = DesignSystemVersionsEndpoint; exports.DesignSystemsEndpoint = DesignSystemsEndpoint; exports.DimensionsVariableScopeType = DimensionsVariableScopeType; exports.DocsStructureRepo = DocsStructureRepo; 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.ExportersEndpoint = ExportersEndpoint; exports.FigmaComponentGroupsEndpoint = FigmaComponentGroupsEndpoint; exports.FigmaComponentsEndpoint = FigmaComponentsEndpoint; exports.FigmaFrameStructuresEndpoint = FigmaFrameStructuresEndpoint; exports.FigmaUtils = FigmaUtils; exports.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; exports.LocalStorage = LocalStorage; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.OverridesEndpoint = OverridesEndpoint; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; 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.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; 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.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.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.serializeQuery = serializeQuery; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
13697
|
+
|
|
13698
|
+
|
|
13699
|
+
|
|
13700
|
+
|
|
13701
|
+
|
|
13702
|
+
exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BrandsEndpoint = BrandsEndpoint; 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.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.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.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; 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.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOExportJob = DTOExportJob; 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.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterListQuery = DTOExporterListQuery; exports.DTOExporterListResponse = DTOExporterListResponse; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterPropertyDefinition = DTOExporterPropertyDefinition; exports.DTOExporterPropertyDefinitionArray = DTOExporterPropertyDefinitionArray; exports.DTOExporterPropertyDefinitionBoolean = DTOExporterPropertyDefinitionBoolean; exports.DTOExporterPropertyDefinitionEnum = DTOExporterPropertyDefinitionEnum; exports.DTOExporterPropertyDefinitionNumber = DTOExporterPropertyDefinitionNumber; exports.DTOExporterPropertyDefinitionObject = DTOExporterPropertyDefinitionObject; exports.DTOExporterPropertyDefinitionString = DTOExporterPropertyDefinitionString; exports.DTOExporterPropertyDefinitionValue = DTOExporterPropertyDefinitionValue; exports.DTOExporterPropertyDefinitionValueMap = DTOExporterPropertyDefinitionValueMap; exports.DTOExporterPropertyDefinitionsResponse = DTOExporterPropertyDefinitionsResponse; exports.DTOExporterPropertyType = DTOExporterPropertyType; 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.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; 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.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.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.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.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.DesignSystemSourcesEndpoint = DesignSystemSourcesEndpoint; exports.DesignSystemVersionsEndpoint = DesignSystemVersionsEndpoint; exports.DesignSystemsEndpoint = DesignSystemsEndpoint; exports.DimensionsVariableScopeType = DimensionsVariableScopeType; exports.DocsStructureRepo = DocsStructureRepo; 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.FigmaUtils = FigmaUtils; exports.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; exports.LiveblocksEndpoint = LiveblocksEndpoint; exports.LocalStorage = LocalStorage; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.OverridesEndpoint = OverridesEndpoint; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; 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.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; 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.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.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.serializeQuery = serializeQuery; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
13568
13703
|
//# sourceMappingURL=index.js.map
|