@confed/sanity-types 0.1.3-2601161958 → 0.1.3-2601291905

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 +37 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2601161958",
3
+ "version": "0.1.3-2601291905",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -525,6 +525,25 @@ export type Redirect = {
525
525
  createdAt?: string
526
526
  }
527
527
 
528
+ export type SustainableGoal = {
529
+ _id: string
530
+ _type: 'sustainableGoal'
531
+ _createdAt: string
532
+ _updatedAt: string
533
+ _rev: string
534
+ goalNumber: number
535
+ title: string
536
+ slug: Slug
537
+ icon?: AccessibleImage
538
+ shortDescription?: string
539
+ }
540
+
541
+ export type Slug = {
542
+ _type: 'slug'
543
+ current: string
544
+ source?: string
545
+ }
546
+
528
547
  export type ScholarshipTagReference = {
529
548
  _ref: string
530
549
  _type: 'reference'
@@ -559,12 +578,6 @@ export type Scholarship = {
559
578
  seo?: Seo
560
579
  }
561
580
 
562
- export type Slug = {
563
- _type: 'slug'
564
- current: string
565
- source?: string
566
- }
567
-
568
581
  export type ScholarshipTag = {
569
582
  _id: string
570
583
  _type: 'scholarshipTag'
@@ -641,6 +654,13 @@ export type Event = {
641
654
  seo?: Seo
642
655
  }
643
656
 
657
+ export type SustainableGoalReference = {
658
+ _ref: string
659
+ _type: 'reference'
660
+ _weak?: boolean
661
+ [internalGroqTypeReferenceTo]?: 'sustainableGoal'
662
+ }
663
+
644
664
  export type NewsArticle = {
645
665
  _id: string
646
666
  _type: 'newsArticle'
@@ -684,6 +704,11 @@ export type NewsArticle = {
684
704
  } & RelatedLinksSection)
685
705
  >
686
706
  categories: Array<'media' | 'students' | 'employee' | 'alumni'>
707
+ sustainableGoals?: Array<
708
+ {
709
+ _key: string
710
+ } & SustainableGoalReference
711
+ >
687
712
  dateCreated?: string
688
713
  seo?: Seo
689
714
  }
@@ -980,6 +1005,8 @@ export type ProgramIntake = {
980
1005
  | 'Direct Application'
981
1006
  | 'Contact College'
982
1007
  | 'Skilled Trades Ontario / MLITSD'
1008
+ | 'Academic Upgrading'
1009
+ | 'Contract Training (Truck driver)'
983
1010
  | 'Other'
984
1011
  coordinators?: Array<
985
1012
  {
@@ -1191,6 +1218,7 @@ export type Person = {
1191
1218
  email?: string
1192
1219
  phone?: string
1193
1220
  mobilePhone?: string
1221
+ addressLine?: string
1194
1222
  socialLinks?: Array<{
1195
1223
  platform?: string
1196
1224
  url?: string
@@ -1383,11 +1411,13 @@ export type AllSanitySchemaTypes =
1383
1411
  | SanityImageHotspot
1384
1412
  | Seo
1385
1413
  | Redirect
1414
+ | SustainableGoal
1415
+ | Slug
1386
1416
  | ScholarshipTagReference
1387
1417
  | Scholarship
1388
- | Slug
1389
1418
  | ScholarshipTag
1390
1419
  | Event
1420
+ | SustainableGoalReference
1391
1421
  | NewsArticle
1392
1422
  | AreaReference
1393
1423
  | MenuReference