@sofit/view-locale 1.16.2 → 1.17.0

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.
@@ -1,5 +1,5 @@
1
- <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.103">
2
- <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2018-11-23T16:53:41" time="1.402" tests="4">
1
+ <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.096">
2
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2018-11-30T11:33:08" time="1.357" tests="4">
3
3
  <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.004">
4
4
  </testcase>
5
5
  <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
@@ -9,12 +9,12 @@
9
9
  <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
10
10
  </testcase>
11
11
  </testsuite>
12
- <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2018-11-23T16:53:41" time="1.396" tests="4">
13
- <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.003">
12
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2018-11-30T11:33:08" time="1.351" tests="4">
13
+ <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.004">
14
14
  </testcase>
15
- <testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.001">
15
+ <testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0">
16
16
  </testcase>
17
- <testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
17
+ <testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0.001">
18
18
  </testcase>
19
19
  <testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
20
20
  </testcase>
@@ -7,6 +7,7 @@ import * as employee_role from './modules/employee_role';
7
7
  import * as fine_resource from './modules/fine_resource';
8
8
  import * as gate from './modules/gate';
9
9
  import * as measurement_unit from './modules/measurement_unit';
10
+ import * as qualification_severity from './modules/qualification_severity';
10
11
  import * as release_notification from './modules/release_notification';
11
12
  import * as route from './modules/route';
12
13
  import * as sub_system from './modules/sub_system';
@@ -21,4 +22,4 @@ import * as vehicle_layout from './modules/vehicle_layout';
21
22
  import * as warehouse from './modules/warehouse';
22
23
  export { joi } from './common/joi';
23
24
  export { databaseErrors } from './common/database-errors';
24
- export { auth, benchmarking, company, cost_center, customer, employee_role, fine_resource, gate, measurement_unit, release_notification, route, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, vehicle_brand, vehicle_layout, warehouse };
25
+ export { auth, benchmarking, company, cost_center, customer, employee_role, fine_resource, gate, measurement_unit, qualification_severity, release_notification, route, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, vehicle_brand, vehicle_layout, warehouse };
@@ -25,6 +25,8 @@ const gate = __importStar(require("./modules/gate"));
25
25
  exports.gate = gate;
26
26
  const measurement_unit = __importStar(require("./modules/measurement_unit"));
27
27
  exports.measurement_unit = measurement_unit;
28
+ const qualification_severity = __importStar(require("./modules/qualification_severity"));
29
+ exports.qualification_severity = qualification_severity;
28
30
  const release_notification = __importStar(require("./modules/release_notification"));
29
31
  exports.release_notification = release_notification;
30
32
  const route = __importStar(require("./modules/route"));
@@ -0,0 +1,38 @@
1
+ export declare const name: {
2
+ ptBR: string;
3
+ es: string;
4
+ };
5
+ export declare const fields: {
6
+ created_by_sofit: {
7
+ ptBR: string;
8
+ es: string;
9
+ };
10
+ in_revision: {
11
+ ptBR: string;
12
+ es: string;
13
+ };
14
+ equivalent_record_id: {
15
+ ptBR: string;
16
+ es: string;
17
+ };
18
+ app_id: {
19
+ ptBR: string;
20
+ es: string;
21
+ };
22
+ description: {
23
+ ptBR: string;
24
+ es: string;
25
+ };
26
+ points: {
27
+ ptBR: string;
28
+ es: string;
29
+ };
30
+ name: {
31
+ ptBR: string;
32
+ es: string;
33
+ };
34
+ external_id: {
35
+ ptBR: string;
36
+ es: string;
37
+ };
38
+ };
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const entity_1 = require("../common/entity");
4
+ exports.name = {
5
+ ptBR: 'Gravidade de infração',
6
+ es: 'Gravedade de infracción'
7
+ };
8
+ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { created_by_sofit: {
9
+ ptBR: 'Criado pela Sofit',
10
+ es: 'Creado por Sofit'
11
+ }, in_revision: {
12
+ ptBR: 'Em revisão',
13
+ es: 'En revisión'
14
+ }, equivalent_record_id: {
15
+ ptBR: 'Registro equivalente',
16
+ es: 'Registro equivalente'
17
+ }, app_id: {
18
+ ptBR: 'Chave do Aplicativo',
19
+ es: 'Clave del Aplicativo'
20
+ }, description: {
21
+ ptBR: 'Descrição',
22
+ es: 'Descrición'
23
+ }, points: {
24
+ ptBR: 'Pontos',
25
+ es: 'Puntos'
26
+ } });
@@ -7,6 +7,7 @@ import * as employee_role from './modules/employee_role';
7
7
  import * as fine_resource from './modules/fine_resource';
8
8
  import * as gate from './modules/gate';
9
9
  import * as measurement_unit from './modules/measurement_unit';
10
+ import * as qualification_severity from './modules/qualification_severity';
10
11
  import * as release_notification from './modules/release_notification';
11
12
  import * as route from './modules/route';
12
13
  import * as sub_system from './modules/sub_system';
@@ -33,6 +34,7 @@ export {
33
34
  fine_resource,
34
35
  gate,
35
36
  measurement_unit,
37
+ qualification_severity,
36
38
  release_notification,
37
39
  route,
38
40
  sub_system,
@@ -0,0 +1,34 @@
1
+ import { ENTITY_COMMON } from '../common/entity';
2
+
3
+ export const name = {
4
+ ptBR: 'Gravidade de infração',
5
+ es: 'Gravedade de infracción'
6
+ };
7
+
8
+ export const fields = {
9
+ ...ENTITY_COMMON,
10
+ created_by_sofit: {
11
+ ptBR: 'Criado pela Sofit',
12
+ es: 'Creado por Sofit'
13
+ },
14
+ in_revision: {
15
+ ptBR: 'Em revisão',
16
+ es: 'En revisión'
17
+ },
18
+ equivalent_record_id: {
19
+ ptBR: 'Registro equivalente',
20
+ es: 'Registro equivalente'
21
+ },
22
+ app_id: {
23
+ ptBR: 'Chave do Aplicativo',
24
+ es: 'Clave del Aplicativo'
25
+ },
26
+ description: {
27
+ ptBR: 'Descrição',
28
+ es: 'Descrición'
29
+ },
30
+ points: {
31
+ ptBR: 'Pontos',
32
+ es: 'Puntos'
33
+ }
34
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.16.2",
3
+ "version": "1.17.0",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",