@confed/sanity-types 0.1.3-2512121943 → 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 +20 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2512121943",
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 = {
@@ -921,6 +931,7 @@ 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
@@ -934,6 +945,14 @@ export type Campus = {
934
945
  _key: string
935
946
  [internalGroqTypeReferenceTo]?: 'person'
936
947
  }>
948
+ address?: CanadianAddress
949
+ phone?: Array<
950
+ {
951
+ _key: string
952
+ } & PhoneNumber
953
+ >
954
+ email?: string
955
+ scheduleAppointmentUrl?: string
937
956
  seo?: Seo
938
957
  }
939
958
 
@@ -1410,6 +1429,7 @@ export type Geopoint = {
1410
1429
  }
1411
1430
 
1412
1431
  export type AllSanitySchemaTypes =
1432
+ | PhoneNumber
1413
1433
  | CanadianAddress
1414
1434
  | RelatedLinksSection
1415
1435
  | RelatedLinkItem