MCPcopy
hub / github.com/erictik/midjourney-api / WaitMjEvent

Interface WaitMjEvent

src/interfaces/message.ts:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15export type OnModal = (nonce: string, id: string) => Promise<string>;
16
17export interface WaitMjEvent {
18 nonce: string;
19 prompt?: string;
20 id?: string;
21 del?: boolean; // is delete message
22 onmodal?: OnModal;
23}
24export interface MJEmit {
25 error?: Error;
26 message?: MJMessage;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected