add: Preparation for external posts

Preparation for external blog posts
This commit is contained in:
webfussel 2025-07-10 10:02:18 +02:00
parent d6859cdaad
commit 427d9ae276
7 changed files with 435 additions and 47 deletions

19
shared/types/Blog.ts Normal file
View file

@ -0,0 +1,19 @@
type Post = {
url: string
title: string
excerpt: string
date: string
}
type Author = {
name: string
img: string
img1x: string
img2x: string
img3x: string
}
export type ExternalPost = {
author: Author
posts: Post[]
}