-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
9343 lines (8870 loc) · 384 KB
/
schema.graphql
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
# This file was generated. Do not edit manually.
schema {
query: RootQuery
mutation: RootMutation
}
"Connection to category Nodes"
interface CategoryConnection {
"A list of edges (relational context) between RootQuery and connected category Nodes"
edges: [CategoryConnectionEdge!]!
"A list of connected category Nodes"
nodes: [Category!]!
"Information about pagination in a connection."
pageInfo: CategoryConnectionPageInfo!
}
"Edge between a Node and a connected category"
interface CategoryConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected category Node"
node: Category!
}
"Page Info on the connected CategoryConnectionEdge"
interface CategoryConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Connection to Comment Nodes"
interface CommentConnection {
"A list of edges (relational context) between RootQuery and connected Comment Nodes"
edges: [CommentConnectionEdge!]!
"A list of connected Comment Nodes"
nodes: [Comment!]!
"Information about pagination in a connection."
pageInfo: CommentConnectionPageInfo!
}
"Edge between a Node and a connected Comment"
interface CommentConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected Comment Node"
node: Comment!
}
"Page Info on the connected CommentConnectionEdge"
interface CommentConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"The author of a comment"
interface Commenter {
"Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument."
avatar: Avatar
"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!
"Whether the author information is considered restricted. (not fully public)"
isRestricted: Boolean
"The name of the author of a comment."
name: String
"The url of the author of a comment."
url: String
}
"Edge between a Node and a connected Commenter"
interface CommenterConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected Commenter Node"
node: Commenter!
}
"A plural connection from one Node Type in the Graph to another Node Type, with support for relational data via "edges"."
interface Connection {
"A list of edges (relational context) between connected nodes"
edges: [Edge!]!
"A list of connected nodes"
nodes: [Node!]!
"Information about pagination in a connection."
pageInfo: PageInfo!
}
"Nodes used to manage content"
interface ContentNode {
"Connection between the ContentNode type and the ContentType type"
contentType: ContentNodeToContentTypeConnectionEdge
"The name of the Content Type the node belongs to"
contentTypeName: String!
"The ID of the node in the database."
databaseId: Int!
"Post publishing date."
date: String
"The publishing date set in GMT."
dateGmt: String
"The desired slug of the post"
desiredSlug: String
"If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds"
editingLockedBy: ContentNodeToEditLockConnectionEdge
"The RSS enclosure for the object"
enclosure: String
"Connection between the ContentNode type and the EnqueuedScript type"
enqueuedScripts(
"Cursor used along with the \"first\" argument to reference where in the dataset to get data"
after: String,
"Cursor used along with the \"last\" argument to reference where in the dataset to get data"
before: String,
"The number of items to return after the referenced \"after\" cursor"
first: Int,
"The number of items to return before the referenced \"before\" cursor"
last: Int
): ContentNodeToEnqueuedScriptConnection
"Connection between the ContentNode type and the EnqueuedStylesheet type"
enqueuedStylesheets(
"Cursor used along with the \"first\" argument to reference where in the dataset to get data"
after: String,
"Cursor used along with the \"last\" argument to reference where in the dataset to get data"
before: String,
"The number of items to return after the referenced \"after\" cursor"
first: Int,
"The number of items to return before the referenced \"before\" cursor"
last: Int
): ContentNodeToEnqueuedStylesheetConnection
"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 globally unique ID for the object"
id: ID!
"Whether the node is a Comment"
isComment: Boolean!
"Whether the node is a Content Node"
isContentNode: Boolean!
"Whether the node represents the front page."
isFrontPage: Boolean!
"Whether the node represents the blog page."
isPostsPage: Boolean!
"Whether the object is a node in the preview state"
isPreview: Boolean
"Whether the object is restricted from the current viewer"
isRestricted: Boolean
"Whether the node is a Term"
isTermNode: Boolean!
"The user that most recently edited the node"
lastEditedBy: ContentNodeToEditLastConnectionEdge
"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: String
"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: String
"The database id of the preview node"
previewRevisionDatabaseId: Int
"Whether the object is a node in the preview state"
previewRevisionId: ID
"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: ContentTemplate
"The unique resource identifier path"
uri: String
}
"Connection to ContentNode Nodes"
interface ContentNodeConnection {
"A list of edges (relational context) between ContentType and connected ContentNode Nodes"
edges: [ContentNodeConnectionEdge!]!
"A list of connected ContentNode Nodes"
nodes: [ContentNode!]!
"Information about pagination in a connection."
pageInfo: ContentNodeConnectionPageInfo!
}
"Edge between a Node and a connected ContentNode"
interface ContentNodeConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected ContentNode Node"
node: ContentNode!
}
"Page Info on the connected ContentNodeConnectionEdge"
interface ContentNodeConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"The template assigned to a node of content"
interface ContentTemplate {
"The name of the template"
templateName: String
}
"Connection to ContentType Nodes"
interface ContentTypeConnection {
"A list of edges (relational context) between RootQuery and connected ContentType Nodes"
edges: [ContentTypeConnectionEdge!]!
"A list of connected ContentType Nodes"
nodes: [ContentType!]!
"Information about pagination in a connection."
pageInfo: ContentTypeConnectionPageInfo!
}
"Edge between a Node and a connected ContentType"
interface ContentTypeConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected ContentType Node"
node: ContentType!
}
"Page Info on the connected ContentTypeConnectionEdge"
interface ContentTypeConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Object that can be identified with a Database ID"
interface DatabaseIdentifier {
"The unique identifier stored in the database"
databaseId: Int!
}
"Relational context between connected nodes"
interface Edge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected node"
node: Node!
}
"Asset enqueued by the CMS"
interface EnqueuedAsset {
"The inline code to be run after the asset is loaded."
after: [String]
"Deprecated"
args: Boolean @deprecated(reason: "Use `EnqueuedAsset.media` instead.")
"The inline code to be run before the asset is loaded."
before: [String]
"The HTML conditional comment for the enqueued asset. E.g. IE 6, lte IE 7, etc"
conditional: String
"Dependencies needed to use this asset"
dependencies: [EnqueuedAsset]
"Extra information needed for the script"
extra: String @deprecated(reason: "Use `EnqueuedScript.extraData` instead.")
"The handle of the enqueued asset"
handle: String
"The ID of the enqueued asset"
id: ID!
"The source of the asset"
src: String
"The version of the enqueued asset"
version: String
}
"Connection to EnqueuedScript Nodes"
interface EnqueuedScriptConnection {
"A list of edges (relational context) between ContentNode and connected EnqueuedScript Nodes"
edges: [EnqueuedScriptConnectionEdge!]!
"A list of connected EnqueuedScript Nodes"
nodes: [EnqueuedScript!]!
"Information about pagination in a connection."
pageInfo: EnqueuedScriptConnectionPageInfo!
}
"Edge between a Node and a connected EnqueuedScript"
interface EnqueuedScriptConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected EnqueuedScript Node"
node: EnqueuedScript!
}
"Page Info on the connected EnqueuedScriptConnectionEdge"
interface EnqueuedScriptConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Connection to EnqueuedStylesheet Nodes"
interface EnqueuedStylesheetConnection {
"A list of edges (relational context) between ContentNode and connected EnqueuedStylesheet Nodes"
edges: [EnqueuedStylesheetConnectionEdge!]!
"A list of connected EnqueuedStylesheet Nodes"
nodes: [EnqueuedStylesheet!]!
"Information about pagination in a connection."
pageInfo: EnqueuedStylesheetConnectionPageInfo!
}
"Edge between a Node and a connected EnqueuedStylesheet"
interface EnqueuedStylesheetConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected EnqueuedStylesheet Node"
node: EnqueuedStylesheet!
}
"Page Info on the connected EnqueuedStylesheetConnectionEdge"
interface EnqueuedStylesheetConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Content node with hierarchical (parent/child) relationships"
interface HierarchicalContentNode {
"Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root)."
ancestors(
"Cursor used along with the \"first\" argument to reference where in the dataset to get data"
after: String,
"Cursor used along with the \"last\" argument to reference where in the dataset to get data"
before: String,
"The number of items to return after the referenced \"after\" cursor"
first: Int,
"The number of items to return before the referenced \"before\" cursor"
last: Int,
"Arguments for filtering the connection"
where: HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs
): HierarchicalContentNodeToContentNodeAncestorsConnection
"Connection between the HierarchicalContentNode type and the ContentNode type"
children(
"Cursor used along with the \"first\" argument to reference where in the dataset to get data"
after: String,
"Cursor used along with the \"last\" argument to reference where in the dataset to get data"
before: String,
"The number of items to return after the referenced \"after\" cursor"
first: Int,
"The number of items to return before the referenced \"before\" cursor"
last: Int,
"Arguments for filtering the connection"
where: HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs
): HierarchicalContentNodeToContentNodeChildrenConnection
"Connection between the ContentNode type and the ContentType type"
contentType: ContentNodeToContentTypeConnectionEdge
"The name of the Content Type the node belongs to"
contentTypeName: String!
"The unique identifier stored in the database"
databaseId: Int!
"Post publishing date."
date: String
"The publishing date set in GMT."
dateGmt: String
"The desired slug of the post"
desiredSlug: String
"If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds"
editingLockedBy: ContentNodeToEditLockConnectionEdge
"The RSS enclosure for the object"
enclosure: String
"Connection between the ContentNode type and the EnqueuedScript type"
enqueuedScripts(
"Cursor used along with the \"first\" argument to reference where in the dataset to get data"
after: String,
"Cursor used along with the \"last\" argument to reference where in the dataset to get data"
before: String,
"The number of items to return after the referenced \"after\" cursor"
first: Int,
"The number of items to return before the referenced \"before\" cursor"
last: Int
): ContentNodeToEnqueuedScriptConnection
"Connection between the ContentNode type and the EnqueuedStylesheet type"
enqueuedStylesheets(
"Cursor used along with the \"first\" argument to reference where in the dataset to get data"
after: String,
"Cursor used along with the \"last\" argument to reference where in the dataset to get data"
before: String,
"The number of items to return after the referenced \"after\" cursor"
first: Int,
"The number of items to return before the referenced \"before\" cursor"
last: Int
): ContentNodeToEnqueuedStylesheetConnection
"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 globally unique ID for the object"
id: ID!
"Whether the node is a Comment"
isComment: Boolean!
"Whether the node is a Content Node"
isContentNode: Boolean!
"Whether the node represents the front page."
isFrontPage: Boolean!
"Whether the node represents the blog page."
isPostsPage: Boolean!
"Whether the object is a node in the preview state"
isPreview: Boolean
"Whether the object is restricted from the current viewer"
isRestricted: Boolean
"Whether the node is a Term"
isTermNode: Boolean!
"The user that most recently edited the node"
lastEditedBy: ContentNodeToEditLastConnectionEdge
"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: String
"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: String
"The parent of the node. The parent object can be of various types"
parent: HierarchicalContentNodeToParentContentNodeConnectionEdge
"Database id of the parent node"
parentDatabaseId: Int
"The globally unique identifier of the parent node."
parentId: ID
"The database id of the preview node"
previewRevisionDatabaseId: Int
"Whether the object is a node in the preview state"
previewRevisionId: ID
"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: ContentTemplate
"The unique resource identifier path"
uri: String
}
"Node with hierarchical (parent/child) relationships"
interface HierarchicalNode {
"The unique identifier stored in the database"
databaseId: Int!
"The globally unique ID for the object"
id: ID!
"Database id of the parent node"
parentDatabaseId: Int
"The globally unique identifier of the parent node."
parentId: ID
}
"Term node with hierarchical (parent/child) relationships"
interface HierarchicalTermNode {
"The number of objects connected to the object"
count: Int
"The unique identifier stored in the database"
databaseId: Int!
"The description of the object"
description: String
"Connection between the TermNode type and the EnqueuedScript type"
enqueuedScripts(
"Cursor used along with the \"first\" argument to reference where in the dataset to get data"
after: String,
"Cursor used along with the \"last\" argument to reference where in the dataset to get data"
before: String,
"The number of items to return after the referenced \"after\" cursor"
first: Int,
"The number of items to return before the referenced \"before\" cursor"
last: Int
): TermNodeToEnqueuedScriptConnection
"Connection between the TermNode type and the EnqueuedStylesheet type"
enqueuedStylesheets(
"Cursor used along with the \"first\" argument to reference where in the dataset to get data"
after: String,
"Cursor used along with the \"last\" argument to reference where in the dataset to get data"
before: String,
"The number of items to return after the referenced \"after\" cursor"
first: Int,
"The number of items to return before the referenced \"before\" cursor"
last: Int
): TermNodeToEnqueuedStylesheetConnection
"The globally unique ID for the object"
id: ID!
"Whether the node is a Comment"
isComment: Boolean!
"Whether the node is a Content Node"
isContentNode: Boolean!
"Whether the node represents the front page."
isFrontPage: Boolean!
"Whether the node represents the blog page."
isPostsPage: Boolean!
"Whether the object is restricted from the current viewer"
isRestricted: Boolean
"Whether the node is a Term"
isTermNode: Boolean!
"The link to the term"
link: String
"The human friendly name of the object."
name: String
"Database id of the parent node"
parentDatabaseId: Int
"The globally unique identifier of the parent node."
parentId: ID
"An alphanumeric identifier for the object unique to its type."
slug: String
"The name of the taxonomy that the object is associated with"
taxonomyName: String
"The ID of the term group that this term object belongs to"
termGroupId: Int
"The taxonomy ID that the object is associated with"
termTaxonomyId: Int
"The unique resource identifier path"
uri: String
}
"Connection to mediaItem Nodes"
interface MediaItemConnection {
"A list of edges (relational context) between RootQuery and connected mediaItem Nodes"
edges: [MediaItemConnectionEdge!]!
"A list of connected mediaItem Nodes"
nodes: [MediaItem!]!
"Information about pagination in a connection."
pageInfo: MediaItemConnectionPageInfo!
}
"Edge between a Node and a connected mediaItem"
interface MediaItemConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected mediaItem Node"
node: MediaItem!
}
"Page Info on the connected MediaItemConnectionEdge"
interface MediaItemConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Connection to Menu Nodes"
interface MenuConnection {
"A list of edges (relational context) between RootQuery and connected Menu Nodes"
edges: [MenuConnectionEdge!]!
"A list of connected Menu Nodes"
nodes: [Menu!]!
"Information about pagination in a connection."
pageInfo: MenuConnectionPageInfo!
}
"Edge between a Node and a connected Menu"
interface MenuConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected Menu Node"
node: Menu!
}
"Page Info on the connected MenuConnectionEdge"
interface MenuConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Connection to MenuItem Nodes"
interface MenuItemConnection {
"A list of edges (relational context) between RootQuery and connected MenuItem Nodes"
edges: [MenuItemConnectionEdge!]!
"A list of connected MenuItem Nodes"
nodes: [MenuItem!]!
"Information about pagination in a connection."
pageInfo: MenuItemConnectionPageInfo!
}
"Edge between a Node and a connected MenuItem"
interface MenuItemConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected MenuItem Node"
node: MenuItem!
}
"Page Info on the connected MenuItemConnectionEdge"
interface MenuItemConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Nodes that can be linked to as Menu Items"
interface MenuItemLinkable {
"The unique identifier stored in the database"
databaseId: Int!
"The globally unique ID for the object"
id: ID!
"Whether the node is a Comment"
isComment: Boolean!
"Whether the node is a Content Node"
isContentNode: Boolean!
"Whether the node represents the front page."
isFrontPage: Boolean!
"Whether the node represents the blog page."
isPostsPage: Boolean!
"Whether the node is a Term"
isTermNode: Boolean!
"The unique resource identifier path"
uri: String
}
"Edge between a Node and a connected MenuItemLinkable"
interface MenuItemLinkableConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected MenuItemLinkable Node"
node: MenuItemLinkable!
}
"An object with an ID"
interface Node {
"The globally unique ID for the object"
id: ID!
}
"A node that can have an author assigned to it"
interface NodeWithAuthor {
"Connection between the NodeWithAuthor type and the User type"
author: NodeWithAuthorToUserConnectionEdge
"The database identifier of the author of the node"
authorDatabaseId: Int
"The globally unique identifier of the author of the node"
authorId: ID
"The globally unique ID for the object"
id: ID!
}
"A node that can have comments associated with it"
interface NodeWithComments {
"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
"The globally unique ID for the object"
id: ID!
}
"A node that supports the content editor"
interface NodeWithContentEditor {
"The content of the post."
content(
"Format of the field output"
format: PostObjectFieldFormatEnum
): String
"The globally unique ID for the object"
id: ID!
}
"A node that can have an excerpt"
interface NodeWithExcerpt {
"The excerpt of the post."
excerpt(
"Format of the field output"
format: PostObjectFieldFormatEnum
): String
"The globally unique ID for the object"
id: ID!
}
"A node that can have a featured image set"
interface NodeWithFeaturedImage {
"Connection between the NodeWithFeaturedImage type and the MediaItem type"
featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge
"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 globally unique ID for the object"
id: ID!
}
"A node that can have page attributes"
interface NodeWithPageAttributes {
"The globally unique ID for the object"
id: ID!
"A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types."
menuOrder: Int
}
"A node that can have revisions"
interface NodeWithRevisions {
"The globally unique ID for the object"
id: ID!
"True if the node is a revision of another node"
isRevision: Boolean
"If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node."
revisionOf: NodeWithRevisionsToContentNodeConnectionEdge
}
"A node that can have a template associated with it"
interface NodeWithTemplate {
"The globally unique ID for the object"
id: ID!
"The template assigned to the node"
template: ContentTemplate
}
"A node that NodeWith a title"
interface NodeWithTitle {
"The globally unique ID for the object"
id: ID!
"The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made."
title(
"Format of the field output"
format: PostObjectFieldFormatEnum
): String
}
"A node that can have trackbacks and pingbacks"
interface NodeWithTrackbacks {
"The globally unique ID for the object"
id: ID!
"Whether the pings are open or closed for this particular post."
pingStatus: String
"URLs that have been pinged."
pinged: [String]
"URLs queued to be pinged."
toPing: [String]
}
"A singular connection from one Node to another, with support for relational data on the "edge" of the connection."
interface OneToOneConnection {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected node"
node: Node!
}
"Connection to page Nodes"
interface PageConnection {
"A list of edges (relational context) between RootQuery and connected page Nodes"
edges: [PageConnectionEdge!]!
"A list of connected page Nodes"
nodes: [Page!]!
"Information about pagination in a connection."
pageInfo: PageConnectionPageInfo!
}
"Edge between a Node and a connected page"
interface PageConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected page Node"
node: Page!
}
"Page Info on the connected PageConnectionEdge"
interface PageConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Information about pagination in a connection."
interface PageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Connection to Plugin Nodes"
interface PluginConnection {
"A list of edges (relational context) between RootQuery and connected Plugin Nodes"
edges: [PluginConnectionEdge!]!
"A list of connected Plugin Nodes"
nodes: [Plugin!]!
"Information about pagination in a connection."
pageInfo: PluginConnectionPageInfo!
}
"Edge between a Node and a connected Plugin"
interface PluginConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected Plugin Node"
node: Plugin!
}
"Page Info on the connected PluginConnectionEdge"
interface PluginConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Connection to post Nodes"
interface PostConnection {
"A list of edges (relational context) between RootQuery and connected post Nodes"
edges: [PostConnectionEdge!]!
"A list of connected post Nodes"
nodes: [Post!]!
"Information about pagination in a connection."
pageInfo: PostConnectionPageInfo!
}
"Edge between a Node and a connected post"
interface PostConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected post Node"
node: Post!
}
"Page Info on the connected PostConnectionEdge"
interface PostConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Connection to postFormat Nodes"
interface PostFormatConnection {
"A list of edges (relational context) between RootQuery and connected postFormat Nodes"
edges: [PostFormatConnectionEdge!]!
"A list of connected postFormat Nodes"
nodes: [PostFormat!]!
"Information about pagination in a connection."
pageInfo: PostFormatConnectionPageInfo!
}
"Edge between a Node and a connected postFormat"
interface PostFormatConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected postFormat Node"
node: PostFormat!
}
"Page Info on the connected PostFormatConnectionEdge"
interface PostFormatConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Nodes that can be seen in a preview (unpublished) state."
interface Previewable {
"Whether the object is a node in the preview state"
isPreview: Boolean
"The database id of the preview node"
previewRevisionDatabaseId: Int
"Whether the object is a node in the preview state"
previewRevisionId: ID
}
"Connection to tag Nodes"
interface TagConnection {
"A list of edges (relational context) between RootQuery and connected tag Nodes"
edges: [TagConnectionEdge!]!
"A list of connected tag Nodes"
nodes: [Tag!]!
"Information about pagination in a connection."
pageInfo: TagConnectionPageInfo!
}
"Edge between a Node and a connected tag"
interface TagConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected tag Node"
node: Tag!
}
"Page Info on the connected TagConnectionEdge"
interface TagConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Connection to Taxonomy Nodes"
interface TaxonomyConnection {
"A list of edges (relational context) between RootQuery and connected Taxonomy Nodes"
edges: [TaxonomyConnectionEdge!]!
"A list of connected Taxonomy Nodes"
nodes: [Taxonomy!]!
"Information about pagination in a connection."
pageInfo: TaxonomyConnectionPageInfo!
}
"Edge between a Node and a connected Taxonomy"
interface TaxonomyConnectionEdge {
"Opaque reference to the nodes position in the connection. Value can be used with pagination args."
cursor: String
"The connected Taxonomy Node"
node: Taxonomy!
}
"Page Info on the connected TaxonomyConnectionEdge"
interface TaxonomyConnectionPageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Get information about the offset pagination state in the current connection"
offsetPagination: OffsetPaginationPageInfo