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

26 lines (22 loc) 593 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; /** * schema for remote remove. */ var _default = { properties: { shouldRemove: { required: true, description: "are you sure you would like to proceed with this operation? (yes[y]/no[n])'", message: 'please type yes or no.', type: 'string', conform(value) { return value.toLowerCase() === 'y' || value.toLowerCase() === 'n' || value.toLowerCase() === 'yes' || value.toLowerCase() === 'no'; } } } }; exports.default = _default;