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
27 lines (23 loc) • 624 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/**
* schema for analytics.
*/
var _default = {
properties: {
errResponse: {
required: true,
default: 'yes',
description: 'would you like to share error information to Bit’s error reporting platform? [yes/no]',
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;
;