chore: Rebuild API with new Model API names

This commit is contained in:
blessedcoolant 2023-06-18 03:00:16 +12:00
parent 16dc78f6c6
commit 0f3b7d2b3d
8 changed files with 19 additions and 19 deletions

View File

@ -77,7 +77,7 @@ export type { LoadImageInvocation } from './models/LoadImageInvocation';
export type { LoraInfo } from './models/LoraInfo';
export type { LoraLoaderInvocation } from './models/LoraLoaderInvocation';
export type { LoraLoaderOutput } from './models/LoraLoaderOutput';
export type { LoraModelConfig } from './models/LoraModelConfig';
export type { LoRAModelConfig } from './models/LoRAModelConfig';
export type { MaskFromAlphaInvocation } from './models/MaskFromAlphaInvocation';
export type { MaskOutput } from './models/MaskOutput';
export type { MediapipeFaceProcessorInvocation } from './models/MediapipeFaceProcessorInvocation';
@ -113,10 +113,10 @@ export type { SchedulerPredictionType } from './models/SchedulerPredictionType';
export type { SD1ModelLoaderInvocation } from './models/SD1ModelLoaderInvocation';
export type { SD2ModelLoaderInvocation } from './models/SD2ModelLoaderInvocation';
export type { ShowImageInvocation } from './models/ShowImageInvocation';
export type { StableDiffusion1CheckpointModelConfig } from './models/StableDiffusion1CheckpointModelConfig';
export type { StableDiffusion1DiffusersModelConfig } from './models/StableDiffusion1DiffusersModelConfig';
export type { StableDiffusion2CheckpointModelConfig } from './models/StableDiffusion2CheckpointModelConfig';
export type { StableDiffusion2DiffusersModelConfig } from './models/StableDiffusion2DiffusersModelConfig';
export type { StableDiffusion1ModelCheckpointConfig } from './models/StableDiffusion1ModelCheckpointConfig';
export type { StableDiffusion1ModelDiffusersConfig } from './models/StableDiffusion1ModelDiffusersConfig';
export type { StableDiffusion2ModelCheckpointConfig } from './models/StableDiffusion2ModelCheckpointConfig';
export type { StableDiffusion2ModelDiffusersConfig } from './models/StableDiffusion2ModelDiffusersConfig';
export type { StepParamEasingInvocation } from './models/StepParamEasingInvocation';
export type { SubModelType } from './models/SubModelType';
export type { SubtractInvocation } from './models/SubtractInvocation';
@ -126,7 +126,7 @@ export type { TextualInversionModelConfig } from './models/TextualInversionModel
export type { UNetField } from './models/UNetField';
export type { UpscaleInvocation } from './models/UpscaleInvocation';
export type { VaeField } from './models/VaeField';
export type { VAEModelConfig } from './models/VAEModelConfig';
export type { VaeModelConfig } from './models/VaeModelConfig';
export type { VaeRepo } from './models/VaeRepo';
export type { ValidationError } from './models/ValidationError';
export type { ZoeDepthImageProcessorInvocation } from './models/ZoeDepthImageProcessorInvocation';

View File

@ -4,7 +4,7 @@
import type { ModelError } from './ModelError';
export type LoraModelConfig = {
export type LoRAModelConfig = {
path: string;
description?: string;
format: ('lycoris' | 'diffusers');

View File

@ -3,14 +3,14 @@
/* eslint-disable */
import type { ControlNetModelConfig } from './ControlNetModelConfig';
import type { LoraModelConfig } from './LoraModelConfig';
import type { StableDiffusion1CheckpointModelConfig } from './StableDiffusion1CheckpointModelConfig';
import type { StableDiffusion1DiffusersModelConfig } from './StableDiffusion1DiffusersModelConfig';
import type { StableDiffusion2CheckpointModelConfig } from './StableDiffusion2CheckpointModelConfig';
import type { StableDiffusion2DiffusersModelConfig } from './StableDiffusion2DiffusersModelConfig';
import type { LoRAModelConfig } from './LoRAModelConfig';
import type { StableDiffusion1ModelCheckpointConfig } from './StableDiffusion1ModelCheckpointConfig';
import type { StableDiffusion1ModelDiffusersConfig } from './StableDiffusion1ModelDiffusersConfig';
import type { StableDiffusion2ModelCheckpointConfig } from './StableDiffusion2ModelCheckpointConfig';
import type { StableDiffusion2ModelDiffusersConfig } from './StableDiffusion2ModelDiffusersConfig';
import type { TextualInversionModelConfig } from './TextualInversionModelConfig';
import type { VAEModelConfig } from './VAEModelConfig';
import type { VaeModelConfig } from './VaeModelConfig';
export type ModelsList = {
models: Record<string, Record<string, Record<string, (StableDiffusion2DiffusersModelConfig | ControlNetModelConfig | LoraModelConfig | StableDiffusion1CheckpointModelConfig | TextualInversionModelConfig | StableDiffusion1DiffusersModelConfig | StableDiffusion2CheckpointModelConfig | VAEModelConfig)>>>;
models: Record<string, Record<string, Record<string, (StableDiffusion1ModelDiffusersConfig | StableDiffusion2ModelCheckpointConfig | TextualInversionModelConfig | ControlNetModelConfig | VaeModelConfig | StableDiffusion2ModelDiffusersConfig | LoRAModelConfig | StableDiffusion1ModelCheckpointConfig)>>>;
};

View File

@ -5,7 +5,7 @@
import type { ModelError } from './ModelError';
import type { ModelVariantType } from './ModelVariantType';
export type StableDiffusion1CheckpointModelConfig = {
export type StableDiffusion1ModelCheckpointConfig = {
path: string;
description?: string;
format: 'checkpoint';

View File

@ -5,7 +5,7 @@
import type { ModelError } from './ModelError';
import type { ModelVariantType } from './ModelVariantType';
export type StableDiffusion1DiffusersModelConfig = {
export type StableDiffusion1ModelDiffusersConfig = {
path: string;
description?: string;
format: 'diffusers';

View File

@ -6,7 +6,7 @@ import type { ModelError } from './ModelError';
import type { ModelVariantType } from './ModelVariantType';
import type { SchedulerPredictionType } from './SchedulerPredictionType';
export type StableDiffusion2CheckpointModelConfig = {
export type StableDiffusion2ModelCheckpointConfig = {
path: string;
description?: string;
format: 'checkpoint';

View File

@ -6,7 +6,7 @@ import type { ModelError } from './ModelError';
import type { ModelVariantType } from './ModelVariantType';
import type { SchedulerPredictionType } from './SchedulerPredictionType';
export type StableDiffusion2DiffusersModelConfig = {
export type StableDiffusion2ModelDiffusersConfig = {
path: string;
description?: string;
format: 'diffusers';

View File

@ -4,7 +4,7 @@
import type { ModelError } from './ModelError';
export type VAEModelConfig = {
export type VaeModelConfig = {
path: string;
description?: string;
format: ('checkpoint' | 'diffusers');