sno-blog/sanity/schemas/index.ts
2026-02-02 22:53:36 +03:00

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,
]