chore(ui): regenerate api client

This commit is contained in:
psychedelicious 2023-03-26 13:28:02 +11:00
parent 6c1f666242
commit d86588ec76
12 changed files with 20 additions and 10 deletions

View File

@ -6,7 +6,7 @@
* Base class for all invocation outputs
*/
export type CollectInvocationOutput = {
type?: 'collect_output';
type: 'collect_output';
/**
* The collection of input items
*/

View File

@ -6,6 +6,6 @@
* Base class for all invocation outputs
*/
export type GraphInvocationOutput = {
type?: 'graph_output';
type: 'graph_output';
};

View File

@ -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;
};

View File

@ -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;
};

View File

@ -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;
};

View File

@ -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;
};

View File

@ -6,6 +6,7 @@ export const $CollectInvocationOutput = {
properties: {
type: {
type: 'Enum',
isRequired: true,
},
collection: {
type: 'array',

View File

@ -6,6 +6,7 @@ export const $GraphInvocationOutput = {
properties: {
type: {
type: 'Enum',
isRequired: true,
},
},
} as const;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -6,10 +6,12 @@ export const $PromptOutput = {
properties: {
type: {
type: 'Enum',
isRequired: true,
},
prompt: {
type: 'string',
description: `The output prompt`,
isRequired: true,
},
},
} as const;