12 lines
371 B
JavaScript
12 lines
371 B
JavaScript
import {
|
|
validatePresence,
|
|
validateNumber,
|
|
} from 'ember-changeset-validations/validators';
|
|
|
|
export default {
|
|
sex: validatePresence(true),
|
|
count: validateNumber({ allowBlank: true, integer: true, positive: true }),
|
|
countEstimated: validatePresence(true),
|
|
species: validatePresence(true),
|
|
collection: validatePresence(true),
|
|
}
|