@opra/common
Version:
Opra common package
17 lines (16 loc) • 494 B
TypeScript
import { DataType } from '../data-type/data-type.interface.js';
import type { DataTypeContainer } from '../data-type-container.interface.js';
/**
* @interface WSOperation
*/
export interface WSOperation extends DataTypeContainer {
kind: WSOperation.Kind;
description?: string;
event: string | RegExp;
arguments?: (string | DataType)[];
response?: string | DataType;
}
export declare namespace WSOperation {
const Kind = "WSOperation";
type Kind = 'WSOperation';
}