mirror of https://github.com/hashicorp/consul
6 lines
205 B
JavaScript
6 lines
205 B
JavaScript
|
import { validatePresence, validateLength } from 'ember-changeset-validations/validators';
|
||
|
export default {
|
||
|
Key: [validatePresence(true), validateLength({ min: 1 })],
|
||
|
Value: validatePresence(true),
|
||
|
};
|