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
|
* Base class for all invocation outputs
|
||||||
*/
|
*/
|
||||||
export type CollectInvocationOutput = {
|
export type CollectInvocationOutput = {
|
||||||
type?: 'collect_output';
|
type: 'collect_output';
|
||||||
/**
|
/**
|
||||||
* The collection of input items
|
* The collection of input items
|
||||||
*/
|
*/
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
* Base class for all invocation outputs
|
* Base class for all invocation outputs
|
||||||
*/
|
*/
|
||||||
export type GraphInvocationOutput = {
|
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
|
* Base class for invocations that output an image
|
||||||
*/
|
*/
|
||||||
export type ImageOutput = {
|
export type ImageOutput = {
|
||||||
type?: 'image';
|
type: 'image';
|
||||||
/**
|
/**
|
||||||
* The output image
|
* The output image
|
||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image: ImageField;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
* Used to connect iteration outputs. Will be expanded to a specific output.
|
* Used to connect iteration outputs. Will be expanded to a specific output.
|
||||||
*/
|
*/
|
||||||
export type IterateInvocationOutput = {
|
export type IterateInvocationOutput = {
|
||||||
type?: 'iterate_output';
|
type: 'iterate_output';
|
||||||
/**
|
/**
|
||||||
* The item being iterated over
|
* 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
|
* Base class for invocations that output a mask
|
||||||
*/
|
*/
|
||||||
export type MaskOutput = {
|
export type MaskOutput = {
|
||||||
type?: 'mask';
|
type: 'mask';
|
||||||
/**
|
/**
|
||||||
* The output mask
|
* The output mask
|
||||||
*/
|
*/
|
||||||
mask?: ImageField;
|
mask: ImageField;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
* Base class for invocations that output a prompt
|
* Base class for invocations that output a prompt
|
||||||
*/
|
*/
|
||||||
export type PromptOutput = {
|
export type PromptOutput = {
|
||||||
type?: 'prompt';
|
type: 'prompt';
|
||||||
/**
|
/**
|
||||||
* The output prompt
|
* The output prompt
|
||||||
*/
|
*/
|
||||||
prompt?: string;
|
prompt: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@ export const $CollectInvocationOutput = {
|
|||||||
properties: {
|
properties: {
|
||||||
type: {
|
type: {
|
||||||
type: 'Enum',
|
type: 'Enum',
|
||||||
|
isRequired: true,
|
||||||
},
|
},
|
||||||
collection: {
|
collection: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
|
@ -6,6 +6,7 @@ export const $GraphInvocationOutput = {
|
|||||||
properties: {
|
properties: {
|
||||||
type: {
|
type: {
|
||||||
type: 'Enum',
|
type: 'Enum',
|
||||||
|
isRequired: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
@ -6,6 +6,7 @@ export const $ImageOutput = {
|
|||||||
properties: {
|
properties: {
|
||||||
type: {
|
type: {
|
||||||
type: 'Enum',
|
type: 'Enum',
|
||||||
|
isRequired: true,
|
||||||
},
|
},
|
||||||
image: {
|
image: {
|
||||||
type: 'all-of',
|
type: 'all-of',
|
||||||
@ -13,6 +14,7 @@ export const $ImageOutput = {
|
|||||||
contains: [{
|
contains: [{
|
||||||
type: 'ImageField',
|
type: 'ImageField',
|
||||||
}],
|
}],
|
||||||
|
isRequired: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
@ -6,11 +6,13 @@ export const $IterateInvocationOutput = {
|
|||||||
properties: {
|
properties: {
|
||||||
type: {
|
type: {
|
||||||
type: 'Enum',
|
type: 'Enum',
|
||||||
|
isRequired: true,
|
||||||
},
|
},
|
||||||
item: {
|
item: {
|
||||||
description: `The item being iterated over`,
|
description: `The item being iterated over`,
|
||||||
properties: {
|
properties: {
|
||||||
},
|
},
|
||||||
|
isRequired: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
@ -6,6 +6,7 @@ export const $MaskOutput = {
|
|||||||
properties: {
|
properties: {
|
||||||
type: {
|
type: {
|
||||||
type: 'Enum',
|
type: 'Enum',
|
||||||
|
isRequired: true,
|
||||||
},
|
},
|
||||||
mask: {
|
mask: {
|
||||||
type: 'all-of',
|
type: 'all-of',
|
||||||
@ -13,6 +14,7 @@ export const $MaskOutput = {
|
|||||||
contains: [{
|
contains: [{
|
||||||
type: 'ImageField',
|
type: 'ImageField',
|
||||||
}],
|
}],
|
||||||
|
isRequired: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
@ -6,10 +6,12 @@ export const $PromptOutput = {
|
|||||||
properties: {
|
properties: {
|
||||||
type: {
|
type: {
|
||||||
type: 'Enum',
|
type: 'Enum',
|
||||||
|
isRequired: true,
|
||||||
},
|
},
|
||||||
prompt: {
|
prompt: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
description: `The output prompt`,
|
description: `The output prompt`,
|
||||||
|
isRequired: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
Loading…
Reference in New Issue
Block a user