@supernova-studio/client 1.87.11 → 1.88.0
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 +180 -95
- package/dist/index.d.ts +180 -95
- package/dist/index.js +76 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +205 -157
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -160,7 +160,8 @@ var FeaturesSummary = z7.object({
|
|
|
160
160
|
forgeFeatureWorkspacePublishing: featureToggleSchema,
|
|
161
161
|
forgeFeatureHideSupernovaUI: featureToggleSchema,
|
|
162
162
|
documentationPages: featureLimitedSchema,
|
|
163
|
-
sandboxTemplates: featureToggleSchema
|
|
163
|
+
sandboxTemplates: featureToggleSchema,
|
|
164
|
+
forgeShellTemplates: featureLimitedSchema
|
|
164
165
|
});
|
|
165
166
|
|
|
166
167
|
// ../model/src/billing/invoice.ts
|
|
@@ -4400,6 +4401,14 @@ var FigmaExporterProcessedStylesSchema = z124.object({
|
|
|
4400
4401
|
textShadow: z124.string().optional(),
|
|
4401
4402
|
filter: z124.string().optional(),
|
|
4402
4403
|
backdropFilter: z124.string().optional(),
|
|
4404
|
+
maskImage: z124.string().optional(),
|
|
4405
|
+
maskRepeat: z124.string().optional(),
|
|
4406
|
+
maskPosition: z124.string().optional(),
|
|
4407
|
+
maskSize: z124.string().optional(),
|
|
4408
|
+
WebkitMaskImage: z124.string().optional(),
|
|
4409
|
+
WebkitMaskRepeat: z124.string().optional(),
|
|
4410
|
+
WebkitMaskPosition: z124.string().optional(),
|
|
4411
|
+
WebkitMaskSize: z124.string().optional(),
|
|
4403
4412
|
mixBlendMode: z124.union([
|
|
4404
4413
|
z124.literal("normal"),
|
|
4405
4414
|
z124.literal("multiply"),
|
|
@@ -4505,7 +4514,8 @@ var FigmaExporterDesignNodeTypeSchema = z124.union([
|
|
|
4505
4514
|
z124.literal("TEXT"),
|
|
4506
4515
|
z124.literal("SVG"),
|
|
4507
4516
|
z124.literal("IMAGE"),
|
|
4508
|
-
z124.literal("COMPONENT_INSTANCE")
|
|
4517
|
+
z124.literal("COMPONENT_INSTANCE"),
|
|
4518
|
+
z124.literal("MASK_GROUP")
|
|
4509
4519
|
]);
|
|
4510
4520
|
var baseDesignNodeObjectSchema = z124.object({
|
|
4511
4521
|
id: z124.string(),
|
|
@@ -4539,6 +4549,35 @@ var componentInstanceObjectSchema = baseDesignNodeObjectSchema.extend({
|
|
|
4539
4549
|
componentDescription: z124.string(),
|
|
4540
4550
|
props: z124.record(z124.string(), z124.union([z124.string(), z124.boolean()]))
|
|
4541
4551
|
});
|
|
4552
|
+
var svgMaskDefinitionSchema = z124.object({
|
|
4553
|
+
type: z124.literal("SVG_MASK"),
|
|
4554
|
+
svgString: z124.string(),
|
|
4555
|
+
width: z124.number(),
|
|
4556
|
+
height: z124.number()
|
|
4557
|
+
});
|
|
4558
|
+
var rectClipMaskDefinitionSchema = z124.object({
|
|
4559
|
+
type: z124.literal("RECT_CLIP"),
|
|
4560
|
+
width: z124.number(),
|
|
4561
|
+
height: z124.number(),
|
|
4562
|
+
borderRadius: z124.string().optional()
|
|
4563
|
+
});
|
|
4564
|
+
var ellipseClipMaskDefinitionSchema = z124.object({
|
|
4565
|
+
type: z124.literal("ELLIPSE_CLIP"),
|
|
4566
|
+
width: z124.number(),
|
|
4567
|
+
height: z124.number()
|
|
4568
|
+
});
|
|
4569
|
+
var FigmaExporterMaskDefinitionSchema = z124.union([
|
|
4570
|
+
svgMaskDefinitionSchema,
|
|
4571
|
+
rectClipMaskDefinitionSchema,
|
|
4572
|
+
ellipseClipMaskDefinitionSchema
|
|
4573
|
+
]);
|
|
4574
|
+
var maskGroupNodeObjectSchema = baseDesignNodeObjectSchema.extend({
|
|
4575
|
+
type: z124.literal("MASK_GROUP"),
|
|
4576
|
+
maskType: z124.union([z124.literal("ALPHA"), z124.literal("VECTOR")]),
|
|
4577
|
+
maskSourceId: z124.string(),
|
|
4578
|
+
maskSourceName: z124.string(),
|
|
4579
|
+
maskDefinition: FigmaExporterMaskDefinitionSchema
|
|
4580
|
+
});
|
|
4542
4581
|
var frameNodeSchema = z124.lazy(
|
|
4543
4582
|
() => frameNodeObjectSchema.extend({
|
|
4544
4583
|
children: FigmaExporterAnyDesignNodeSchema.array()
|
|
@@ -4556,12 +4595,18 @@ var componentInstanceNodeSchema = z124.lazy(
|
|
|
4556
4595
|
children: FigmaExporterAnyDesignNodeSchema.array()
|
|
4557
4596
|
})
|
|
4558
4597
|
);
|
|
4598
|
+
var maskGroupNodeSchema = z124.lazy(
|
|
4599
|
+
() => maskGroupNodeObjectSchema.extend({
|
|
4600
|
+
children: FigmaExporterAnyDesignNodeSchema.array()
|
|
4601
|
+
})
|
|
4602
|
+
);
|
|
4559
4603
|
var FigmaExporterAnyDesignNodeSchema = z124.union([
|
|
4560
4604
|
frameNodeSchema,
|
|
4561
4605
|
textNodeSchema,
|
|
4562
4606
|
svgNodeSchema,
|
|
4563
4607
|
imageNodeSchema,
|
|
4564
|
-
componentInstanceNodeSchema
|
|
4608
|
+
componentInstanceNodeSchema,
|
|
4609
|
+
maskGroupNodeSchema
|
|
4565
4610
|
]);
|
|
4566
4611
|
|
|
4567
4612
|
// ../model/src/dsm/figma-node-renderer/renderer-payload.ts
|
|
@@ -6291,7 +6336,8 @@ var FlaggedFeature = z208.enum([
|
|
|
6291
6336
|
"ForgeCopyTemplatePreset",
|
|
6292
6337
|
"ForgeSandboxTimeout",
|
|
6293
6338
|
"ForgeFileUploadBatchSize",
|
|
6294
|
-
"DSVersionRoomYJSStorageVersion"
|
|
6339
|
+
"DSVersionRoomYJSStorageVersion",
|
|
6340
|
+
"ForgeTemplateUploadForAll"
|
|
6295
6341
|
]);
|
|
6296
6342
|
var FeatureFlagMap = z208.record(FlaggedFeature, z208.boolean());
|
|
6297
6343
|
var FeatureFlag = z208.object({
|
|
@@ -9150,217 +9196,239 @@ var DTODocumentationPageSnapshot = z286.object({
|
|
|
9150
9196
|
reason: DesignElementSnapshotReason
|
|
9151
9197
|
});
|
|
9152
9198
|
|
|
9153
|
-
// src/api/dto/documentation/
|
|
9199
|
+
// src/api/dto/documentation/documentation.ts
|
|
9154
9200
|
import { z as z287 } from "zod";
|
|
9155
|
-
var
|
|
9201
|
+
var DTODocumentationMinimalPage = z287.object({
|
|
9202
|
+
id: z287.string(),
|
|
9203
|
+
title: z287.string(),
|
|
9204
|
+
fullPath: z287.string(),
|
|
9205
|
+
description: z287.string().optional()
|
|
9206
|
+
});
|
|
9207
|
+
var DTODocumentationContent = z287.object({
|
|
9208
|
+
id: z287.string(),
|
|
9209
|
+
markdown: z287.string()
|
|
9210
|
+
});
|
|
9211
|
+
var DTODocumentationMinimalPageListResponse = z287.object({
|
|
9212
|
+
pages: z287.array(DTODocumentationMinimalPage)
|
|
9213
|
+
});
|
|
9214
|
+
var DTODocumentationContentResponse = z287.object({
|
|
9215
|
+
pageContents: z287.array(DTODocumentationContent)
|
|
9216
|
+
});
|
|
9217
|
+
var DTODocumentationContentQuery = z287.object({
|
|
9218
|
+
pageIds: z287.string().transform((value) => value.split(",")).pipe(z287.string().trim().array())
|
|
9219
|
+
});
|
|
9220
|
+
|
|
9221
|
+
// src/api/dto/documentation/link-preview.ts
|
|
9222
|
+
import { z as z288 } from "zod";
|
|
9223
|
+
var DTODocumentationLinkPreviewResponse = z288.object({
|
|
9156
9224
|
linkPreview: DocumentationLinkPreview
|
|
9157
9225
|
});
|
|
9158
|
-
var DTODocumentationLinkPreviewRequest =
|
|
9159
|
-
url:
|
|
9160
|
-
documentationItemPersistentId:
|
|
9226
|
+
var DTODocumentationLinkPreviewRequest = z288.object({
|
|
9227
|
+
url: z288.string().optional(),
|
|
9228
|
+
documentationItemPersistentId: z288.string().optional()
|
|
9161
9229
|
});
|
|
9162
9230
|
|
|
9163
9231
|
// src/api/dto/documentation/publish.ts
|
|
9164
|
-
import { z as
|
|
9232
|
+
import { z as z293 } from "zod";
|
|
9165
9233
|
|
|
9166
9234
|
// src/api/dto/export/exporter.ts
|
|
9167
|
-
import { z as
|
|
9168
|
-
var DTOExporterType =
|
|
9169
|
-
var DTOExporterSource =
|
|
9170
|
-
var DTOExporterMembershipRole =
|
|
9171
|
-
var DTOExporterListQuery =
|
|
9172
|
-
limit:
|
|
9173
|
-
offset:
|
|
9235
|
+
import { z as z289 } from "zod";
|
|
9236
|
+
var DTOExporterType = z289.enum(["documentation", "code"]);
|
|
9237
|
+
var DTOExporterSource = z289.enum(["git", "upload"]);
|
|
9238
|
+
var DTOExporterMembershipRole = z289.enum(["Owner", "OwnerArchived", "User"]);
|
|
9239
|
+
var DTOExporterListQuery = z289.object({
|
|
9240
|
+
limit: z289.coerce.number().optional(),
|
|
9241
|
+
offset: z289.coerce.number().optional(),
|
|
9174
9242
|
type: DTOExporterType.optional(),
|
|
9175
|
-
search:
|
|
9243
|
+
search: z289.string().optional()
|
|
9176
9244
|
});
|
|
9177
|
-
var DTOExporter =
|
|
9178
|
-
id:
|
|
9179
|
-
name:
|
|
9180
|
-
isPrivate:
|
|
9245
|
+
var DTOExporter = z289.object({
|
|
9246
|
+
id: z289.string(),
|
|
9247
|
+
name: z289.string(),
|
|
9248
|
+
isPrivate: z289.boolean(),
|
|
9181
9249
|
exporterType: DTOExporterType,
|
|
9182
|
-
isDefaultDocumentationExporter:
|
|
9183
|
-
iconURL:
|
|
9250
|
+
isDefaultDocumentationExporter: z289.boolean(),
|
|
9251
|
+
iconURL: z289.string().optional(),
|
|
9184
9252
|
configurationProperties: PulsarContributionConfigurationProperty.array(),
|
|
9185
9253
|
properties: DTOExporterPropertyDefinition.array().optional(),
|
|
9186
9254
|
customBlocks: PulsarCustomBlock.array(),
|
|
9187
|
-
blockVariants:
|
|
9188
|
-
homepage:
|
|
9189
|
-
organization:
|
|
9190
|
-
packageId:
|
|
9191
|
-
tags:
|
|
9192
|
-
author:
|
|
9193
|
-
version:
|
|
9194
|
-
description:
|
|
9195
|
-
usesLocale:
|
|
9196
|
-
usesBrands:
|
|
9197
|
-
usesThemes:
|
|
9198
|
-
readme:
|
|
9199
|
-
routingVersion:
|
|
9255
|
+
blockVariants: z289.record(z289.string(), PulsarContributionVariant.array()),
|
|
9256
|
+
homepage: z289.string().optional(),
|
|
9257
|
+
organization: z289.string().optional(),
|
|
9258
|
+
packageId: z289.string().optional(),
|
|
9259
|
+
tags: z289.array(z289.string()),
|
|
9260
|
+
author: z289.string().optional(),
|
|
9261
|
+
version: z289.string(),
|
|
9262
|
+
description: z289.string(),
|
|
9263
|
+
usesLocale: z289.boolean(),
|
|
9264
|
+
usesBrands: z289.boolean(),
|
|
9265
|
+
usesThemes: z289.boolean(),
|
|
9266
|
+
readme: z289.string().optional(),
|
|
9267
|
+
routingVersion: z289.string().optional(),
|
|
9200
9268
|
source: DTOExporterSource,
|
|
9201
|
-
gitProvider:
|
|
9202
|
-
gitUrl: nullishToOptional(
|
|
9203
|
-
gitBranch: nullishToOptional(
|
|
9204
|
-
gitDirectory: nullishToOptional(
|
|
9205
|
-
isDeprecated:
|
|
9206
|
-
deprecationNote:
|
|
9207
|
-
replacementExporterId:
|
|
9208
|
-
});
|
|
9209
|
-
var DTOExporterMembership =
|
|
9210
|
-
workspaceId:
|
|
9211
|
-
exporterId:
|
|
9269
|
+
gitProvider: z289.string().optional(),
|
|
9270
|
+
gitUrl: nullishToOptional(z289.string()),
|
|
9271
|
+
gitBranch: nullishToOptional(z289.string()),
|
|
9272
|
+
gitDirectory: nullishToOptional(z289.string()),
|
|
9273
|
+
isDeprecated: z289.boolean(),
|
|
9274
|
+
deprecationNote: z289.string().optional(),
|
|
9275
|
+
replacementExporterId: z289.string().optional()
|
|
9276
|
+
});
|
|
9277
|
+
var DTOExporterMembership = z289.object({
|
|
9278
|
+
workspaceId: z289.string(),
|
|
9279
|
+
exporterId: z289.string(),
|
|
9212
9280
|
role: DTOExporterMembershipRole
|
|
9213
9281
|
});
|
|
9214
|
-
var DTOExporterResponse =
|
|
9282
|
+
var DTOExporterResponse = z289.object({
|
|
9215
9283
|
exporter: DTOExporter,
|
|
9216
9284
|
membership: DTOExporterMembership
|
|
9217
9285
|
});
|
|
9218
|
-
var DTOExporterListResponse =
|
|
9286
|
+
var DTOExporterListResponse = z289.object({
|
|
9219
9287
|
exporters: DTOExporter.array(),
|
|
9220
9288
|
membership: DTOExporterMembership.array(),
|
|
9221
|
-
total:
|
|
9289
|
+
total: z289.number()
|
|
9222
9290
|
});
|
|
9223
|
-
var DTOExporterGitProviderEnum =
|
|
9224
|
-
var DTOExporterCreateInput =
|
|
9225
|
-
url:
|
|
9291
|
+
var DTOExporterGitProviderEnum = z289.enum(["github", "gitlab", "bitbucket", "azure"]);
|
|
9292
|
+
var DTOExporterCreateInput = z289.object({
|
|
9293
|
+
url: z289.string(),
|
|
9226
9294
|
provider: DTOExporterGitProviderEnum
|
|
9227
9295
|
});
|
|
9228
|
-
var DTOExporterUpdateInput =
|
|
9229
|
-
url:
|
|
9296
|
+
var DTOExporterUpdateInput = z289.object({
|
|
9297
|
+
url: z289.string().optional()
|
|
9230
9298
|
});
|
|
9231
|
-
var DTOExporterDeprecationInput =
|
|
9232
|
-
isDeprecated:
|
|
9233
|
-
deprecationNote:
|
|
9234
|
-
replacementExporterId:
|
|
9299
|
+
var DTOExporterDeprecationInput = z289.object({
|
|
9300
|
+
isDeprecated: z289.boolean(),
|
|
9301
|
+
deprecationNote: z289.string().optional(),
|
|
9302
|
+
replacementExporterId: z289.string().optional()
|
|
9235
9303
|
});
|
|
9236
9304
|
|
|
9237
9305
|
// src/api/dto/export/filter.ts
|
|
9238
|
-
import { z as
|
|
9239
|
-
var DTOExportJobsListFilter =
|
|
9240
|
-
exporterId:
|
|
9241
|
-
designSystemVersionId:
|
|
9242
|
-
createdByUserId:
|
|
9306
|
+
import { z as z290 } from "zod";
|
|
9307
|
+
var DTOExportJobsListFilter = z290.object({
|
|
9308
|
+
exporterId: z290.string().optional(),
|
|
9309
|
+
designSystemVersionId: z290.string().optional(),
|
|
9310
|
+
createdByUserId: z290.string().optional(),
|
|
9243
9311
|
status: ExportJobStatus.optional(),
|
|
9244
|
-
scheduleId:
|
|
9245
|
-
designSystemId:
|
|
9246
|
-
themeId:
|
|
9247
|
-
brandId:
|
|
9312
|
+
scheduleId: z290.string().optional(),
|
|
9313
|
+
designSystemId: z290.string().optional(),
|
|
9314
|
+
themeId: z290.string().optional(),
|
|
9315
|
+
brandId: z290.string().optional(),
|
|
9248
9316
|
docsEnvironment: PublishedDocEnvironment.optional(),
|
|
9249
|
-
destinations:
|
|
9317
|
+
destinations: z290.string().transform((s) => s.split(",").map((p) => ExportJobDestinationType.parse(p))).optional()
|
|
9250
9318
|
});
|
|
9251
9319
|
|
|
9252
9320
|
// src/api/dto/export/job.ts
|
|
9253
|
-
import { z as
|
|
9254
|
-
var DTOExportJobCreatedBy =
|
|
9255
|
-
userId:
|
|
9256
|
-
userName:
|
|
9321
|
+
import { z as z291 } from "zod";
|
|
9322
|
+
var DTOExportJobCreatedBy = z291.object({
|
|
9323
|
+
userId: z291.string(),
|
|
9324
|
+
userName: z291.string()
|
|
9257
9325
|
});
|
|
9258
|
-
var DTOExportJobDesignSystemPreview =
|
|
9259
|
-
id:
|
|
9326
|
+
var DTOExportJobDesignSystemPreview = z291.object({
|
|
9327
|
+
id: z291.string(),
|
|
9260
9328
|
meta: ObjectMeta
|
|
9261
9329
|
});
|
|
9262
|
-
var DTOExportJobDesignSystemVersionPreview =
|
|
9263
|
-
id:
|
|
9330
|
+
var DTOExportJobDesignSystemVersionPreview = z291.object({
|
|
9331
|
+
id: z291.string(),
|
|
9264
9332
|
meta: ObjectMeta,
|
|
9265
|
-
version:
|
|
9266
|
-
isReadonly:
|
|
9333
|
+
version: z291.string(),
|
|
9334
|
+
isReadonly: z291.boolean()
|
|
9267
9335
|
});
|
|
9268
|
-
var DTOExportJobDestinations =
|
|
9336
|
+
var DTOExportJobDestinations = z291.object({
|
|
9269
9337
|
s3: ExporterDestinationS3.optional(),
|
|
9270
9338
|
azure: ExporterDestinationAzure.optional(),
|
|
9271
9339
|
bitbucket: ExporterDestinationBitbucket.optional(),
|
|
9272
9340
|
github: ExporterDestinationGithub.optional(),
|
|
9273
9341
|
gitlab: ExporterDestinationGitlab.optional(),
|
|
9274
9342
|
documentation: ExporterDestinationDocs.optional(),
|
|
9275
|
-
webhookUrl:
|
|
9343
|
+
webhookUrl: z291.string().optional()
|
|
9276
9344
|
});
|
|
9277
9345
|
var DTOExportJobResult = ExportJobResult.omit({
|
|
9278
9346
|
sndocs: true
|
|
9279
9347
|
}).extend({
|
|
9280
9348
|
documentation: ExportJobDocsDestinationResult.optional()
|
|
9281
9349
|
});
|
|
9282
|
-
var DTOExportJob =
|
|
9283
|
-
id:
|
|
9284
|
-
createdAt:
|
|
9285
|
-
finishedAt:
|
|
9286
|
-
index:
|
|
9350
|
+
var DTOExportJob = z291.object({
|
|
9351
|
+
id: z291.string(),
|
|
9352
|
+
createdAt: z291.coerce.date(),
|
|
9353
|
+
finishedAt: z291.coerce.date().optional(),
|
|
9354
|
+
index: z291.number().optional(),
|
|
9287
9355
|
status: ExportJobStatus,
|
|
9288
|
-
estimatedExecutionTime:
|
|
9356
|
+
estimatedExecutionTime: z291.number().optional(),
|
|
9289
9357
|
createdBy: DTOExportJobCreatedBy.optional(),
|
|
9290
9358
|
designSystem: DTOExportJobDesignSystemPreview,
|
|
9291
9359
|
designSystemVersion: DTOExportJobDesignSystemVersionPreview,
|
|
9292
9360
|
destinations: DTOExportJobDestinations,
|
|
9293
|
-
exporterId:
|
|
9294
|
-
scheduleId:
|
|
9361
|
+
exporterId: z291.string(),
|
|
9362
|
+
scheduleId: z291.string().optional(),
|
|
9295
9363
|
result: DTOExportJobResult.optional(),
|
|
9296
|
-
brandPersistentId:
|
|
9297
|
-
themePersistentId:
|
|
9298
|
-
themePersistentIds:
|
|
9364
|
+
brandPersistentId: z291.string().optional(),
|
|
9365
|
+
themePersistentId: z291.string().optional(),
|
|
9366
|
+
themePersistentIds: z291.string().array().optional(),
|
|
9299
9367
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional()
|
|
9300
9368
|
});
|
|
9301
|
-
var DTOExportJobResponse =
|
|
9369
|
+
var DTOExportJobResponse = z291.object({
|
|
9302
9370
|
job: DTOExportJob
|
|
9303
9371
|
});
|
|
9304
|
-
var DTOExportJobResponseLegacy =
|
|
9305
|
-
job:
|
|
9306
|
-
id:
|
|
9372
|
+
var DTOExportJobResponseLegacy = z291.object({
|
|
9373
|
+
job: z291.object({
|
|
9374
|
+
id: z291.string(),
|
|
9307
9375
|
status: ExportJobStatus
|
|
9308
9376
|
})
|
|
9309
9377
|
});
|
|
9310
|
-
var DTOExportJobCreateInput =
|
|
9311
|
-
designSystemId:
|
|
9312
|
-
designSystemVersionId:
|
|
9313
|
-
exporterId:
|
|
9314
|
-
brandId:
|
|
9315
|
-
themeId:
|
|
9316
|
-
themePersistentIds:
|
|
9378
|
+
var DTOExportJobCreateInput = z291.object({
|
|
9379
|
+
designSystemId: z291.string(),
|
|
9380
|
+
designSystemVersionId: z291.string(),
|
|
9381
|
+
exporterId: z291.string(),
|
|
9382
|
+
brandId: z291.string().optional(),
|
|
9383
|
+
themeId: z291.string().optional(),
|
|
9384
|
+
themePersistentIds: z291.string().array().optional(),
|
|
9317
9385
|
destinations: DTOExportJobDestinations,
|
|
9318
9386
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
9319
|
-
previewMode:
|
|
9387
|
+
previewMode: z291.boolean().optional()
|
|
9320
9388
|
});
|
|
9321
9389
|
|
|
9322
9390
|
// src/api/dto/export/pipeline.ts
|
|
9323
|
-
import { z as
|
|
9391
|
+
import { z as z292 } from "zod";
|
|
9324
9392
|
var DTOPipelineExporterQuery = PipelineExporterQuery;
|
|
9325
9393
|
var DTODesignSystemPipelineListQuery = DTOPipelineExporterQuery.extend({
|
|
9326
|
-
latestJobsLimit:
|
|
9394
|
+
latestJobsLimit: z292.coerce.number().optional()
|
|
9327
9395
|
});
|
|
9328
|
-
var DTOPipelineListQuery =
|
|
9329
|
-
designSystemId:
|
|
9330
|
-
exporterId:
|
|
9331
|
-
latestJobsLimit:
|
|
9396
|
+
var DTOPipelineListQuery = z292.object({
|
|
9397
|
+
designSystemId: z292.string().optional(),
|
|
9398
|
+
exporterId: z292.string().optional(),
|
|
9399
|
+
latestJobsLimit: z292.coerce.number().optional()
|
|
9332
9400
|
});
|
|
9333
|
-
var DTOPipeline =
|
|
9334
|
-
id:
|
|
9335
|
-
name:
|
|
9401
|
+
var DTOPipeline = z292.object({
|
|
9402
|
+
id: z292.string(),
|
|
9403
|
+
name: z292.string(),
|
|
9336
9404
|
eventType: PipelineEventType,
|
|
9337
|
-
isEnabled:
|
|
9338
|
-
workspaceId:
|
|
9339
|
-
designSystemId:
|
|
9340
|
-
exporterId:
|
|
9341
|
-
brandPersistentId:
|
|
9342
|
-
themePersistentId:
|
|
9343
|
-
themePersistentIds:
|
|
9405
|
+
isEnabled: z292.boolean(),
|
|
9406
|
+
workspaceId: z292.string(),
|
|
9407
|
+
designSystemId: z292.string(),
|
|
9408
|
+
exporterId: z292.string(),
|
|
9409
|
+
brandPersistentId: z292.string().optional(),
|
|
9410
|
+
themePersistentId: z292.string().optional(),
|
|
9411
|
+
themePersistentIds: z292.string().array().optional(),
|
|
9344
9412
|
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
9345
9413
|
...ExportDestinationsMap.shape,
|
|
9346
9414
|
latestJobs: DTOExportJob.array(),
|
|
9347
|
-
isExporterDeprecated:
|
|
9415
|
+
isExporterDeprecated: z292.boolean()
|
|
9348
9416
|
});
|
|
9349
|
-
var DTOPipelineListResponse =
|
|
9417
|
+
var DTOPipelineListResponse = z292.object({
|
|
9350
9418
|
pipelines: DTOPipeline.array()
|
|
9351
9419
|
});
|
|
9352
|
-
var DTOPipelineResponse =
|
|
9420
|
+
var DTOPipelineResponse = z292.object({
|
|
9353
9421
|
pipeline: DTOPipeline
|
|
9354
9422
|
});
|
|
9355
|
-
var DTOWorkspaceStats =
|
|
9356
|
-
pipelines:
|
|
9357
|
-
totalCount:
|
|
9423
|
+
var DTOWorkspaceStats = z292.object({
|
|
9424
|
+
pipelines: z292.object({
|
|
9425
|
+
totalCount: z292.number()
|
|
9358
9426
|
})
|
|
9359
9427
|
});
|
|
9360
9428
|
|
|
9361
9429
|
// src/api/dto/documentation/publish.ts
|
|
9362
9430
|
var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
|
|
9363
|
-
var DTOPublishDocumentationRequest =
|
|
9431
|
+
var DTOPublishDocumentationRequest = z293.object({
|
|
9364
9432
|
environment: PublishedDocEnvironment,
|
|
9365
9433
|
/**
|
|
9366
9434
|
* If defined, this allows narrowing down what is published to a set of specific pages and groups
|
|
@@ -9368,39 +9436,17 @@ var DTOPublishDocumentationRequest = z292.object({
|
|
|
9368
9436
|
*/
|
|
9369
9437
|
changes: DTOPublishDocumentationChanges.optional()
|
|
9370
9438
|
});
|
|
9371
|
-
var DTOPublishDocumentationResponse =
|
|
9439
|
+
var DTOPublishDocumentationResponse = z293.object({
|
|
9372
9440
|
job: DTOExportJob
|
|
9373
9441
|
});
|
|
9374
9442
|
|
|
9375
9443
|
// src/api/dto/documentation/room.ts
|
|
9376
|
-
import { z as z293 } from "zod";
|
|
9377
|
-
var DTODocumentationPageRoom = z293.object({
|
|
9378
|
-
id: z293.string()
|
|
9379
|
-
});
|
|
9380
|
-
var DTODocumentationPageRoomResponse = z293.object({
|
|
9381
|
-
room: DTODocumentationPageRoom
|
|
9382
|
-
});
|
|
9383
|
-
|
|
9384
|
-
// src/api/dto/documentation/documentation.ts
|
|
9385
9444
|
import { z as z294 } from "zod";
|
|
9386
|
-
var
|
|
9387
|
-
id: z294.string()
|
|
9388
|
-
title: z294.string(),
|
|
9389
|
-
fullPath: z294.string(),
|
|
9390
|
-
description: z294.string().optional()
|
|
9391
|
-
});
|
|
9392
|
-
var DTODocumentationContent = z294.object({
|
|
9393
|
-
id: z294.string(),
|
|
9394
|
-
markdown: z294.string()
|
|
9395
|
-
});
|
|
9396
|
-
var DTODocumentationMinimalPageListResponse = z294.object({
|
|
9397
|
-
pages: z294.array(DTODocumentationMinimalPage)
|
|
9445
|
+
var DTODocumentationPageRoom = z294.object({
|
|
9446
|
+
id: z294.string()
|
|
9398
9447
|
});
|
|
9399
|
-
var
|
|
9400
|
-
|
|
9401
|
-
});
|
|
9402
|
-
var DTODocumentationContentQuery = z294.object({
|
|
9403
|
-
pageIds: z294.string().transform((value) => value.split(",")).pipe(z294.string().trim().array())
|
|
9448
|
+
var DTODocumentationPageRoomResponse = z294.object({
|
|
9449
|
+
room: DTODocumentationPageRoom
|
|
9404
9450
|
});
|
|
9405
9451
|
|
|
9406
9452
|
// src/api/dto/elements/components/figma-component-group.ts
|
|
@@ -10642,8 +10688,8 @@ var DTOForgeFeatureRoomResponse = z323.object({
|
|
|
10642
10688
|
// src/api/dto/forge/figma-node.ts
|
|
10643
10689
|
import z324 from "zod";
|
|
10644
10690
|
var DTOForgeFigmaNodeState = z324.enum(["Optimizing", "Success", "Failed"]);
|
|
10645
|
-
var DTOForgeFigmaNodeConversionVersion = z324.enum(["V1", "V2"]);
|
|
10646
|
-
var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.
|
|
10691
|
+
var DTOForgeFigmaNodeConversionVersion = z324.enum(["V1", "V2", "V3", "V4", "V5", "V6", "V7"]);
|
|
10692
|
+
var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.V7;
|
|
10647
10693
|
var DTOForgeFigmaNodeOrigin = z324.object({
|
|
10648
10694
|
/**
|
|
10649
10695
|
* Figma file ID that was passed into the create request as a part of the Figma node URL
|
|
@@ -10681,6 +10727,8 @@ var DTOForgeFigmaNode = z324.object({
|
|
|
10681
10727
|
*/
|
|
10682
10728
|
html: DTOFileReference,
|
|
10683
10729
|
/**
|
|
10730
|
+
* @deprecated - Optimizing phase was removed, this field is no longer available.
|
|
10731
|
+
*
|
|
10684
10732
|
* Code representation of the Figma node. Code gets produced during "Optimizing" phase,
|
|
10685
10733
|
* it's available when the node reaches "Success" state.
|
|
10686
10734
|
*/
|