mirror of
https://github.com/spark-store-project/spark-store-abyss
synced 2025-12-16 03:32:06 +08:00
14 lines
294 B
TypeScript
14 lines
294 B
TypeScript
import { defineCollection, defineContentConfig, z } from "@nuxt/content";
|
|
|
|
export default defineContentConfig({
|
|
collections: {
|
|
download: defineCollection({
|
|
source: "download/*.md",
|
|
type: "page",
|
|
schema: z.object({
|
|
rawbody: z.string(),
|
|
}),
|
|
}),
|
|
},
|
|
});
|