// tina/config.ts import { defineConfig } from "tinacms"; var branch = process.env.HEAD || process.env.VERCEL_GIT_COMMIT_REF || "main"; var config_default = defineConfig({ branch, clientId: "263d908d-7712-4d39-b378-5019e6d7ba45", // Get this from tina.io token: "91dfa2f9c48a168d96f77629d51413a93250f072", // Get this from tina.io build: { outputFolder: "admin", publicFolder: "static" }, media: { tina: { mediaRoot: "", publicFolder: "static" } }, schema: { collections: [ { name: "post", label: "Posts", path: "content/posts", fields: [ { type: "string", name: "title", label: "Title", isTitle: true, required: true }, { type: "rich-text", name: "body", label: "Body", isBody: true } ] } ] } }); export { config_default as default };