Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit e5a4a67

Browse files
committed
Fix imports for SPM
1 parent 1e304f1 commit e5a4a67

File tree

8 files changed

+14
-0
lines changed

8 files changed

+14
-0
lines changed

SlackKit/Sources/Client+EventHandling.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
// THE SOFTWARE.
2323

24+
import Foundation
25+
2426
internal extension Client {
2527

2628
//MARK: - Pong

SlackKit/Sources/Client.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
// THE SOFTWARE.
2323

24+
import Foundation
2425
import Starscream
2526

2627
public final class Client: WebSocketDelegate {

SlackKit/Sources/ClientOptions.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
// THE SOFTWARE.
2323

24+
import Foundation
25+
2426
public struct ClientOptions {
2527

2628
let simpleLatest: Bool?

SlackKit/Sources/History.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
// THE SOFTWARE.
2323

24+
import Foundation
25+
2426
public struct History {
27+
2528
internal(set) public var latest: NSDate?
2629
internal(set) public var messages = [Message]()
2730
public let hasMore: Bool?

SlackKit/Sources/IncomingWebhook.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
// THE SOFTWARE.
2323

24+
import Foundation
25+
2426
public struct IncomingWebhook {
2527

2628
public let url: String?

SlackKit/Sources/OAuthServer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
// THE SOFTWARE.
2323

24+
import Foundation
2425
import Swifter
2526

2627
internal protocol OAuthDelegate {

SlackKit/Sources/Server.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
// THE SOFTWARE.
2323

24+
import Foundation
2425
import Swifter
2526

2627
internal enum Reply {

SlackKit/Sources/SlackKit.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
// THE SOFTWARE.
2323

24+
import Foundation
25+
2426
public final class SlackKit: OAuthDelegate {
2527

2628
internal(set) public var oauth: OAuthServer?

0 commit comments

Comments
 (0)