jackmerrill.com/sanity/schema.ts
2023-05-24 23:49:48 -05:00

12 lines
383 B
TypeScript

import { type SchemaTypeDefinition } from "sanity";
import blockContent from "./schemas/blockContent";
import category from "./schemas/category";
import post from "./schemas/post";
import author from "./schemas/author";
import project from "./schemas/project";
export const schema: { types: SchemaTypeDefinition[] } = {
types: [post, author, category, blockContent, project],
};