@open-charging-cloud/chargy-core 0.4.0 → 0.6.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.
- package/README.md +122 -102
- package/dist/BSMCrypt01.d.ts.map +1 -1
- package/dist/Mennekes.d.ts.map +1 -1
- package/dist/browser/index.js +525 -328
- package/dist/browser/index.js.map +1 -1
- package/dist/chargy.d.ts +16 -3
- package/dist/chargy.d.ts.map +1 -1
- package/dist/interfaces/IChargeTransparencyRecord.d.ts +4 -4
- package/dist/interfaces/IChargeTransparencyRecord.d.ts.map +1 -1
- package/dist/interfaces/chargyInterfaces.d.ts +45 -8
- package/dist/interfaces/chargyInterfaces.d.ts.map +1 -1
- package/dist/node/index.js +525 -328
- package/dist/node/index.js.map +1 -1
- package/dist/verificationResults.d.ts +2 -1
- package/dist/verificationResults.d.ts.map +1 -1
- package/i18n.json +45 -0
- package/package.json +3 -1
- package/validationRules.json +8 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ChargyInterfaces } from '.';
|
|
1
2
|
import type { ISessionCryptoResult } from './interfaces/chargyInterfaces';
|
|
2
3
|
import type { IChargeTransparencyRecord } from './interfaces/IChargeTransparencyRecord';
|
|
3
4
|
/**
|
|
@@ -13,5 +14,5 @@ import type { IChargeTransparencyRecord } from './interfaces/IChargeTransparency
|
|
|
13
14
|
* The "no records found" message is passed in so the renderer can localize it,
|
|
14
15
|
* while non-UI callers (CLI service, tests) get a sensible English default.
|
|
15
16
|
*/
|
|
16
|
-
export declare function toSessionVerificationResults(CTR: IChargeTransparencyRecord, noRecordsMessage?:
|
|
17
|
+
export declare function toSessionVerificationResults(CTR: IChargeTransparencyRecord, noRecordsMessage?: ChargyInterfaces.IMultilanguageText): ISessionCryptoResult[] | ISessionCryptoResult;
|
|
17
18
|
//# sourceMappingURL=verificationResults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verificationResults.d.ts","sourceRoot":"","sources":["../src/verificationResults.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verificationResults.d.ts","sourceRoot":"","sources":["../src/verificationResults.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAC;AAKrC,OAAO,KAAK,EACR,oBAAoB,EACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACR,yBAAyB,EAC5B,MAAM,wCAAwC,CAAC;AAEhD;;;;;;;;;;;;GAYG;AACH,wBAAgB,4BAA4B,CACxC,GAAG,EAAgB,yBAAyB,EAC5C,gBAAgB,GAAG,gBAAgB,CAAC,kBAAqE,GAC1G,oBAAoB,EAAE,GAAG,oBAAoB,CAgB/C"}
|
package/i18n.json
CHANGED
|
@@ -91,6 +91,11 @@
|
|
|
91
91
|
"en": "Invalid charging session!"
|
|
92
92
|
},
|
|
93
93
|
|
|
94
|
+
"InplausibleTotalEnergyMeasurementWarning": {
|
|
95
|
+
"de": "Die geladene Energiemenge ist unplausibel hoch.",
|
|
96
|
+
"en": "The charged energy amount is implausibly high."
|
|
97
|
+
},
|
|
98
|
+
|
|
94
99
|
|
|
95
100
|
|
|
96
101
|
"Unbekanntes Messdatensatzformat!": {
|
|
@@ -1348,6 +1353,46 @@
|
|
|
1348
1353
|
"Intermediate value": {
|
|
1349
1354
|
"de": "Zwischenwert",
|
|
1350
1355
|
"en": "Intermediate value"
|
|
1356
|
+
},
|
|
1357
|
+
|
|
1358
|
+
"sessionValidationLabel": {
|
|
1359
|
+
"de": "Session Validierung",
|
|
1360
|
+
"en": "Session validation"
|
|
1361
|
+
},
|
|
1362
|
+
|
|
1363
|
+
"sessionValidationWarningsLabel": {
|
|
1364
|
+
"de": "Ladevorgang mit Warnungen",
|
|
1365
|
+
"en": "Charging session with warnings"
|
|
1366
|
+
},
|
|
1367
|
+
|
|
1368
|
+
"chargeTransparencyRecordLabel": {
|
|
1369
|
+
"de": "Transparenzdatensatz",
|
|
1370
|
+
"en": "Charge transparency record"
|
|
1371
|
+
},
|
|
1372
|
+
|
|
1373
|
+
"warningLevelLabel": {
|
|
1374
|
+
"de": "Level",
|
|
1375
|
+
"en": "Level"
|
|
1376
|
+
},
|
|
1377
|
+
|
|
1378
|
+
"warningTextLabel": {
|
|
1379
|
+
"de": "Text",
|
|
1380
|
+
"en": "Text"
|
|
1381
|
+
},
|
|
1382
|
+
|
|
1383
|
+
"warningLevel_low": {
|
|
1384
|
+
"de": "niedrig",
|
|
1385
|
+
"en": "low"
|
|
1386
|
+
},
|
|
1387
|
+
|
|
1388
|
+
"warningLevel_medium": {
|
|
1389
|
+
"de": "mittel",
|
|
1390
|
+
"en": "medium"
|
|
1391
|
+
},
|
|
1392
|
+
|
|
1393
|
+
"warningLevel_high": {
|
|
1394
|
+
"de": "hoch",
|
|
1395
|
+
"en": "high"
|
|
1351
1396
|
}
|
|
1352
1397
|
|
|
1353
1398
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-charging-cloud/chargy-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "The ChargyCore TypeScript library shared between Chargy Desktop, Web & Mobile applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"files": [
|
|
15
15
|
"dist",
|
|
16
16
|
"i18n.json",
|
|
17
|
+
"validationRules.json",
|
|
17
18
|
"README.md",
|
|
18
19
|
"LICENSE"
|
|
19
20
|
],
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
"default": "./dist/browser/index.js"
|
|
27
28
|
},
|
|
28
29
|
"./i18n.json": "./i18n.json",
|
|
30
|
+
"./validationRules.json": "./validationRules.json",
|
|
29
31
|
"./package.json": "./package.json"
|
|
30
32
|
},
|
|
31
33
|
"types": "./dist/index.d.ts",
|