@confed/sanity-types 0.1.3-2511171531 → 0.1.3-2511171636
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 +36 -6
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
|
|
@@ -257,12 +276,19 @@ export type PtBasic = Array<
|
|
|
257
276
|
}>
|
|
258
277
|
style?: 'normal' | 'lead' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'blockquote'
|
|
259
278
|
listItem?: 'bullet' | 'number'
|
|
260
|
-
markDefs?: Array<
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
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
|
+
>
|
|
266
292
|
level?: number
|
|
267
293
|
_type: 'block'
|
|
268
294
|
_key: string
|
|
@@ -614,6 +640,9 @@ export type Webpage = {
|
|
|
614
640
|
| ({
|
|
615
641
|
_key: string
|
|
616
642
|
} & CardGridSection)
|
|
643
|
+
| ({
|
|
644
|
+
_key: string
|
|
645
|
+
} & ProgramGridSection)
|
|
617
646
|
| ({
|
|
618
647
|
_key: string
|
|
619
648
|
} & CallToActionSection)
|
|
@@ -1214,6 +1243,7 @@ export type AllSanitySchemaTypes =
|
|
|
1214
1243
|
| CanadianAddress
|
|
1215
1244
|
| SimpleCallToActionSection
|
|
1216
1245
|
| CallToActionSection
|
|
1246
|
+
| ProgramGridSection
|
|
1217
1247
|
| CardGridSection
|
|
1218
1248
|
| Card
|
|
1219
1249
|
| HeaderSection
|