UNPKG

generator-sails-rest-api

Version:

Yeoman generator that provides already configured and optimized Sails REST API with bundle of predefined features

84 lines (73 loc) 1.81 kB
"use strict"; /** * Exports object that contains names of options as a key and their configuration objects as a value * * @example * module.exports = { * optionName: { * desc: 'Description for the option', * alias: 'Short name for the option', * type: Boolean || String || Number, * defaults: 'Default value', * hide: false * } * }; */ module.exports = { 'cipher-secret-key': { 'desc': 'Specifies the secret key to use in CipherService', 'type': String, 'defaults': 'DEFAULT_SECRET_KEY', 'hide': false }, 'image-provider': { 'desc': 'Specifies the image provider for ImageService', 'type': String, 'defaults': 'GM', 'hide': false }, 'location-provider': { 'desc': 'Specifies the location provider for LocationService', 'type': String, 'defaults': 'Google', 'hide': false }, 'mailer-provider': { 'desc': 'Specifies the mailer provider for MailerService', 'type': String, 'defaults': 'sendmail', 'hide': false }, 'payment-provider': { 'desc': 'Specifies the payment provider for PaymentService', 'type': String, 'defaults': 'Stripe', 'hide': false }, 'sms-provider': { 'desc': 'Specifies the SMS provider for SmsService', 'type': String, 'defaults': 'Twilio', 'hide': false }, 'storage-provider': { 'desc': 'Specifies the storage provider for StorageService', 'type': String, 'defaults': 'Amazon', 'hide': false }, 'new': { 'desc': 'Scaffolds a clean service (not predefined)', 'alias': 'n', 'type': Boolean, 'defaults': false, 'hide': false }, 'all': { 'desc': 'Copies all the predefined services at once', 'alias': 'a', 'type': Boolean, 'defaults': false, 'hide': false } };