@supernova-studio/model 0.47.71 → 0.47.73

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
@@ -1286,13 +1286,13 @@ var DocumentationItemHeaderImageScaleType = DocumentationItemHeaderImageScaleTyp
1286
1286
  var DocumentationItemHeaderV1 = _zod.z.object({
1287
1287
  description: _zod.z.string(),
1288
1288
  alignment: DocumentationItemHeaderAlignmentSchema,
1289
- foregroundColor: nullishToOptional(ColorTokenData),
1290
- backgroundColor: nullishToOptional(ColorTokenData),
1291
- backgroundImageAsset: nullishToOptional(PageBlockAsset),
1289
+ foregroundColor: ColorTokenData.nullish(),
1290
+ backgroundColor: ColorTokenData.nullish(),
1291
+ backgroundImageAsset: PageBlockAsset.nullish(),
1292
1292
  backgroundImageScaleType: DocumentationItemHeaderImageScaleTypeSchema,
1293
1293
  showBackgroundOverlay: _zod.z.boolean(),
1294
1294
  showCoverText: _zod.z.boolean(),
1295
- minHeight: nullishToOptional(_zod.z.number())
1295
+ minHeight: _zod.z.number().nullish()
1296
1296
  });
1297
1297
  var defaultDocumentationItemHeaderV1 = {
1298
1298
  alignment: DocumentationItemHeaderAlignment.Left,
@@ -1331,13 +1331,13 @@ var DocumentationPageDataV1 = _zod.z.object({
1331
1331
  var DocumentationItemHeaderV2 = _zod.z.object({
1332
1332
  description: _zod.z.string(),
1333
1333
  alignment: DocumentationItemHeaderAlignmentSchema,
1334
- foregroundColor: nullishToOptional(PageBlockColorV2),
1335
- backgroundColor: nullishToOptional(PageBlockColorV2),
1336
- backgroundImageAsset: nullishToOptional(PageBlockImageReference),
1334
+ foregroundColor: PageBlockColorV2.nullish(),
1335
+ backgroundColor: PageBlockColorV2.nullish(),
1336
+ backgroundImageAsset: PageBlockImageReference.nullish(),
1337
1337
  backgroundImageScaleType: DocumentationItemHeaderImageScaleTypeSchema,
1338
1338
  showBackgroundOverlay: _zod.z.boolean(),
1339
1339
  showCoverText: _zod.z.boolean(),
1340
- minHeight: nullishToOptional(_zod.z.number())
1340
+ minHeight: _zod.z.number().nullish()
1341
1341
  });
1342
1342
  var defaultDocumentationItemHeaderV2 = {
1343
1343
  alignment: DocumentationItemHeaderAlignment.Left,