vikings-cli
Version:
Vikings services project generator
56 lines (54 loc) • 1.29 kB
JavaScript
const DATASYNC_NATS_SERVERS = process.env.DATASYNC_NATS_SERVERS ? JSON.parse(process.env.DATASYNC_NATS_SERVERS) : null;
module.exports = {
datasync: {
namespace: 'vikings',
servers: DATASYNC_NATS_SERVERS || [ 'nats://<dev_nats_host>:4222' ]
},
store: {
s3AccessKeyId: '<secret_key_id>',
s3SecretAccessKey: '<secret_access_key>',
s3Endpoint: '<s3_endpoint>',
bucket: 'ignitial.components'
},
avatarPath: 'assets/[pROJECT_NAME]-48.png',
iconPath: 'assets/[pROJECT_NAME]-64.png',
publicOptions: {
accessRights: {
owner: 'admin',
group: 'admin',
access: {
owner: 'rw',
group: 'rw',
all: 'rw',
}
}
},
description: {
i18n: {
'English service title': [ 'Titre du service en français' ]
},
assets: {
icon: ''
},
main: {
intents: [ 'intent1' ],
actions: [ 'action1' ],
title: 'Title',
info: {
'English description of the service': [
'Description du service ne Français'
]
}
},
fcts: {
fct1: {
tags: [ 'tag1', 'tag2' ],
info: {
'English description of the method': [
'Description de la méthode en français'
]
}
}
}
}
}