add: Preparation for external posts
Preparation for external blog posts
This commit is contained in:
parent
d6859cdaad
commit
427d9ae276
7 changed files with 435 additions and 47 deletions
19
shared/types/Blog.ts
Normal file
19
shared/types/Blog.ts
Normal 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[]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue