-
Notifications
You must be signed in to change notification settings - Fork 0
/
interface.ts
41 lines (39 loc) · 935 Bytes
/
interface.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { StaticImageData } from "next/image";
export interface CardData {
id: number;
title: string;
category: string;
description: string;
image: StaticImageData;
}
export interface Posts {
_id: number;
title: string;
excerpt: string;
description: string;
date: any;
slug: string;
category: string;
coverImage: any;
contentImage1: any;
contentImage2: any;
contentImage3: any;
contentImage4: any;
contentTextP1: string;
contentTextP2: string;
contentTextP3: string;
contentTextP4: string;
contentTextP5: string;
contentH1: string;
contentH2: string;
contentBullet1: string;
contentBullet1Text: string;
contentBullet2: string;
contentBullet2Text: string;
contentBullet3: string;
contentBullet3Text: string;
contentBullet4: string;
contentBullet4Text: string;
authorName: string;
authorImage: any;
}