summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/ingredients.ts
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-02 19:48:15 -0500
committerTucker Evans <tuckerevans24@gmail.com>2019-12-02 19:57:35 -0500
commitf94d81c5283cbf5be2f2a96faa21807e381e1c5c (patch)
treeb8400e597075df46446f1772fc4594f824548dda /recipeBuddy/src/app/DataModels/ingredients.ts
parentdaf0ba705ff8692e83e8343778bc34cbc93beff3 (diff)
Fix typos in DataModels
Mostly variable name fixes and type fixes. Also delete unused DataModels
Diffstat (limited to 'recipeBuddy/src/app/DataModels/ingredients.ts')
-rw-r--r--recipeBuddy/src/app/DataModels/ingredients.ts29
1 files changed, 0 insertions, 29 deletions
diff --git a/recipeBuddy/src/app/DataModels/ingredients.ts b/recipeBuddy/src/app/DataModels/ingredients.ts
deleted file mode 100644
index 6f96e69..0000000
--- a/recipeBuddy/src/app/DataModels/ingredients.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-export class Ingredients {
- private names: string[];
- private amounts: number[];
- private units: string[];
- private types: string[];
-
- public constructor(names: string[], amounts: number[], units: string[], types: string[]) {
- this.names = names;
- this.amounts = amounts;
- this.units = units;
- this.types = types;
- }
-
- public getNames(): string[] {
- return this.names;
- }
-
- public getAmounts(): number[] {
- return this.amounts;
- }
-
- public getUnits(): string[] {
- return this.units;
- }
-
- public getTypes(): string[] {
- return this.types;
- }
-}