/** * Content collection schemas for Shirone. * Use these with `defineCollection` from "astro:content" in your * `src/content.config.ts` for full type safety and typegen support. * * Example: * ```ts * import { defineCollection } from "astro:content"; * import { glob } from "astro/loaders"; * import { postSchema, momentSchema, specSchema } from "shirones/collections"; * * export const collections = { * posts: defineCollection({ * loader: glob({ base: "./src/content/posts", pattern: "**/*.{md,mdx}" }), * schema: postSchema, * }), * moments: defineCollection({ * loader: glob({ base: "./src/content/moments", pattern: "**/*.md" }), * schema: momentSchema, * }), * spec: defineCollection({ * loader: glob({ base: "./src/content/spec", pattern: "**/*.{md,mdx}" }), * schema: specSchema, * }), * } as const; * ``` */ export const postSchema: import("astro/zod").ZodObject<{ title: import("astro/zod").ZodString; published: import("astro/zod").ZodDate; publishedAt: import("astro/zod").ZodOptional; updated: import("astro/zod").ZodOptional; updatedAt: import("astro/zod").ZodOptional; pinned: import("astro/zod").ZodDefault; draft: import("astro/zod").ZodDefault; comment: import("astro/zod").ZodDefault; description: import("astro/zod").ZodDefault; image: import("astro/zod").ZodDefault; tags: import("astro/zod").ZodDefault>; category: import("astro/zod").ZodDefault>; lang: import("astro/zod").ZodDefault; encrypted: import("astro/zod").ZodDefault; password: import("astro/zod").ZodOptional>; passwordHint: import("astro/zod").ZodDefault; hideHomeContent: import("astro/zod").ZodDefault; alias: import("astro/zod").ZodOptional; permalink: import("astro/zod").ZodOptional; prevUrl: import("astro/zod").ZodOptional; nextUrl: import("astro/zod").ZodOptional; prevTitle: import("astro/zod").ZodDefault; prevSlug: import("astro/zod").ZodDefault; nextTitle: import("astro/zod").ZodDefault; nextSlug: import("astro/zod").ZodDefault; }>; export const momentSchema: import("astro/zod").ZodObject<{ published: import("astro/zod").ZodDate; pinned: import("astro/zod").ZodDefault; location: import("astro/zod").ZodDefault; mood: import("astro/zod").ZodDefault; tags: import("astro/zod").ZodDefault>; images: import("astro/zod").ZodOptional }>>>; draft: import("astro/zod").ZodDefault; }>; export const specSchema: import("astro/zod").ZodObject<{}>; export { postSchema, momentSchema, specSchema };