FoudationEssentials => Foundation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import FoundationEssentials
|
||||
import Foundation
|
||||
|
||||
#if canImport(FoundationNetworking)
|
||||
import FoundationNetworking
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import FoundationEssentials
|
||||
import Foundation
|
||||
|
||||
public struct OpenFoodFactsConfig: Sendable {
|
||||
public let baseURL: URL
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import FoundationEssentials
|
||||
import Foundation
|
||||
|
||||
@dynamicMemberLookup
|
||||
public struct Nutriments: Codable, Sendable {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import FoundationEssentials
|
||||
import Foundation
|
||||
|
||||
public struct Product: Codable, Sendable, Identifiable {
|
||||
public let code: String?
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import FoundationEssentials
|
||||
import Foundation
|
||||
|
||||
public enum ProductField: String, Sendable, Codable {
|
||||
case code
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import FoundationEssentials
|
||||
import Foundation
|
||||
|
||||
public enum SearchParameter: Sendable, Hashable {
|
||||
case query(String)
|
||||
|
||||
Reference in New Issue
Block a user