UNPKG

@appsemble/lang-sdk

Version:

Language SDK for Appsemble

17 lines (16 loc) 586 B
import { BaseActionDefinition } from './BaseActionDefinition.js'; import { extendJSONSchema } from '../utils/extendJSONSchema.js'; export const DialogErrorActionDefinition = extendJSONSchema(BaseActionDefinition, { type: 'object', additionalProperties: false, required: ['type'], properties: { type: { enum: ['dialog.error'], description: `Close an open dialog. The dialog action that opened the dialog will be rejected with the data passed to this action. `, }, }, }); //# sourceMappingURL=DialogErrorActionDefinition.js.map