@confed/sanity-types 0.1.3-2511251748 → 0.1.3-2511261850

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 +34 -48
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2511251748",
3
+ "version": "0.1.3-2511261850",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -482,54 +482,8 @@ export type Redirect = {
482
482
  _updatedAt: string
483
483
  _rev: string
484
484
  from: string
485
- to: {
486
- type: 'url' | 'reference'
487
- url?: string
488
- reference?:
489
- | {
490
- _ref: string
491
- _type: 'reference'
492
- _weak?: boolean
493
- [internalGroqTypeReferenceTo]?: 'webpage'
494
- }
495
- | {
496
- _ref: string
497
- _type: 'reference'
498
- _weak?: boolean
499
- [internalGroqTypeReferenceTo]?: 'newsArticle'
500
- }
501
- | {
502
- _ref: string
503
- _type: 'reference'
504
- _weak?: boolean
505
- [internalGroqTypeReferenceTo]?: 'event'
506
- }
507
- | {
508
- _ref: string
509
- _type: 'reference'
510
- _weak?: boolean
511
- [internalGroqTypeReferenceTo]?: 'program'
512
- }
513
- | {
514
- _ref: string
515
- _type: 'reference'
516
- _weak?: boolean
517
- [internalGroqTypeReferenceTo]?: 'school'
518
- }
519
- | {
520
- _ref: string
521
- _type: 'reference'
522
- _weak?: boolean
523
- [internalGroqTypeReferenceTo]?: 'campus'
524
- }
525
- | {
526
- _ref: string
527
- _type: 'reference'
528
- _weak?: boolean
529
- [internalGroqTypeReferenceTo]?: 'area'
530
- }
531
- }
532
- statusCode: '300' | '301' | '302' | '303' | '304' | '305' | '307'
485
+ to: string
486
+ permanent?: boolean
533
487
  isActive?: boolean
534
488
  description?: string
535
489
  createdAt?: string
@@ -656,6 +610,38 @@ export type NewsArticle = {
656
610
  slug: Slug
657
611
  mainImage?: AccessibleImage
658
612
  body?: PtBasic
613
+ pageBuilder?: Array<
614
+ | ({
615
+ _key: string
616
+ } & MediaTextSection)
617
+ | ({
618
+ _key: string
619
+ } & HeaderSection)
620
+ | ({
621
+ _key: string
622
+ } & FaqSection)
623
+ | ({
624
+ _key: string
625
+ } & GallerySection)
626
+ | ({
627
+ _key: string
628
+ } & RichTextSection)
629
+ | ({
630
+ _key: string
631
+ } & CardGridSection)
632
+ | ({
633
+ _key: string
634
+ } & ProgramGridSection)
635
+ | ({
636
+ _key: string
637
+ } & CallToActionSection)
638
+ | ({
639
+ _key: string
640
+ } & SimpleCallToActionSection)
641
+ | ({
642
+ _key: string
643
+ } & RelatedLinksSection)
644
+ >
659
645
  categories: Array<'media' | 'students' | 'employee' | 'alumni'>
660
646
  dateCreated?: string
661
647
  seo?: Seo