@experts_hub/shared 1.0.180 → 1.0.181
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/dist/entities/company-role.entity.d.ts +3 -0
- package/dist/entities/user.entity.d.ts +2 -0
- package/dist/index.d.mts +26 -23
- package/dist/index.d.ts +26 -23
- package/dist/index.js +271 -234
- package/dist/index.mjs +326 -279
- package/package.json +1 -1
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { BaseEntity } from "./base.entity";
|
|
2
2
|
import { CompanyRolePermission } from "./company-role-permission.entity";
|
|
3
|
+
import { User } from "./user.entity";
|
|
3
4
|
export declare class CompanyRole extends BaseEntity {
|
|
5
|
+
userId: number;
|
|
6
|
+
user: User;
|
|
4
7
|
name: string;
|
|
5
8
|
slug: string;
|
|
6
9
|
description: string;
|
|
@@ -10,6 +10,7 @@ import { BankDetail } from "./bank-details.entity";
|
|
|
10
10
|
import { SystemPreference } from "./system-preference.entity";
|
|
11
11
|
import { Rating } from "./rating.entity";
|
|
12
12
|
import { JobApplication } from "./job-application.entity";
|
|
13
|
+
import { CompanyRole } from "./company-role.entity";
|
|
13
14
|
import { FreelancerExperience } from "./freelancer-experience.entity";
|
|
14
15
|
import { FreelancerEducation } from "./freelancer-education.entity";
|
|
15
16
|
import { FreelancerProject } from "./freelancer-project.entity";
|
|
@@ -70,6 +71,7 @@ export declare class User extends BaseEntity {
|
|
|
70
71
|
senseloafLogs: SenseloafLog[];
|
|
71
72
|
freelancerProfile: FreelancerProfile;
|
|
72
73
|
companyProfile: CompanyProfile;
|
|
74
|
+
companyRoles: CompanyRole[];
|
|
73
75
|
assessments: FreelancerAssessment[];
|
|
74
76
|
jobs: Job[];
|
|
75
77
|
interviews: Interview[];
|
package/dist/index.d.mts
CHANGED
|
@@ -832,6 +832,31 @@ declare class SystemPreference extends BaseEntity {
|
|
|
832
832
|
value: boolean;
|
|
833
833
|
}
|
|
834
834
|
|
|
835
|
+
declare class Permission extends BaseEntity {
|
|
836
|
+
name: string;
|
|
837
|
+
slug: string;
|
|
838
|
+
description: string;
|
|
839
|
+
isActive: boolean;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
declare class CompanyRolePermission extends BaseEntity {
|
|
843
|
+
companyRoleId: number;
|
|
844
|
+
companyRole: CompanyRole;
|
|
845
|
+
permissionId: number;
|
|
846
|
+
permission: Permission;
|
|
847
|
+
assignedBy?: number;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
declare class CompanyRole extends BaseEntity {
|
|
851
|
+
userId: number;
|
|
852
|
+
user: User;
|
|
853
|
+
name: string;
|
|
854
|
+
slug: string;
|
|
855
|
+
description: string;
|
|
856
|
+
isActive: boolean;
|
|
857
|
+
rolePermissions: CompanyRolePermission[];
|
|
858
|
+
}
|
|
859
|
+
|
|
835
860
|
declare class FreelancerExperience extends BaseEntity {
|
|
836
861
|
userId: number;
|
|
837
862
|
user: User;
|
|
@@ -970,6 +995,7 @@ declare class User extends BaseEntity {
|
|
|
970
995
|
senseloafLogs: SenseloafLog[];
|
|
971
996
|
freelancerProfile: FreelancerProfile;
|
|
972
997
|
companyProfile: CompanyProfile;
|
|
998
|
+
companyRoles: CompanyRole[];
|
|
973
999
|
assessments: FreelancerAssessment[];
|
|
974
1000
|
jobs: Job[];
|
|
975
1001
|
interviews: Interview[];
|
|
@@ -1362,29 +1388,6 @@ declare class Question extends BaseEntity {
|
|
|
1362
1388
|
isActive: boolean;
|
|
1363
1389
|
}
|
|
1364
1390
|
|
|
1365
|
-
declare class Permission extends BaseEntity {
|
|
1366
|
-
name: string;
|
|
1367
|
-
slug: string;
|
|
1368
|
-
description: string;
|
|
1369
|
-
isActive: boolean;
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
declare class CompanyRolePermission extends BaseEntity {
|
|
1373
|
-
companyRoleId: number;
|
|
1374
|
-
companyRole: CompanyRole;
|
|
1375
|
-
permissionId: number;
|
|
1376
|
-
permission: Permission;
|
|
1377
|
-
assignedBy?: number;
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
declare class CompanyRole extends BaseEntity {
|
|
1381
|
-
name: string;
|
|
1382
|
-
slug: string;
|
|
1383
|
-
description: string;
|
|
1384
|
-
isActive: boolean;
|
|
1385
|
-
rolePermissions: CompanyRolePermission[];
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
1391
|
declare class JobRoles extends BaseEntity {
|
|
1389
1392
|
slug: string;
|
|
1390
1393
|
name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -832,6 +832,31 @@ declare class SystemPreference extends BaseEntity {
|
|
|
832
832
|
value: boolean;
|
|
833
833
|
}
|
|
834
834
|
|
|
835
|
+
declare class Permission extends BaseEntity {
|
|
836
|
+
name: string;
|
|
837
|
+
slug: string;
|
|
838
|
+
description: string;
|
|
839
|
+
isActive: boolean;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
declare class CompanyRolePermission extends BaseEntity {
|
|
843
|
+
companyRoleId: number;
|
|
844
|
+
companyRole: CompanyRole;
|
|
845
|
+
permissionId: number;
|
|
846
|
+
permission: Permission;
|
|
847
|
+
assignedBy?: number;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
declare class CompanyRole extends BaseEntity {
|
|
851
|
+
userId: number;
|
|
852
|
+
user: User;
|
|
853
|
+
name: string;
|
|
854
|
+
slug: string;
|
|
855
|
+
description: string;
|
|
856
|
+
isActive: boolean;
|
|
857
|
+
rolePermissions: CompanyRolePermission[];
|
|
858
|
+
}
|
|
859
|
+
|
|
835
860
|
declare class FreelancerExperience extends BaseEntity {
|
|
836
861
|
userId: number;
|
|
837
862
|
user: User;
|
|
@@ -970,6 +995,7 @@ declare class User extends BaseEntity {
|
|
|
970
995
|
senseloafLogs: SenseloafLog[];
|
|
971
996
|
freelancerProfile: FreelancerProfile;
|
|
972
997
|
companyProfile: CompanyProfile;
|
|
998
|
+
companyRoles: CompanyRole[];
|
|
973
999
|
assessments: FreelancerAssessment[];
|
|
974
1000
|
jobs: Job[];
|
|
975
1001
|
interviews: Interview[];
|
|
@@ -1362,29 +1388,6 @@ declare class Question extends BaseEntity {
|
|
|
1362
1388
|
isActive: boolean;
|
|
1363
1389
|
}
|
|
1364
1390
|
|
|
1365
|
-
declare class Permission extends BaseEntity {
|
|
1366
|
-
name: string;
|
|
1367
|
-
slug: string;
|
|
1368
|
-
description: string;
|
|
1369
|
-
isActive: boolean;
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
declare class CompanyRolePermission extends BaseEntity {
|
|
1373
|
-
companyRoleId: number;
|
|
1374
|
-
companyRole: CompanyRole;
|
|
1375
|
-
permissionId: number;
|
|
1376
|
-
permission: Permission;
|
|
1377
|
-
assignedBy?: number;
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
declare class CompanyRole extends BaseEntity {
|
|
1381
|
-
name: string;
|
|
1382
|
-
slug: string;
|
|
1383
|
-
description: string;
|
|
1384
|
-
isActive: boolean;
|
|
1385
|
-
rolePermissions: CompanyRolePermission[];
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
1391
|
declare class JobRoles extends BaseEntity {
|
|
1389
1392
|
slug: string;
|
|
1390
1393
|
name: string;
|