Skip to content

Commit e601a0c

Browse files
committed
chore: update interfaces
1 parent 5453fc8 commit e601a0c

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

src/lib/interfaces.ts

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { StaticImageData } from "next/image"
22

33
import type {
4-
CrowdinContributor,
54
FileContributor,
65
Frontmatter,
76
Lang,
@@ -164,3 +163,26 @@ export interface IGetInvolvedCard {
164163
title: string
165164
description: string
166165
}
166+
167+
/**
168+
* TitleCardList
169+
*/
170+
171+
export interface ITitleCardItem {
172+
title: string
173+
description: string
174+
caption?: string
175+
link?: string
176+
image?: string
177+
alt?: string
178+
id?: number
179+
}
180+
181+
/**
182+
* Codeblock
183+
*/
184+
185+
export interface CodeExample extends ITitleCardItem {
186+
codeLanguage: string
187+
code: string
188+
}

0 commit comments

Comments
 (0)