18 lines
406 B
Swift
18 lines
406 B
Swift
|
// Copyright © 2021 Metabolist. All rights reserved.
|
||
|
|
||
|
import Combine
|
||
|
import Foundation
|
||
|
import Mastodon
|
||
|
import MastodonAPI
|
||
|
|
||
|
public struct InstanceService {
|
||
|
public let instance: Instance
|
||
|
|
||
|
private let mastodonAPIClient: MastodonAPIClient
|
||
|
|
||
|
init(instance: Instance, mastodonAPIClient: MastodonAPIClient) {
|
||
|
self.instance = instance
|
||
|
self.mastodonAPIClient = mastodonAPIClient
|
||
|
}
|
||
|
}
|