@lukiteam/luki-be-general 0.1.3 → 0.1.5
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/dist/constants/redis-key.d.ts +29 -0
- package/dist/constants/redis-key.js +33 -0
- package/dist/constants/redis-key.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/postgresql/index.d.ts +1 -2
- package/dist/postgresql/index.js +0 -2
- package/dist/postgresql/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -15
- package/dist/postgresql/entity/notification.entity.d.ts +0 -8
- package/dist/postgresql/entity/notification.entity.js +0 -42
- package/dist/postgresql/entity/notification.entity.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lukiteam/luki-be-general",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Luki shared postgres and mongo entities",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,19 +23,5 @@
|
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
26
|
-
},
|
|
27
|
-
"exports": {
|
|
28
|
-
".": {
|
|
29
|
-
"types": "./dist/index.d.ts",
|
|
30
|
-
"default": "./dist/index.js"
|
|
31
|
-
},
|
|
32
|
-
"./postgresql": {
|
|
33
|
-
"types": "./dist/postgresql/index.d.ts",
|
|
34
|
-
"default": "./dist/postgresql/index.js"
|
|
35
|
-
},
|
|
36
|
-
"./mongo": {
|
|
37
|
-
"types": "./dist/mongo/index.d.ts",
|
|
38
|
-
"default": "./dist/mongo/index.js"
|
|
39
|
-
}
|
|
40
26
|
}
|
|
41
27
|
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const sequelize_typescript_1 = require("sequelize-typescript");
|
|
13
|
-
let Notification = class Notification extends sequelize_typescript_1.Model {
|
|
14
|
-
};
|
|
15
|
-
__decorate([
|
|
16
|
-
(0, sequelize_typescript_1.Column)(sequelize_typescript_1.DataType.STRING),
|
|
17
|
-
__metadata("design:type", String)
|
|
18
|
-
], Notification.prototype, "topic", void 0);
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, sequelize_typescript_1.Column)(sequelize_typescript_1.DataType.STRING),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], Notification.prototype, "title", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, sequelize_typescript_1.Column)(sequelize_typescript_1.DataType.STRING),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], Notification.prototype, "description", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, sequelize_typescript_1.Column)(sequelize_typescript_1.DataType.BOOLEAN),
|
|
29
|
-
__metadata("design:type", Boolean)
|
|
30
|
-
], Notification.prototype, "save_db", void 0);
|
|
31
|
-
Notification = __decorate([
|
|
32
|
-
(0, sequelize_typescript_1.Table)({
|
|
33
|
-
timestamps: true,
|
|
34
|
-
freezeTableName: true,
|
|
35
|
-
tableName: 'Notification',
|
|
36
|
-
indexes: [
|
|
37
|
-
{ fields: ['id'], unique: true, name: 'indexes_notification_001' }
|
|
38
|
-
]
|
|
39
|
-
})
|
|
40
|
-
], Notification);
|
|
41
|
-
exports.default = Notification;
|
|
42
|
-
//# sourceMappingURL=notification.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification.entity.js","sourceRoot":"","sources":["../../../src/postgresql/entity/notification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAsE;AAUtE,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAK;CAa/B,CAAA;AAXG;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,MAAM,CAAC;;2CACT;AAEf;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,MAAM,CAAC;;2CACT;AAEf;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,MAAM,CAAC;;iDACH;AAErB;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,OAAO,CAAC;;6CACP;AAZhB,YAAY;IARjB,IAAA,4BAAK,EAAC;QACH,UAAU,EAAE,IAAI;QAChB,eAAe,EAAE,IAAI;QACrB,SAAS,EAAE,cAAc;QACzB,OAAO,EAAE;YACL,EAAE,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,0BAA0B,EAAE;SACrE;KACJ,CAAC;GACI,YAAY,CAajB;AAED,kBAAe,YAAY,CAAC"}
|