@confed/sanity-types 0.1.3-2510301609 → 0.1.3-2511031903
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 +17 -0
package/package.json
CHANGED
package/sanity.types.ts
CHANGED
|
@@ -13,6 +13,19 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
// Source: schema.json
|
|
16
|
+
export type HeaderSection = {
|
|
17
|
+
_type: 'headerSection'
|
|
18
|
+
header: string
|
|
19
|
+
eyebrow?: string
|
|
20
|
+
introText?: string
|
|
21
|
+
options?: {
|
|
22
|
+
headerLevel?: 'h1' | 'h2' | 'h3' | 'h4'
|
|
23
|
+
backgroundColor?: 'light' | 'dark' | 'white' | 'black'
|
|
24
|
+
topSpacing?: 'default' | 'minimum' | 'none'
|
|
25
|
+
bottomSpacing?: 'default' | 'minimum' | 'none'
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
16
29
|
export type MediaTextSection = {
|
|
17
30
|
_type: 'mediaTextSection'
|
|
18
31
|
text: Array<
|
|
@@ -936,6 +949,9 @@ export type Webpage = {
|
|
|
936
949
|
| ({
|
|
937
950
|
_key: string
|
|
938
951
|
} & MediaTextSection)
|
|
952
|
+
| ({
|
|
953
|
+
_key: string
|
|
954
|
+
} & HeaderSection)
|
|
939
955
|
| ({
|
|
940
956
|
_key: string
|
|
941
957
|
} & FaqSection)
|
|
@@ -1716,6 +1732,7 @@ export type SanityAssetSourceData = {
|
|
|
1716
1732
|
}
|
|
1717
1733
|
|
|
1718
1734
|
export type AllSanitySchemaTypes =
|
|
1735
|
+
| HeaderSection
|
|
1719
1736
|
| MediaTextSection
|
|
1720
1737
|
| RichTextSection
|
|
1721
1738
|
| GallerySection
|