@confed/sanity-types 0.1.2-2508181710 → 0.1.2-2508191942

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 +19 -19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.2-2508181710",
3
+ "version": "0.1.2-2508191942",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -812,7 +812,13 @@ export type Person = {
812
812
  lastName: string
813
813
  suffixes?: Array<string>
814
814
  slug: Slug
815
- jobTitle?: string
815
+ email?: string
816
+ phone?: string
817
+ socialLinks?: Array<{
818
+ platform?: string
819
+ url?: string
820
+ _key: string
821
+ }>
816
822
  image?: {
817
823
  asset?: {
818
824
  _ref: string
@@ -827,13 +833,7 @@ export type Person = {
827
833
  caption?: string
828
834
  _type: 'accessibleImage'
829
835
  }
830
- email?: string
831
- phone?: string
832
- socialLinks?: Array<{
833
- platform?: string
834
- url?: string
835
- _key: string
836
- }>
836
+ jobTitle?: string
837
837
  siteRoles?: Array<'faculty' | 'staff' | 'recruitment' | 'testimonial' | 'dean'>
838
838
  affiliations?: Array<{
839
839
  program?: {
@@ -925,25 +925,25 @@ export type SanityImagePalette = {
925
925
 
926
926
  export type SanityImageDimensions = {
927
927
  _type: 'sanity.imageDimensions'
928
- height?: number
929
- width?: number
930
- aspectRatio?: number
928
+ height: number
929
+ width: number
930
+ aspectRatio: number
931
931
  }
932
932
 
933
933
  export type SanityImageHotspot = {
934
934
  _type: 'sanity.imageHotspot'
935
- x?: number
936
- y?: number
937
- height?: number
938
- width?: number
935
+ x: number
936
+ y: number
937
+ height: number
938
+ width: number
939
939
  }
940
940
 
941
941
  export type SanityImageCrop = {
942
942
  _type: 'sanity.imageCrop'
943
- top?: number
944
- bottom?: number
945
- left?: number
946
- right?: number
943
+ top: number
944
+ bottom: number
945
+ left: number
946
+ right: number
947
947
  }
948
948
 
949
949
  export type SanityFileAsset = {