fix(ci): proper types

This commit is contained in:
Barrett Ruth 2025-11-09 14:53:56 -05:00
parent 28c3cfcf6d
commit 16850cf468
9 changed files with 607 additions and 15 deletions

18
src/types.ts Normal file
View file

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