fix(ci): proper types
This commit is contained in:
parent
28c3cfcf6d
commit
16850cf468
9 changed files with 607 additions and 15 deletions
18
src/types.ts
Normal file
18
src/types.ts
Normal 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">;
|
||||
Loading…
Add table
Add a link
Reference in a new issue