@supernova-studio/client 0.46.11 → 0.46.12

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.js CHANGED
@@ -541,7 +541,8 @@ var DataSourceFigmaScope = _zod.z.object({
541
541
  components: _zod.z.boolean(),
542
542
  documentationFrames: _zod.z.boolean(),
543
543
  tokens: _zod.z.boolean(),
544
- themePersistentId: _zod.z.string().optional()
544
+ themePersistentId: _zod.z.string().optional(),
545
+ isUnpublishedImportFallbackEnabled: _zod.z.boolean()
545
546
  });
546
547
  var DataSourceFigmaImportMetadata = _zod.z.object({
547
548
  fileData: DataSourceFigmaFileData.optional(),
@@ -1803,6 +1804,29 @@ var FigmaFileDownloadScope = _zod.z.object({
1803
1804
  var FigmaFileAccessData = _zod.z.object({
1804
1805
  accessToken: _zod.z.string()
1805
1806
  });
1807
+ var ImportWarningType = _zod.z.enum([
1808
+ "NoVersionFound",
1809
+ "UnsupportedFill",
1810
+ "UnsupportedStroke",
1811
+ "UnsupportedEffect",
1812
+ "NoPublishedElements",
1813
+ "NoPublishedStyles",
1814
+ "NoPublishedComponents",
1815
+ "NoPublishedAssets",
1816
+ "StyleNotApplied",
1817
+ "ComponentHasNoThumbnail",
1818
+ "DuplicateImportedStyleId",
1819
+ "DuplicateImportedStylePath",
1820
+ "NoUnpublishedStyles"
1821
+ ]);
1822
+ var ImportWarning = _zod.z.object({
1823
+ warningType: ImportWarningType,
1824
+ componentId: _zod.z.string().optional(),
1825
+ componentName: _zod.z.string().optional(),
1826
+ styleId: _zod.z.string().optional(),
1827
+ styleName: _zod.z.string().optional(),
1828
+ unsupportedStyleValueType: _zod.z.string().optional()
1829
+ });
1806
1830
  var ImportFunctionInput = _zod.z.object({
1807
1831
  importJobId: _zod.z.string(),
1808
1832
  importContextId: _zod.z.string(),
@@ -1826,7 +1850,12 @@ var FigmaImportBaseContext = _zod.z.object({
1826
1850
  *
1827
1851
  * sourceId: source data
1828
1852
  */
1829
- importedSourceDataBySourceId: _zod.z.record(ImportedFigmaSourceData)
1853
+ importedSourceDataBySourceId: _zod.z.record(ImportedFigmaSourceData),
1854
+ /**
1855
+ * Array of warnings that will be written into the import result summary at the end
1856
+ * of import job execution and displayed by the client.
1857
+ */
1858
+ importWarnings: _zod.z.record(ImportWarning.array()).default({})
1830
1859
  });
1831
1860
  var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
1832
1861
  sourcesWithMissingAccess: _zod.z.array(_zod.z.string()).default([]),
@@ -2001,28 +2030,6 @@ var ImportModelCollection = _zod.z.object({
2001
2030
  themes: _zod.z.array(ThemeImportModel).default([]),
2002
2031
  figmaFileStructures: _zod.z.array(FigmaFileStructureImportModel)
2003
2032
  });
2004
- var ImportWarningType = _zod.z.enum([
2005
- "NoVersionFound",
2006
- "UnsupportedFill",
2007
- "UnsupportedStroke",
2008
- "UnsupportedEffect",
2009
- "NoPublishedElements",
2010
- "NoPublishedStyles",
2011
- "NoPublishedComponents",
2012
- "NoPublishedAssets",
2013
- "StyleNotApplied",
2014
- "ComponentHasNoThumbnail",
2015
- "DuplicateImportedStyleId",
2016
- "DuplicateImportedStylePath"
2017
- ]);
2018
- var ImportWarning = _zod.z.object({
2019
- warningType: ImportWarningType,
2020
- componentId: _zod.z.string().optional(),
2021
- componentName: _zod.z.string().optional(),
2022
- styleId: _zod.z.string().optional(),
2023
- styleName: _zod.z.string().optional(),
2024
- unsupportedStyleValueType: _zod.z.string().optional()
2025
- });
2026
2033
  var FileStructureStats = _zod.z.object({
2027
2034
  frames: zeroNumberByDefault2(),
2028
2035
  components: zeroNumberByDefault2(),