get-manifest.js 455 B

1234567891011121314151617
  1. "use strict";
  2. /*
  3. Copyright 2019 Google LLC
  4. Use of this source code is governed by an MIT-style
  5. license that can be found in the LICENSE file or at
  6. https://opensource.org/licenses/MIT.
  7. */
  8. const joi = require('@hapi/joi');
  9. const basePartial = require('../partials/base');
  10. const globPartial = require('../partials/glob');
  11. const supportedOptions = Object.assign({}, basePartial, globPartial);
  12. module.exports = joi.object().keys(supportedOptions);