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,21 +57,6 @@ export interface UserFile {
|
||||
readonly fileSizeKb: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the UserFile interface.
|
||||
*/
|
||||
export function instanceOfUserFile(value: object): boolean {
|
||||
let isInstance = true;
|
||||
isInstance = isInstance && "id" in value;
|
||||
isInstance = isInstance && "name" in value;
|
||||
isInstance = isInstance && "file" in value;
|
||||
isInstance = isInstance && "fileDownload" in value;
|
||||
isInstance = isInstance && "preview" in value;
|
||||
isInstance = isInstance && "fileSizeKb" in value;
|
||||
|
||||
return isInstance;
|
||||
}
|
||||
|
||||
export function UserFileFromJSON(json: any): UserFile {
|
||||
return UserFileFromJSONTyped(json, false);
|
||||
}
|
||||
@@ -105,3 +90,4 @@ export function UserFileToJSON(value?: UserFile | null): any {
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user