mirror of
https://github.com/metabolist/metatext.git
synced 2024-05-31 22:58:04 +00:00
17 lines
374 B
Swift
17 lines
374 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
import GRDB
|
|
import Mastodon
|
|
|
|
extension FeaturedTag {
|
|
init(record: FeaturedTagRecord) {
|
|
self.init(
|
|
id: record.id,
|
|
name: record.name,
|
|
url: record.url,
|
|
statusesCount: record.statusesCount,
|
|
lastStatusAt: record.lastStatusAt)
|
|
}
|
|
}
|