@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.mjs CHANGED
@@ -167,7 +167,8 @@ var FeaturesSummary = z7.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 = z124.object({
4722
4723
  textShadow: z124.string().optional(),
4723
4724
  filter: z124.string().optional(),
4724
4725
  backdropFilter: z124.string().optional(),
4726
+ maskImage: z124.string().optional(),
4727
+ maskRepeat: z124.string().optional(),
4728
+ maskPosition: z124.string().optional(),
4729
+ maskSize: z124.string().optional(),
4730
+ WebkitMaskImage: z124.string().optional(),
4731
+ WebkitMaskRepeat: z124.string().optional(),
4732
+ WebkitMaskPosition: z124.string().optional(),
4733
+ WebkitMaskSize: z124.string().optional(),
4725
4734
  mixBlendMode: z124.union([
4726
4735
  z124.literal("normal"),
4727
4736
  z124.literal("multiply"),
@@ -4827,7 +4836,8 @@ var FigmaExporterDesignNodeTypeSchema = z124.union([
4827
4836
  z124.literal("TEXT"),
4828
4837
  z124.literal("SVG"),
4829
4838
  z124.literal("IMAGE"),
4830
- z124.literal("COMPONENT_INSTANCE")
4839
+ z124.literal("COMPONENT_INSTANCE"),
4840
+ z124.literal("MASK_GROUP")
4831
4841
  ]);
4832
4842
  var baseDesignNodeObjectSchema = z124.object({
4833
4843
  id: z124.string(),
@@ -4861,6 +4871,35 @@ var componentInstanceObjectSchema = baseDesignNodeObjectSchema.extend({
4861
4871
  componentDescription: z124.string(),
4862
4872
  props: z124.record(z124.string(), z124.union([z124.string(), z124.boolean()]))
4863
4873
  });
4874
+ var svgMaskDefinitionSchema = z124.object({
4875
+ type: z124.literal("SVG_MASK"),
4876
+ svgString: z124.string(),
4877
+ width: z124.number(),
4878
+ height: z124.number()
4879
+ });
4880
+ var rectClipMaskDefinitionSchema = z124.object({
4881
+ type: z124.literal("RECT_CLIP"),
4882
+ width: z124.number(),
4883
+ height: z124.number(),
4884
+ borderRadius: z124.string().optional()
4885
+ });
4886
+ var ellipseClipMaskDefinitionSchema = z124.object({
4887
+ type: z124.literal("ELLIPSE_CLIP"),
4888
+ width: z124.number(),
4889
+ height: z124.number()
4890
+ });
4891
+ var FigmaExporterMaskDefinitionSchema = z124.union([
4892
+ svgMaskDefinitionSchema,
4893
+ rectClipMaskDefinitionSchema,
4894
+ ellipseClipMaskDefinitionSchema
4895
+ ]);
4896
+ var maskGroupNodeObjectSchema = baseDesignNodeObjectSchema.extend({
4897
+ type: z124.literal("MASK_GROUP"),
4898
+ maskType: z124.union([z124.literal("ALPHA"), z124.literal("VECTOR")]),
4899
+ maskSourceId: z124.string(),
4900
+ maskSourceName: z124.string(),
4901
+ maskDefinition: FigmaExporterMaskDefinitionSchema
4902
+ });
4864
4903
  var frameNodeSchema = z124.lazy(
4865
4904
  () => frameNodeObjectSchema.extend({
4866
4905
  children: FigmaExporterAnyDesignNodeSchema.array()
@@ -4878,12 +4917,18 @@ var componentInstanceNodeSchema = z124.lazy(
4878
4917
  children: FigmaExporterAnyDesignNodeSchema.array()
4879
4918
  })
4880
4919
  );
4920
+ var maskGroupNodeSchema = z124.lazy(
4921
+ () => maskGroupNodeObjectSchema.extend({
4922
+ children: FigmaExporterAnyDesignNodeSchema.array()
4923
+ })
4924
+ );
4881
4925
  var FigmaExporterAnyDesignNodeSchema = z124.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 = z208.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",