@supernova-studio/client 0.47.22 → 0.47.27
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 +231 -160
- package/dist/index.d.ts +231 -160
- package/dist/index.js +40 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +40 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
- package/src/api/dto/export/job.ts +3 -0
- package/src/api/payloads/export/pipeline.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1105,6 +1105,12 @@ var PageBlockAssetEntityMeta = z46.object({
|
|
|
1105
1105
|
description: z46.string().optional(),
|
|
1106
1106
|
backgroundColor: PageBlockColorV2.optional()
|
|
1107
1107
|
});
|
|
1108
|
+
var PageBlockFigmaComponentEntityMeta = z46.object({
|
|
1109
|
+
title: z46.string().optional(),
|
|
1110
|
+
description: z46.string().optional(),
|
|
1111
|
+
backgroundColor: PageBlockColorV2.optional(),
|
|
1112
|
+
selectedComponentProperties: z46.array(z46.string()).optional()
|
|
1113
|
+
});
|
|
1108
1114
|
var PageBlockFigmaNodeEntityMeta = z46.object({
|
|
1109
1115
|
title: z46.string().optional(),
|
|
1110
1116
|
description: z46.string().optional(),
|
|
@@ -1152,6 +1158,20 @@ var PageBlockItemAssetValue = z46.object({
|
|
|
1152
1158
|
var PageBlockItemAssetPropertyValue = z46.object({
|
|
1153
1159
|
value: z46.array(z46.string()).default([])
|
|
1154
1160
|
});
|
|
1161
|
+
var PageBlockItemFigmaComponentValue = z46.object({
|
|
1162
|
+
showComponentName: z46.boolean().optional(),
|
|
1163
|
+
showComponentDescription: z46.boolean().optional(),
|
|
1164
|
+
showPropertyList: z46.boolean().optional(),
|
|
1165
|
+
previewContainerSize: PageBlockPreviewContainerSize.optional(),
|
|
1166
|
+
backgroundColor: PageBlockColorV2.optional(),
|
|
1167
|
+
value: z46.array(
|
|
1168
|
+
z46.object({
|
|
1169
|
+
entityId: z46.string(),
|
|
1170
|
+
entityType: z46.enum(["FigmaComponent"]),
|
|
1171
|
+
entityMeta: PageBlockFigmaComponentEntityMeta.optional()
|
|
1172
|
+
})
|
|
1173
|
+
).default([])
|
|
1174
|
+
});
|
|
1155
1175
|
var PageBlockItemBooleanValue = z46.object({
|
|
1156
1176
|
value: z46.boolean()
|
|
1157
1177
|
});
|
|
@@ -2215,13 +2235,19 @@ var PageBlockDefinitionSingleSelectPropertyColor = z102.enum([
|
|
|
2215
2235
|
"Cyan",
|
|
2216
2236
|
"Fuchsia"
|
|
2217
2237
|
]);
|
|
2238
|
+
var IconSet = z102.enum([
|
|
2239
|
+
"CheckCircle",
|
|
2240
|
+
"CrossCircle",
|
|
2241
|
+
"Alert"
|
|
2242
|
+
]);
|
|
2218
2243
|
var PageBlockDefinitionMultiSelectPropertyStyle = z102.enum(["SegmentedControl", "Select", "Checkbox"]);
|
|
2219
2244
|
var PageBlockDefinitionImageAspectRatio = z102.enum(["Auto", "Square", "Landscape", "Portrait", "Wide"]);
|
|
2220
2245
|
var PageBlockDefinitionImageWidth = z102.enum(["Full", "Icon", "Small", "Medium", "Large", "Poster"]);
|
|
2221
2246
|
var PageBlockDefinitionSelectChoice = z102.object({
|
|
2222
2247
|
value: z102.string(),
|
|
2223
2248
|
name: z102.string(),
|
|
2224
|
-
icon:
|
|
2249
|
+
icon: IconSet.optional(),
|
|
2250
|
+
customIconUrl: z102.string().optional(),
|
|
2225
2251
|
color: PageBlockDefinitionSingleSelectPropertyColor.optional()
|
|
2226
2252
|
});
|
|
2227
2253
|
var PageBlockDefinitionUntypedPropertyOptions = z102.record(z102.any());
|
|
@@ -2235,7 +2261,8 @@ var PageBlockDefinitionTextOptions = z102.object({
|
|
|
2235
2261
|
placeholder: z102.string().optional(),
|
|
2236
2262
|
defaultValue: z102.string().optional(),
|
|
2237
2263
|
textStyle: PageBlockDefinitionTextPropertyStyle.optional(),
|
|
2238
|
-
color: PageBlockDefinitionTextPropertyColor.optional()
|
|
2264
|
+
color: PageBlockDefinitionTextPropertyColor.optional(),
|
|
2265
|
+
allowLineBreaks: z102.boolean().optional()
|
|
2239
2266
|
});
|
|
2240
2267
|
var PageBlockDefinitionSelectOptions = z102.object({
|
|
2241
2268
|
singleSelectStyle: PageBlockDefinitionSingleSelectPropertyStyle.optional(),
|
|
@@ -2291,7 +2318,7 @@ var PageBlockCategory = z103.enum([
|
|
|
2291
2318
|
"Data",
|
|
2292
2319
|
"Other"
|
|
2293
2320
|
]);
|
|
2294
|
-
var PageBlockBehaviorDataType = z103.enum(["Item", "Token", "Asset", "Component", "FigmaNode"]);
|
|
2321
|
+
var PageBlockBehaviorDataType = z103.enum(["Item", "Token", "Asset", "Component", "FigmaNode", "FigmaComponent"]);
|
|
2295
2322
|
var PageBlockBehaviorSelectionType = z103.enum(["Entity", "Group", "EntityAndGroup"]);
|
|
2296
2323
|
var PageBlockDefinitionBehavior = z103.object({
|
|
2297
2324
|
dataType: PageBlockBehaviorDataType,
|
|
@@ -2857,12 +2884,12 @@ var ExportJobDocsDestinationResult = z134.object({
|
|
|
2857
2884
|
});
|
|
2858
2885
|
var ExportJobResult = z134.object({
|
|
2859
2886
|
error: z134.string().optional(),
|
|
2860
|
-
s3: ExportJobS3DestinationResult
|
|
2861
|
-
github: ExportJobPullRequestDestinationResult
|
|
2862
|
-
azure: ExportJobPullRequestDestinationResult
|
|
2863
|
-
gitlab: ExportJobPullRequestDestinationResult
|
|
2864
|
-
bitbucket: ExportJobPullRequestDestinationResult
|
|
2865
|
-
sndocs: ExportJobDocsDestinationResult
|
|
2887
|
+
s3: nullishToOptional(ExportJobS3DestinationResult),
|
|
2888
|
+
github: nullishToOptional(ExportJobPullRequestDestinationResult),
|
|
2889
|
+
azure: nullishToOptional(ExportJobPullRequestDestinationResult),
|
|
2890
|
+
gitlab: nullishToOptional(ExportJobPullRequestDestinationResult),
|
|
2891
|
+
bitbucket: nullishToOptional(ExportJobPullRequestDestinationResult),
|
|
2892
|
+
sndocs: nullishToOptional(ExportJobDocsDestinationResult)
|
|
2866
2893
|
});
|
|
2867
2894
|
var ExportJob = z134.object({
|
|
2868
2895
|
id: z134.string(),
|
|
@@ -4596,7 +4623,7 @@ var DTOPipelineCreateBody = z163.object({
|
|
|
4596
4623
|
eventType: PipelineEventType,
|
|
4597
4624
|
brandPersistentId: z163.string().optional(),
|
|
4598
4625
|
themePersistentId: z163.string().optional(),
|
|
4599
|
-
destination: PipelineDestinationType,
|
|
4626
|
+
destination: PipelineDestinationType.optional(),
|
|
4600
4627
|
gitQuery: GitObjectsQuery,
|
|
4601
4628
|
destinations: z163.object({
|
|
4602
4629
|
s3: ExporterDestinationS3.nullish(),
|
|
@@ -5367,7 +5394,9 @@ var DTOExportJob = z189.object({
|
|
|
5367
5394
|
destinations: DTOExportJobDestinations,
|
|
5368
5395
|
exporterId: z189.string(),
|
|
5369
5396
|
scheduleId: z189.string().optional(),
|
|
5370
|
-
result: ExportJobResult.optional()
|
|
5397
|
+
result: ExportJobResult.optional(),
|
|
5398
|
+
brandPersistentId: z189.string().optional(),
|
|
5399
|
+
themePersistentId: z189.string().optional()
|
|
5371
5400
|
});
|
|
5372
5401
|
var DTOExportJobResponse = z189.object({
|
|
5373
5402
|
job: DTOExportJob
|