Source code for ace.centralize.graphql.selections.entity_link

"""
Predefined SelectionSets for EntityLink entity.
"""

from ace.core.graphql import SelectionSet


[docs] class EntityLinkSelections: """Reusable selection sets for EntityLink fields.""" # Minimal fields - just IDs MINIMAL = SelectionSet( "id", "entityTypeId", "entityId" ) # Standard fields for most operations STANDARD = SelectionSet( "id", "entityTypeId", "entityTypeName", "entityId", "relationRoleId" ) # Full fields - all available fields FULL = SelectionSet( "id", "entityTypeId", "entityTypeName", "entityId", "relationRoleId", "sharedPercent" )