1 | ;
|
2 | /**
|
3 | * Describes the automations available on an automation server.
|
4 | */
|
5 | Object.defineProperty(exports, "__esModule", { value: true });
|
6 | function isCommandHandlerMetadata(object) {
|
7 | return object.intent || object.mapped_parameters;
|
8 | }
|
9 | exports.isCommandHandlerMetadata = isCommandHandlerMetadata;
|
10 | function isEventHandlerMetadata(object) {
|
11 | return object.subscriptionName && object.subscription;
|
12 | }
|
13 | exports.isEventHandlerMetadata = isEventHandlerMetadata;
|
14 | //# sourceMappingURL=metadata.js.map |
\ | No newline at end of file |