@supernova-studio/model 1.9.4 → 1.9.5
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 +826 -130
- package/dist/index.d.ts +826 -130
- package/dist/index.js +35 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +34 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2003,7 +2003,8 @@ var PageBlockTypeV1 = z45.enum([
|
|
|
2003
2003
|
"Guidelines",
|
|
2004
2004
|
"Guideline",
|
|
2005
2005
|
"FigmaComponents",
|
|
2006
|
-
"FigmaComponentPropsTable"
|
|
2006
|
+
"FigmaComponentPropsTable",
|
|
2007
|
+
"File"
|
|
2007
2008
|
]);
|
|
2008
2009
|
var PageBlockCodeLanguage = z45.enum([
|
|
2009
2010
|
"Angular",
|
|
@@ -2215,6 +2216,13 @@ var PageBlockGuideline = z45.object({
|
|
|
2215
2216
|
openLightbox: nullishToOptional(z45.boolean()),
|
|
2216
2217
|
isBordered: nullishToOptional(z45.boolean())
|
|
2217
2218
|
});
|
|
2219
|
+
var PageBlockFile = z45.object({
|
|
2220
|
+
entityId: z45.string(),
|
|
2221
|
+
entityMeta: z45.object({
|
|
2222
|
+
title: z45.string().optional(),
|
|
2223
|
+
description: z45.string().optional()
|
|
2224
|
+
}).optional()
|
|
2225
|
+
});
|
|
2218
2226
|
var PageBlockBaseV1 = z45.object({
|
|
2219
2227
|
persistentId: z45.string(),
|
|
2220
2228
|
type: PageBlockTypeV1,
|
|
@@ -2277,7 +2285,9 @@ var PageBlockBaseV1 = z45.object({
|
|
|
2277
2285
|
// Arbitrary
|
|
2278
2286
|
userMetadata: nullishToOptional(z45.string()),
|
|
2279
2287
|
// Storybook
|
|
2280
|
-
storybookBlockConfig: nullishToOptional(PageBlockStorybookBlockConfig)
|
|
2288
|
+
storybookBlockConfig: nullishToOptional(PageBlockStorybookBlockConfig),
|
|
2289
|
+
// Files
|
|
2290
|
+
files: nullishToOptional(PageBlockFile.array())
|
|
2281
2291
|
});
|
|
2282
2292
|
var PageBlockV1 = PageBlockBaseV1.extend({
|
|
2283
2293
|
children: z45.lazy(
|
|
@@ -2448,7 +2458,8 @@ var PageBlockDefinitionPropertyType = z48.enum([
|
|
|
2448
2458
|
"Divider",
|
|
2449
2459
|
"Storybook",
|
|
2450
2460
|
"Color",
|
|
2451
|
-
"FigmaComponent"
|
|
2461
|
+
"FigmaComponent",
|
|
2462
|
+
"File"
|
|
2452
2463
|
]);
|
|
2453
2464
|
var PageBlockDefinitionRichTextPropertyStyle = z48.enum([
|
|
2454
2465
|
"Title1",
|
|
@@ -2823,6 +2834,15 @@ var PageBlockItemTokenValue = z49.object({
|
|
|
2823
2834
|
})
|
|
2824
2835
|
).default([])
|
|
2825
2836
|
});
|
|
2837
|
+
var PageBlockItemFileValue = z49.object({
|
|
2838
|
+
value: z49.object({
|
|
2839
|
+
entityId: z49.string(),
|
|
2840
|
+
entityMeta: z49.object({
|
|
2841
|
+
title: z49.string().optional(),
|
|
2842
|
+
description: z49.string().optional()
|
|
2843
|
+
}).optional()
|
|
2844
|
+
}).array()
|
|
2845
|
+
});
|
|
2826
2846
|
var PageBlockItemTokenPropertyValue = z49.object({
|
|
2827
2847
|
selectedPropertyIds: z49.array(z49.string()).optional(),
|
|
2828
2848
|
selectedThemeIds: z49.array(z49.string()).optional(),
|
|
@@ -4280,7 +4300,15 @@ var PageBlockCategory = z110.enum([
|
|
|
4280
4300
|
"Data",
|
|
4281
4301
|
"Other"
|
|
4282
4302
|
]);
|
|
4283
|
-
var PageBlockBehaviorDataType = z110.enum([
|
|
4303
|
+
var PageBlockBehaviorDataType = z110.enum([
|
|
4304
|
+
"Item",
|
|
4305
|
+
"Token",
|
|
4306
|
+
"Asset",
|
|
4307
|
+
"Component",
|
|
4308
|
+
"FigmaNode",
|
|
4309
|
+
"FigmaComponent",
|
|
4310
|
+
"File"
|
|
4311
|
+
]);
|
|
4284
4312
|
var PageBlockBehaviorSelectionType = z110.enum(["Entity", "Group", "EntityAndGroup"]);
|
|
4285
4313
|
var PageBlockDefinitionBehavior = z110.object({
|
|
4286
4314
|
dataType: PageBlockBehaviorDataType,
|
|
@@ -6647,6 +6675,7 @@ export {
|
|
|
6647
6675
|
PageBlockFigmaComponentEntityMeta,
|
|
6648
6676
|
PageBlockFigmaFrameProperties,
|
|
6649
6677
|
PageBlockFigmaNodeEntityMeta,
|
|
6678
|
+
PageBlockFile,
|
|
6650
6679
|
PageBlockFrame,
|
|
6651
6680
|
PageBlockFrameOrigin,
|
|
6652
6681
|
PageBlockGuideline,
|
|
@@ -6665,6 +6694,7 @@ export {
|
|
|
6665
6694
|
PageBlockItemEmbedValue,
|
|
6666
6695
|
PageBlockItemFigmaComponentValue,
|
|
6667
6696
|
PageBlockItemFigmaNodeValue,
|
|
6697
|
+
PageBlockItemFileValue,
|
|
6668
6698
|
PageBlockItemImageValue,
|
|
6669
6699
|
PageBlockItemMarkdownValue,
|
|
6670
6700
|
PageBlockItemMultiRichTextValue,
|