From 1094007f8415e613ce82a269feebd96ba03dd553 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Mon, 19 Feb 2024 21:59:49 -0800 Subject: [PATCH] no longer using astro:content --- packages/starlight-ghostcms/astro.d.ts | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 packages/starlight-ghostcms/astro.d.ts diff --git a/packages/starlight-ghostcms/astro.d.ts b/packages/starlight-ghostcms/astro.d.ts deleted file mode 100644 index 71e1f916..00000000 --- a/packages/starlight-ghostcms/astro.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare module 'astro:content' { - export interface AstroCollectionEntry { - body: string - collection: string - data: TData - id: string - render: () => Promise<{ - Content: import('astro').MarkdownInstance['Content'] - }> - slug: string - } - - export function getCollection( - collection: string, - filter?: (entry: AstroCollectionEntry) => boolean, - ): Promise[]> - } \ No newline at end of file