remix-nlux
Version:
Remix IDE NLUX integration. Remix IDE is the leading IDE for building and deploying smart contracts on Ethereum. NLUX is a JavaScript and React library for building conversational AI experiences.
45 lines (39 loc) • 686 B
text/typescript
export type InitializeContextResult = {
success: true;
contextId: string;
} | {
success: false;
error: string;
};
export type DestroyContextResult = {
success: true;
} | {
success: false;
error: string;
};
export type FlushContextResult = {
success: true;
} | {
success: false;
error: string;
};
export type RunTaskResult = {
success: true;
result?: unknown;
} | {
success: false;
error: string;
};
export type ContextActionResult = {
success: true;
} | {
success: false;
error: string;
};
export type SetContextResult = {
success: true;
contextId: string;
} | {
success: false;
error: string;
};