forked from atelier-anchor/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.d.ts
49 lines (44 loc) · 852 Bytes
/
types.d.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
42
43
44
45
46
47
48
49
export {}
declare global {
type Category =
| 'Book design'
| 'Custom typeface'
| 'Graphic design'
| 'Motion graphic'
| 'Product design'
| 'Self-publishing'
| 'Translation'
| 'Type design'
| 'Visual identity'
type CreditTitle =
| 'Art director'
| 'Author'
| 'Chief editor'
| 'Client'
| 'Creative director'
| 'Designer'
| 'Editor'
| 'Lead agency'
| 'Publisher'
| 'Translator'
| 'Type director'
interface Credit {
title: CreditTitle
name: string | string[]
}
interface Video {
src: string
poster: string
}
interface Post {
id: string
name: string
date: string
category: Category | Category[]
exclude?: boolean | 'carousel'
credits: Credit[]
description?: string[]
images: string[]
videos?: Video[]
}
}