@confed/sanity-types 0.1.2-2509052004 → 0.1.2-2510171958

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 +64 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.2-2509052004",
3
+ "version": "0.1.2-2510171958",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -656,6 +656,65 @@ export type Webpage = {
656
656
  seo?: Seo
657
657
  }
658
658
 
659
+ export type Facility = {
660
+ _id: string
661
+ _type: 'facility'
662
+ _createdAt: string
663
+ _updatedAt: string
664
+ _rev: string
665
+ title: string
666
+ slug: Slug
667
+ campus: {
668
+ _ref: string
669
+ _type: 'reference'
670
+ _weak?: boolean
671
+ [internalGroqTypeReferenceTo]?: 'campus'
672
+ }
673
+ description?: PtBasic
674
+ isActive?: boolean
675
+ address?: CanadianAddress
676
+ tourLink?: string
677
+ image?: {
678
+ asset?: {
679
+ _ref: string
680
+ _type: 'reference'
681
+ _weak?: boolean
682
+ [internalGroqTypeReferenceTo]?: 'sanity.imageAsset'
683
+ }
684
+ media?: unknown
685
+ hotspot?: SanityImageHotspot
686
+ crop?: SanityImageCrop
687
+ altText: string
688
+ caption?: string
689
+ _type: 'accessibleImage'
690
+ }
691
+ gallery?: Array<{
692
+ asset?: {
693
+ _ref: string
694
+ _type: 'reference'
695
+ _weak?: boolean
696
+ [internalGroqTypeReferenceTo]?: 'sanity.imageAsset'
697
+ }
698
+ media?: unknown
699
+ hotspot?: SanityImageHotspot
700
+ crop?: SanityImageCrop
701
+ altText: string
702
+ caption?: string
703
+ _type: 'accessibleImage'
704
+ _key: string
705
+ }>
706
+ seo?: Seo
707
+ }
708
+
709
+ export type CanadianAddress = {
710
+ _type: 'canadianAddress'
711
+ streetAddress: string
712
+ city: string
713
+ province: 'AB' | 'BC' | 'MB' | 'NB' | 'NL' | 'NT' | 'NS' | 'NU' | 'ON' | 'PE' | 'QC' | 'SK' | 'YT'
714
+ postalCode: string
715
+ country?: string
716
+ }
717
+
659
718
  export type ProgramFile = {
660
719
  _id: string
661
720
  _type: 'programFile'
@@ -1125,7 +1184,9 @@ export type Person = {
1125
1184
  _type: 'accessibleImage'
1126
1185
  }
1127
1186
  jobTitle?: string
1128
- siteRoles?: Array<'faculty' | 'staff' | 'recruitment' | 'testimonial' | 'dean'>
1187
+ siteRoles?: Array<
1188
+ 'faculty' | 'staff' | 'recruitment' | 'internationalRecruitment' | 'testimonial' | 'dean'
1189
+ >
1129
1190
  affiliations?: Array<{
1130
1191
  program?: {
1131
1192
  _ref: string
@@ -1325,6 +1386,8 @@ export type AllSanitySchemaTypes =
1325
1386
  | Event
1326
1387
  | NewsArticle
1327
1388
  | Webpage
1389
+ | Facility
1390
+ | CanadianAddress
1328
1391
  | ProgramFile
1329
1392
  | Testimonial
1330
1393
  | Campus