@confed/sanity-types 0.1.3-2601051946 → 0.1.3-2601071726

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 +43 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2601051946",
3
+ "version": "0.1.3-2601071726",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -83,12 +83,24 @@ export type RelatedLinkItem = {
83
83
  _weak?: boolean
84
84
  [internalGroqTypeReferenceTo]?: 'person'
85
85
  }
86
+ | {
87
+ _ref: string
88
+ _type: 'reference'
89
+ _weak?: boolean
90
+ [internalGroqTypeReferenceTo]?: 'newsArticle'
91
+ }
86
92
  | {
87
93
  _ref: string
88
94
  _type: 'reference'
89
95
  _weak?: boolean
90
96
  [internalGroqTypeReferenceTo]?: 'programFile'
91
97
  }
98
+ | {
99
+ _ref: string
100
+ _type: 'reference'
101
+ _weak?: boolean
102
+ [internalGroqTypeReferenceTo]?: 'event'
103
+ }
92
104
  url?: string
93
105
  isExternal?: boolean
94
106
  icon?: string
@@ -309,6 +321,18 @@ export type Link = {
309
321
  _weak?: boolean
310
322
  [internalGroqTypeReferenceTo]?: 'newsArticle'
311
323
  }
324
+ | {
325
+ _ref: string
326
+ _type: 'reference'
327
+ _weak?: boolean
328
+ [internalGroqTypeReferenceTo]?: 'programFile'
329
+ }
330
+ | {
331
+ _ref: string
332
+ _type: 'reference'
333
+ _weak?: boolean
334
+ [internalGroqTypeReferenceTo]?: 'event'
335
+ }
312
336
  url?: string
313
337
  isExternal?: boolean
314
338
  icon?: string
@@ -476,6 +500,12 @@ export type PtLink = {
476
500
  _weak?: boolean
477
501
  [internalGroqTypeReferenceTo]?: 'newsArticle'
478
502
  }
503
+ | {
504
+ _ref: string
505
+ _type: 'reference'
506
+ _weak?: boolean
507
+ [internalGroqTypeReferenceTo]?: 'event'
508
+ }
479
509
  href?: string
480
510
  openInNewTab?: boolean
481
511
  }
@@ -528,6 +558,12 @@ export type PtButton = {
528
558
  _weak?: boolean
529
559
  [internalGroqTypeReferenceTo]?: 'programFile'
530
560
  }
561
+ | {
562
+ _ref: string
563
+ _type: 'reference'
564
+ _weak?: boolean
565
+ [internalGroqTypeReferenceTo]?: 'event'
566
+ }
531
567
  resolvedPath?: string
532
568
  }
533
569
 
@@ -930,11 +966,18 @@ export type Campus = {
930
966
  _updatedAt: string
931
967
  _rev: string
932
968
  title: string
969
+ alternativeName?: string
933
970
  code: string
934
971
  ontarioCollegesCampusCode?: string
935
972
  city?: string
936
973
  slug: Slug
937
974
  isEnabled?: boolean
975
+ heroDescription?: string
976
+ heroButtons?: Array<
977
+ {
978
+ _key: string
979
+ } & PtButton
980
+ >
938
981
  image?: AccessibleImage
939
982
  gallery?: Array<
940
983
  {