@confed/sanity-types 0.1.3-2608071846 → 0.1.3-2608252000

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 +36 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2608071846",
3
+ "version": "0.1.3-2608252000",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -52,6 +52,12 @@ export type ProgramGridSectionOptions = {
52
52
  spacing?: 'default' | 'minimum' | 'none'
53
53
  }
54
54
 
55
+ export type ProfileGridSectionOptions = {
56
+ backgroundColor?: 'light' | 'dark' | 'white' | 'black'
57
+ anchorSlug?: Slug
58
+ spacing?: 'default' | 'minimum' | 'none'
59
+ }
60
+
55
61
  export type RelatedLinksSectionOptions = {
56
62
  backgroundColor?: 'light' | 'dark' | 'white' | 'black'
57
63
  anchorSlug?: Slug
@@ -470,6 +476,19 @@ export type CallToActionSection = {
470
476
  spacing?: 'default' | 'minimum' | 'none'
471
477
  }
472
478
 
479
+ export type ProfileGridSection = {
480
+ _type: 'profileGridSection'
481
+ title?: string
482
+ eyebrow?: string
483
+ intro?: PtSimple
484
+ people?: Array<
485
+ {
486
+ _key: string
487
+ } & PersonReference
488
+ >
489
+ options?: ProfileGridSectionOptions
490
+ }
491
+
473
492
  export type ProgramGridSection = {
474
493
  _type: 'programGridSection'
475
494
  title?: string
@@ -1095,6 +1114,9 @@ export type Event = {
1095
1114
  | ({
1096
1115
  _key: string
1097
1116
  } & ProgramGridSection)
1117
+ | ({
1118
+ _key: string
1119
+ } & ProfileGridSection)
1098
1120
  | ({
1099
1121
  _key: string
1100
1122
  } & SimpleCallToActionSection)
@@ -1208,6 +1230,9 @@ export type NewsArticle = {
1208
1230
  | ({
1209
1231
  _key: string
1210
1232
  } & ProgramGridSection)
1233
+ | ({
1234
+ _key: string
1235
+ } & ProfileGridSection)
1211
1236
  | ({
1212
1237
  _key: string
1213
1238
  } & CallToActionSection)
@@ -1288,6 +1313,9 @@ export type Webpage = {
1288
1313
  | ({
1289
1314
  _key: string
1290
1315
  } & ProgramGridSection)
1316
+ | ({
1317
+ _key: string
1318
+ } & ProfileGridSection)
1291
1319
  | ({
1292
1320
  _key: string
1293
1321
  } & SimpleCallToActionSection)
@@ -1465,6 +1493,9 @@ export type Campus = {
1465
1493
  | ({
1466
1494
  _key: string
1467
1495
  } & ProgramGridSection)
1496
+ | ({
1497
+ _key: string
1498
+ } & ProfileGridSection)
1468
1499
  | ({
1469
1500
  _key: string
1470
1501
  } & CallToActionSection)
@@ -1536,6 +1567,9 @@ export type Area = {
1536
1567
  | ({
1537
1568
  _key: string
1538
1569
  } & ProgramGridSection)
1570
+ | ({
1571
+ _key: string
1572
+ } & ProfileGridSection)
1539
1573
  | ({
1540
1574
  _key: string
1541
1575
  } & CallToActionSection)
@@ -2098,6 +2132,7 @@ export type AllSanitySchemaTypes =
2098
2132
  | CardOptions
2099
2133
  | CardGridSectionOptions
2100
2134
  | ProgramGridSectionOptions
2135
+ | ProfileGridSectionOptions
2101
2136
  | RelatedLinksSectionOptions
2102
2137
  | IconifyIcon
2103
2138
  | AdvancementCard
@@ -2132,6 +2167,7 @@ export type AllSanitySchemaTypes =
2132
2167
  | FeatureSection
2133
2168
  | SimpleCallToActionSection
2134
2169
  | CallToActionSection
2170
+ | ProfileGridSection
2135
2171
  | ProgramGridSection
2136
2172
  | CardGridSection
2137
2173
  | Card