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

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 +2 -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-2511261846",
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