@supernova-studio/model 1.80.1 → 1.80.2

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
@@ -84118,6 +84118,7 @@ declare const FigmaExporterProcessedStylesSchema: z$1.ZodObject<{
84118
84118
  type ProcessedStyles = z$1.infer<typeof FigmaExporterProcessedStylesSchema>;
84119
84119
  declare const frameNodeObjectSchema: z$1.ZodObject<{
84120
84120
  id: z$1.ZodString;
84121
+ name: z$1.ZodString;
84121
84122
  parentId: z$1.ZodNullable<z$1.ZodString>;
84122
84123
  styles: z$1.ZodObject<{
84123
84124
  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 +84462,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84461
84462
  }, "strip", z$1.ZodTypeAny, {
84462
84463
  type: "FRAME";
84463
84464
  id: string;
84465
+ name: string;
84464
84466
  styles: {
84465
84467
  filter?: string | undefined;
84466
84468
  fill?: string | undefined;
@@ -84578,6 +84580,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84578
84580
  }, {
84579
84581
  type: "FRAME";
84580
84582
  id: string;
84583
+ name: string;
84581
84584
  styles: {
84582
84585
  filter?: string | undefined;
84583
84586
  fill?: string | undefined;
@@ -84695,6 +84698,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84695
84698
  }>;
84696
84699
  declare const textNodeObjectSchema: z$1.ZodObject<{
84697
84700
  id: z$1.ZodString;
84701
+ name: z$1.ZodString;
84698
84702
  parentId: z$1.ZodNullable<z$1.ZodString>;
84699
84703
  styles: z$1.ZodObject<{
84700
84704
  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 +85043,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85039
85043
  }, "strip", z$1.ZodTypeAny, {
85040
85044
  type: "TEXT";
85041
85045
  id: string;
85046
+ name: string;
85042
85047
  styles: {
85043
85048
  filter?: string | undefined;
85044
85049
  fill?: string | undefined;
@@ -85157,6 +85162,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85157
85162
  }, {
85158
85163
  type: "TEXT";
85159
85164
  id: string;
85165
+ name: string;
85160
85166
  styles: {
85161
85167
  filter?: string | undefined;
85162
85168
  fill?: string | undefined;
@@ -85275,6 +85281,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85275
85281
  }>;
85276
85282
  declare const svgNodeObjectSchema: z$1.ZodObject<{
85277
85283
  id: z$1.ZodString;
85284
+ name: z$1.ZodString;
85278
85285
  parentId: z$1.ZodNullable<z$1.ZodString>;
85279
85286
  styles: z$1.ZodObject<{
85280
85287
  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 +85626,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85619
85626
  }, "strip", z$1.ZodTypeAny, {
85620
85627
  type: "SVG";
85621
85628
  id: string;
85629
+ name: string;
85622
85630
  styles: {
85623
85631
  filter?: string | undefined;
85624
85632
  fill?: string | undefined;
@@ -85737,6 +85745,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85737
85745
  }, {
85738
85746
  type: "SVG";
85739
85747
  id: string;
85748
+ name: string;
85740
85749
  styles: {
85741
85750
  filter?: string | undefined;
85742
85751
  fill?: string | undefined;
@@ -85855,6 +85864,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85855
85864
  }>;
85856
85865
  declare const componentInstanceObjectSchema: z$1.ZodObject<{
85857
85866
  id: z$1.ZodString;
85867
+ name: z$1.ZodString;
85858
85868
  parentId: z$1.ZodNullable<z$1.ZodString>;
85859
85869
  styles: z$1.ZodObject<{
85860
85870
  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 +86213,7 @@ declare const componentInstanceObjectSchema: z$1.ZodObject<{
86203
86213
  }, "strip", z$1.ZodTypeAny, {
86204
86214
  type: "COMPONENT_INSTANCE";
86205
86215
  id: string;
86216
+ name: string;
86206
86217
  styles: {
86207
86218
  filter?: string | undefined;
86208
86219
  fill?: string | undefined;
@@ -86325,6 +86336,7 @@ declare const componentInstanceObjectSchema: z$1.ZodObject<{
86325
86336
  }, {
86326
86337
  type: "COMPONENT_INSTANCE";
86327
86338
  id: string;
86339
+ name: string;
86328
86340
  styles: {
86329
86341
  filter?: string | undefined;
86330
86342
  fill?: string | undefined;
@@ -86456,6 +86468,7 @@ type ComponentInstanceNode = z$1.infer<typeof componentInstanceObjectSchema> & {
86456
86468
  type AnyDesignNode = FrameNode | TextNode | SvgNode | ComponentInstanceNode;
86457
86469
  declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameNode, z$1.ZodTypeDef, FrameNode>, z$1.ZodObject<{
86458
86470
  id: z$1.ZodString;
86471
+ name: z$1.ZodString;
86459
86472
  parentId: z$1.ZodNullable<z$1.ZodString>;
86460
86473
  styles: z$1.ZodObject<{
86461
86474
  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 +86813,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
86800
86813
  }, "strip", z$1.ZodTypeAny, {
86801
86814
  type: "TEXT";
86802
86815
  id: string;
86816
+ name: string;
86803
86817
  styles: {
86804
86818
  filter?: string | undefined;
86805
86819
  fill?: string | undefined;
@@ -86918,6 +86932,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
86918
86932
  }, {
86919
86933
  type: "TEXT";
86920
86934
  id: string;
86935
+ name: string;
86921
86936
  styles: {
86922
86937
  filter?: string | undefined;
86923
86938
  fill?: string | undefined;
@@ -87036,6 +87051,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
87036
87051
  }>, z$1.ZodType<{
87037
87052
  type: "SVG";
87038
87053
  id: string;
87054
+ name: string;
87039
87055
  styles: {
87040
87056
  filter?: string | undefined;
87041
87057
  fill?: string | undefined;
@@ -87154,6 +87170,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
87154
87170
  }, z$1.ZodTypeDef, {
87155
87171
  type: "SVG";
87156
87172
  id: string;
87173
+ name: string;
87157
87174
  styles: {
87158
87175
  filter?: string | undefined;
87159
87176
  fill?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -84118,6 +84118,7 @@ declare const FigmaExporterProcessedStylesSchema: z$1.ZodObject<{
84118
84118
  type ProcessedStyles = z$1.infer<typeof FigmaExporterProcessedStylesSchema>;
84119
84119
  declare const frameNodeObjectSchema: z$1.ZodObject<{
84120
84120
  id: z$1.ZodString;
84121
+ name: z$1.ZodString;
84121
84122
  parentId: z$1.ZodNullable<z$1.ZodString>;
84122
84123
  styles: z$1.ZodObject<{
84123
84124
  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 +84462,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84461
84462
  }, "strip", z$1.ZodTypeAny, {
84462
84463
  type: "FRAME";
84463
84464
  id: string;
84465
+ name: string;
84464
84466
  styles: {
84465
84467
  filter?: string | undefined;
84466
84468
  fill?: string | undefined;
@@ -84578,6 +84580,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84578
84580
  }, {
84579
84581
  type: "FRAME";
84580
84582
  id: string;
84583
+ name: string;
84581
84584
  styles: {
84582
84585
  filter?: string | undefined;
84583
84586
  fill?: string | undefined;
@@ -84695,6 +84698,7 @@ declare const frameNodeObjectSchema: z$1.ZodObject<{
84695
84698
  }>;
84696
84699
  declare const textNodeObjectSchema: z$1.ZodObject<{
84697
84700
  id: z$1.ZodString;
84701
+ name: z$1.ZodString;
84698
84702
  parentId: z$1.ZodNullable<z$1.ZodString>;
84699
84703
  styles: z$1.ZodObject<{
84700
84704
  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 +85043,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85039
85043
  }, "strip", z$1.ZodTypeAny, {
85040
85044
  type: "TEXT";
85041
85045
  id: string;
85046
+ name: string;
85042
85047
  styles: {
85043
85048
  filter?: string | undefined;
85044
85049
  fill?: string | undefined;
@@ -85157,6 +85162,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85157
85162
  }, {
85158
85163
  type: "TEXT";
85159
85164
  id: string;
85165
+ name: string;
85160
85166
  styles: {
85161
85167
  filter?: string | undefined;
85162
85168
  fill?: string | undefined;
@@ -85275,6 +85281,7 @@ declare const textNodeObjectSchema: z$1.ZodObject<{
85275
85281
  }>;
85276
85282
  declare const svgNodeObjectSchema: z$1.ZodObject<{
85277
85283
  id: z$1.ZodString;
85284
+ name: z$1.ZodString;
85278
85285
  parentId: z$1.ZodNullable<z$1.ZodString>;
85279
85286
  styles: z$1.ZodObject<{
85280
85287
  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 +85626,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85619
85626
  }, "strip", z$1.ZodTypeAny, {
85620
85627
  type: "SVG";
85621
85628
  id: string;
85629
+ name: string;
85622
85630
  styles: {
85623
85631
  filter?: string | undefined;
85624
85632
  fill?: string | undefined;
@@ -85737,6 +85745,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85737
85745
  }, {
85738
85746
  type: "SVG";
85739
85747
  id: string;
85748
+ name: string;
85740
85749
  styles: {
85741
85750
  filter?: string | undefined;
85742
85751
  fill?: string | undefined;
@@ -85855,6 +85864,7 @@ declare const svgNodeObjectSchema: z$1.ZodObject<{
85855
85864
  }>;
85856
85865
  declare const componentInstanceObjectSchema: z$1.ZodObject<{
85857
85866
  id: z$1.ZodString;
85867
+ name: z$1.ZodString;
85858
85868
  parentId: z$1.ZodNullable<z$1.ZodString>;
85859
85869
  styles: z$1.ZodObject<{
85860
85870
  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 +86213,7 @@ declare const componentInstanceObjectSchema: z$1.ZodObject<{
86203
86213
  }, "strip", z$1.ZodTypeAny, {
86204
86214
  type: "COMPONENT_INSTANCE";
86205
86215
  id: string;
86216
+ name: string;
86206
86217
  styles: {
86207
86218
  filter?: string | undefined;
86208
86219
  fill?: string | undefined;
@@ -86325,6 +86336,7 @@ declare const componentInstanceObjectSchema: z$1.ZodObject<{
86325
86336
  }, {
86326
86337
  type: "COMPONENT_INSTANCE";
86327
86338
  id: string;
86339
+ name: string;
86328
86340
  styles: {
86329
86341
  filter?: string | undefined;
86330
86342
  fill?: string | undefined;
@@ -86456,6 +86468,7 @@ type ComponentInstanceNode = z$1.infer<typeof componentInstanceObjectSchema> & {
86456
86468
  type AnyDesignNode = FrameNode | TextNode | SvgNode | ComponentInstanceNode;
86457
86469
  declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameNode, z$1.ZodTypeDef, FrameNode>, z$1.ZodObject<{
86458
86470
  id: z$1.ZodString;
86471
+ name: z$1.ZodString;
86459
86472
  parentId: z$1.ZodNullable<z$1.ZodString>;
86460
86473
  styles: z$1.ZodObject<{
86461
86474
  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 +86813,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
86800
86813
  }, "strip", z$1.ZodTypeAny, {
86801
86814
  type: "TEXT";
86802
86815
  id: string;
86816
+ name: string;
86803
86817
  styles: {
86804
86818
  filter?: string | undefined;
86805
86819
  fill?: string | undefined;
@@ -86918,6 +86932,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
86918
86932
  }, {
86919
86933
  type: "TEXT";
86920
86934
  id: string;
86935
+ name: string;
86921
86936
  styles: {
86922
86937
  filter?: string | undefined;
86923
86938
  fill?: string | undefined;
@@ -87036,6 +87051,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
87036
87051
  }>, z$1.ZodType<{
87037
87052
  type: "SVG";
87038
87053
  id: string;
87054
+ name: string;
87039
87055
  styles: {
87040
87056
  filter?: string | undefined;
87041
87057
  fill?: string | undefined;
@@ -87154,6 +87170,7 @@ declare const FigmaExporterAnyDesignNodeSchema: z$1.ZodUnion<[z$1.ZodType<FrameN
87154
87170
  }, z$1.ZodTypeDef, {
87155
87171
  type: "SVG";
87156
87172
  id: string;
87173
+ name: string;
87157
87174
  styles: {
87158
87175
  filter?: string | undefined;
87159
87176
  fill?: string | undefined;
package/dist/index.js CHANGED
@@ -4880,6 +4880,7 @@ var FigmaExporterDesignNodeTypeSchema = _zod.z.union([
4880
4880
  ]);
4881
4881
  var baseDesignNodeObjectSchema = _zod.z.object({
4882
4882
  id: _zod.z.string(),
4883
+ name: _zod.z.string(),
4883
4884
  type: FigmaExporterDesignNodeTypeSchema,
4884
4885
  parentId: _zod.z.string().nullable(),
4885
4886
  styles: FigmaExporterProcessedStylesSchema.partial()