@confed/sanity-types 0.1.3-2603061709 → 0.1.3-2603102001

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 +89 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2603061709",
3
+ "version": "0.1.3-2603102001",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -634,6 +634,89 @@ export type Seo = {
634
634
  nofollow?: boolean
635
635
  }
636
636
 
637
+ export type AcademicCalendarReference = {
638
+ _ref: string
639
+ _type: 'reference'
640
+ _weak?: boolean
641
+ [internalGroqTypeReferenceTo]?: 'academicCalendar'
642
+ }
643
+
644
+ export type AcademicDateCategoryReference = {
645
+ _ref: string
646
+ _type: 'reference'
647
+ _weak?: boolean
648
+ [internalGroqTypeReferenceTo]?: 'academicDateCategory'
649
+ }
650
+
651
+ export type AcademicDate = {
652
+ _id: string
653
+ _type: 'academicDate'
654
+ _createdAt: string
655
+ _updatedAt: string
656
+ _rev: string
657
+ title: string
658
+ summary: string
659
+ calendar: AcademicCalendarReference
660
+ term: 'fall' | 'winter' | 'spring' | 'summer' | 'yearRound' | 'nonStandard'
661
+ scheduleMode: 'single' | 'range' | 'tbd' | 'relative'
662
+ startDate?: string
663
+ endDate?: string
664
+ displayDateText?: string
665
+ relativeRuleText?: string
666
+ sortDate?: string
667
+ category: AcademicDateCategoryReference
668
+ allCampuses?: boolean
669
+ campuses?: Array<
670
+ {
671
+ _key: string
672
+ } & CampusReference
673
+ >
674
+ programs?: Array<
675
+ {
676
+ _key: string
677
+ } & ProgramReference
678
+ >
679
+ isCollegeClosed?: boolean
680
+ isAcademicDeadline?: boolean
681
+ isFeatured?: boolean
682
+ }
683
+
684
+ export type AcademicDateCategory = {
685
+ _id: string
686
+ _type: 'academicDateCategory'
687
+ _createdAt: string
688
+ _updatedAt: string
689
+ _rev: string
690
+ title: string
691
+ slug: Slug
692
+ colorToken?: string
693
+ }
694
+
695
+ export type Slug = {
696
+ _type: 'slug'
697
+ current: string
698
+ source?: string
699
+ }
700
+
701
+ export type AcademicCalendar = {
702
+ _id: string
703
+ _type: 'academicCalendar'
704
+ _createdAt: string
705
+ _updatedAt: string
706
+ _rev: string
707
+ title: string
708
+ slug: Slug
709
+ academicYearStart: string
710
+ academicYearEnd: string
711
+ status?: 'draft' | 'published' | 'archived'
712
+ notes?: string
713
+ sourceFile?: {
714
+ asset?: SanityFileAssetReference
715
+ media?: unknown
716
+ _type: 'file'
717
+ }
718
+ }
719
+
637
720
  export type Redirect = {
638
721
  _id: string
639
722
  _type: 'redirect'
@@ -661,12 +744,6 @@ export type SustainableGoal = {
661
744
  shortDescription?: string
662
745
  }
663
746
 
664
- export type Slug = {
665
- _type: 'slug'
666
- current: string
667
- source?: string
668
- }
669
-
670
747
  export type Scholarship = {
671
748
  _id: string
672
749
  _type: 'scholarship'
@@ -1563,9 +1640,14 @@ export type AllSanitySchemaTypes =
1563
1640
  | SanityImageHotspot
1564
1641
  | Organization
1565
1642
  | Seo
1643
+ | AcademicCalendarReference
1644
+ | AcademicDateCategoryReference
1645
+ | AcademicDate
1646
+ | AcademicDateCategory
1647
+ | Slug
1648
+ | AcademicCalendar
1566
1649
  | Redirect
1567
1650
  | SustainableGoal
1568
- | Slug
1569
1651
  | Scholarship
1570
1652
  | ScholarshipTag
1571
1653
  | Event