@lukiteam/luki-be-general 0.1.9 → 0.2.0

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.9",
3
+ "version": "0.2.0",
4
4
  "description": "Luki shared postgres and mongo entities",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",
@@ -1,5 +0,0 @@
1
- export declare const PARAM_KEYS: string[];
2
- export declare const DEEPLINK: {
3
- MESSAGE_SCREEN: (id: number) => string;
4
- OTHER_PROFILE: (id: number) => string;
5
- };
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEEPLINK = exports.PARAM_KEYS = void 0;
4
- exports.PARAM_KEYS = ['birth_date', 'height', 'level', 'like', 'member_id', 'nickname', 'signature', 'weight'];
5
- exports.DEEPLINK = {
6
- MESSAGE_SCREEN: (id) => `lukiapp://messagescreen/${id}`,
7
- OTHER_PROFILE: (id) => `lukiapp://otherprofile/${id}`,
8
- };
9
- //# sourceMappingURL=param-key.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"param-key.js","sourceRoot":"","sources":["../../src/constants/param-key.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG,CAAC,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;AAEvG,QAAA,QAAQ,GAAG;IACpB,cAAc,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,2BAA2B,EAAE,EAAE;IAC/D,aAAa,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,0BAA0B,EAAE,EAAE;CAChE,CAAA"}
@@ -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"}