amplify-frontend-android
Advanced tools
Comparing version 0.2.0-alpha.2631c6c8 to 0.2.0-alpha.694cc790
@@ -47,2 +47,4 @@ const constants = require('./constants'); | ||
break; | ||
case 'Lex': Object.assign(configOutput, getLexConfig(serviceResourceMapping[service], projectRegion)); | ||
break; | ||
default: break; | ||
@@ -176,2 +178,17 @@ } | ||
function getLexConfig(lexResources) { | ||
const config = {}; | ||
lexResources.forEach((r) => { | ||
config[r.output.BotName] = { | ||
Name: r.output.BotName, | ||
Alias: '$LATEST', | ||
Region: r.output.Region, | ||
}; | ||
}); | ||
return { | ||
Lex: config, | ||
}; | ||
} | ||
module.exports = { createAWSConfig, createAmplifyConfig }; |
{ | ||
"name": "amplify-frontend-android", | ||
"version": "0.2.0-alpha.2631c6c8", | ||
"version": "0.2.0-alpha.694cc790", | ||
"description": "amplify-cli front-end plugin for Android project", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12420
299