working search with flat endpoint

This commit is contained in:
vabene1111
2024-02-29 20:08:37 +01:00
committed by smilerz
parent 4a8ad3db1e
commit 17f875863c
143 changed files with 18624 additions and 9992 deletions

View File

@@ -1,10 +1,10 @@
/* tslint:disable */
/* eslint-disable */
/**
* Django Recipes
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document:
* The version of the OpenAPI document: 0.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -24,7 +24,7 @@ export interface ConnectorConfigConfig {
* @type {number}
* @memberof ConnectorConfigConfig
*/
readonly id?: number;
readonly id: number;
/**
*
* @type {string}
@@ -75,10 +75,10 @@ export interface ConnectorConfigConfig {
onShoppingListEntryDeletedEnabled?: boolean;
/**
*
* @type {string}
* @type {number}
* @memberof ConnectorConfigConfig
*/
readonly createdBy?: string;
readonly createdBy: number;
}
/**
@@ -86,7 +86,9 @@ export interface ConnectorConfigConfig {
*/
export function instanceOfConnectorConfigConfig(value: object): boolean {
let isInstance = true;
isInstance = isInstance && "id" in value;
isInstance = isInstance && "name" in value;
isInstance = isInstance && "createdBy" in value;
return isInstance;
}
@@ -101,7 +103,7 @@ export function ConnectorConfigConfigFromJSONTyped(json: any, ignoreDiscriminato
}
return {
'id': !exists(json, 'id') ? undefined : json['id'],
'id': json['id'],
'name': json['name'],
'url': !exists(json, 'url') ? undefined : json['url'],
'token': !exists(json, 'token') ? undefined : json['token'],
@@ -110,7 +112,7 @@ export function ConnectorConfigConfigFromJSONTyped(json: any, ignoreDiscriminato
'onShoppingListEntryCreatedEnabled': !exists(json, 'on_shopping_list_entry_created_enabled') ? undefined : json['on_shopping_list_entry_created_enabled'],
'onShoppingListEntryUpdatedEnabled': !exists(json, 'on_shopping_list_entry_updated_enabled') ? undefined : json['on_shopping_list_entry_updated_enabled'],
'onShoppingListEntryDeletedEnabled': !exists(json, 'on_shopping_list_entry_deleted_enabled') ? undefined : json['on_shopping_list_entry_deleted_enabled'],
'createdBy': !exists(json, 'created_by') ? undefined : json['created_by'],
'createdBy': json['created_by'],
};
}