@sofit/view-locale 1.18.1 → 1.19.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.
- package/coverage/jest/results.xml +6 -6
- package/dist/translations/index.d.ts +2 -1
- package/dist/translations/index.js +2 -0
- package/dist/translations/modules/vehicle_model.d.ts +54 -0
- package/dist/translations/modules/vehicle_model.js +41 -0
- package/lib/translations/index.ts +2 -0
- package/lib/translations/modules/vehicle_model.ts +54 -0
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="1.
|
|
2
|
-
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="1.902">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-02-08T13:22:20" time="1.22" tests="4">
|
|
3
3
|
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.003">
|
|
4
4
|
</testcase>
|
|
5
5
|
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
|
|
6
6
|
</testcase>
|
|
7
7
|
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" 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="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
|
|
10
10
|
</testcase>
|
|
11
11
|
</testsuite>
|
|
12
|
-
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="
|
|
13
|
-
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.
|
|
12
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-02-08T13:22:20" time="1.183" tests="4">
|
|
13
|
+
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.005">
|
|
14
14
|
</testcase>
|
|
15
15
|
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.001">
|
|
16
16
|
</testcase>
|
|
17
17
|
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" 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="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0.001">
|
|
20
20
|
</testcase>
|
|
21
21
|
</testsuite>
|
|
22
22
|
</testsuites>
|
|
@@ -22,7 +22,8 @@ import * as tire_dimension from './modules/tire_dimension';
|
|
|
22
22
|
import * as tire_drawing from './modules/tire_drawing';
|
|
23
23
|
import * as vehicle_brand from './modules/vehicle_brand';
|
|
24
24
|
import * as vehicle_layout from './modules/vehicle_layout';
|
|
25
|
+
import * as vehicle_model from './modules/vehicle_model';
|
|
25
26
|
import * as warehouse from './modules/warehouse';
|
|
26
27
|
export { joi } from './common/joi';
|
|
27
28
|
export { databaseErrors } from './common/database-errors';
|
|
28
|
-
export { auth, benchmarking, company, cost_center, customer, employee_role, fine_resource, foreseen_maintenance_plan_service_item, gate, maintenance_plan, maintenance_plan_service, measurement_unit, qualification_severity, release_notification, route, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, vehicle_brand, vehicle_layout, warehouse };
|
|
29
|
+
export { auth, benchmarking, company, cost_center, customer, employee_role, fine_resource, foreseen_maintenance_plan_service_item, gate, maintenance_plan, maintenance_plan_service, measurement_unit, qualification_severity, release_notification, route, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, vehicle_brand, vehicle_layout, vehicle_model, warehouse };
|
|
@@ -55,6 +55,8 @@ const vehicle_brand = __importStar(require("./modules/vehicle_brand"));
|
|
|
55
55
|
exports.vehicle_brand = vehicle_brand;
|
|
56
56
|
const vehicle_layout = __importStar(require("./modules/vehicle_layout"));
|
|
57
57
|
exports.vehicle_layout = vehicle_layout;
|
|
58
|
+
const vehicle_model = __importStar(require("./modules/vehicle_model"));
|
|
59
|
+
exports.vehicle_model = vehicle_model;
|
|
58
60
|
const warehouse = __importStar(require("./modules/warehouse"));
|
|
59
61
|
exports.warehouse = warehouse;
|
|
60
62
|
var joi_1 = require("./common/joi");
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
category: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
image_url: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
motorized: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
created_by_sofit: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
app_id: {
|
|
23
|
+
ptBR: string;
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
external_id: {
|
|
27
|
+
ptBR: string;
|
|
28
|
+
es: string;
|
|
29
|
+
};
|
|
30
|
+
steppe_quantity: {
|
|
31
|
+
ptBR: string;
|
|
32
|
+
es: string;
|
|
33
|
+
};
|
|
34
|
+
in_revision: {
|
|
35
|
+
ptBR: string;
|
|
36
|
+
es: string;
|
|
37
|
+
};
|
|
38
|
+
vehicle_brand_id: {
|
|
39
|
+
ptBR: string;
|
|
40
|
+
es: string;
|
|
41
|
+
};
|
|
42
|
+
vehicle_layout_id: {
|
|
43
|
+
ptBR: string;
|
|
44
|
+
es: string;
|
|
45
|
+
};
|
|
46
|
+
equivalent_record_id: {
|
|
47
|
+
ptBR: string;
|
|
48
|
+
es: string;
|
|
49
|
+
};
|
|
50
|
+
name: {
|
|
51
|
+
ptBR: string;
|
|
52
|
+
es: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Modelo',
|
|
6
|
+
es: 'Modelo'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { category: {
|
|
9
|
+
ptBR: 'Categoria',
|
|
10
|
+
es: 'Categoría'
|
|
11
|
+
}, image_url: {
|
|
12
|
+
ptBR: 'Imagem',
|
|
13
|
+
es: 'Imagen'
|
|
14
|
+
}, motorized: {
|
|
15
|
+
ptBR: 'Motorizado',
|
|
16
|
+
es: 'Motorizado'
|
|
17
|
+
}, created_by_sofit: {
|
|
18
|
+
ptBR: 'Criado pela Sofit',
|
|
19
|
+
es: 'Creado por Sofit'
|
|
20
|
+
}, app_id: {
|
|
21
|
+
ptBR: 'Chave do Aplicativo',
|
|
22
|
+
es: 'Clave de aplicación'
|
|
23
|
+
}, external_id: {
|
|
24
|
+
ptBR: 'Chave externa',
|
|
25
|
+
es: 'Llave externa'
|
|
26
|
+
}, steppe_quantity: {
|
|
27
|
+
ptBR: 'Cantidad de estepas',
|
|
28
|
+
es: ''
|
|
29
|
+
}, in_revision: {
|
|
30
|
+
ptBR: 'Em revisão',
|
|
31
|
+
es: 'En revisión'
|
|
32
|
+
}, vehicle_brand_id: {
|
|
33
|
+
ptBR: 'Marca',
|
|
34
|
+
es: 'Marca'
|
|
35
|
+
}, vehicle_layout_id: {
|
|
36
|
+
ptBR: 'Layout',
|
|
37
|
+
es: 'Layout'
|
|
38
|
+
}, equivalent_record_id: {
|
|
39
|
+
ptBR: 'Registro equivalente',
|
|
40
|
+
es: 'Registro equivalente'
|
|
41
|
+
} });
|
|
@@ -22,6 +22,7 @@ import * as tire_dimension from './modules/tire_dimension';
|
|
|
22
22
|
import * as tire_drawing from './modules/tire_drawing';
|
|
23
23
|
import * as vehicle_brand from './modules/vehicle_brand';
|
|
24
24
|
import * as vehicle_layout from './modules/vehicle_layout';
|
|
25
|
+
import * as vehicle_model from './modules/vehicle_model';
|
|
25
26
|
import * as warehouse from './modules/warehouse';
|
|
26
27
|
|
|
27
28
|
export { joi } from './common/joi';
|
|
@@ -52,5 +53,6 @@ export {
|
|
|
52
53
|
tire_drawing,
|
|
53
54
|
vehicle_brand,
|
|
54
55
|
vehicle_layout,
|
|
56
|
+
vehicle_model,
|
|
55
57
|
warehouse
|
|
56
58
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Modelo',
|
|
5
|
+
es: 'Modelo'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
category: {
|
|
11
|
+
ptBR: 'Categoria',
|
|
12
|
+
es: 'Categoría'
|
|
13
|
+
},
|
|
14
|
+
image_url: {
|
|
15
|
+
ptBR: 'Imagem',
|
|
16
|
+
es: 'Imagen'
|
|
17
|
+
},
|
|
18
|
+
motorized: {
|
|
19
|
+
ptBR: 'Motorizado',
|
|
20
|
+
es: 'Motorizado'
|
|
21
|
+
},
|
|
22
|
+
created_by_sofit: {
|
|
23
|
+
ptBR: 'Criado pela Sofit',
|
|
24
|
+
es: 'Creado por Sofit'
|
|
25
|
+
},
|
|
26
|
+
app_id: {
|
|
27
|
+
ptBR: 'Chave do Aplicativo',
|
|
28
|
+
es: 'Clave de aplicación'
|
|
29
|
+
},
|
|
30
|
+
external_id: {
|
|
31
|
+
ptBR: 'Chave externa',
|
|
32
|
+
es: 'Llave externa'
|
|
33
|
+
},
|
|
34
|
+
steppe_quantity: {
|
|
35
|
+
ptBR: 'Cantidad de estepas',
|
|
36
|
+
es: ''
|
|
37
|
+
},
|
|
38
|
+
in_revision: {
|
|
39
|
+
ptBR: 'Em revisão',
|
|
40
|
+
es: 'En revisión'
|
|
41
|
+
},
|
|
42
|
+
vehicle_brand_id: {
|
|
43
|
+
ptBR: 'Marca',
|
|
44
|
+
es: 'Marca'
|
|
45
|
+
},
|
|
46
|
+
vehicle_layout_id: {
|
|
47
|
+
ptBR: 'Layout',
|
|
48
|
+
es: 'Layout'
|
|
49
|
+
},
|
|
50
|
+
equivalent_record_id: {
|
|
51
|
+
ptBR: 'Registro equivalente',
|
|
52
|
+
es: 'Registro equivalente'
|
|
53
|
+
}
|
|
54
|
+
};
|