@confed/sanity-types 0.1.3-2512121943 → 0.1.3-2601051946
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 +25 -0
package/package.json
CHANGED
package/sanity.types.ts
CHANGED
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
// Source: schema.json
|
|
16
|
+
export type PhoneNumber = {
|
|
17
|
+
_type: 'phoneNumber'
|
|
18
|
+
number: string
|
|
19
|
+
extension?: string
|
|
20
|
+
type?: 'phone' | 'fax' | 'mobile'
|
|
21
|
+
isTollFree?: boolean
|
|
22
|
+
}
|
|
23
|
+
|
|
16
24
|
export type CanadianAddress = {
|
|
17
25
|
_type: 'canadianAddress'
|
|
18
26
|
streetAddress: string
|
|
@@ -20,6 +28,8 @@ export type CanadianAddress = {
|
|
|
20
28
|
province: 'AB' | 'BC' | 'MB' | 'NB' | 'NL' | 'NT' | 'NS' | 'NU' | 'ON' | 'PE' | 'QC' | 'SK' | 'YT'
|
|
21
29
|
postalCode: string
|
|
22
30
|
country?: string
|
|
31
|
+
mapUrl?: string
|
|
32
|
+
mapLinkText?: string
|
|
23
33
|
}
|
|
24
34
|
|
|
25
35
|
export type RelatedLinksSection = {
|
|
@@ -921,10 +931,16 @@ export type Campus = {
|
|
|
921
931
|
_rev: string
|
|
922
932
|
title: string
|
|
923
933
|
code: string
|
|
934
|
+
ontarioCollegesCampusCode?: string
|
|
924
935
|
city?: string
|
|
925
936
|
slug: Slug
|
|
926
937
|
isEnabled?: boolean
|
|
927
938
|
image?: AccessibleImage
|
|
939
|
+
gallery?: Array<
|
|
940
|
+
{
|
|
941
|
+
_key: string
|
|
942
|
+
} & AccessibleImage
|
|
943
|
+
>
|
|
928
944
|
description?: PtBasic
|
|
929
945
|
virtualTourUrl?: string
|
|
930
946
|
staff?: Array<{
|
|
@@ -934,6 +950,14 @@ export type Campus = {
|
|
|
934
950
|
_key: string
|
|
935
951
|
[internalGroqTypeReferenceTo]?: 'person'
|
|
936
952
|
}>
|
|
953
|
+
address?: CanadianAddress
|
|
954
|
+
phone?: Array<
|
|
955
|
+
{
|
|
956
|
+
_key: string
|
|
957
|
+
} & PhoneNumber
|
|
958
|
+
>
|
|
959
|
+
email?: string
|
|
960
|
+
scheduleAppointmentUrl?: string
|
|
937
961
|
seo?: Seo
|
|
938
962
|
}
|
|
939
963
|
|
|
@@ -1410,6 +1434,7 @@ export type Geopoint = {
|
|
|
1410
1434
|
}
|
|
1411
1435
|
|
|
1412
1436
|
export type AllSanitySchemaTypes =
|
|
1437
|
+
| PhoneNumber
|
|
1413
1438
|
| CanadianAddress
|
|
1414
1439
|
| RelatedLinksSection
|
|
1415
1440
|
| RelatedLinkItem
|