From c05d022ed3048bb57eb0c7833de802f71820298c Mon Sep 17 00:00:00 2001 From: Snorre Eskeland Brekke Date: Wed, 27 Nov 2024 13:47:10 +0100 Subject: [PATCH] chore: added excluded document type to Create test studio --- dev/test-create-integration-studio/schema.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dev/test-create-integration-studio/schema.ts b/dev/test-create-integration-studio/schema.ts index 70edcbcb80d..b5bb34ee379 100644 --- a/dev/test-create-integration-studio/schema.ts +++ b/dev/test-create-integration-studio/schema.ts @@ -10,6 +10,20 @@ export const seoGroup: FieldGroupDefinition = { } export const schemaTypes = [ + defineType({ + type: 'document', + name: 'sanity-create-excluded', + fields: [ + defineField({ + name: 'title', + title: 'New documents of this type should not have a Start in Create button', + type: 'string', + }), + ], + options: { + sanityCreate: {exclude: true}, + }, + }), defineType({ title: 'Documentation Article', name: 'create-test-article',