18 lines
459 B
TypeScript
18 lines
459 B
TypeScript
import type { SchemaTypeDefinition } from 'sanity'
|
|
|
|
import { blockContentType } from './objects/blockContent'
|
|
import { authorType } from './documents/author'
|
|
import { categoryType } from './documents/category'
|
|
import { postType } from './documents/post'
|
|
import { eventType } from './documents/event'
|
|
|
|
export const schemaTypes: SchemaTypeDefinition[] = [
|
|
// Objects
|
|
blockContentType,
|
|
// Documents
|
|
authorType,
|
|
categoryType,
|
|
postType,
|
|
eventType,
|
|
]
|