@confed/sanity-types 0.1.2-2509101542 → 0.1.2-2510231748

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 +62 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.2-2509101542",
3
+ "version": "0.1.2-2510231748",
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'
@@ -1128,6 +1187,7 @@ export type Person = {
1128
1187
  siteRoles?: Array<
1129
1188
  'faculty' | 'staff' | 'recruitment' | 'internationalRecruitment' | 'testimonial' | 'dean'
1130
1189
  >
1190
+ recruitmentConnectLink?: string
1131
1191
  affiliations?: Array<{
1132
1192
  program?: {
1133
1193
  _ref: string
@@ -1327,6 +1387,8 @@ export type AllSanitySchemaTypes =
1327
1387
  | Event
1328
1388
  | NewsArticle
1329
1389
  | Webpage
1390
+ | Facility
1391
+ | CanadianAddress
1330
1392
  | ProgramFile
1331
1393
  | Testimonial
1332
1394
  | Campus