-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
10427 lines (9922 loc) · 398 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
}
"A Field Group registered by ACF"
interface AcfFieldGroup {
"The name of the ACF Field Group"
fieldGroupName: String
}
"The author of a comment"
interface Commenter {
"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
}
"Nodes used to manage content"
interface ContentNode {
"Connection between the ContentNode type and the ContentType type"
contentType: ContentNodeToContentTypeConnectionEdge
"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 unique resource identifier path"
id: ID!
"Whether the node is a Content Node"
isContentNode: 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 Yoast SEO data of the ContentNode"
seo: PostTypeSEO
"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
}
"The template assigned to a node of content"
interface ContentTemplate {
"The name of the template"
templateName: String
}
"Object that can be identified with a Database ID"
interface DatabaseIdentifier {
"The unique identifier stored in the database"
databaseId: Int!
}
"Asset enqueued by the CMS"
interface EnqueuedAsset {
"@todo"
args: Boolean
"Dependencies needed to use this asset"
dependencies: [EnqueuedScript]
"Extra information needed for the script"
extra: String
"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
}
"Action object"
interface FormField {
"Creation date"
createdAt: Int
"The Id of the field"
databaseId: Int
"The Id of the field"
fieldId: Int
"Key of the field"
fieldKey: String
"Label of the field"
fieldLabel: String
"The globally unique identifier of the field"
id: ID!
"Key of the field"
key: String
"Label of the field"
label: String
"Position of the label"
labelPos: String
"Position order of the field"
order: Int
"Parent form id"
parentId: Int
"Identifiable?"
personallyIdentifiable: Boolean
"The field is required?"
required: Boolean
"type of the field"
type: String
"Update date"
updatedAt: Int
}
"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
"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
}
"Term node with hierarchical (parent/child) relationships"
interface HierarchicalTermNode {
"Database id of the parent node"
parentDatabaseId: Int
"The globally unique identifier of the parent node."
parentId: ID
}
"Nodes that can be linked to as Menu Items"
interface MenuItemLinkable {
"The unique resource identifier path"
databaseId: Int!
"The unique resource identifier path"
id: ID!
"The unique resource identifier path"
uri: String
}
"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
}
"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
}
"A node that supports the content editor"
interface NodeWithContentEditor {
"The content of the post."
content("Format of the field output" format: PostObjectFieldFormatEnum): String
}
"A node that can have an excerpt"
interface NodeWithExcerpt {
"The excerpt of the post."
excerpt("Format of the field output" format: PostObjectFieldFormatEnum): String
}
"A node that can have a featured image set"
interface NodeWithFeaturedImage {
"Connection between the ContentNode type and the ContentType type"
contentType: ContentNodeToContentTypeConnectionEdge
"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
"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 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 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 Yoast SEO data of the ContentNode"
seo: PostTypeSEO
"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
}
"A node that can have page attributes"
interface NodeWithPageAttributes {
"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 {
"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 template assigned to the node"
template: ContentTemplate
}
"A node that NodeWith a title"
interface NodeWithTitle {
"The Yoast SEO data of the ContentNode"
seo: PostTypeSEO
"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 {
"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]
}
"Terms are nodes within a Taxonomy, used to group and relate other nodes."
interface TermNode {
"The number of objects connected to the object"
count: Int
"Identifies the primary key from 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 unique resource identifier path"
id: ID!
"Whether the node is a Content Node"
isContentNode: 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
"An alphanumeric identifier for the object unique to its type."
slug: 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
}
"Any node that has a URI"
interface UniformResourceIdentifiable {
"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
}
"A union of Content Node Types that support revisions"
union ContentRevisionUnion = Page | Post
"Deprecated in favor of MenuItemLinkeable Interface"
union MenuItemObjectUnion =
| AvailableRadiusItem
| CarBodyItem
| Category
| ContactItem
| Fragment
| NavigationItem
| Page
| Post
| Service
| Tag
| UiItem
| WorkResultItem
"The AvailableRadiusItem type"
type AvailableRadiusItem implements ContentNode & DatabaseIdentifier & MenuItemLinkable & Node & NodeWithContentEditor & NodeWithFeaturedImage & NodeWithTemplate & NodeWithTitle & UniformResourceIdentifiable {
"The id field matches the WP_Post->ID field."
availableRadiusItemId: Int! @deprecated(reason: "Deprecated in favor of the databaseId field")
"The content of the post."
content("Format of the field output" format: PostObjectFieldFormatEnum): String
"Added to the GraphQL Schema because the ACF Field Group "Аддоны для контента" was set to Show in GraphQL."
contentAddons: AvailableRadiusItem_Contentaddons
"Connection between the ContentNode type and the ContentType type"
contentType: ContentNodeToContentTypeConnectionEdge
"The unique resource identifier path"
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
"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 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 identifier of the available_radii object."
id: ID!
"Whether the node is a Content Node"
isContentNode: 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
"Connection between the AvailableRadiusItem type and the AvailableRadiusItem type"
preview: AvailableRadiusItemToPreviewConnectionEdge
"The database id of the preview node"
previewRevisionDatabaseId: Int
"Whether the object is a node in the preview state"
previewRevisionId: ID
"The Yoast SEO data of the ContentNode"
seo: PostTypeSEO
"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 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
"The unique resource identifier path"
uri: String
}
"Connection between the AvailableRadiusItem type and the AvailableRadiusItem type"
type AvailableRadiusItemToPreviewConnectionEdge {
"The node of the connection, without the edges"
node: AvailableRadiusItem
}
"Field Group"
type AvailableRadiusItem_Contentaddons implements AcfFieldGroup {
content: String
"The name of the ACF Field Group"
fieldGroupName: String
"Не изменять"
fragmentId: String
highlightedtext: String
image: MediaItem
title: String
}
"Avatars are profile images for users. WordPress by default uses the Gravatar service to host and fetch avatars from."
type Avatar {
"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
"Whether the object is restricted from the current viewer"
isRestricted: Boolean
"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
}
"The CarBodyItem type"
type CarBodyItem implements ContentNode & DatabaseIdentifier & MenuItemLinkable & Node & NodeWithContentEditor & NodeWithFeaturedImage & NodeWithTemplate & NodeWithTitle & UniformResourceIdentifiable {
"The id field matches the WP_Post->ID field."
carBodyItemId: Int! @deprecated(reason: "Deprecated in favor of the databaseId field")
"The content of the post."
content("Format of the field output" format: PostObjectFieldFormatEnum): String
"Added to the GraphQL Schema because the ACF Field Group "Аддоны для контента" was set to Show in GraphQL."
contentAddons: CarBodyItem_Contentaddons
"Connection between the ContentNode type and the ContentType type"
contentType: ContentNodeToContentTypeConnectionEdge
"The unique resource identifier path"
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
"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 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 identifier of the car_bodies object."
id: ID!
"Whether the node is a Content Node"
isContentNode: 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
"Connection between the CarBodyItem type and the CarBodyItem type"
preview: CarBodyItemToPreviewConnectionEdge
"The database id of the preview node"
previewRevisionDatabaseId: Int
"Whether the object is a node in the preview state"
previewRevisionId: ID
"The Yoast SEO data of the ContentNode"
seo: PostTypeSEO
"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 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
"The unique resource identifier path"
uri: String
}
"Connection between the CarBodyItem type and the CarBodyItem type"
type CarBodyItemToPreviewConnectionEdge {
"The node of the connection, without the edges"
node: CarBodyItem
}
"Field Group"
type CarBodyItem_Contentaddons implements AcfFieldGroup {
content: String
"The name of the ACF Field Group"
fieldGroupName: String
"Не изменять"
fragmentId: String
highlightedtext: String
image: MediaItem
title: String
}
"The category type"
type Category implements DatabaseIdentifier & HierarchicalTermNode & MenuItemLinkable & Node & TermNode & UniformResourceIdentifiable {
"The 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
): CategoryToAncestorsCategoryConnection
"The id field matches the WP_Post->ID field."
categoryId: Int @deprecated(reason: "Deprecated in favor of databaseId")
"Connection between the category type and the category 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: CategoryToCategoryConnectionWhereArgs
): CategoryToCategoryConnection
"Connection between the category type and the ContentNode type"
contentNodes(
"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: CategoryToContentNodeConnectionWhereArgs
): CategoryToContentNodeConnection
"The number of objects connected to the object"
count: Int
"The unique resource identifier path"
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 unique resource identifier path"
id: ID!
"Whether the node is a Content Node"
isContentNode: 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
"Connection between the category type and the category type"
parent: CategoryToParentCategoryConnectionEdge
"Database id of the parent node"
parentDatabaseId: Int
"The globally unique identifier of the parent node."
parentId: ID
"Connection between the category type and the post type"
posts(
"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: CategoryToPostConnectionWhereArgs
): CategoryToPostConnection
"The Yoast SEO data of the Рубрики taxonomy."
seo: TaxonomySEO
"An alphanumeric identifier for the object unique to its type."
slug: String
"Connection between the category type and the Taxonomy type"
taxonomy: CategoryToTaxonomyConnectionEdge
"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 between the category type and the category type"
type CategoryToAncestorsCategoryConnection {
"Edges for the CategoryToAncestorsCategoryConnection connection"
edges: [CategoryToAncestorsCategoryConnectionEdge]
"The nodes of the connection, without the edges"
nodes: [Category]
"Information about pagination in a connection."
pageInfo: WPPageInfo
}
"An edge in a connection"
type CategoryToAncestorsCategoryConnectionEdge {
"A cursor for use in pagination"
cursor: String
"The item at the end of the edge"
node: Category
}
"Connection between the category type and the category type"
type CategoryToCategoryConnection {
"Edges for the CategoryToCategoryConnection connection"
edges: [CategoryToCategoryConnectionEdge]
"The nodes of the connection, without the edges"
nodes: [Category]
"Information about pagination in a connection."
pageInfo: WPPageInfo
}
"An edge in a connection"
type CategoryToCategoryConnectionEdge {
"A cursor for use in pagination"
cursor: String
"The item at the end of the edge"
node: Category
}
"Connection between the category type and the ContentNode type"
type CategoryToContentNodeConnection {
"Edges for the CategoryToContentNodeConnection connection"
edges: [CategoryToContentNodeConnectionEdge]
"The nodes of the connection, without the edges"
nodes: [ContentNode]
"Information about pagination in a connection."
pageInfo: WPPageInfo
}
"An edge in a connection"
type CategoryToContentNodeConnectionEdge {
"A cursor for use in pagination"
cursor: String
"The item at the end of the edge"
node: ContentNode
}
"Connection between the category type and the category type"
type CategoryToParentCategoryConnectionEdge {
"The node of the connection, without the edges"
node: Category
}
"Connection between the category type and the post type"
type CategoryToPostConnection {
"Edges for the CategoryToPostConnection connection"
edges: [CategoryToPostConnectionEdge]
"The nodes of the connection, without the edges"
nodes: [Post]
"Information about pagination in a connection."
pageInfo: WPPageInfo
}
"An edge in a connection"
type CategoryToPostConnectionEdge {
"A cursor for use in pagination"
cursor: String
"The item at the end of the edge"
node: Post
}
"Connection between the category type and the Taxonomy type"
type CategoryToTaxonomyConnectionEdge {
"The node of the connection, without the edges"
node: Taxonomy
}
"A Comment object"
type Comment implements DatabaseIdentifier & Node {
"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: CommentToCommenterConnectionEdge
"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
"ID for the comment, unique among comments."
commentId: Int @deprecated(reason: "Deprecated in favor of databaseId")
"Connection between the Comment type and the ContentNode type"
commentedOn: CommentToContentNodeConnectionEdge
"Content of the comment. This field is equivalent to WP_Comment->comment_content and the value matching the "comment_content" column in SQL."
content("Format of the field output" format: PostObjectFieldFormatEnum): 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: String
"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: String
"The globally unique identifier for the comment object"
id: ID!
"Whether the object is restricted from the current viewer"
isRestricted: Boolean
"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"
parent(
"Arguments for filtering the connection"
where: CommentToParentCommentConnectionWhereArgs
): CommentToParentCommentConnectionEdge
"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(
"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: CommentToCommentConnectionWhereArgs
): CommentToCommentConnection
"Type of comment. This field is equivalent to WP_Comment->comment_type and the value matching the "comment_type" column in SQL."
type: String
}
"A Comment Author object"
type CommentAuthor implements Commenter & Node {
"Identifies the primary key from the database."
databaseId: Int!
"The email for the comment author"
email: String
"The globally unique identifier for the comment author object"
id: ID!
"Whether the object is restricted from the current viewer"
isRestricted: Boolean
"The name for the comment author."
name: String
"The url the comment author."
url: String
}
"Connection between the Comment type and the Comment type"
type CommentToCommentConnection {
"Edges for the CommentToCommentConnection connection"
edges: [CommentToCommentConnectionEdge]
"The nodes of the connection, without the edges"
nodes: [Comment]
"Information about pagination in a connection."
pageInfo: WPPageInfo
}
"An edge in a connection"
type CommentToCommentConnectionEdge {
"A cursor for use in pagination"
cursor: String
"The item at the end of the edge"
node: Comment
}
"Connection between the Comment type and the Commenter type"
type CommentToCommenterConnectionEdge {
"The node of the connection, without the edges"
node: Commenter
}
"Connection between the Comment type and the ContentNode type"
type CommentToContentNodeConnectionEdge {
"The node of the connection, without the edges"
node: ContentNode
}
"Connection between the Comment type and the Comment type"
type CommentToParentCommentConnectionEdge {
"The node of the connection, without the edges"