@flusys/nestjs-email 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, "EmailConfig", {
|
|
|
8
8
|
return EmailConfig;
|
|
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
|
], EmailConfig.prototype, "provider", 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)
|
|
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "EmailTemplate", {
|
|
|
8
8
|
return EmailTemplate;
|
|
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
|
], EmailTemplate.prototype, "subject", void 0);
|
|
72
73
|
_ts_decorate([
|
|
73
74
|
(0, _typeorm.Column)({
|
|
74
|
-
type:
|
|
75
|
+
type: (0, _nestjsshared.getJsonColumnType)(),
|
|
75
76
|
nullable: false
|
|
76
77
|
}),
|
|
77
78
|
_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 EmailConfig extends Identity {
|
|
@@ -45,7 +46,7 @@ _ts_decorate([
|
|
|
45
46
|
], EmailConfig.prototype, "provider", 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)
|
|
@@ -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 EmailTemplate extends Identity {
|
|
@@ -61,7 +62,7 @@ _ts_decorate([
|
|
|
61
62
|
], EmailTemplate.prototype, "subject", void 0);
|
|
62
63
|
_ts_decorate([
|
|
63
64
|
Column({
|
|
64
|
-
type:
|
|
65
|
+
type: getJsonColumnType(),
|
|
65
66
|
nullable: false
|
|
66
67
|
}),
|
|
67
68
|
_ts_metadata("design:type", typeof Record === "undefined" ? Object : Record)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flusys/nestjs-email",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Modular email package with SMTP, SendGrid, and Mailgun providers",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "fesm/index.js",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
|
-
"@flusys/nestjs-core": "5.0.
|
|
109
|
-
"@flusys/nestjs-shared": "5.0.
|
|
108
|
+
"@flusys/nestjs-core": "5.0.1",
|
|
109
|
+
"@flusys/nestjs-shared": "5.0.1"
|
|
110
110
|
}
|
|
111
111
|
}
|