mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-07 15:18:20 -05:00
no longer split schema in request/response
This commit is contained in:
@@ -19,6 +19,12 @@ import {
|
||||
DefaultPageEnumFromJSONTyped,
|
||||
DefaultPageEnumToJSON,
|
||||
} from './DefaultPageEnum';
|
||||
import type { FoodInheritField } from './FoodInheritField';
|
||||
import {
|
||||
FoodInheritFieldFromJSON,
|
||||
FoodInheritFieldFromJSONTyped,
|
||||
FoodInheritFieldToJSON,
|
||||
} from './FoodInheritField';
|
||||
import type { ThemeEnum } from './ThemeEnum';
|
||||
import {
|
||||
ThemeEnumFromJSON,
|
||||
@@ -148,10 +154,10 @@ export interface PatchedUserPreference {
|
||||
mealplanAutoaddShopping?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @type {FoodInheritField}
|
||||
* @memberof PatchedUserPreference
|
||||
*/
|
||||
readonly foodInheritDefault?: string;
|
||||
readonly foodInheritDefault?: FoodInheritField;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
@@ -220,10 +226,10 @@ export interface PatchedUserPreference {
|
||||
showStepIngredients?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @type {boolean}
|
||||
* @memberof PatchedUserPreference
|
||||
*/
|
||||
readonly foodChildrenExist?: string;
|
||||
readonly foodChildrenExist?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -259,7 +265,7 @@ export function PatchedUserPreferenceFromJSONTyped(json: any, ignoreDiscriminato
|
||||
'comments': json['comments'] == null ? undefined : json['comments'],
|
||||
'shoppingAutoSync': json['shopping_auto_sync'] == null ? undefined : json['shopping_auto_sync'],
|
||||
'mealplanAutoaddShopping': json['mealplan_autoadd_shopping'] == null ? undefined : json['mealplan_autoadd_shopping'],
|
||||
'foodInheritDefault': json['food_inherit_default'] == null ? undefined : json['food_inherit_default'],
|
||||
'foodInheritDefault': json['food_inherit_default'] == null ? undefined : FoodInheritFieldFromJSON(json['food_inherit_default']),
|
||||
'defaultDelay': json['default_delay'] == null ? undefined : json['default_delay'],
|
||||
'mealplanAutoincludeRelated': json['mealplan_autoinclude_related'] == null ? undefined : json['mealplan_autoinclude_related'],
|
||||
'mealplanAutoexcludeOnhand': json['mealplan_autoexclude_onhand'] == null ? undefined : json['mealplan_autoexclude_onhand'],
|
||||
|
||||
Reference in New Issue
Block a user