@confed/sanity-types 0.1.3-2512032024 → 0.1.3-2512052005
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.
- package/package.json +1 -1
- package/sanity.types.ts +45 -1
package/package.json
CHANGED
package/sanity.types.ts
CHANGED
|
@@ -454,6 +454,12 @@ export type PtLink = {
|
|
|
454
454
|
_weak?: boolean
|
|
455
455
|
[internalGroqTypeReferenceTo]?: 'programFile'
|
|
456
456
|
}
|
|
457
|
+
| {
|
|
458
|
+
_ref: string
|
|
459
|
+
_type: 'reference'
|
|
460
|
+
_weak?: boolean
|
|
461
|
+
[internalGroqTypeReferenceTo]?: 'newsArticle'
|
|
462
|
+
}
|
|
457
463
|
href?: string
|
|
458
464
|
openInNewTab?: boolean
|
|
459
465
|
}
|
|
@@ -462,7 +468,45 @@ export type PtButton = {
|
|
|
462
468
|
_type: 'ptButton'
|
|
463
469
|
variant?: 'primary' | 'outlined'
|
|
464
470
|
text: string
|
|
465
|
-
link
|
|
471
|
+
link?: string
|
|
472
|
+
internalPage?:
|
|
473
|
+
| {
|
|
474
|
+
_ref: string
|
|
475
|
+
_type: 'reference'
|
|
476
|
+
_weak?: boolean
|
|
477
|
+
[internalGroqTypeReferenceTo]?: 'webpage'
|
|
478
|
+
}
|
|
479
|
+
| {
|
|
480
|
+
_ref: string
|
|
481
|
+
_type: 'reference'
|
|
482
|
+
_weak?: boolean
|
|
483
|
+
[internalGroqTypeReferenceTo]?: 'program'
|
|
484
|
+
}
|
|
485
|
+
| {
|
|
486
|
+
_ref: string
|
|
487
|
+
_type: 'reference'
|
|
488
|
+
_weak?: boolean
|
|
489
|
+
[internalGroqTypeReferenceTo]?: 'campus'
|
|
490
|
+
}
|
|
491
|
+
| {
|
|
492
|
+
_ref: string
|
|
493
|
+
_type: 'reference'
|
|
494
|
+
_weak?: boolean
|
|
495
|
+
[internalGroqTypeReferenceTo]?: 'school'
|
|
496
|
+
}
|
|
497
|
+
| {
|
|
498
|
+
_ref: string
|
|
499
|
+
_type: 'reference'
|
|
500
|
+
_weak?: boolean
|
|
501
|
+
[internalGroqTypeReferenceTo]?: 'person'
|
|
502
|
+
}
|
|
503
|
+
| {
|
|
504
|
+
_ref: string
|
|
505
|
+
_type: 'reference'
|
|
506
|
+
_weak?: boolean
|
|
507
|
+
[internalGroqTypeReferenceTo]?: 'newsArticle'
|
|
508
|
+
}
|
|
509
|
+
resolvedPath?: string
|
|
466
510
|
}
|
|
467
511
|
|
|
468
512
|
export type Figure = {
|