mirror of https://github.com/status-im/consul.git
7 lines
239 B
JavaScript
7 lines
239 B
JavaScript
|
import { validatePresence, validateLength } from 'ember-changeset-validations/validators';
|
||
|
export default {
|
||
|
Name: [validatePresence(true), validateLength({ min: 1 })],
|
||
|
Type: validatePresence(true),
|
||
|
ID: validateLength({ min: 1 }),
|
||
|
};
|