UNPKG

generator-sails-rest-api

Version:

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

26 lines (23 loc) 538 B
"use strict"; /** * Exports object that contains names of arguments as a key and their configuration objects as a value * * @example * module.exports = { * argumentName: { * desc: 'Description for the argument', * required: false, * optional: true, * type: String || Number || Array || Object, * defaults: 'Default value for this argument', * banner: 'String to show on usage notes' * } * }; */ module.exports = { 'hook-name': { required: false, type: String, defaults: '' } };