@sprucelabs/spruce-cli
Version:
Command line interface for building Spruce skills.
18 lines (13 loc) • 353 B
text/typescript
import { BaseWidget } from './widgets.types'
export const popupEventContract = {
eventSignatures: {
close: {},
},
}
export type PopupEventContract = typeof popupEventContract
export interface PopupWidgetOptions {
title?: string
}
export interface PopupWidget extends BaseWidget<PopupEventContract> {
readonly type: 'popup'
}