@lukiteam/luki-be-general 0.2.89 → 0.2.90
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/locales/admin/ar/common.json +60 -0
- package/dist/locales/admin/en/common.json +60 -0
- package/dist/locales/admin/es/common.json +60 -0
- package/dist/locales/admin/fr/common.json +60 -0
- package/dist/locales/admin/pt/common.json +60 -0
- package/dist/locales/admin/ru/common.json +60 -0
- package/dist/locales/admin/tr/common.json +60 -0
- package/dist/locales/locales/admin/ar/common.json +45 -0
- package/dist/locales/locales/admin/en/common.json +45 -0
- package/dist/locales/locales/admin/es/common.json +45 -0
- package/dist/locales/locales/admin/fr/common.json +45 -0
- package/dist/locales/locales/admin/pt/common.json +45 -0
- package/dist/locales/locales/admin/ru/common.json +45 -0
- package/dist/locales/locales/admin/tr/common.json +45 -0
- package/dist/locales/locales/mobile/ar/common.json +92 -0
- package/dist/locales/locales/mobile/en/common.json +91 -0
- package/dist/locales/locales/mobile/es/common.json +92 -0
- package/dist/locales/locales/mobile/fr/common.json +92 -0
- package/dist/locales/locales/mobile/pt/common.json +92 -0
- package/dist/locales/locales/mobile/ru/common.json +92 -0
- package/dist/locales/locales/mobile/tr/common.json +92 -0
- package/dist/locales/locales/notification/ar/common.json +0 -0
- package/dist/locales/locales/notification/en/common.json +0 -0
- package/dist/locales/locales/notification/es/common.json +0 -0
- package/dist/locales/locales/notification/fr/common.json +0 -0
- package/dist/locales/locales/notification/pt/common.json +0 -0
- package/dist/locales/locales/notification/ru/common.json +0 -0
- package/dist/locales/locales/notification/tr/common.json +0 -0
- package/dist/locales/mobile/ar/common.json +95 -0
- package/dist/locales/mobile/en/common.json +94 -0
- package/dist/locales/mobile/es/common.json +95 -0
- package/dist/locales/mobile/fr/common.json +95 -0
- package/dist/locales/mobile/pt/common.json +95 -0
- package/dist/locales/mobile/ru/common.json +95 -0
- package/dist/locales/mobile/tr/common.json +95 -0
- package/dist/locales/notification/ar/common.json +42 -0
- package/dist/locales/notification/en/common.json +42 -0
- package/dist/locales/notification/es/common.json +42 -0
- package/dist/locales/notification/fr/common.json +42 -0
- package/dist/locales/notification/pt/common.json +42 -0
- package/dist/locales/notification/ru/common.json +42 -0
- package/dist/locales/notification/tr/common.json +42 -0
- package/dist/mongo/schema/mobile/system-log.entity.d.ts +37 -0
- package/dist/mongo/schema/mobile/system-log.entity.js +53 -0
- package/dist/mongo/schema/mobile/system-log.entity.js.map +1 -0
- package/dist/mongo/schema/posts.entity.d.ts +5 -1
- package/dist/mongo/schema/posts.entity.js +9 -1
- package/dist/mongo/schema/posts.entity.js.map +1 -1
- package/dist/mongo/schema/story-priority-log.entity.d.ts +1 -0
- package/dist/mongo/schema/story-priority-log.entity.js +4 -0
- package/dist/mongo/schema/story-priority-log.entity.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Document } from 'mongoose';
|
|
26
|
+
import { EnumSystemLevel } from '../../../models/enum/index';
|
|
27
|
+
export type SystemLogDocument = SystemLog & Document;
|
|
28
|
+
export declare class SystemLog {
|
|
29
|
+
level: EnumSystemLevel;
|
|
30
|
+
process_name: string;
|
|
31
|
+
operation: string;
|
|
32
|
+
message: string;
|
|
33
|
+
context: string;
|
|
34
|
+
error_stack: string;
|
|
35
|
+
member_id: number;
|
|
36
|
+
}
|
|
37
|
+
export declare const SystemLogSchema: import("mongoose").Schema<SystemLog, import("mongoose").Model<SystemLog, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, SystemLog>;
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
exports.SystemLogSchema = exports.SystemLog = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
const index_1 = require("../../../models/enum/index");
|
|
15
|
+
let SystemLog = class SystemLog {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, mongoose_1.Prop)({ required: true, default: "INFO", }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], SystemLog.prototype, "level", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], SystemLog.prototype, "process_name", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], SystemLog.prototype, "operation", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, mongoose_1.Prop)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], SystemLog.prototype, "message", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, mongoose_1.Prop)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], SystemLog.prototype, "context", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], SystemLog.prototype, "error_stack", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, mongoose_1.Prop)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], SystemLog.prototype, "member_id", void 0);
|
|
45
|
+
SystemLog = __decorate([
|
|
46
|
+
(0, mongoose_1.Schema)({
|
|
47
|
+
timestamps: true,
|
|
48
|
+
collection: 'SystemLog'
|
|
49
|
+
})
|
|
50
|
+
], SystemLog);
|
|
51
|
+
exports.SystemLog = SystemLog;
|
|
52
|
+
exports.SystemLogSchema = mongoose_1.SchemaFactory.createForClass(SystemLog);
|
|
53
|
+
//# sourceMappingURL=system-log.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-log.entity.js","sourceRoot":"","sources":["../../../../src/mongo/schema/mobile/system-log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,sDAA6D;AAOtD,IAAM,SAAS,GAAf,MAAM,SAAS;CAqBrB,CAAA;AApBG;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC;;wCACpB;AAEvB;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACJ;AAErB;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACP;AAElB;IAAC,IAAA,eAAI,GAAE;;0CACS;AAEhB;IAAC,IAAA,eAAI,GAAE;;0CACS;AAEhB;IAAC,IAAA,eAAI,GAAE;;8CACa;AAEpB;IAAC,IAAA,eAAI,GAAE;;4CACW;AApBT,SAAS;IAJrB,IAAA,iBAAM,EAAC;QACJ,UAAU,EAAE,IAAI;QAChB,UAAU,EAAE,WAAW;KAC1B,CAAC;GACW,SAAS,CAqBrB;AArBY,8BAAS;AAsBT,QAAA,eAAe,GAAG,wBAAa,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC"}
|
|
@@ -29,11 +29,15 @@ export declare class Posts {
|
|
|
29
29
|
source: string;
|
|
30
30
|
member_id: number;
|
|
31
31
|
status: string;
|
|
32
|
-
|
|
32
|
+
media_type: EnumPostType;
|
|
33
33
|
description: string;
|
|
34
34
|
like_quantity: number;
|
|
35
35
|
comment_quantity: number;
|
|
36
36
|
location: string;
|
|
37
37
|
comments_enabled: boolean;
|
|
38
|
+
safeAnnotation?: string[];
|
|
39
|
+
labelAnnotation?: string[];
|
|
40
|
+
createdAt?: Date;
|
|
41
|
+
updatedAt?: Date;
|
|
38
42
|
}
|
|
39
43
|
export declare const PostsSchema: import("mongoose").Schema<Posts, import("mongoose").Model<Posts, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Posts>;
|
|
@@ -29,7 +29,7 @@ __decorate([
|
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, mongoose_1.Prop)({ default: index_1.EnumPostType.PHOTO }),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
], Posts.prototype, "
|
|
32
|
+
], Posts.prototype, "media_type", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, mongoose_1.Prop)({ type: String }),
|
|
35
35
|
__metadata("design:type", String)
|
|
@@ -50,6 +50,14 @@ __decorate([
|
|
|
50
50
|
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
51
51
|
__metadata("design:type", Boolean)
|
|
52
52
|
], Posts.prototype, "comments_enabled", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], Posts.prototype, "safeAnnotation", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
59
|
+
__metadata("design:type", Array)
|
|
60
|
+
], Posts.prototype, "labelAnnotation", void 0);
|
|
53
61
|
Posts = __decorate([
|
|
54
62
|
(0, mongoose_1.Schema)({
|
|
55
63
|
timestamps: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posts.entity.js","sourceRoot":"","sources":["../../../src/mongo/schema/posts.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,mDAAoE;AAQ7D,IAAM,KAAK,GAAX,MAAM,KAAK;
|
|
1
|
+
{"version":3,"file":"posts.entity.js","sourceRoot":"","sources":["../../../src/mongo/schema/posts.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,mDAAoE;AAQ7D,IAAM,KAAK,GAAX,MAAM,KAAK;CAqCjB,CAAA;AAnCC;IAAC,IAAA,eAAI,GAAE;;qCACQ;AAEf;IAAC,IAAA,eAAI,GAAE;;wCACW;AAElB;IAAC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,kBAAU,CAAC,CAAC,EAAE,CAAC;;qCACjB;AAEf;IAAC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,oBAAY,CAAC,KAAK,EAAE,CAAC;;yCACb;AAEzB;IAAC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;0CACH;AAEpB;IAAC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;4CACC;AAEtB;IAAC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;+CACI;AAEzB;IAAC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;uCACN;AAEjB;IAAC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACd;AAE1B;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;6CACA;AAE1B;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;8CACC;AAjChB,KAAK;IAJjB,IAAA,iBAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,UAAU,EAAE,OAAO;KACpB,CAAC;GACW,KAAK,CAqCjB;AArCY,sBAAK;AAsCL,QAAA,WAAW,GAAG,wBAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE/D,mBAAW,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC9B,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -28,5 +28,6 @@ export type StoryPriorityLogDocument = StoryPriorityLog & Document;
|
|
|
28
28
|
export declare class StoryPriorityLog {
|
|
29
29
|
member_id: number;
|
|
30
30
|
action: EnumStatus;
|
|
31
|
+
time: number;
|
|
31
32
|
}
|
|
32
33
|
export declare const StoryPriorityLogSchema: import("mongoose").Schema<StoryPriorityLog, import("mongoose").Model<StoryPriorityLog, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, StoryPriorityLog>;
|
|
@@ -22,6 +22,10 @@ __decorate([
|
|
|
22
22
|
(0, mongoose_1.Prop)(),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
24
|
], StoryPriorityLog.prototype, "action", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, mongoose_1.Prop)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], StoryPriorityLog.prototype, "time", void 0);
|
|
25
29
|
StoryPriorityLog = __decorate([
|
|
26
30
|
(0, mongoose_1.Schema)({
|
|
27
31
|
timestamps: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"story-priority-log.entity.js","sourceRoot":"","sources":["../../../src/mongo/schema/story-priority-log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,mDAAqD;AAQ9C,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;
|
|
1
|
+
{"version":3,"file":"story-priority-log.entity.js","sourceRoot":"","sources":["../../../src/mongo/schema/story-priority-log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,mDAAqD;AAQ9C,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAU5B,CAAA;AARG;IAAC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACP;AAElB;IAAC,IAAA,eAAI,GAAE;;gDACY;AAEnB;IAAC,IAAA,eAAI,GAAE;;8CACM;AATJ,gBAAgB;IAJ5B,IAAA,iBAAM,EAAC;QACJ,UAAU,EAAE,IAAI;QAChB,UAAU,EAAE,kBAAkB;KACjC,CAAC;GACW,gBAAgB,CAU5B;AAVY,4CAAgB;AAYhB,QAAA,sBAAsB,GAAG,wBAAa,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC"}
|