@confed/sanity-types 0.1.3-2603021933 → 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 +106 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2603021933",
3
+ "version": "0.1.3-2603102001",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -444,6 +444,7 @@ export type AccessibleImage = {
444
444
  crop?: SanityImageCrop
445
445
  altText?: string
446
446
  caption?: string
447
+ legend?: PtSimple
447
448
  }
448
449
 
449
450
  export type PtSimple = Array<{
@@ -496,6 +497,7 @@ export type PtBasic = Array<
496
497
  crop?: SanityImageCrop
497
498
  altText?: string
498
499
  caption?: string
500
+ legend?: PtSimple
499
501
  layout?: 'inline' | 'float-left' | 'float-right' | 'full'
500
502
  size?: 'sm' | 'md' | 'lg' | 'original'
501
503
  aspectRatio?: 'auto' | '1/1' | '16/9' | '3/4'
@@ -571,6 +573,7 @@ export type Figure = {
571
573
  crop?: SanityImageCrop
572
574
  altText?: string
573
575
  caption?: string
576
+ legend?: PtSimple
574
577
  layout?: 'inline' | 'float-left' | 'float-right' | 'full'
575
578
  size?: 'sm' | 'md' | 'lg' | 'original'
576
579
  aspectRatio?: 'auto' | '1/1' | '16/9' | '3/4'
@@ -631,6 +634,89 @@ export type Seo = {
631
634
  nofollow?: boolean
632
635
  }
633
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
+
634
720
  export type Redirect = {
635
721
  _id: string
636
722
  _type: 'redirect'
@@ -658,12 +744,6 @@ export type SustainableGoal = {
658
744
  shortDescription?: string
659
745
  }
660
746
 
661
- export type Slug = {
662
- _type: 'slug'
663
- current: string
664
- source?: string
665
- }
666
-
667
747
  export type Scholarship = {
668
748
  _id: string
669
749
  _type: 'scholarship'
@@ -1462,14 +1542,14 @@ export type SanityFileAsset = {
1462
1542
  title?: string
1463
1543
  description?: string
1464
1544
  altText?: string
1465
- sha1hash?: string
1466
- extension?: string
1467
- mimeType?: string
1468
- size?: number
1469
- assetId?: string
1545
+ sha1hash: string
1546
+ extension: string
1547
+ mimeType: string
1548
+ size: number
1549
+ assetId: string
1470
1550
  uploadId?: string
1471
- path?: string
1472
- url?: string
1551
+ path: string
1552
+ url: string
1473
1553
  source?: SanityAssetSourceData
1474
1554
  }
1475
1555
 
@@ -1491,14 +1571,14 @@ export type SanityImageAsset = {
1491
1571
  title?: string
1492
1572
  description?: string
1493
1573
  altText?: string
1494
- sha1hash?: string
1495
- extension?: string
1496
- mimeType?: string
1497
- size?: number
1498
- assetId?: string
1574
+ sha1hash: string
1575
+ extension: string
1576
+ mimeType: string
1577
+ size: number
1578
+ assetId: string
1499
1579
  uploadId?: string
1500
- path?: string
1501
- url?: string
1580
+ path: string
1581
+ url: string
1502
1582
  metadata?: SanityImageMetadata
1503
1583
  source?: SanityAssetSourceData
1504
1584
  }
@@ -1560,9 +1640,14 @@ export type AllSanitySchemaTypes =
1560
1640
  | SanityImageHotspot
1561
1641
  | Organization
1562
1642
  | Seo
1643
+ | AcademicCalendarReference
1644
+ | AcademicDateCategoryReference
1645
+ | AcademicDate
1646
+ | AcademicDateCategory
1647
+ | Slug
1648
+ | AcademicCalendar
1563
1649
  | Redirect
1564
1650
  | SustainableGoal
1565
- | Slug
1566
1651
  | Scholarship
1567
1652
  | ScholarshipTag
1568
1653
  | Event