mirror of
https://github.com/leon-ai/leon.git
synced 2024-11-27 16:16:48 +03:00
fix: include voice configuration sample schemas
This commit is contained in:
parent
fb75b40fb6
commit
4ce9676319
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"type": "",
|
"type": "service_account",
|
||||||
"project_id": "",
|
"project_id": "",
|
||||||
"private_key_id": "",
|
"private_key_id": "",
|
||||||
"private_key": "",
|
"private_key": "",
|
||||||
"client_email": "",
|
"client_email": "example@email.com",
|
||||||
"client_id": "",
|
"client_id": "",
|
||||||
"auth_uri": "",
|
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
|
||||||
"token_uri": "",
|
"token_uri": "https://oauth2.googleapis.com/token",
|
||||||
"auth_provider_x509_cert_url": "",
|
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
|
||||||
"client_x509_cert_url": ""
|
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"apikey": "",
|
"apikey": "",
|
||||||
"url": ""
|
"url": "https://api.eu.apiconnect.ibmcloud.com/ibmcloud/ibmcloud-dev/sb/api/RESTs"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"apikey": "",
|
"apikey": "",
|
||||||
"url": ""
|
"url": "https://api.eu.apiconnect.ibmcloud.com/ibmcloud/ibmcloud-dev/sb/api/RESTs"
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,7 @@ const GLOBAL_DATA_SCHEMAS = {
|
|||||||
|
|
||||||
const voiceConfigFiles = (
|
const voiceConfigFiles = (
|
||||||
await fs.promises.readdir(VOICE_CONFIG_PATH)
|
await fs.promises.readdir(VOICE_CONFIG_PATH)
|
||||||
).filter((file) => file.endsWith('.json') && !file.includes('.sample.'))
|
).filter((file) => file.endsWith('.json'))
|
||||||
|
|
||||||
for (const file of voiceConfigFiles) {
|
for (const file of voiceConfigFiles) {
|
||||||
const config: VoiceConfiguration = JSON.parse(
|
const config: VoiceConfiguration = JSON.parse(
|
||||||
|
Loading…
Reference in New Issue
Block a user