@confed/sanity-types 0.1.2-2508111744 → 0.1.2-2508141838
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 +26 -1
package/package.json
CHANGED
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 = {
|
|
@@ -355,7 +380,6 @@ export type ProgramFile = {
|
|
|
355
380
|
_updatedAt: string
|
|
356
381
|
_rev: string
|
|
357
382
|
title: string
|
|
358
|
-
description?: string
|
|
359
383
|
file: {
|
|
360
384
|
asset?: {
|
|
361
385
|
_ref: string
|
|
@@ -373,6 +397,7 @@ export type ProgramFile = {
|
|
|
373
397
|
| 'courseOutline'
|
|
374
398
|
| 'studentGuide'
|
|
375
399
|
| 'other'
|
|
400
|
+
description?: string
|
|
376
401
|
isActive?: boolean
|
|
377
402
|
}
|
|
378
403
|
|