@supernova-studio/client 1.71.1 → 1.71.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
@@ -125457,7 +125457,6 @@ declare const DTOFigmaExportNodeConfiguration: z.ZodObject<{
125457
125457
  type DTOFigmaExportNodeConfiguration = z.infer<typeof DTOFigmaExportNodeConfiguration>;
125458
125458
  declare const DTOFigmaExportNodePayload: z.ZodObject<{
125459
125459
  designSystemId: z.ZodString;
125460
- versionId: z.ZodOptional<z.ZodString>;
125461
125460
  figmaUrl: z.ZodString;
125462
125461
  configuration: z.ZodObject<{
125463
125462
  format: z.ZodEnum<["HTML", "JSON"]>;
@@ -125480,7 +125479,6 @@ declare const DTOFigmaExportNodePayload: z.ZodObject<{
125480
125479
  minifyOutput?: boolean | undefined;
125481
125480
  customFontUrls?: string[] | undefined;
125482
125481
  };
125483
- versionId?: string | undefined;
125484
125482
  }, {
125485
125483
  designSystemId: string;
125486
125484
  figmaUrl: string;
@@ -125489,7 +125487,6 @@ declare const DTOFigmaExportNodePayload: z.ZodObject<{
125489
125487
  minifyOutput?: boolean | undefined;
125490
125488
  customFontUrls?: string[] | undefined;
125491
125489
  };
125492
- versionId?: string | undefined;
125493
125490
  }>;
125494
125491
  type DTOFigmaExportNodePayload = z.infer<typeof DTOFigmaExportNodePayload>;
125495
125492
  declare const DTOFigmaExportNodeResponse: z.ZodObject<{
@@ -125551,6 +125548,7 @@ declare const DTOFigmaExportNodeResponse: z.ZodObject<{
125551
125548
  } | undefined;
125552
125549
  pendingUpload?: boolean | undefined;
125553
125550
  }>;
125551
+ sceneNodes: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
125554
125552
  }, "strip", z.ZodTypeAny, {
125555
125553
  file: {
125556
125554
  id: string;
@@ -125568,6 +125566,7 @@ declare const DTOFigmaExportNodeResponse: z.ZodObject<{
125568
125566
  } | undefined;
125569
125567
  pendingUpload?: boolean | undefined;
125570
125568
  };
125569
+ sceneNodes?: any[] | undefined;
125571
125570
  }, {
125572
125571
  file: {
125573
125572
  id: string;
@@ -125585,6 +125584,7 @@ declare const DTOFigmaExportNodeResponse: z.ZodObject<{
125585
125584
  } | undefined;
125586
125585
  pendingUpload?: boolean | undefined;
125587
125586
  };
125587
+ sceneNodes?: any[] | undefined;
125588
125588
  }>;
125589
125589
  type DTOFigmaExportNodeResponse = z.infer<typeof DTOFigmaExportNodeResponse>;
125590
125590
 
package/dist/index.d.ts CHANGED
@@ -125457,7 +125457,6 @@ declare const DTOFigmaExportNodeConfiguration: z.ZodObject<{
125457
125457
  type DTOFigmaExportNodeConfiguration = z.infer<typeof DTOFigmaExportNodeConfiguration>;
125458
125458
  declare const DTOFigmaExportNodePayload: z.ZodObject<{
125459
125459
  designSystemId: z.ZodString;
125460
- versionId: z.ZodOptional<z.ZodString>;
125461
125460
  figmaUrl: z.ZodString;
125462
125461
  configuration: z.ZodObject<{
125463
125462
  format: z.ZodEnum<["HTML", "JSON"]>;
@@ -125480,7 +125479,6 @@ declare const DTOFigmaExportNodePayload: z.ZodObject<{
125480
125479
  minifyOutput?: boolean | undefined;
125481
125480
  customFontUrls?: string[] | undefined;
125482
125481
  };
125483
- versionId?: string | undefined;
125484
125482
  }, {
125485
125483
  designSystemId: string;
125486
125484
  figmaUrl: string;
@@ -125489,7 +125487,6 @@ declare const DTOFigmaExportNodePayload: z.ZodObject<{
125489
125487
  minifyOutput?: boolean | undefined;
125490
125488
  customFontUrls?: string[] | undefined;
125491
125489
  };
125492
- versionId?: string | undefined;
125493
125490
  }>;
125494
125491
  type DTOFigmaExportNodePayload = z.infer<typeof DTOFigmaExportNodePayload>;
125495
125492
  declare const DTOFigmaExportNodeResponse: z.ZodObject<{
@@ -125551,6 +125548,7 @@ declare const DTOFigmaExportNodeResponse: z.ZodObject<{
125551
125548
  } | undefined;
125552
125549
  pendingUpload?: boolean | undefined;
125553
125550
  }>;
125551
+ sceneNodes: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
125554
125552
  }, "strip", z.ZodTypeAny, {
125555
125553
  file: {
125556
125554
  id: string;
@@ -125568,6 +125566,7 @@ declare const DTOFigmaExportNodeResponse: z.ZodObject<{
125568
125566
  } | undefined;
125569
125567
  pendingUpload?: boolean | undefined;
125570
125568
  };
125569
+ sceneNodes?: any[] | undefined;
125571
125570
  }, {
125572
125571
  file: {
125573
125572
  id: string;
@@ -125585,6 +125584,7 @@ declare const DTOFigmaExportNodeResponse: z.ZodObject<{
125585
125584
  } | undefined;
125586
125585
  pendingUpload?: boolean | undefined;
125587
125586
  };
125587
+ sceneNodes?: any[] | undefined;
125588
125588
  }>;
125589
125589
  type DTOFigmaExportNodeResponse = z.infer<typeof DTOFigmaExportNodeResponse>;
125590
125590
 
package/dist/index.js CHANGED
@@ -4359,7 +4359,6 @@ var svgNodeObjectSchema = baseDesignNodeObjectSchema.extend({
4359
4359
  });
4360
4360
  var componentInstanceObjectSchema = baseDesignNodeObjectSchema.extend({
4361
4361
  type: _zod.z.literal("COMPONENT_INSTANCE"),
4362
- supernovaId: _zod.z.string(),
4363
4362
  componentSetName: _zod.z.string(),
4364
4363
  componentSetDescription: _zod.z.string(),
4365
4364
  componentName: _zod.z.string(),
@@ -11216,12 +11215,13 @@ var DTOFigmaExportNodeConfiguration = _zod.z.object({
11216
11215
  });
11217
11216
  var DTOFigmaExportNodePayload = _zod.z.object({
11218
11217
  designSystemId: _zod.z.string(),
11219
- versionId: _zod.z.string().optional(),
11220
11218
  figmaUrl: _zod.z.string(),
11221
11219
  configuration: DTOFigmaExportNodeConfiguration
11222
11220
  });
11223
11221
  var DTOFigmaExportNodeResponse = _zod.z.object({
11224
- file: DTOFile
11222
+ file: DTOFile,
11223
+ // TODO (jovanblazek): Remove sceneNodes from response when done with development
11224
+ sceneNodes: _zod.z.array(_zod.z.any()).optional()
11225
11225
  });
11226
11226
 
11227
11227
  // src/api/dto/liveblocks/auth-response.ts