File tree 1 file changed +3
-24
lines changed
.vitepress/theme/constants
1 file changed +3
-24
lines changed Original file line number Diff line number Diff line change
1
+ import type { DefaultTheme } from "vitepress" ;
2
+
1
3
export type TeamMember = CoreTeamMember | CommunityTeamMember ;
2
4
3
- interface TeamMemberBase /* extends VitePress' ` TeamMember` type, which is not exporeted */ {
5
+ interface TeamMemberBase extends DefaultTheme . TeamMember {
4
6
id : string ;
5
7
type : "core" | "community" ;
6
- avatar : string ;
7
- name : string ;
8
- title ?: string ;
9
- org ?: string ;
10
- orgLink ?: string ;
11
- desc ?: string ;
12
- links ?: {
13
- icon :
14
- | "discord"
15
- | "facebook"
16
- | "github"
17
- | "instagram"
18
- | "linkedin"
19
- | "mastodon"
20
- | "slack"
21
- | "twitter"
22
- | "x"
23
- | "youtube"
24
- | { svg : string } ;
25
- link : string ;
26
- ariaLabel ?: string ;
27
- } [ ] ;
28
- sponsor ?: string ;
29
8
}
30
9
31
10
export interface CoreTeamMember extends TeamMemberBase {
You can’t perform that action at this time.
0 commit comments