no longer using astro:content

This commit is contained in:
Adam Matthiesen 2024-02-19 21:59:49 -08:00
parent d16a23dcd7
commit 1094007f84
1 changed files with 0 additions and 17 deletions

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>[]>
}