mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): regen api client
This commit is contained in:
parent
035425ef24
commit
4c331a5d7e
@ -5,4 +5,4 @@
|
||||
/**
|
||||
* The category of an image. Use ImageCategory.OTHER for non-default categories.
|
||||
*/
|
||||
export type ImageCategory = 'image' | 'control_image' | 'other';
|
||||
export type ImageCategory = 'general' | 'control' | 'other';
|
||||
|
@ -7,11 +7,11 @@ import type { ImageMetadata } from './ImageMetadata';
|
||||
import type { ImageType } from './ImageType';
|
||||
|
||||
/**
|
||||
* Deserialized image record with URLs.
|
||||
* Deserialized image record, enriched for the frontend with URLs.
|
||||
*/
|
||||
export type ImageDTO = {
|
||||
/**
|
||||
* The name of the image.
|
||||
* The unique name of the image.
|
||||
*/
|
||||
image_name: string;
|
||||
/**
|
||||
@ -23,27 +23,43 @@ export type ImageDTO = {
|
||||
*/
|
||||
image_url: string;
|
||||
/**
|
||||
* The thumbnail URL of the image.
|
||||
* The URL of the image's thumbnail.
|
||||
*/
|
||||
thumbnail_url: string;
|
||||
/**
|
||||
* The category of the image.
|
||||
*/
|
||||
image_category: ImageCategory;
|
||||
/**
|
||||
* The width of the image in px.
|
||||
*/
|
||||
width: number;
|
||||
/**
|
||||
* The height of the image in px.
|
||||
*/
|
||||
height: number;
|
||||
/**
|
||||
* The created timestamp of the image.
|
||||
*/
|
||||
created_at: string;
|
||||
/**
|
||||
* The session ID.
|
||||
* The updated timestamp of the image.
|
||||
*/
|
||||
updated_at: string;
|
||||
/**
|
||||
* The deleted timestamp of the image.
|
||||
*/
|
||||
deleted_at?: string;
|
||||
/**
|
||||
* The session ID that generated this image, if it is a generated image.
|
||||
*/
|
||||
session_id?: string;
|
||||
/**
|
||||
* The node ID.
|
||||
* The node ID that generated this image, if it is a generated image.
|
||||
*/
|
||||
node_id?: string;
|
||||
/**
|
||||
* The image's metadata.
|
||||
* A limited subset of the image's metadata. Retrieve the image's session for full metadata.
|
||||
*/
|
||||
metadata?: ImageMetadata;
|
||||
};
|
||||
|
@ -5,11 +5,11 @@
|
||||
import type { ImageType } from './ImageType';
|
||||
|
||||
/**
|
||||
* The URLs for an image and its thumbnaill
|
||||
* The URLs for an image and its thumbnail.
|
||||
*/
|
||||
export type ImageUrlsDTO = {
|
||||
/**
|
||||
* The name of the image.
|
||||
* The unique name of the image.
|
||||
*/
|
||||
image_name: string;
|
||||
/**
|
||||
@ -21,7 +21,7 @@ export type ImageUrlsDTO = {
|
||||
*/
|
||||
image_url: string;
|
||||
/**
|
||||
* The thumbnail URL of the image.
|
||||
* The URL of the image's thumbnail.
|
||||
*/
|
||||
thumbnail_url: string;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user