@confed/sanity-types 0.1.3-2512121440 → 0.1.3-2601051909

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 +26 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2512121440",
3
+ "version": "0.1.3-2601051909",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
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 = {
@@ -73,6 +83,12 @@ export type RelatedLinkItem = {
73
83
  _weak?: boolean
74
84
  [internalGroqTypeReferenceTo]?: 'person'
75
85
  }
86
+ | {
87
+ _ref: string
88
+ _type: 'reference'
89
+ _weak?: boolean
90
+ [internalGroqTypeReferenceTo]?: 'programFile'
91
+ }
76
92
  url?: string
77
93
  isExternal?: boolean
78
94
  icon?: string
@@ -915,6 +931,7 @@ export type Campus = {
915
931
  _rev: string
916
932
  title: string
917
933
  code: string
934
+ ontarioCollegesCampusCode?: string
918
935
  city?: string
919
936
  slug: Slug
920
937
  isEnabled?: boolean
@@ -928,6 +945,14 @@ export type Campus = {
928
945
  _key: string
929
946
  [internalGroqTypeReferenceTo]?: 'person'
930
947
  }>
948
+ address?: CanadianAddress
949
+ phone?: Array<
950
+ {
951
+ _key: string
952
+ } & PhoneNumber
953
+ >
954
+ email?: string
955
+ scheduleAppointmentUrl?: string
931
956
  seo?: Seo
932
957
  }
933
958
 
@@ -1404,6 +1429,7 @@ export type Geopoint = {
1404
1429
  }
1405
1430
 
1406
1431
  export type AllSanitySchemaTypes =
1432
+ | PhoneNumber
1407
1433
  | CanadianAddress
1408
1434
  | RelatedLinksSection
1409
1435
  | RelatedLinkItem