@duvdu-v1/duvdu 1.1.141 → 1.1.143
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/index.d.ts +0 -1
- package/build/index.js +1 -1
- package/build/types/notification.type.d.ts +3 -1
- package/build/types/notification.type.js +2 -0
- package/build/types/notification_details.d.ts +8 -0
- package/build/types/notification_details.js +8 -0
- package/build/types/socket-channel.d.ts +2 -5
- package/build/types/socket-channel.js +1 -4
- package/package.json +57 -57
package/build/index.d.ts
CHANGED
|
@@ -59,7 +59,6 @@ export * from './models/allProjects.model';
|
|
|
59
59
|
export * from './models/report.model';
|
|
60
60
|
export * from './models/messages.model';
|
|
61
61
|
export * from './models/notification.model';
|
|
62
|
-
export * from './models/teamProject.model';
|
|
63
62
|
export * from './models/producer.model';
|
|
64
63
|
export * from './models/follow.model';
|
|
65
64
|
export * from './models/session.model';
|
package/build/index.js
CHANGED
|
@@ -75,7 +75,7 @@ __exportStar(require("./models/allProjects.model"), exports);
|
|
|
75
75
|
__exportStar(require("./models/report.model"), exports);
|
|
76
76
|
__exportStar(require("./models/messages.model"), exports);
|
|
77
77
|
__exportStar(require("./models/notification.model"), exports);
|
|
78
|
-
|
|
78
|
+
// export * from './models/teamProject.model';
|
|
79
79
|
// export * from './models/contracts.model';
|
|
80
80
|
__exportStar(require("./models/producer.model"), exports);
|
|
81
81
|
__exportStar(require("./models/follow.model"), exports);
|
|
@@ -4,5 +4,7 @@ export declare enum NotificationType {
|
|
|
4
4
|
new_producer_contract = "new_producer_contract",
|
|
5
5
|
updated_producer_contract = "updated_producer_contract",
|
|
6
6
|
new_project_contract = "new_project_contract",
|
|
7
|
-
update_project_contract = "update_project_contract"
|
|
7
|
+
update_project_contract = "update_project_contract",
|
|
8
|
+
new_team_contract = "new_team_contract",
|
|
9
|
+
update_team_contract = "update_team_contract"
|
|
8
10
|
}
|
|
@@ -9,4 +9,6 @@ var NotificationType;
|
|
|
9
9
|
NotificationType["updated_producer_contract"] = "updated_producer_contract";
|
|
10
10
|
NotificationType["new_project_contract"] = "new_project_contract";
|
|
11
11
|
NotificationType["update_project_contract"] = "update_project_contract";
|
|
12
|
+
NotificationType["new_team_contract"] = "new_team_contract";
|
|
13
|
+
NotificationType["update_team_contract"] = "update_team_contract";
|
|
12
14
|
})(NotificationType || (exports.NotificationType = NotificationType = {}));
|
|
@@ -30,4 +30,12 @@ exports.NotificationDetails = {
|
|
|
30
30
|
title: 'update project contract',
|
|
31
31
|
message: 'update project contract'
|
|
32
32
|
},
|
|
33
|
+
newTeamContract: {
|
|
34
|
+
title: 'new Team contract',
|
|
35
|
+
message: 'new Team contract'
|
|
36
|
+
},
|
|
37
|
+
updateTeamContract: {
|
|
38
|
+
title: 'update Team contract',
|
|
39
|
+
message: 'update Team contract'
|
|
40
|
+
},
|
|
33
41
|
};
|
|
@@ -2,9 +2,6 @@ export declare enum Channels {
|
|
|
2
2
|
notification = "notification",
|
|
3
3
|
new_message = "new_message",
|
|
4
4
|
new_follower = "new_follower",
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
new_project_contract = "new_project_contract",
|
|
8
|
-
update_project_contract = "update_project_contract",
|
|
9
|
-
new_contract = "new_contract"
|
|
5
|
+
new_contract = "new_contract",
|
|
6
|
+
update_contract = "update_contract"
|
|
10
7
|
}
|
|
@@ -6,9 +6,6 @@ var Channels;
|
|
|
6
6
|
Channels["notification"] = "notification";
|
|
7
7
|
Channels["new_message"] = "new_message";
|
|
8
8
|
Channels["new_follower"] = "new_follower";
|
|
9
|
-
Channels["new_producer_contract"] = "new_producer_contract";
|
|
10
|
-
Channels["updated_producer_contract"] = "updated_producer_contract";
|
|
11
|
-
Channels["new_project_contract"] = "new_project_contract";
|
|
12
|
-
Channels["update_project_contract"] = "update_project_contract";
|
|
13
9
|
Channels["new_contract"] = "new_contract";
|
|
10
|
+
Channels["update_contract"] = "update_contract";
|
|
14
11
|
})(Channels || (exports.Channels = Channels = {}));
|
package/package.json
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
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
|
-
"@duvdu-v1/duvdu": "^1.1.116",
|
|
23
|
-
"@types/express": "^4.17.21",
|
|
24
|
-
"@types/express-session": "^1.18.0",
|
|
25
|
-
"@types/jsonwebtoken": "^9.0.5",
|
|
26
|
-
"@types/multer": "^1.4.11",
|
|
27
|
-
"@types/node": "^20.11.0",
|
|
28
|
-
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
29
|
-
"@typescript-eslint/parser": "^6.19.0",
|
|
30
|
-
"aws-sdk": "^2.1595.0",
|
|
31
|
-
"connect-redis": "^7.1.1",
|
|
32
|
-
"express": "^4.18.2",
|
|
33
|
-
"express-async-errors": "^3.1.1",
|
|
34
|
-
"express-session": "^1.18.0",
|
|
35
|
-
"express-validator": "^7.0.1",
|
|
36
|
-
"jsonwebtoken": "^9.0.2",
|
|
37
|
-
"mongoose": "^8.0.4",
|
|
38
|
-
"multer": "^1.4.5-lts.1",
|
|
39
|
-
"node-nats-streaming": "^0.3.2",
|
|
40
|
-
"redis": "^4.6.13",
|
|
41
|
-
"rimraf": "^5.0.5",
|
|
42
|
-
"typescript": "^5.3.3",
|
|
43
|
-
"uuid": "^9.0.1",
|
|
44
|
-
"winston": "^3.13.0",
|
|
45
|
-
"winston-daily-rotate-file": "^5.0.0"
|
|
46
|
-
},
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"@types/uuid": "^9.0.8",
|
|
49
|
-
"del-cli": "^5.1.0",
|
|
50
|
-
"eslint": "^8.56.0",
|
|
51
|
-
"eslint-config-prettier": "^9.1.0",
|
|
52
|
-
"eslint-plugin-import": "^2.29.1",
|
|
53
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
54
|
-
"prettier": "^3.2.4"
|
|
55
|
-
},
|
|
56
|
-
"description": ""
|
|
57
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@duvdu-v1/duvdu",
|
|
3
|
+
"version": "1.1.143",
|
|
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
|
+
"@duvdu-v1/duvdu": "^1.1.116",
|
|
23
|
+
"@types/express": "^4.17.21",
|
|
24
|
+
"@types/express-session": "^1.18.0",
|
|
25
|
+
"@types/jsonwebtoken": "^9.0.5",
|
|
26
|
+
"@types/multer": "^1.4.11",
|
|
27
|
+
"@types/node": "^20.11.0",
|
|
28
|
+
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
29
|
+
"@typescript-eslint/parser": "^6.19.0",
|
|
30
|
+
"aws-sdk": "^2.1595.0",
|
|
31
|
+
"connect-redis": "^7.1.1",
|
|
32
|
+
"express": "^4.18.2",
|
|
33
|
+
"express-async-errors": "^3.1.1",
|
|
34
|
+
"express-session": "^1.18.0",
|
|
35
|
+
"express-validator": "^7.0.1",
|
|
36
|
+
"jsonwebtoken": "^9.0.2",
|
|
37
|
+
"mongoose": "^8.0.4",
|
|
38
|
+
"multer": "^1.4.5-lts.1",
|
|
39
|
+
"node-nats-streaming": "^0.3.2",
|
|
40
|
+
"redis": "^4.6.13",
|
|
41
|
+
"rimraf": "^5.0.5",
|
|
42
|
+
"typescript": "^5.3.3",
|
|
43
|
+
"uuid": "^9.0.1",
|
|
44
|
+
"winston": "^3.13.0",
|
|
45
|
+
"winston-daily-rotate-file": "^5.0.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@types/uuid": "^9.0.8",
|
|
49
|
+
"del-cli": "^5.1.0",
|
|
50
|
+
"eslint": "^8.56.0",
|
|
51
|
+
"eslint-config-prettier": "^9.1.0",
|
|
52
|
+
"eslint-plugin-import": "^2.29.1",
|
|
53
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
54
|
+
"prettier": "^3.2.4"
|
|
55
|
+
},
|
|
56
|
+
"description": ""
|
|
57
|
+
}
|