playing with AI image recognition

This commit is contained in:
vabene1111
2024-05-18 14:29:42 +02:00
parent fd1c6d718e
commit 6a8b2b6338
12 changed files with 222 additions and 21 deletions

View File

@@ -0,0 +1,61 @@
/* tslint:disable */
/* eslint-disable */
/**
* Tandoor
* Tandoor API Docs
*
* The version of the OpenAPI document: 0.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { mapValues } from '../runtime';
/**
*
* @export
* @interface ImportImage
*/
export interface ImportImage {
/**
*
* @type {string}
* @memberof ImportImage
*/
image: string;
}
/**
* Check if a given object implements the ImportImage interface.
*/
export function instanceOfImportImage(value: object): boolean {
if (!('image' in value)) return false;
return true;
}
export function ImportImageFromJSON(json: any): ImportImage {
return ImportImageFromJSONTyped(json, false);
}
export function ImportImageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportImage {
if (json == null) {
return json;
}
return {
'image': json['image'],
};
}
export function ImportImageToJSON(value?: ImportImage | null): any {
if (value == null) {
return value;
}
return {
'image': value['image'],
};
}

View File

@@ -19,6 +19,7 @@ export * from './FoodInheritField';
export * from './FoodShoppingUpdate';
export * from './FoodSimple';
export * from './Group';
export * from './ImportImage';
export * from './ImportLog';
export * from './Ingredient';
export * from './IngredientString';