@onehat/data 1.22.44 → 1.22.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/data",
3
- "version": "1.22.44",
3
+ "version": "1.22.45",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -1,6 +1,7 @@
1
1
  /** @module Property */
2
2
 
3
3
  import Property from './Property.js';
4
+ import Formatters from '../Util/Formatters.js';
4
5
  import Parsers from '../Util/Parsers.js';
5
6
  import _ from 'lodash';
6
7
 
@@ -15,6 +16,7 @@ export default class IntegerProperty extends Property {
15
16
  static defaults = {
16
17
  // defaultValue: 0,
17
18
  idStartsAt: 100 * 1000 * 1000 * 1000, // 100 billion
19
+ formatter: 'FormatInt',
18
20
  };
19
21
 
20
22
  constructor(config = {}, entity) {