mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 14:06:59 +00:00
16 lines
344 B
TypeScript
16 lines
344 B
TypeScript
import {ListItemBuilder} from 'sanity/desk'
|
|
import defineStructure from '../utils/defineStructure'
|
|
|
|
export default defineStructure<ListItemBuilder>((S) =>
|
|
S.listItem()
|
|
.title('Sections')
|
|
.schemaType('section')
|
|
.child (
|
|
S.documentTypeList('section')
|
|
.child (
|
|
S.document()
|
|
.schemaType("section")
|
|
)
|
|
)
|
|
)
|