mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): regenerate api
This commit is contained in:
parent
a35dc090c5
commit
0e0ffb39ff
@ -20,7 +20,9 @@ export type { GraphInvocation } from './models/GraphInvocation';
|
||||
export type { GraphInvocationOutput } from './models/GraphInvocationOutput';
|
||||
export type { HTTPValidationError } from './models/HTTPValidationError';
|
||||
export type { ImageField } from './models/ImageField';
|
||||
export type { ImageMetadata } from './models/ImageMetadata';
|
||||
export type { ImageOutput } from './models/ImageOutput';
|
||||
export type { ImageResponse } from './models/ImageResponse';
|
||||
export type { ImageToImageInvocation } from './models/ImageToImageInvocation';
|
||||
export type { ImageType } from './models/ImageType';
|
||||
export type { InpaintInvocation } from './models/InpaintInvocation';
|
||||
@ -32,7 +34,7 @@ export type { LoadImageInvocation } from './models/LoadImageInvocation';
|
||||
export type { MaskFromAlphaInvocation } from './models/MaskFromAlphaInvocation';
|
||||
export type { MaskOutput } from './models/MaskOutput';
|
||||
export type { PaginatedResults_GraphExecutionState_ } from './models/PaginatedResults_GraphExecutionState_';
|
||||
export type { PaginatedResults_ImageField_ } from './models/PaginatedResults_ImageField_';
|
||||
export type { PaginatedResults_ImageResponse_ } from './models/PaginatedResults_ImageResponse_';
|
||||
export type { PasteImageInvocation } from './models/PasteImageInvocation';
|
||||
export type { PromptOutput } from './models/PromptOutput';
|
||||
export type { RestoreFaceInvocation } from './models/RestoreFaceInvocation';
|
||||
@ -55,7 +57,9 @@ export { $GraphInvocation } from './schemas/$GraphInvocation';
|
||||
export { $GraphInvocationOutput } from './schemas/$GraphInvocationOutput';
|
||||
export { $HTTPValidationError } from './schemas/$HTTPValidationError';
|
||||
export { $ImageField } from './schemas/$ImageField';
|
||||
export { $ImageMetadata } from './schemas/$ImageMetadata';
|
||||
export { $ImageOutput } from './schemas/$ImageOutput';
|
||||
export { $ImageResponse } from './schemas/$ImageResponse';
|
||||
export { $ImageToImageInvocation } from './schemas/$ImageToImageInvocation';
|
||||
export { $ImageType } from './schemas/$ImageType';
|
||||
export { $InpaintInvocation } from './schemas/$InpaintInvocation';
|
||||
@ -67,7 +71,7 @@ export { $LoadImageInvocation } from './schemas/$LoadImageInvocation';
|
||||
export { $MaskFromAlphaInvocation } from './schemas/$MaskFromAlphaInvocation';
|
||||
export { $MaskOutput } from './schemas/$MaskOutput';
|
||||
export { $PaginatedResults_GraphExecutionState_ } from './schemas/$PaginatedResults_GraphExecutionState_';
|
||||
export { $PaginatedResults_ImageField_ } from './schemas/$PaginatedResults_ImageField_';
|
||||
export { $PaginatedResults_ImageResponse_ } from './schemas/$PaginatedResults_ImageResponse_';
|
||||
export { $PasteImageInvocation } from './schemas/$PasteImageInvocation';
|
||||
export { $PromptOutput } from './schemas/$PromptOutput';
|
||||
export { $RestoreFaceInvocation } from './schemas/$RestoreFaceInvocation';
|
||||
|
@ -0,0 +1,26 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
/**
|
||||
* An image's metadata
|
||||
*/
|
||||
export type ImageMetadata = {
|
||||
/**
|
||||
* The creation timestamp of the image
|
||||
*/
|
||||
timestamp: number;
|
||||
/**
|
||||
* The width of the image in pixels
|
||||
*/
|
||||
width: number;
|
||||
/**
|
||||
* The width of the image in pixels
|
||||
*/
|
||||
height: number;
|
||||
/**
|
||||
* The image's SD-specific metadata
|
||||
*/
|
||||
sd_metadata?: any;
|
||||
};
|
||||
|
@ -0,0 +1,33 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageMetadata } from './ImageMetadata';
|
||||
import type { ImageType } from './ImageType';
|
||||
|
||||
/**
|
||||
* The response type for images
|
||||
*/
|
||||
export type ImageResponse = {
|
||||
/**
|
||||
* The type of the image
|
||||
*/
|
||||
image_type: ImageType;
|
||||
/**
|
||||
* The name of the image
|
||||
*/
|
||||
image_name: string;
|
||||
/**
|
||||
* The url of the image
|
||||
*/
|
||||
image_url: string;
|
||||
/**
|
||||
* The url of the image's thumbnail
|
||||
*/
|
||||
thumbnail_url: string;
|
||||
/**
|
||||
* The image's metadata
|
||||
*/
|
||||
metadata: ImageMetadata;
|
||||
};
|
||||
|
@ -2,16 +2,16 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { ImageResponse } from './ImageResponse';
|
||||
|
||||
/**
|
||||
* Paginated results
|
||||
*/
|
||||
export type PaginatedResults_ImageField_ = {
|
||||
export type PaginatedResults_ImageResponse_ = {
|
||||
/**
|
||||
* Items
|
||||
*/
|
||||
items: Array<ImageField>;
|
||||
items: Array<ImageResponse>;
|
||||
/**
|
||||
* Current Page
|
||||
*/
|
@ -0,0 +1,28 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export const $ImageMetadata = {
|
||||
description: `An image's metadata`,
|
||||
properties: {
|
||||
timestamp: {
|
||||
type: 'number',
|
||||
description: `The creation timestamp of the image`,
|
||||
isRequired: true,
|
||||
},
|
||||
width: {
|
||||
type: 'number',
|
||||
description: `The width of the image in pixels`,
|
||||
isRequired: true,
|
||||
},
|
||||
height: {
|
||||
type: 'number',
|
||||
description: `The width of the image in pixels`,
|
||||
isRequired: true,
|
||||
},
|
||||
sd_metadata: {
|
||||
description: `The image's SD-specific metadata`,
|
||||
properties: {
|
||||
},
|
||||
},
|
||||
},
|
||||
} as const;
|
@ -0,0 +1,39 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export const $ImageResponse = {
|
||||
description: `The response type for images`,
|
||||
properties: {
|
||||
image_type: {
|
||||
type: 'all-of',
|
||||
description: `The type of the image`,
|
||||
contains: [{
|
||||
type: 'ImageType',
|
||||
}],
|
||||
isRequired: true,
|
||||
},
|
||||
image_name: {
|
||||
type: 'string',
|
||||
description: `The name of the image`,
|
||||
isRequired: true,
|
||||
},
|
||||
image_url: {
|
||||
type: 'string',
|
||||
description: `The url of the image`,
|
||||
isRequired: true,
|
||||
},
|
||||
thumbnail_url: {
|
||||
type: 'string',
|
||||
description: `The url of the image's thumbnail`,
|
||||
isRequired: true,
|
||||
},
|
||||
metadata: {
|
||||
type: 'all-of',
|
||||
description: `The image's metadata`,
|
||||
contains: [{
|
||||
type: 'ImageMetadata',
|
||||
}],
|
||||
isRequired: true,
|
||||
},
|
||||
},
|
||||
} as const;
|
@ -1,13 +1,13 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export const $PaginatedResults_ImageField_ = {
|
||||
export const $PaginatedResults_ImageResponse_ = {
|
||||
description: `Paginated results`,
|
||||
properties: {
|
||||
items: {
|
||||
type: 'array',
|
||||
contains: {
|
||||
type: 'ImageField',
|
||||
type: 'ImageResponse',
|
||||
},
|
||||
isRequired: true,
|
||||
},
|
@ -3,7 +3,7 @@
|
||||
/* eslint-disable */
|
||||
import type { Body_upload_image } from '../models/Body_upload_image';
|
||||
import type { ImageType } from '../models/ImageType';
|
||||
import type { PaginatedResults_ImageField_ } from '../models/PaginatedResults_ImageField_';
|
||||
import type { PaginatedResults_ImageResponse_ } from '../models/PaginatedResults_ImageResponse_';
|
||||
|
||||
import type { CancelablePromise } from '../core/CancelablePromise';
|
||||
import { OpenAPI } from '../core/OpenAPI';
|
||||
@ -100,7 +100,7 @@ export class ImagesService {
|
||||
/**
|
||||
* List Images
|
||||
* Gets a list of images
|
||||
* @returns PaginatedResults_ImageField_ Successful Response
|
||||
* @returns PaginatedResults_ImageResponse_ Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static listImages({
|
||||
@ -120,7 +120,7 @@ export class ImagesService {
|
||||
* The number of images per page
|
||||
*/
|
||||
perPage?: number,
|
||||
}): CancelablePromise<PaginatedResults_ImageField_> {
|
||||
}): CancelablePromise<PaginatedResults_ImageResponse_> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'GET',
|
||||
url: '/api/v1/images/',
|
||||
|
Loading…
Reference in New Issue
Block a user