@supernova-studio/client 1.90.5 → 1.90.7
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +32 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3815 -3790
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -145802,7 +145802,7 @@ declare const DTOForgeFeatureRoomResponse: z.ZodObject<{
|
|
|
145802
145802
|
}>;
|
|
145803
145803
|
type DTOForgeFeatureRoomResponse = z.infer<typeof DTOForgeFeatureRoomResponse>;
|
|
145804
145804
|
|
|
145805
|
-
declare const ForgeFigmaNodeLatestVersion: "
|
|
145805
|
+
declare const ForgeFigmaNodeLatestVersion: "V10";
|
|
145806
145806
|
declare const DTOForgeFigmaNodeOrigin: z$1.ZodObject<{
|
|
145807
145807
|
/**
|
|
145808
145808
|
* Figma file ID that was passed into the create request as a part of the Figma node URL
|
|
@@ -146737,7 +146737,7 @@ declare const DTOForgeFigmaNodeValidateResponse: z$1.ZodObject<{
|
|
|
146737
146737
|
isValid: boolean;
|
|
146738
146738
|
}>;
|
|
146739
146739
|
type DTOForgeFigmaNodeValidateResponse = z$1.infer<typeof DTOForgeFigmaNodeValidateResponse>;
|
|
146740
|
-
declare const DTOForgeFigmaNodeConversionVersion: z$1.ZodEnum<["V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8"]>;
|
|
146740
|
+
declare const DTOForgeFigmaNodeConversionVersion: z$1.ZodEnum<["V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10"]>;
|
|
146741
146741
|
type DTOForgeFigmaNodeConversionVersion = z$1.infer<typeof DTOForgeFigmaNodeConversionVersion>;
|
|
146742
146742
|
|
|
146743
146743
|
declare const DTOForgeIterationMessage: z.ZodObject<Omit<{
|
package/dist/index.d.ts
CHANGED
|
@@ -145802,7 +145802,7 @@ declare const DTOForgeFeatureRoomResponse: z.ZodObject<{
|
|
|
145802
145802
|
}>;
|
|
145803
145803
|
type DTOForgeFeatureRoomResponse = z.infer<typeof DTOForgeFeatureRoomResponse>;
|
|
145804
145804
|
|
|
145805
|
-
declare const ForgeFigmaNodeLatestVersion: "
|
|
145805
|
+
declare const ForgeFigmaNodeLatestVersion: "V10";
|
|
145806
145806
|
declare const DTOForgeFigmaNodeOrigin: z$1.ZodObject<{
|
|
145807
145807
|
/**
|
|
145808
145808
|
* Figma file ID that was passed into the create request as a part of the Figma node URL
|
|
@@ -146737,7 +146737,7 @@ declare const DTOForgeFigmaNodeValidateResponse: z$1.ZodObject<{
|
|
|
146737
146737
|
isValid: boolean;
|
|
146738
146738
|
}>;
|
|
146739
146739
|
type DTOForgeFigmaNodeValidateResponse = z$1.infer<typeof DTOForgeFigmaNodeValidateResponse>;
|
|
146740
|
-
declare const DTOForgeFigmaNodeConversionVersion: z$1.ZodEnum<["V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8"]>;
|
|
146740
|
+
declare const DTOForgeFigmaNodeConversionVersion: z$1.ZodEnum<["V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10"]>;
|
|
146741
146741
|
type DTOForgeFigmaNodeConversionVersion = z$1.infer<typeof DTOForgeFigmaNodeConversionVersion>;
|
|
146742
146742
|
|
|
146743
146743
|
declare const DTOForgeIterationMessage: z.ZodObject<Omit<{
|
package/dist/index.js
CHANGED
|
@@ -4280,7 +4280,7 @@ function pickLatestGroupSnapshots(snapshots) {
|
|
|
4280
4280
|
return pickLatestSnapshots(snapshots, (s) => s.group.id);
|
|
4281
4281
|
}
|
|
4282
4282
|
|
|
4283
|
-
// ../model/src/dsm/figma-exporter/figma-exporter.ts
|
|
4283
|
+
// ../model/src/dsm/figma-exporter/figma-exporter-styles.ts
|
|
4284
4284
|
|
|
4285
4285
|
var FigmaExporterProcessedStylesSchema = _zod.z.object({
|
|
4286
4286
|
display: _zod.z.union([
|
|
@@ -4392,7 +4392,6 @@ var FigmaExporterProcessedStylesSchema = _zod.z.object({
|
|
|
4392
4392
|
backgroundSize: _zod.z.string().optional(),
|
|
4393
4393
|
backgroundPosition: _zod.z.string().optional(),
|
|
4394
4394
|
backgroundRepeat: _zod.z.string().optional(),
|
|
4395
|
-
// Typed as string to support multiple background blend modes
|
|
4396
4395
|
backgroundBlendMode: _zod.z.string().optional(),
|
|
4397
4396
|
backgroundClip: _zod.z.union([_zod.z.literal("border-box"), _zod.z.literal("padding-box"), _zod.z.literal("content-box"), _zod.z.literal("text")]).optional(),
|
|
4398
4397
|
backgroundOrigin: _zod.z.union([_zod.z.literal("border-box"), _zod.z.literal("padding-box"), _zod.z.literal("content-box")]).optional(),
|
|
@@ -4509,6 +4508,34 @@ var FigmaExporterProcessedStylesSchema = _zod.z.object({
|
|
|
4509
4508
|
]).optional(),
|
|
4510
4509
|
visibility: _zod.z.union([_zod.z.literal("visible"), _zod.z.literal("hidden"), _zod.z.literal("collapse")]).optional()
|
|
4511
4510
|
});
|
|
4511
|
+
|
|
4512
|
+
// ../model/src/dsm/figma-exporter/figma-exporter-text-content.ts
|
|
4513
|
+
|
|
4514
|
+
var textSpanSchema = _zod.z.object({
|
|
4515
|
+
text: _zod.z.string(),
|
|
4516
|
+
styles: FigmaExporterProcessedStylesSchema.partial()
|
|
4517
|
+
});
|
|
4518
|
+
var textParagraphBlockSchema = _zod.z.object({
|
|
4519
|
+
type: _zod.z.literal("paragraph"),
|
|
4520
|
+
spans: _zod.z.array(textSpanSchema)
|
|
4521
|
+
});
|
|
4522
|
+
var textListItemSchema = _zod.z.lazy(
|
|
4523
|
+
() => _zod.z.object({
|
|
4524
|
+
spans: _zod.z.array(textSpanSchema),
|
|
4525
|
+
children: _zod.z.array(textBlockSchema)
|
|
4526
|
+
})
|
|
4527
|
+
);
|
|
4528
|
+
var textListBlockSchema = _zod.z.object({
|
|
4529
|
+
type: _zod.z.literal("list"),
|
|
4530
|
+
kind: _zod.z.union([_zod.z.literal("ordered"), _zod.z.literal("unordered")]),
|
|
4531
|
+
items: _zod.z.array(textListItemSchema)
|
|
4532
|
+
});
|
|
4533
|
+
var textBlockSchema = _zod.z.lazy(
|
|
4534
|
+
() => _zod.z.union([textParagraphBlockSchema, textListBlockSchema])
|
|
4535
|
+
);
|
|
4536
|
+
|
|
4537
|
+
// ../model/src/dsm/figma-exporter/figma-exporter.ts
|
|
4538
|
+
|
|
4512
4539
|
var FigmaExporterDesignNodeTypeSchema = _zod.z.union([
|
|
4513
4540
|
_zod.z.literal("FRAME"),
|
|
4514
4541
|
_zod.z.literal("TEXT"),
|
|
@@ -4529,9 +4556,7 @@ var frameNodeObjectSchema = baseDesignNodeObjectSchema.extend({
|
|
|
4529
4556
|
});
|
|
4530
4557
|
var textNodeObjectSchema = baseDesignNodeObjectSchema.extend({
|
|
4531
4558
|
type: _zod.z.literal("TEXT"),
|
|
4532
|
-
|
|
4533
|
-
lineTypes: _zod.z.array(_zod.z.union([_zod.z.literal("NONE"), _zod.z.literal("ORDERED"), _zod.z.literal("UNORDERED")])).optional(),
|
|
4534
|
-
lineIndentations: _zod.z.array(_zod.z.number()).optional()
|
|
4559
|
+
content: _zod.z.array(textBlockSchema)
|
|
4535
4560
|
});
|
|
4536
4561
|
var svgNodeObjectSchema = baseDesignNodeObjectSchema.extend({
|
|
4537
4562
|
type: _zod.z.literal("SVG"),
|
|
@@ -10729,8 +10754,8 @@ var DTOForgeFeatureRoomResponse = _zod.z.object({
|
|
|
10729
10754
|
// src/api/dto/forge/figma-node.ts
|
|
10730
10755
|
|
|
10731
10756
|
var DTOForgeFigmaNodeState = _zod2.default.enum(["Optimizing", "Success", "Failed"]);
|
|
10732
|
-
var DTOForgeFigmaNodeConversionVersion = _zod2.default.enum(["V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8"]);
|
|
10733
|
-
var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.
|
|
10757
|
+
var DTOForgeFigmaNodeConversionVersion = _zod2.default.enum(["V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10"]);
|
|
10758
|
+
var ForgeFigmaNodeLatestVersion = DTOForgeFigmaNodeConversionVersion.enum.V10;
|
|
10734
10759
|
var DTOForgeFigmaNodeOrigin = _zod2.default.object({
|
|
10735
10760
|
/**
|
|
10736
10761
|
* Figma file ID that was passed into the create request as a part of the Figma node URL
|