@confed/sanity-types 0.1.3-2511171549 → 0.1.3-2511181347
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 +14 -7
package/package.json
CHANGED
package/sanity.types.ts
CHANGED
|
@@ -276,12 +276,19 @@ export type PtBasic = Array<
|
|
|
276
276
|
}>
|
|
277
277
|
style?: 'normal' | 'lead' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'blockquote'
|
|
278
278
|
listItem?: 'bullet' | 'number'
|
|
279
|
-
markDefs?: Array<
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
279
|
+
markDefs?: Array<
|
|
280
|
+
| {
|
|
281
|
+
href?: string
|
|
282
|
+
openInNewTab?: boolean
|
|
283
|
+
_type: 'link'
|
|
284
|
+
_key: string
|
|
285
|
+
}
|
|
286
|
+
| {
|
|
287
|
+
id: string
|
|
288
|
+
_type: 'anchor'
|
|
289
|
+
_key: string
|
|
290
|
+
}
|
|
291
|
+
>
|
|
285
292
|
level?: number
|
|
286
293
|
_type: 'block'
|
|
287
294
|
_key: string
|
|
@@ -994,7 +1001,7 @@ export type Menu = {
|
|
|
994
1001
|
} & MenuItem
|
|
995
1002
|
>
|
|
996
1003
|
isActive?: boolean
|
|
997
|
-
menuType: 'header' | 'footer' | 'sidebar' | 'mobile' | 'other'
|
|
1004
|
+
menuType: 'header' | 'footer' | 'sidebar' | 'relatedLinks' | 'mobile' | 'other'
|
|
998
1005
|
maxDepth?: number
|
|
999
1006
|
description?: string
|
|
1000
1007
|
}
|