@confed/sanity-types 0.1.2-2508111744 → 0.1.2-2508111853

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 +25 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.2-2508111744",
3
+ "version": "0.1.2-2508111853",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -113,6 +113,31 @@ export type PtBasic = Array<
113
113
  _type: 'ptYoutubeVideo'
114
114
  _key: string
115
115
  }
116
+ | {
117
+ kind: 'info' | 'success' | 'warning' | 'error'
118
+ title?: string
119
+ body: Array<{
120
+ children?: Array<{
121
+ marks?: Array<string>
122
+ text?: string
123
+ _type: 'span'
124
+ _key: string
125
+ }>
126
+ style?: 'normal' | 'lead' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'blockquote'
127
+ listItem?: 'bullet' | 'number'
128
+ markDefs?: Array<{
129
+ href?: string
130
+ openInNewTab?: boolean
131
+ _type: 'link'
132
+ _key: string
133
+ }>
134
+ level?: number
135
+ _type: 'block'
136
+ _key: string
137
+ }>
138
+ _type: 'note'
139
+ _key: string
140
+ }
116
141
  >
117
142
 
118
143
  export type Figure = {