aboutsummaryrefslogtreecommitdiffstats
path: root/sanity/schemas/description.ts
blob: 211aac384da4cf3e5818fcef125805db8495c596 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { baseLanguage } from "./_locales";

export default {
    name: 'description',
    type: 'document',
    title: 'Description section',
    preview: {
        select: {
            title: `title.${baseLanguage.id}`
        }
    },
    fields: [
        {
            title: "Title",
            name: 'title',
            type: 'string',
        },
        {
            title: "Text",
            name: "text",
            type: "string",
        }
    ]
}