@confed/sanity-types 0.1.2-2510241858 → 0.1.2-2510271943
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 +12 -32
package/package.json
CHANGED
package/sanity.types.ts
CHANGED
|
@@ -51,13 +51,9 @@ export type StaffListSection = {
|
|
|
51
51
|
_type: 'figure'
|
|
52
52
|
_key: string
|
|
53
53
|
}
|
|
54
|
-
| {
|
|
55
|
-
variant?: 'primary' | 'outlined'
|
|
56
|
-
text: string
|
|
57
|
-
link: string
|
|
58
|
-
_type: 'ptButton'
|
|
54
|
+
| ({
|
|
59
55
|
_key: string
|
|
60
|
-
}
|
|
56
|
+
} & PtButton)
|
|
61
57
|
| {
|
|
62
58
|
url: string
|
|
63
59
|
title?: string
|
|
@@ -65,8 +61,6 @@ export type StaffListSection = {
|
|
|
65
61
|
_key: string
|
|
66
62
|
}
|
|
67
63
|
| {
|
|
68
|
-
kind: 'info' | 'success' | 'warning' | 'error'
|
|
69
|
-
title?: string
|
|
70
64
|
body: Array<{
|
|
71
65
|
children?: Array<{
|
|
72
66
|
marks?: Array<string>
|
|
@@ -86,6 +80,7 @@ export type StaffListSection = {
|
|
|
86
80
|
_type: 'block'
|
|
87
81
|
_key: string
|
|
88
82
|
}>
|
|
83
|
+
kind: 'info' | 'tip' | 'important' | 'warning' | 'caution'
|
|
89
84
|
_type: 'note'
|
|
90
85
|
_key: string
|
|
91
86
|
}
|
|
@@ -146,13 +141,9 @@ export type FaqSection = {
|
|
|
146
141
|
_type: 'figure'
|
|
147
142
|
_key: string
|
|
148
143
|
}
|
|
149
|
-
| {
|
|
150
|
-
variant?: 'primary' | 'outlined'
|
|
151
|
-
text: string
|
|
152
|
-
link: string
|
|
153
|
-
_type: 'ptButton'
|
|
144
|
+
| ({
|
|
154
145
|
_key: string
|
|
155
|
-
}
|
|
146
|
+
} & PtButton)
|
|
156
147
|
| {
|
|
157
148
|
url: string
|
|
158
149
|
title?: string
|
|
@@ -160,8 +151,6 @@ export type FaqSection = {
|
|
|
160
151
|
_key: string
|
|
161
152
|
}
|
|
162
153
|
| {
|
|
163
|
-
kind: 'info' | 'success' | 'warning' | 'error'
|
|
164
|
-
title?: string
|
|
165
154
|
body: Array<{
|
|
166
155
|
children?: Array<{
|
|
167
156
|
marks?: Array<string>
|
|
@@ -181,6 +170,7 @@ export type FaqSection = {
|
|
|
181
170
|
_type: 'block'
|
|
182
171
|
_key: string
|
|
183
172
|
}>
|
|
173
|
+
kind: 'info' | 'tip' | 'important' | 'warning' | 'caution'
|
|
184
174
|
_type: 'note'
|
|
185
175
|
_key: string
|
|
186
176
|
}
|
|
@@ -234,13 +224,9 @@ export type FaqItem = {
|
|
|
234
224
|
_type: 'figure'
|
|
235
225
|
_key: string
|
|
236
226
|
}
|
|
237
|
-
| {
|
|
238
|
-
variant?: 'primary' | 'outlined'
|
|
239
|
-
text: string
|
|
240
|
-
link: string
|
|
241
|
-
_type: 'ptButton'
|
|
227
|
+
| ({
|
|
242
228
|
_key: string
|
|
243
|
-
}
|
|
229
|
+
} & PtButton)
|
|
244
230
|
| {
|
|
245
231
|
url: string
|
|
246
232
|
title?: string
|
|
@@ -248,8 +234,6 @@ export type FaqItem = {
|
|
|
248
234
|
_key: string
|
|
249
235
|
}
|
|
250
236
|
| {
|
|
251
|
-
kind: 'info' | 'success' | 'warning' | 'error'
|
|
252
|
-
title?: string
|
|
253
237
|
body: Array<{
|
|
254
238
|
children?: Array<{
|
|
255
239
|
marks?: Array<string>
|
|
@@ -269,6 +253,7 @@ export type FaqItem = {
|
|
|
269
253
|
_type: 'block'
|
|
270
254
|
_key: string
|
|
271
255
|
}>
|
|
256
|
+
kind: 'info' | 'tip' | 'important' | 'warning' | 'caution'
|
|
272
257
|
_type: 'note'
|
|
273
258
|
_key: string
|
|
274
259
|
}
|
|
@@ -366,13 +351,9 @@ export type PtBasic = Array<
|
|
|
366
351
|
_type: 'figure'
|
|
367
352
|
_key: string
|
|
368
353
|
}
|
|
369
|
-
| {
|
|
370
|
-
variant?: 'primary' | 'outlined'
|
|
371
|
-
text: string
|
|
372
|
-
link: string
|
|
373
|
-
_type: 'ptButton'
|
|
354
|
+
| ({
|
|
374
355
|
_key: string
|
|
375
|
-
}
|
|
356
|
+
} & PtButton)
|
|
376
357
|
| {
|
|
377
358
|
url: string
|
|
378
359
|
title?: string
|
|
@@ -380,8 +361,6 @@ export type PtBasic = Array<
|
|
|
380
361
|
_key: string
|
|
381
362
|
}
|
|
382
363
|
| {
|
|
383
|
-
kind: 'info' | 'success' | 'warning' | 'error'
|
|
384
|
-
title?: string
|
|
385
364
|
body: Array<{
|
|
386
365
|
children?: Array<{
|
|
387
366
|
marks?: Array<string>
|
|
@@ -401,6 +380,7 @@ export type PtBasic = Array<
|
|
|
401
380
|
_type: 'block'
|
|
402
381
|
_key: string
|
|
403
382
|
}>
|
|
383
|
+
kind: 'info' | 'tip' | 'important' | 'warning' | 'caution'
|
|
404
384
|
_type: 'note'
|
|
405
385
|
_key: string
|
|
406
386
|
}
|