Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit e85bdb0

Browse files
committed
✨ Add alexa name-free interaction support
1 parent b2e3a72 commit e85bdb0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/jovo-model-alexa/src/JovoModelAlexa.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,15 @@ export class JovoModelAlexa extends JovoModel {
330330
_set(alexaModel, 'interactionModel.dialog', _get(model, 'alexa.interactionModel.dialog'));
331331
}
332332

333+
// name-free interaction
334+
if (_get(model, 'alexa.interactionModel._nameFreeInteraction')) {
335+
_set(
336+
alexaModel,
337+
'interactionModel._nameFreeInteraction',
338+
_get(model, 'alexa.interactionModel._nameFreeInteraction')
339+
);
340+
}
341+
333342
// types
334343
if (JovoModelHelper.hasEntityTypes(model)) {
335344
const entityTypes = JovoModelHelper.getEntityTypes(model);

0 commit comments

Comments
 (0)