add missing files
Build and Deploy / build-and-deploy (push) Failing after 2m42s

This commit is contained in:
2026-05-07 09:46:44 +02:00
parent bf04f8679d
commit 2a0f7d5bcf
13 changed files with 609 additions and 14 deletions
+30
View File
@@ -0,0 +1,30 @@
import { defineConfig } from 'sanity'
import { structureTool } from 'sanity/structure'
import { visionTool } from '@sanity/vision'
import { schemaTypes } from './src/sanity/schemas'
export default defineConfig({
projectId: import.meta.env.PUBLIC_SANITY_PROJECT_ID,
dataset: import.meta.env.PUBLIC_SANITY_DATASET ?? 'production',
plugins: [
structureTool({
structure: (S) =>
S.list()
.title('Content')
.items([
S.listItem()
.title('Theater Homepage')
.child(
S.document()
.schemaType('theaterHomepage')
.documentId('theaterHomepage')
),
S.divider(),
S.documentTypeListItem('post').title('Blog Posts'),
S.documentTypeListItem('page').title('Pages'),
]),
}),
visionTool(),
],
schema: { types: schemaTypes },
})