@supernova-studio/model 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 +1109 -8
- package/dist/index.d.ts +1109 -8
- package/dist/index.js +50 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +50 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -167,7 +167,8 @@ var FeaturesSummary = _zod.z.object({
|
|
|
167
167
|
forgeFeatureWorkspacePublishing: featureToggleSchema,
|
|
168
168
|
forgeFeatureHideSupernovaUI: featureToggleSchema,
|
|
169
169
|
documentationPages: featureLimitedSchema,
|
|
170
|
-
sandboxTemplates: featureToggleSchema
|
|
170
|
+
sandboxTemplates: featureToggleSchema,
|
|
171
|
+
forgeShellTemplates: featureLimitedSchema
|
|
171
172
|
});
|
|
172
173
|
|
|
173
174
|
// src/billing/invoice.ts
|
|
@@ -4722,6 +4723,14 @@ var FigmaExporterProcessedStylesSchema = _zod.z.object({
|
|
|
4722
4723
|
textShadow: _zod.z.string().optional(),
|
|
4723
4724
|
filter: _zod.z.string().optional(),
|
|
4724
4725
|
backdropFilter: _zod.z.string().optional(),
|
|
4726
|
+
maskImage: _zod.z.string().optional(),
|
|
4727
|
+
maskRepeat: _zod.z.string().optional(),
|
|
4728
|
+
maskPosition: _zod.z.string().optional(),
|
|
4729
|
+
maskSize: _zod.z.string().optional(),
|
|
4730
|
+
WebkitMaskImage: _zod.z.string().optional(),
|
|
4731
|
+
WebkitMaskRepeat: _zod.z.string().optional(),
|
|
4732
|
+
WebkitMaskPosition: _zod.z.string().optional(),
|
|
4733
|
+
WebkitMaskSize: _zod.z.string().optional(),
|
|
4725
4734
|
mixBlendMode: _zod.z.union([
|
|
4726
4735
|
_zod.z.literal("normal"),
|
|
4727
4736
|
_zod.z.literal("multiply"),
|
|
@@ -4827,7 +4836,8 @@ var FigmaExporterDesignNodeTypeSchema = _zod.z.union([
|
|
|
4827
4836
|
_zod.z.literal("TEXT"),
|
|
4828
4837
|
_zod.z.literal("SVG"),
|
|
4829
4838
|
_zod.z.literal("IMAGE"),
|
|
4830
|
-
_zod.z.literal("COMPONENT_INSTANCE")
|
|
4839
|
+
_zod.z.literal("COMPONENT_INSTANCE"),
|
|
4840
|
+
_zod.z.literal("MASK_GROUP")
|
|
4831
4841
|
]);
|
|
4832
4842
|
var baseDesignNodeObjectSchema = _zod.z.object({
|
|
4833
4843
|
id: _zod.z.string(),
|
|
@@ -4861,6 +4871,35 @@ var componentInstanceObjectSchema = baseDesignNodeObjectSchema.extend({
|
|
|
4861
4871
|
componentDescription: _zod.z.string(),
|
|
4862
4872
|
props: _zod.z.record(_zod.z.string(), _zod.z.union([_zod.z.string(), _zod.z.boolean()]))
|
|
4863
4873
|
});
|
|
4874
|
+
var svgMaskDefinitionSchema = _zod.z.object({
|
|
4875
|
+
type: _zod.z.literal("SVG_MASK"),
|
|
4876
|
+
svgString: _zod.z.string(),
|
|
4877
|
+
width: _zod.z.number(),
|
|
4878
|
+
height: _zod.z.number()
|
|
4879
|
+
});
|
|
4880
|
+
var rectClipMaskDefinitionSchema = _zod.z.object({
|
|
4881
|
+
type: _zod.z.literal("RECT_CLIP"),
|
|
4882
|
+
width: _zod.z.number(),
|
|
4883
|
+
height: _zod.z.number(),
|
|
4884
|
+
borderRadius: _zod.z.string().optional()
|
|
4885
|
+
});
|
|
4886
|
+
var ellipseClipMaskDefinitionSchema = _zod.z.object({
|
|
4887
|
+
type: _zod.z.literal("ELLIPSE_CLIP"),
|
|
4888
|
+
width: _zod.z.number(),
|
|
4889
|
+
height: _zod.z.number()
|
|
4890
|
+
});
|
|
4891
|
+
var FigmaExporterMaskDefinitionSchema = _zod.z.union([
|
|
4892
|
+
svgMaskDefinitionSchema,
|
|
4893
|
+
rectClipMaskDefinitionSchema,
|
|
4894
|
+
ellipseClipMaskDefinitionSchema
|
|
4895
|
+
]);
|
|
4896
|
+
var maskGroupNodeObjectSchema = baseDesignNodeObjectSchema.extend({
|
|
4897
|
+
type: _zod.z.literal("MASK_GROUP"),
|
|
4898
|
+
maskType: _zod.z.union([_zod.z.literal("ALPHA"), _zod.z.literal("VECTOR")]),
|
|
4899
|
+
maskSourceId: _zod.z.string(),
|
|
4900
|
+
maskSourceName: _zod.z.string(),
|
|
4901
|
+
maskDefinition: FigmaExporterMaskDefinitionSchema
|
|
4902
|
+
});
|
|
4864
4903
|
var frameNodeSchema = _zod.z.lazy(
|
|
4865
4904
|
() => frameNodeObjectSchema.extend({
|
|
4866
4905
|
children: FigmaExporterAnyDesignNodeSchema.array()
|
|
@@ -4878,12 +4917,18 @@ var componentInstanceNodeSchema = _zod.z.lazy(
|
|
|
4878
4917
|
children: FigmaExporterAnyDesignNodeSchema.array()
|
|
4879
4918
|
})
|
|
4880
4919
|
);
|
|
4920
|
+
var maskGroupNodeSchema = _zod.z.lazy(
|
|
4921
|
+
() => maskGroupNodeObjectSchema.extend({
|
|
4922
|
+
children: FigmaExporterAnyDesignNodeSchema.array()
|
|
4923
|
+
})
|
|
4924
|
+
);
|
|
4881
4925
|
var FigmaExporterAnyDesignNodeSchema = _zod.z.union([
|
|
4882
4926
|
frameNodeSchema,
|
|
4883
4927
|
textNodeSchema,
|
|
4884
4928
|
svgNodeSchema,
|
|
4885
4929
|
imageNodeSchema,
|
|
4886
|
-
componentInstanceNodeSchema
|
|
4930
|
+
componentInstanceNodeSchema,
|
|
4931
|
+
maskGroupNodeSchema
|
|
4887
4932
|
]);
|
|
4888
4933
|
|
|
4889
4934
|
// src/dsm/figma-node-renderer/renderer-payload.ts
|
|
@@ -6673,7 +6718,8 @@ var FlaggedFeature = _zod.z.enum([
|
|
|
6673
6718
|
"ForgeCopyTemplatePreset",
|
|
6674
6719
|
"ForgeSandboxTimeout",
|
|
6675
6720
|
"ForgeFileUploadBatchSize",
|
|
6676
|
-
"DSVersionRoomYJSStorageVersion"
|
|
6721
|
+
"DSVersionRoomYJSStorageVersion",
|
|
6722
|
+
"ForgeTemplateUploadForAll"
|
|
6677
6723
|
]);
|
|
6678
6724
|
var FeatureFlagDefaults = {
|
|
6679
6725
|
DocumentationIgnoreSnapshotsOnPublish: "route-bff+route-p3",
|