blob: 238b906fc4d6c6a451752563dbbbe20d53a51d8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// General date type, used as the descriptor for a bunch of properties.
// This isn't dynamic though - it won't inherit from a date stored on
// another object, for example.
import {isDate} from '#validators';
export default function() {
return {
flags: {update: true, expose: true},
update: {validate: isDate},
};
}
|