@lukiteam/luki-be-general 0.1.4 → 0.1.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukiteam/luki-be-general",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Luki shared postgres and mongo entities",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",
@@ -1,8 +0,0 @@
1
- import { Model } from 'sequelize-typescript';
2
- declare class Notification extends Model {
3
- topic: string;
4
- title: string;
5
- description: string;
6
- save_db: boolean;
7
- }
8
- export default Notification;
@@ -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"}