@supernova-studio/model 0.11.0 → 0.13.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 +90 -456
- package/dist/index.d.ts +90 -456
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/elements/data/documentation-block-v2.ts +8 -3
- package/src/dsm/elements/data/page-asset.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -884,8 +884,12 @@ var PageBlockImageAlignment = z33.enum(["Left", "Center", "Stretch"]);
|
|
|
884
884
|
var PageBlockTableCellAlignment = z33.enum(["Left", "Center", "Right"]);
|
|
885
885
|
var PageBlockPreviewContainerSize = z33.enum(["Centered", "NaturalHeight"]);
|
|
886
886
|
var PageBlockThemeDisplayMode = z33.enum(["Split", "Override"]);
|
|
887
|
+
var PageBlockColorV2 = z33.object({
|
|
888
|
+
value: z33.string(),
|
|
889
|
+
referencedTokenId: z33.string().optional()
|
|
890
|
+
});
|
|
887
891
|
var PageBlockAppearanceV2 = z33.object({
|
|
888
|
-
itemBackgroundColor:
|
|
892
|
+
itemBackgroundColor: PageBlockColorV2.optional(),
|
|
889
893
|
numberOfColumns: z33.number().optional()
|
|
890
894
|
});
|
|
891
895
|
var PageBlockItemUntypedValue = z33.object({
|
|
@@ -929,7 +933,7 @@ var PageBlockItemAssetValue = z33.object({
|
|
|
929
933
|
selectedPropertyIds: z33.array(z33.string()).optional(),
|
|
930
934
|
showSearch: z33.boolean().optional(),
|
|
931
935
|
previewContainerSize: PageBlockPreviewContainerSize.optional(),
|
|
932
|
-
backgroundColor:
|
|
936
|
+
backgroundColor: PageBlockColorV2.optional(),
|
|
933
937
|
value: z33.array(
|
|
934
938
|
z33.object({
|
|
935
939
|
entityId: z33.string(),
|
|
@@ -1114,12 +1118,12 @@ var SafeIdSchema = z34.string().refine(
|
|
|
1114
1118
|
var DocumentationPageAssetType = z35.enum(["image", "figmaFrame"]);
|
|
1115
1119
|
var DocumentationPageImageAsset = z35.object({
|
|
1116
1120
|
type: z35.literal(DocumentationPageAssetType.Enum.image),
|
|
1117
|
-
url: z35.string().
|
|
1121
|
+
url: z35.string().optional(),
|
|
1118
1122
|
id: SafeIdSchema
|
|
1119
1123
|
});
|
|
1120
1124
|
var DocumentationPageFrameAsset = z35.object({
|
|
1121
1125
|
type: z35.literal(DocumentationPageAssetType.Enum.figmaFrame),
|
|
1122
|
-
url: z35.string().
|
|
1126
|
+
url: z35.string().optional(),
|
|
1123
1127
|
figmaFrame: PageBlockFrame
|
|
1124
1128
|
});
|
|
1125
1129
|
var DocumentationPageAsset = z35.discriminatedUnion("type", [
|
|
@@ -3303,6 +3307,7 @@ export {
|
|
|
3303
3307
|
PageBlockCalloutType,
|
|
3304
3308
|
PageBlockCategory,
|
|
3305
3309
|
PageBlockCodeLanguage,
|
|
3310
|
+
PageBlockColorV2,
|
|
3306
3311
|
PageBlockCustomBlockPropertyImageValue,
|
|
3307
3312
|
PageBlockCustomBlockPropertyValue,
|
|
3308
3313
|
PageBlockDataV2,
|