1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | function someOf(...values) {
|
4 | return {
|
5 | pickOne: false,
|
6 | choices: values.map(value => ({ value })),
|
7 | };
|
8 | }
|
9 | exports.someOf = someOf;
|
10 | function oneOf(...values) {
|
11 | return {
|
12 | pickOne: true,
|
13 | choices: values.map(value => ({ value })),
|
14 | };
|
15 | }
|
16 | exports.oneOf = oneOf;
|
17 | //# sourceMappingURL=parameterUtils.js.map |
\ | No newline at end of file |