@supernova-studio/model 1.4.5 → 1.4.7
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 +1502 -336
- package/dist/index.d.ts +1502 -336
- package/dist/index.js +14 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -358,7 +358,7 @@ var PrimitiveValue = z17.number().or(z17.boolean()).or(z17.string());
|
|
|
358
358
|
var ArrayValue = z17.array(z17.string());
|
|
359
359
|
var ObjectValue = z17.record(z17.string());
|
|
360
360
|
var ExporterPropertyValue = PrimitiveValue.or(ArrayValue).or(ObjectValue);
|
|
361
|
-
var ExporterPropertyType = z17.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
|
|
361
|
+
var ExporterPropertyType = z17.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
|
|
362
362
|
var PropertyDefinitionBase = z17.object({
|
|
363
363
|
key: z17.string(),
|
|
364
364
|
title: z17.string(),
|
|
@@ -381,7 +381,8 @@ var ExporterPropertyDefinitionBoolean = PropertyDefinitionBase.extend({
|
|
|
381
381
|
});
|
|
382
382
|
var ExporterPropertyDefinitionString = PropertyDefinitionBase.extend({
|
|
383
383
|
type: z17.literal(ExporterPropertyType.Enum.String),
|
|
384
|
-
default: z17.string()
|
|
384
|
+
default: z17.string(),
|
|
385
|
+
isMultiline: z17.boolean().optional()
|
|
385
386
|
});
|
|
386
387
|
var ExporterPropertyDefinitionNumber = PropertyDefinitionBase.extend({
|
|
387
388
|
type: z17.literal(ExporterPropertyType.Enum.Number),
|
|
@@ -402,13 +403,19 @@ var ExporterPropertyDefinitionObject = PropertyDefinitionBase.extend({
|
|
|
402
403
|
type: z17.string()
|
|
403
404
|
}).optional()
|
|
404
405
|
});
|
|
406
|
+
var ExporterPropertyDefinitionCode = PropertyDefinitionBase.extend({
|
|
407
|
+
type: z17.literal(ExporterPropertyType.Enum.Code),
|
|
408
|
+
default: z17.string(),
|
|
409
|
+
language: z17.string()
|
|
410
|
+
});
|
|
405
411
|
var ExporterPropertyDefinition = z17.discriminatedUnion("type", [
|
|
406
412
|
ExporterPropertyDefinitionEnum,
|
|
407
413
|
ExporterPropertyDefinitionBoolean,
|
|
408
414
|
ExporterPropertyDefinitionString,
|
|
409
415
|
ExporterPropertyDefinitionNumber,
|
|
410
416
|
ExporterPropertyDefinitionArray,
|
|
411
|
-
ExporterPropertyDefinitionObject
|
|
417
|
+
ExporterPropertyDefinitionObject,
|
|
418
|
+
ExporterPropertyDefinitionCode
|
|
412
419
|
]);
|
|
413
420
|
var ExporterPropertyValueMap = z17.record(ExporterPropertyValue);
|
|
414
421
|
|
|
@@ -2068,7 +2075,8 @@ var PageBlockAssetBlockConfig = z42.object({
|
|
|
2068
2075
|
});
|
|
2069
2076
|
var PageBlockSelectedFigmaComponent = z42.object({
|
|
2070
2077
|
figmaComponentId: z42.string(),
|
|
2071
|
-
selectedComponentProperties: z42.string().array()
|
|
2078
|
+
selectedComponentProperties: z42.string().array(),
|
|
2079
|
+
selectedComponentVariants: z42.record(z42.string().array()).optional()
|
|
2072
2080
|
});
|
|
2073
2081
|
var PageBlockTextSpanAttributeType = z42.enum(["Bold", "Italic", "Link", "Strikethrough", "Code", "Comment"]);
|
|
2074
2082
|
var PageBlockTextSpanAttribute = z42.object({
|
|
@@ -5903,6 +5911,7 @@ export {
|
|
|
5903
5911
|
ExporterPropertyDefinition,
|
|
5904
5912
|
ExporterPropertyDefinitionArray,
|
|
5905
5913
|
ExporterPropertyDefinitionBoolean,
|
|
5914
|
+
ExporterPropertyDefinitionCode,
|
|
5906
5915
|
ExporterPropertyDefinitionEnum,
|
|
5907
5916
|
ExporterPropertyDefinitionEnumOption,
|
|
5908
5917
|
ExporterPropertyDefinitionNumber,
|