mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 12:49:02 -05:00
servings
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
*
|
||||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
* Tandoor
|
||||
* Tandoor API Docs
|
||||
*
|
||||
* The version of the OpenAPI document: 0.0.0
|
||||
*
|
||||
@@ -57,20 +57,6 @@ export interface NutritionInformation {
|
||||
source?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the NutritionInformation interface.
|
||||
*/
|
||||
export function instanceOfNutritionInformation(value: object): boolean {
|
||||
let isInstance = true;
|
||||
isInstance = isInstance && "id" in value;
|
||||
isInstance = isInstance && "carbohydrates" in value;
|
||||
isInstance = isInstance && "fats" in value;
|
||||
isInstance = isInstance && "proteins" in value;
|
||||
isInstance = isInstance && "calories" in value;
|
||||
|
||||
return isInstance;
|
||||
}
|
||||
|
||||
export function NutritionInformationFromJSON(json: any): NutritionInformation {
|
||||
return NutritionInformationFromJSONTyped(json, false);
|
||||
}
|
||||
@@ -107,3 +93,4 @@ export function NutritionInformationToJSON(value?: NutritionInformation | null):
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user