@confed/sanity-types 0.1.3-2604282002 → 0.1.3-2604291931
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 +3 -74
package/package.json
CHANGED
package/sanity.types.ts
CHANGED
|
@@ -664,80 +664,9 @@ export type PtBasic = Array<
|
|
|
664
664
|
_type: 'embed'
|
|
665
665
|
_key: string
|
|
666
666
|
}
|
|
667
|
-
| {
|
|
668
|
-
items?: Array<{
|
|
669
|
-
title: string
|
|
670
|
-
body?: Array<
|
|
671
|
-
| {
|
|
672
|
-
children?: Array<{
|
|
673
|
-
marks?: Array<string>
|
|
674
|
-
text?: string
|
|
675
|
-
_type: 'span'
|
|
676
|
-
_key: string
|
|
677
|
-
}>
|
|
678
|
-
style?: 'normal' | 'lead' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'blockquote'
|
|
679
|
-
listItem?: 'bullet' | 'number' | 'unstyledList'
|
|
680
|
-
markDefs?: Array<
|
|
681
|
-
| ({
|
|
682
|
-
_key: string
|
|
683
|
-
} & PtLink)
|
|
684
|
-
| {
|
|
685
|
-
id: string
|
|
686
|
-
_type: 'anchor'
|
|
687
|
-
_key: string
|
|
688
|
-
}
|
|
689
|
-
>
|
|
690
|
-
level?: number
|
|
691
|
-
_type: 'block'
|
|
692
|
-
_key: string
|
|
693
|
-
}
|
|
694
|
-
| {
|
|
695
|
-
asset?: SanityImageAssetReference
|
|
696
|
-
media?: unknown
|
|
697
|
-
hotspot?: SanityImageHotspot
|
|
698
|
-
crop?: SanityImageCrop
|
|
699
|
-
altText?: string
|
|
700
|
-
caption?: string
|
|
701
|
-
legend?: PtSimple
|
|
702
|
-
layout?: 'inline' | 'float-left' | 'float-right' | 'full'
|
|
703
|
-
size?: 'sm' | 'md' | 'lg' | 'original'
|
|
704
|
-
aspectRatio?: 'auto' | '1/1' | '16/9' | '3/4'
|
|
705
|
-
_type: 'figure'
|
|
706
|
-
_key: string
|
|
707
|
-
}
|
|
708
|
-
| ({
|
|
709
|
-
_key: string
|
|
710
|
-
} & PtButton)
|
|
711
|
-
| {
|
|
712
|
-
url: string
|
|
713
|
-
title?: string
|
|
714
|
-
_type: 'ptYoutubeVideo'
|
|
715
|
-
_key: string
|
|
716
|
-
}
|
|
717
|
-
| {
|
|
718
|
-
body: PtSimple
|
|
719
|
-
kind: 'info' | 'tip' | 'important' | 'warning' | 'caution'
|
|
720
|
-
_type: 'note'
|
|
721
|
-
_key: string
|
|
722
|
-
}
|
|
723
|
-
| ({
|
|
724
|
-
_key: string
|
|
725
|
-
} & Table)
|
|
726
|
-
| {
|
|
727
|
-
title?: string
|
|
728
|
-
embedCode: Code
|
|
729
|
-
height?: number
|
|
730
|
-
responsive?: boolean
|
|
731
|
-
_type: 'embed'
|
|
732
|
-
_key: string
|
|
733
|
-
}
|
|
734
|
-
>
|
|
735
|
-
_type: 'accordionItem'
|
|
736
|
-
_key: string
|
|
737
|
-
}>
|
|
738
|
-
_type: 'accordionBlock'
|
|
667
|
+
| ({
|
|
739
668
|
_key: string
|
|
740
|
-
}
|
|
669
|
+
} & AccordionBlock)
|
|
741
670
|
>
|
|
742
671
|
|
|
743
672
|
export type PtLink = {
|
|
@@ -1236,7 +1165,7 @@ export type Webpage = {
|
|
|
1236
1165
|
} & ScholarshipListSection)
|
|
1237
1166
|
>
|
|
1238
1167
|
parentPage?: WebpageReference | ProgramReference | CampusReference | AreaReference
|
|
1239
|
-
pageType: 'webpage' | 'department'
|
|
1168
|
+
pageType: 'webpage' | 'department' | 'initiative'
|
|
1240
1169
|
departmentContactDetails?: PtBasic
|
|
1241
1170
|
isPublished?: boolean
|
|
1242
1171
|
relatedMenu?: MenuReference
|