2018-09-11 14:52:21 +00:00
|
|
|
//
|
|
|
|
// SearchResults.swift
|
|
|
|
// Pachyderm
|
|
|
|
//
|
|
|
|
// Created by Shadowfacts on 9/9/18.
|
|
|
|
// Copyright © 2018 Shadowfacts. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
2023-02-19 20:23:25 +00:00
|
|
|
public struct SearchResults: Decodable, Sendable {
|
2018-09-17 23:22:37 +00:00
|
|
|
public let accounts: [Account]
|
|
|
|
public let statuses: [Status]
|
2019-09-15 01:24:43 +00:00
|
|
|
public let hashtags: [Hashtag]
|
2018-09-11 14:52:21 +00:00
|
|
|
|
|
|
|
private enum CodingKeys: String, CodingKey {
|
|
|
|
case accounts
|
|
|
|
case statuses
|
|
|
|
case hashtags
|
|
|
|
}
|
|
|
|
}
|