@nimee/shared-types 1.0.193 → 1.0.195
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/crm/endUserComment.d.ts +6 -1
- package/dist/crm/endUserComment.js +6 -0
- package/dist/crm/endUserComment.js.map +1 -1
- package/dist/crm/visit.d.ts +1 -0
- package/dist/event/event.d.ts +2 -0
- package/package.json +1 -1
- package/src/crm/endUserComment.ts +7 -1
- package/src/crm/visit.ts +1 -0
- package/src/event/event.ts +2 -0
|
@@ -6,13 +6,18 @@
|
|
|
6
6
|
/// <reference types="mongoose/types/mongooseoptions" />
|
|
7
7
|
/// <reference types="mongoose/types/schemaoptions" />
|
|
8
8
|
import mongoose from "mongoose";
|
|
9
|
+
export declare enum EndUserCommentStatus {
|
|
10
|
+
ACTIVE = "active",
|
|
11
|
+
INACTIVE = "inactive"
|
|
12
|
+
}
|
|
9
13
|
export interface IEndUserCommentModel {
|
|
10
14
|
_id?: string | mongoose.Types.ObjectId;
|
|
11
15
|
content: string;
|
|
12
16
|
author: string | mongoose.Types.ObjectId;
|
|
13
|
-
|
|
17
|
+
endUser: string | mongoose.Types.ObjectId;
|
|
14
18
|
seller: string | mongoose.Types.ObjectId;
|
|
15
19
|
marketplace: string | mongoose.Types.ObjectId;
|
|
16
20
|
createdAt?: Date;
|
|
17
21
|
updatedAt?: Date;
|
|
22
|
+
status?: EndUserCommentStatus;
|
|
18
23
|
}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EndUserCommentStatus = void 0;
|
|
4
|
+
var EndUserCommentStatus;
|
|
5
|
+
(function (EndUserCommentStatus) {
|
|
6
|
+
EndUserCommentStatus["ACTIVE"] = "active";
|
|
7
|
+
EndUserCommentStatus["INACTIVE"] = "inactive";
|
|
8
|
+
})(EndUserCommentStatus || (exports.EndUserCommentStatus = EndUserCommentStatus = {}));
|
|
3
9
|
//# sourceMappingURL=endUserComment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endUserComment.js","sourceRoot":"","sources":["../../src/crm/endUserComment.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"endUserComment.js","sourceRoot":"","sources":["../../src/crm/endUserComment.ts"],"names":[],"mappings":";;;AAEA,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,yCAAiB,CAAA;IACjB,6CAAqB,CAAA;AACvB,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B"}
|
package/dist/crm/visit.d.ts
CHANGED
package/dist/event/event.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
2
|
|
|
3
|
+
export enum EndUserCommentStatus {
|
|
4
|
+
ACTIVE = "active",
|
|
5
|
+
INACTIVE = "inactive",
|
|
6
|
+
}
|
|
7
|
+
|
|
3
8
|
export interface IEndUserCommentModel {
|
|
4
9
|
_id?: string | mongoose.Types.ObjectId;
|
|
5
10
|
content: string;
|
|
6
11
|
author: string | mongoose.Types.ObjectId; // EndUser who wrote the comment
|
|
7
|
-
|
|
12
|
+
endUser: string | mongoose.Types.ObjectId;
|
|
8
13
|
seller: string | mongoose.Types.ObjectId;
|
|
9
14
|
marketplace: string | mongoose.Types.ObjectId;
|
|
10
15
|
createdAt?: Date;
|
|
11
16
|
updatedAt?: Date;
|
|
17
|
+
status?: EndUserCommentStatus;
|
|
12
18
|
}
|
package/src/crm/visit.ts
CHANGED