-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.d.ts
54 lines (43 loc) · 868 Bytes
/
env.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
50
51
52
53
54
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
declare module 'remark-collapse'
type MaybeArray<T> = T | T[]
interface UserConfig {
url: string
title: string
description: string
author: string
email?: string
locale?: string
header: HeaderConfig
footer: FooterConfig
page: PageConfig
colophon?: ColophonItem[]
}
type CommonConfig = Pick<UserConfig, 'url' | 'title' | 'description' | 'author' | 'email' | 'locale'>
interface HeaderConfig {
logoText: string
}
interface FooterConfig {
text: string
license: {
text: string
url: string
}
socialLinks: SocialLink[]
beiai?: string
}
interface SocialLink {
name: string
url: string
icon?: string
}
interface ColophonItem {
name: string
url: string
license: string
author: string
usage?: string
}
interface PageConfig {
}