blob: 3c5cbfa002677eed605ce0fc8033144f91a3cc43 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import { s } from "sanity-typed-schema-builder";
export default s.document({
name: "description",
// @ts-ignore
i18n: true,
title: "Description section",
fields: [
{
title: "Title",
name: "title",
type: s.string(),
},
{
title: "Content",
name: "content",
type: s.array({
of: [s.block()]
})
},
],
});
|