metatron-open-seo/web/source.config.ts
2026-04-22 13:30:07 -04:00

26 lines
481 B
TypeScript

import {
defineConfig,
defineCollections,
frontmatterSchema,
} from "fumadocs-mdx/config/zod-3";
import { z } from "zod";
const pageSchema = frontmatterSchema as any;
export const guide = defineCollections({
type: "doc",
dir: "content/guides",
schema: pageSchema.extend({
author: z.string(),
date: z.string(),
}),
});
export const legal = defineCollections({
type: "doc",
dir: "content/legal",
schema: pageSchema,
});
export default defineConfig();