Add new Starlight-GhostCMS plugin #66

Merged
Adammatthiesen merged 14 commits from starlight-ghostcms into main 2024-02-20 12:37:24 +00:00
1 changed files with 0 additions and 17 deletions
Showing only changes of commit 1094007f84 - Show all commits

View File

@ -1,17 +0,0 @@
declare module 'astro:content' {
export interface AstroCollectionEntry<TData> {
body: string
collection: string
data: TData
id: string
render: () => Promise<{
Content: import('astro').MarkdownInstance<object>['Content']
}>
slug: string
}
export function getCollection<TData>(
collection: string,
filter?: (entry: AstroCollectionEntry<TData>) => boolean,
): Promise<AstroCollectionEntry<TData>[]>
}