mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-28 19:11:30 +00:00
19 lines
932 B
Swift
19 lines
932 B
Swift
|
// Copyright © 2020 Metabolist. All rights reserved.
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
public enum StubData {}
|
||
|
|
||
|
public extension StubData {
|
||
|
// swiftlint:disable force_try
|
||
|
static let account = try! Data(contentsOf: Bundle.module.url(forResource: "account",
|
||
|
withExtension: "json")!)
|
||
|
static let instance = try! Data(contentsOf: Bundle.module.url(forResource: "instance",
|
||
|
withExtension: "json")!)
|
||
|
static let preferences = try! Data(contentsOf: Bundle.module.url(forResource: "preferences",
|
||
|
withExtension: "json")!)
|
||
|
static let timeline = try! Data(contentsOf: Bundle.module.url(forResource: "timeline",
|
||
|
withExtension: "json")!)
|
||
|
// swiftlint:enable force_try
|
||
|
}
|