@flusys/nestjs-storage 5.0.0 → 5.0.3
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, "StorageConfig", {
|
|
|
8
8
|
return StorageConfig;
|
|
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) {
|
|
@@ -55,7 +56,7 @@ _ts_decorate([
|
|
|
55
56
|
], StorageConfig.prototype, "storage", void 0);
|
|
56
57
|
_ts_decorate([
|
|
57
58
|
(0, _typeorm.Column)({
|
|
58
|
-
type:
|
|
59
|
+
type: (0, _nestjsshared.getJsonColumnType)(),
|
|
59
60
|
nullable: false
|
|
60
61
|
}),
|
|
61
62
|
_ts_metadata("design:type", typeof Record === "undefined" ? Object : Record)
|
|
@@ -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 } from 'typeorm';
|
|
25
26
|
export class StorageConfig extends Identity {
|
|
@@ -45,7 +46,7 @@ _ts_decorate([
|
|
|
45
46
|
], StorageConfig.prototype, "storage", void 0);
|
|
46
47
|
_ts_decorate([
|
|
47
48
|
Column({
|
|
48
|
-
type:
|
|
49
|
+
type: getJsonColumnType(),
|
|
49
50
|
nullable: false
|
|
50
51
|
}),
|
|
51
52
|
_ts_metadata("design:type", typeof Record === "undefined" ? Object : Record)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flusys/nestjs-storage",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"description": "Modular storage package with optional AWS S3, Azure Blob, and SFTP providers",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "fesm/index.js",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
"dependencies": {
|
|
132
|
-
"@flusys/nestjs-core": "5.0.
|
|
133
|
-
"@flusys/nestjs-shared": "5.0.
|
|
132
|
+
"@flusys/nestjs-core": "5.0.3",
|
|
133
|
+
"@flusys/nestjs-shared": "5.0.3"
|
|
134
134
|
}
|
|
135
135
|
}
|