@appsemble/utils
Version:
Utility functions used in Appsemble internally
17 lines (16 loc) • 568 B
JavaScript
import { BaseActionDefinition } from './BaseActionDefinition.js';
import { extendJSONSchema } from './utils.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