@duvdu-v1/duvdu 1.1.65 → 1.1.66

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.
@@ -28,7 +28,6 @@ export interface IteamProject extends Document {
28
28
  user: Types.ObjectId;
29
29
  cover: string;
30
30
  title: string;
31
- category: Types.ObjectId;
32
31
  budget: number;
33
32
  desc: string;
34
33
  location: {
@@ -47,10 +47,6 @@ exports.TeamProject = (0, mongoose_1.model)(model_names_1.MODELS.teamProject, ne
47
47
  type: String,
48
48
  default: null
49
49
  },
50
- category: {
51
- type: mongoose_1.Schema.Types.ObjectId,
52
- ref: model_names_1.MODELS.category
53
- },
54
50
  budget: {
55
51
  type: Number,
56
52
  default: null
@@ -66,4 +66,5 @@ export declare const permissions: {
66
66
  copyrights: PERMISSIONS[];
67
67
  studioBooking: PERMISSIONS[];
68
68
  booking: PERMISSIONS[];
69
+ teamProject: PERMISSIONS[];
69
70
  };
@@ -127,4 +127,13 @@ exports.permissions = {
127
127
  PERMISSIONS.getStudioAnalysisHandler,
128
128
  ],
129
129
  booking: [PERMISSIONS.booking],
130
+ teamProject: [
131
+ PERMISSIONS.createTeamProjectHandler,
132
+ PERMISSIONS.deleteTeamProjectCreativeHandler,
133
+ PERMISSIONS.getTeamProjectAnalysisHandler,
134
+ PERMISSIONS.getCrmTeamProjectHandler,
135
+ PERMISSIONS.updateTeamProjectCreativeHandler,
136
+ PERMISSIONS.deleteTeamProjectHandler,
137
+ PERMISSIONS.updateTeamProjectHandler,
138
+ ]
130
139
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duvdu-v1/duvdu",
3
- "version": "1.1.65",
3
+ "version": "1.1.66",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [