@duvdu-v1/duvdu 1.1.107 → 1.1.108
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.
|
@@ -25,23 +25,6 @@
|
|
|
25
25
|
import { Types } from 'mongoose';
|
|
26
26
|
import { Icategory } from '../types/Category';
|
|
27
27
|
import { Iuser } from '../types/User';
|
|
28
|
-
export interface Iproducer {
|
|
29
|
-
user: Types.ObjectId | Iuser;
|
|
30
|
-
category: Types.ObjectId | Icategory;
|
|
31
|
-
subCategories?: {
|
|
32
|
-
title: {
|
|
33
|
-
en: string;
|
|
34
|
-
ar: string;
|
|
35
|
-
};
|
|
36
|
-
tags: {
|
|
37
|
-
en: string;
|
|
38
|
-
ar: string;
|
|
39
|
-
}[];
|
|
40
|
-
}[];
|
|
41
|
-
maxBudget: number;
|
|
42
|
-
minBudget: number;
|
|
43
|
-
searchKeywords: string[];
|
|
44
|
-
}
|
|
45
28
|
export interface IproducerBooking {
|
|
46
29
|
producer: Types.ObjectId | Iuser;
|
|
47
30
|
user: Types.ObjectId | Iuser;
|
|
@@ -66,6 +49,23 @@ export interface IproducerBooking {
|
|
|
66
49
|
export declare const ProducerBooking: import("mongoose").Model<IproducerBooking, {}, {}, {}, import("mongoose").Document<unknown, {}, IproducerBooking> & IproducerBooking & {
|
|
67
50
|
_id: Types.ObjectId;
|
|
68
51
|
}, any>;
|
|
52
|
+
export interface Iproducer {
|
|
53
|
+
user: Types.ObjectId | Iuser;
|
|
54
|
+
category: Types.ObjectId | Icategory;
|
|
55
|
+
subCategories?: {
|
|
56
|
+
title: {
|
|
57
|
+
en: string;
|
|
58
|
+
ar: string;
|
|
59
|
+
};
|
|
60
|
+
tags: {
|
|
61
|
+
en: string;
|
|
62
|
+
ar: string;
|
|
63
|
+
}[];
|
|
64
|
+
}[];
|
|
65
|
+
maxBudget: number;
|
|
66
|
+
minBudget: number;
|
|
67
|
+
searchKeywords: string[];
|
|
68
|
+
}
|
|
69
69
|
export declare const Producer: import("mongoose").Model<Iproducer, {}, {}, {}, import("mongoose").Document<unknown, {}, Iproducer> & Iproducer & {
|
|
70
70
|
_id: Types.ObjectId;
|
|
71
71
|
}, any>;
|
|
@@ -52,7 +52,7 @@ export declare enum PERMISSIONS {
|
|
|
52
52
|
createTeamProjectHandler = "create team project",
|
|
53
53
|
updateTeamProjectHandler = "update team project",
|
|
54
54
|
deleteTeamProjectHandler = "delete team project",
|
|
55
|
-
|
|
55
|
+
deleteProducerHandler = "delete producer",
|
|
56
56
|
createRankHandler = "create rank",
|
|
57
57
|
updateRankHandler = "update rank",
|
|
58
58
|
deleteRankHandler = "delete rank"
|
|
@@ -65,7 +65,7 @@ var PERMISSIONS;
|
|
|
65
65
|
PERMISSIONS["updateTeamProjectHandler"] = "update team project";
|
|
66
66
|
PERMISSIONS["deleteTeamProjectHandler"] = "delete team project";
|
|
67
67
|
// producer
|
|
68
|
-
PERMISSIONS["
|
|
68
|
+
PERMISSIONS["deleteProducerHandler"] = "delete producer";
|
|
69
69
|
// rank
|
|
70
70
|
PERMISSIONS["createRankHandler"] = "create rank";
|
|
71
71
|
PERMISSIONS["updateRankHandler"] = "update rank";
|