File size: 282 Bytes
06ea972
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { z, defineCollection } from "astro:content";

const guidesCollection = defineCollection({
  type: "content",
  schema: z.object({
    groupTitle: z.string(),
    title: z.string(),
    sort: z.number(),
  }),
});

export const collections = {
  guides: guidesCollection,
};