mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
chore: fix lint errors and typegen
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1042,14 +1042,14 @@ export type paths = {
|
||||
};
|
||||
/**
|
||||
* Get Intermediates Count
|
||||
* @description Gets the count of intermediate images. Non-admin users only see their own intermediates.
|
||||
* @description Gets the count of intermediate images
|
||||
*/
|
||||
get: operations["get_intermediates_count"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
/**
|
||||
* Clear Intermediates
|
||||
* @description Clears all intermediates. Requires admin.
|
||||
* @description Clears all intermediates
|
||||
*/
|
||||
delete: operations["clear_intermediates"];
|
||||
options?: never;
|
||||
@@ -1103,11 +1103,7 @@ export type paths = {
|
||||
};
|
||||
/**
|
||||
* Get Image Full
|
||||
* @description Gets a full-resolution image file.
|
||||
*
|
||||
* This endpoint is intentionally unauthenticated because browsers load images
|
||||
* via <img src> tags which cannot send Bearer tokens. Image names are UUIDs,
|
||||
* providing security through unguessability.
|
||||
* @description Gets a full-resolution image file
|
||||
*/
|
||||
get: operations["get_image_full"];
|
||||
put?: never;
|
||||
@@ -1116,11 +1112,7 @@ export type paths = {
|
||||
options?: never;
|
||||
/**
|
||||
* Get Image Full
|
||||
* @description Gets a full-resolution image file.
|
||||
*
|
||||
* This endpoint is intentionally unauthenticated because browsers load images
|
||||
* via <img src> tags which cannot send Bearer tokens. Image names are UUIDs,
|
||||
* providing security through unguessability.
|
||||
* @description Gets a full-resolution image file
|
||||
*/
|
||||
head: operations["get_image_full_head"];
|
||||
patch?: never;
|
||||
@@ -1135,11 +1127,7 @@ export type paths = {
|
||||
};
|
||||
/**
|
||||
* Get Image Thumbnail
|
||||
* @description Gets a thumbnail image file.
|
||||
*
|
||||
* This endpoint is intentionally unauthenticated because browsers load images
|
||||
* via <img src> tags which cannot send Bearer tokens. Image names are UUIDs,
|
||||
* providing security through unguessability.
|
||||
* @description Gets a thumbnail image file
|
||||
*/
|
||||
get: operations["get_image_thumbnail"];
|
||||
put?: never;
|
||||
@@ -1199,7 +1187,7 @@ export type paths = {
|
||||
post?: never;
|
||||
/**
|
||||
* Delete Uncategorized Images
|
||||
* @description Deletes all uncategorized images owned by the current user (or all if admin)
|
||||
* @description Deletes all images that are uncategorized
|
||||
*/
|
||||
delete: operations["delete_uncategorized_images"];
|
||||
options?: never;
|
||||
@@ -1739,7 +1727,7 @@ export type paths = {
|
||||
};
|
||||
/**
|
||||
* Get Queue Item Ids
|
||||
* @description Gets all queue item ids that match the given parameters. Non-admin users only see their own items.
|
||||
* @description Gets all queue item ids that match the given parameters
|
||||
*/
|
||||
get: operations["get_queue_item_ids"];
|
||||
put?: never;
|
||||
@@ -1999,7 +1987,7 @@ export type paths = {
|
||||
};
|
||||
/**
|
||||
* Get Queue Status
|
||||
* @description Gets the status of the session queue. Non-admin users see only their own counts and cannot see current item details unless they own it.
|
||||
* @description Gets the status of the session queue
|
||||
*/
|
||||
get: operations["get_queue_status"];
|
||||
put?: never;
|
||||
@@ -2019,7 +2007,7 @@ export type paths = {
|
||||
};
|
||||
/**
|
||||
* Get Batch Status
|
||||
* @description Gets the status of a batch. Non-admin users only see their own batches.
|
||||
* @description Gets the status of the session queue
|
||||
*/
|
||||
get: operations["get_batch_status"];
|
||||
put?: never;
|
||||
@@ -2083,7 +2071,7 @@ export type paths = {
|
||||
};
|
||||
/**
|
||||
* Counts By Destination
|
||||
* @description Gets the counts of queue items by destination. Non-admin users only see their own items.
|
||||
* @description Gets the counts of queue items by destination
|
||||
*/
|
||||
get: operations["counts_by_destination"];
|
||||
put?: never;
|
||||
@@ -2175,11 +2163,7 @@ export type paths = {
|
||||
};
|
||||
/**
|
||||
* Get Workflow Thumbnail
|
||||
* @description Gets a workflow's thumbnail image.
|
||||
*
|
||||
* This endpoint is intentionally unauthenticated because browsers load images
|
||||
* via <img src> tags which cannot send Bearer tokens. Workflow IDs are UUIDs,
|
||||
* providing security through unguessability.
|
||||
* @description Gets a workflow's thumbnail image
|
||||
*/
|
||||
get: operations["get_workflow_thumbnail"];
|
||||
/**
|
||||
@@ -2198,26 +2182,6 @@ export type paths = {
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/workflows/i/{workflow_id}/is_public": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
get?: never;
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
/**
|
||||
* Update Workflow Is Public
|
||||
* @description Updates whether a workflow is shared publicly
|
||||
*/
|
||||
patch: operations["update_workflow_is_public"];
|
||||
trace?: never;
|
||||
};
|
||||
"/api/v1/workflows/tags": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
@@ -3623,8 +3587,6 @@ export type components = {
|
||||
* @description Whether or not the board is archived
|
||||
*/
|
||||
archived?: boolean | null;
|
||||
/** @description The visibility of the board. */
|
||||
board_visibility?: components["schemas"]["BoardVisibility"] | null;
|
||||
};
|
||||
/**
|
||||
* BoardDTO
|
||||
@@ -3671,11 +3633,6 @@ export type components = {
|
||||
* @description Whether or not the board is archived.
|
||||
*/
|
||||
archived: boolean;
|
||||
/**
|
||||
* @description The visibility of the board.
|
||||
* @default private
|
||||
*/
|
||||
board_visibility?: components["schemas"]["BoardVisibility"];
|
||||
/**
|
||||
* Image Count
|
||||
* @description The number of images in the board.
|
||||
@@ -3709,12 +3666,6 @@ export type components = {
|
||||
* @enum {string}
|
||||
*/
|
||||
BoardRecordOrderBy: "created_at" | "board_name";
|
||||
/**
|
||||
* BoardVisibility
|
||||
* @description The visibility options for a board.
|
||||
* @enum {string}
|
||||
*/
|
||||
BoardVisibility: "private" | "shared" | "public";
|
||||
/** Body_add_image_to_board */
|
||||
Body_add_image_to_board: {
|
||||
/**
|
||||
@@ -3967,14 +3918,6 @@ export type components = {
|
||||
/** @description The updated workflow */
|
||||
workflow: components["schemas"]["Workflow"];
|
||||
};
|
||||
/** Body_update_workflow_is_public */
|
||||
Body_update_workflow_is_public: {
|
||||
/**
|
||||
* Is Public
|
||||
* @description Whether the workflow should be shared publicly
|
||||
*/
|
||||
is_public: boolean;
|
||||
};
|
||||
/** Body_upload_image */
|
||||
Body_upload_image: {
|
||||
/**
|
||||
@@ -23781,6 +23724,11 @@ export type components = {
|
||||
* @description List of IP Adapters with their settings
|
||||
*/
|
||||
ip_adapters?: components["schemas"]["IPAdapterRecallParameter"][] | null;
|
||||
/**
|
||||
* Reference Images
|
||||
* @description List of model-free reference images for architectures that consume reference images directly (FLUX.2 Klein, FLUX Kontext, Qwen Image Edit). The frontend picks the correct config type based on the currently-selected main model.
|
||||
*/
|
||||
reference_images?: components["schemas"]["ReferenceImageRecallParameter"][] | null;
|
||||
};
|
||||
/**
|
||||
* RecallParametersUpdatedEvent
|
||||
@@ -23797,11 +23745,6 @@ export type components = {
|
||||
* @description The ID of the queue
|
||||
*/
|
||||
queue_id: string;
|
||||
/**
|
||||
* User Id
|
||||
* @description The ID of the user whose recall parameters were updated
|
||||
*/
|
||||
user_id: string;
|
||||
/**
|
||||
* Parameters
|
||||
* @description The recall parameters that were updated
|
||||
@@ -23880,6 +23823,24 @@ export type components = {
|
||||
*/
|
||||
type: "rectangle_mask";
|
||||
};
|
||||
/**
|
||||
* ReferenceImageRecallParameter
|
||||
* @description Global reference-image configuration for recall.
|
||||
*
|
||||
* Used for reference images that feed directly into the main model rather
|
||||
* than through a separate IP-Adapter / ControlNet model — for example
|
||||
* FLUX.2 Klein, FLUX Kontext, and Qwen Image Edit. The receiving frontend
|
||||
* picks the correct config type (``flux2_reference_image`` /
|
||||
* ``qwen_image_reference_image`` / ``flux_kontext_reference_image``) based
|
||||
* on the currently-selected main model.
|
||||
*/
|
||||
ReferenceImageRecallParameter: {
|
||||
/**
|
||||
* Image Name
|
||||
* @description The filename of the reference image in outputs/images
|
||||
*/
|
||||
image_name: string;
|
||||
};
|
||||
/**
|
||||
* RemoteModelFile
|
||||
* @description Information about a downloadable file that forms part of a model.
|
||||
@@ -25402,6 +25363,16 @@ export type components = {
|
||||
* @description Total number of queue items
|
||||
*/
|
||||
total: number;
|
||||
/**
|
||||
* User Pending
|
||||
* @description Number of queue items with status 'pending' for the current user
|
||||
*/
|
||||
user_pending?: number | null;
|
||||
/**
|
||||
* User In Progress
|
||||
* @description Number of queue items with status 'in_progress' for the current user
|
||||
*/
|
||||
user_in_progress?: number | null;
|
||||
};
|
||||
/**
|
||||
* SetupRequest
|
||||
@@ -25457,11 +25428,6 @@ export type components = {
|
||||
* @description Whether strict password requirements are enforced
|
||||
*/
|
||||
strict_password_checking: boolean;
|
||||
/**
|
||||
* Admin Email
|
||||
* @description Email of the first active admin user, if any
|
||||
*/
|
||||
admin_email?: string | null;
|
||||
};
|
||||
/**
|
||||
* Show Image
|
||||
@@ -28725,16 +28691,6 @@ export type components = {
|
||||
* @description The opened timestamp of the workflow.
|
||||
*/
|
||||
opened_at?: string | null;
|
||||
/**
|
||||
* User Id
|
||||
* @description The id of the user who owns this workflow.
|
||||
*/
|
||||
user_id: string;
|
||||
/**
|
||||
* Is Public
|
||||
* @description Whether this workflow is shared with all users.
|
||||
*/
|
||||
is_public: boolean;
|
||||
/** @description The workflow. */
|
||||
workflow: components["schemas"]["Workflow"];
|
||||
};
|
||||
@@ -28765,16 +28721,6 @@ export type components = {
|
||||
* @description The opened timestamp of the workflow.
|
||||
*/
|
||||
opened_at?: string | null;
|
||||
/**
|
||||
* User Id
|
||||
* @description The id of the user who owns this workflow.
|
||||
*/
|
||||
user_id: string;
|
||||
/**
|
||||
* Is Public
|
||||
* @description Whether this workflow is shared with all users.
|
||||
*/
|
||||
is_public: boolean;
|
||||
/**
|
||||
* Description
|
||||
* @description The description of the workflow.
|
||||
@@ -28798,7 +28744,7 @@ export type components = {
|
||||
* @description The order by options for workflow records
|
||||
* @enum {string}
|
||||
*/
|
||||
WorkflowRecordOrderBy: "created_at" | "updated_at" | "opened_at" | "name" | "is_public";
|
||||
WorkflowRecordOrderBy: "created_at" | "updated_at" | "opened_at" | "name";
|
||||
/** WorkflowRecordWithThumbnailDTO */
|
||||
WorkflowRecordWithThumbnailDTO: {
|
||||
/**
|
||||
@@ -28826,16 +28772,6 @@ export type components = {
|
||||
* @description The opened timestamp of the workflow.
|
||||
*/
|
||||
opened_at?: string | null;
|
||||
/**
|
||||
* User Id
|
||||
* @description The id of the user who owns this workflow.
|
||||
*/
|
||||
user_id: string;
|
||||
/**
|
||||
* Is Public
|
||||
* @description Whether this workflow is shared with all users.
|
||||
*/
|
||||
is_public: boolean;
|
||||
/** @description The workflow. */
|
||||
workflow: components["schemas"]["Workflow"];
|
||||
/**
|
||||
@@ -33966,8 +33902,6 @@ export interface operations {
|
||||
query?: string | null;
|
||||
/** @description Whether to include/exclude recent workflows */
|
||||
has_been_opened?: boolean | null;
|
||||
/** @description Filter by public/shared status */
|
||||
is_public?: boolean | null;
|
||||
};
|
||||
header?: never;
|
||||
path?: never;
|
||||
@@ -34142,49 +34076,11 @@ export interface operations {
|
||||
};
|
||||
};
|
||||
};
|
||||
update_workflow_is_public: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path: {
|
||||
/** @description The workflow to update */
|
||||
workflow_id: string;
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["Body_update_workflow_is_public"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["WorkflowRecordDTO"];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
get_all_tags: {
|
||||
parameters: {
|
||||
query?: {
|
||||
/** @description The categories to include */
|
||||
categories?: components["schemas"]["WorkflowCategory"][] | null;
|
||||
/** @description Filter by public/shared status */
|
||||
is_public?: boolean | null;
|
||||
};
|
||||
header?: never;
|
||||
path?: never;
|
||||
@@ -34221,8 +34117,6 @@ export interface operations {
|
||||
categories?: components["schemas"]["WorkflowCategory"][] | null;
|
||||
/** @description Whether to include/exclude recent workflows */
|
||||
has_been_opened?: boolean | null;
|
||||
/** @description Filter by public/shared status */
|
||||
is_public?: boolean | null;
|
||||
};
|
||||
header?: never;
|
||||
path?: never;
|
||||
@@ -34259,8 +34153,6 @@ export interface operations {
|
||||
categories: components["schemas"]["WorkflowCategory"][];
|
||||
/** @description Whether to include/exclude recent workflows */
|
||||
has_been_opened?: boolean | null;
|
||||
/** @description Filter by public/shared status */
|
||||
is_public?: boolean | null;
|
||||
};
|
||||
header?: never;
|
||||
path?: never;
|
||||
|
||||
Reference in New Issue
Block a user