mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 04:39:54 -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
|
||||
*
|
||||
@@ -13,12 +13,12 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { OpenDataProperty } from './OpenDataProperty';
|
||||
import {
|
||||
OpenDataProperty,
|
||||
OpenDataPropertyFromJSON,
|
||||
OpenDataPropertyFromJSONTyped,
|
||||
OpenDataPropertyToJSON,
|
||||
} from './OpenDataProperty';
|
||||
} from './';
|
||||
|
||||
/**
|
||||
* Adds nested create feature
|
||||
@@ -46,18 +46,6 @@ export interface OpenDataFoodProperty {
|
||||
propertyAmount: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the OpenDataFoodProperty interface.
|
||||
*/
|
||||
export function instanceOfOpenDataFoodProperty(value: object): boolean {
|
||||
let isInstance = true;
|
||||
isInstance = isInstance && "id" in value;
|
||||
isInstance = isInstance && "property" in value;
|
||||
isInstance = isInstance && "propertyAmount" in value;
|
||||
|
||||
return isInstance;
|
||||
}
|
||||
|
||||
export function OpenDataFoodPropertyFromJSON(json: any): OpenDataFoodProperty {
|
||||
return OpenDataFoodPropertyFromJSONTyped(json, false);
|
||||
}
|
||||
@@ -88,3 +76,4 @@ export function OpenDataFoodPropertyToJSON(value?: OpenDataFoodProperty | null):
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user