-
Notifications
You must be signed in to change notification settings - Fork 2
/
prismicio-types.d.ts
701 lines (644 loc) · 18.9 KB
/
prismicio-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
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
// Code generated by Slice Machine. DO NOT EDIT.
import type * as prismic from '@prismicio/client';
type Simplify<T> = { [KeyType in keyof T]: T[KeyType] };
/**
* Item in *Home → Hero Actions*
*/
export interface HomeDocumentDataHeroActionsItem {
/**
* Action Label field in *Home → Hero Actions*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.hero_actions[].action_label
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
action_label: prismic.KeyTextField;
/**
* Action Link field in *Home → Hero Actions*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home.hero_actions[].action_link
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
action_link: prismic.LinkField;
}
/**
* Item in *Home → Focus Areas*
*/
export interface HomeDocumentDataFocusAreasItem {
/**
* Focus Area field in *Home → Focus Areas*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.focus_areas[].focus_area
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
focus_area: prismic.KeyTextField;
}
/**
* Item in *Home → Collaborators*
*/
export interface HomeDocumentDataCollaboratorsItem {
/**
* Logo field in *Home → Collaborators*
*
* - **Field Type**: Image
* - **Placeholder**: *None*
* - **API ID Path**: home.collaborators[].logo
* - **Documentation**: https://prismic.io/docs/field#image
*/
logo: prismic.ImageField<never>;
}
/**
* Item in *Home → Projects*
*/
export interface HomeDocumentDataProjectsItem {
/**
* Project Title field in *Home → Projects*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.projects[].project_title
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
project_title: prismic.KeyTextField;
/**
* Project Description field in *Home → Projects*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.projects[].project_description
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
project_description: prismic.KeyTextField;
/**
* Project Link field in *Home → Projects*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home.projects[].project_link
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
project_link: prismic.LinkField;
/**
* Project Image field in *Home → Projects*
*
* - **Field Type**: Image
* - **Placeholder**: *None*
* - **API ID Path**: home.projects[].project_image
* - **Documentation**: https://prismic.io/docs/field#image
*/
project_image: prismic.ImageField<never>;
}
/**
* Item in *Home → Community Outlinks*
*/
export interface HomeDocumentDataCommunityOutlinksItem {
/**
* Community Outlink Title field in *Home → Community Outlinks*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.community_outlinks[].community_outlink_title
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
community_outlink_title: prismic.KeyTextField;
/**
* Community Outlink Description field in *Home → Community Outlinks*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.community_outlinks[].community_outlink_description
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
community_outlink_description: prismic.KeyTextField;
/**
* Community Outlink CTA Label field in *Home → Community Outlinks*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.community_outlinks[].community_outlink_cta_label
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
community_outlink_cta_label: prismic.KeyTextField;
/**
* Community Outlink CTA Link field in *Home → Community Outlinks*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home.community_outlinks[].community_outlink_cta_link
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
community_outlink_cta_link: prismic.LinkField;
}
/**
* Item in *Home → Summits*
*/
export interface HomeDocumentDataSummitsItem {
/**
* Summit Name field in *Home → Summits*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.summits[].summit_name
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
summit_name: prismic.KeyTextField;
/**
* Summit Dates field in *Home → Summits*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.summits[].summit_dates
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
summit_dates: prismic.KeyTextField;
/**
* Summit Description field in *Home → Summits*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.summits[].summit_description
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
summit_description: prismic.KeyTextField;
/**
* Summit Image field in *Home → Summits*
*
* - **Field Type**: Image
* - **Placeholder**: *None*
* - **API ID Path**: home.summits[].summit_image
* - **Documentation**: https://prismic.io/docs/field#image
*/
summit_image: prismic.ImageField<never>;
/**
* Playlist Link field in *Home → Summits*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home.summits[].playlist_link
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
playlist_link: prismic.LinkField;
/**
* Agenda Link field in *Home → Summits*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home.summits[].agenda_link
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
agenda_link: prismic.LinkField;
/**
* Participants Image field in *Home → Summits*
*
* - **Field Type**: Image
* - **Placeholder**: *None*
* - **API ID Path**: home.summits[].participants_image
* - **Documentation**: https://prismic.io/docs/field#image
*/
participants_image: prismic.ImageField<never>;
/**
* Additional Participants Number field in *Home → Summits*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.summits[].additional_participants_number
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
additional_participants_number: prismic.KeyTextField;
}
type HomeDocumentDataSlices7Slice = never;
/**
* Content for Home documents
*/
interface HomeDocumentData {
/**
* Title field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.title
* - **Tab**: Main
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
title: prismic.KeyTextField;
/**
* Description field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.description
* - **Tab**: Main
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
description: prismic.KeyTextField
/**
* Hero Title field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.hero_title
* - **Tab**: Hero
* - **Documentation**: https://prismic.io/docs/field#key-text
*/;
hero_title: prismic.KeyTextField;
/**
* Hero Description field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.hero_description
* - **Tab**: Hero
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
hero_description: prismic.KeyTextField;
/**
* Hero Actions field in *Home*
*
* - **Field Type**: Group
* - **Placeholder**: *None*
* - **API ID Path**: home.hero_actions[]
* - **Tab**: Hero
* - **Documentation**: https://prismic.io/docs/field#group
*/
hero_actions: prismic.GroupField<Simplify<HomeDocumentDataHeroActionsItem>>;
/**
* Focus Areas field in *Home*
*
* - **Field Type**: Group
* - **Placeholder**: *None*
* - **API ID Path**: home.focus_areas[]
* - **Tab**: Hero
* - **Documentation**: https://prismic.io/docs/field#group
*/
focus_areas: prismic.GroupField<Simplify<HomeDocumentDataFocusAreasItem>>
/**
* Collaborators field in *Home*
*
* - **Field Type**: Group
* - **Placeholder**: *None*
* - **API ID Path**: home.collaborators[]
* - **Tab**: Collaborators
* - **Documentation**: https://prismic.io/docs/field#group
*/;
collaborators: prismic.GroupField<
Simplify<HomeDocumentDataCollaboratorsItem>
>
/**
* About Title field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.about_title
* - **Tab**: About
* - **Documentation**: https://prismic.io/docs/field#key-text
*/;
about_title: prismic.KeyTextField;
/**
* About Description field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.about_description
* - **Tab**: About
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
about_description: prismic.KeyTextField;
/**
* About Content field in *Home*
*
* - **Field Type**: Rich Text
* - **Placeholder**: *None*
* - **API ID Path**: home.about_content
* - **Tab**: About
* - **Documentation**: https://prismic.io/docs/field#rich-text-title
*/
about_content: prismic.RichTextField;
/**
* About CTA Label field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.about_cta_label
* - **Tab**: About
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
about_cta_label: prismic.KeyTextField;
/**
* About CTA Link field in *Home*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home.about_cta_link
* - **Tab**: About
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
about_cta_link: prismic.LinkField;
/**
* About Image field in *Home*
*
* - **Field Type**: Image
* - **Placeholder**: *None*
* - **API ID Path**: home.about_image
* - **Tab**: About
* - **Documentation**: https://prismic.io/docs/field#image
*/
about_image: prismic.ImageField<never>
/**
* Projects Title field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.projects_title
* - **Tab**: Projects
* - **Documentation**: https://prismic.io/docs/field#key-text
*/;
projects_title: prismic.KeyTextField;
/**
* Projects Description field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.projects_description
* - **Tab**: Projects
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
projects_description: prismic.KeyTextField;
/**
* Projects CTA Label field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.projects_cta_label
* - **Tab**: Projects
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
projects_cta_label: prismic.KeyTextField;
/**
* Projects CTA Link field in *Home*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home.projects_cta_link
* - **Tab**: Projects
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
projects_cta_link: prismic.LinkField;
/**
* Projects field in *Home*
*
* - **Field Type**: Group
* - **Placeholder**: *None*
* - **API ID Path**: home.projects[]
* - **Tab**: Projects
* - **Documentation**: https://prismic.io/docs/field#group
*/
projects: prismic.GroupField<Simplify<HomeDocumentDataProjectsItem>>
/**
* Community Title field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.community_title
* - **Tab**: Community
* - **Documentation**: https://prismic.io/docs/field#key-text
*/;
community_title: prismic.KeyTextField;
/**
* Community Description field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.community_description
* - **Tab**: Community
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
community_description: prismic.KeyTextField;
/**
* Community GitHub Link field in *Home*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home.community_github_link
* - **Tab**: Community
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
community_github_link: prismic.LinkField;
/**
* Community Outlinks field in *Home*
*
* - **Field Type**: Group
* - **Placeholder**: *None*
* - **API ID Path**: home.community_outlinks[]
* - **Tab**: Community
* - **Documentation**: https://prismic.io/docs/field#group
*/
community_outlinks: prismic.GroupField<
Simplify<HomeDocumentDataCommunityOutlinksItem>
>
/**
* Callout Title field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.callout_title
* - **Tab**: Callout
* - **Documentation**: https://prismic.io/docs/field#key-text
*/;
callout_title: prismic.KeyTextField;
/**
* Callout Caption field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.callout_caption
* - **Tab**: Callout
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
callout_caption: prismic.KeyTextField;
/**
* Callout Description field in *Home*
*
* - **Field Type**: Rich Text
* - **Placeholder**: *None*
* - **API ID Path**: home.callout_description
* - **Tab**: Callout
* - **Documentation**: https://prismic.io/docs/field#rich-text-title
*/
callout_description: prismic.RichTextField;
/**
* Callout CTA Label field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.callout_cta_label
* - **Tab**: Callout
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
callout_cta_label: prismic.KeyTextField;
/**
* Callout CTA Link field in *Home*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: home.callout_cta_link
* - **Tab**: Callout
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
callout_cta_link: prismic.LinkField;
/**
* Callout Image field in *Home*
*
* - **Field Type**: Image
* - **Placeholder**: *None*
* - **API ID Path**: home.callout_image
* - **Tab**: Callout
* - **Documentation**: https://prismic.io/docs/field#image
*/
callout_image: prismic.ImageField<never>;
/**
* Callout Active field in *Home*
*
* - **Field Type**: Boolean
* - **Placeholder**: *None*
* - **Default Value**: false
* - **API ID Path**: home.callout_active
* - **Tab**: Callout
* - **Documentation**: https://prismic.io/docs/field#boolean
*/
callout_active: prismic.BooleanField
/**
* Section Title field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.section_title
* - **Tab**: Summits
* - **Documentation**: https://prismic.io/docs/field#key-text
*/;
section_title: prismic.KeyTextField;
/**
* Section Description field in *Home*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: home.section_description
* - **Tab**: Summits
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
section_description: prismic.KeyTextField;
/**
* Summits field in *Home*
*
* - **Field Type**: Group
* - **Placeholder**: *None*
* - **API ID Path**: home.summits[]
* - **Tab**: Summits
* - **Documentation**: https://prismic.io/docs/field#group
*/
summits: prismic.GroupField<Simplify<HomeDocumentDataSummitsItem>>;
/**
* Slice Zone field in *Home*
*
* - **Field Type**: Slice Zone
* - **Placeholder**: *None*
* - **API ID Path**: home.slices7[]
* - **Tab**: Summits
* - **Documentation**: https://prismic.io/docs/field#slices
*/
slices7: prismic.SliceZone<HomeDocumentDataSlices7Slice>;
}
/**
* Home document from Prismic
*
* - **API ID**: `home`
* - **Repeatable**: `false`
* - **Documentation**: https://prismic.io/docs/custom-types
*
* @typeParam Lang - Language API ID of the document.
*/
export type HomeDocument<Lang extends string = string> =
prismic.PrismicDocumentWithUID<Simplify<HomeDocumentData>, 'home', Lang>;
/**
* Item in *Settings → Navigation*
*/
export interface SettingsDocumentDataNavigationItem {
/**
* Navigation Label field in *Settings → Navigation*
*
* - **Field Type**: Text
* - **Placeholder**: *None*
* - **API ID Path**: settings.navigation[].navigation_label
* - **Documentation**: https://prismic.io/docs/field#key-text
*/
navigation_label: prismic.KeyTextField;
/**
* Navigation Link field in *Settings → Navigation*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: settings.navigation[].navigation_link
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
navigation_link: prismic.LinkField;
}
/**
* Content for Settings documents
*/
interface SettingsDocumentData {
/**
* Navigation field in *Settings*
*
* - **Field Type**: Group
* - **Placeholder**: *None*
* - **API ID Path**: settings.navigation[]
* - **Tab**: Navigation
* - **Documentation**: https://prismic.io/docs/field#group
*/
navigation: prismic.GroupField<Simplify<SettingsDocumentDataNavigationItem>>;
}
/**
* Settings document from Prismic
*
* - **API ID**: `settings`
* - **Repeatable**: `false`
* - **Documentation**: https://prismic.io/docs/custom-types
*
* @typeParam Lang - Language API ID of the document.
*/
export type SettingsDocument<Lang extends string = string> =
prismic.PrismicDocumentWithoutUID<
Simplify<SettingsDocumentData>,
'settings',
Lang
>;
export type AllDocumentTypes = HomeDocument | SettingsDocument;
declare module '@prismicio/client' {
interface CreateClient {
(
repositoryNameOrEndpoint: string,
options?: prismic.ClientConfig
): prismic.Client<AllDocumentTypes>;
}
namespace Content {
export type {
HomeDocument,
HomeDocumentData,
HomeDocumentDataHeroActionsItem,
HomeDocumentDataFocusAreasItem,
HomeDocumentDataCollaboratorsItem,
HomeDocumentDataProjectsItem,
HomeDocumentDataCommunityOutlinksItem,
HomeDocumentDataSummitsItem,
HomeDocumentDataSlices7Slice,
SettingsDocument,
SettingsDocumentData,
SettingsDocumentDataNavigationItem,
AllDocumentTypes,
};
}
}