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