Fake Mirrors
    Preparing search index...

    Interface EnabledTargetModel

    Represents the enabled target model.

    interface EnabledTargetModel {
        accessLevel: "transparent" | "landing";
        campaignId: string;
        createdAt: Date;
        donorDomain: string;
        donorPort: number;
        donorSecure: boolean;
        donorSub: string;
        isEnabled: true;
        label: string;
        messageCount: number;
        mirrorDomain: string;
        mirrorPort: number;
        mirrorSecure: boolean;
        mirrorSub: string;
        targetId: string;
        get donorHost(): string;
        get donorHostname(): string;
        get donorProtocol(): string;
        get donorUrl(): string;
        get mirrorHost(): string;
        get mirrorHostname(): string;
        get mirrorProtocol(): string;
        get mirrorUrl(): string;
    }

    Hierarchy (View Summary)

    accessLevel: "transparent" | "landing"

    The type of access level.

    campaignId: string

    The ID of the campaign this target belongs to.

    createdAt: Date

    The date and time when the target was created.

    donorDomain: string

    The donor domain name.

    donorPort: number

    The donor server port.

    donorSecure: boolean

    The flag indicating if the donor server uses HTTPS.

    donorSub: string

    The donor subdomain.

    isEnabled: true

    Guaranteed to be true for enabled targets.

    label: string

    The label for categorization.

    messageCount: number

    The total number of messages processed for this target.

    mirrorDomain: string

    The mirror domain.

    mirrorPort: number

    The mirror server port.

    mirrorSecure: boolean

    The flag indicating if the mirror server uses HTTPS.

    mirrorSub: string

    The mirror subdomain.

    targetId: string

    The unique identifier for the target.

    • get donorHost(): string

      The donor host.

      Returns string

      The concatenation of donor sub-domain, domain and port.

    • get donorHostname(): string

      The donor hostname.

      Returns string

      The concatenation of donor sub-domain and domain.

    • get donorProtocol(): string

      The donor protocol.

      Returns string

      The 'https:' if donor is secure, 'http:' otherwise.

    • get donorUrl(): string

      The full donor URL.

      Returns string

      The concatenation of donor protocol and host.

    • get mirrorHost(): string

      The mirror host.

      Returns string

      The concatenation of mirror sub-domain, domain and port.

    • get mirrorHostname(): string

      The mirror hostname.

      Returns string

      The concatenation of mirror sub-domain and domain.

    • get mirrorProtocol(): string

      The mirror protocol.

      Returns string

      The 'https:' if mirror is secure, 'http:' otherwise.

    • get mirrorUrl(): string

      The full mirror URL.

      Returns string

      The concatenation of mirror protocol and host.