Publish Score iOS SDK 0.3.0
This commit is contained in:
19
Sources/ScoreTracker/Exports.swift
Normal file
19
Sources/ScoreTracker/Exports.swift
Normal file
@@ -0,0 +1,19 @@
|
||||
import ScoreTrackerKit
|
||||
|
||||
// The types in ScoreClient's public API live in the ScoreTrackerKit framework.
|
||||
// The integration guide has apps `import ScoreTracker` only, which left them
|
||||
// unable to name any of these, so `Events.shared.PollVote` and
|
||||
// `requires: [ConsentCategory.advertising]` didn't compile in an app (#485).
|
||||
// Re-exported by name; an app that also imports ScoreTrackerKit sees the same
|
||||
// types, because a module's declarations shadow those of the modules it imports.
|
||||
|
||||
/// Generated loyalty event definitions (`Events.shared.PollVote`, …), shared
|
||||
/// with the web and Android trackers.
|
||||
public typealias Events = ScoreTrackerKit.Events
|
||||
public typealias EventDefinition = ScoreTrackerKit.EventDefinition
|
||||
public typealias ConsentCategory = ScoreTrackerKit.ConsentCategory
|
||||
public typealias ConsentState = ScoreTrackerKit.ConsentState
|
||||
public typealias DeliveryMode = ScoreTrackerKit.DeliveryMode
|
||||
public typealias PiiOptions = ScoreTrackerKit.PiiOptions
|
||||
public typealias PiiRule = ScoreTrackerKit.PiiRule
|
||||
public typealias PiiAction = ScoreTrackerKit.PiiAction
|
||||
Reference in New Issue
Block a user