mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 20:28:46 -05:00
playing with AI image recognition
This commit is contained in:
61
vue3/src/openapi/models/ImportImage.ts
Normal file
61
vue3/src/openapi/models/ImportImage.ts
Normal 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'],
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user