feat: AcfLink / AcfLinkButton components

This commit is contained in:
2026-01-30 10:24:06 -05:00
parent 6b17201f60
commit 115a5d2d38
6 changed files with 152 additions and 1 deletions

View File

@@ -51,6 +51,18 @@ interface AcfFieldGroupFields {
fieldGroupName: String @deprecated(reason: "Use __typename instead")
}
"""ACF Link field"""
type AcfLink {
"""The target of the link (_blank, etc)"""
target: String
"""The title of the link"""
title: String
"""The url of the link"""
url: String
}
"""
Connection between the GroupAbstractBuilderSectionsHeroSplitLayout_Fields type and the MediaItem type
"""
@@ -3711,12 +3723,43 @@ type GroupSiteOptions implements AcfFieldGroup & AcfFieldGroupFields & GroupSite
"""The name of the field group"""
fieldGroupName: String @deprecated(reason: "Use __typename instead")
"""
Field of the "group" Field Type added to the schema as part of the "GroupSiteOptions" Field Group
"""
links: GroupSiteOptionsLinks
"""
Field of the "phone" Field Type added to the schema as part of the "GroupSiteOptions" Field Group
"""
phoneNumber: AcfPhone!
}
"""
The "GroupSiteOptionsLinks" Field Group. Added to the Schema by "WPGraphQL for ACF".
"""
type GroupSiteOptionsLinks implements AcfFieldGroup & AcfFieldGroupFields & GroupSiteOptionsLinks_Fields {
"""
Field of the "link" Field Type added to the schema as part of the "GroupSiteOptionsLinks" Field Group
"""
contact: AcfLink!
"""The name of the field group"""
fieldGroupName: String @deprecated(reason: "Use __typename instead")
}
"""
Interface representing fields of the ACF "GroupSiteOptionsLinks" Field Group
"""
interface GroupSiteOptionsLinks_Fields implements AcfFieldGroup & AcfFieldGroupFields {
"""
Field of the "link" Field Type added to the schema as part of the "GroupSiteOptionsLinks" Field Group
"""
contact: AcfLink!
"""The name of the field group"""
fieldGroupName: String @deprecated(reason: "Use __typename instead")
}
"""
Interface representing fields of the ACF "GroupSiteOptions" Field Group
"""
@@ -3729,6 +3772,11 @@ interface GroupSiteOptions_Fields implements AcfFieldGroup & AcfFieldGroupFields
"""The name of the field group"""
fieldGroupName: String @deprecated(reason: "Use __typename instead")
"""
Field of the "group" Field Type added to the schema as part of the "GroupSiteOptions" Field Group
"""
links: GroupSiteOptionsLinks
"""
Field of the "phone" Field Type added to the schema as part of the "GroupSiteOptions" Field Group
"""