@supernova-studio/client 0.58.9 → 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 +1659 -196
- package/dist/index.d.ts +1659 -196
- package/dist/index.js +258 -141
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +685 -568
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- 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/versions/elements-action.ts +16 -59
- 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 -1
- package/src/api/endpoints/design-system/versions/versions.ts +13 -1
- 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/{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
|
|
|
@@ -572,7 +572,7 @@ var FigmaFileDownloadScope = _zod.z.object({
|
|
|
572
572
|
});
|
|
573
573
|
var FigmaFileAccessData = _zod.z.object({
|
|
574
574
|
accessToken: _zod.z.string(),
|
|
575
|
-
accessTokenType: _zod.z.enum(["OAuth2", "PAT"])
|
|
575
|
+
accessTokenType: _zod.z.enum(["OAuth2", "PAT"]).default("OAuth2")
|
|
576
576
|
});
|
|
577
577
|
var ImportWarningType = _zod.z.enum([
|
|
578
578
|
"NoVersionFound",
|
|
@@ -5444,11 +5444,6 @@ var DTODesignElementsDataDiffResponse = _zod.z.object({
|
|
|
5444
5444
|
assets: DTODiffCountBase
|
|
5445
5445
|
});
|
|
5446
5446
|
|
|
5447
|
-
// src/api/dto/design-systems/exporter-property.ts
|
|
5448
|
-
|
|
5449
|
-
var DTOExporterProperty = _zod.z.any({});
|
|
5450
|
-
var DTOExporterPropertyListResponse = _zod.z.object({ items: _zod.z.array(DTOExporterProperty) });
|
|
5451
|
-
|
|
5452
5447
|
// src/api/dto/design-systems/figma-variables.ts
|
|
5453
5448
|
|
|
5454
5449
|
var DimensionsVariableScopeSchema = _zod.z.enum([
|
|
@@ -5657,6 +5652,64 @@ var DTODocumentationPublishTypeQueryParams = _zod.z.object({
|
|
|
5657
5652
|
|
|
5658
5653
|
// src/api/payloads/export/pipeline.ts
|
|
5659
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
|
|
5660
5713
|
var DTOPipelineCreateBody = _zod.z.object({
|
|
5661
5714
|
name: _zod.z.string(),
|
|
5662
5715
|
exporterId: _zod.z.string(),
|
|
@@ -5666,6 +5719,7 @@ var DTOPipelineCreateBody = _zod.z.object({
|
|
|
5666
5719
|
brandPersistentId: _zod.z.string().optional(),
|
|
5667
5720
|
themePersistentId: _zod.z.string().optional(),
|
|
5668
5721
|
themePersistentIds: _zod.z.string().array().optional(),
|
|
5722
|
+
exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional(),
|
|
5669
5723
|
destination: PipelineDestinationType.optional(),
|
|
5670
5724
|
gitQuery: GitObjectsQuery,
|
|
5671
5725
|
destinations: _zod.z.object({
|
|
@@ -6255,6 +6309,7 @@ var DTOExporter = _zod.z.object({
|
|
|
6255
6309
|
isDefaultDocumentationExporter: _zod.z.boolean(),
|
|
6256
6310
|
iconURL: _zod.z.string().optional(),
|
|
6257
6311
|
configurationProperties: PulsarContributionConfigurationProperty.array(),
|
|
6312
|
+
properties: DTOExporterPropertyDefinition.array().optional(),
|
|
6258
6313
|
customBlocks: PulsarCustomBlock.array(),
|
|
6259
6314
|
blockVariants: _zod.z.record(_zod.z.string(), PulsarContributionVariant.array()),
|
|
6260
6315
|
usesBrands: _zod.z.boolean(),
|
|
@@ -6335,7 +6390,8 @@ var DTOExportJob = _zod.z.object({
|
|
|
6335
6390
|
result: DTOExportJobResult.optional(),
|
|
6336
6391
|
brandPersistentId: _zod.z.string().optional(),
|
|
6337
6392
|
themePersistentId: _zod.z.string().optional(),
|
|
6338
|
-
themePersistentIds: _zod.z.string().array().optional()
|
|
6393
|
+
themePersistentIds: _zod.z.string().array().optional(),
|
|
6394
|
+
exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional()
|
|
6339
6395
|
});
|
|
6340
6396
|
var DTOExportJobResponse = _zod.z.object({
|
|
6341
6397
|
job: DTOExportJob
|
|
@@ -6359,6 +6415,7 @@ var DTOPipeline = _zod.z.object({
|
|
|
6359
6415
|
brandPersistentId: _zod.z.string().optional(),
|
|
6360
6416
|
themePersistentId: _zod.z.string().optional(),
|
|
6361
6417
|
themePersistentIds: _zod.z.string().array().optional(),
|
|
6418
|
+
exporterConfiguration: DTOExporterPropertyDefinitionValueMap.optional(),
|
|
6362
6419
|
...ExportDestinationsMap.shape,
|
|
6363
6420
|
latestJobs: DTOExportJob.array()
|
|
6364
6421
|
});
|
|
@@ -6383,6 +6440,21 @@ var DTOPublishDocumentationResponse = _zod.z.object({
|
|
|
6383
6440
|
job: DTOExportJob
|
|
6384
6441
|
});
|
|
6385
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
|
+
|
|
6386
6458
|
// src/api/dto/elements/components/figma-component.ts
|
|
6387
6459
|
|
|
6388
6460
|
var DTOFigmaComponentProperty = FigmaComponentProperty;
|
|
@@ -6789,6 +6861,19 @@ var DTOFigmaNodeRenderActionInput = _zod.z.object({
|
|
|
6789
6861
|
input: DTOFigmaNodeRenderInput.array()
|
|
6790
6862
|
});
|
|
6791
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
|
+
|
|
6792
6877
|
// src/api/dto/elements/properties/property-definitions.ts
|
|
6793
6878
|
|
|
6794
6879
|
var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
|
|
@@ -6981,17 +7066,86 @@ var DTOThemeCreatePayload = _zod.z.object({
|
|
|
6981
7066
|
overrides: DTOThemeOverride.array()
|
|
6982
7067
|
});
|
|
6983
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
|
+
|
|
6984
7141
|
// src/api/endpoints/codegen/exporters.ts
|
|
6985
7142
|
var ExportersEndpoint = class {
|
|
6986
7143
|
constructor(requestExecutor) {
|
|
6987
7144
|
this.requestExecutor = requestExecutor;
|
|
6988
7145
|
}
|
|
6989
7146
|
list(workspaceId, query) {
|
|
6990
|
-
const queryWithStrings = Object.fromEntries(
|
|
6991
|
-
Object.entries(query).filter((e) => !!e[1]).map(([k, v]) => [k, v.toString()])
|
|
6992
|
-
);
|
|
6993
7147
|
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/exporters`, DTOExporterListResponse, {
|
|
6994
|
-
query:
|
|
7148
|
+
query: serializeQuery(query)
|
|
6995
7149
|
});
|
|
6996
7150
|
}
|
|
6997
7151
|
};
|
|
@@ -7067,20 +7221,6 @@ var BrandsEndpoint = class {
|
|
|
7067
7221
|
}
|
|
7068
7222
|
};
|
|
7069
7223
|
|
|
7070
|
-
// src/api/endpoints/design-system/versions/components.ts
|
|
7071
|
-
|
|
7072
|
-
var DesignSystemComponentEndpoint = class {
|
|
7073
|
-
constructor(requestExecutor) {
|
|
7074
|
-
this.requestExecutor = requestExecutor;
|
|
7075
|
-
}
|
|
7076
|
-
async create(dsId, vId, body) {
|
|
7077
|
-
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/design-system-components`, _zod.z.any(), {
|
|
7078
|
-
body,
|
|
7079
|
-
method: "POST"
|
|
7080
|
-
});
|
|
7081
|
-
}
|
|
7082
|
-
};
|
|
7083
|
-
|
|
7084
7224
|
// src/api/endpoints/design-system/versions/documentation.ts
|
|
7085
7225
|
var DocumentationEndpoint = class {
|
|
7086
7226
|
constructor(requestExecutor) {
|
|
@@ -7103,87 +7243,105 @@ var DocumentationEndpoint = class {
|
|
|
7103
7243
|
}
|
|
7104
7244
|
};
|
|
7105
7245
|
|
|
7246
|
+
// src/api/endpoints/design-system/versions/ds-components.ts
|
|
7247
|
+
|
|
7248
|
+
var DesignSystemComponentEndpoint = class {
|
|
7249
|
+
constructor(requestExecutor) {
|
|
7250
|
+
this.requestExecutor = requestExecutor;
|
|
7251
|
+
}
|
|
7252
|
+
async create(dsId, vId, body) {
|
|
7253
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/design-system-components`, _zod.z.any(), {
|
|
7254
|
+
body,
|
|
7255
|
+
method: "POST"
|
|
7256
|
+
});
|
|
7257
|
+
}
|
|
7258
|
+
};
|
|
7259
|
+
|
|
7106
7260
|
// src/api/endpoints/design-system/versions/elements-action.ts
|
|
7107
7261
|
var ElementsActionEndpoint = class {
|
|
7108
7262
|
constructor(requestExecutor) {
|
|
7109
7263
|
this.requestExecutor = requestExecutor;
|
|
7110
7264
|
}
|
|
7111
7265
|
async createDocPage(dsId, vId, input) {
|
|
7112
|
-
return this.
|
|
7113
|
-
`/design-systems/${dsId}/versions/${vId}/elements-action`,
|
|
7114
|
-
DTOElementActionOutput,
|
|
7115
|
-
{
|
|
7116
|
-
body: {
|
|
7117
|
-
type: "DocumentationPageCreate",
|
|
7118
|
-
input
|
|
7119
|
-
},
|
|
7120
|
-
method: "POST"
|
|
7121
|
-
}
|
|
7122
|
-
);
|
|
7266
|
+
return this.action(dsId, vId, { type: "DocumentationPageCreate", input });
|
|
7123
7267
|
}
|
|
7124
7268
|
async createDocGroup(dsId, vId, input) {
|
|
7125
|
-
return this.
|
|
7126
|
-
`/design-systems/${dsId}/versions/${vId}/elements-action`,
|
|
7127
|
-
DTOElementActionOutput,
|
|
7128
|
-
{
|
|
7129
|
-
body: {
|
|
7130
|
-
type: "DocumentationGroupCreate",
|
|
7131
|
-
input
|
|
7132
|
-
},
|
|
7133
|
-
method: "POST"
|
|
7134
|
-
}
|
|
7135
|
-
);
|
|
7269
|
+
return this.action(dsId, vId, { type: "DocumentationGroupCreate", input });
|
|
7136
7270
|
}
|
|
7137
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) {
|
|
7138
7287
|
return this.requestExecutor.json(
|
|
7139
7288
|
`/design-systems/${dsId}/versions/${vId}/elements-action`,
|
|
7140
7289
|
DTOElementActionOutput,
|
|
7141
7290
|
{
|
|
7142
|
-
body:
|
|
7143
|
-
type: "DocumentationGroupMove",
|
|
7144
|
-
input
|
|
7145
|
-
},
|
|
7291
|
+
body: input,
|
|
7146
7292
|
method: "POST"
|
|
7147
7293
|
}
|
|
7148
7294
|
);
|
|
7149
7295
|
}
|
|
7150
|
-
|
|
7296
|
+
};
|
|
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) {
|
|
7151
7316
|
return this.requestExecutor.json(
|
|
7152
|
-
`/design-systems/${dsId}/versions/${vId}/
|
|
7153
|
-
|
|
7154
|
-
{
|
|
7155
|
-
body: {
|
|
7156
|
-
type: "DocumentationPageUpdate",
|
|
7157
|
-
input
|
|
7158
|
-
},
|
|
7159
|
-
method: "POST"
|
|
7160
|
-
}
|
|
7317
|
+
`/design-systems/${dsId}/versions/${vId}/component-groups`,
|
|
7318
|
+
DTOFigmaComponentGroupListResponse
|
|
7161
7319
|
);
|
|
7162
7320
|
}
|
|
7163
|
-
|
|
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) {
|
|
7164
7329
|
return this.requestExecutor.json(
|
|
7165
|
-
`/design-systems/${dsId}/versions/${vId}/
|
|
7166
|
-
|
|
7167
|
-
{
|
|
7168
|
-
body: {
|
|
7169
|
-
type: "DocumentationGroupUpdate",
|
|
7170
|
-
input
|
|
7171
|
-
},
|
|
7172
|
-
method: "POST"
|
|
7173
|
-
}
|
|
7330
|
+
`/design-systems/${dsId}/versions/${vId}/components`,
|
|
7331
|
+
DTOFigmaComponentListResponse
|
|
7174
7332
|
);
|
|
7175
7333
|
}
|
|
7176
|
-
|
|
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) {
|
|
7177
7342
|
return this.requestExecutor.json(
|
|
7178
|
-
`/design-systems/${dsId}/versions/${vId}/
|
|
7179
|
-
|
|
7180
|
-
{
|
|
7181
|
-
body: {
|
|
7182
|
-
type: "DocumentationTabCreate",
|
|
7183
|
-
input
|
|
7184
|
-
},
|
|
7185
|
-
method: "POST"
|
|
7186
|
-
}
|
|
7343
|
+
`/design-systems/${dsId}/versions/${vId}/figma-frames/node-structures`,
|
|
7344
|
+
DTOFrameNodeStructureListResponse
|
|
7187
7345
|
);
|
|
7188
7346
|
}
|
|
7189
7347
|
};
|
|
@@ -7387,10 +7545,14 @@ var DesignSystemVersionsEndpoint = class {
|
|
|
7387
7545
|
__publicField(this, "importJobs");
|
|
7388
7546
|
__publicField(this, "tokens");
|
|
7389
7547
|
__publicField(this, "tokenGroups");
|
|
7548
|
+
__publicField(this, "figmaComponents");
|
|
7549
|
+
__publicField(this, "figmaComponentGroups");
|
|
7550
|
+
__publicField(this, "figmaFrameStructures");
|
|
7390
7551
|
__publicField(this, "stats");
|
|
7391
7552
|
__publicField(this, "elementPropertyDefinitions");
|
|
7392
7553
|
__publicField(this, "elementPropertyValues");
|
|
7393
7554
|
__publicField(this, "elementsAction");
|
|
7555
|
+
__publicField(this, "elements");
|
|
7394
7556
|
__publicField(this, "designSystemComponents");
|
|
7395
7557
|
__publicField(this, "documentation");
|
|
7396
7558
|
this.themes = new ThemesEndpoint(requestExecutor);
|
|
@@ -7399,10 +7561,14 @@ var DesignSystemVersionsEndpoint = class {
|
|
|
7399
7561
|
this.importJobs = new ImportJobsEndpoint(requestExecutor);
|
|
7400
7562
|
this.tokens = new TokensEndpoint(requestExecutor);
|
|
7401
7563
|
this.tokenGroups = new TokenGroupsEndpoint(requestExecutor);
|
|
7564
|
+
this.figmaComponents = new FigmaComponentsEndpoint(requestExecutor);
|
|
7565
|
+
this.figmaComponentGroups = new FigmaComponentGroupsEndpoint(requestExecutor);
|
|
7566
|
+
this.figmaFrameStructures = new FigmaFrameStructuresEndpoint(requestExecutor);
|
|
7402
7567
|
this.stats = new VersionStatsEndpoint(requestExecutor);
|
|
7403
7568
|
this.elementPropertyDefinitions = new ElementPropertyDefinitionsEndpoint(requestExecutor);
|
|
7404
7569
|
this.elementPropertyValues = new ElementPropertyValuesEndpoint(requestExecutor);
|
|
7405
7570
|
this.elementsAction = new ElementsActionEndpoint(requestExecutor);
|
|
7571
|
+
this.elements = new ElementsEndpoint(requestExecutor);
|
|
7406
7572
|
this.designSystemComponents = new DesignSystemComponentEndpoint(requestExecutor);
|
|
7407
7573
|
this.documentation = new DocumentationEndpoint(requestExecutor);
|
|
7408
7574
|
}
|
|
@@ -7747,6 +7913,8 @@ var RequestExecutor = class {
|
|
|
7747
7913
|
}
|
|
7748
7914
|
const responseParseResult = schema.safeParse(wrapperParseResult.data.result);
|
|
7749
7915
|
if (!responseParseResult.success) {
|
|
7916
|
+
console.error(`Response was:`);
|
|
7917
|
+
console.error(wrapperParseResult.data.result);
|
|
7750
7918
|
throw RequestExecutorError.responseParsingError(endpoint, responseParseResult.error);
|
|
7751
7919
|
}
|
|
7752
7920
|
return responseParseResult.data;
|
|
@@ -7778,64 +7946,6 @@ var SupernovaApiClient = class {
|
|
|
7778
7946
|
}
|
|
7779
7947
|
};
|
|
7780
7948
|
|
|
7781
|
-
// src/utils/hash.ts
|
|
7782
|
-
function hash(input) {
|
|
7783
|
-
return farmhash(input).toString(16);
|
|
7784
|
-
}
|
|
7785
|
-
function farmhash(input) {
|
|
7786
|
-
const seed = 2654435769;
|
|
7787
|
-
let hash2 = seed;
|
|
7788
|
-
for (let i = 0; i < input.length; i++) {
|
|
7789
|
-
const charCode = input.charCodeAt(i);
|
|
7790
|
-
hash2 ^= charCode;
|
|
7791
|
-
hash2 = Math.imul(hash2, 1540483477);
|
|
7792
|
-
hash2 ^= hash2 >>> 15;
|
|
7793
|
-
}
|
|
7794
|
-
hash2 = Math.imul(hash2, 1540483477);
|
|
7795
|
-
hash2 ^= hash2 >>> 13;
|
|
7796
|
-
hash2 = Math.imul(hash2, 1540483477);
|
|
7797
|
-
hash2 ^= hash2 >>> 15;
|
|
7798
|
-
return hash2 >>> 0;
|
|
7799
|
-
}
|
|
7800
|
-
function prepareObject(obj) {
|
|
7801
|
-
if (obj === null || typeof obj !== "object") {
|
|
7802
|
-
return obj;
|
|
7803
|
-
}
|
|
7804
|
-
if (Array.isArray(obj)) {
|
|
7805
|
-
return obj.map(prepareObject);
|
|
7806
|
-
}
|
|
7807
|
-
const sortedObj = {};
|
|
7808
|
-
for (const key of Object.keys(obj).sort()) {
|
|
7809
|
-
if (obj[key] === null || obj[key] === void 0) {
|
|
7810
|
-
continue;
|
|
7811
|
-
}
|
|
7812
|
-
sortedObj[key] = prepareObject(obj[key]);
|
|
7813
|
-
}
|
|
7814
|
-
return sortedObj;
|
|
7815
|
-
}
|
|
7816
|
-
function generateHash(input, debug = false) {
|
|
7817
|
-
if (typeof input === "object") {
|
|
7818
|
-
const sanitized = JSON.stringify(prepareObject(input));
|
|
7819
|
-
if (debug) {
|
|
7820
|
-
console.log("Hashing sanitized string:");
|
|
7821
|
-
console.log(sanitized);
|
|
7822
|
-
}
|
|
7823
|
-
return hash(sanitized);
|
|
7824
|
-
} else {
|
|
7825
|
-
try {
|
|
7826
|
-
const obj = JSON.parse(input);
|
|
7827
|
-
const sanitized = JSON.stringify(prepareObject(obj));
|
|
7828
|
-
if (debug) {
|
|
7829
|
-
console.log("Hashing sanitized string:");
|
|
7830
|
-
console.log(sanitized);
|
|
7831
|
-
}
|
|
7832
|
-
return hash(sanitized);
|
|
7833
|
-
} catch (e2) {
|
|
7834
|
-
return hash(input);
|
|
7835
|
-
}
|
|
7836
|
-
}
|
|
7837
|
-
}
|
|
7838
|
-
|
|
7839
7949
|
// src/yjs/design-system-content/documentation-hierarchy.ts
|
|
7840
7950
|
|
|
7841
7951
|
|
|
@@ -13045,5 +13155,12 @@ var BackendVersionRoomYDoc = class {
|
|
|
13045
13155
|
|
|
13046
13156
|
|
|
13047
13157
|
|
|
13048
|
-
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.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.DocumentationEndpoint = DocumentationEndpoint; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ElementPropertyDefinitionsEndpoint = ElementPropertyDefinitionsEndpoint; exports.ElementPropertyValuesEndpoint = ElementPropertyValuesEndpoint; exports.ElementsActionEndpoint = ElementsActionEndpoint; 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;
|
|
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;
|
|
13049
13166
|
//# sourceMappingURL=index.js.map
|