Capital/sanity/schema.ts

11 lines
349 B
TypeScript
Raw Normal View History

2024-02-24 13:56:35 +00:00
import { type SchemaTypeDefinition } from "sanity";
import blockContent from "./schemaTypes/blockContent";
import category from "./schemaTypes/category";
import post from "./schemaTypes/post";
import author from "./schemaTypes/author";
export const schema: { types: SchemaTypeDefinition[] } = {
types: [post, author, category, blockContent],
};