feat: Site options page & field group

This commit is contained in:
2026-01-22 08:07:10 -05:00
parent d7cf08db00
commit 489ac82faa
7 changed files with 352 additions and 176 deletions

View File

@@ -51,6 +51,21 @@ interface AcfFieldGroupFields {
fieldGroupName: String @deprecated(reason: "Use __typename instead")
}
"""Options Page registered by ACF"""
interface AcfOptionsPage implements Node {
"""The globally unique ID for the object"""
id: ID!
""""""
menuTitle: String
""""""
pageTitle: String
""""""
parentId: String
}
"""The Headless Login authentication data."""
type AuthenticationData {
"""A new authentication token to use in future requests."""
@@ -3480,6 +3495,32 @@ interface GroupPostPage_Fields implements AcfFieldGroup & AcfFieldGroupFields &
sections: [GroupAbstractBuilderSections_Layout]
}
"""
The "GroupSite" Field Group. Added to the Schema by "WPGraphQL for ACF".
"""
type GroupSite implements AcfFieldGroup & AcfFieldGroupFields & GroupSite_Fields {
"""
Field of the "email" Field Type added to the schema as part of the "GroupSite" Field Group
"""
email: String!
"""The name of the field group"""
fieldGroupName: String @deprecated(reason: "Use __typename instead")
}
"""
Interface representing fields of the ACF "GroupSite" Field Group
"""
interface GroupSite_Fields implements AcfFieldGroup & AcfFieldGroupFields {
"""
Field of the "email" Field Type added to the schema as part of the "GroupSite" Field Group
"""
email: String!
"""The name of the field group"""
fieldGroupName: String @deprecated(reason: "Use __typename instead")
}
"""
Content that can be organized in a parent-child structure. Provides fields for navigating up and down the hierarchy and maintaining structured relationships.
"""
@@ -5926,6 +5967,23 @@ interface OneToOneConnection implements Edge {
node: Node!
}
type OptionsSite implements AcfOptionsPage & Node & WithAcfGroupSite {
"""Fields of the GroupSite ACF Field Group"""
groupSite: GroupSite
"""The globally unique ID for the object"""
id: ID!
""""""
menuTitle: String
""""""
pageTitle: String
""""""
parentId: String
}
"""
Sort direction for ordered results. Determines whether items are returned in ascending or descending order.
"""
@@ -8436,7 +8494,7 @@ interface Previewable {
}
"""The root entry point into the Graph"""
type Query {
type Query implements WithAcfOptionsPageOptionsSite {
"""Entry point to get all settings for the site"""
allSettings: Settings
@@ -8721,6 +8779,9 @@ type Query {
uri: String!
): UniformResourceIdentifiable
""""""
optionsSite: OptionsSite
"""An object of the page Type. """
page(
"""
@@ -14080,6 +14141,20 @@ interface WithAcfGroupPostPage {
groupPostPage: GroupPostPage
}
"""
Provides access to fields of the "GroupSite" ACF Field Group via the "groupSite" field
"""
interface WithAcfGroupSite {
"""Fields of the GroupSite ACF Field Group"""
groupSite: GroupSite
}
"""Access point for the "OptionsSite" ACF Options Page"""
interface WithAcfOptionsPageOptionsSite {
""""""
optionsSite: OptionsSite
}
"""The writing setting type"""
type WritingSettings {
"""Catégorie darticle par défaut."""