Skip to content

Commit

Permalink
chore: added excluded document type to Create test studio
Browse files Browse the repository at this point in the history
  • Loading branch information
snorrees committed Nov 27, 2024
1 parent 5a7d8db commit c05d022
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dev/test-create-integration-studio/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c05d022

Please sign in to comment.