Changed to USDA_FDC

This commit is contained in:
cdricms
2023-12-30 17:57:20 +01:00
parent d4b51ee92e
commit 70e0e7c417
34 changed files with 9 additions and 9 deletions

View File

@@ -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"]),
]
)

View File

@@ -1,6 +1,6 @@
// The Swift Programming Language
// https://docs.swift.org/swift-book
final class USDAClient {
final class USDA_FDC_Client {
}

View File

@@ -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 {