@ecogood/e-calculator-schemas 1.0.8 → 1.0.10

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.
@@ -41,5 +41,5 @@ exports.RatingResponseBodySchema = zod_1.z
41
41
  return isValid;
42
42
  }, (data) => ({
43
43
  message: `Number should be between ${data.isPositive ? '0 and 10' : '-200 and 0'}`,
44
- path: ['estimations'],
44
+ path: [`estimations`, data.shortName],
45
45
  }));
@@ -6,10 +6,7 @@ export declare enum BalanceSheetType {
6
6
  Full = "Full"
7
7
  }
8
8
  export declare enum BalanceSheetVersion {
9
- v5_0_4 = "5.04",
10
- v5_0_5 = "5.05",
11
9
  v5_0_6 = "5.06",
12
- v5_0_7 = "5.07",
13
10
  v5_0_8 = "5.08"
14
11
  }
15
12
  export declare const isNumberWithDefaultZero: z.ZodDefault<z.ZodNumber>;
@@ -11,15 +11,9 @@ var BalanceSheetType;
11
11
  })(BalanceSheetType = exports.BalanceSheetType || (exports.BalanceSheetType = {}));
12
12
  var BalanceSheetVersion;
13
13
  (function (BalanceSheetVersion) {
14
- // eslint-disable-next-line camelcase
15
- BalanceSheetVersion["v5_0_4"] = "5.04";
16
- // eslint-disable-next-line camelcase
17
- BalanceSheetVersion["v5_0_5"] = "5.05";
18
14
  // eslint-disable-next-line camelcase
19
15
  BalanceSheetVersion["v5_0_6"] = "5.06";
20
16
  // eslint-disable-next-line camelcase
21
- BalanceSheetVersion["v5_0_7"] = "5.07";
22
- // eslint-disable-next-line camelcase
23
17
  BalanceSheetVersion["v5_0_8"] = "5.08";
24
18
  })(BalanceSheetVersion = exports.BalanceSheetVersion || (exports.BalanceSheetVersion = {}));
25
19
  const isNumberCustomError = zod_1.z.number({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecogood/e-calculator-schemas",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
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",