Skip to main content

ZoneService

Contains methods relating to Zone entities.

Signature

constructor

method(connection: TransactionalConnection, configService: ConfigService, eventBus: EventBus, translator: TranslatorService, listQueryBuilder: ListQueryBuilder, customFieldRelationService: CustomFieldRelationService) => ZoneService

findAll

method(ctx: RequestContext, options?: ListQueryOptions<Zone>) => Promise<PaginatedList<Zone>>

findOne

method(ctx: RequestContext, zoneId: ID) => Promise<Zone | undefined>

getAllWithMembers

method(ctx: RequestContext) => Promise<Zone[]>

create

method(ctx: RequestContext, input: CreateZoneInput) => Promise<Zone>

update

method(ctx: RequestContext, input: UpdateZoneInput) => Promise<Zone>

delete

method(ctx: RequestContext, id: ID) => Promise<DeletionResponse>

addMembersToZone

method(ctx: RequestContext, { memberIds, zoneId }: MutationAddMembersToZoneArgs) => Promise<Zone>

removeMembersFromZone

method(ctx: RequestContext, { memberIds, zoneId }: MutationRemoveMembersFromZoneArgs) => Promise<Zone>
Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page