29 lines
1.4 KiB
Swift
29 lines
1.4 KiB
Swift
//
|
|
// DeviceServiceData.swift
|
|
//
|
|
//
|
|
// Created by Juraldinio on 13.01.2023.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
final class DeviceServiceData {
|
|
|
|
static let createDeviceTrusted = try! Data(contentsOf: Bundle.module.url(forResource: "CreateDeviceSuccessTrusted",
|
|
withExtension: "json")!)
|
|
static let createDeviceDecodeFailed = try! Data(contentsOf: Bundle.module.url(forResource: "CreateDeviceSuccessNull",
|
|
withExtension: "json")!)
|
|
|
|
static let queryDeviceStateNull = try! Data(contentsOf: Bundle.module.url(forResource: "QueryDeviceSuccessNull",
|
|
withExtension: "json")!)
|
|
|
|
static let queryDeviceStateUntrusted = try! Data(contentsOf: Bundle.module.url(forResource: "QueryDeviceSuccessUntrusted",
|
|
withExtension: "json")!)
|
|
|
|
static let queryDeviceStateTrusted = try! Data(contentsOf: Bundle.module.url(forResource: "QueryDeviceSuccessTrusted",
|
|
withExtension: "json")!)
|
|
|
|
static let nodeActionsExample = try! Data(contentsOf: Bundle.module.url(forResource: "v1historyTestmalinka1",
|
|
withExtension: "json")!)
|
|
}
|