@sofit/view-locale 1.1.0 → 1.2.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="3.074">
2
- <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2018-09-06T19:48:26" time="1.735" tests="4">
3
- <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.007">
1
+ <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.93">
2
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2018-09-06T20:07:31" time="1.694" tests="4">
3
+ <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.01">
4
4
  </testcase>
5
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
7
  <testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0.001">
8
8
  </testcase>
9
- <testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
9
+ <testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0.001">
10
10
  </testcase>
11
11
  </testsuite>
12
- <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2018-09-06T19:48:26" time="1.835" tests="4">
13
- <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.006">
12
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2018-09-06T20:07:31" time="1.678" tests="4">
13
+ <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.01">
14
14
  </testcase>
15
- <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
15
+ <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.002">
16
16
  </testcase>
17
17
  <testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0.001">
18
18
  </testcase>
19
- <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
19
+ <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
20
20
  </testcase>
21
21
  </testsuite>
22
22
  </testsuites>
@@ -2,7 +2,8 @@ import * as auth from './common/auth';
2
2
  import * as benchmarking from './common/benchmarking';
3
3
  import * as company from './modules/company';
4
4
  import * as gate from './modules/gate';
5
+ import * as system from './modules/system';
5
6
  import * as warehouse from './modules/warehouse';
6
7
  export { joi } from './common/joi';
7
8
  export { databaseErrors } from './common/database-errors';
8
- export { auth, benchmarking, company, gate, warehouse };
9
+ export { auth, benchmarking, company, gate, system, warehouse };
@@ -15,6 +15,8 @@ const company = __importStar(require("./modules/company"));
15
15
  exports.company = company;
16
16
  const gate = __importStar(require("./modules/gate"));
17
17
  exports.gate = gate;
18
+ const system = __importStar(require("./modules/system"));
19
+ exports.system = system;
18
20
  const warehouse = __importStar(require("./modules/warehouse"));
19
21
  exports.warehouse = warehouse;
20
22
  var joi_1 = require("./common/joi");
@@ -0,0 +1,26 @@
1
+ export declare const name: {
2
+ ptBR: string;
3
+ es: string;
4
+ };
5
+ export declare const fields: {
6
+ app_id: {
7
+ ptBR: string;
8
+ es: string;
9
+ };
10
+ equivalent_record_id: {
11
+ ptBR: string;
12
+ es: string;
13
+ };
14
+ in_revision: {
15
+ ptBR: string;
16
+ es: string;
17
+ };
18
+ name: {
19
+ ptBR: string;
20
+ es: string;
21
+ };
22
+ external_id: {
23
+ ptBR: string;
24
+ es: string;
25
+ };
26
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const entity_1 = require("../common/entity");
4
+ exports.name = {
5
+ ptBR: 'Sistema',
6
+ es: 'Sistema'
7
+ };
8
+ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { app_id: {
9
+ ptBR: 'Chave do aplicativo',
10
+ es: 'Clave del aplicativo'
11
+ }, equivalent_record_id: {
12
+ ptBR: 'Registro equivalente',
13
+ es: 'Registro equivalente'
14
+ }, in_revision: {
15
+ ptBR: 'Em revisão',
16
+ es: 'En revisión'
17
+ } });
@@ -2,6 +2,7 @@ import * as auth from './common/auth';
2
2
  import * as benchmarking from './common/benchmarking';
3
3
  import * as company from './modules/company';
4
4
  import * as gate from './modules/gate';
5
+ import * as system from './modules/system';
5
6
  import * as warehouse from './modules/warehouse';
6
7
 
7
8
  export { joi } from './common/joi';
@@ -12,5 +13,6 @@ export {
12
13
  benchmarking,
13
14
  company,
14
15
  gate,
16
+ system,
15
17
  warehouse
16
18
  };
@@ -0,0 +1,22 @@
1
+ import { ENTITY_COMMON } from '../common/entity';
2
+
3
+ export const name = {
4
+ ptBR: 'Sistema',
5
+ es: 'Sistema'
6
+ };
7
+
8
+ export const fields = {
9
+ ...ENTITY_COMMON,
10
+ app_id: {
11
+ ptBR: 'Chave do aplicativo',
12
+ es: 'Clave del aplicativo'
13
+ },
14
+ equivalent_record_id: {
15
+ ptBR: 'Registro equivalente',
16
+ es: 'Registro equivalente'
17
+ },
18
+ in_revision: {
19
+ ptBR: 'Em revisão',
20
+ es: 'En revisión'
21
+ }
22
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",