mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 20:59:28 -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,36 +13,28 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { DefaultPageEnum } from './DefaultPageEnum';
|
||||
import {
|
||||
DefaultPageEnum,
|
||||
DefaultPageEnumFromJSON,
|
||||
DefaultPageEnumFromJSONTyped,
|
||||
DefaultPageEnumToJSON,
|
||||
} from './DefaultPageEnum';
|
||||
import type { ThemeEnum } from './ThemeEnum';
|
||||
import {
|
||||
ThemeEnum,
|
||||
ThemeEnumFromJSON,
|
||||
ThemeEnumFromJSONTyped,
|
||||
ThemeEnumToJSON,
|
||||
} from './ThemeEnum';
|
||||
import type { User } from './User';
|
||||
import {
|
||||
User,
|
||||
UserFromJSON,
|
||||
UserFromJSONTyped,
|
||||
UserToJSON,
|
||||
} from './User';
|
||||
import type { UserFileView } from './UserFileView';
|
||||
import {
|
||||
UserFileView,
|
||||
UserFileViewFromJSON,
|
||||
UserFileViewFromJSONTyped,
|
||||
UserFileViewToJSON,
|
||||
} from './UserFileView';
|
||||
import type { UserPreferenceNavTextColorEnum } from './UserPreferenceNavTextColorEnum';
|
||||
import {
|
||||
UserPreferenceNavTextColorEnum,
|
||||
UserPreferenceNavTextColorEnumFromJSON,
|
||||
UserPreferenceNavTextColorEnumFromJSONTyped,
|
||||
UserPreferenceNavTextColorEnumToJSON,
|
||||
} from './UserPreferenceNavTextColorEnum';
|
||||
} from './';
|
||||
|
||||
/**
|
||||
* Adds nested create feature
|
||||
@@ -154,10 +146,10 @@ export interface UserPreference {
|
||||
readonly foodInheritDefault: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @type {number}
|
||||
* @memberof UserPreference
|
||||
*/
|
||||
defaultDelay?: string;
|
||||
defaultDelay?: number;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
@@ -226,18 +218,6 @@ export interface UserPreference {
|
||||
readonly foodChildrenExist: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the UserPreference interface.
|
||||
*/
|
||||
export function instanceOfUserPreference(value: object): boolean {
|
||||
let isInstance = true;
|
||||
isInstance = isInstance && "user" in value;
|
||||
isInstance = isInstance && "foodInheritDefault" in value;
|
||||
isInstance = isInstance && "foodChildrenExist" in value;
|
||||
|
||||
return isInstance;
|
||||
}
|
||||
|
||||
export function UserPreferenceFromJSON(json: any): UserPreference {
|
||||
return UserPreferenceFromJSONTyped(json, false);
|
||||
}
|
||||
@@ -319,3 +299,4 @@ export function UserPreferenceToJSON(value?: UserPreference | null): any {
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user