@confed/sanity-types 0.1.3-2608071300 → 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 +100 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2608071300",
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)
@@ -1605,6 +1639,65 @@ export type ApplicationTerm = {
1605
1639
  season: 'Fall' | 'Winter' | 'Spring' | 'Summer' | 'Fall, Winter, Spring' | 'Any Time'
1606
1640
  }
1607
1641
 
1642
+ export type UpcomingCourseTerm = {
1643
+ _id: string
1644
+ _type: 'upcomingCourseTerm'
1645
+ _createdAt: string
1646
+ _updatedAt: string
1647
+ _rev: string
1648
+ label: string
1649
+ sortOrder: number
1650
+ }
1651
+
1652
+ export type UpcomingCourseCategory = {
1653
+ _id: string
1654
+ _type: 'upcomingCourseCategory'
1655
+ _createdAt: string
1656
+ _updatedAt: string
1657
+ _rev: string
1658
+ title: string
1659
+ slug: Slug
1660
+ description?: string
1661
+ isEnabled?: boolean
1662
+ }
1663
+
1664
+ export type UpcomingCourseTermReference = {
1665
+ _ref: string
1666
+ _type: 'reference'
1667
+ _weak?: boolean
1668
+ [internalGroqTypeReferenceTo]?: 'upcomingCourseTerm'
1669
+ }
1670
+
1671
+ export type UpcomingCourseCategoryReference = {
1672
+ _ref: string
1673
+ _type: 'reference'
1674
+ _weak?: boolean
1675
+ [internalGroqTypeReferenceTo]?: 'upcomingCourseCategory'
1676
+ }
1677
+
1678
+ export type UpcomingCourse = {
1679
+ _id: string
1680
+ _type: 'upcomingCourse'
1681
+ _createdAt: string
1682
+ _updatedAt: string
1683
+ _rev: string
1684
+ title: string
1685
+ slug: Slug
1686
+ description?: string
1687
+ terms: Array<
1688
+ {
1689
+ _key: string
1690
+ } & UpcomingCourseTermReference
1691
+ >
1692
+ category?: Array<
1693
+ {
1694
+ _key: string
1695
+ } & UpcomingCourseCategoryReference
1696
+ >
1697
+ image?: AccessibleImage
1698
+ isEnabled?: boolean
1699
+ }
1700
+
1608
1701
  export type Microcredential = {
1609
1702
  _id: string
1610
1703
  _type: 'microcredential'
@@ -2039,6 +2132,7 @@ export type AllSanitySchemaTypes =
2039
2132
  | CardOptions
2040
2133
  | CardGridSectionOptions
2041
2134
  | ProgramGridSectionOptions
2135
+ | ProfileGridSectionOptions
2042
2136
  | RelatedLinksSectionOptions
2043
2137
  | IconifyIcon
2044
2138
  | AdvancementCard
@@ -2073,6 +2167,7 @@ export type AllSanitySchemaTypes =
2073
2167
  | FeatureSection
2074
2168
  | SimpleCallToActionSection
2075
2169
  | CallToActionSection
2170
+ | ProfileGridSection
2076
2171
  | ProgramGridSection
2077
2172
  | CardGridSection
2078
2173
  | Card
@@ -2121,6 +2216,11 @@ export type AllSanitySchemaTypes =
2121
2216
  | ProgramIntakeReference
2122
2217
  | ApplicationControl
2123
2218
  | ApplicationTerm
2219
+ | UpcomingCourseTerm
2220
+ | UpcomingCourseCategory
2221
+ | UpcomingCourseTermReference
2222
+ | UpcomingCourseCategoryReference
2223
+ | UpcomingCourse
2124
2224
  | Microcredential
2125
2225
  | DurationReference
2126
2226
  | AdmissionRequirementsReference