@supernova-studio/client 1.87.3 → 1.87.4

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
@@ -4580,6 +4580,7 @@ var FigmaExporterDesignNodeTypeSchema = z125.union([
4580
4580
  z125.literal("FRAME"),
4581
4581
  z125.literal("TEXT"),
4582
4582
  z125.literal("SVG"),
4583
+ z125.literal("IMAGE"),
4583
4584
  z125.literal("COMPONENT_INSTANCE")
4584
4585
  ]);
4585
4586
  var baseDesignNodeObjectSchema = z125.object({
@@ -4602,6 +4603,10 @@ var svgNodeObjectSchema = baseDesignNodeObjectSchema.extend({
4602
4603
  type: z125.literal("SVG"),
4603
4604
  svgString: z125.string()
4604
4605
  });
4606
+ var imageNodeObjectSchema = baseDesignNodeObjectSchema.extend({
4607
+ type: z125.literal("IMAGE"),
4608
+ src: z125.string()
4609
+ });
4605
4610
  var componentInstanceObjectSchema = baseDesignNodeObjectSchema.extend({
4606
4611
  type: z125.literal("COMPONENT_INSTANCE"),
4607
4612
  componentSetName: z125.string(),
@@ -4621,6 +4626,7 @@ var svgNodeSchema = z125.lazy(
4621
4626
  children: FigmaExporterAnyDesignNodeSchema.array()
4622
4627
  })
4623
4628
  );
4629
+ var imageNodeSchema = imageNodeObjectSchema;
4624
4630
  var componentInstanceNodeSchema = z125.lazy(
4625
4631
  () => componentInstanceObjectSchema.extend({
4626
4632
  children: FigmaExporterAnyDesignNodeSchema.array()
@@ -4630,6 +4636,7 @@ var FigmaExporterAnyDesignNodeSchema = z125.union([
4630
4636
  frameNodeSchema,
4631
4637
  textNodeSchema,
4632
4638
  svgNodeSchema,
4639
+ imageNodeSchema,
4633
4640
  componentInstanceNodeSchema
4634
4641
  ]);
4635
4642
 
@@ -6994,6 +7001,17 @@ function _documentationPageToDTOV2(page, pagePathMap, pageLiveblocksRoomIdMap) {
6994
7001
  };
6995
7002
  }
6996
7003
 
7004
+ // src/api/conversion/documentation/documentation-settings-to-dto.ts
7005
+ function documentationConfigurationToDto(configuration) {
7006
+ return {
7007
+ isPublic: configuration.isPublic,
7008
+ renderCodePackageJson: configuration.renderCodePackageJson,
7009
+ selectedBrandId: configuration.selectedBrandPersistentId,
7010
+ storybookEmbedErrorMessage: configuration.storybookEmbedErrorMessage,
7011
+ tabbed: configuration.isTabbedLayoutEnabled
7012
+ };
7013
+ }
7014
+
6997
7015
  // src/api/conversion/export/pipeline.ts
6998
7016
  function pipelineToDto(pipeline) {
6999
7017
  return {
@@ -21865,6 +21883,7 @@ export {
21865
21883
  documentationAnalyticsToHeatMapDto,
21866
21884
  documentationAnalyticsToPageComparisonDto,
21867
21885
  documentationAnalyticsToPageDto,
21886
+ documentationConfigurationToDto,
21868
21887
  documentationItemConfigurationToDTOV1,
21869
21888
  documentationItemConfigurationToDTOV2,
21870
21889
  documentationPageToDTOV2,