mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 05:11:31 -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
|
||||
*
|
||||
@@ -45,19 +45,6 @@ export interface ViewLog {
|
||||
readonly createdAt: Date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the ViewLog interface.
|
||||
*/
|
||||
export function instanceOfViewLog(value: object): boolean {
|
||||
let isInstance = true;
|
||||
isInstance = isInstance && "id" in value;
|
||||
isInstance = isInstance && "recipe" in value;
|
||||
isInstance = isInstance && "createdBy" in value;
|
||||
isInstance = isInstance && "createdAt" in value;
|
||||
|
||||
return isInstance;
|
||||
}
|
||||
|
||||
export function ViewLogFromJSON(json: any): ViewLog {
|
||||
return ViewLogFromJSONTyped(json, false);
|
||||
}
|
||||
@@ -88,3 +75,4 @@ export function ViewLogToJSON(value?: ViewLog | null): any {
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user