Skip to content

Commit

Permalink
Make all helper functions publicly accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Dec 25, 2024
1 parent 5ffc57a commit 274ddd1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

public extension TelemetryDeck {
static func acquiredUser(
extension TelemetryDeck {
public static func acquiredUser(
channel: String,
parameters: [String: String] = [:],
customUserID: String? = nil
Expand All @@ -17,7 +17,7 @@ public extension TelemetryDeck {
)
}

static func leadStarted(
public static func leadStarted(
leadID: String,
parameters: [String: String] = [:],
customUserID: String? = nil
Expand All @@ -31,7 +31,7 @@ public extension TelemetryDeck {
)
}

static func leadConverted(
public static func leadConverted(
leadID: String,
parameters: [String: String] = [:],
customUserID: String? = nil
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

extension TelemetryDeck {
static func onboardingCompleted(
public static func onboardingCompleted(
parameters: [String: String] = [:],
customUserID: String? = nil
) {
Expand All @@ -14,7 +14,7 @@ extension TelemetryDeck {
)
}

static func coreFeatureUsed(
public static func coreFeatureUsed(
featureName: String,
parameters: [String: String] = [:],
customUserID: String? = nil
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

extension TelemetryDeck {
static func referralSent(
public static func referralSent(
receiversCount: Int = 1,
kind: String? = nil,
parameters: [String: String] = [:],
Expand All @@ -22,7 +22,7 @@ extension TelemetryDeck {
}

// TODO: explicitly mention how this can be used for NPS Score or for App Store like ratings

Check failure on line 24 in Sources/TelemetryDeck/PirateMetrics/TelemetryDeck+Referral.swift

View workflow job for this annotation

GitHub Actions / Lint Code

TODOs should be resolved (explicitly mention how this ca...) (todo)
static func userRatingSubmitted(
public static func userRatingSubmitted(
rating: Int,
comment: String? = nil,
parameters: [String: String] = [:],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

extension TelemetryDeck {
static func paywallShown(
public static func paywallShown(
reason: String,
parameters: [String: String] = [:],
customUserID: String? = nil
Expand Down

0 comments on commit 274ddd1

Please sign in to comment.