@sofit/view-locale 1.15.0 → 1.16.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,22 +1,22 @@
1
- <testsuites name="Sofit view locale tests" tests="8" failures="0" time="1.794">
2
- <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2018-11-14T17:37:32" time="1.127" tests="4">
3
- <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.004">
1
+ <testsuites name="Sofit view locale tests" tests="8" failures="0" time="1.754">
2
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2018-11-20T18:04:26" time="1.091" tests="4">
3
+ <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.003">
4
4
  </testcase>
5
- <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
5
+ <testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.001">
6
6
  </testcase>
7
- <testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0.001">
7
+ <testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
8
8
  </testcase>
9
- <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
9
+ <testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
10
10
  </testcase>
11
11
  </testsuite>
12
- <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2018-11-14T17:37:32" time="1.13" 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">
12
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2018-11-20T18:04:26" time="1.095" tests="4">
13
+ <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.003">
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">
15
+ <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
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.001">
17
+ <testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
18
18
  </testcase>
19
- <testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
19
+ <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
20
20
  </testcase>
21
21
  </testsuite>
22
22
  </testsuites>
@@ -14,10 +14,11 @@ import * as subsidiary from './modules/subsidiary';
14
14
  import * as supplier from './modules/supplier';
15
15
  import * as system from './modules/system';
16
16
  import * as tire_brand from './modules/tire_brand';
17
+ import * as tire_dimension from './modules/tire_dimension';
17
18
  import * as tire_drawing from './modules/tire_drawing';
18
19
  import * as vehicle_brand from './modules/vehicle_brand';
19
20
  import * as vehicle_layout from './modules/vehicle_layout';
20
21
  import * as warehouse from './modules/warehouse';
21
22
  export { joi } from './common/joi';
22
23
  export { databaseErrors } from './common/database-errors';
23
- 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_drawing, vehicle_brand, vehicle_layout, warehouse };
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 };
@@ -39,6 +39,8 @@ const system = __importStar(require("./modules/system"));
39
39
  exports.system = system;
40
40
  const tire_brand = __importStar(require("./modules/tire_brand"));
41
41
  exports.tire_brand = tire_brand;
42
+ const tire_dimension = __importStar(require("./modules/tire_dimension"));
43
+ exports.tire_dimension = tire_dimension;
42
44
  const tire_drawing = __importStar(require("./modules/tire_drawing"));
43
45
  exports.tire_drawing = tire_drawing;
44
46
  const vehicle_brand = __importStar(require("./modules/vehicle_brand"));
@@ -0,0 +1,30 @@
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
+ name: {
23
+ ptBR: string;
24
+ es: string;
25
+ };
26
+ external_id: {
27
+ ptBR: string;
28
+ es: string;
29
+ };
30
+ };
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const entity_1 = require("../common/entity");
4
+ exports.name = {
5
+ ptBR: 'Medida do pneu',
6
+ es: 'Medida de neumático'
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
+ } });
@@ -14,6 +14,7 @@ import * as subsidiary from './modules/subsidiary';
14
14
  import * as supplier from './modules/supplier';
15
15
  import * as system from './modules/system';
16
16
  import * as tire_brand from './modules/tire_brand';
17
+ import * as tire_dimension from './modules/tire_dimension';
17
18
  import * as tire_drawing from './modules/tire_drawing';
18
19
  import * as vehicle_brand from './modules/vehicle_brand';
19
20
  import * as vehicle_layout from './modules/vehicle_layout';
@@ -39,6 +40,7 @@ export {
39
40
  supplier,
40
41
  system,
41
42
  tire_brand,
43
+ tire_dimension,
42
44
  tire_drawing,
43
45
  vehicle_brand,
44
46
  vehicle_layout,
@@ -0,0 +1,26 @@
1
+ import { ENTITY_COMMON } from '../common/entity';
2
+
3
+ export const name = {
4
+ ptBR: 'Medida do pneu',
5
+ es: 'Medida de neumático'
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
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",