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

export default defineType({
  name: "description",
  type: "document",
  title: "Description section",
  i18n: true,
  fields: [
    {
      title: "Title",
      name: "title",
      type: "string",
    },
    {
      title: "Content",
      name: "content",
      type: "array",
      of: [{type: "block"}],
    },
  ],
});