@supernova-studio/client 0.58.8 → 0.58.10
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 +2484 -290
- package/dist/index.d.ts +2484 -290
- package/dist/index.js +314 -105
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +745 -536
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/design-systems/data-source.ts +28 -3
- package/src/api/dto/design-systems/index.ts +0 -1
- package/src/api/dto/elements/components/figma-component-group.ts +19 -0
- package/src/api/dto/elements/components/index.ts +1 -0
- package/src/api/dto/elements/frame-node-structures/frame-node-structure.ts +17 -0
- package/src/api/dto/elements/frame-node-structures/index.ts +1 -0
- package/src/api/dto/elements/index.ts +1 -0
- package/src/api/dto/export/exporter-property.ts +95 -0
- package/src/api/dto/export/exporter.ts +2 -0
- package/src/api/dto/export/index.ts +1 -0
- package/src/api/dto/export/job.ts +3 -0
- package/src/api/dto/export/pipeline.ts +3 -0
- package/src/api/endpoints/codegen/exporters.ts +2 -7
- package/src/api/endpoints/design-system/sources.ts +21 -1
- package/src/api/endpoints/design-system/versions/elements-action.ts +17 -62
- package/src/api/endpoints/design-system/versions/elements.ts +13 -0
- package/src/api/endpoints/design-system/versions/figma-component-groups.ts +13 -0
- package/src/api/endpoints/design-system/versions/figma-components.ts +13 -0
- package/src/api/endpoints/design-system/versions/figma-frame-structures.ts +13 -0
- package/src/api/endpoints/design-system/versions/index.ts +5 -2
- package/src/api/endpoints/design-system/versions/versions.ts +16 -4
- package/src/api/payloads/export/pipeline.ts +3 -0
- package/src/api/transport/request-executor.ts +2 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/query.ts +18 -0
- package/src/api/dto/design-systems/exporter-property.ts +0 -8
- package/src/api/endpoints/design-system/versions/elements-actions.ts +0 -20
- /package/src/api/endpoints/design-system/versions/{components.ts → ds-components.ts} +0 -0
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
// ../model/dist/index.mjs
|
|
9
|
-
var _zod = require('zod');
|
|
9
|
+
var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -571,7 +571,8 @@ var FigmaFileDownloadScope = _zod.z.object({
|
|
|
571
571
|
maxFileDepth: _zod.z.number().optional()
|
|
572
572
|
});
|
|
573
573
|
var FigmaFileAccessData = _zod.z.object({
|
|
574
|
-
accessToken: _zod.z.string()
|
|
574
|
+
accessToken: _zod.z.string(),
|
|
575
|
+
accessTokenType: _zod.z.enum(["OAuth2", "PAT"]).default("OAuth2")
|
|
575
576
|
});
|
|
576
577
|
var ImportWarningType = _zod.z.enum([
|
|
577
578
|
"NoVersionFound",
|
|
@@ -4325,7 +4326,7 @@ var IntegrationDesignSystem = _zod.z.object({
|
|
|
4325
4326
|
userId: _zod.z.string().optional(),
|
|
4326
4327
|
date: _zod.z.coerce.date().optional()
|
|
4327
4328
|
});
|
|
4328
|
-
var IntegrationCredentialsType = _zod.z.enum(["OAuth2", "PAT"
|
|
4329
|
+
var IntegrationCredentialsType = _zod.z.enum(["OAuth2", "PAT"]);
|
|
4329
4330
|
var IntegrationCredentialsState = _zod.z.enum(["Active", "Inactive"]);
|
|
4330
4331
|
var IntegrationCredentialsProfile = _zod.z.object({
|
|
4331
4332
|
id: nullishToOptional(_zod.z.string()),
|
|
@@ -5245,6 +5246,7 @@ var DTODesignSystemContactsResponse = _zod.z.object({
|
|
|
5245
5246
|
|
|
5246
5247
|
// src/api/dto/design-systems/data-source.ts
|
|
5247
5248
|
|
|
5249
|
+
var DTODataSourceFigmaScope = DataSourceFigmaScope;
|
|
5248
5250
|
var DTODataSourceFigmaFileVersion = _zod.z.object({
|
|
5249
5251
|
id: _zod.z.string(),
|
|
5250
5252
|
created_at: _zod.z.coerce.date(),
|
|
@@ -5269,7 +5271,7 @@ var DTODataSourceFigma = _zod.z.object({
|
|
|
5269
5271
|
id: _zod.z.string(),
|
|
5270
5272
|
type: _zod.z.literal(DataSourceRemoteType.Enum.Figma),
|
|
5271
5273
|
fileName: _zod.z.string(),
|
|
5272
|
-
scope:
|
|
5274
|
+
scope: DTODataSourceFigmaScope,
|
|
5273
5275
|
brandId: _zod.z.string(),
|
|
5274
5276
|
themeId: _zod.z.string().nullish(),
|
|
5275
5277
|
cloud: DTODataSourceFigmaCloud.nullish()
|
|
@@ -5331,9 +5333,18 @@ var DTODataSource = _zod.z.discriminatedUnion("type", [
|
|
|
5331
5333
|
var DTODataSourcesListResponse = _zod.z.object({
|
|
5332
5334
|
sources: _zod.z.array(DTODataSource)
|
|
5333
5335
|
});
|
|
5334
|
-
var
|
|
5336
|
+
var DTODataSourceResponse = _zod.z.object({
|
|
5335
5337
|
source: DTODataSource
|
|
5336
5338
|
});
|
|
5339
|
+
var DTODataSourceFigmaCreatePayload = _zod.z.object({
|
|
5340
|
+
brandPersistentId: _zod.z.string(),
|
|
5341
|
+
figmaFileUrl: _zod.z.string(),
|
|
5342
|
+
scope: DTODataSourceFigmaScope,
|
|
5343
|
+
autoImportMode: DataSourceAutoImportMode
|
|
5344
|
+
});
|
|
5345
|
+
var DTODataSourceFigmaImportPayload = _zod.z.object({
|
|
5346
|
+
sourceIds: _zod.z.array(_zod.z.string())
|
|
5347
|
+
});
|
|
5337
5348
|
|
|
5338
5349
|
// src/api/dto/design-systems/design-system.ts
|
|
5339
5350
|
|
|
@@ -5433,11 +5444,6 @@ var DTODesignElementsDataDiffResponse = _zod.z.object({
|
|
|
5433
5444
|
assets: DTODiffCountBase
|
|
5434
5445
|
});
|
|
5435
5446
|
|
|
5436
|
-
// src/api/dto/design-systems/exporter-property.ts
|
|
5437
|
-
|
|
5438
|
-
var DTOExporterProperty = _zod.z.any({});
|
|
5439
|
-
var DTOExporterPropertyListResponse = _zod.z.object({ items: _zod.z.array(DTOExporterProperty) });
|
|
5440
|
-
|
|
5441
5447
|
// src/api/dto/design-systems/figma-variables.ts
|
|
5442
5448
|
|
|
5443
5449
|
var DimensionsVariableScopeSchema = _zod.z.enum([
|
|
@@ -5646,6 +5652,64 @@ var DTODocumentationPublishTypeQueryParams = _zod.z.object({
|
|
|
5646
5652
|
|
|
5647
5653
|
// src/api/payloads/export/pipeline.ts
|
|
5648
5654
|
|
|
5655
|
+
|
|
5656
|
+
// src/api/dto/export/exporter-property.ts
|
|
5657
|
+
|
|
5658
|
+
var PrimitiveValue = _zod.z.number().or(_zod.z.boolean()).or(_zod.z.string());
|
|
5659
|
+
var ArrayValue = _zod.z.array(_zod.z.string());
|
|
5660
|
+
var ObjectValue = _zod.z.record(_zod.z.string());
|
|
5661
|
+
var DTOExporterPropertyDefinitionValue = PrimitiveValue.or(ArrayValue).or(ObjectValue);
|
|
5662
|
+
var DTOExporterPropertyType = _zod.z.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
|
|
5663
|
+
var PropertyDefinitionBase = _zod.z.object({
|
|
5664
|
+
key: _zod.z.string(),
|
|
5665
|
+
title: _zod.z.string(),
|
|
5666
|
+
description: _zod.z.string()
|
|
5667
|
+
});
|
|
5668
|
+
var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase.extend({
|
|
5669
|
+
type: _zod.z.literal(DTOExporterPropertyType.Enum.Enum),
|
|
5670
|
+
options: _zod.z.string().array(),
|
|
5671
|
+
default: _zod.z.string()
|
|
5672
|
+
});
|
|
5673
|
+
var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase.extend({
|
|
5674
|
+
type: _zod.z.literal(DTOExporterPropertyType.Enum.Boolean),
|
|
5675
|
+
default: _zod.z.boolean()
|
|
5676
|
+
});
|
|
5677
|
+
var DTOExporterPropertyDefinitionString = PropertyDefinitionBase.extend({
|
|
5678
|
+
type: _zod.z.literal(DTOExporterPropertyType.Enum.String),
|
|
5679
|
+
default: _zod.z.string()
|
|
5680
|
+
});
|
|
5681
|
+
var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase.extend({
|
|
5682
|
+
type: _zod.z.literal(DTOExporterPropertyType.Enum.Number),
|
|
5683
|
+
default: _zod.z.number()
|
|
5684
|
+
});
|
|
5685
|
+
var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase.extend({
|
|
5686
|
+
type: _zod.z.literal(DTOExporterPropertyType.Enum.Array),
|
|
5687
|
+
default: ArrayValue
|
|
5688
|
+
});
|
|
5689
|
+
var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase.extend({
|
|
5690
|
+
type: _zod.z.literal(DTOExporterPropertyType.Enum.Object),
|
|
5691
|
+
default: ObjectValue,
|
|
5692
|
+
allowedKeys: _zod.z.object({
|
|
5693
|
+
options: _zod.z.string().array()
|
|
5694
|
+
}).optional(),
|
|
5695
|
+
allowedValues: _zod.z.object({
|
|
5696
|
+
options: _zod.z.string().array()
|
|
5697
|
+
}).optional()
|
|
5698
|
+
});
|
|
5699
|
+
var DTOExporterPropertyDefinition = _zod.z.discriminatedUnion("type", [
|
|
5700
|
+
DTOExporterPropertyDefinitionEnum,
|
|
5701
|
+
DTOExporterPropertyDefinitionBoolean,
|
|
5702
|
+
DTOExporterPropertyDefinitionString,
|
|
5703
|
+
DTOExporterPropertyDefinitionNumber,
|
|
5704
|
+
DTOExporterPropertyDefinitionArray,
|
|
5705
|
+
DTOExporterPropertyDefinitionObject
|
|
5706
|
+
]);
|
|
5707
|
+
var DTOExporterPropertyDefinitionsResponse = _zod.z.object({
|
|
5708
|
+
properties: DTOExporterPropertyDefinition.array()
|
|
5709
|
+
});
|
|
5710
|
+
var DTOExporterPropertyDefinitionValueMap = _zod.z.record(DTOExporterPropertyDefinitionValue);
|
|
5711
|
+
|
|
5712
|
+
// src/api/payloads/export/pipeline.ts
|
|
5649
5713
|
var DTOPipelineCreateBody = _zod.z.object({
|
|
5650
5714
|
name: _zod.z.string(),
|
|
5651
5715
|
exporterId: _zod.z.string(),
|
|
@@ -5655,6 +5719,7 @@ var DTOPipelineCreateBody = _zod.z.object({
|
|
|
5655
5719
|
brandPersistentId: _zod.z.string().optional(),
|
|
5656
5720
|
themePersistentId: _zod.z.string().optional(),
|
|
5657
5721
|
themePersistentIds: _zod.z.string().array().optional(),
|
|
5722
|
+
exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional(),
|
|
5658
5723
|
destination: PipelineDestinationType.optional(),
|
|
5659
5724
|
gitQuery: GitObjectsQuery,
|
|
5660
5725
|
destinations: _zod.z.object({
|
|
@@ -6244,6 +6309,7 @@ var DTOExporter = _zod.z.object({
|
|
|
6244
6309
|
isDefaultDocumentationExporter: _zod.z.boolean(),
|
|
6245
6310
|
iconURL: _zod.z.string().optional(),
|
|
6246
6311
|
configurationProperties: PulsarContributionConfigurationProperty.array(),
|
|
6312
|
+
properties: DTOExporterPropertyDefinition.array().optional(),
|
|
6247
6313
|
customBlocks: PulsarCustomBlock.array(),
|
|
6248
6314
|
blockVariants: _zod.z.record(_zod.z.string(), PulsarContributionVariant.array()),
|
|
6249
6315
|
usesBrands: _zod.z.boolean(),
|
|
@@ -6324,7 +6390,8 @@ var DTOExportJob = _zod.z.object({
|
|
|
6324
6390
|
result: DTOExportJobResult.optional(),
|
|
6325
6391
|
brandPersistentId: _zod.z.string().optional(),
|
|
6326
6392
|
themePersistentId: _zod.z.string().optional(),
|
|
6327
|
-
themePersistentIds: _zod.z.string().array().optional()
|
|
6393
|
+
themePersistentIds: _zod.z.string().array().optional(),
|
|
6394
|
+
exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional()
|
|
6328
6395
|
});
|
|
6329
6396
|
var DTOExportJobResponse = _zod.z.object({
|
|
6330
6397
|
job: DTOExportJob
|
|
@@ -6348,6 +6415,7 @@ var DTOPipeline = _zod.z.object({
|
|
|
6348
6415
|
brandPersistentId: _zod.z.string().optional(),
|
|
6349
6416
|
themePersistentId: _zod.z.string().optional(),
|
|
6350
6417
|
themePersistentIds: _zod.z.string().array().optional(),
|
|
6418
|
+
exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional(),
|
|
6351
6419
|
...ExportDestinationsMap.shape,
|
|
6352
6420
|
latestJobs: DTOExportJob.array()
|
|
6353
6421
|
});
|
|
@@ -6372,6 +6440,21 @@ var DTOPublishDocumentationResponse = _zod.z.object({
|
|
|
6372
6440
|
job: DTOExportJob
|
|
6373
6441
|
});
|
|
6374
6442
|
|
|
6443
|
+
// src/api/dto/elements/components/figma-component-group.ts
|
|
6444
|
+
|
|
6445
|
+
var DTOFigmaComponentGroup = _zod2.default.object({
|
|
6446
|
+
id: _zod2.default.string(),
|
|
6447
|
+
designSystemVersionId: _zod2.default.string(),
|
|
6448
|
+
persistentId: _zod2.default.string(),
|
|
6449
|
+
isRoot: _zod2.default.boolean(),
|
|
6450
|
+
brandId: _zod2.default.string(),
|
|
6451
|
+
meta: DTOObjectMeta,
|
|
6452
|
+
childrenIds: _zod2.default.string().array()
|
|
6453
|
+
});
|
|
6454
|
+
var DTOFigmaComponentGroupListResponse = _zod2.default.object({
|
|
6455
|
+
groups: DTOFigmaComponentGroup.array()
|
|
6456
|
+
});
|
|
6457
|
+
|
|
6375
6458
|
// src/api/dto/elements/components/figma-component.ts
|
|
6376
6459
|
|
|
6377
6460
|
var DTOFigmaComponentProperty = FigmaComponentProperty;
|
|
@@ -6778,6 +6861,19 @@ var DTOFigmaNodeRenderActionInput = _zod.z.object({
|
|
|
6778
6861
|
input: DTOFigmaNodeRenderInput.array()
|
|
6779
6862
|
});
|
|
6780
6863
|
|
|
6864
|
+
// src/api/dto/elements/frame-node-structures/frame-node-structure.ts
|
|
6865
|
+
|
|
6866
|
+
var DTOFrameNodeStructure = _zod.z.object({
|
|
6867
|
+
id: _zod.z.string(),
|
|
6868
|
+
persistentId: _zod.z.string(),
|
|
6869
|
+
designSystemVersionId: _zod.z.string(),
|
|
6870
|
+
origin: FigmaFileStructureOrigin,
|
|
6871
|
+
assetsInFile: FigmaFileStructureStatistics
|
|
6872
|
+
});
|
|
6873
|
+
var DTOFrameNodeStructureListResponse = _zod.z.object({
|
|
6874
|
+
structures: DTOFrameNodeStructure.array()
|
|
6875
|
+
});
|
|
6876
|
+
|
|
6781
6877
|
// src/api/dto/elements/properties/property-definitions.ts
|
|
6782
6878
|
|
|
6783
6879
|
var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
|
|
@@ -6970,17 +7066,86 @@ var DTOThemeCreatePayload = _zod.z.object({
|
|
|
6970
7066
|
overrides: DTOThemeOverride.array()
|
|
6971
7067
|
});
|
|
6972
7068
|
|
|
7069
|
+
// src/utils/hash.ts
|
|
7070
|
+
function hash(input) {
|
|
7071
|
+
return farmhash(input).toString(16);
|
|
7072
|
+
}
|
|
7073
|
+
function farmhash(input) {
|
|
7074
|
+
const seed = 2654435769;
|
|
7075
|
+
let hash2 = seed;
|
|
7076
|
+
for (let i = 0; i < input.length; i++) {
|
|
7077
|
+
const charCode = input.charCodeAt(i);
|
|
7078
|
+
hash2 ^= charCode;
|
|
7079
|
+
hash2 = Math.imul(hash2, 1540483477);
|
|
7080
|
+
hash2 ^= hash2 >>> 15;
|
|
7081
|
+
}
|
|
7082
|
+
hash2 = Math.imul(hash2, 1540483477);
|
|
7083
|
+
hash2 ^= hash2 >>> 13;
|
|
7084
|
+
hash2 = Math.imul(hash2, 1540483477);
|
|
7085
|
+
hash2 ^= hash2 >>> 15;
|
|
7086
|
+
return hash2 >>> 0;
|
|
7087
|
+
}
|
|
7088
|
+
function prepareObject(obj) {
|
|
7089
|
+
if (obj === null || typeof obj !== "object") {
|
|
7090
|
+
return obj;
|
|
7091
|
+
}
|
|
7092
|
+
if (Array.isArray(obj)) {
|
|
7093
|
+
return obj.map(prepareObject);
|
|
7094
|
+
}
|
|
7095
|
+
const sortedObj = {};
|
|
7096
|
+
for (const key of Object.keys(obj).sort()) {
|
|
7097
|
+
if (obj[key] === null || obj[key] === void 0) {
|
|
7098
|
+
continue;
|
|
7099
|
+
}
|
|
7100
|
+
sortedObj[key] = prepareObject(obj[key]);
|
|
7101
|
+
}
|
|
7102
|
+
return sortedObj;
|
|
7103
|
+
}
|
|
7104
|
+
function generateHash(input, debug = false) {
|
|
7105
|
+
if (typeof input === "object") {
|
|
7106
|
+
const sanitized = JSON.stringify(prepareObject(input));
|
|
7107
|
+
if (debug) {
|
|
7108
|
+
console.log("Hashing sanitized string:");
|
|
7109
|
+
console.log(sanitized);
|
|
7110
|
+
}
|
|
7111
|
+
return hash(sanitized);
|
|
7112
|
+
} else {
|
|
7113
|
+
try {
|
|
7114
|
+
const obj = JSON.parse(input);
|
|
7115
|
+
const sanitized = JSON.stringify(prepareObject(obj));
|
|
7116
|
+
if (debug) {
|
|
7117
|
+
console.log("Hashing sanitized string:");
|
|
7118
|
+
console.log(sanitized);
|
|
7119
|
+
}
|
|
7120
|
+
return hash(sanitized);
|
|
7121
|
+
} catch (e2) {
|
|
7122
|
+
return hash(input);
|
|
7123
|
+
}
|
|
7124
|
+
}
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
// src/utils/query.ts
|
|
7128
|
+
function serializeQuery(query) {
|
|
7129
|
+
const queryWithStrings = Object.fromEntries(
|
|
7130
|
+
Object.entries(query).filter((e) => !!e[1]).map(([k, v]) => {
|
|
7131
|
+
if (Array.isArray(v)) {
|
|
7132
|
+
return [k, v.join(", ")];
|
|
7133
|
+
} else {
|
|
7134
|
+
return [k, v.toString()];
|
|
7135
|
+
}
|
|
7136
|
+
})
|
|
7137
|
+
);
|
|
7138
|
+
return new URLSearchParams(queryWithStrings);
|
|
7139
|
+
}
|
|
7140
|
+
|
|
6973
7141
|
// src/api/endpoints/codegen/exporters.ts
|
|
6974
7142
|
var ExportersEndpoint = class {
|
|
6975
7143
|
constructor(requestExecutor) {
|
|
6976
7144
|
this.requestExecutor = requestExecutor;
|
|
6977
7145
|
}
|
|
6978
7146
|
list(workspaceId, query) {
|
|
6979
|
-
const queryWithStrings = Object.fromEntries(
|
|
6980
|
-
Object.entries(query).filter((e) => !!e[1]).map(([k, v]) => [k, v.toString()])
|
|
6981
|
-
);
|
|
6982
7147
|
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/exporters`, DTOExporterListResponse, {
|
|
6983
|
-
query:
|
|
7148
|
+
query: serializeQuery(query)
|
|
6984
7149
|
});
|
|
6985
7150
|
}
|
|
6986
7151
|
};
|
|
@@ -7056,7 +7221,29 @@ var BrandsEndpoint = class {
|
|
|
7056
7221
|
}
|
|
7057
7222
|
};
|
|
7058
7223
|
|
|
7059
|
-
// src/api/endpoints/design-system/versions/
|
|
7224
|
+
// src/api/endpoints/design-system/versions/documentation.ts
|
|
7225
|
+
var DocumentationEndpoint = class {
|
|
7226
|
+
constructor(requestExecutor) {
|
|
7227
|
+
this.requestExecutor = requestExecutor;
|
|
7228
|
+
}
|
|
7229
|
+
getStructure(designSystemId, versionId) {
|
|
7230
|
+
return this.requestExecutor.json(
|
|
7231
|
+
`/design-systems/${designSystemId}/versions/${versionId}/documentation/structure`,
|
|
7232
|
+
DTODocumentationStructure
|
|
7233
|
+
);
|
|
7234
|
+
}
|
|
7235
|
+
async getDocStructure(dsId, vId) {
|
|
7236
|
+
return await this.requestExecutor.json(
|
|
7237
|
+
`/design-systems/${dsId}/versions/${vId}/documentation/structure`,
|
|
7238
|
+
DTODocumentationStructure,
|
|
7239
|
+
{
|
|
7240
|
+
method: "GET"
|
|
7241
|
+
}
|
|
7242
|
+
);
|
|
7243
|
+
}
|
|
7244
|
+
};
|
|
7245
|
+
|
|
7246
|
+
// src/api/endpoints/design-system/versions/ds-components.ts
|
|
7060
7247
|
|
|
7061
7248
|
var DesignSystemComponentEndpoint = class {
|
|
7062
7249
|
constructor(requestExecutor) {
|
|
@@ -7070,26 +7257,95 @@ var DesignSystemComponentEndpoint = class {
|
|
|
7070
7257
|
}
|
|
7071
7258
|
};
|
|
7072
7259
|
|
|
7073
|
-
// src/api/endpoints/design-system/versions/elements-
|
|
7074
|
-
var
|
|
7260
|
+
// src/api/endpoints/design-system/versions/elements-action.ts
|
|
7261
|
+
var ElementsActionEndpoint = class {
|
|
7075
7262
|
constructor(requestExecutor) {
|
|
7076
7263
|
this.requestExecutor = requestExecutor;
|
|
7077
7264
|
}
|
|
7078
7265
|
async createDocPage(dsId, vId, input) {
|
|
7266
|
+
return this.action(dsId, vId, { type: "DocumentationPageCreate", input });
|
|
7267
|
+
}
|
|
7268
|
+
async createDocGroup(dsId, vId, input) {
|
|
7269
|
+
return this.action(dsId, vId, { type: "DocumentationGroupCreate", input });
|
|
7270
|
+
}
|
|
7271
|
+
async moveDocGroup(dsId, vId, input) {
|
|
7272
|
+
return this.action(dsId, vId, { type: "DocumentationGroupMove", input });
|
|
7273
|
+
}
|
|
7274
|
+
async updateDocPage(dsId, vId, input) {
|
|
7275
|
+
return this.action(dsId, vId, { type: "DocumentationPageUpdate", input });
|
|
7276
|
+
}
|
|
7277
|
+
async updateDocGroup(dsId, vId, input) {
|
|
7278
|
+
return this.action(dsId, vId, { type: "DocumentationGroupUpdate", input });
|
|
7279
|
+
}
|
|
7280
|
+
async createDocTab(dsId, vId, input) {
|
|
7281
|
+
return this.action(dsId, vId, { type: "DocumentationTabCreate", input });
|
|
7282
|
+
}
|
|
7283
|
+
async renderNodes(dsId, vId, input) {
|
|
7284
|
+
return this.action(dsId, vId, { type: "FigmaNodeRender", input });
|
|
7285
|
+
}
|
|
7286
|
+
async action(dsId, vId, input) {
|
|
7079
7287
|
return this.requestExecutor.json(
|
|
7080
7288
|
`/design-systems/${dsId}/versions/${vId}/elements-action`,
|
|
7081
7289
|
DTOElementActionOutput,
|
|
7082
7290
|
{
|
|
7083
|
-
body:
|
|
7084
|
-
type: "DocumentationPageCreate",
|
|
7085
|
-
input
|
|
7086
|
-
},
|
|
7291
|
+
body: input,
|
|
7087
7292
|
method: "POST"
|
|
7088
7293
|
}
|
|
7089
7294
|
);
|
|
7090
7295
|
}
|
|
7091
7296
|
};
|
|
7092
7297
|
|
|
7298
|
+
// src/api/endpoints/design-system/versions/elements.ts
|
|
7299
|
+
var ElementsEndpoint = class {
|
|
7300
|
+
constructor(requestExecutor) {
|
|
7301
|
+
this.requestExecutor = requestExecutor;
|
|
7302
|
+
}
|
|
7303
|
+
getElements(dsId, vId, query) {
|
|
7304
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/elements`, DTOElementsGetOutput, {
|
|
7305
|
+
query: serializeQuery(query)
|
|
7306
|
+
});
|
|
7307
|
+
}
|
|
7308
|
+
};
|
|
7309
|
+
|
|
7310
|
+
// src/api/endpoints/design-system/versions/figma-component-groups.ts
|
|
7311
|
+
var FigmaComponentGroupsEndpoint = class {
|
|
7312
|
+
constructor(requestExecutor) {
|
|
7313
|
+
this.requestExecutor = requestExecutor;
|
|
7314
|
+
}
|
|
7315
|
+
async list(dsId, vId) {
|
|
7316
|
+
return this.requestExecutor.json(
|
|
7317
|
+
`/design-systems/${dsId}/versions/${vId}/component-groups`,
|
|
7318
|
+
DTOFigmaComponentGroupListResponse
|
|
7319
|
+
);
|
|
7320
|
+
}
|
|
7321
|
+
};
|
|
7322
|
+
|
|
7323
|
+
// src/api/endpoints/design-system/versions/figma-components.ts
|
|
7324
|
+
var FigmaComponentsEndpoint = class {
|
|
7325
|
+
constructor(requestExecutor) {
|
|
7326
|
+
this.requestExecutor = requestExecutor;
|
|
7327
|
+
}
|
|
7328
|
+
async list(dsId, vId) {
|
|
7329
|
+
return this.requestExecutor.json(
|
|
7330
|
+
`/design-systems/${dsId}/versions/${vId}/components`,
|
|
7331
|
+
DTOFigmaComponentListResponse
|
|
7332
|
+
);
|
|
7333
|
+
}
|
|
7334
|
+
};
|
|
7335
|
+
|
|
7336
|
+
// src/api/endpoints/design-system/versions/figma-frame-structures.ts
|
|
7337
|
+
var FigmaFrameStructuresEndpoint = class {
|
|
7338
|
+
constructor(requestExecutor) {
|
|
7339
|
+
this.requestExecutor = requestExecutor;
|
|
7340
|
+
}
|
|
7341
|
+
list(dsId, vId) {
|
|
7342
|
+
return this.requestExecutor.json(
|
|
7343
|
+
`/design-systems/${dsId}/versions/${vId}/figma-frames/node-structures`,
|
|
7344
|
+
DTOFrameNodeStructureListResponse
|
|
7345
|
+
);
|
|
7346
|
+
}
|
|
7347
|
+
};
|
|
7348
|
+
|
|
7093
7349
|
// src/api/endpoints/design-system/versions/import-jobs.ts
|
|
7094
7350
|
var ImportJobsEndpoint = class {
|
|
7095
7351
|
constructor(requestExecutor) {
|
|
@@ -7279,28 +7535,6 @@ var TokensEndpoint = class {
|
|
|
7279
7535
|
}
|
|
7280
7536
|
};
|
|
7281
7537
|
|
|
7282
|
-
// src/api/endpoints/design-system/versions/documentation.ts
|
|
7283
|
-
var DocumentationEndpoint = class {
|
|
7284
|
-
constructor(requestExecutor) {
|
|
7285
|
-
this.requestExecutor = requestExecutor;
|
|
7286
|
-
}
|
|
7287
|
-
getStructure(designSystemId, versionId) {
|
|
7288
|
-
return this.requestExecutor.json(
|
|
7289
|
-
`/design-systems/${designSystemId}/versions/${versionId}/documentation/structure`,
|
|
7290
|
-
DTODocumentationStructure
|
|
7291
|
-
);
|
|
7292
|
-
}
|
|
7293
|
-
async getDocStructure(dsId, vId) {
|
|
7294
|
-
return await this.requestExecutor.json(
|
|
7295
|
-
`/design-systems/${dsId}/versions/${vId}/documentation/structure`,
|
|
7296
|
-
DTODocumentationStructure,
|
|
7297
|
-
{
|
|
7298
|
-
method: "GET"
|
|
7299
|
-
}
|
|
7300
|
-
);
|
|
7301
|
-
}
|
|
7302
|
-
};
|
|
7303
|
-
|
|
7304
7538
|
// src/api/endpoints/design-system/versions/versions.ts
|
|
7305
7539
|
var DesignSystemVersionsEndpoint = class {
|
|
7306
7540
|
constructor(requestExecutor) {
|
|
@@ -7311,10 +7545,14 @@ var DesignSystemVersionsEndpoint = class {
|
|
|
7311
7545
|
__publicField(this, "importJobs");
|
|
7312
7546
|
__publicField(this, "tokens");
|
|
7313
7547
|
__publicField(this, "tokenGroups");
|
|
7548
|
+
__publicField(this, "figmaComponents");
|
|
7549
|
+
__publicField(this, "figmaComponentGroups");
|
|
7550
|
+
__publicField(this, "figmaFrameStructures");
|
|
7314
7551
|
__publicField(this, "stats");
|
|
7315
7552
|
__publicField(this, "elementPropertyDefinitions");
|
|
7316
7553
|
__publicField(this, "elementPropertyValues");
|
|
7317
|
-
__publicField(this, "
|
|
7554
|
+
__publicField(this, "elementsAction");
|
|
7555
|
+
__publicField(this, "elements");
|
|
7318
7556
|
__publicField(this, "designSystemComponents");
|
|
7319
7557
|
__publicField(this, "documentation");
|
|
7320
7558
|
this.themes = new ThemesEndpoint(requestExecutor);
|
|
@@ -7323,10 +7561,14 @@ var DesignSystemVersionsEndpoint = class {
|
|
|
7323
7561
|
this.importJobs = new ImportJobsEndpoint(requestExecutor);
|
|
7324
7562
|
this.tokens = new TokensEndpoint(requestExecutor);
|
|
7325
7563
|
this.tokenGroups = new TokenGroupsEndpoint(requestExecutor);
|
|
7564
|
+
this.figmaComponents = new FigmaComponentsEndpoint(requestExecutor);
|
|
7565
|
+
this.figmaComponentGroups = new FigmaComponentGroupsEndpoint(requestExecutor);
|
|
7566
|
+
this.figmaFrameStructures = new FigmaFrameStructuresEndpoint(requestExecutor);
|
|
7326
7567
|
this.stats = new VersionStatsEndpoint(requestExecutor);
|
|
7327
7568
|
this.elementPropertyDefinitions = new ElementPropertyDefinitionsEndpoint(requestExecutor);
|
|
7328
7569
|
this.elementPropertyValues = new ElementPropertyValuesEndpoint(requestExecutor);
|
|
7329
|
-
this.
|
|
7570
|
+
this.elementsAction = new ElementsActionEndpoint(requestExecutor);
|
|
7571
|
+
this.elements = new ElementsEndpoint(requestExecutor);
|
|
7330
7572
|
this.designSystemComponents = new DesignSystemComponentEndpoint(requestExecutor);
|
|
7331
7573
|
this.documentation = new DocumentationEndpoint(requestExecutor);
|
|
7332
7574
|
}
|
|
@@ -7399,12 +7641,24 @@ var DesignSystemSourcesEndpoint = class {
|
|
|
7399
7641
|
constructor(requestExecutor) {
|
|
7400
7642
|
this.requestExecutor = requestExecutor;
|
|
7401
7643
|
}
|
|
7644
|
+
create(dsId, payload) {
|
|
7645
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourceResponse, {
|
|
7646
|
+
method: "POST",
|
|
7647
|
+
body: payload
|
|
7648
|
+
});
|
|
7649
|
+
}
|
|
7402
7650
|
list(dsId) {
|
|
7403
7651
|
return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourcesListResponse);
|
|
7404
7652
|
}
|
|
7405
7653
|
delete(dsId, sourceId) {
|
|
7406
7654
|
return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, _zod.z.any(), { method: "DELETE" });
|
|
7407
7655
|
}
|
|
7656
|
+
figmaImport(dsId, payload) {
|
|
7657
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/cloud-import`, DTOImportJobResponse, {
|
|
7658
|
+
method: "POST",
|
|
7659
|
+
body: payload
|
|
7660
|
+
});
|
|
7661
|
+
}
|
|
7408
7662
|
};
|
|
7409
7663
|
|
|
7410
7664
|
// src/api/endpoints/design-system/design-systems.ts
|
|
@@ -7659,6 +7913,8 @@ var RequestExecutor = class {
|
|
|
7659
7913
|
}
|
|
7660
7914
|
const responseParseResult = schema.safeParse(wrapperParseResult.data.result);
|
|
7661
7915
|
if (!responseParseResult.success) {
|
|
7916
|
+
console.error(`Response was:`);
|
|
7917
|
+
console.error(wrapperParseResult.data.result);
|
|
7662
7918
|
throw RequestExecutorError.responseParsingError(endpoint, responseParseResult.error);
|
|
7663
7919
|
}
|
|
7664
7920
|
return responseParseResult.data;
|
|
@@ -7690,64 +7946,6 @@ var SupernovaApiClient = class {
|
|
|
7690
7946
|
}
|
|
7691
7947
|
};
|
|
7692
7948
|
|
|
7693
|
-
// src/utils/hash.ts
|
|
7694
|
-
function hash(input) {
|
|
7695
|
-
return farmhash(input).toString(16);
|
|
7696
|
-
}
|
|
7697
|
-
function farmhash(input) {
|
|
7698
|
-
const seed = 2654435769;
|
|
7699
|
-
let hash2 = seed;
|
|
7700
|
-
for (let i = 0; i < input.length; i++) {
|
|
7701
|
-
const charCode = input.charCodeAt(i);
|
|
7702
|
-
hash2 ^= charCode;
|
|
7703
|
-
hash2 = Math.imul(hash2, 1540483477);
|
|
7704
|
-
hash2 ^= hash2 >>> 15;
|
|
7705
|
-
}
|
|
7706
|
-
hash2 = Math.imul(hash2, 1540483477);
|
|
7707
|
-
hash2 ^= hash2 >>> 13;
|
|
7708
|
-
hash2 = Math.imul(hash2, 1540483477);
|
|
7709
|
-
hash2 ^= hash2 >>> 15;
|
|
7710
|
-
return hash2 >>> 0;
|
|
7711
|
-
}
|
|
7712
|
-
function prepareObject(obj) {
|
|
7713
|
-
if (obj === null || typeof obj !== "object") {
|
|
7714
|
-
return obj;
|
|
7715
|
-
}
|
|
7716
|
-
if (Array.isArray(obj)) {
|
|
7717
|
-
return obj.map(prepareObject);
|
|
7718
|
-
}
|
|
7719
|
-
const sortedObj = {};
|
|
7720
|
-
for (const key of Object.keys(obj).sort()) {
|
|
7721
|
-
if (obj[key] === null || obj[key] === void 0) {
|
|
7722
|
-
continue;
|
|
7723
|
-
}
|
|
7724
|
-
sortedObj[key] = prepareObject(obj[key]);
|
|
7725
|
-
}
|
|
7726
|
-
return sortedObj;
|
|
7727
|
-
}
|
|
7728
|
-
function generateHash(input, debug = false) {
|
|
7729
|
-
if (typeof input === "object") {
|
|
7730
|
-
const sanitized = JSON.stringify(prepareObject(input));
|
|
7731
|
-
if (debug) {
|
|
7732
|
-
console.log("Hashing sanitized string:");
|
|
7733
|
-
console.log(sanitized);
|
|
7734
|
-
}
|
|
7735
|
-
return hash(sanitized);
|
|
7736
|
-
} else {
|
|
7737
|
-
try {
|
|
7738
|
-
const obj = JSON.parse(input);
|
|
7739
|
-
const sanitized = JSON.stringify(prepareObject(obj));
|
|
7740
|
-
if (debug) {
|
|
7741
|
-
console.log("Hashing sanitized string:");
|
|
7742
|
-
console.log(sanitized);
|
|
7743
|
-
}
|
|
7744
|
-
return hash(sanitized);
|
|
7745
|
-
} catch (e2) {
|
|
7746
|
-
return hash(input);
|
|
7747
|
-
}
|
|
7748
|
-
}
|
|
7749
|
-
}
|
|
7750
|
-
|
|
7751
7949
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
7752
7950
|
|
|
7753
7951
|
|
|
@@ -12953,5 +13151,16 @@ var BackendVersionRoomYDoc = class {
|
|
|
12953
13151
|
|
|
12954
13152
|
|
|
12955
13153
|
|
|
12956
|
-
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.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOColorTokenInlineData = DTOColorTokenInlineData; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceCreationResponse = DTODataSourceCreationResponse; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemComponentCreateInput = DTODesignSystemComponentCreateInput; 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.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; 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.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.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ElementPropertyDefinitionsEndpoint = ElementPropertyDefinitionsEndpoint; exports.ElementPropertyValuesEndpoint = ElementPropertyValuesEndpoint; exports.ElementsActionsEndpoint = ElementsActionsEndpoint; exports.ExportersEndpoint = ExportersEndpoint; exports.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; 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.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.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
13154
|
+
|
|
13155
|
+
|
|
13156
|
+
|
|
13157
|
+
|
|
13158
|
+
|
|
13159
|
+
|
|
13160
|
+
|
|
13161
|
+
|
|
13162
|
+
|
|
13163
|
+
|
|
13164
|
+
|
|
13165
|
+
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.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOColorTokenInlineData = DTOColorTokenInlineData; exports.DTOCreateBrandInput = DTOCreateBrandInput; 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.DTODesignSystemComponentCreateInput = DTODesignSystemComponentCreateInput; 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.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.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.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; 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.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;
|
|
12957
13166
|
//# sourceMappingURL=index.js.map
|