Fix invalid __experimental_actions on homePage schema
'unpublish' is not a valid action — valid values are create/update/delete/publish. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
87182583f8
commit
a319016dbb
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ export const homePageType = defineType({
|
||||||
title: 'Home Page',
|
title: 'Home Page',
|
||||||
type: 'document',
|
type: 'document',
|
||||||
// Singleton — only one document of this type should exist
|
// Singleton — only one document of this type should exist
|
||||||
__experimental_actions: ['update', 'publish', 'unpublish'],
|
__experimental_actions: ['update', 'publish'],
|
||||||
fields: [
|
fields: [
|
||||||
defineField({
|
defineField({
|
||||||
name: 'heroHeadline',
|
name: 'heroHeadline',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue