20 lines
524 B
TypeScript
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">;
|