@duvdu-v1/duvdu 1.1.195 → 1.1.196
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 +2 -0
- package/build/models/copyrights.model.js +2 -0
- package/build/models/portfolio-post.model.d.ts +2 -0
- package/build/models/portfolio-post.model.js +8 -1
- package/build/models/rental.model.d.ts +2 -0
- package/build/models/rental.model.js +2 -0
- package/package.json +56 -56
|
@@ -55,6 +55,8 @@ export interface IcopyRights {
|
|
|
55
55
|
ar: string;
|
|
56
56
|
en: string;
|
|
57
57
|
};
|
|
58
|
+
minBudget: number;
|
|
59
|
+
maxBudget: number;
|
|
58
60
|
}
|
|
59
61
|
export declare const CopyRights: import("mongoose").Model<IcopyRights, {}, {}, {}, import("mongoose").Document<unknown, {}, IcopyRights> & IcopyRights & {
|
|
60
62
|
_id: Types.ObjectId;
|
|
@@ -27,6 +27,8 @@ exports.CopyRights = (0, mongoose_1.model)(model_names_1.MODELS.copyrights, new
|
|
|
27
27
|
lat: { type: Number, default: null },
|
|
28
28
|
lng: { type: Number, default: null },
|
|
29
29
|
},
|
|
30
|
+
minBudget: { type: Number, default: null },
|
|
31
|
+
maxBudget: { type: Number, default: null },
|
|
30
32
|
}, {
|
|
31
33
|
timestamps: true,
|
|
32
34
|
collection: model_names_1.MODELS.copyrights,
|
|
@@ -82,6 +82,8 @@ export interface IprojectCycle {
|
|
|
82
82
|
url: string;
|
|
83
83
|
note: string;
|
|
84
84
|
};
|
|
85
|
+
minBudget: number;
|
|
86
|
+
maxBudget: number;
|
|
85
87
|
}
|
|
86
88
|
export declare const ProjectCycle: import("mongoose").Model<IprojectCycle, {}, {}, {}, import("mongoose").Document<unknown, {}, IprojectCycle> & IprojectCycle & {
|
|
87
89
|
_id: Types.ObjectId;
|
|
@@ -23,7 +23,12 @@ exports.ProjectCycle = (0, mongoose_1.model)(model_names_1.MODELS.portfolioPost,
|
|
|
23
23
|
functions: [
|
|
24
24
|
{ name: { type: String, default: null }, unitPrice: { type: Number, default: 0 } },
|
|
25
25
|
],
|
|
26
|
-
creatives: [
|
|
26
|
+
creatives: [
|
|
27
|
+
{
|
|
28
|
+
creative: { type: mongoose_1.Schema.Types.ObjectId, ref: model_names_1.MODELS.user },
|
|
29
|
+
inviteStatus: { type: String, enum: InviteStatus, default: InviteStatus.pending },
|
|
30
|
+
},
|
|
31
|
+
],
|
|
27
32
|
location: { lat: { type: Number, default: 0 }, lng: { type: Number, default: 0 } },
|
|
28
33
|
address: { type: String, default: null },
|
|
29
34
|
searchKeyWords: [String],
|
|
@@ -43,4 +48,6 @@ exports.ProjectCycle = (0, mongoose_1.model)(model_names_1.MODELS.portfolioPost,
|
|
|
43
48
|
url: { type: String, default: null },
|
|
44
49
|
note: { type: String, default: null },
|
|
45
50
|
},
|
|
51
|
+
minBudget: { type: Number, default: null },
|
|
52
|
+
maxBudget: { type: Number, default: null },
|
|
46
53
|
}, { timestamps: true, collection: model_names_1.MODELS.portfolioPost }));
|
|
@@ -71,6 +71,8 @@ export interface Irental {
|
|
|
71
71
|
};
|
|
72
72
|
createdAt: Date;
|
|
73
73
|
updatedAt: Date;
|
|
74
|
+
minBudget: number;
|
|
75
|
+
maxBudget: number;
|
|
74
76
|
}
|
|
75
77
|
export declare const Rentals: import("mongoose").Model<Irental, {}, {}, {}, import("mongoose").Document<unknown, {}, Irental> & Irental & {
|
|
76
78
|
_id: Types.ObjectId;
|
|
@@ -35,4 +35,6 @@ exports.Rentals = (0, mongoose_1.model)('rentals', new mongoose_1.Schema({
|
|
|
35
35
|
},
|
|
36
36
|
isDeleted: { type: Boolean, default: false },
|
|
37
37
|
rate: { ratersCounter: Number, totalRates: Number },
|
|
38
|
+
minBudget: { type: Number, default: null },
|
|
39
|
+
maxBudget: { type: Number, default: null },
|
|
38
40
|
}, { collection: 'rentals', timestamps: true }).index({ createdAt: 1, updatedAt: -1 }));
|
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.196",
|
|
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
|
+
}
|