diff --git a/src/_components/Layouts/IndexTiles.tsx b/src/_components/Layouts/IndexTiles.tsx index 0c2fd7d..1c4e907 100644 --- a/src/_components/Layouts/IndexTiles.tsx +++ b/src/_components/Layouts/IndexTiles.tsx @@ -97,15 +97,15 @@ export default async function IndexTiles({ diff --git a/src/_components/Layouts/lib/getTiles.ts b/src/_components/Layouts/lib/getTiles.ts index ded54cc..5010c1b 100644 --- a/src/_components/Layouts/lib/getTiles.ts +++ b/src/_components/Layouts/lib/getTiles.ts @@ -5,7 +5,12 @@ import matter from 'gray-matter'; import { getBranchSha, getDirStructure } from '@/lib/Github'; import { getLogger } from '@/lib/Logger'; import { cacheRead, cacheWrite } from '@/lib/Redis'; -import type { ContentItem, FileContent, FrontMatter } from '@/lib/Types'; +import type { + ContentItem, + FileContent, + FrontMatter, + GitHubFile, +} from '@/lib/Types'; const logger = getLogger().child({ module: 'getTiles' }); @@ -16,7 +21,7 @@ interface Tile { image?: string; [key: string]: any; }; - file: string; + file: GitHubFile; [key: string]: any; }