@confed/sanity-types 0.1.3-2512032024 → 0.1.3-2512051905

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 +39 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2512032024",
3
+ "version": "0.1.3-2512051905",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -462,7 +462,45 @@ export type PtButton = {
462
462
  _type: 'ptButton'
463
463
  variant?: 'primary' | 'outlined'
464
464
  text: string
465
- link: string
465
+ link?: string
466
+ internalPage?:
467
+ | {
468
+ _ref: string
469
+ _type: 'reference'
470
+ _weak?: boolean
471
+ [internalGroqTypeReferenceTo]?: 'webpage'
472
+ }
473
+ | {
474
+ _ref: string
475
+ _type: 'reference'
476
+ _weak?: boolean
477
+ [internalGroqTypeReferenceTo]?: 'program'
478
+ }
479
+ | {
480
+ _ref: string
481
+ _type: 'reference'
482
+ _weak?: boolean
483
+ [internalGroqTypeReferenceTo]?: 'campus'
484
+ }
485
+ | {
486
+ _ref: string
487
+ _type: 'reference'
488
+ _weak?: boolean
489
+ [internalGroqTypeReferenceTo]?: 'school'
490
+ }
491
+ | {
492
+ _ref: string
493
+ _type: 'reference'
494
+ _weak?: boolean
495
+ [internalGroqTypeReferenceTo]?: 'person'
496
+ }
497
+ | {
498
+ _ref: string
499
+ _type: 'reference'
500
+ _weak?: boolean
501
+ [internalGroqTypeReferenceTo]?: 'newsArticle'
502
+ }
503
+ resolvedPath?: string
466
504
  }
467
505
 
468
506
  export type Figure = {