jackmerrill.com/sanity/schema.ts

12 lines
383 B
TypeScript
Raw Permalink Normal View History

2023-05-24 21:49:48 -07:00
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],
};