@supernova-studio/model 1.80.1 → 1.81.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 CHANGED
@@ -946,6 +946,19 @@ declare const FeaturesSummary: z$1.ZodObject<{
946
946
  errorReason: string;
947
947
  enabled: boolean;
948
948
  }>;
949
+ forgeAttachFigmaFrames: z$1.ZodObject<{
950
+ enabled: z$1.ZodBoolean;
951
+ errorMessage: z$1.ZodString;
952
+ errorReason: z$1.ZodString;
953
+ }, "strip", z$1.ZodTypeAny, {
954
+ errorMessage: string;
955
+ errorReason: string;
956
+ enabled: boolean;
957
+ }, {
958
+ errorMessage: string;
959
+ errorReason: string;
960
+ enabled: boolean;
961
+ }>;
949
962
  forgeActiveProjectContexts: z$1.ZodObject<{
950
963
  max: z$1.ZodOptional<z$1.ZodNumber>;
951
964
  errorMessage: z$1.ZodString;
@@ -1164,6 +1177,11 @@ declare const FeaturesSummary: z$1.ZodObject<{
1164
1177
  errorReason: string;
1165
1178
  enabled: boolean;
1166
1179
  };
1180
+ forgeAttachFigmaFrames: {
1181
+ errorMessage: string;
1182
+ errorReason: string;
1183
+ enabled: boolean;
1184
+ };
1167
1185
  forgeActiveProjectContexts: {
1168
1186
  errorMessage: string;
1169
1187
  errorReason: string;
@@ -1342,6 +1360,11 @@ declare const FeaturesSummary: z$1.ZodObject<{
1342
1360
  errorReason: string;
1343
1361
  enabled: boolean;
1344
1362
  };
1363
+ forgeAttachFigmaFrames: {
1364
+ errorMessage: string;
1365
+ errorReason: string;
1366
+ enabled: boolean;
1367
+ };
1345
1368
  forgeActiveProjectContexts: {
1346
1369
  errorMessage: string;
1347
1370
  errorReason: string;
@@ -84118,6 +84141,7 @@ declare const FigmaExporterProcessedStylesSchema: z$1.ZodObject<{
84118
84141
  type ProcessedStyles = z$1.infer<typeof FigmaExporterProcessedStylesSchema>;
84119
84142
  declare const frameNodeObjectSchema: z$1.ZodObject<{
84120
84143
  id: z$1.ZodString;
84144
+ name: z$1.ZodString;
84121
84145
  parentId: z$1.ZodNullable<z$1.ZodString>;
84122
84146
  styles: z$1.ZodObject<{
84123
84147
  display: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodLiteral<"block">, z$1.ZodLiteral<"inline-block">, z$1.ZodLiteral<"inline">, z$1.ZodLiteral<"flex">, z$1.ZodLiteral<"grid">, z$1.ZodLiteral<"none">]>>>;
@@ -84461,6 +84485,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84461
84485
  }, "strip", z$1.ZodTypeAny, {
84462
84486
  type: "FRAME";
84463
84487
  id: string;
84488
+ name: string;
84464
84489
  styles: {
84465
84490
  filter?: string | undefined;
84466
84491
  fill?: string | undefined;
@@ -84578,6 +84603,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84578
84603
  }, {
84579
84604
  type: "FRAME";
84580
84605
  id: string;
84606
+ name: string;
84581
84607
  styles: {
84582
84608
  filter?: string | undefined;
84583
84609
  fill?: string | undefined;
@@ -84695,6 +84721,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84695
84721
  }>;
84696
84722
  declare const textNodeObjectSchema: z$1.ZodObject<{
84697
84723
  id: z$1.ZodString;
84724
+ name: z$1.ZodString;
84698
84725
  parentId: z$1.ZodNullable<z$1.ZodString>;
84699
84726
  styles: z$1.ZodObject<{
84700
84727
  display: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodLiteral<"block">, z$1.ZodLiteral<"inline-block">, z$1.ZodLiteral<"inline">, z$1.ZodLiteral<"flex">, z$1.ZodLiteral<"grid">, z$1.ZodLiteral<"none">]>>>;
@@ -85039,6 +85066,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85039
85066
  }, "strip", z$1.ZodTypeAny, {
85040
85067
  type: "TEXT";
85041
85068
  id: string;
85069
+ name: string;
85042
85070
  styles: {
85043
85071
  filter?: string | undefined;
85044
85072
  fill?: string | undefined;
@@ -85157,6 +85185,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85157
85185
  }, {
85158
85186
  type: "TEXT";
85159
85187
  id: string;
85188
+ name: string;
85160
85189
  styles: {
85161
85190
  filter?: string | undefined;
85162
85191
  fill?: string | undefined;
@@ -85275,6 +85304,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85275
85304
  }>;
85276
85305
  declare const svgNodeObjectSchema: z$1.ZodObject<{
85277
85306
  id: z$1.ZodString;
85307
+ name: z$1.ZodString;
85278
85308
  parentId: z$1.ZodNullable<z$1.ZodString>;
85279
85309
  styles: z$1.ZodObject<{
85280
85310
  display: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodLiteral<"block">, z$1.ZodLiteral<"inline-block">, z$1.ZodLiteral<"inline">, z$1.ZodLiteral<"flex">, z$1.ZodLiteral<"grid">, z$1.ZodLiteral<"none">]>>>;
@@ -85619,6 +85649,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85619
85649
  }, "strip", z$1.ZodTypeAny, {
85620
85650
  type: "SVG";
85621
85651
  id: string;
85652
+ name: string;
85622
85653
  styles: {
85623
85654
  filter?: string | undefined;
85624
85655
  fill?: string | undefined;
@@ -85737,6 +85768,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85737
85768
  }, {
85738
85769
  type: "SVG";
85739
85770
  id: string;
85771
+ name: string;
85740
85772
  styles: {
85741
85773
  filter?: string | undefined;
85742
85774
  fill?: string | undefined;
@@ -85855,6 +85887,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85855
85887
  }>;
85856
85888
  declare const componentInstanceObjectSchema: z$1.ZodObject<{
85857
85889
  id: z$1.ZodString;
85890
+ name: z$1.ZodString;
85858
85891
  parentId: z$1.ZodNullable<z$1.ZodString>;
85859
85892
  styles: z$1.ZodObject<{
85860
85893
  display: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodLiteral<"block">, z$1.ZodLiteral<"inline-block">, z$1.ZodLiteral<"inline">, z$1.ZodLiteral<"flex">, z$1.ZodLiteral<"grid">, z$1.ZodLiteral<"none">]>>>;
@@ -86203,6 +86236,7 @@ declare const componentInstanceObjectSchema: z$1.ZodObject<{
86203
86236
  }, "strip", z$1.ZodTypeAny, {
86204
86237
  type: "COMPONENT_INSTANCE";
86205
86238
  id: string;
86239
+ name: string;
86206
86240
  styles: {
86207
86241
  filter?: string | undefined;
86208
86242
  fill?: string | undefined;
@@ -86325,6 +86359,7 @@ declare const componentInstanceObjectSchema: z$1.ZodObject<{
86325
86359
  }, {
86326
86360
  type: "COMPONENT_INSTANCE";
86327
86361
  id: string;
86362
+ name: string;
86328
86363
  styles: {
86329
86364
  filter?: string | undefined;
86330
86365
  fill?: string | undefined;
@@ -86456,6 +86491,7 @@ type ComponentInstanceNode = z$1.infer<typeof componentInstanceObjectSchema> & {
86456
86491
  type AnyDesignNode = FrameNode | TextNode | SvgNode | ComponentInstanceNode;
86457
86492
  declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameNode, z$1.ZodTypeDef, FrameNode>, z$1.ZodObject<{
86458
86493
  id: z$1.ZodString;
86494
+ name: z$1.ZodString;
86459
86495
  parentId: z$1.ZodNullable<z$1.ZodString>;
86460
86496
  styles: z$1.ZodObject<{
86461
86497
  display: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodLiteral<"block">, z$1.ZodLiteral<"inline-block">, z$1.ZodLiteral<"inline">, z$1.ZodLiteral<"flex">, z$1.ZodLiteral<"grid">, z$1.ZodLiteral<"none">]>>>;
@@ -86800,6 +86836,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
86800
86836
  }, "strip", z$1.ZodTypeAny, {
86801
86837
  type: "TEXT";
86802
86838
  id: string;
86839
+ name: string;
86803
86840
  styles: {
86804
86841
  filter?: string | undefined;
86805
86842
  fill?: string | undefined;
@@ -86918,6 +86955,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
86918
86955
  }, {
86919
86956
  type: "TEXT";
86920
86957
  id: string;
86958
+ name: string;
86921
86959
  styles: {
86922
86960
  filter?: string | undefined;
86923
86961
  fill?: string | undefined;
@@ -87036,6 +87074,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
87036
87074
  }>, z$1.ZodType<{
87037
87075
  type: "SVG";
87038
87076
  id: string;
87077
+ name: string;
87039
87078
  styles: {
87040
87079
  filter?: string | undefined;
87041
87080
  fill?: string | undefined;
@@ -87154,6 +87193,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
87154
87193
  }, z$1.ZodTypeDef, {
87155
87194
  type: "SVG";
87156
87195
  id: string;
87196
+ name: string;
87157
87197
  styles: {
87158
87198
  filter?: string | undefined;
87159
87199
  fill?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -946,6 +946,19 @@ declare const FeaturesSummary: z$1.ZodObject<{
946
946
  errorReason: string;
947
947
  enabled: boolean;
948
948
  }>;
949
+ forgeAttachFigmaFrames: z$1.ZodObject<{
950
+ enabled: z$1.ZodBoolean;
951
+ errorMessage: z$1.ZodString;
952
+ errorReason: z$1.ZodString;
953
+ }, "strip", z$1.ZodTypeAny, {
954
+ errorMessage: string;
955
+ errorReason: string;
956
+ enabled: boolean;
957
+ }, {
958
+ errorMessage: string;
959
+ errorReason: string;
960
+ enabled: boolean;
961
+ }>;
949
962
  forgeActiveProjectContexts: z$1.ZodObject<{
950
963
  max: z$1.ZodOptional<z$1.ZodNumber>;
951
964
  errorMessage: z$1.ZodString;
@@ -1164,6 +1177,11 @@ declare const FeaturesSummary: z$1.ZodObject<{
1164
1177
  errorReason: string;
1165
1178
  enabled: boolean;
1166
1179
  };
1180
+ forgeAttachFigmaFrames: {
1181
+ errorMessage: string;
1182
+ errorReason: string;
1183
+ enabled: boolean;
1184
+ };
1167
1185
  forgeActiveProjectContexts: {
1168
1186
  errorMessage: string;
1169
1187
  errorReason: string;
@@ -1342,6 +1360,11 @@ declare const FeaturesSummary: z$1.ZodObject<{
1342
1360
  errorReason: string;
1343
1361
  enabled: boolean;
1344
1362
  };
1363
+ forgeAttachFigmaFrames: {
1364
+ errorMessage: string;
1365
+ errorReason: string;
1366
+ enabled: boolean;
1367
+ };
1345
1368
  forgeActiveProjectContexts: {
1346
1369
  errorMessage: string;
1347
1370
  errorReason: string;
@@ -84118,6 +84141,7 @@ declare const FigmaExporterProcessedStylesSchema: z$1.ZodObject<{
84118
84141
  type ProcessedStyles = z$1.infer<typeof FigmaExporterProcessedStylesSchema>;
84119
84142
  declare const frameNodeObjectSchema: z$1.ZodObject<{
84120
84143
  id: z$1.ZodString;
84144
+ name: z$1.ZodString;
84121
84145
  parentId: z$1.ZodNullable<z$1.ZodString>;
84122
84146
  styles: z$1.ZodObject<{
84123
84147
  display: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodLiteral<"block">, z$1.ZodLiteral<"inline-block">, z$1.ZodLiteral<"inline">, z$1.ZodLiteral<"flex">, z$1.ZodLiteral<"grid">, z$1.ZodLiteral<"none">]>>>;
@@ -84461,6 +84485,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84461
84485
  }, "strip", z$1.ZodTypeAny, {
84462
84486
  type: "FRAME";
84463
84487
  id: string;
84488
+ name: string;
84464
84489
  styles: {
84465
84490
  filter?: string | undefined;
84466
84491
  fill?: string | undefined;
@@ -84578,6 +84603,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84578
84603
  }, {
84579
84604
  type: "FRAME";
84580
84605
  id: string;
84606
+ name: string;
84581
84607
  styles: {
84582
84608
  filter?: string | undefined;
84583
84609
  fill?: string | undefined;
@@ -84695,6 +84721,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84695
84721
  }>;
84696
84722
  declare const textNodeObjectSchema: z$1.ZodObject<{
84697
84723
  id: z$1.ZodString;
84724
+ name: z$1.ZodString;
84698
84725
  parentId: z$1.ZodNullable<z$1.ZodString>;
84699
84726
  styles: z$1.ZodObject<{
84700
84727
  display: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodLiteral<"block">, z$1.ZodLiteral<"inline-block">, z$1.ZodLiteral<"inline">, z$1.ZodLiteral<"flex">, z$1.ZodLiteral<"grid">, z$1.ZodLiteral<"none">]>>>;
@@ -85039,6 +85066,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85039
85066
  }, "strip", z$1.ZodTypeAny, {
85040
85067
  type: "TEXT";
85041
85068
  id: string;
85069
+ name: string;
85042
85070
  styles: {
85043
85071
  filter?: string | undefined;
85044
85072
  fill?: string | undefined;
@@ -85157,6 +85185,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85157
85185
  }, {
85158
85186
  type: "TEXT";
85159
85187
  id: string;
85188
+ name: string;
85160
85189
  styles: {
85161
85190
  filter?: string | undefined;
85162
85191
  fill?: string | undefined;
@@ -85275,6 +85304,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85275
85304
  }>;
85276
85305
  declare const svgNodeObjectSchema: z$1.ZodObject<{
85277
85306
  id: z$1.ZodString;
85307
+ name: z$1.ZodString;
85278
85308
  parentId: z$1.ZodNullable<z$1.ZodString>;
85279
85309
  styles: z$1.ZodObject<{
85280
85310
  display: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodLiteral<"block">, z$1.ZodLiteral<"inline-block">, z$1.ZodLiteral<"inline">, z$1.ZodLiteral<"flex">, z$1.ZodLiteral<"grid">, z$1.ZodLiteral<"none">]>>>;
@@ -85619,6 +85649,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85619
85649
  }, "strip", z$1.ZodTypeAny, {
85620
85650
  type: "SVG";
85621
85651
  id: string;
85652
+ name: string;
85622
85653
  styles: {
85623
85654
  filter?: string | undefined;
85624
85655
  fill?: string | undefined;
@@ -85737,6 +85768,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85737
85768
  }, {
85738
85769
  type: "SVG";
85739
85770
  id: string;
85771
+ name: string;
85740
85772
  styles: {
85741
85773
  filter?: string | undefined;
85742
85774
  fill?: string | undefined;
@@ -85855,6 +85887,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85855
85887
  }>;
85856
85888
  declare const componentInstanceObjectSchema: z$1.ZodObject<{
85857
85889
  id: z$1.ZodString;
85890
+ name: z$1.ZodString;
85858
85891
  parentId: z$1.ZodNullable<z$1.ZodString>;
85859
85892
  styles: z$1.ZodObject<{
85860
85893
  display: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodLiteral<"block">, z$1.ZodLiteral<"inline-block">, z$1.ZodLiteral<"inline">, z$1.ZodLiteral<"flex">, z$1.ZodLiteral<"grid">, z$1.ZodLiteral<"none">]>>>;
@@ -86203,6 +86236,7 @@ declare const componentInstanceObjectSchema: z$1.ZodObject<{
86203
86236
  }, "strip", z$1.ZodTypeAny, {
86204
86237
  type: "COMPONENT_INSTANCE";
86205
86238
  id: string;
86239
+ name: string;
86206
86240
  styles: {
86207
86241
  filter?: string | undefined;
86208
86242
  fill?: string | undefined;
@@ -86325,6 +86359,7 @@ declare const componentInstanceObjectSchema: z$1.ZodObject<{
86325
86359
  }, {
86326
86360
  type: "COMPONENT_INSTANCE";
86327
86361
  id: string;
86362
+ name: string;
86328
86363
  styles: {
86329
86364
  filter?: string | undefined;
86330
86365
  fill?: string | undefined;
@@ -86456,6 +86491,7 @@ type ComponentInstanceNode = z$1.infer<typeof componentInstanceObjectSchema> & {
86456
86491
  type AnyDesignNode = FrameNode | TextNode | SvgNode | ComponentInstanceNode;
86457
86492
  declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameNode, z$1.ZodTypeDef, FrameNode>, z$1.ZodObject<{
86458
86493
  id: z$1.ZodString;
86494
+ name: z$1.ZodString;
86459
86495
  parentId: z$1.ZodNullable<z$1.ZodString>;
86460
86496
  styles: z$1.ZodObject<{
86461
86497
  display: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodLiteral<"block">, z$1.ZodLiteral<"inline-block">, z$1.ZodLiteral<"inline">, z$1.ZodLiteral<"flex">, z$1.ZodLiteral<"grid">, z$1.ZodLiteral<"none">]>>>;
@@ -86800,6 +86836,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
86800
86836
  }, "strip", z$1.ZodTypeAny, {
86801
86837
  type: "TEXT";
86802
86838
  id: string;
86839
+ name: string;
86803
86840
  styles: {
86804
86841
  filter?: string | undefined;
86805
86842
  fill?: string | undefined;
@@ -86918,6 +86955,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
86918
86955
  }, {
86919
86956
  type: "TEXT";
86920
86957
  id: string;
86958
+ name: string;
86921
86959
  styles: {
86922
86960
  filter?: string | undefined;
86923
86961
  fill?: string | undefined;
@@ -87036,6 +87074,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
87036
87074
  }>, z$1.ZodType<{
87037
87075
  type: "SVG";
87038
87076
  id: string;
87077
+ name: string;
87039
87078
  styles: {
87040
87079
  filter?: string | undefined;
87041
87080
  fill?: string | undefined;
@@ -87154,6 +87193,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
87154
87193
  }, z$1.ZodTypeDef, {
87155
87194
  type: "SVG";
87156
87195
  id: string;
87196
+ name: string;
87157
87197
  styles: {
87158
87198
  filter?: string | undefined;
87159
87199
  fill?: string | undefined;
package/dist/index.js CHANGED
@@ -161,6 +161,7 @@ var FeaturesSummary = _zod.z.object({
161
161
  forgeActiveFeaturesPerProject: featureLimitedSchema,
162
162
  forgeActiveDocumentsPerProject: featureLimitedSchema,
163
163
  forgePrivateProjects: featureToggleSchema,
164
+ forgeAttachFigmaFrames: featureToggleSchema,
164
165
  forgeActiveProjectContexts: featureLimitedSchema,
165
166
  forgeFeatureWorkspacePublishing: featureToggleSchema,
166
167
  forgeFeatureHideSupernovaUI: featureToggleSchema,
@@ -4880,6 +4881,7 @@ var FigmaExporterDesignNodeTypeSchema = _zod.z.union([
4880
4881
  ]);
4881
4882
  var baseDesignNodeObjectSchema = _zod.z.object({
4882
4883
  id: _zod.z.string(),
4884
+ name: _zod.z.string(),
4883
4885
  type: FigmaExporterDesignNodeTypeSchema,
4884
4886
  parentId: _zod.z.string().nullable(),
4885
4887
  styles: FigmaExporterProcessedStylesSchema.partial()