@supernova-studio/model 1.0.0-alpha.20 → 1.0.0-alpha.22

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
@@ -3717,7 +3717,7 @@ var ImportJob = Entity.extend({
3717
3717
  var ImportFunctionInput = z91.object({
3718
3718
  importJobId: z91.string(),
3719
3719
  importContextId: z91.string(),
3720
- designSystemId: z91.string().optional()
3720
+ designSystemId: z91.string()
3721
3721
  });
3722
3722
  var ImportedFigmaSourceData = z91.object({
3723
3723
  sourceId: z91.string(),
@@ -3918,11 +3918,7 @@ var DataSourceImportModel = z97.object({
3918
3918
 
3919
3919
  // src/dsm/import/figma-frames.ts
3920
3920
  import { z as z98 } from "zod";
3921
- var FigmaFileStructureNodeImportModelBase = FigmaFileStructureNodeBase.extend({
3922
- png: FigmaPngRenderImportModel,
3923
- svg: FigmaSvgRenderImportModel
3924
- });
3925
- var FigmaFileStructureNodeImportModel = FigmaFileStructureNodeImportModelBase.extend({
3921
+ var FigmaFileStructureNodeImportModel = FigmaFileStructureNodeBase.extend({
3926
3922
  children: z98.lazy(() => FigmaFileStructureNodeImportModel.array())
3927
3923
  });
3928
3924
  var FigmaFileStructureImportModelPart = z98.object({
@@ -4537,7 +4533,17 @@ import { z as z132 } from "zod";
4537
4533
  var UserOnboardingDepartment = z132.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
4538
4534
  var UserOnboardingJobLevel = z132.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
4539
4535
  var UserTheme = z132.object({
4540
- preset: z132.enum(["Custom", "Default", "HighContrast", "DefaultDark", "HighContrastDark", "SpaceBlue", "DarkGrey"]).optional(),
4536
+ preset: z132.enum([
4537
+ "Custom",
4538
+ "Default",
4539
+ "HighContrast",
4540
+ "DefaultDark",
4541
+ "HighContrastDark",
4542
+ "SpaceBlue",
4543
+ "DarkGrey",
4544
+ "SystemPreference",
4545
+ "Sepia"
4546
+ ]).optional(),
4541
4547
  backgroundColor: z132.string().optional(),
4542
4548
  accentColor: z132.string().optional(),
4543
4549
  contrast: z132.number().min(16).max(100).optional(),
@@ -4987,6 +4993,15 @@ var ExportDestinationsMap = z148.object({
4987
4993
  destinationGitlab: ExporterDestinationGitlab.optional(),
4988
4994
  destinationBitbucket: ExporterDestinationBitbucket.optional()
4989
4995
  });
4996
+ var ExportDestinationsMapUpdate = z148.object({
4997
+ webhookUrl: z148.string().nullish(),
4998
+ destinationSnDocs: ExporterDestinationDocs.nullish(),
4999
+ destinationS3: ExporterDestinationS3.nullish(),
5000
+ destinationGithub: ExporterDestinationGithub.nullish(),
5001
+ destinationAzure: ExporterDestinationAzure.nullish(),
5002
+ destinationGitlab: ExporterDestinationGitlab.nullish(),
5003
+ destinationBitbucket: ExporterDestinationBitbucket.nullish()
5004
+ });
4990
5005
 
4991
5006
  // src/export/pipeline.ts
4992
5007
  var PipelineEventType = z149.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
@@ -5088,9 +5103,7 @@ var RestoredDocumentationPage = z152.object({
5088
5103
  page: DocumentationPageV2,
5089
5104
  pageParent: ElementGroup,
5090
5105
  pageContent: DocumentationPageContentData,
5091
- contentHash: z152.string(),
5092
- snapshotId: z152.string(),
5093
- roomId: z152.string().optional()
5106
+ contentHash: z152.string()
5094
5107
  });
5095
5108
  var RestoredDocumentationGroup = z152.object({
5096
5109
  group: ElementGroup,
@@ -5818,6 +5831,7 @@ export {
5818
5831
  EventDataSourceImported,
5819
5832
  EventVersionReleased,
5820
5833
  ExportDestinationsMap,
5834
+ ExportDestinationsMapUpdate,
5821
5835
  ExportJob,
5822
5836
  ExportJobContext,
5823
5837
  ExportJobDestinationType,