@ecogood/e-calculator-schemas 1.5.0 → 1.5.1

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.
@@ -0,0 +1,2 @@
1
+ export declare const EN_WORDS: string[];
2
+ export declare const EN_ERROR_TRANSLATIONS: {};
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EN_ERROR_TRANSLATIONS = exports.EN_WORDS = void 0;
4
+ exports.EN_WORDS = [
5
+ 'Number expected',
6
+ 'Number should be positive',
7
+ 'Percentage expected',
8
+ 'Percentage should be between 0 and 100',
9
+ 'Number should be between 0 and 10',
10
+ 'Number should be between -200 and 0',
11
+ 'Must not be blank',
12
+ ];
13
+ exports.EN_ERROR_TRANSLATIONS = Object.assign({}, exports.EN_WORDS.reduce((prevValue, w) => (Object.assign(Object.assign({}, prevValue), { [w]: w })), {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecogood/e-calculator-schemas",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "A package providing the schemas for the e-calculator application.",
5
5
  "main": "dist/e-calculator-schemas",
6
6
  "types": "dist/e-calculator-schemas",