barrettruth.com/src/types.ts
2025-12-27 16:19:55 -06:00

20 lines
524 B
TypeScript

import type { CollectionEntry } from "astro:content";
export type CollectionKey =
| "algorithms"
| "software"
| "meditations"
| "autonomous-racing"
| "git"
| "gists"
| "death";
export type PostCollection = Exclude<CollectionKey, "git" | "gists">;
export type AnyCollectionEntry =
| CollectionEntry<"algorithms">
| CollectionEntry<"software">
| CollectionEntry<"meditations">
| CollectionEntry<"autonomous-racing">
| CollectionEntry<"death">
| CollectionEntry<"git">
| CollectionEntry<"gists">;