Changed to USDA_FDC
This commit is contained in:
@@ -4,20 +4,20 @@
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "USDA",
|
||||
name: "USDA_FDC",
|
||||
products: [
|
||||
// Products define the executables and libraries a package produces, making them visible to other packages.
|
||||
.library(
|
||||
name: "USDA",
|
||||
targets: ["USDA"]),
|
||||
name: "USDA_FDC",
|
||||
targets: ["USDA_FDC"]),
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||
// Targets can depend on other targets in this package and products from dependencies.
|
||||
.target(
|
||||
name: "USDA"),
|
||||
name: "USDA_FDC"),
|
||||
.testTarget(
|
||||
name: "USDATests",
|
||||
dependencies: ["USDA"]),
|
||||
name: "USDA_FDCTests",
|
||||
dependencies: ["USDA_FDC"]),
|
||||
]
|
||||
)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// The Swift Programming Language
|
||||
// https://docs.swift.org/swift-book
|
||||
|
||||
final class USDAClient {
|
||||
final class USDA_FDC_Client {
|
||||
|
||||
}
|
||||
@@ -17,8 +17,8 @@ public struct BrandedFoodItem: Codable {
|
||||
public let brandedFoodCategory: String?
|
||||
public let tradeChannel: [String]?
|
||||
public let gpcClassCode: Int?
|
||||
public let foodNutrients: [Any]?
|
||||
public let foodUpdateLog: [Any]?
|
||||
public let foodNutrients: [FoodNutrient]?
|
||||
public let foodUpdateLog: [FoodUpdateLog]?
|
||||
public let labelNutrients: LabelNutrients?
|
||||
|
||||
public struct LabelNutrients: Codable {
|
||||
Reference in New Issue
Block a user