@confed/sanity-types 0.1.3-2511141623 → 0.1.3-2511171549
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 +23 -1
package/package.json
CHANGED
package/sanity.types.ts
CHANGED
|
@@ -54,6 +54,25 @@ export type CallToActionSection = {
|
|
|
54
54
|
spacing?: 'default' | 'minimum' | 'none'
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
export type ProgramGridSection = {
|
|
58
|
+
_type: 'programGridSection'
|
|
59
|
+
title?: string
|
|
60
|
+
eyebrow?: string
|
|
61
|
+
intro?: PtSimple
|
|
62
|
+
programs?: Array<{
|
|
63
|
+
_ref: string
|
|
64
|
+
_type: 'reference'
|
|
65
|
+
_weak?: boolean
|
|
66
|
+
_key: string
|
|
67
|
+
[internalGroqTypeReferenceTo]?: 'program'
|
|
68
|
+
}>
|
|
69
|
+
options?: {
|
|
70
|
+
backgroundColor?: 'light' | 'dark' | 'white' | 'black'
|
|
71
|
+
anchorSlug?: Slug
|
|
72
|
+
spacing?: 'default' | 'minimum' | 'none'
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
57
76
|
export type CardGridSection = {
|
|
58
77
|
_type: 'cardGridSection'
|
|
59
78
|
title?: string
|
|
@@ -594,7 +613,6 @@ export type Webpage = {
|
|
|
594
613
|
} & PtButton
|
|
595
614
|
>
|
|
596
615
|
mainImage?: AccessibleImage
|
|
597
|
-
introduction?: string
|
|
598
616
|
body?: PtBasic
|
|
599
617
|
pageBuilder?: Array<
|
|
600
618
|
| ({
|
|
@@ -615,6 +633,9 @@ export type Webpage = {
|
|
|
615
633
|
| ({
|
|
616
634
|
_key: string
|
|
617
635
|
} & CardGridSection)
|
|
636
|
+
| ({
|
|
637
|
+
_key: string
|
|
638
|
+
} & ProgramGridSection)
|
|
618
639
|
| ({
|
|
619
640
|
_key: string
|
|
620
641
|
} & CallToActionSection)
|
|
@@ -1215,6 +1236,7 @@ export type AllSanitySchemaTypes =
|
|
|
1215
1236
|
| CanadianAddress
|
|
1216
1237
|
| SimpleCallToActionSection
|
|
1217
1238
|
| CallToActionSection
|
|
1239
|
+
| ProgramGridSection
|
|
1218
1240
|
| CardGridSection
|
|
1219
1241
|
| Card
|
|
1220
1242
|
| HeaderSection
|