@supernova-studio/model 1.6.8 → 1.7.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.d.mts +67 -6
- package/dist/index.d.ts +67 -6
- package/dist/index.js +21 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -816,7 +816,8 @@ var SupernovaException = class _SupernovaException extends Error {
|
|
|
816
816
|
// Properties
|
|
817
817
|
//
|
|
818
818
|
constructor(type, message) {
|
|
819
|
-
|
|
819
|
+
const fullMessage = message || `${type}: something went wrong`;
|
|
820
|
+
super(fullMessage);
|
|
820
821
|
this.type = type;
|
|
821
822
|
}
|
|
822
823
|
static wrongFormat(message) {
|
|
@@ -5644,6 +5645,14 @@ var ExportJobDocumentationContext = z177.object({
|
|
|
5644
5645
|
versionSlug: z177.string(),
|
|
5645
5646
|
environment: PublishedDocEnvironment
|
|
5646
5647
|
});
|
|
5648
|
+
var ExportJobDebugContext = z177.object({
|
|
5649
|
+
debugMode: z177.boolean().optional(),
|
|
5650
|
+
concurrency: z177.number().optional(),
|
|
5651
|
+
preloadData: z177.string().optional(),
|
|
5652
|
+
concurrencyMode: z177.string().optional(),
|
|
5653
|
+
cacheSdk: z177.boolean().optional(),
|
|
5654
|
+
logSdkNetwork: z177.boolean().optional()
|
|
5655
|
+
});
|
|
5647
5656
|
var ExportJobContext = z177.object({
|
|
5648
5657
|
apiUrl: z177.string(),
|
|
5649
5658
|
accessToken: z177.string(),
|
|
@@ -5656,7 +5665,8 @@ var ExportJobContext = z177.object({
|
|
|
5656
5665
|
themePersistentIds: z177.string().array().optional(),
|
|
5657
5666
|
previewMode: z177.boolean().optional(),
|
|
5658
5667
|
exporterName: z177.string(),
|
|
5659
|
-
documentation: ExportJobDocumentationContext.optional()
|
|
5668
|
+
documentation: ExportJobDocumentationContext.optional(),
|
|
5669
|
+
debug: ExportJobDebugContext.optional()
|
|
5660
5670
|
});
|
|
5661
5671
|
var ExportJobExporterConfiguration = z177.object({
|
|
5662
5672
|
exporterPackageUrl: z177.string(),
|
|
@@ -5785,7 +5795,13 @@ var FlaggedFeature = z183.enum([
|
|
|
5785
5795
|
"ShadowPropsKeepAliases",
|
|
5786
5796
|
"NonCompatibleTypeChanges",
|
|
5787
5797
|
"TypographyUseFontStyle",
|
|
5788
|
-
"FigmaImporterV3"
|
|
5798
|
+
"FigmaImporterV3",
|
|
5799
|
+
"PulsarDebugMode",
|
|
5800
|
+
"PulsarLogSdkNetwork",
|
|
5801
|
+
"PulsarCacheSdk",
|
|
5802
|
+
"PulsarPreloadData",
|
|
5803
|
+
"PulsarConcurrencyMode",
|
|
5804
|
+
"PulsarConcurrency"
|
|
5789
5805
|
]);
|
|
5790
5806
|
var FeatureFlagMap = z183.record(FlaggedFeature, z183.boolean());
|
|
5791
5807
|
var FeatureFlag = z183.object({
|
|
@@ -6125,6 +6141,7 @@ export {
|
|
|
6125
6141
|
ExportDestinationsMapUpdate,
|
|
6126
6142
|
ExportJob,
|
|
6127
6143
|
ExportJobContext,
|
|
6144
|
+
ExportJobDebugContext,
|
|
6128
6145
|
ExportJobDestinationType,
|
|
6129
6146
|
ExportJobDocsDestinationResult,
|
|
6130
6147
|
ExportJobDocumentationChanges,
|