@confed/sanity-types 0.1.3-2601231342 → 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 +36 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2601231342",
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
  {
@@ -1384,11 +1411,13 @@ export type AllSanitySchemaTypes =
1384
1411
  | SanityImageHotspot
1385
1412
  | Seo
1386
1413
  | Redirect
1414
+ | SustainableGoal
1415
+ | Slug
1387
1416
  | ScholarshipTagReference
1388
1417
  | Scholarship
1389
- | Slug
1390
1418
  | ScholarshipTag
1391
1419
  | Event
1420
+ | SustainableGoalReference
1392
1421
  | NewsArticle
1393
1422
  | AreaReference
1394
1423
  | MenuReference