@duvdu-v1/duvdu 1.1.45 → 1.1.47

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 CHANGED
@@ -46,6 +46,7 @@ export * from './types/folders';
46
46
  export * from './types/pagination-response';
47
47
  export * from './types/portfolio-post-order';
48
48
  export * from './types/cycles';
49
+ export * from './types/booking-states';
49
50
  export * from './models/Bookmark.model';
50
51
  export * from './models/Plan.model';
51
52
  export * from './models/Role.model';
package/build/index.js CHANGED
@@ -62,6 +62,7 @@ __exportStar(require("./types/folders"), exports);
62
62
  __exportStar(require("./types/pagination-response"), exports);
63
63
  __exportStar(require("./types/portfolio-post-order"), exports);
64
64
  __exportStar(require("./types/cycles"), exports);
65
+ __exportStar(require("./types/booking-states"), exports);
65
66
  __exportStar(require("./models/Bookmark.model"), exports);
66
67
  __exportStar(require("./models/Plan.model"), exports);
67
68
  __exportStar(require("./models/Role.model"), exports);
@@ -0,0 +1,7 @@
1
+ export declare enum BookingState {
2
+ canceled = "canceled",
3
+ pending = "pending",
4
+ ongoing = "ongoing",
5
+ completed = "completed",
6
+ rejected = "rejected"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BookingState = void 0;
4
+ var BookingState;
5
+ (function (BookingState) {
6
+ BookingState["canceled"] = "canceled";
7
+ BookingState["pending"] = "pending";
8
+ BookingState["ongoing"] = "ongoing";
9
+ BookingState["completed"] = "completed";
10
+ BookingState["rejected"] = "rejected";
11
+ })(BookingState || (exports.BookingState = BookingState = {}));
@@ -8,12 +8,15 @@ export declare enum MODELS {
8
8
  term = "terms",
9
9
  ticket = "tickets",
10
10
  portfolioPost = "portfolio-post",
11
+ portfolioPostBooking = "portfolio-post-booking",
11
12
  studioBooking = "studio-booking",
13
+ studioBookingBook = "studio-booking-book",
12
14
  report = "report",
13
15
  copyrights = "copyrights",
14
16
  copyrightsBooking = "copyrights-booking",
15
17
  projects = "allProjects",
16
18
  messages = "messages",
17
19
  notifications = "notifications",
18
- teamProject = "teamProjects"
20
+ teamProject = "teamProjects",
21
+ teamProjectBooking = "teamProjects-booking"
19
22
  }
@@ -12,7 +12,9 @@ var MODELS;
12
12
  MODELS["term"] = "terms";
13
13
  MODELS["ticket"] = "tickets";
14
14
  MODELS["portfolioPost"] = "portfolio-post";
15
+ MODELS["portfolioPostBooking"] = "portfolio-post-booking";
15
16
  MODELS["studioBooking"] = "studio-booking";
17
+ MODELS["studioBookingBook"] = "studio-booking-book";
16
18
  MODELS["report"] = "report";
17
19
  MODELS["copyrights"] = "copyrights";
18
20
  MODELS["copyrightsBooking"] = "copyrights-booking";
@@ -20,4 +22,5 @@ var MODELS;
20
22
  MODELS["messages"] = "messages";
21
23
  MODELS["notifications"] = "notifications";
22
24
  MODELS["teamProject"] = "teamProjects";
25
+ MODELS["teamProjectBooking"] = "teamProjects-booking";
23
26
  })(MODELS || (exports.MODELS = MODELS = {}));
package/package.json CHANGED
@@ -1,55 +1,55 @@
1
- {
2
- "name": "@duvdu-v1/duvdu",
3
- "version": "1.1.45",
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/portfolio-post ./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.4",
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
- },
45
- "devDependencies": {
46
- "@types/uuid": "^9.0.8",
47
- "del-cli": "^5.1.0",
48
- "eslint": "^8.56.0",
49
- "eslint-config-prettier": "^9.1.0",
50
- "eslint-plugin-import": "^2.29.1",
51
- "eslint-plugin-prettier": "^5.1.3",
52
- "prettier": "^3.2.4"
53
- },
54
- "description": ""
55
- }
1
+ {
2
+ "name": "@duvdu-v1/duvdu",
3
+ "version": "1.1.47",
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/portfolio-post ./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.4",
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
+ },
45
+ "devDependencies": {
46
+ "@types/uuid": "^9.0.8",
47
+ "del-cli": "^5.1.0",
48
+ "eslint": "^8.56.0",
49
+ "eslint-config-prettier": "^9.1.0",
50
+ "eslint-plugin-import": "^2.29.1",
51
+ "eslint-plugin-prettier": "^5.1.3",
52
+ "prettier": "^3.2.4"
53
+ },
54
+ "description": ""
55
+ }