@supernova-studio/client 1.3.8 → 1.4.0

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
@@ -132,6 +132,7 @@ var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequire
132
132
 
133
133
 
134
134
 
135
+
135
136
 
136
137
 
137
138
  var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
@@ -1571,6 +1572,11 @@ var RESERVED_SLUGS = [
1571
1572
  ];
1572
1573
  var RESERVED_SLUGS_SET = new Set(RESERVED_SLUGS);
1573
1574
  var slugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
1575
+ var GitInteropPulsarError = _zod.z.object({
1576
+ errorType: _zod.z.string(),
1577
+ errorMessage: _zod.z.string(),
1578
+ trace: _zod.z.array(_zod.z.string())
1579
+ });
1574
1580
  var ElementPropertyTypeSchema = _zod.z.enum(["Text", "Number", "Boolean", "Select", "Generic", "Link", "URL"]);
1575
1581
  var ElementPropertyTargetType = _zod.z.enum(["Token", "Component", "DocumentationPage"]);
1576
1582
  var ElementPropertyLinkType = _zod.z.enum(["FigmaComponent", "DocumentationPage"]);
@@ -3360,7 +3366,8 @@ var FeatureFlagsKeepAliases = _zod.z.object({
3360
3366
  isTypographyPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
3361
3367
  isGradientPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
3362
3368
  isShadowPropsKeepAliasesEnabled: _zod.z.boolean().default(false),
3363
- isNonCompatibleTypeChangesEnabled: _zod.z.boolean().default(false)
3369
+ isNonCompatibleTypeChangesEnabled: _zod.z.boolean().default(false),
3370
+ isTypographyUseFontStyleEnabled: _zod.z.boolean().default(false)
3364
3371
  });
3365
3372
  var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
3366
3373
  sourcesWithMissingAccess: _zod.z.array(_zod.z.string()).default([]),
@@ -4776,7 +4783,8 @@ var FlaggedFeature = _zod.z.enum([
4776
4783
  "TypographyPropsKeepAliases",
4777
4784
  "GradientPropsKeepAliases",
4778
4785
  "ShadowPropsKeepAliases",
4779
- "NonCompatibleTypeChanges"
4786
+ "NonCompatibleTypeChanges",
4787
+ "TypographyUseFontStyle"
4780
4788
  ]);
4781
4789
  var FeatureFlagMap = _zod.z.record(FlaggedFeature, _zod.z.boolean());
4782
4790
  var FeatureFlag = _zod.z.object({
@@ -7699,6 +7707,16 @@ var ExportersEndpoint = class {
7699
7707
  }
7700
7708
  );
7701
7709
  }
7710
+ pullChanges(workspaceId, exporterId) {
7711
+ return this.requestExecutor.json(
7712
+ `/codegen/workspaces/${workspaceId}/exporters/${exporterId}`,
7713
+ DTOExporterResponse,
7714
+ {
7715
+ body: {},
7716
+ method: "PUT"
7717
+ }
7718
+ );
7719
+ }
7702
7720
  };
7703
7721
 
7704
7722
  // src/api/endpoints/codegen/jobs.ts