This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathindex.ts
More file actions
54 lines (49 loc) · 1.36 KB
/
index.ts
File metadata and controls
54 lines (49 loc) · 1.36 KB
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
import type { GatsbyBrowser, GatsbySSR } from 'gatsby';
import { GenericPageContext } from './pages';
export * from './api';
export * from './banners';
export * from './blog';
export * from './releases';
export * from './navigation';
export * from './markdown';
export * from './article';
export * from './pages';
export * from './dropdown';
export interface HomepageData {
article: {
id: string;
body: string;
frontmatter: {
title: string;
displayTitle: string;
subTitle: string;
description: string;
learnLinkText: string;
beginnerGuideHeaderText: string;
beginnerGuideBodyText: string;
doMoreWithNodeHeaderText: string;
doMoreWithNodeBodyText: string;
nodeFeatureHeader1: string;
nodeFeatureHeader2: string;
nodeFeatureHeader3: string;
nodeFeature1: string;
nodeFeature2: string;
nodeFeature3: string;
nodeFeatureAltText: string;
};
};
}
export type SearchResult = {
id: React.Key | null | undefined;
slug: string;
title: string;
category: string;
displayTitle?: string | JSX.Element;
tableOfContents?: string;
wrapInCode?: boolean;
locale: string;
};
export type WrapPageElementBrowser =
| GatsbyBrowser<unknown, GenericPageContext>['wrapPageElement'];
export type WrapPageElementSSR =
| GatsbySSR<unknown, GenericPageContext>['wrapPageElement'];