@confed/sanity-types 0.1.3-2511121437 → 0.1.3-2511141432
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/package.json +1 -1
- package/sanity.types.ts +7 -1
package/package.json
CHANGED
package/sanity.types.ts
CHANGED
|
@@ -278,6 +278,9 @@ export type PtBasic = Array<
|
|
|
278
278
|
crop?: SanityImageCrop
|
|
279
279
|
altText: string
|
|
280
280
|
caption?: string
|
|
281
|
+
layout?: 'inline' | 'float-left' | 'float-right' | 'full'
|
|
282
|
+
size?: 'sm' | 'md' | 'lg'
|
|
283
|
+
aspectRatio?: 'auto' | '1/1' | '16/9' | '3/4'
|
|
281
284
|
_type: 'figure'
|
|
282
285
|
_key: string
|
|
283
286
|
}
|
|
@@ -347,6 +350,9 @@ export type Figure = {
|
|
|
347
350
|
crop?: SanityImageCrop
|
|
348
351
|
altText: string
|
|
349
352
|
caption?: string
|
|
353
|
+
layout?: 'inline' | 'float-left' | 'float-right' | 'full'
|
|
354
|
+
size?: 'sm' | 'md' | 'lg'
|
|
355
|
+
aspectRatio?: 'auto' | '1/1' | '16/9' | '3/4'
|
|
350
356
|
}
|
|
351
357
|
|
|
352
358
|
export type SanityImageCrop = {
|
|
@@ -960,7 +966,6 @@ export type Menu = {
|
|
|
960
966
|
_rev: string
|
|
961
967
|
title: string
|
|
962
968
|
slug: Slug
|
|
963
|
-
description?: string
|
|
964
969
|
menuItems?: Array<
|
|
965
970
|
{
|
|
966
971
|
_key: string
|
|
@@ -969,6 +974,7 @@ export type Menu = {
|
|
|
969
974
|
isActive?: boolean
|
|
970
975
|
menuType: 'header' | 'footer' | 'sidebar' | 'mobile' | 'other'
|
|
971
976
|
maxDepth?: number
|
|
977
|
+
description?: string
|
|
972
978
|
}
|
|
973
979
|
|
|
974
980
|
export type Code = {
|