@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 12 lines 307 Bytes
Raw
1 import { glob } from "astro/loaders";
2 import { z } from "astro/zod";
3 import { defineCollection } from "astro:content";
4
5 const posts = defineCollection({
6 loader: glob({ pattern: "**/*.md", base: "./src/posts" }),
7 schema: z.object({
8 title: z.string(),
9 }),
10 });
11
12 export const collections = { posts };