@@ -4,6 +4,99 @@ import type * as prismic from '@prismicio/client';
4
4
5
5
type Simplify < T > = { [ KeyType in keyof T ] : T [ KeyType ] } ;
6
6
7
+ /**
8
+ * Item in *Blog → entries*
9
+ */
10
+ export interface BlogDocumentDataEntriesItem {
11
+ /**
12
+ * title field in *Blog → entries*
13
+ *
14
+ * - **Field Type**: Text
15
+ * - **Placeholder**: *None*
16
+ * - **API ID Path**: blog.entries[].title
17
+ * - **Documentation**: https://prismic.io/docs/field#key-text
18
+ */
19
+ title : prismic . KeyTextField ;
20
+
21
+ /**
22
+ * blurb field in *Blog → entries*
23
+ *
24
+ * - **Field Type**: Text
25
+ * - **Placeholder**: *None*
26
+ * - **API ID Path**: blog.entries[].blurb
27
+ * - **Documentation**: https://prismic.io/docs/field#key-text
28
+ */
29
+ blurb : prismic . KeyTextField ;
30
+
31
+ /**
32
+ * url field in *Blog → entries*
33
+ *
34
+ * - **Field Type**: Link
35
+ * - **Placeholder**: *None*
36
+ * - **API ID Path**: blog.entries[].url
37
+ * - **Documentation**: https://prismic.io/docs/field#link-content-relationship
38
+ */
39
+ url : prismic . LinkField ;
40
+
41
+ /**
42
+ * imageUrl field in *Blog → entries*
43
+ *
44
+ * - **Field Type**: Link
45
+ * - **Placeholder**: *None*
46
+ * - **API ID Path**: blog.entries[].imageurl
47
+ * - **Documentation**: https://prismic.io/docs/field#link-content-relationship
48
+ */
49
+ imageurl : prismic . LinkField ;
50
+
51
+ /**
52
+ * date field in *Blog → entries*
53
+ *
54
+ * - **Field Type**: Date
55
+ * - **Placeholder**: *None*
56
+ * - **API ID Path**: blog.entries[].date
57
+ * - **Documentation**: https://prismic.io/docs/field#date
58
+ */
59
+ date : prismic . DateField ;
60
+
61
+ /**
62
+ * publication field in *Blog → entries*
63
+ *
64
+ * - **Field Type**: Text
65
+ * - **Placeholder**: *None*
66
+ * - **API ID Path**: blog.entries[].publication
67
+ * - **Documentation**: https://prismic.io/docs/field#key-text
68
+ */
69
+ publication : prismic . KeyTextField ;
70
+ }
71
+
72
+ /**
73
+ * Content for Blog documents
74
+ */
75
+ interface BlogDocumentData {
76
+ /**
77
+ * entries field in *Blog*
78
+ *
79
+ * - **Field Type**: Group
80
+ * - **Placeholder**: *None*
81
+ * - **API ID Path**: blog.entries[]
82
+ * - **Tab**: Main
83
+ * - **Documentation**: https://prismic.io/docs/field#group
84
+ */
85
+ entries : prismic . GroupField < Simplify < BlogDocumentDataEntriesItem > > ;
86
+ }
87
+
88
+ /**
89
+ * Blog document from Prismic
90
+ *
91
+ * - **API ID**: `blog`
92
+ * - **Repeatable**: `true`
93
+ * - **Documentation**: https://prismic.io/docs/custom-types
94
+ *
95
+ * @typeParam Lang - Language API ID of the document.
96
+ */
97
+ export type BlogDocument < Lang extends string = string > =
98
+ prismic . PrismicDocumentWithUID < Simplify < BlogDocumentData > , 'blog' , Lang > ;
99
+
7
100
/**
8
101
* Item in *Home → Hero Actions*
9
102
*/
@@ -234,8 +327,6 @@ export interface HomeDocumentDataSummitsItem {
234
327
additional_participants_number : prismic . KeyTextField ;
235
328
}
236
329
237
- type HomeDocumentDataSlices7Slice = never ;
238
-
239
330
/**
240
331
* Content for Home documents
241
332
*/
@@ -260,8 +351,7 @@ interface HomeDocumentData {
260
351
* - **Tab**: Main
261
352
* - **Documentation**: https://prismic.io/docs/field#key-text
262
353
*/
263
- description : prismic . KeyTextField
264
- /**
354
+ description : prismic . KeyTextField /**
265
355
* Hero Title field in *Home*
266
356
*
267
357
* - **Field Type**: Text
@@ -303,8 +393,7 @@ interface HomeDocumentData {
303
393
* - **Tab**: Hero
304
394
* - **Documentation**: https://prismic.io/docs/field#group
305
395
*/
306
- focus_areas : prismic . GroupField < Simplify < HomeDocumentDataFocusAreasItem > >
307
- /**
396
+ focus_areas : prismic . GroupField < Simplify < HomeDocumentDataFocusAreasItem > > /**
308
397
* Collaborators field in *Home*
309
398
*
310
399
* - **Field Type**: Group
@@ -315,8 +404,7 @@ interface HomeDocumentData {
315
404
*/ ;
316
405
collaborators : prismic . GroupField <
317
406
Simplify < HomeDocumentDataCollaboratorsItem >
318
- >
319
- /**
407
+ > /**
320
408
* About Title field in *Home*
321
409
*
322
410
* - **Field Type**: Text
@@ -380,8 +468,7 @@ interface HomeDocumentData {
380
468
* - **Tab**: About
381
469
* - **Documentation**: https://prismic.io/docs/field#image
382
470
*/
383
- about_image : prismic . ImageField < never >
384
- /**
471
+ about_image : prismic . ImageField < never > /**
385
472
* Projects Title field in *Home*
386
473
*
387
474
* - **Field Type**: Text
@@ -434,8 +521,7 @@ interface HomeDocumentData {
434
521
* - **Tab**: Projects
435
522
* - **Documentation**: https://prismic.io/docs/field#group
436
523
*/
437
- projects : prismic . GroupField < Simplify < HomeDocumentDataProjectsItem > >
438
- /**
524
+ projects : prismic . GroupField < Simplify < HomeDocumentDataProjectsItem > > /**
439
525
* Community Title field in *Home*
440
526
*
441
527
* - **Field Type**: Text
@@ -479,8 +565,7 @@ interface HomeDocumentData {
479
565
*/
480
566
community_outlinks : prismic . GroupField <
481
567
Simplify < HomeDocumentDataCommunityOutlinksItem >
482
- >
483
- /**
568
+ > /**
484
569
* Callout Title field in *Home*
485
570
*
486
571
* - **Field Type**: Text
@@ -556,8 +641,7 @@ interface HomeDocumentData {
556
641
* - **Tab**: Callout
557
642
* - **Documentation**: https://prismic.io/docs/field#boolean
558
643
*/
559
- callout_active : prismic . BooleanField
560
- /**
644
+ callout_active : prismic . BooleanField /**
561
645
* Section Title field in *Home*
562
646
*
563
647
* - **Field Type**: Text
@@ -589,17 +673,6 @@ interface HomeDocumentData {
589
673
* - **Documentation**: https://prismic.io/docs/field#group
590
674
*/
591
675
summits : prismic . GroupField < Simplify < HomeDocumentDataSummitsItem > > ;
592
-
593
- /**
594
- * Slice Zone field in *Home*
595
- *
596
- * - **Field Type**: Slice Zone
597
- * - **Placeholder**: *None*
598
- * - **API ID Path**: home.slices7[]
599
- * - **Tab**: Summits
600
- * - **Documentation**: https://prismic.io/docs/field#slices
601
- */
602
- slices7 : prismic . SliceZone < HomeDocumentDataSlices7Slice > ;
603
676
}
604
677
605
678
/**
@@ -671,7 +744,7 @@ export type SettingsDocument<Lang extends string = string> =
671
744
Lang
672
745
> ;
673
746
674
- export type AllDocumentTypes = HomeDocument | SettingsDocument ;
747
+ export type AllDocumentTypes = BlogDocument | HomeDocument | SettingsDocument ;
675
748
676
749
declare module '@prismicio/client' {
677
750
interface CreateClient {
@@ -681,8 +754,22 @@ declare module '@prismicio/client' {
681
754
) : prismic . Client < AllDocumentTypes > ;
682
755
}
683
756
757
+ interface CreateWriteClient {
758
+ (
759
+ repositoryNameOrEndpoint : string ,
760
+ options : prismic . WriteClientConfig
761
+ ) : prismic . WriteClient < AllDocumentTypes > ;
762
+ }
763
+
764
+ interface CreateMigration {
765
+ ( ) : prismic . Migration < AllDocumentTypes > ;
766
+ }
767
+
684
768
namespace Content {
685
769
export type {
770
+ BlogDocument ,
771
+ BlogDocumentData ,
772
+ BlogDocumentDataEntriesItem ,
686
773
HomeDocument ,
687
774
HomeDocumentData ,
688
775
HomeDocumentDataHeroActionsItem ,
@@ -691,7 +778,6 @@ declare module '@prismicio/client' {
691
778
HomeDocumentDataProjectsItem ,
692
779
HomeDocumentDataCommunityOutlinksItem ,
693
780
HomeDocumentDataSummitsItem ,
694
- HomeDocumentDataSlices7Slice ,
695
781
SettingsDocument ,
696
782
SettingsDocumentData ,
697
783
SettingsDocumentDataNavigationItem ,
0 commit comments