@confed/sanity-types 0.1.2-2510291332 → 0.1.2-2510291949
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 +57 -0
package/package.json
CHANGED
package/sanity.types.ts
CHANGED
|
@@ -86,6 +86,14 @@ export type RichTextSection = {
|
|
|
86
86
|
| ({
|
|
87
87
|
_key: string
|
|
88
88
|
} & Table)
|
|
89
|
+
| {
|
|
90
|
+
title?: string
|
|
91
|
+
embedCode: Code
|
|
92
|
+
height?: number
|
|
93
|
+
responsive?: boolean
|
|
94
|
+
_type: 'embed'
|
|
95
|
+
_key: string
|
|
96
|
+
}
|
|
89
97
|
>
|
|
90
98
|
}
|
|
91
99
|
|
|
@@ -163,6 +171,14 @@ export type GallerySection = {
|
|
|
163
171
|
| ({
|
|
164
172
|
_key: string
|
|
165
173
|
} & Table)
|
|
174
|
+
| {
|
|
175
|
+
title?: string
|
|
176
|
+
embedCode: Code
|
|
177
|
+
height?: number
|
|
178
|
+
responsive?: boolean
|
|
179
|
+
_type: 'embed'
|
|
180
|
+
_key: string
|
|
181
|
+
}
|
|
166
182
|
>
|
|
167
183
|
images?: Array<{
|
|
168
184
|
asset?: {
|
|
@@ -256,6 +272,14 @@ export type StaffListSection = {
|
|
|
256
272
|
| ({
|
|
257
273
|
_key: string
|
|
258
274
|
} & Table)
|
|
275
|
+
| {
|
|
276
|
+
title?: string
|
|
277
|
+
embedCode: Code
|
|
278
|
+
height?: number
|
|
279
|
+
responsive?: boolean
|
|
280
|
+
_type: 'embed'
|
|
281
|
+
_key: string
|
|
282
|
+
}
|
|
259
283
|
>
|
|
260
284
|
staffMembers?: Array<{
|
|
261
285
|
_ref: string
|
|
@@ -346,6 +370,14 @@ export type FaqSection = {
|
|
|
346
370
|
| ({
|
|
347
371
|
_key: string
|
|
348
372
|
} & Table)
|
|
373
|
+
| {
|
|
374
|
+
title?: string
|
|
375
|
+
embedCode: Code
|
|
376
|
+
height?: number
|
|
377
|
+
responsive?: boolean
|
|
378
|
+
_type: 'embed'
|
|
379
|
+
_key: string
|
|
380
|
+
}
|
|
349
381
|
>
|
|
350
382
|
layout?: 'accordion' | 'list' | 'twoCols'
|
|
351
383
|
items?: Array<
|
|
@@ -429,6 +461,14 @@ export type FaqItem = {
|
|
|
429
461
|
| ({
|
|
430
462
|
_key: string
|
|
431
463
|
} & Table)
|
|
464
|
+
| {
|
|
465
|
+
title?: string
|
|
466
|
+
embedCode: Code
|
|
467
|
+
height?: number
|
|
468
|
+
responsive?: boolean
|
|
469
|
+
_type: 'embed'
|
|
470
|
+
_key: string
|
|
471
|
+
}
|
|
432
472
|
>
|
|
433
473
|
anchorId?: Slug
|
|
434
474
|
}
|
|
@@ -556,6 +596,14 @@ export type PtBasic = Array<
|
|
|
556
596
|
| ({
|
|
557
597
|
_key: string
|
|
558
598
|
} & Table)
|
|
599
|
+
| {
|
|
600
|
+
title?: string
|
|
601
|
+
embedCode: Code
|
|
602
|
+
height?: number
|
|
603
|
+
responsive?: boolean
|
|
604
|
+
_type: 'embed'
|
|
605
|
+
_key: string
|
|
606
|
+
}
|
|
559
607
|
>
|
|
560
608
|
|
|
561
609
|
export type PtButton = {
|
|
@@ -1406,6 +1454,14 @@ export type AccessibleImage = {
|
|
|
1406
1454
|
caption?: string
|
|
1407
1455
|
}
|
|
1408
1456
|
|
|
1457
|
+
export type Code = {
|
|
1458
|
+
_type: 'code'
|
|
1459
|
+
language?: string
|
|
1460
|
+
filename?: string
|
|
1461
|
+
code?: string
|
|
1462
|
+
highlightedLines?: Array<number>
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1409
1465
|
export type Table = {
|
|
1410
1466
|
_type: 'table'
|
|
1411
1467
|
rows?: Array<
|
|
@@ -1578,6 +1634,7 @@ export type AllSanitySchemaTypes =
|
|
|
1578
1634
|
| School
|
|
1579
1635
|
| Person
|
|
1580
1636
|
| AccessibleImage
|
|
1637
|
+
| Code
|
|
1581
1638
|
| Table
|
|
1582
1639
|
| TableRow
|
|
1583
1640
|
| MediaTag
|