@appsemble/lang-sdk
Version:
Language SDK for Appsemble
17 lines • 585 B
JavaScript
export const ControllerDefinition = {
type: 'object',
description: 'A controller for application logic.',
required: [],
additionalProperties: false,
properties: {
actions: {
type: 'object',
description: 'A mapping of actions that can be fired by the controller to action handlers.',
additionalProperties: {
$ref: '#/components/schemas/ActionDefinition',
},
},
events: { $ref: '#/components/schemas/EventsDefinition' },
},
};
//# sourceMappingURL=ControllerDefinition.js.map