Terms and conditions

This commit is contained in:
2025-07-30 01:09:46 +08:00
parent 7986f40598
commit 7f9d241850
10 changed files with 182 additions and 24 deletions

View File

@@ -14,7 +14,15 @@ export default defineContentConfig({
repo: z.string().optional(),
releasedDate: z.date().optional(),
version: z.string().optional(),
updatedDate: z.date().optional()
updatedDate: z.date().optional(),
}),
}),
terms: defineCollection({
type: "page",
source: "terms/**.md",
schema: z.object({
title: z.string().nonempty(),
updatedDate: z.date().optional(),
}),
}),
},