Files
uiogaming.no-backend/schemas/schema.js
T
2021-08-09 19:08:07 +02:00

20 lines
474 B
JavaScript

import createSchema from "part:@sanity/base/schema-creator";
import schemaTypes from "all:part:@sanity/base/schema-type";
import blockContent from "./blockContent";
import event from "./event";
import post from "./post";
import author from "./author";
export default createSchema({
name: "default",
types: schemaTypes.concat([
// The following are document types which will appear
// in the studio.
post,
author,
event,
blockContent,
]),
});