mirror of
https://github.com/metabolist/metatext.git
synced 2024-06-02 06:21:20 +00:00
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
|
|
}
|
|
}
|