@confed/sanity-types 0.1.2-2509101542 → 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.
- package/package.json +1 -1
- package/sanity.types.ts +61 -0
package/package.json
CHANGED
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'
|
|
@@ -1327,6 +1386,8 @@ export type AllSanitySchemaTypes =
|
|
|
1327
1386
|
| Event
|
|
1328
1387
|
| NewsArticle
|
|
1329
1388
|
| Webpage
|
|
1389
|
+
| Facility
|
|
1390
|
+
| CanadianAddress
|
|
1330
1391
|
| ProgramFile
|
|
1331
1392
|
| Testimonial
|
|
1332
1393
|
| Campus
|