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

"""
Predefined SelectionSets for Client and related entities.
"""

from ace.core.graphql import SelectionSet


[docs] class ClientSelections: """Reusable selection sets for Client (GqlClientDetail) fields.""" MINIMAL = SelectionSet( "clientId", ) STANDARD = SelectionSet( "clientId", "initialDivisionId", ) # Note: audit fields use the "Utc" suffix in this subgraph # (creationDateTimeUtc), unlike other subgraphs that use "UTC". FULL = SelectionSet( "clientId", "initialDivisionId", "creationDateTimeUtc", "creationUserId", "lastUpdateDateTimeUtc", "lastUpdateUserId", "deletionDateTimeUtc", "deletionUserId", )