From 54bbc06bd84437c6b38e2f6c57060f21a8318720 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 19 Feb 2023 14:08:33 +0100 Subject: . --- sanity/schemas/description.ts | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'sanity/schemas/description.ts') diff --git a/sanity/schemas/description.ts b/sanity/schemas/description.ts index d5d5ff3..f3fac23 100644 --- a/sanity/schemas/description.ts +++ b/sanity/schemas/description.ts @@ -1,23 +1,21 @@ -import { defineType } from "sanity"; +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" } - ] - } - ] -}) \ No newline at end of file + 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"}], + }, + ], +}); -- cgit v1.3