mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): regenerate api client
This commit is contained in:
parent
6c1f666242
commit
d86588ec76
@ -6,7 +6,7 @@
|
||||
* Base class for all invocation outputs
|
||||
*/
|
||||
export type CollectInvocationOutput = {
|
||||
type?: 'collect_output';
|
||||
type: 'collect_output';
|
||||
/**
|
||||
* The collection of input items
|
||||
*/
|
||||
|
@ -6,6 +6,6 @@
|
||||
* Base class for all invocation outputs
|
||||
*/
|
||||
export type GraphInvocationOutput = {
|
||||
type?: 'graph_output';
|
||||
type: 'graph_output';
|
||||
};
|
||||
|
||||
|
@ -8,10 +8,10 @@ import type { ImageField } from './ImageField';
|
||||
* Base class for invocations that output an image
|
||||
*/
|
||||
export type ImageOutput = {
|
||||
type?: 'image';
|
||||
type: 'image';
|
||||
/**
|
||||
* The output image
|
||||
*/
|
||||
image?: ImageField;
|
||||
image: ImageField;
|
||||
};
|
||||
|
||||
|
@ -6,10 +6,10 @@
|
||||
* Used to connect iteration outputs. Will be expanded to a specific output.
|
||||
*/
|
||||
export type IterateInvocationOutput = {
|
||||
type?: 'iterate_output';
|
||||
type: 'iterate_output';
|
||||
/**
|
||||
* The item being iterated over
|
||||
*/
|
||||
item?: any;
|
||||
item: any;
|
||||
};
|
||||
|
||||
|
@ -8,10 +8,10 @@ import type { ImageField } from './ImageField';
|
||||
* Base class for invocations that output a mask
|
||||
*/
|
||||
export type MaskOutput = {
|
||||
type?: 'mask';
|
||||
type: 'mask';
|
||||
/**
|
||||
* The output mask
|
||||
*/
|
||||
mask?: ImageField;
|
||||
mask: ImageField;
|
||||
};
|
||||
|
||||
|
@ -6,10 +6,10 @@
|
||||
* Base class for invocations that output a prompt
|
||||
*/
|
||||
export type PromptOutput = {
|
||||
type?: 'prompt';
|
||||
type: 'prompt';
|
||||
/**
|
||||
* The output prompt
|
||||
*/
|
||||
prompt?: string;
|
||||
prompt: string;
|
||||
};
|
||||
|
||||
|
@ -6,6 +6,7 @@ export const $CollectInvocationOutput = {
|
||||
properties: {
|
||||
type: {
|
||||
type: 'Enum',
|
||||
isRequired: true,
|
||||
},
|
||||
collection: {
|
||||
type: 'array',
|
||||
|
@ -6,6 +6,7 @@ export const $GraphInvocationOutput = {
|
||||
properties: {
|
||||
type: {
|
||||
type: 'Enum',
|
||||
isRequired: true,
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
@ -6,6 +6,7 @@ export const $ImageOutput = {
|
||||
properties: {
|
||||
type: {
|
||||
type: 'Enum',
|
||||
isRequired: true,
|
||||
},
|
||||
image: {
|
||||
type: 'all-of',
|
||||
@ -13,6 +14,7 @@ export const $ImageOutput = {
|
||||
contains: [{
|
||||
type: 'ImageField',
|
||||
}],
|
||||
isRequired: true,
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
@ -6,11 +6,13 @@ export const $IterateInvocationOutput = {
|
||||
properties: {
|
||||
type: {
|
||||
type: 'Enum',
|
||||
isRequired: true,
|
||||
},
|
||||
item: {
|
||||
description: `The item being iterated over`,
|
||||
properties: {
|
||||
},
|
||||
isRequired: true,
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
@ -6,6 +6,7 @@ export const $MaskOutput = {
|
||||
properties: {
|
||||
type: {
|
||||
type: 'Enum',
|
||||
isRequired: true,
|
||||
},
|
||||
mask: {
|
||||
type: 'all-of',
|
||||
@ -13,6 +14,7 @@ export const $MaskOutput = {
|
||||
contains: [{
|
||||
type: 'ImageField',
|
||||
}],
|
||||
isRequired: true,
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
@ -6,10 +6,12 @@ export const $PromptOutput = {
|
||||
properties: {
|
||||
type: {
|
||||
type: 'Enum',
|
||||
isRequired: true,
|
||||
},
|
||||
prompt: {
|
||||
type: 'string',
|
||||
description: `The output prompt`,
|
||||
isRequired: true,
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
Loading…
Reference in New Issue
Block a user