Fake Mirrors
    Preparing search index...

    Class TargetService

    Represents the target service.

    • Lists all targets for the campaign.

      Parameters

      • data: { campaignId: string }

      Returns Promise<TargetModel[]>

    • Reads the target by its ID.

      Parameters

      • data: { campaignId: string; targetId: string }

      Returns Promise<FullTargetModel>

    • Registers the service as a singleton in the DI container.

      Parameters

      • container: DIContainer

        The DI container to register in.

      Returns void