radames's picture
ui improvements
95c652b
raw
history blame
No virus
530 Bytes
export enum Status {
ready = 'ready',
loading = 'loading',
prompting = 'prompting',
processing = 'processing',
dragging = 'dragging',
masking = 'masking',
}
export type Presence = {
cursor: {
x: number;
y: number;
} | null;
frame: {
x: number;
y: number;
} | null;
status: Status;
currentPrompt: string
}
export type User = string;
export type PromptImgObject = {
prompt: string;
imgURL: string;
position: {
x: number;
y: number;
}
date: number;
id: string;
};
export type PromptImgKey = string;