@duvdu-v1/duvdu 1.1.196 → 1.1.197
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/build/models/copyrights.model.d.ts +1 -0
- package/build/models/copyrights.model.js +1 -0
- package/build/models/portfolio-post.model.d.ts +1 -0
- package/build/models/portfolio-post.model.js +1 -1
- package/build/models/rental.model.d.ts +1 -0
- package/build/models/rental.model.js +1 -1
- package/package.json +56 -56
|
@@ -12,7 +12,7 @@ var InviteStatus;
|
|
|
12
12
|
exports.ProjectCycle = (0, mongoose_1.model)(model_names_1.MODELS.portfolioPost, new mongoose_1.Schema({
|
|
13
13
|
user: { type: mongoose_1.Schema.Types.ObjectId, ref: model_names_1.MODELS.user },
|
|
14
14
|
category: { type: mongoose_1.Schema.Types.ObjectId, ref: model_names_1.MODELS.category },
|
|
15
|
-
subCategory: { ar: { type: String, default: null }, en: { type: String, default: null } },
|
|
15
|
+
subCategory: { ar: { type: String, default: null }, en: { type: String, default: null }, _id: String },
|
|
16
16
|
tags: [{ ar: { type: String, default: null }, en: { type: String, default: null } }],
|
|
17
17
|
cover: { type: String, default: null },
|
|
18
18
|
audioCover: { type: String, default: null },
|
|
@@ -14,7 +14,7 @@ var RentalUnits;
|
|
|
14
14
|
exports.Rentals = (0, mongoose_1.model)('rentals', new mongoose_1.Schema({
|
|
15
15
|
user: { type: mongoose_1.Schema.Types.ObjectId, ref: model_names_1.MODELS.user },
|
|
16
16
|
category: { type: mongoose_1.Schema.Types.ObjectId, ref: model_names_1.MODELS.category },
|
|
17
|
-
subCategory: { ar: String, en: String },
|
|
17
|
+
subCategory: { ar: String, en: String, _id: String },
|
|
18
18
|
tags: [{ ar: String, en: String }],
|
|
19
19
|
attachments: [String],
|
|
20
20
|
cover: String,
|
package/package.json
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@duvdu-v1/duvdu",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"main": "./build/index.js",
|
|
5
|
-
"types": "./build/index.d.ts",
|
|
6
|
-
"files": [
|
|
7
|
-
"build/**/*"
|
|
8
|
-
],
|
|
9
|
-
"scripts": {
|
|
10
|
-
"clean": "rimraf ./build",
|
|
11
|
-
"build": "npm run clean && tsc",
|
|
12
|
-
"fix:build": "mv ./build/common/src/* ./build && rm -rf ./build/auth ./build/common",
|
|
13
|
-
"pub": "git add . && git commit -m \"updates\" && npm version patch && npm run build && npm publish",
|
|
14
|
-
"lint": "eslint .",
|
|
15
|
-
"lint:fix": "eslint --fix .",
|
|
16
|
-
"format": "prettier --write ."
|
|
17
|
-
},
|
|
18
|
-
"keywords": [],
|
|
19
|
-
"author": "motemed khaled",
|
|
20
|
-
"license": "ISC",
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"@types/express": "^4.17.21",
|
|
23
|
-
"@types/express-session": "^1.18.0",
|
|
24
|
-
"@types/jsonwebtoken": "^9.0.5",
|
|
25
|
-
"@types/multer": "^1.4.11",
|
|
26
|
-
"@types/node": "^20.11.0",
|
|
27
|
-
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
28
|
-
"@typescript-eslint/parser": "^6.19.0",
|
|
29
|
-
"aws-sdk": "^2.1595.0",
|
|
30
|
-
"connect-redis": "^7.1.1",
|
|
31
|
-
"express": "^4.18.2",
|
|
32
|
-
"express-async-errors": "^3.1.1",
|
|
33
|
-
"express-session": "^1.18.0",
|
|
34
|
-
"express-validator": "^7.0.1",
|
|
35
|
-
"jsonwebtoken": "^9.0.2",
|
|
36
|
-
"mongoose": "^8.0.4",
|
|
37
|
-
"multer": "^1.4.5-lts.1",
|
|
38
|
-
"node-nats-streaming": "^0.3.2",
|
|
39
|
-
"redis": "^4.6.13",
|
|
40
|
-
"rimraf": "^5.0.5",
|
|
41
|
-
"typescript": "^5.3.3",
|
|
42
|
-
"uuid": "^9.0.1",
|
|
43
|
-
"winston": "^3.13.0",
|
|
44
|
-
"winston-daily-rotate-file": "^5.0.0"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@types/uuid": "^9.0.8",
|
|
48
|
-
"del-cli": "^5.1.0",
|
|
49
|
-
"eslint": "^8.56.0",
|
|
50
|
-
"eslint-config-prettier": "^9.1.0",
|
|
51
|
-
"eslint-plugin-import": "^2.29.1",
|
|
52
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
53
|
-
"prettier": "^3.2.4"
|
|
54
|
-
},
|
|
55
|
-
"description": ""
|
|
56
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@duvdu-v1/duvdu",
|
|
3
|
+
"version": "1.1.197",
|
|
4
|
+
"main": "./build/index.js",
|
|
5
|
+
"types": "./build/index.d.ts",
|
|
6
|
+
"files": [
|
|
7
|
+
"build/**/*"
|
|
8
|
+
],
|
|
9
|
+
"scripts": {
|
|
10
|
+
"clean": "rimraf ./build",
|
|
11
|
+
"build": "npm run clean && tsc",
|
|
12
|
+
"fix:build": "mv ./build/common/src/* ./build && rm -rf ./build/auth ./build/common",
|
|
13
|
+
"pub": "git add . && git commit -m \"updates\" && npm version patch && npm run build && npm publish",
|
|
14
|
+
"lint": "eslint .",
|
|
15
|
+
"lint:fix": "eslint --fix .",
|
|
16
|
+
"format": "prettier --write ."
|
|
17
|
+
},
|
|
18
|
+
"keywords": [],
|
|
19
|
+
"author": "motemed khaled",
|
|
20
|
+
"license": "ISC",
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@types/express": "^4.17.21",
|
|
23
|
+
"@types/express-session": "^1.18.0",
|
|
24
|
+
"@types/jsonwebtoken": "^9.0.5",
|
|
25
|
+
"@types/multer": "^1.4.11",
|
|
26
|
+
"@types/node": "^20.11.0",
|
|
27
|
+
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
28
|
+
"@typescript-eslint/parser": "^6.19.0",
|
|
29
|
+
"aws-sdk": "^2.1595.0",
|
|
30
|
+
"connect-redis": "^7.1.1",
|
|
31
|
+
"express": "^4.18.2",
|
|
32
|
+
"express-async-errors": "^3.1.1",
|
|
33
|
+
"express-session": "^1.18.0",
|
|
34
|
+
"express-validator": "^7.0.1",
|
|
35
|
+
"jsonwebtoken": "^9.0.2",
|
|
36
|
+
"mongoose": "^8.0.4",
|
|
37
|
+
"multer": "^1.4.5-lts.1",
|
|
38
|
+
"node-nats-streaming": "^0.3.2",
|
|
39
|
+
"redis": "^4.6.13",
|
|
40
|
+
"rimraf": "^5.0.5",
|
|
41
|
+
"typescript": "^5.3.3",
|
|
42
|
+
"uuid": "^9.0.1",
|
|
43
|
+
"winston": "^3.13.0",
|
|
44
|
+
"winston-daily-rotate-file": "^5.0.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/uuid": "^9.0.8",
|
|
48
|
+
"del-cli": "^5.1.0",
|
|
49
|
+
"eslint": "^8.56.0",
|
|
50
|
+
"eslint-config-prettier": "^9.1.0",
|
|
51
|
+
"eslint-plugin-import": "^2.29.1",
|
|
52
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
53
|
+
"prettier": "^3.2.4"
|
|
54
|
+
},
|
|
55
|
+
"description": ""
|
|
56
|
+
}
|