@supernova-studio/client 0.52.11 → 0.52.12
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 +218 -41
- package/dist/index.d.ts +218 -41
- package/dist/index.js +167 -146
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1015 -994
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/components/figma-component.ts +26 -0
- package/src/api/dto/elements/components/index.ts +1 -0
- package/src/api/dto/elements/index.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -45,13 +45,13 @@ var _zod = require('zod');
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var _deepequal = require('deep-equal'); var _deepequal2 = _interopRequireDefault(_deepequal);
|
|
49
48
|
|
|
50
49
|
|
|
51
|
-
var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequireDefault(_slugify);
|
|
52
50
|
|
|
51
|
+
var _deepequal = require('deep-equal'); var _deepequal2 = _interopRequireDefault(_deepequal);
|
|
53
52
|
|
|
54
53
|
|
|
54
|
+
var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequireDefault(_slugify);
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
@@ -557,6 +557,7 @@ var ResolvedAsset = Asset.extend({
|
|
|
557
557
|
var FigmaFileDownloadScope = _zod.z.object({
|
|
558
558
|
styles: _zod.z.boolean(),
|
|
559
559
|
components: _zod.z.boolean(),
|
|
560
|
+
componentSets: _zod.z.boolean(),
|
|
560
561
|
currentVersion: _zod.z.literal("__latest__").nullable(),
|
|
561
562
|
publishedVersion: _zod.z.string().nullable(),
|
|
562
563
|
downloadChunkSize: _zod.z.number().optional(),
|
|
@@ -590,6 +591,92 @@ var ImportWarning = _zod.z.object({
|
|
|
590
591
|
unsupportedStyleValueType: _zod.z.string().optional(),
|
|
591
592
|
referenceId: _zod.z.string().optional()
|
|
592
593
|
});
|
|
594
|
+
var DesignElementOrigin = _zod.z.object({
|
|
595
|
+
id: _zod.z.string(),
|
|
596
|
+
sourceId: _zod.z.string(),
|
|
597
|
+
name: _zod.z.string()
|
|
598
|
+
});
|
|
599
|
+
var DesignElementBase = _zod.z.object({
|
|
600
|
+
id: _zod.z.string(),
|
|
601
|
+
persistentId: _zod.z.string(),
|
|
602
|
+
meta: ObjectMeta,
|
|
603
|
+
designSystemVersionId: _zod.z.string(),
|
|
604
|
+
createdAt: _zod.z.coerce.date(),
|
|
605
|
+
updatedAt: _zod.z.coerce.date()
|
|
606
|
+
});
|
|
607
|
+
var DesignElementImportedBase = DesignElementBase.extend({
|
|
608
|
+
origin: DesignElementOrigin
|
|
609
|
+
});
|
|
610
|
+
var DesignElementGroupablePart = _zod.z.object({
|
|
611
|
+
parentPersistentId: _zod.z.string().optional(),
|
|
612
|
+
sortOrder: _zod.z.number()
|
|
613
|
+
});
|
|
614
|
+
var DesignElementGroupableBase = DesignElementBase.extend(DesignElementGroupablePart.shape);
|
|
615
|
+
var DesignElementGroupableRequiredPart = DesignElementGroupablePart.extend({
|
|
616
|
+
parentPersistentId: _zod.z.string()
|
|
617
|
+
});
|
|
618
|
+
var DesignElementBrandedPart = _zod.z.object({
|
|
619
|
+
brandPersistentId: _zod.z.string()
|
|
620
|
+
});
|
|
621
|
+
var DesignElementSlugPart = _zod.z.object({
|
|
622
|
+
slug: _zod.z.string().optional(),
|
|
623
|
+
userSlug: _zod.z.string().optional()
|
|
624
|
+
});
|
|
625
|
+
var FigmaComponentPropertyType = _zod.z.enum(["Boolean", "InstanceSwap", "Variant", "Text"]);
|
|
626
|
+
var FigmaComponentBooleanProperty = _zod.z.object({
|
|
627
|
+
type: _zod.z.literal(FigmaComponentPropertyType.enum.Boolean),
|
|
628
|
+
defaultValue: _zod.z.boolean()
|
|
629
|
+
});
|
|
630
|
+
var FigmaComponentInstanceSwapProperty = _zod.z.object({
|
|
631
|
+
type: _zod.z.literal(FigmaComponentPropertyType.enum.InstanceSwap),
|
|
632
|
+
defaultValue: _zod.z.string(),
|
|
633
|
+
preferredValues: _zod.z.object({
|
|
634
|
+
type: _zod.z.enum(["Component", "ComponentSet"]),
|
|
635
|
+
key: _zod.z.string()
|
|
636
|
+
}).array()
|
|
637
|
+
});
|
|
638
|
+
var FigmaComponentVariantProperty = _zod.z.object({
|
|
639
|
+
type: _zod.z.literal(FigmaComponentPropertyType.enum.Variant),
|
|
640
|
+
defaultValue: _zod.z.string(),
|
|
641
|
+
options: _zod.z.array(_zod.z.string())
|
|
642
|
+
});
|
|
643
|
+
var FigmaComponentTextProperty = _zod.z.object({
|
|
644
|
+
type: _zod.z.literal(FigmaComponentPropertyType.enum.Text),
|
|
645
|
+
defaultValue: _zod.z.string()
|
|
646
|
+
});
|
|
647
|
+
var FigmaComponentProperty = _zod.z.discriminatedUnion("type", [
|
|
648
|
+
FigmaComponentBooleanProperty,
|
|
649
|
+
FigmaComponentInstanceSwapProperty,
|
|
650
|
+
FigmaComponentTextProperty
|
|
651
|
+
]);
|
|
652
|
+
var FigmaComponentPropertyMap = _zod.z.record(_zod.z.string(), FigmaComponentProperty);
|
|
653
|
+
var FigmaComponentSetProperties = _zod.z.record(
|
|
654
|
+
_zod.z.string(),
|
|
655
|
+
_zod.z.discriminatedUnion("type", [
|
|
656
|
+
FigmaComponentBooleanProperty,
|
|
657
|
+
FigmaComponentInstanceSwapProperty,
|
|
658
|
+
FigmaComponentTextProperty,
|
|
659
|
+
FigmaComponentVariantProperty
|
|
660
|
+
])
|
|
661
|
+
);
|
|
662
|
+
var FigmaComponentOriginPart = _zod.z.object({
|
|
663
|
+
nodeId: _zod.z.string().optional(),
|
|
664
|
+
width: _zod.z.number().optional(),
|
|
665
|
+
height: _zod.z.number().optional()
|
|
666
|
+
});
|
|
667
|
+
var FigmaComponentAsset = _zod.z.object({
|
|
668
|
+
assetId: _zod.z.string(),
|
|
669
|
+
assetPath: _zod.z.string()
|
|
670
|
+
});
|
|
671
|
+
var FigmaComponentOrigin = DesignElementOrigin.extend(FigmaComponentOriginPart.shape);
|
|
672
|
+
var FigmaComponent = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementBrandedPart.shape).extend({
|
|
673
|
+
origin: FigmaComponentOrigin.optional(),
|
|
674
|
+
thumbnail: FigmaComponentAsset,
|
|
675
|
+
componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
|
|
676
|
+
svg: FigmaComponentAsset.optional(),
|
|
677
|
+
isAsset: _zod.z.boolean(),
|
|
678
|
+
parentComponentPersistentId: nullishToOptional(_zod.z.string())
|
|
679
|
+
});
|
|
593
680
|
var TokenDataAliasSchema = _zod.z.object({
|
|
594
681
|
aliasTo: _zod.z.string().optional().nullable().transform((v) => _nullishCoalesce(v, () => ( void 0)))
|
|
595
682
|
});
|
|
@@ -654,7 +741,9 @@ var ComponentElementData = _zod.z.object({
|
|
|
654
741
|
url: _zod.z.string(),
|
|
655
742
|
assetId: _zod.z.string()
|
|
656
743
|
})
|
|
657
|
-
}).optional()
|
|
744
|
+
}).optional(),
|
|
745
|
+
parentComponentPersistentId: nullishToOptional(_zod.z.string()),
|
|
746
|
+
componentPropertyDefinitions: nullishToOptional(FigmaComponentPropertyMap)
|
|
658
747
|
})
|
|
659
748
|
});
|
|
660
749
|
var SupernovaException = class _SupernovaException extends Error {
|
|
@@ -2199,37 +2288,6 @@ var defaultDocumentationItemConfigurationV2 = {
|
|
|
2199
2288
|
var DocumentationPageDataV2 = _zod.z.object({
|
|
2200
2289
|
configuration: nullishToOptional(DocumentationItemConfigurationV2)
|
|
2201
2290
|
});
|
|
2202
|
-
var DesignElementOrigin = _zod.z.object({
|
|
2203
|
-
id: _zod.z.string(),
|
|
2204
|
-
sourceId: _zod.z.string(),
|
|
2205
|
-
name: _zod.z.string()
|
|
2206
|
-
});
|
|
2207
|
-
var DesignElementBase = _zod.z.object({
|
|
2208
|
-
id: _zod.z.string(),
|
|
2209
|
-
persistentId: _zod.z.string(),
|
|
2210
|
-
meta: ObjectMeta,
|
|
2211
|
-
designSystemVersionId: _zod.z.string(),
|
|
2212
|
-
createdAt: _zod.z.coerce.date(),
|
|
2213
|
-
updatedAt: _zod.z.coerce.date()
|
|
2214
|
-
});
|
|
2215
|
-
var DesignElementImportedBase = DesignElementBase.extend({
|
|
2216
|
-
origin: DesignElementOrigin
|
|
2217
|
-
});
|
|
2218
|
-
var DesignElementGroupablePart = _zod.z.object({
|
|
2219
|
-
parentPersistentId: _zod.z.string().optional(),
|
|
2220
|
-
sortOrder: _zod.z.number()
|
|
2221
|
-
});
|
|
2222
|
-
var DesignElementGroupableBase = DesignElementBase.extend(DesignElementGroupablePart.shape);
|
|
2223
|
-
var DesignElementGroupableRequiredPart = DesignElementGroupablePart.extend({
|
|
2224
|
-
parentPersistentId: _zod.z.string()
|
|
2225
|
-
});
|
|
2226
|
-
var DesignElementBrandedPart = _zod.z.object({
|
|
2227
|
-
brandPersistentId: _zod.z.string()
|
|
2228
|
-
});
|
|
2229
|
-
var DesignElementSlugPart = _zod.z.object({
|
|
2230
|
-
slug: _zod.z.string().optional(),
|
|
2231
|
-
userSlug: _zod.z.string().optional()
|
|
2232
|
-
});
|
|
2233
2291
|
var PageBlockV2 = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend({
|
|
2234
2292
|
data: PageBlockDataV2
|
|
2235
2293
|
});
|
|
@@ -2438,66 +2496,6 @@ var ZIndexValue = _zod.z.object({
|
|
|
2438
2496
|
measure: _zod.z.number()
|
|
2439
2497
|
});
|
|
2440
2498
|
var ZIndexTokenData = tokenAliasOrValue(ZIndexValue);
|
|
2441
|
-
var FigmaComponentPropertyType = _zod.z.enum(["Boolean", "InstanceSwap", "Variant", "Text"]);
|
|
2442
|
-
var FigmaComponentBooleanProperty = _zod.z.object({
|
|
2443
|
-
type: _zod.z.literal(FigmaComponentPropertyType.enum.Boolean),
|
|
2444
|
-
value: _zod.z.boolean(),
|
|
2445
|
-
defaultValue: _zod.z.boolean()
|
|
2446
|
-
});
|
|
2447
|
-
var FigmaComponentInstanceSwapProperty = _zod.z.object({
|
|
2448
|
-
type: _zod.z.literal(FigmaComponentPropertyType.enum.InstanceSwap),
|
|
2449
|
-
value: _zod.z.string()
|
|
2450
|
-
// Persistent ID of a Component to swap??
|
|
2451
|
-
});
|
|
2452
|
-
var FigmaComponentVariantProperty = _zod.z.object({
|
|
2453
|
-
type: _zod.z.literal(FigmaComponentPropertyType.enum.Variant),
|
|
2454
|
-
value: _zod.z.string(),
|
|
2455
|
-
options: _zod.z.array(_zod.z.string())
|
|
2456
|
-
});
|
|
2457
|
-
var FigmaComponentTextProperty = _zod.z.object({
|
|
2458
|
-
type: _zod.z.literal(FigmaComponentPropertyType.enum.Text),
|
|
2459
|
-
value: _zod.z.string()
|
|
2460
|
-
});
|
|
2461
|
-
var FigmaComponentProperties = _zod.z.record(
|
|
2462
|
-
_zod.z.string(),
|
|
2463
|
-
_zod.z.discriminatedUnion("type", [
|
|
2464
|
-
FigmaComponentBooleanProperty,
|
|
2465
|
-
FigmaComponentInstanceSwapProperty,
|
|
2466
|
-
FigmaComponentTextProperty
|
|
2467
|
-
])
|
|
2468
|
-
);
|
|
2469
|
-
var FigmaComponentSetProperties = _zod.z.record(
|
|
2470
|
-
_zod.z.string(),
|
|
2471
|
-
_zod.z.discriminatedUnion("type", [
|
|
2472
|
-
FigmaComponentBooleanProperty,
|
|
2473
|
-
FigmaComponentInstanceSwapProperty,
|
|
2474
|
-
FigmaComponentTextProperty,
|
|
2475
|
-
FigmaComponentVariantProperty
|
|
2476
|
-
])
|
|
2477
|
-
);
|
|
2478
|
-
var ComponentOriginPart = _zod.z.object({
|
|
2479
|
-
nodeId: _zod.z.string().optional(),
|
|
2480
|
-
width: _zod.z.number().optional(),
|
|
2481
|
-
height: _zod.z.number().optional()
|
|
2482
|
-
});
|
|
2483
|
-
var ComponentAsset = _zod.z.object({
|
|
2484
|
-
assetId: _zod.z.string(),
|
|
2485
|
-
assetPath: _zod.z.string()
|
|
2486
|
-
});
|
|
2487
|
-
var ComponentOrigin = DesignElementOrigin.extend(ComponentOriginPart.shape);
|
|
2488
|
-
var BaseComponent = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementBrandedPart.shape).extend({
|
|
2489
|
-
origin: ComponentOrigin.optional(),
|
|
2490
|
-
thumbnail: ComponentAsset
|
|
2491
|
-
});
|
|
2492
|
-
var Component = BaseComponent.extend({
|
|
2493
|
-
svg: ComponentAsset.optional(),
|
|
2494
|
-
isAsset: _zod.z.boolean(),
|
|
2495
|
-
componentSetId: _zod.z.string().optional(),
|
|
2496
|
-
properties: FigmaComponentProperties.optional()
|
|
2497
|
-
});
|
|
2498
|
-
var ComponentSet = BaseComponent.extend({
|
|
2499
|
-
properties: FigmaComponentSetProperties
|
|
2500
|
-
});
|
|
2501
2499
|
var ElementGroup = DesignElementBase.extend(DesignElementGroupablePart.shape).extend(DesignElementSlugPart.shape).extend(DesignElementBrandedPart.partial().shape).extend({
|
|
2502
2500
|
shortPersistentId: _zod.z.string().optional(),
|
|
2503
2501
|
childType: DesignElementType,
|
|
@@ -2972,6 +2970,21 @@ var FigmaImportContextWithDownloadScopes = FigmaImportContextWithSourcesState.ex
|
|
|
2972
2970
|
*/
|
|
2973
2971
|
changedImportedSourceDataBySourceId: _zod.z.record(ChangedImportedFigmaSourceData)
|
|
2974
2972
|
});
|
|
2973
|
+
var ImportModelBase = _zod.z.object({
|
|
2974
|
+
id: _zod.z.string(),
|
|
2975
|
+
meta: ObjectMeta,
|
|
2976
|
+
origin: DesignElementOrigin,
|
|
2977
|
+
brandPersistentId: _zod.z.string(),
|
|
2978
|
+
sortOrder: _zod.z.number()
|
|
2979
|
+
});
|
|
2980
|
+
var ImportModelInputBase = ImportModelBase.omit({
|
|
2981
|
+
brandPersistentId: true,
|
|
2982
|
+
origin: true,
|
|
2983
|
+
sortOrder: true
|
|
2984
|
+
}).extend({
|
|
2985
|
+
originId: _zod.z.string(),
|
|
2986
|
+
originMetadata: _zod.z.record(_zod.z.any())
|
|
2987
|
+
});
|
|
2975
2988
|
var ImageImportModelType = _zod.z.enum(["Url", "FigmaRender"]);
|
|
2976
2989
|
var ImageImportModelBase = _zod.z.object({
|
|
2977
2990
|
scope: AssetScope
|
|
@@ -3002,35 +3015,48 @@ var FigmaRenderImportModel = _zod.z.discriminatedUnion("format", [
|
|
|
3002
3015
|
FigmaSvgRenderImportModel
|
|
3003
3016
|
]);
|
|
3004
3017
|
var ImageImportModel = _zod.z.union([UrlImageImportModel, FigmaRenderImportModel]);
|
|
3005
|
-
var
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
brandPersistentId: _zod.z.string(),
|
|
3010
|
-
sortOrder: _zod.z.number()
|
|
3018
|
+
var FigmaComponentImportModelPart = _zod.z.object({
|
|
3019
|
+
thumbnail: ImageImportModel,
|
|
3020
|
+
parentComponentId: _zod.z.string().optional(),
|
|
3021
|
+
componentPropertyDefinitions: FigmaComponentPropertyMap.optional()
|
|
3011
3022
|
});
|
|
3012
|
-
var
|
|
3013
|
-
brandPersistentId: true,
|
|
3014
|
-
origin: true,
|
|
3015
|
-
sortOrder: true
|
|
3016
|
-
}).extend({
|
|
3017
|
-
originId: _zod.z.string(),
|
|
3018
|
-
originMetadata: _zod.z.record(_zod.z.any())
|
|
3019
|
-
});
|
|
3020
|
-
var ComponentImportModelPart = _zod.z.object({
|
|
3021
|
-
thumbnail: ImageImportModel
|
|
3022
|
-
});
|
|
3023
|
-
var ComponentImportModel = ImportModelBase.extend(ComponentImportModelPart.shape).extend({
|
|
3023
|
+
var FigmaComponentImportModel = ImportModelBase.extend(FigmaComponentImportModelPart.shape).extend({
|
|
3024
3024
|
isAsset: _zod.z.boolean(),
|
|
3025
3025
|
svg: FigmaSvgRenderImportModel.optional(),
|
|
3026
|
-
origin:
|
|
3026
|
+
origin: FigmaComponentOrigin
|
|
3027
3027
|
});
|
|
3028
|
-
var
|
|
3029
|
-
originMetadata:
|
|
3028
|
+
var FigmaComponentImportModelInput = ImportModelInputBase.extend(FigmaComponentImportModelPart.shape).extend({
|
|
3029
|
+
originMetadata: FigmaComponentOriginPart
|
|
3030
3030
|
});
|
|
3031
|
-
var AssetImportModelInput = ImportModelInputBase.extend(
|
|
3031
|
+
var AssetImportModelInput = ImportModelInputBase.extend(FigmaComponentImportModelPart.shape).extend({
|
|
3032
3032
|
svg: FigmaSvgRenderImportModel,
|
|
3033
|
-
originMetadata:
|
|
3033
|
+
originMetadata: FigmaComponentOriginPart
|
|
3034
|
+
});
|
|
3035
|
+
var DataSourceImportModel = _zod.z.object({
|
|
3036
|
+
id: _zod.z.string(),
|
|
3037
|
+
fileName: _zod.z.string().optional(),
|
|
3038
|
+
thumbnailUrl: _zod.z.string().optional()
|
|
3039
|
+
});
|
|
3040
|
+
var FigmaFileStructureNodeImportModelBase = FigmaFileStructureNodeBase.extend({
|
|
3041
|
+
png: FigmaPngRenderImportModel,
|
|
3042
|
+
svg: FigmaSvgRenderImportModel
|
|
3043
|
+
});
|
|
3044
|
+
var FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModelBase.extend({
|
|
3045
|
+
children: _zod.z.lazy(() => FigmaFileStructureNodeImportModel.array())
|
|
3046
|
+
});
|
|
3047
|
+
var FigmaFileStructureImportModelPart = _zod.z.object({
|
|
3048
|
+
data: _zod.z.object({
|
|
3049
|
+
rootNode: FigmaFileStructureNodeImportModel,
|
|
3050
|
+
assetsInFile: FigmaFileStructureStatistics
|
|
3051
|
+
})
|
|
3052
|
+
});
|
|
3053
|
+
var FigmaFileStructureImportModel = ImportModelBase.extend(FigmaFileStructureImportModelPart.shape).extend({
|
|
3054
|
+
origin: FigmaFileStructureOrigin
|
|
3055
|
+
});
|
|
3056
|
+
var FigmaFileStructureImportModelInput = ImportModelInputBase.extend(
|
|
3057
|
+
FigmaFileStructureImportModelPart.shape
|
|
3058
|
+
).extend({
|
|
3059
|
+
fileVersionId: _zod.z.string()
|
|
3034
3060
|
});
|
|
3035
3061
|
var ThemeOverrideImportModelBase = DesignTokenTypedData.and(
|
|
3036
3062
|
_zod.z.object({
|
|
@@ -3081,36 +3107,10 @@ var DesignTokenImportModelInputBase = ImportModelInputBase.extend(DesignTokenImp
|
|
|
3081
3107
|
});
|
|
3082
3108
|
var DesignTokenImportModel = DesignTokenTypedData.and(DesignTokenImportModelBase);
|
|
3083
3109
|
var DesignTokenImportModelInput = DesignTokenTypedData.and(DesignTokenImportModelInputBase);
|
|
3084
|
-
var FigmaFileStructureNodeImportModelBase = FigmaFileStructureNodeBase.extend({
|
|
3085
|
-
png: FigmaPngRenderImportModel,
|
|
3086
|
-
svg: FigmaSvgRenderImportModel
|
|
3087
|
-
});
|
|
3088
|
-
var FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModelBase.extend({
|
|
3089
|
-
children: _zod.z.lazy(() => FigmaFileStructureNodeImportModel.array())
|
|
3090
|
-
});
|
|
3091
|
-
var FigmaFileStructureImportModelPart = _zod.z.object({
|
|
3092
|
-
data: _zod.z.object({
|
|
3093
|
-
rootNode: FigmaFileStructureNodeImportModel,
|
|
3094
|
-
assetsInFile: FigmaFileStructureStatistics
|
|
3095
|
-
})
|
|
3096
|
-
});
|
|
3097
|
-
var FigmaFileStructureImportModel = ImportModelBase.extend(FigmaFileStructureImportModelPart.shape).extend({
|
|
3098
|
-
origin: FigmaFileStructureOrigin
|
|
3099
|
-
});
|
|
3100
|
-
var FigmaFileStructureImportModelInput = ImportModelInputBase.extend(
|
|
3101
|
-
FigmaFileStructureImportModelPart.shape
|
|
3102
|
-
).extend({
|
|
3103
|
-
fileVersionId: _zod.z.string()
|
|
3104
|
-
});
|
|
3105
|
-
var DataSourceImportModel = _zod.z.object({
|
|
3106
|
-
id: _zod.z.string(),
|
|
3107
|
-
fileName: _zod.z.string().optional(),
|
|
3108
|
-
thumbnailUrl: _zod.z.string().optional()
|
|
3109
|
-
});
|
|
3110
3110
|
var ImportModelInputCollection = _zod.z.object({
|
|
3111
3111
|
source: DataSourceImportModel,
|
|
3112
3112
|
tokens: _zod.z.array(DesignTokenImportModelInput).default([]),
|
|
3113
|
-
components: _zod.z.array(
|
|
3113
|
+
components: _zod.z.array(FigmaComponentImportModelInput).default([]),
|
|
3114
3114
|
assets: _zod.z.array(AssetImportModelInput).default([]),
|
|
3115
3115
|
themeUpdates: _zod.z.array(ThemeUpdateImportModelInput).default([]),
|
|
3116
3116
|
themes: _zod.z.array(ThemeImportModelInput).default([]),
|
|
@@ -3119,7 +3119,7 @@ var ImportModelInputCollection = _zod.z.object({
|
|
|
3119
3119
|
var ImportModelCollection = _zod.z.object({
|
|
3120
3120
|
sources: _zod.z.array(DataSourceImportModel),
|
|
3121
3121
|
tokens: _zod.z.array(DesignTokenImportModel).default([]),
|
|
3122
|
-
components: _zod.z.array(
|
|
3122
|
+
components: _zod.z.array(FigmaComponentImportModel).default([]),
|
|
3123
3123
|
themeUpdates: _zod.z.array(ThemeUpdateImportModel).default([]),
|
|
3124
3124
|
themes: _zod.z.array(ThemeImportModel).default([]),
|
|
3125
3125
|
figmaFileStructures: _zod.z.array(FigmaFileStructureImportModel)
|
|
@@ -5621,6 +5621,26 @@ var DTOPublishDocumentationResponse = _zod.z.object({
|
|
|
5621
5621
|
job: DTOExportJob
|
|
5622
5622
|
});
|
|
5623
5623
|
|
|
5624
|
+
// src/api/dto/elements/components/figma-component.ts
|
|
5625
|
+
|
|
5626
|
+
var DTOFigmaComponent = _zod.z.object({
|
|
5627
|
+
id: _zod.z.string(),
|
|
5628
|
+
persistentId: _zod.z.string(),
|
|
5629
|
+
designSystemVersionId: _zod.z.string(),
|
|
5630
|
+
brandId: _zod.z.string(),
|
|
5631
|
+
parentComponentId: _zod.z.string().optional(),
|
|
5632
|
+
thumbnailUrl: _zod.z.string().optional(),
|
|
5633
|
+
svgUrl: _zod.z.string().optional(),
|
|
5634
|
+
exportProperties: _zod.z.object({
|
|
5635
|
+
isAsset: _zod.z.boolean()
|
|
5636
|
+
}),
|
|
5637
|
+
createdAt: _zod.z.coerce.date(),
|
|
5638
|
+
updatedAt: _zod.z.coerce.date(),
|
|
5639
|
+
meta: ObjectMeta,
|
|
5640
|
+
originComponent: FigmaComponentOrigin.optional(),
|
|
5641
|
+
componentPropertyDefinitions: FigmaComponentPropertyMap.optional()
|
|
5642
|
+
});
|
|
5643
|
+
|
|
5624
5644
|
// src/api/dto/elements/documentation/group-action.ts
|
|
5625
5645
|
|
|
5626
5646
|
|
|
@@ -11508,5 +11528,6 @@ var BackendVersionRoomYDoc = class {
|
|
|
11508
11528
|
|
|
11509
11529
|
|
|
11510
11530
|
|
|
11511
|
-
exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; 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.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; 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.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.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; 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.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; 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.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.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.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; 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.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
11531
|
+
|
|
11532
|
+
exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOBrand = DTOBrand; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCreateBrandInput = DTOCreateBrandInput; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateElementPropertyDefinitionInputV2 = DTOCreateElementPropertyDefinitionInputV2; 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.DTODeleteElementPropertyDefinitionInputV2 = DTODeleteElementPropertyDefinitionInputV2; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; 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.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.DTOElementPropertyDefinitionsGetResponse = DTOElementPropertyDefinitionsGetResponse; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValuesGetResponse = DTOElementPropertyValuesGetResponse; 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.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterProperty = DTOExporterProperty; exports.DTOExporterPropertyListResponse = DTOExporterPropertyListResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; 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.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.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.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPropertyDefinitionCreateActionInputV2 = DTOPropertyDefinitionCreateActionInputV2; exports.DTOPropertyDefinitionCreateActionOutputV2 = DTOPropertyDefinitionCreateActionOutputV2; exports.DTOPropertyDefinitionDeleteActionInputV2 = DTOPropertyDefinitionDeleteActionInputV2; exports.DTOPropertyDefinitionDeleteActionOutputV2 = DTOPropertyDefinitionDeleteActionOutputV2; exports.DTOPropertyDefinitionUpdateActionInputV2 = DTOPropertyDefinitionUpdateActionInputV2; exports.DTOPropertyDefinitionUpdateActionOutputV2 = DTOPropertyDefinitionUpdateActionOutputV2; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateElementPropertyDefinitionInputV2 = DTOUpdateElementPropertyDefinitionInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.ListTreeBuilder = ListTreeBuilder; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; 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.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.pmSchema = pmSchema; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
|
|
11512
11533
|
//# sourceMappingURL=index.js.map
|