metatext/DB/Sources/DB/Entities/IdentityFixture.swift

19 lines
479 B
Swift
Raw Permalink Normal View History

2020-09-03 03:28:34 +00:00
// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
import Mastodon
public struct IdentityFixture {
2020-10-05 22:50:05 +00:00
public let id: Identity.Id
2020-09-03 03:28:34 +00:00
public let instanceURL: URL
public let instance: Instance?
public let account: Account?
2020-10-05 22:50:05 +00:00
public init(id: Identity.Id, instanceURL: URL, instance: Instance?, account: Account?) {
2020-09-03 03:28:34 +00:00
self.id = id
self.instanceURL = instanceURL
self.instance = instance
self.account = account
}
}