@confed/sanity-types 0.1.3-2511171531 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sanity.types.ts +23 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2511171531",
3
+ "version": "0.1.3-2511171549",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
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
@@ -614,6 +633,9 @@ export type Webpage = {
614
633
  | ({
615
634
  _key: string
616
635
  } & CardGridSection)
636
+ | ({
637
+ _key: string
638
+ } & ProgramGridSection)
617
639
  | ({
618
640
  _key: string
619
641
  } & CallToActionSection)
@@ -1214,6 +1236,7 @@ export type AllSanitySchemaTypes =
1214
1236
  | CanadianAddress
1215
1237
  | SimpleCallToActionSection
1216
1238
  | CallToActionSection
1239
+ | ProgramGridSection
1217
1240
  | CardGridSection
1218
1241
  | Card
1219
1242
  | HeaderSection