2021-03-15 07:40:10 +01:00
|
|
|
//
|
2021-03-15 12:25:44 +01:00
|
|
|
// APIService+CustomEmojiViewModel.swift
|
2021-03-15 07:40:10 +01:00
|
|
|
// Mastodon
|
|
|
|
//
|
|
|
|
// Created by MainasuK Cirno on 2021-3-15.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import Combine
|
|
|
|
import CoreData
|
|
|
|
import CoreDataStack
|
|
|
|
import CommonOSLog
|
|
|
|
import DateToolsSwift
|
|
|
|
import MastodonSDK
|
|
|
|
|
|
|
|
extension APIService {
|
|
|
|
|
|
|
|
func customEmoji(domain: String) -> AnyPublisher<Mastodon.Response.Content<[Mastodon.Entity.Emoji]>, Error> {
|
|
|
|
return Mastodon.API.CustomEmojis.customEmojis(session: session, domain: domain)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|