From 0c3b4bb70d78e9884636a9a439067acac55205af Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 26 May 2023 11:39:29 +1000 Subject: [PATCH] chore(ui): regen api client --- invokeai/frontend/web/src/services/api/index.ts | 1 - .../web/src/services/api/models/AddInvocation.ts | 8 +++----- .../web/src/services/api/models/CollectInvocation.ts | 8 +++----- .../web/src/services/api/models/CompelInvocation.ts | 8 +++----- .../src/services/api/models/CvInpaintInvocation.ts | 7 +++---- .../web/src/services/api/models/DivideInvocation.ts | 8 +++----- .../web/src/services/api/models/GraphInvocation.ts | 7 +++---- .../src/services/api/models/ImageBlurInvocation.ts | 7 +++---- .../src/services/api/models/ImageChannelInvocation.ts | 7 +++---- .../src/services/api/models/ImageConvertInvocation.ts | 7 +++---- .../src/services/api/models/ImageCropInvocation.ts | 7 +++---- .../services/api/models/ImageInverseLerpInvocation.ts | 7 +++---- .../src/services/api/models/ImageLerpInvocation.ts | 7 +++---- .../services/api/models/ImageMultiplyInvocation.ts | 7 +++---- .../src/services/api/models/ImagePasteInvocation.ts | 7 +++---- .../src/services/api/models/ImageToImageInvocation.ts | 7 +++---- .../services/api/models/ImageToLatentsInvocation.ts | 7 +++---- .../src/services/api/models/InfillColorInvocation.ts | 7 +++---- .../services/api/models/InfillPatchMatchInvocation.ts | 7 +++---- .../src/services/api/models/InfillTileInvocation.ts | 7 +++---- .../web/src/services/api/models/InpaintInvocation.ts | 7 +++---- .../web/src/services/api/models/InvocationMeta.ts | 11 ----------- .../web/src/services/api/models/IterateInvocation.ts | 8 +++----- .../services/api/models/LatentsToImageInvocation.ts | 7 +++---- .../services/api/models/LatentsToLatentsInvocation.ts | 7 +++---- .../src/services/api/models/LoadImageInvocation.ts | 7 +++---- .../services/api/models/MaskFromAlphaInvocation.ts | 7 +++---- .../web/src/services/api/models/MultiplyInvocation.ts | 8 +++----- .../web/src/services/api/models/NoiseInvocation.ts | 8 +++----- .../web/src/services/api/models/ParamIntInvocation.ts | 8 +++----- .../src/services/api/models/RandomIntInvocation.ts | 8 +++----- .../src/services/api/models/RandomRangeInvocation.ts | 8 +++----- .../web/src/services/api/models/RangeInvocation.ts | 8 +++----- .../src/services/api/models/RangeOfSizeInvocation.ts | 8 +++----- .../services/api/models/ResizeLatentsInvocation.ts | 7 +++---- .../src/services/api/models/RestoreFaceInvocation.ts | 7 +++---- .../src/services/api/models/ScaleLatentsInvocation.ts | 7 +++---- .../src/services/api/models/ShowImageInvocation.ts | 7 +++---- .../web/src/services/api/models/SubtractInvocation.ts | 8 +++----- .../src/services/api/models/TextToImageInvocation.ts | 8 +++----- .../services/api/models/TextToLatentsInvocation.ts | 7 +++---- .../web/src/services/api/models/UpscaleInvocation.ts | 7 +++---- 42 files changed, 120 insertions(+), 186 deletions(-) delete mode 100644 invokeai/frontend/web/src/services/api/models/InvocationMeta.ts diff --git a/invokeai/frontend/web/src/services/api/index.ts b/invokeai/frontend/web/src/services/api/index.ts index b7cfb476a2..e75aeac6cb 100644 --- a/invokeai/frontend/web/src/services/api/index.ts +++ b/invokeai/frontend/web/src/services/api/index.ts @@ -50,7 +50,6 @@ export type { InfillTileInvocation } from './models/InfillTileInvocation'; export type { InpaintInvocation } from './models/InpaintInvocation'; export type { IntCollectionOutput } from './models/IntCollectionOutput'; export type { IntOutput } from './models/IntOutput'; -export type { InvocationMeta } from './models/InvocationMeta'; export type { IterateInvocation } from './models/IterateInvocation'; export type { IterateInvocationOutput } from './models/IterateInvocationOutput'; export type { LatentsField } from './models/LatentsField'; diff --git a/invokeai/frontend/web/src/services/api/models/AddInvocation.ts b/invokeai/frontend/web/src/services/api/models/AddInvocation.ts index 52898bfd0c..e9671a918f 100644 --- a/invokeai/frontend/web/src/services/api/models/AddInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/AddInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Adds two numbers */ @@ -12,11 +10,11 @@ export type AddInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'add'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'add'; /** * The first number */ diff --git a/invokeai/frontend/web/src/services/api/models/CollectInvocation.ts b/invokeai/frontend/web/src/services/api/models/CollectInvocation.ts index fb6c7b40e5..f190ab7073 100644 --- a/invokeai/frontend/web/src/services/api/models/CollectInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/CollectInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Collects values into a collection */ @@ -12,11 +10,11 @@ export type CollectInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'collect'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'collect'; /** * The item to collect (all inputs must be of the same type) */ diff --git a/invokeai/frontend/web/src/services/api/models/CompelInvocation.ts b/invokeai/frontend/web/src/services/api/models/CompelInvocation.ts index ec483a76d5..1dc390c1be 100644 --- a/invokeai/frontend/web/src/services/api/models/CompelInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/CompelInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Parse prompt using compel package to conditioning. */ @@ -12,11 +10,11 @@ export type CompelInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'compel'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'compel'; /** * Prompt */ diff --git a/invokeai/frontend/web/src/services/api/models/CvInpaintInvocation.ts b/invokeai/frontend/web/src/services/api/models/CvInpaintInvocation.ts index d8fafc02d4..874df93c30 100644 --- a/invokeai/frontend/web/src/services/api/models/CvInpaintInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/CvInpaintInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Simple inpaint using opencv. @@ -13,11 +12,11 @@ export type CvInpaintInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'cv_inpaint'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'cv_inpaint'; /** * The image to inpaint */ diff --git a/invokeai/frontend/web/src/services/api/models/DivideInvocation.ts b/invokeai/frontend/web/src/services/api/models/DivideInvocation.ts index 220f635580..fd5b3475ae 100644 --- a/invokeai/frontend/web/src/services/api/models/DivideInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/DivideInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Divides two numbers */ @@ -12,11 +10,11 @@ export type DivideInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'div'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'div'; /** * The first number */ diff --git a/invokeai/frontend/web/src/services/api/models/GraphInvocation.ts b/invokeai/frontend/web/src/services/api/models/GraphInvocation.ts index b631edce62..8512faae74 100644 --- a/invokeai/frontend/web/src/services/api/models/GraphInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/GraphInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { Graph } from './Graph'; -import type { InvocationMeta } from './InvocationMeta'; /** * Execute a graph @@ -13,11 +12,11 @@ export type GraphInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'graph'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'graph'; /** * The graph to run */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageBlurInvocation.ts b/invokeai/frontend/web/src/services/api/models/ImageBlurInvocation.ts index caa189c0ab..3ba86d8fab 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageBlurInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageBlurInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Blurs an image @@ -13,11 +12,11 @@ export type ImageBlurInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'img_blur'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'img_blur'; /** * The image to blur */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageChannelInvocation.ts b/invokeai/frontend/web/src/services/api/models/ImageChannelInvocation.ts index 0320b3d50a..47bfd4110f 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageChannelInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageChannelInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Gets a channel from an image. @@ -13,11 +12,11 @@ export type ImageChannelInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'img_chan'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'img_chan'; /** * The image to get the channel from */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageConvertInvocation.ts b/invokeai/frontend/web/src/services/api/models/ImageConvertInvocation.ts index 34f0365541..4bd59d03b0 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageConvertInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageConvertInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Converts an image to a different mode. @@ -13,11 +12,11 @@ export type ImageConvertInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'img_conv'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'img_conv'; /** * The image to convert */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageCropInvocation.ts b/invokeai/frontend/web/src/services/api/models/ImageCropInvocation.ts index ad672f1772..5207ebbf6d 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageCropInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageCropInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Crops an image to a specified box. The box can be outside of the image. @@ -13,11 +12,11 @@ export type ImageCropInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'img_crop'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'img_crop'; /** * The image to crop */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageInverseLerpInvocation.ts b/invokeai/frontend/web/src/services/api/models/ImageInverseLerpInvocation.ts index be88fb5d54..0347d4dc38 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageInverseLerpInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageInverseLerpInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Inverse linear interpolation of all pixels of an image @@ -13,11 +12,11 @@ export type ImageInverseLerpInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'img_ilerp'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'img_ilerp'; /** * The image to lerp */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageLerpInvocation.ts b/invokeai/frontend/web/src/services/api/models/ImageLerpInvocation.ts index fcf1ea184c..388c86061c 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageLerpInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageLerpInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Linear interpolation of all pixels of an image @@ -13,11 +12,11 @@ export type ImageLerpInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'img_lerp'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'img_lerp'; /** * The image to lerp */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageMultiplyInvocation.ts b/invokeai/frontend/web/src/services/api/models/ImageMultiplyInvocation.ts index c1b76b3864..751ee49158 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageMultiplyInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageMultiplyInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Multiplies two images together using `PIL.ImageChops.multiply()`. @@ -13,11 +12,11 @@ export type ImageMultiplyInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'img_mul'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'img_mul'; /** * The first image to multiply */ diff --git a/invokeai/frontend/web/src/services/api/models/ImagePasteInvocation.ts b/invokeai/frontend/web/src/services/api/models/ImagePasteInvocation.ts index 3db0c33bf9..c883b9a5d8 100644 --- a/invokeai/frontend/web/src/services/api/models/ImagePasteInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ImagePasteInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Pastes an image into another image. @@ -13,11 +12,11 @@ export type ImagePasteInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'img_paste'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'img_paste'; /** * The base image */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageToImageInvocation.ts b/invokeai/frontend/web/src/services/api/models/ImageToImageInvocation.ts index 809403e38c..7287b4cb71 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageToImageInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageToImageInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Generates an image using img2img. @@ -13,11 +12,11 @@ export type ImageToImageInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'img2img'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'img2img'; /** * The prompt to generate an image from */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageToLatentsInvocation.ts b/invokeai/frontend/web/src/services/api/models/ImageToLatentsInvocation.ts index fc510a2b4c..5569c2fa86 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageToLatentsInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageToLatentsInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Encodes an image into latents. @@ -13,11 +12,11 @@ export type ImageToLatentsInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'i2l'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'i2l'; /** * The image to encode */ diff --git a/invokeai/frontend/web/src/services/api/models/InfillColorInvocation.ts b/invokeai/frontend/web/src/services/api/models/InfillColorInvocation.ts index dbfac9cd60..3e637b299c 100644 --- a/invokeai/frontend/web/src/services/api/models/InfillColorInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/InfillColorInvocation.ts @@ -4,7 +4,6 @@ import type { ColorField } from './ColorField'; import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Infills transparent areas of an image with a solid color @@ -14,11 +13,11 @@ export type InfillColorInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'infill_rgba'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'infill_rgba'; /** * The image to infill */ diff --git a/invokeai/frontend/web/src/services/api/models/InfillPatchMatchInvocation.ts b/invokeai/frontend/web/src/services/api/models/InfillPatchMatchInvocation.ts index 49d8519e13..325bfe2080 100644 --- a/invokeai/frontend/web/src/services/api/models/InfillPatchMatchInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/InfillPatchMatchInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Infills transparent areas of an image using the PatchMatch algorithm @@ -13,11 +12,11 @@ export type InfillPatchMatchInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'infill_patchmatch'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'infill_patchmatch'; /** * The image to infill */ diff --git a/invokeai/frontend/web/src/services/api/models/InfillTileInvocation.ts b/invokeai/frontend/web/src/services/api/models/InfillTileInvocation.ts index ce318b9c29..dfb1cbc61d 100644 --- a/invokeai/frontend/web/src/services/api/models/InfillTileInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/InfillTileInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Infills transparent areas of an image with tiles of the image @@ -13,11 +12,11 @@ export type InfillTileInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'infill_tile'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'infill_tile'; /** * The image to infill */ diff --git a/invokeai/frontend/web/src/services/api/models/InpaintInvocation.ts b/invokeai/frontend/web/src/services/api/models/InpaintInvocation.ts index c73d001c5b..fa5ae01c8f 100644 --- a/invokeai/frontend/web/src/services/api/models/InpaintInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/InpaintInvocation.ts @@ -4,7 +4,6 @@ import type { ColorField } from './ColorField'; import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Generates an image using inpaint. @@ -14,11 +13,11 @@ export type InpaintInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'inpaint'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'inpaint'; /** * The prompt to generate an image from */ diff --git a/invokeai/frontend/web/src/services/api/models/InvocationMeta.ts b/invokeai/frontend/web/src/services/api/models/InvocationMeta.ts deleted file mode 100644 index e2973c150a..0000000000 --- a/invokeai/frontend/web/src/services/api/models/InvocationMeta.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ - -export type InvocationMeta = { - /** - * Whether this is an intermediate node. Intermediate nodes are periodically deleted. - */ - is_intermediate?: boolean; -}; - diff --git a/invokeai/frontend/web/src/services/api/models/IterateInvocation.ts b/invokeai/frontend/web/src/services/api/models/IterateInvocation.ts index 419caa15a4..15bf92dfea 100644 --- a/invokeai/frontend/web/src/services/api/models/IterateInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/IterateInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Iterates over a list of items */ @@ -12,11 +10,11 @@ export type IterateInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'iterate'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'iterate'; /** * The list of items to iterate over */ diff --git a/invokeai/frontend/web/src/services/api/models/LatentsToImageInvocation.ts b/invokeai/frontend/web/src/services/api/models/LatentsToImageInvocation.ts index a01877cc40..fcaa37d7e8 100644 --- a/invokeai/frontend/web/src/services/api/models/LatentsToImageInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/LatentsToImageInvocation.ts @@ -2,7 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; import type { LatentsField } from './LatentsField'; /** @@ -13,11 +12,11 @@ export type LatentsToImageInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'l2i'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'l2i'; /** * The latents to generate an image from */ diff --git a/invokeai/frontend/web/src/services/api/models/LatentsToLatentsInvocation.ts b/invokeai/frontend/web/src/services/api/models/LatentsToLatentsInvocation.ts index b441f51b3f..6436557f64 100644 --- a/invokeai/frontend/web/src/services/api/models/LatentsToLatentsInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/LatentsToLatentsInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ConditioningField } from './ConditioningField'; -import type { InvocationMeta } from './InvocationMeta'; import type { LatentsField } from './LatentsField'; /** @@ -14,11 +13,11 @@ export type LatentsToLatentsInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'l2l'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'l2l'; /** * Positive conditioning for generation */ diff --git a/invokeai/frontend/web/src/services/api/models/LoadImageInvocation.ts b/invokeai/frontend/web/src/services/api/models/LoadImageInvocation.ts index c147597806..f20d983f9b 100644 --- a/invokeai/frontend/web/src/services/api/models/LoadImageInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/LoadImageInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Load an image and provide it as output. @@ -13,11 +12,11 @@ export type LoadImageInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'load_image'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'load_image'; /** * The image to load */ diff --git a/invokeai/frontend/web/src/services/api/models/MaskFromAlphaInvocation.ts b/invokeai/frontend/web/src/services/api/models/MaskFromAlphaInvocation.ts index 74aee00b2f..e3693f6d98 100644 --- a/invokeai/frontend/web/src/services/api/models/MaskFromAlphaInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/MaskFromAlphaInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Extracts the alpha channel of an image as a mask. @@ -13,11 +12,11 @@ export type MaskFromAlphaInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'tomask'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'tomask'; /** * The image to create the mask from */ diff --git a/invokeai/frontend/web/src/services/api/models/MultiplyInvocation.ts b/invokeai/frontend/web/src/services/api/models/MultiplyInvocation.ts index aa6cbf6fb4..9fd716f33d 100644 --- a/invokeai/frontend/web/src/services/api/models/MultiplyInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/MultiplyInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Multiplies two numbers */ @@ -12,11 +10,11 @@ export type MultiplyInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'mul'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'mul'; /** * The first number */ diff --git a/invokeai/frontend/web/src/services/api/models/NoiseInvocation.ts b/invokeai/frontend/web/src/services/api/models/NoiseInvocation.ts index 67c77d024e..239a24bfe5 100644 --- a/invokeai/frontend/web/src/services/api/models/NoiseInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/NoiseInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Generates latent noise. */ @@ -12,11 +10,11 @@ export type NoiseInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'noise'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'noise'; /** * The seed to use */ diff --git a/invokeai/frontend/web/src/services/api/models/ParamIntInvocation.ts b/invokeai/frontend/web/src/services/api/models/ParamIntInvocation.ts index 6dc597f183..7a45d0a0ac 100644 --- a/invokeai/frontend/web/src/services/api/models/ParamIntInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ParamIntInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * An integer parameter */ @@ -12,11 +10,11 @@ export type ParamIntInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'param_int'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'param_int'; /** * The integer value */ diff --git a/invokeai/frontend/web/src/services/api/models/RandomIntInvocation.ts b/invokeai/frontend/web/src/services/api/models/RandomIntInvocation.ts index 1cccffe93e..a2f7c2f02a 100644 --- a/invokeai/frontend/web/src/services/api/models/RandomIntInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/RandomIntInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Outputs a single random integer. */ @@ -12,11 +10,11 @@ export type RandomIntInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'rand_int'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'rand_int'; /** * The inclusive low value */ diff --git a/invokeai/frontend/web/src/services/api/models/RandomRangeInvocation.ts b/invokeai/frontend/web/src/services/api/models/RandomRangeInvocation.ts index fbf8455226..925511578d 100644 --- a/invokeai/frontend/web/src/services/api/models/RandomRangeInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/RandomRangeInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Creates a collection of random numbers */ @@ -12,11 +10,11 @@ export type RandomRangeInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'random_range'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'random_range'; /** * The inclusive low value */ diff --git a/invokeai/frontend/web/src/services/api/models/RangeInvocation.ts b/invokeai/frontend/web/src/services/api/models/RangeInvocation.ts index 5173ceeb7f..3681602a95 100644 --- a/invokeai/frontend/web/src/services/api/models/RangeInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/RangeInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Creates a range of numbers from start to stop with step */ @@ -12,11 +10,11 @@ export type RangeInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'range'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'range'; /** * The start of the range */ diff --git a/invokeai/frontend/web/src/services/api/models/RangeOfSizeInvocation.ts b/invokeai/frontend/web/src/services/api/models/RangeOfSizeInvocation.ts index 2a7d5bae2a..7dfac68d39 100644 --- a/invokeai/frontend/web/src/services/api/models/RangeOfSizeInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/RangeOfSizeInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Creates a range from start to start + size with step */ @@ -12,11 +10,11 @@ export type RangeOfSizeInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'range_of_size'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'range_of_size'; /** * The start of the range */ diff --git a/invokeai/frontend/web/src/services/api/models/ResizeLatentsInvocation.ts b/invokeai/frontend/web/src/services/api/models/ResizeLatentsInvocation.ts index e0cbb5c0c7..9a7b6c61e4 100644 --- a/invokeai/frontend/web/src/services/api/models/ResizeLatentsInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ResizeLatentsInvocation.ts @@ -2,7 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; import type { LatentsField } from './LatentsField'; /** @@ -13,11 +12,11 @@ export type ResizeLatentsInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'lresize'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'lresize'; /** * The latents to resize */ diff --git a/invokeai/frontend/web/src/services/api/models/RestoreFaceInvocation.ts b/invokeai/frontend/web/src/services/api/models/RestoreFaceInvocation.ts index 01de107ab9..0bacb5d805 100644 --- a/invokeai/frontend/web/src/services/api/models/RestoreFaceInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/RestoreFaceInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Restores faces in an image. @@ -13,11 +12,11 @@ export type RestoreFaceInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'restore_face'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'restore_face'; /** * The input image */ diff --git a/invokeai/frontend/web/src/services/api/models/ScaleLatentsInvocation.ts b/invokeai/frontend/web/src/services/api/models/ScaleLatentsInvocation.ts index 08cd8de900..506b21e540 100644 --- a/invokeai/frontend/web/src/services/api/models/ScaleLatentsInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ScaleLatentsInvocation.ts @@ -2,7 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; import type { LatentsField } from './LatentsField'; /** @@ -13,11 +12,11 @@ export type ScaleLatentsInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'lscale'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'lscale'; /** * The latents to scale */ diff --git a/invokeai/frontend/web/src/services/api/models/ShowImageInvocation.ts b/invokeai/frontend/web/src/services/api/models/ShowImageInvocation.ts index 6934eeaa90..1b73055584 100644 --- a/invokeai/frontend/web/src/services/api/models/ShowImageInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ShowImageInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Displays a provided image, and passes it forward in the pipeline. @@ -13,11 +12,11 @@ export type ShowImageInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'show_image'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'show_image'; /** * The image to show */ diff --git a/invokeai/frontend/web/src/services/api/models/SubtractInvocation.ts b/invokeai/frontend/web/src/services/api/models/SubtractInvocation.ts index 8ef305183c..23334bd891 100644 --- a/invokeai/frontend/web/src/services/api/models/SubtractInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/SubtractInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Subtracts two numbers */ @@ -12,11 +10,11 @@ export type SubtractInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'sub'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'sub'; /** * The first number */ diff --git a/invokeai/frontend/web/src/services/api/models/TextToImageInvocation.ts b/invokeai/frontend/web/src/services/api/models/TextToImageInvocation.ts index 56dfd076f9..de95ff738c 100644 --- a/invokeai/frontend/web/src/services/api/models/TextToImageInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/TextToImageInvocation.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { InvocationMeta } from './InvocationMeta'; - /** * Generates an image using text2img. */ @@ -12,11 +10,11 @@ export type TextToImageInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'txt2img'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'txt2img'; /** * The prompt to generate an image from */ diff --git a/invokeai/frontend/web/src/services/api/models/TextToLatentsInvocation.ts b/invokeai/frontend/web/src/services/api/models/TextToLatentsInvocation.ts index 865360d39b..33eedc0f02 100644 --- a/invokeai/frontend/web/src/services/api/models/TextToLatentsInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/TextToLatentsInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ConditioningField } from './ConditioningField'; -import type { InvocationMeta } from './InvocationMeta'; import type { LatentsField } from './LatentsField'; /** @@ -14,11 +13,11 @@ export type TextToLatentsInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 't2l'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 't2l'; /** * Positive conditioning for generation */ diff --git a/invokeai/frontend/web/src/services/api/models/UpscaleInvocation.ts b/invokeai/frontend/web/src/services/api/models/UpscaleInvocation.ts index fe34b74678..d0aca63964 100644 --- a/invokeai/frontend/web/src/services/api/models/UpscaleInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/UpscaleInvocation.ts @@ -3,7 +3,6 @@ /* eslint-disable */ import type { ImageField } from './ImageField'; -import type { InvocationMeta } from './InvocationMeta'; /** * Upscales an image. @@ -13,11 +12,11 @@ export type UpscaleInvocation = { * The id of this node. Must be unique among all nodes. */ id: string; - type?: 'upscale'; /** - * The meta properties of this node. + * Whether or not this node is an intermediate node. */ - meta?: InvocationMeta; + is_intermediate?: boolean; + type?: 'upscale'; /** * The input image */