@confed/sanity-types 0.1.3-2512021538 → 0.1.3-2512022020

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 +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2512021538",
3
+ "version": "0.1.3-2512022020",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -287,6 +287,12 @@ export type Link = {
287
287
  _weak?: boolean
288
288
  [internalGroqTypeReferenceTo]?: 'person'
289
289
  }
290
+ | {
291
+ _ref: string
292
+ _type: 'reference'
293
+ _weak?: boolean
294
+ [internalGroqTypeReferenceTo]?: 'newsArticle'
295
+ }
290
296
  url?: string
291
297
  isExternal?: boolean
292
298
  icon?: string
@@ -442,6 +448,12 @@ export type PtLink = {
442
448
  _weak?: boolean
443
449
  [internalGroqTypeReferenceTo]?: 'person'
444
450
  }
451
+ | {
452
+ _ref: string
453
+ _type: 'reference'
454
+ _weak?: boolean
455
+ [internalGroqTypeReferenceTo]?: 'programFile'
456
+ }
445
457
  href?: string
446
458
  openInNewTab?: boolean
447
459
  }