no longer split schema in request/response

This commit is contained in:
vabene1111
2024-04-27 10:40:09 +02:00
parent 846c3e36cc
commit e405aab310
104 changed files with 3057 additions and 1125 deletions

View File

@@ -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'],