converse.js
Version:
Browser based XMPP chat client
12 lines (9 loc) • 362 B
text/typescript
import { AdHocCommand, AdHocCommandResult } from '@converse/headless/plugins/adhoc/types';
export type AdHocUIProps = {
instructions: string;
jid: string;
alert?: string;
alert_type: 'danger'|'primary';
name: 'cancel'|'complete'|'execute'|'next'|'prev';
}
export type AdHocCommandUIProps = AdHocCommand & AdHocCommandResult & AdHocUIProps;