biz-slide-core 2.0.2 → 2.0.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.
- package/package.json +2 -1
- package/dist/entity/analytic.entity.d.ts +0 -69
- package/dist/entity/analytic.entity.d.ts.map +0 -1
- package/dist/entity/analytic.entity.js +0 -59
- package/dist/entity/common.d.ts +0 -19
- package/dist/entity/common.d.ts.map +0 -1
- package/dist/entity/common.js +0 -2
- package/dist/entity/config.enity.d.ts +0 -33
- package/dist/entity/config.enity.d.ts.map +0 -1
- package/dist/entity/config.enity.js +0 -11
- package/dist/entity/cron.entity.d.ts +0 -33
- package/dist/entity/cron.entity.d.ts.map +0 -1
- package/dist/entity/cron.entity.js +0 -12
- package/dist/entity/customer.entity.d.ts +0 -39
- package/dist/entity/customer.entity.d.ts.map +0 -1
- package/dist/entity/customer.entity.js +0 -21
- package/dist/entity/image.entity.d.ts +0 -45
- package/dist/entity/image.entity.d.ts.map +0 -1
- package/dist/entity/image.entity.js +0 -18
- package/dist/entity/index.d.ts +0 -24
- package/dist/entity/index.d.ts.map +0 -1
- package/dist/entity/index.js +0 -39
- package/dist/entity/logs.entity.d.ts +0 -35
- package/dist/entity/logs.entity.d.ts.map +0 -1
- package/dist/entity/logs.entity.js +0 -13
- package/dist/entity/png-svg.entity.d.ts +0 -47
- package/dist/entity/png-svg.entity.d.ts.map +0 -1
- package/dist/entity/png-svg.entity.js +0 -23
- package/dist/entity/ppt-email-queue.entity.d.ts +0 -39
- package/dist/entity/ppt-email-queue.entity.d.ts.map +0 -1
- package/dist/entity/ppt-email-queue.entity.js +0 -22
- package/dist/entity/ppt-event.entity.d.ts +0 -37
- package/dist/entity/ppt-event.entity.d.ts.map +0 -1
- package/dist/entity/ppt-event.entity.js +0 -13
- package/dist/entity/ppt-ftp.entity.d.ts +0 -36
- package/dist/entity/ppt-ftp.entity.d.ts.map +0 -1
- package/dist/entity/ppt-ftp.entity.js +0 -15
- package/dist/entity/ppt-slide-layer.entity.d.ts +0 -40
- package/dist/entity/ppt-slide-layer.entity.d.ts.map +0 -1
- package/dist/entity/ppt-slide-layer.entity.js +0 -28
- package/dist/entity/ppt-slide.entity.d.ts +0 -56
- package/dist/entity/ppt-slide.entity.d.ts.map +0 -1
- package/dist/entity/ppt-slide.entity.js +0 -36
- package/dist/entity/ppt-system.entity.d.ts +0 -36
- package/dist/entity/ppt-system.entity.d.ts.map +0 -1
- package/dist/entity/ppt-system.entity.js +0 -15
- package/dist/entity/ppt.entity.d.ts +0 -77
- package/dist/entity/ppt.entity.d.ts.map +0 -1
- package/dist/entity/ppt.entity.js +0 -103
- package/dist/entity/prompt.entity.d.ts +0 -39
- package/dist/entity/prompt.entity.d.ts.map +0 -1
- package/dist/entity/prompt.entity.js +0 -20
- package/dist/entity/slide-layout.entity.d.ts +0 -46
- package/dist/entity/slide-layout.entity.d.ts.map +0 -1
- package/dist/entity/slide-layout.entity.js +0 -35
- package/dist/entity/slide.entity.d.ts +0 -51
- package/dist/entity/slide.entity.d.ts.map +0 -1
- package/dist/entity/slide.entity.js +0 -34
- package/dist/entity/slidev2.entity.d.ts +0 -57
- package/dist/entity/slidev2.entity.d.ts.map +0 -1
- package/dist/entity/slidev2.entity.js +0 -57
- package/dist/entity/socket.entity.d.ts +0 -35
- package/dist/entity/socket.entity.d.ts.map +0 -1
- package/dist/entity/socket.entity.js +0 -12
- package/dist/entity/template-type.entity.d.ts +0 -51
- package/dist/entity/template-type.entity.d.ts.map +0 -1
- package/dist/entity/template-type.entity.js +0 -58
- package/dist/entity/template.entity.d.ts +0 -40
- package/dist/entity/template.entity.d.ts.map +0 -1
- package/dist/entity/template.entity.js +0 -24
- package/dist/entity/training-queue.entity.d.ts +0 -39
- package/dist/entity/training-queue.entity.d.ts.map +0 -1
- package/dist/entity/training-queue.entity.js +0 -14
- package/dist/entity/user.entity.d.ts +0 -38
- package/dist/entity/user.entity.d.ts.map +0 -1
- package/dist/entity/user.entity.js +0 -13
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -21
- package/dist/middleware/authentication.d.ts +0 -8
- package/dist/middleware/authentication.d.ts.map +0 -1
- package/dist/middleware/authentication.js +0 -146
- package/dist/middleware/index.d.ts +0 -4
- package/dist/middleware/index.d.ts.map +0 -1
- package/dist/middleware/index.js +0 -19
- package/dist/middleware/role.d.ts +0 -6
- package/dist/middleware/role.d.ts.map +0 -1
- package/dist/middleware/role.js +0 -8
- package/dist/middleware/schemaValidate.d.ts +0 -5
- package/dist/middleware/schemaValidate.d.ts.map +0 -1
- package/dist/middleware/schemaValidate.js +0 -16
- package/dist/resHandler/errorHandler.d.ts +0 -17
- package/dist/resHandler/errorHandler.d.ts.map +0 -1
- package/dist/resHandler/errorHandler.js +0 -55
- package/dist/resHandler/index.d.ts +0 -3
- package/dist/resHandler/index.d.ts.map +0 -1
- package/dist/resHandler/index.js +0 -18
- package/dist/resHandler/successHandler.d.ts +0 -3
- package/dist/resHandler/successHandler.d.ts.map +0 -1
- package/dist/resHandler/successHandler.js +0 -8
- package/dist/types/IController.d.ts +0 -6
- package/dist/types/IController.d.ts.map +0 -1
- package/dist/types/IController.js +0 -2
- package/dist/types/IRequest.d.ts +0 -8
- package/dist/types/IRequest.d.ts.map +0 -1
- package/dist/types/IRequest.js +0 -2
- package/dist/types/index.d.ts +0 -16
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -34
- package/dist/utilities/callWithRetries.d.ts +0 -2
- package/dist/utilities/callWithRetries.d.ts.map +0 -1
- package/dist/utilities/callWithRetries.js +0 -15
- package/dist/utilities/createFolder.d.ts +0 -2
- package/dist/utilities/createFolder.d.ts.map +0 -1
- package/dist/utilities/createFolder.js +0 -18
- package/dist/utilities/encryptionUtils.d.ts +0 -4
- package/dist/utilities/encryptionUtils.d.ts.map +0 -1
- package/dist/utilities/encryptionUtils.js +0 -26
- package/dist/utilities/hasAbusiveWords.d.ts +0 -4
- package/dist/utilities/hasAbusiveWords.d.ts.map +0 -1
- package/dist/utilities/hasAbusiveWords.js +0 -32
- package/dist/utilities/index.d.ts +0 -6
- package/dist/utilities/index.d.ts.map +0 -1
- package/dist/utilities/index.js +0 -21
- package/dist/utilities/pngSvgCategories.d.ts +0 -168
- package/dist/utilities/pngSvgCategories.d.ts.map +0 -1
- package/dist/utilities/pngSvgCategories.js +0 -170
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "biz-slide-core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"express": "^4.18.2",
|
|
19
19
|
"joi": "^17.11.0",
|
|
20
20
|
"jsonwebtoken": "^9.0.2",
|
|
21
|
+
"mongoose": "^9.3.3",
|
|
21
22
|
"typescript": "^5.3.3"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
@@ -1,69 +0,0 @@
|
|
|
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 { Types } from "mongoose";
|
|
26
|
-
export interface ILayoutAnalyticsSchema {
|
|
27
|
-
name: string;
|
|
28
|
-
count: number;
|
|
29
|
-
percentage: number;
|
|
30
|
-
}
|
|
31
|
-
export interface IEventsSchema {
|
|
32
|
-
name: string;
|
|
33
|
-
count: number;
|
|
34
|
-
}
|
|
35
|
-
export interface IDownloadSchema {
|
|
36
|
-
pdf: number;
|
|
37
|
-
gs: number;
|
|
38
|
-
ppt: number;
|
|
39
|
-
}
|
|
40
|
-
export interface ITemplateSelectionCountSchema {
|
|
41
|
-
default: number;
|
|
42
|
-
selected: number;
|
|
43
|
-
}
|
|
44
|
-
export interface IAnalyticSchema {
|
|
45
|
-
appName: string;
|
|
46
|
-
noOfPPT: number;
|
|
47
|
-
totalDownloaded: number;
|
|
48
|
-
navigateFromGPT: number;
|
|
49
|
-
noOfGuestPPT: number;
|
|
50
|
-
events: Array<IEventsSchema>;
|
|
51
|
-
totalSlides: number;
|
|
52
|
-
layouts: Array<ILayoutAnalyticsSchema>;
|
|
53
|
-
analyticsDate: Date;
|
|
54
|
-
templateTypeId: Types.ObjectId;
|
|
55
|
-
downloads: IDownloadSchema;
|
|
56
|
-
systemPPTDownloads: IDownloadSchema;
|
|
57
|
-
templatesSelectionCount: Record<string, ITemplateSelectionCountSchema>;
|
|
58
|
-
addtionalInfoUrlCount: number;
|
|
59
|
-
infoCount: number;
|
|
60
|
-
systemGeneratedCount: number;
|
|
61
|
-
systemCloneCount: number;
|
|
62
|
-
fixHeaderPPTCount: number;
|
|
63
|
-
customPPTCount: number;
|
|
64
|
-
perplexityPPTCount: number;
|
|
65
|
-
}
|
|
66
|
-
export declare const AnalyticModel: import("mongoose").Model<IAnalyticSchema, {}, {}, {}, import("mongoose").Document<unknown, {}, IAnalyticSchema> & IAnalyticSchema & {
|
|
67
|
-
_id: Types.ObjectId;
|
|
68
|
-
}, any>;
|
|
69
|
-
//# sourceMappingURL=analytic.entity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"analytic.entity.d.ts","sourceRoot":"","sources":["../../src/entity/analytic.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAGD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACvC,aAAa,EAAE,IAAI,CAAC;IACpB,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC/B,SAAS,EAAE,eAAe,CAAC;IAC3B,kBAAkB,EAAE,eAAe,CAAC;IACpC,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAAC,CAAC;IACvE,qBAAqB,EAAE,MAAM,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAmED,eAAO,MAAM,aAAa;;OAAqD,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AnalyticModel = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const eventSchema = new mongoose_1.Schema({
|
|
6
|
-
name: { type: String, required: true },
|
|
7
|
-
count: { type: Number, default: 0 }
|
|
8
|
-
}, {
|
|
9
|
-
timestamps: false,
|
|
10
|
-
_id: false
|
|
11
|
-
});
|
|
12
|
-
const layoutAnalyticsSchema = new mongoose_1.Schema({
|
|
13
|
-
name: { type: String, required: true },
|
|
14
|
-
count: { type: Number, default: 0 },
|
|
15
|
-
percentage: { type: Number, default: 0 }
|
|
16
|
-
}, {
|
|
17
|
-
timestamps: false,
|
|
18
|
-
_id: false
|
|
19
|
-
});
|
|
20
|
-
const downloadSchema = new mongoose_1.Schema({
|
|
21
|
-
gs: { type: Number, default: 0 },
|
|
22
|
-
pdf: { type: Number, default: 0 },
|
|
23
|
-
ppt: { type: Number, default: 0 },
|
|
24
|
-
}, {
|
|
25
|
-
timestamps: false,
|
|
26
|
-
_id: false
|
|
27
|
-
});
|
|
28
|
-
const templateSelectionSchema = new mongoose_1.Schema({
|
|
29
|
-
default: { type: Number, default: 0 },
|
|
30
|
-
selected: { type: Number, default: 0 }
|
|
31
|
-
}, {
|
|
32
|
-
timestamps: false,
|
|
33
|
-
_id: false,
|
|
34
|
-
});
|
|
35
|
-
const AnalyticSchema = new mongoose_1.Schema({
|
|
36
|
-
templateTypeId: { type: mongoose_1.Schema.Types.ObjectId, ref: "template-type" },
|
|
37
|
-
appName: { type: String, required: true },
|
|
38
|
-
noOfPPT: { type: Number, default: 0 },
|
|
39
|
-
totalDownloaded: { type: Number, default: 0 },
|
|
40
|
-
navigateFromGPT: { type: Number, default: 0 },
|
|
41
|
-
noOfGuestPPT: { type: Number, default: 0 },
|
|
42
|
-
events: { type: [eventSchema], default: [] },
|
|
43
|
-
totalSlides: { type: Number, default: 0 },
|
|
44
|
-
layouts: { type: [layoutAnalyticsSchema], default: [] },
|
|
45
|
-
analyticsDate: { type: Date, default: Date.now },
|
|
46
|
-
downloads: { type: downloadSchema, default: { gs: 0, pdf: 0, ppt: 0 } },
|
|
47
|
-
systemPPTDownloads: { type: downloadSchema, default: { gs: 0, pdf: 0, ppt: 0 } },
|
|
48
|
-
templatesSelectionCount: { type: Map, of: templateSelectionSchema, default: {} },
|
|
49
|
-
addtionalInfoUrlCount: { type: Number, default: 0 },
|
|
50
|
-
infoCount: { type: Number, default: 0 },
|
|
51
|
-
systemGeneratedCount: { type: Number, default: 0 },
|
|
52
|
-
systemCloneCount: { type: Number, default: 0 },
|
|
53
|
-
fixHeaderPPTCount: { type: Number, default: 0 },
|
|
54
|
-
customPPTCount: { type: Number, default: 0 },
|
|
55
|
-
perplexityPPTCount: { type: Number, default: 0 }
|
|
56
|
-
}, {
|
|
57
|
-
timestamps: true,
|
|
58
|
-
});
|
|
59
|
-
exports.AnalyticModel = (0, mongoose_1.model)("analytic", AnalyticSchema);
|
package/dist/entity/common.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface IMessageSchema {
|
|
2
|
-
message: string;
|
|
3
|
-
keys: Array<string>;
|
|
4
|
-
}
|
|
5
|
-
export interface ISystemLayout {
|
|
6
|
-
system: IMessageSchema;
|
|
7
|
-
user: IMessageSchema;
|
|
8
|
-
}
|
|
9
|
-
export interface IVariantsSystemLayout {
|
|
10
|
-
single: {
|
|
11
|
-
system: IMessageSchema;
|
|
12
|
-
user: IMessageSchema;
|
|
13
|
-
};
|
|
14
|
-
multiple: {
|
|
15
|
-
system: IMessageSchema;
|
|
16
|
-
user: IMessageSchema;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/entity/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AACD,MAAM,WAAW,aAAa;IAC9B,MAAM,EAAE,cAAc,CAAC;IACvB,IAAI,EAAE,cAAc,CAAC;CACpB;AAED,MAAM,WAAW,qBAAqB;IACtC,MAAM,EAAE;QACN,MAAM,EAAE,cAAc,CAAC;QACvB,IAAI,EAAE,cAAc,CAAC;KACtB,CAAC;IACF,QAAQ,EAAE;QACR,MAAM,EAAE,cAAc,CAAC;QACvB,IAAI,EAAE,cAAc,CAAC;KACtB,CAAA;CACA"}
|
package/dist/entity/common.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
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 { Types } from "mongoose";
|
|
26
|
-
export interface IConfigSchema {
|
|
27
|
-
configType: string;
|
|
28
|
-
value: string;
|
|
29
|
-
}
|
|
30
|
-
export declare const ConfigModel: import("mongoose").Model<IConfigSchema, {}, {}, {}, import("mongoose").Document<unknown, {}, IConfigSchema> & IConfigSchema & {
|
|
31
|
-
_id: Types.ObjectId;
|
|
32
|
-
}, any>;
|
|
33
|
-
//# sourceMappingURL=config.enity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.enity.d.ts","sourceRoot":"","sources":["../../src/entity/config.enity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAYD,eAAO,MAAM,WAAW;;OAA+C,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConfigModel = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const CongigSchema = new mongoose_1.Schema({
|
|
6
|
-
configType: { type: String, required: true },
|
|
7
|
-
value: { type: String, required: true },
|
|
8
|
-
}, {
|
|
9
|
-
timestamps: true,
|
|
10
|
-
});
|
|
11
|
-
exports.ConfigModel = (0, mongoose_1.model)("config", CongigSchema);
|
|
@@ -1,33 +0,0 @@
|
|
|
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" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
export interface ICronSchema {
|
|
27
|
-
name: string;
|
|
28
|
-
status: boolean;
|
|
29
|
-
}
|
|
30
|
-
export declare const CronModel: import("mongoose").Model<ICronSchema, {}, {}, {}, import("mongoose").Document<unknown, {}, ICronSchema> & ICronSchema & {
|
|
31
|
-
_id: import("mongoose").Types.ObjectId;
|
|
32
|
-
}, any>;
|
|
33
|
-
//# sourceMappingURL=cron.entity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cron.entity.d.ts","sourceRoot":"","sources":["../../src/entity/cron.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;CACjB;AAgBD,eAAO,MAAM,SAAS;;OAAyC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CronModel = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const CronSchema = new mongoose_1.Schema({
|
|
6
|
-
name: { type: String, required: true },
|
|
7
|
-
status: { type: Boolean, default: false }
|
|
8
|
-
}, {
|
|
9
|
-
timestamps: true,
|
|
10
|
-
});
|
|
11
|
-
CronSchema.index({ userId: 1 });
|
|
12
|
-
exports.CronModel = (0, mongoose_1.model)("cron", CronSchema);
|
|
@@ -1,39 +0,0 @@
|
|
|
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" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
export interface IEmailTemplateStatus {
|
|
27
|
-
sent: boolean;
|
|
28
|
-
}
|
|
29
|
-
export interface ICustomerSchema {
|
|
30
|
-
appName: string;
|
|
31
|
-
userId: string;
|
|
32
|
-
emailId: string;
|
|
33
|
-
emailTemplateStatus: Record<string, IEmailTemplateStatus>;
|
|
34
|
-
country: string;
|
|
35
|
-
}
|
|
36
|
-
export declare const CustomerModel: import("mongoose").Model<ICustomerSchema, {}, {}, {}, import("mongoose").Document<unknown, {}, ICustomerSchema> & ICustomerSchema & {
|
|
37
|
-
_id: import("mongoose").Types.ObjectId;
|
|
38
|
-
}, any>;
|
|
39
|
-
//# sourceMappingURL=customer.entity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customer.entity.d.ts","sourceRoot":"","sources":["../../src/entity/customer.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,OAAO,CAAC;CACf;AAGD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,CAAC;CACjB;AA4BD,eAAO,MAAM,aAAa;;OAAqD,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerModel = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const EmailTemplateStatusSchema = new mongoose_1.Schema({
|
|
6
|
-
sent: { type: Boolean, default: false },
|
|
7
|
-
}, {
|
|
8
|
-
timestamps: false,
|
|
9
|
-
_id: false
|
|
10
|
-
});
|
|
11
|
-
const CustomerSchema = new mongoose_1.Schema({
|
|
12
|
-
appName: { type: String, required: true },
|
|
13
|
-
userId: { type: String, required: true },
|
|
14
|
-
emailId: { type: String, default: "" },
|
|
15
|
-
emailTemplateStatus: { type: Map, of: EmailTemplateStatusSchema },
|
|
16
|
-
country: { type: String, default: "" }
|
|
17
|
-
}, {
|
|
18
|
-
timestamps: true,
|
|
19
|
-
});
|
|
20
|
-
CustomerSchema.index({ userId: 1 });
|
|
21
|
-
exports.CustomerModel = (0, mongoose_1.model)("customer", CustomerSchema);
|
|
@@ -1,45 +0,0 @@
|
|
|
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 { Types } from "mongoose";
|
|
26
|
-
export interface IImageSchema {
|
|
27
|
-
focusPoint: {
|
|
28
|
-
x: number;
|
|
29
|
-
y: number;
|
|
30
|
-
};
|
|
31
|
-
url: string;
|
|
32
|
-
radius: string;
|
|
33
|
-
keywords: [string] | null;
|
|
34
|
-
title: string;
|
|
35
|
-
aliasName: string;
|
|
36
|
-
userId: Types.ObjectId;
|
|
37
|
-
createdAt: Date;
|
|
38
|
-
updatedAt: Date;
|
|
39
|
-
deletedAt: Date;
|
|
40
|
-
isDelete: boolean;
|
|
41
|
-
}
|
|
42
|
-
export declare const ImageModel: import("mongoose").Model<IImageSchema, {}, {}, {}, import("mongoose").Document<unknown, {}, IImageSchema> & IImageSchema & {
|
|
43
|
-
_id: Types.ObjectId;
|
|
44
|
-
}, any>;
|
|
45
|
-
//# sourceMappingURL=image.entity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image.entity.d.ts","sourceRoot":"","sources":["../../src/entity/image.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAiB,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC;IACvB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAmBD,eAAO,MAAM,UAAU;;OAA4C,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ImageModel = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const ImageSchema = new mongoose_1.Schema({
|
|
6
|
-
focusPoint: { x: Number, y: Number },
|
|
7
|
-
url: { type: String, required: true },
|
|
8
|
-
radius: { type: String, required: true },
|
|
9
|
-
aliasName: { type: String, required: true },
|
|
10
|
-
keywords: { type: [String], default: [] },
|
|
11
|
-
title: { type: String, required: true },
|
|
12
|
-
userId: { type: mongoose_1.Schema.Types.ObjectId, ref: "user" },
|
|
13
|
-
deletedAt: { type: Date, default: null },
|
|
14
|
-
isDelete: { type: Boolean, default: false }
|
|
15
|
-
}, {
|
|
16
|
-
timestamps: true,
|
|
17
|
-
});
|
|
18
|
-
exports.ImageModel = (0, mongoose_1.model)("image", ImageSchema);
|
package/dist/entity/index.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export * from "./image.entity";
|
|
2
|
-
export * from "./png-svg.entity";
|
|
3
|
-
export * from "./ppt-event.entity";
|
|
4
|
-
export * from "./ppt-slide.entity";
|
|
5
|
-
export * from "./ppt.entity";
|
|
6
|
-
export * from "./slide-layout.entity";
|
|
7
|
-
export * from "./slide.entity";
|
|
8
|
-
export * from "./socket.entity";
|
|
9
|
-
export * from "./template.entity";
|
|
10
|
-
export * from "./template-type.entity";
|
|
11
|
-
export * from "./user.entity";
|
|
12
|
-
export * from "./training-queue.entity";
|
|
13
|
-
export * from "./config.enity";
|
|
14
|
-
export * from "./logs.entity";
|
|
15
|
-
export * from "./analytic.entity";
|
|
16
|
-
export * from "./ppt-email-queue.entity";
|
|
17
|
-
export * from "./customer.entity";
|
|
18
|
-
export * from "./cron.entity";
|
|
19
|
-
export * from "./prompt.entity";
|
|
20
|
-
export * from "./ppt-ftp.entity";
|
|
21
|
-
export * from "./ppt-system.entity";
|
|
22
|
-
export * from "./slidev2.entity";
|
|
23
|
-
export * from "./ppt-slide-layer.entity";
|
|
24
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entity/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC"}
|
package/dist/entity/index.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./image.entity"), exports);
|
|
18
|
-
__exportStar(require("./png-svg.entity"), exports);
|
|
19
|
-
__exportStar(require("./ppt-event.entity"), exports);
|
|
20
|
-
__exportStar(require("./ppt-slide.entity"), exports);
|
|
21
|
-
__exportStar(require("./ppt.entity"), exports);
|
|
22
|
-
__exportStar(require("./slide-layout.entity"), exports);
|
|
23
|
-
__exportStar(require("./slide.entity"), exports);
|
|
24
|
-
__exportStar(require("./socket.entity"), exports);
|
|
25
|
-
__exportStar(require("./template.entity"), exports);
|
|
26
|
-
__exportStar(require("./template-type.entity"), exports);
|
|
27
|
-
__exportStar(require("./user.entity"), exports);
|
|
28
|
-
__exportStar(require("./training-queue.entity"), exports);
|
|
29
|
-
__exportStar(require("./config.enity"), exports);
|
|
30
|
-
__exportStar(require("./logs.entity"), exports);
|
|
31
|
-
__exportStar(require("./analytic.entity"), exports);
|
|
32
|
-
__exportStar(require("./ppt-email-queue.entity"), exports);
|
|
33
|
-
__exportStar(require("./customer.entity"), exports);
|
|
34
|
-
__exportStar(require("./cron.entity"), exports);
|
|
35
|
-
__exportStar(require("./prompt.entity"), exports);
|
|
36
|
-
__exportStar(require("./ppt-ftp.entity"), exports);
|
|
37
|
-
__exportStar(require("./ppt-system.entity"), exports);
|
|
38
|
-
__exportStar(require("./slidev2.entity"), exports);
|
|
39
|
-
__exportStar(require("./ppt-slide-layer.entity"), exports);
|
|
@@ -1,35 +0,0 @@
|
|
|
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" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
export interface ILogsSchema {
|
|
27
|
-
type: string;
|
|
28
|
-
event: string;
|
|
29
|
-
message: string;
|
|
30
|
-
count: number;
|
|
31
|
-
}
|
|
32
|
-
export declare const LogsModel: import("mongoose").Model<ILogsSchema, {}, {}, {}, import("mongoose").Document<unknown, {}, ILogsSchema> & ILogsSchema & {
|
|
33
|
-
_id: import("mongoose").Types.ObjectId;
|
|
34
|
-
}, any>;
|
|
35
|
-
//# sourceMappingURL=logs.entity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logs.entity.d.ts","sourceRoot":"","sources":["../../src/entity/logs.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAeD,eAAO,MAAM,SAAS;;OAAyC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LogsModel = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const LogsSchema = new mongoose_1.Schema({
|
|
6
|
-
type: { type: String, required: true },
|
|
7
|
-
event: { type: String, required: true },
|
|
8
|
-
message: { type: String, required: true },
|
|
9
|
-
count: { type: Number, default: 1 },
|
|
10
|
-
}, {
|
|
11
|
-
timestamps: true,
|
|
12
|
-
});
|
|
13
|
-
exports.LogsModel = (0, mongoose_1.model)("logs", LogsSchema);
|
|
@@ -1,47 +0,0 @@
|
|
|
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" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
export interface IPngSvgSchema {
|
|
27
|
-
title: string;
|
|
28
|
-
styleCategory: string;
|
|
29
|
-
styleSubCategory: string;
|
|
30
|
-
colors: Array<string>;
|
|
31
|
-
userId: string;
|
|
32
|
-
isLocked?: boolean;
|
|
33
|
-
isCompleted?: boolean;
|
|
34
|
-
isDownloaded?: boolean;
|
|
35
|
-
hasError?: boolean;
|
|
36
|
-
optionsDownloaded: any;
|
|
37
|
-
userReaction: number;
|
|
38
|
-
userFeedback: string;
|
|
39
|
-
createdAt?: Date;
|
|
40
|
-
updatedAt?: Date;
|
|
41
|
-
deletedAt?: Date;
|
|
42
|
-
appName: string;
|
|
43
|
-
}
|
|
44
|
-
export declare const PngSvgModel: import("mongoose").Model<IPngSvgSchema, {}, {}, {}, import("mongoose").Document<unknown, {}, IPngSvgSchema> & IPngSvgSchema & {
|
|
45
|
-
_id: import("mongoose").Types.ObjectId;
|
|
46
|
-
}, any>;
|
|
47
|
-
//# sourceMappingURL=png-svg.entity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"png-svg.entity.d.ts","sourceRoot":"","sources":["../../src/entity/png-svg.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,GAAG,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAwBD,eAAO,MAAM,WAAW;;OAAgD,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PngSvgModel = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const PngSvgSchema = new mongoose_1.Schema({
|
|
6
|
-
deletedAt: { type: Date, default: null },
|
|
7
|
-
isLocked: { type: Boolean, default: false },
|
|
8
|
-
optionsDownloaded: mongoose_1.Schema.Types.Mixed,
|
|
9
|
-
isDownloaded: { type: Boolean, default: false },
|
|
10
|
-
isCompleted: { type: Boolean, default: false },
|
|
11
|
-
hasError: { type: Boolean, default: false },
|
|
12
|
-
userId: { type: String, default: null },
|
|
13
|
-
userReaction: { type: Number, default: 0 },
|
|
14
|
-
userFeedback: { type: String, default: null },
|
|
15
|
-
title: { type: String, default: null },
|
|
16
|
-
styleCategory: { type: String, default: null },
|
|
17
|
-
styleSubCategory: { type: String, default: null },
|
|
18
|
-
colors: { type: [{ type: String, default: null }], default: null, _id: false },
|
|
19
|
-
appName: { type: String, default: null },
|
|
20
|
-
}, {
|
|
21
|
-
timestamps: true,
|
|
22
|
-
});
|
|
23
|
-
exports.PngSvgModel = (0, mongoose_1.model)("png-svg", PngSvgSchema);
|