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