-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.generated.ts
162 lines (160 loc) · 4.86 KB
/
types.generated.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
// Code generated by prismic-ts-codegen. DO NOT EDIT.
import type * as prismicT from "@prismicio/types";
import type * as prismic from "@prismicio/client";
type Simplify<T> = {
[KeyType in keyof T]: T[KeyType];
};
/** Content for Home Page documents */
interface HomePageDocumentData {
/**
* Name field in *Home Page*
*
* - **Field Type**: Title
* - **Placeholder**: *None*
* - **API ID Path**: home_page.name
* - **Tab**: Main
* - **Documentation**: https://prismic.io/docs/core-concepts/rich-text-title
*
*/
name: prismicT.TitleField;
/**
* Bio field in *Home Page*
*
* - **Field Type**: Rich Text
* - **Placeholder**: *None*
* - **API ID Path**: home_page.bio
* - **Tab**: Main
* - **Documentation**: https://prismic.io/docs/core-concepts/rich-text-title
*
*/
bio: prismicT.RichTextField;
/**
* Facebook field in *Home Page*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home_page.facebook
* - **Tab**: External Links
* - **Documentation**: https://prismic.io/docs/core-concepts/link-content-relationship
*
*/
facebook: prismicT.LinkField;
/**
* Twitter field in *Home Page*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home_page.twitter
* - **Tab**: External Links
* - **Documentation**: https://prismic.io/docs/core-concepts/link-content-relationship
*
*/
twitter: prismicT.LinkField;
/**
* YouTube field in *Home Page*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home_page.youtube
* - **Tab**: External Links
* - **Documentation**: https://prismic.io/docs/core-concepts/link-content-relationship
*
*/
youtube: prismicT.LinkField;
/**
* CodePen field in *Home Page*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home_page.codepen
* - **Tab**: External Links
* - **Documentation**: https://prismic.io/docs/core-concepts/link-content-relationship
*
*/
codepen: prismicT.LinkField;
/**
* LinkedIn field in *Home Page*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home_page.linkedin
* - **Tab**: External Links
* - **Documentation**: https://prismic.io/docs/core-concepts/link-content-relationship
*
*/
linkedin: prismicT.LinkField;
/**
* Instagram field in *Home Page*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home_page.instagram
* - **Tab**: External Links
* - **Documentation**: https://prismic.io/docs/core-concepts/link-content-relationship
*
*/
instagram: prismicT.LinkField;
/**
* Page title field in *Home Page*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home_page.page_title
* - **Tab**: Config
* - **Documentation**: https://prismic.io/docs/core-concepts/key-text
*
*/
page_title: prismicT.KeyTextField;
/**
* SEO title field in *Home Page*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home_page.seo_title
* - **Tab**: Config
* - **Documentation**: https://prismic.io/docs/core-concepts/key-text
*
*/
seo_title: prismicT.KeyTextField;
/**
* SEO description field in *Home Page*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home_page.seo_description
* - **Tab**: Config
* - **Documentation**: https://prismic.io/docs/core-concepts/key-text
*
*/
seo_description: prismicT.KeyTextField;
/**
* Alternate social sharing image field in *Home Page*
*
* - **Field Type**: Image
* - **Placeholder**: *None*
* - **API ID Path**: home_page.alternate_social_sharing_image
* - **Tab**: Config
* - **Documentation**: https://prismic.io/docs/core-concepts/image
*
*/
alternate_social_sharing_image: prismicT.ImageField<never>;
}
/**
* Home Page document from Prismic
*
* - **API ID**: `home_page`
* - **Repeatable**: `false`
* - **Documentation**: https://prismic.io/docs/core-concepts/custom-types
*
* @typeParam Lang - Language API ID of the document.
*/
export type HomePageDocument<Lang extends string = string> = prismicT.PrismicDocumentWithUID<Simplify<HomePageDocumentData>, "home_page", Lang>;
export type AllDocumentTypes = HomePageDocument;
declare module "@prismicio/client" {
interface CreateClient {
(repositoryNameOrEndpoint: string, options?: prismic.ClientConfig): prismic.Client<AllDocumentTypes>;
}
namespace Content {
export type { HomePageDocumentData, HomePageDocument, AllDocumentTypes };
}
}