UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

39 lines (32 loc) 1.09 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; function _constants() { const data = require("../../constants"); _constants = function () { return data; }; return data; } /** * schema for analytics. */ var _default = { properties: { analyticsResponse: { required: true, default: 'yes', description: `help us prioritize new features and bug fixes by enabling us to collect anonymous statistics about your usage. sharing anonymous usage information is completely voluntary and helps us improve Bit and build a better product. for more information see analytics documentation - https://${_constants().BASE_DOCS_DOMAIN}/docs/conf-analytics would you like to help Bit with anonymous usage analytics? [yes(y)/no(n)]`, message: 'please choose yes or no.', type: 'string', conform(value) { return value.toLowerCase() === 'y' || value.toLowerCase() === 'n' || value.toLowerCase() === 'yes' || value.toLowerCase() === 'no'; } } } }; exports.default = _default;