@lukiteam/luki-be-general 0.2.1 → 0.2.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.
@@ -0,0 +1,42 @@
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
@@ -0,0 +1 @@
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"}
@@ -24,4 +24,5 @@ import SystemLogs from "./entity/system-logs.entity";
24
24
  import SystemSettings from "./entity/system-settings.entity";
25
25
  import WalletDetail from "./entity/wallet-detail.entity";
26
26
  import Wallet from "./entity/wallet.entity";
27
- export declare const POSTGRES_ENTITIES: (typeof Banners | typeof BlockedPhone | typeof CallHistory | typeof CallHistoryDetail | typeof CoinsDefinition | typeof FeedbackAndComplaint | typeof MemberBankAccount | typeof MemberBlocked | typeof MemberConfig | typeof MemberConnections | typeof MemberFriends | typeof MemberLiked | typeof MemberMission | typeof MemberReminder | typeof MemberVerification | typeof Member | typeof Message | typeof Mission | typeof Payment | typeof ProductPurchase | typeof Purchase | typeof SwipeCountries | typeof SystemLogs | typeof SystemSettings | typeof WalletDetail | typeof Wallet)[];
27
+ import Notification from "./entity/notification.entity";
28
+ export declare const POSTGRES_ENTITIES: (typeof Banners | typeof BlockedPhone | typeof CallHistory | typeof CallHistoryDetail | typeof CoinsDefinition | typeof FeedbackAndComplaint | typeof MemberBankAccount | typeof MemberBlocked | typeof MemberConfig | typeof MemberConnections | typeof MemberFriends | typeof MemberLiked | typeof MemberMission | typeof MemberReminder | typeof MemberVerification | typeof Member | typeof Message | typeof Mission | typeof Payment | typeof ProductPurchase | typeof Purchase | typeof SwipeCountries | typeof SystemLogs | typeof SystemSettings | typeof WalletDetail | typeof Wallet | typeof Notification)[];
@@ -30,6 +30,7 @@ const system_logs_entity_1 = __importDefault(require("./entity/system-logs.entit
30
30
  const system_settings_entity_1 = __importDefault(require("./entity/system-settings.entity"));
31
31
  const wallet_detail_entity_1 = __importDefault(require("./entity/wallet-detail.entity"));
32
32
  const wallet_entity_1 = __importDefault(require("./entity/wallet.entity"));
33
+ const notification_entity_1 = __importDefault(require("./entity/notification.entity"));
33
34
  exports.POSTGRES_ENTITIES = [
34
35
  banners_entity_1.default,
35
36
  blocked_phone_entity_1.default,
@@ -57,5 +58,6 @@ exports.POSTGRES_ENTITIES = [
57
58
  system_settings_entity_1.default,
58
59
  wallet_detail_entity_1.default,
59
60
  wallet_entity_1.default,
61
+ notification_entity_1.default
60
62
  ];
61
63
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/postgresql/index.ts"],"names":[],"mappings":";;;;;;AAAA,6EAA8C;AAC9C,yFAAyD;AACzD,qGAAoE;AACpE,uFAAuD;AACvD,+FAA+D;AAC/D,2GAA0E;AAC1E,qGAAoE;AACpE,2FAA2D;AAC3D,yFAAyD;AACzD,mGAAmE;AACnE,2FAA2D;AAC3D,uFAAuD;AACvD,2FAA2D;AAC3D,6FAA6D;AAC7D,qGAAqE;AACrE,2EAA4C;AAC5C,6EAA8C;AAC9C,6EAA8C;AAC9C,6EAA8C;AAC9C,+FAA+D;AAC/D,+EAAgD;AAChD,6FAA6D;AAC7D,qFAAqD;AACrD,6FAA6D;AAC7D,yFAAyD;AACzD,2EAA4C;AAE/B,QAAA,iBAAiB,GAAG;IAC/B,wBAAO;IACP,8BAAY;IACZ,6BAAW;IACX,oCAAiB;IACjB,iCAAe;IACf,uCAAoB;IACpB,oCAAiB;IACjB,+BAAa;IACb,8BAAY;IACZ,mCAAiB;IACjB,+BAAa;IACb,6BAAW;IACX,+BAAa;IACb,gCAAc;IACd,oCAAkB;IAClB,uBAAM;IACN,wBAAO;IACP,wBAAO;IACP,wBAAO;IACP,iCAAe;IACf,yBAAQ;IACR,gCAAc;IACd,4BAAU;IACV,gCAAc;IACd,8BAAY;IACZ,uBAAM;CACP,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/postgresql/index.ts"],"names":[],"mappings":";;;;;;AAAA,6EAA8C;AAC9C,yFAAyD;AACzD,qGAAoE;AACpE,uFAAuD;AACvD,+FAA+D;AAC/D,2GAA0E;AAC1E,qGAAoE;AACpE,2FAA2D;AAC3D,yFAAyD;AACzD,mGAAmE;AACnE,2FAA2D;AAC3D,uFAAuD;AACvD,2FAA2D;AAC3D,6FAA6D;AAC7D,qGAAqE;AACrE,2EAA4C;AAC5C,6EAA8C;AAC9C,6EAA8C;AAC9C,6EAA8C;AAC9C,+FAA+D;AAC/D,+EAAgD;AAChD,6FAA6D;AAC7D,qFAAqD;AACrD,6FAA6D;AAC7D,yFAAyD;AACzD,2EAA4C;AAC5C,uFAAwD;AAE3C,QAAA,iBAAiB,GAAG;IAC/B,wBAAO;IACP,8BAAY;IACZ,6BAAW;IACX,oCAAiB;IACjB,iCAAe;IACf,uCAAoB;IACpB,oCAAiB;IACjB,+BAAa;IACb,8BAAY;IACZ,mCAAiB;IACjB,+BAAa;IACb,6BAAW;IACX,+BAAa;IACb,gCAAc;IACd,oCAAkB;IAClB,uBAAM;IACN,wBAAO;IACP,wBAAO;IACP,wBAAO;IACP,iCAAe;IACf,yBAAQ;IACR,gCAAc;IACd,4BAAU;IACV,gCAAc;IACd,8BAAY;IACZ,uBAAM;IACN,6BAAY;CACb,CAAC"}