@flusys/nestjs-localization 5.0.0 → 5.0.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.
|
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "TranslationKey", {
|
|
|
8
8
|
return TranslationKey;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
+
const _nestjsshared = require("@flusys/nestjs-shared");
|
|
11
12
|
const _entities = require("@flusys/nestjs-shared/entities");
|
|
12
13
|
const _typeorm = require("typeorm");
|
|
13
14
|
function _define_property(obj, key, value) {
|
|
@@ -71,7 +72,7 @@ _ts_decorate([
|
|
|
71
72
|
], TranslationKey.prototype, "description", void 0);
|
|
72
73
|
_ts_decorate([
|
|
73
74
|
(0, _typeorm.Column)({
|
|
74
|
-
type:
|
|
75
|
+
type: (0, _nestjsshared.getJsonColumnType)(),
|
|
75
76
|
nullable: true
|
|
76
77
|
}),
|
|
77
78
|
_ts_metadata("design:type", Object)
|
|
@@ -20,6 +20,7 @@ function _ts_decorate(decorators, target, key, desc) {
|
|
|
20
20
|
function _ts_metadata(k, v) {
|
|
21
21
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
22
|
}
|
|
23
|
+
import { getJsonColumnType } from '@flusys/nestjs-shared';
|
|
23
24
|
import { Identity } from '@flusys/nestjs-shared/entities';
|
|
24
25
|
import { Column, Entity, Index, OneToMany } from 'typeorm';
|
|
25
26
|
export class TranslationKey extends Identity {
|
|
@@ -61,7 +62,7 @@ _ts_decorate([
|
|
|
61
62
|
], TranslationKey.prototype, "description", void 0);
|
|
62
63
|
_ts_decorate([
|
|
63
64
|
Column({
|
|
64
|
-
type:
|
|
65
|
+
type: getJsonColumnType(),
|
|
65
66
|
nullable: true
|
|
66
67
|
}),
|
|
67
68
|
_ts_metadata("design:type", Object)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flusys/nestjs-localization",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Localization module for multi-language support",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "fesm/index.js",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"express": "^4.18.0"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@flusys/nestjs-core": "5.0.
|
|
84
|
-
"@flusys/nestjs-shared": "5.0.
|
|
83
|
+
"@flusys/nestjs-core": "5.0.1",
|
|
84
|
+
"@flusys/nestjs-shared": "5.0.1"
|
|
85
85
|
}
|
|
86
86
|
}
|