fix(ui): update types

This commit is contained in:
psychedelicious 2024-03-07 10:48:58 +11:00
parent c5ab1c7ad6
commit e68d7fa6d7
3 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ import { filter, size } from 'lodash-es';
import {
type CoreMetadataInvocation,
isLoRAModelConfig,
type LoraLoaderInvocation,
type LoRALoaderInvocation,
type NonNullableGraph,
} from 'services/api/types';
@ -50,7 +50,7 @@ export const addLoRAsToGraph = async (
const { key } = lora.model;
const currentLoraNodeId = `${LORA_LOADER}_${key}`;
const loraLoaderNode: LoraLoaderInvocation = {
const loraLoaderNode: LoRALoaderInvocation = {
type: 'lora_loader',
id: currentLoraNodeId,
is_intermediate: true,

View File

@ -5,7 +5,7 @@ import {
type CoreMetadataInvocation,
isLoRAModelConfig,
type NonNullableGraph,
type SDXLLoraLoaderInvocation,
type SDXLLoRALoaderInvocation,
} from 'services/api/types';
import {
@ -66,7 +66,7 @@ export const addSDXLLoRAsToGraph = async (
const { key } = lora.model;
const currentLoraNodeId = `${LORA_LOADER}_${key}`;
const loraLoaderNode: SDXLLoraLoaderInvocation = {
const loraLoaderNode: SDXLLoRALoaderInvocation = {
type: 'sdxl_lora_loader',
id: currentLoraNodeId,
is_intermediate: true,

View File

@ -119,10 +119,10 @@ export type CreateGradientMaskInvocation = S['CreateGradientMaskInvocation'];
export type CanvasPasteBackInvocation = S['CanvasPasteBackInvocation'];
export type NoiseInvocation = S['NoiseInvocation'];
export type DenoiseLatentsInvocation = S['DenoiseLatentsInvocation'];
export type SDXLLoraLoaderInvocation = S['SDXLLoraLoaderInvocation'];
export type SDXLLoRALoaderInvocation = S['SDXLLoRALoaderInvocation'];
export type ImageToLatentsInvocation = S['ImageToLatentsInvocation'];
export type LatentsToImageInvocation = S['LatentsToImageInvocation'];
export type LoraLoaderInvocation = S['LoraLoaderInvocation'];
export type LoRALoaderInvocation = S['LoRALoaderInvocation'];
export type ESRGANInvocation = S['ESRGANInvocation'];
export type ImageNSFWBlurInvocation = S['ImageNSFWBlurInvocation'];
export type ImageWatermarkInvocation = S['ImageWatermarkInvocation'];