-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.gql
3538 lines (2784 loc) · 93.7 KB
/
schema.gql
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
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
### Type definitions saved at 2021-11-08T07:39:59.003Z ###
type File implements Node @dontInfer {
sourceInstanceName: String!
absolutePath: String!
relativePath: String!
extension: String!
size: Int!
prettySize: String!
modifiedTime: Date! @dateformat
accessTime: Date! @dateformat
changeTime: Date! @dateformat
birthTime: Date! @dateformat
root: String!
dir: String!
base: String!
ext: String!
name: String!
relativeDirectory: String!
dev: Int!
mode: Int!
nlink: Int!
uid: Int!
gid: Int!
rdev: Int!
ino: Float!
atimeMs: Float!
mtimeMs: Float!
ctimeMs: Float!
atime: Date! @dateformat
mtime: Date! @dateformat
ctime: Date! @dateformat
birthtime: Date @deprecated(reason: "Use `birthTime` instead")
birthtimeMs: Float @deprecated(reason: "Use `birthTime` instead")
blksize: Int
blocks: Int
url: String
}
type Directory implements Node @dontInfer {
sourceInstanceName: String!
absolutePath: String!
relativePath: String!
extension: String!
size: Int!
prettySize: String!
modifiedTime: Date! @dateformat
accessTime: Date! @dateformat
changeTime: Date! @dateformat
birthTime: Date! @dateformat
root: String!
dir: String!
base: String!
ext: String!
name: String!
relativeDirectory: String!
dev: Int!
mode: Int!
nlink: Int!
uid: Int!
gid: Int!
rdev: Int!
ino: Float!
atimeMs: Float!
mtimeMs: Float!
ctimeMs: Float!
atime: Date! @dateformat
mtime: Date! @dateformat
ctime: Date! @dateformat
birthtime: Date @deprecated(reason: "Use `birthTime` instead")
birthtimeMs: Float @deprecated(reason: "Use `birthTime` instead")
}
type Site implements Node @derivedTypes @dontInfer {
buildTime: Date @dateformat
siteMetadata: SiteSiteMetadata
flags: SiteFlags
polyfill: Boolean
pathPrefix: String
jsxRuntime: String
}
type SiteSiteMetadata {
title: String
description: String
siteUrl: String
}
type SiteFlags {
PRESERVE_FILE_DOWNLOAD_CACHE: Boolean
FAST_DEV: Boolean
PARALLEL_SOURCING: Boolean
}
type SiteFunction implements Node @dontInfer {
functionRoute: String!
pluginName: String!
originalAbsoluteFilePath: String!
originalRelativeFilePath: String!
relativeCompiledFilePath: String!
absoluteCompiledFilePath: String!
matchPath: String
}
type SitePage implements Node @dontInfer {
path: String!
component: String!
internalComponentName: String!
componentChunkName: String!
matchPath: String
pageContext: JSON @proxy(from: "context", fromNode: false)
pluginCreator: SitePlugin @link(by: "id", from: "pluginCreatorId")
}
type SitePlugin implements Node @dontInfer {
resolve: String
name: String
version: String
nodeAPIs: [String]
browserAPIs: [String]
ssrAPIs: [String]
pluginFilepath: String
pluginOptions: JSON
packageJson: JSON
}
type SiteBuildMetadata implements Node @dontInfer {
buildTime: Date @dateformat
}
enum GatsbyImageFormat {
NO_CHANGE
AUTO
JPG
PNG
WEBP
AVIF
}
enum GatsbyImageLayout {
FIXED
FULL_WIDTH
CONSTRAINED
}
enum GatsbyImagePlaceholder {
DOMINANT_COLOR
TRACED_SVG
BLURRED
NONE
}
interface WpNode {
"""The globally unique ID for the object"""
id: ID!
}
interface WpContentNode implements Node {
"""Connection between the ContentNode type and the ContentType type"""
contentType: WpContentNodeToContentTypeConnectionEdge
"""The ID of the node in the database."""
databaseId: Int!
"""Post publishing date."""
date: Date @dateformat
"""The publishing date set in GMT."""
dateGmt: Date @dateformat
"""The desired slug of the post"""
desiredSlug: String
"""The RSS enclosure for the object"""
enclosure: String
"""
The global unique identifier for this post. This currently matches the value
stored in WP_Post->guid and the guid column in the "post_objects"
database table.
"""
guid: String
"""The unique resource identifier path"""
id: ID!
"""Whether the node is a Content Node"""
isContentNode: Boolean!
"""Whether the node is a Term"""
isTermNode: Boolean!
"""The user that most recently edited the node"""
lastEditedBy: WpContentNodeToEditLastConnectionEdge
"""The permalink of the post"""
link: String
"""
The local modified time for a post. If a post was recently updated the
modified field will change to match the corresponding time.
"""
modified: Date @dateformat
"""
The GMT modified time for a post. If a post was recently updated the modified
field will change to match the corresponding time in GMT.
"""
modifiedGmt: Date @dateformat
"""
The uri slug for the post. This is equivalent to the WP_Post->post_name
field and the post_name column in the database for the
"post_objects" table.
"""
slug: String
"""The current status of the object"""
status: String
"""The template assigned to a node of content"""
template: WpContentTemplate
"""The unique resource identifier path"""
uri: String
nodeType: String
}
"""Connection between the ContentNode type and the ContentType type"""
type WpContentNodeToContentTypeConnectionEdge {
"""The node of the connection, without the edges"""
node: WpContentType
}
"""An Post Type object"""
type WpContentType implements Node & WpNode & WpUniformResourceIdentifiable @dontInfer {
"""
The url path of the first page of the archive page for this content type.
"""
archivePath: String
"""Whether this content type should can be exported."""
canExport: Boolean
"""Connection between the ContentType type and the Taxonomy type"""
connectedTaxonomies: WpContentTypeToTaxonomyConnection
"""Connection between the ContentType type and the ContentNode type"""
contentNodes: WpContentTypeToContentNodeConnection
"""
Whether content of this type should be deleted when the author of it is deleted from the system.
"""
deleteWithUser: Boolean
"""Description of the content type."""
description: String
"""
Whether to exclude nodes of this content type from front end search results.
"""
excludeFromSearch: Boolean
"""The plural name of the content type within the GraphQL Schema."""
graphqlPluralName: String
"""The singular name of the content type within the GraphQL Schema."""
graphqlSingleName: String
"""
Whether this content type should have archives. Content archives are generated by type and by date.
"""
hasArchive: Boolean
"""Whether the content type is hierarchical, for example pages."""
hierarchical: Boolean
"""Whether the node is a Content Node"""
isContentNode: Boolean!
"""Whether this page is set to the static front page."""
isFrontPage: Boolean!
"""Whether this page is set to the blog posts page."""
isPostsPage: Boolean!
"""Whether the node is a Term"""
isTermNode: Boolean!
"""Display name of the content type."""
label: String
"""Details about the content type labels."""
labels: WpPostTypeLabelDetails
"""The name of the icon file to display as a menu icon."""
menuIcon: String
"""
The position of this post type in the menu. Only applies if show_in_menu is true.
"""
menuPosition: Int
"""
The internal name of the post type. This should not be used for display purposes.
"""
name: String
"""
Whether a content type is intended for use publicly either via the admin
interface or by front-end users. While the default settings of
exclude_from_search, publicly_queryable, show_ui, and show_in_nav_menus are
inherited from public, each does not rely on this relationship and controls a
very specific intention.
"""
public: Boolean
"""
Whether queries can be performed on the front end for the content type as part of parse_request().
"""
publiclyQueryable: Boolean
"""
Name of content type to display in REST API "wp/v2" namespace.
"""
restBase: String
"""The REST Controller class assigned to handling this content type."""
restControllerClass: String
"""Makes this content type available via the admin bar."""
showInAdminBar: Boolean
"""Whether to add the content type to the GraphQL Schema."""
showInGraphql: Boolean
"""
Where to show the content type in the admin menu. To work, $show_ui must be
true. If true, the post type is shown in its own top level menu. If false, no
menu is shown. If a string of an existing top level menu (eg.
"tools.php" or "edit.php?post_type=page"), the post type
will be placed as a sub-menu of that.
"""
showInMenu: Boolean
"""Makes this content type available for selection in navigation menus."""
showInNavMenus: Boolean
"""
Whether the content type is associated with a route under the the REST API "wp/v2" namespace.
"""
showInRest: Boolean
"""
Whether to generate and allow a UI for managing this content type in the admin.
"""
showUi: Boolean
"""The unique resource identifier path"""
uri: String
nodeType: String
}
interface WpUniformResourceIdentifiable {
"""The unique resource identifier path"""
id: ID!
"""Whether the node is a Content Node"""
isContentNode: Boolean!
"""Whether the node is a Term"""
isTermNode: Boolean!
"""The unique resource identifier path"""
uri: String
}
"""Connection between the ContentType type and the Taxonomy type"""
type WpContentTypeToTaxonomyConnection {
"""The nodes of the connection, without the edges"""
nodes: [WpTaxonomy]
}
"""A taxonomy object"""
type WpTaxonomy implements Node & WpNode @dontInfer {
"""
The url path of the first page of the archive page for this content type.
"""
archivePath: String
"""List of Content Types associated with the Taxonomy"""
connectedContentTypes: WpTaxonomyToContentTypeConnection
"""
Description of the taxonomy. This field is equivalent to WP_Taxonomy->description
"""
description: String
"""The plural name of the post type within the GraphQL Schema."""
graphqlPluralName: String
"""The singular name of the post type within the GraphQL Schema."""
graphqlSingleName: String
"""Whether the taxonomy is hierarchical"""
hierarchical: Boolean
"""Name of the taxonomy shown in the menu. Usually plural."""
label: String
"""
The display name of the taxonomy. This field is equivalent to WP_Taxonomy->label
"""
name: String
"""Whether the taxonomy is publicly queryable"""
public: Boolean
"""
Name of content type to diplay in REST API "wp/v2" namespace.
"""
restBase: String
"""The REST Controller class assigned to handling this content type."""
restControllerClass: String
"""
Whether to show the taxonomy as part of a tag cloud widget. This field is equivalent to WP_Taxonomy->show_tagcloud
"""
showCloud: Boolean
"""
Whether to display a column for the taxonomy on its post type listing screens.
"""
showInAdminColumn: Boolean
"""Whether to add the post type to the GraphQL Schema."""
showInGraphql: Boolean
"""Whether to show the taxonomy in the admin menu"""
showInMenu: Boolean
"""Whether the taxonomy is available for selection in navigation menus."""
showInNavMenus: Boolean
"""Whether to show the taxonomy in the quick/bulk edit panel."""
showInQuickEdit: Boolean
"""
Whether to add the post type route in the REST API "wp/v2" namespace.
"""
showInRest: Boolean
"""
Whether to generate and allow a UI for managing terms in this taxonomy in the admin
"""
showUi: Boolean
nodeType: String
}
"""Connection between the Taxonomy type and the ContentType type"""
type WpTaxonomyToContentTypeConnection {
"""The nodes of the connection, without the edges"""
nodes: [WpContentType]
}
"""Connection between the ContentType type and the ContentNode type"""
type WpContentTypeToContentNodeConnection {
"""The nodes of the connection, without the edges"""
nodes: [WpContentNode]
}
"""Details for labels of the PostType"""
type WpPostTypeLabelDetails {
"""Default is ‘Add New’ for both hierarchical and non-hierarchical types."""
addNew: String
"""Label for adding a new singular item."""
addNewItem: String
"""Label to signify all items in a submenu link."""
allItems: String
"""Label for archives in nav menus"""
archives: String
"""Label for the attributes meta box."""
attributes: String
"""Label for editing a singular item."""
editItem: String
"""Label for the Featured Image meta box title."""
featuredImage: String
"""Label for the table views hidden heading."""
filterItemsList: String
"""Label for the media frame button."""
insertIntoItem: String
"""Label for the table hidden heading."""
itemsList: String
"""Label for the table pagination hidden heading."""
itemsListNavigation: String
"""Label for the menu name."""
menuName: String
"""General name for the post type, usually plural."""
name: String
"""Label for the new item page title."""
newItem: String
"""Label used when no items are found."""
notFound: String
"""Label used when no items are in the trash."""
notFoundInTrash: String
"""Label used to prefix parents of hierarchical items."""
parentItemColon: String
"""Label for removing the featured image."""
removeFeaturedImage: String
"""Label for searching plural items."""
searchItems: String
"""Label for setting the featured image."""
setFeaturedImage: String
"""Name for one object of this post type."""
singularName: String
"""Label for the media frame filter."""
uploadedToThisItem: String
"""Label in the media frame for using a featured image."""
useFeaturedImage: String
"""Label for viewing a singular item."""
viewItem: String
"""Label for viewing post type archives."""
viewItems: String
}
"""Connection between the ContentNode type and the User type"""
type WpContentNodeToEditLastConnectionEdge {
"""The node of the connection, without the edges"""
node: WpUser
}
"""A User object"""
type WpUser implements Node & WpNode & WpUniformResourceIdentifiable & WpCommenter & WpDatabaseIdentifier @dontInfer {
"""
Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument.
"""
avatar: WpAvatar
"""
User metadata option name. Usually it will be "wp_capabilities".
"""
capKey: String
"""A list of capabilities (permissions) granted to the user"""
capabilities: [String]
"""Connection between the User type and the Comment type"""
comments: WpUserToCommentConnection
"""Identifies the primary key from the database."""
databaseId: Int!
"""Description of the user."""
description: String
"""
Email address of the user. This is equivalent to the WP_User->user_email property.
"""
email: String
"""
A complete list of capabilities including capabilities inherited from a role.
This is equivalent to the array keys of WP_User->allcaps.
"""
extraCapabilities: [String]
"""
First name of the user. This is equivalent to the WP_User->user_first_name property.
"""
firstName: String
"""Whether the node is a Content Node"""
isContentNode: Boolean!
"""Whether the node is a Term"""
isTermNode: Boolean!
"""
Last name of the user. This is equivalent to the WP_User->user_last_name property.
"""
lastName: String
"""
The preferred language locale set for the user. Value derived from get_user_locale().
"""
locale: String
"""
Display name of the user. This is equivalent to the WP_User->dispaly_name property.
"""
name: String
"""
The nicename for the user. This field is equivalent to WP_User->user_nicename
"""
nicename: String
"""Nickname of the user."""
nickname: String
"""Connection between the User type and the page type"""
pages: WpUserToPageConnection
"""Connection between the User type and the post type"""
posts: WpUserToPostConnection
"""
The date the user registered or was created. The field follows a full ISO8601 date string format.
"""
registeredDate: String
"""Connection between the User type and the UserRole type"""
roles: WpUserToUserRoleConnection
"""The Yoast SEO data of a user"""
seo: WpSEOUser
"""
The slug for the user. This field is equivalent to WP_User->user_nicename
"""
slug: String
"""The unique resource identifier path"""
uri: String
"""A website url that is associated with the user."""
url: String
"""
Username for the user. This field is equivalent to WP_User->user_login.
"""
username: String
nodeType: String
}
interface WpCommenter @isPlaceholder {
"""Identifies the primary key from the database."""
databaseId: Int!
"""The email address of the author of a comment."""
email: String
"""The globally unique identifier for the comment author."""
id: ID!
"""The name of the author of a comment."""
name: String
"""The url of the author of a comment."""
url: String
}
interface WpDatabaseIdentifier @isPlaceholder {
"""The unique identifier stored in the database"""
databaseId: Int!
}
"""
Avatars are profile images for users. WordPress by default uses the Gravatar service to host and fetch avatars from.
"""
type WpAvatar {
"""
URL for the default image or a default type. Accepts '404' (return a
404 instead of a default image), 'retro' (8bit),
'monsterid' (monster), 'wavatar' (cartoon face),
'indenticon' (the 'quilt'), 'mystery',
'mm', or 'mysteryman' (The Oyster Man), 'blank'
(transparent GIF), or 'gravatar_default' (the Gravatar logo).
"""
default: String
"""HTML attributes to insert in the IMG element. Is not sanitized."""
extraAttr: String
"""Whether to always show the default image, never the Gravatar."""
forceDefault: Boolean
"""Whether the avatar was successfully found."""
foundAvatar: Boolean
"""Height of the avatar image."""
height: Int
"""
What rating to display avatars up to. Accepts 'G', 'PG',
'R', 'X', and are judged in that order.
"""
rating: String
"""Type of url scheme to use. Typically HTTP vs. HTTPS."""
scheme: String
"""
The size of the avatar in pixels. A value of 96 will match a 96px x 96px gravatar image.
"""
size: Int
"""URL for the gravatar image source."""
url: String
"""Width of the avatar image."""
width: Int
}
"""Connection between the User type and the Comment type"""
type WpUserToCommentConnection {
"""The nodes of the connection, without the edges"""
nodes: [WpComment]
}
"""A Comment object"""
type WpComment implements Node & WpNode & WpDatabaseIdentifier @dontInfer {
"""
User agent used to post the comment. This field is equivalent to
WP_Comment->comment_agent and the value matching the
"comment_agent" column in SQL.
"""
agent: String
"""
The approval status of the comment. This field is equivalent to
WP_Comment->comment_approved and the value matching the
"comment_approved" column in SQL.
"""
approved: Boolean
"""The author of the comment"""
author: WpCommentToCommenterConnectionEdge
"""
IP address for the author. This field is equivalent to
WP_Comment->comment_author_IP and the value matching the
"comment_author_IP" column in SQL.
"""
authorIp: String
"""Connection between the Comment type and the ContentNode type"""
commentedOn: WpCommentToContentNodeConnectionEdge
"""
Content of the comment. This field is equivalent to
WP_Comment->comment_content and the value matching the
"comment_content" column in SQL.
"""
content: String
"""The unique identifier stored in the database"""
databaseId: Int!
"""
Date the comment was posted in local time. This field is equivalent to
WP_Comment->date and the value matching the "date" column in SQL.
"""
date: Date @dateformat
"""
Date the comment was posted in GMT. This field is equivalent to
WP_Comment->date_gmt and the value matching the "date_gmt" column in SQL.
"""
dateGmt: Date @dateformat
"""
Karma value for the comment. This field is equivalent to
WP_Comment->comment_karma and the value matching the
"comment_karma" column in SQL.
"""
karma: Int
"""Connection between the Comment type and the Comment type"""
wpParent: WpCommentToParentCommentConnectionEdge
"""
The database id of the parent comment node or null if it is the root comment
"""
parentDatabaseId: Int
"""The globally unique identifier of the parent comment node."""
parentId: ID
"""Connection between the Comment type and the Comment type"""
replies: WpCommentToCommentConnection
"""
Type of comment. This field is equivalent to WP_Comment->comment_type and
the value matching the "comment_type" column in SQL.
"""
type: String
nodeType: String
}
"""Connection between the Comment type and the Commenter type"""
type WpCommentToCommenterConnectionEdge {
"""The node of the connection, without the edges"""
node: WpCommenter
}
"""Connection between the Comment type and the ContentNode type"""
type WpCommentToContentNodeConnectionEdge {
"""The node of the connection, without the edges"""
node: WpContentNode
}
"""Connection between the Comment type and the Comment type"""
type WpCommentToParentCommentConnectionEdge {
"""The node of the connection, without the edges"""
node: WpComment
}
"""Connection between the Comment type and the Comment type"""
type WpCommentToCommentConnection {
"""The nodes of the connection, without the edges"""
nodes: [WpComment]
}
"""Connection between the User type and the page type"""
type WpUserToPageConnection {
"""The nodes of the connection, without the edges"""
nodes: [WpPage]
}
"""The page type"""
type WpPage implements Node & WpNode & WpContentNode & WpUniformResourceIdentifiable & WpDatabaseIdentifier & WpNodeWithTemplate & WpNodeWithTitle & WpNodeWithContentEditor & WpNodeWithAuthor & WpNodeWithFeaturedImage & WpNodeWithComments & WpNodeWithRevisions & WpNodeWithPageAttributes & WpHierarchicalContentNode & WpMenuItemLinkable @dontInfer {
"""
Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root).
"""
ancestors: WpHierarchicalContentNodeToContentNodeAncestorsConnection
"""Connection between the NodeWithAuthor type and the User type"""
author: WpNodeWithAuthorToUserConnectionEdge
"""The database identifier of the author of the node"""
authorDatabaseId: Int
"""The globally unique identifier of the author of the node"""
authorId: ID
"""
Connection between the HierarchicalContentNode type and the ContentNode type
"""
wpChildren: WpHierarchicalContentNodeToContentNodeChildrenConnection
"""
The number of comments. Even though WPGraphQL denotes this field as an
integer, in WordPress this field should be saved as a numeric string for compatibility.
"""
commentCount: Int
"""Whether the comments are open or closed for this particular post."""
commentStatus: String
"""Connection between the page type and the Comment type"""
comments: WpPageToCommentConnection
"""The content of the post."""
content: String
"""Connection between the ContentNode type and the ContentType type"""
contentType: WpContentNodeToContentTypeConnectionEdge
"""The unique resource identifier path"""
databaseId: Int!
"""Post publishing date."""
date: Date @dateformat
"""The publishing date set in GMT."""
dateGmt: Date @dateformat
"""The desired slug of the post"""
desiredSlug: String
"""The RSS enclosure for the object"""
enclosure: String
"""
Connection between the NodeWithFeaturedImage type and the MediaItem type
"""
featuredImage: WpNodeWithFeaturedImageToMediaItemConnectionEdge
"""
The database identifier for the featured image node assigned to the content node
"""
featuredImageDatabaseId: Int
"""Globally unique ID of the featured image assigned to the node"""
featuredImageId: ID
"""
The global unique identifier for this post. This currently matches the value
stored in WP_Post->guid and the guid column in the "post_objects"
database table.
"""
guid: String
"""
Added to the GraphQL Schema because the ACF Field Group "Homepage (Gutenberg)" was set to Show in GraphQL.
"""
homePageScripts: WpPage_Homepagescripts
"""Whether the node is a Content Node"""
isContentNode: Boolean!
"""Whether this page is set to the static front page."""
isFrontPage: Boolean!
"""Whether this page is set to the blog posts page."""
isPostsPage: Boolean!
"""Whether this page is set to the privacy page."""
isPrivacyPage: Boolean!
"""True if the node is a revision of another node"""
isRevision: Boolean
"""Whether the node is a Term"""
isTermNode: Boolean!
"""The user that most recently edited the node"""
lastEditedBy: WpContentNodeToEditLastConnectionEdge
"""The permalink of the post"""
link: String
"""
A field used for ordering posts. This is typically used with nav menu items or
for special ordering of hierarchical content types.
"""
menuOrder: Int
"""
The local modified time for a post. If a post was recently updated the
modified field will change to match the corresponding time.
"""
modified: Date @dateformat
"""
The GMT modified time for a post. If a post was recently updated the modified
field will change to match the corresponding time in GMT.
"""
modifiedGmt: Date @dateformat
"""The parent of the node. The parent object can be of various types"""
wpParent: WpHierarchicalContentNodeToParentContentNodeConnectionEdge
"""Database id of the parent node"""
parentDatabaseId: Int
"""The globally unique identifier of the parent node."""
parentId: ID
"""The Yoast SEO data of the page"""
seo: WpPostTypeSEO
"""
The uri slug for the post. This is equivalent to the WP_Post->post_name
field and the post_name column in the database for the
"post_objects" table.
"""
slug: String
"""The current status of the object"""
status: String
"""The template assigned to a node of content"""
template: WpContentTemplate
"""
The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made.
"""
title: String
"""The unique resource identifier path"""
uri: String
nodeType: String
}