Spaces:
Runtime error
Runtime error
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; | |
export interface RoomResponse { | |
id: number; | |
room_id: string; | |
users_count: number; | |
} |