@experts_hub/shared 1.0.490 → 1.0.492
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/city.entity.d.ts +2 -0
- package/dist/entities/freelancer-profile.entity.d.ts +6 -0
- package/dist/entities/job.entity.d.ts +1 -0
- package/dist/entities/state.entity.d.ts +2 -0
- package/dist/index.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +31 -0
- package/dist/index.mjs +120 -89
- package/dist/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseEntity } from "./base.entity";
|
|
2
2
|
import { Country } from "./country.entity";
|
|
3
3
|
import { State } from "./state.entity";
|
|
4
|
+
import { FreelancerProfile } from "./freelancer-profile.entity";
|
|
4
5
|
export declare class City extends BaseEntity {
|
|
5
6
|
countryId: number;
|
|
6
7
|
country: Country;
|
|
@@ -9,4 +10,5 @@ export declare class City extends BaseEntity {
|
|
|
9
10
|
cityCode: string;
|
|
10
11
|
cityName: string;
|
|
11
12
|
isActive: boolean;
|
|
13
|
+
freelancerProfile: FreelancerProfile[];
|
|
12
14
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { BaseEntity } from "./base.entity";
|
|
2
2
|
import { User } from "./user.entity";
|
|
3
3
|
import { Country } from "./country.entity";
|
|
4
|
+
import { State } from "./state.entity";
|
|
5
|
+
import { City } from "./city.entity";
|
|
4
6
|
export declare enum NatureOfWork {
|
|
5
7
|
FULLTIME = "FULLTIME",
|
|
6
8
|
PARTTIME = "PARTTIME",
|
|
@@ -44,6 +46,10 @@ export declare class FreelancerProfile extends BaseEntity {
|
|
|
44
46
|
user: User;
|
|
45
47
|
countryId: number;
|
|
46
48
|
country: Country;
|
|
49
|
+
stateId: number;
|
|
50
|
+
state: State;
|
|
51
|
+
cityId: number;
|
|
52
|
+
city: City;
|
|
47
53
|
talentId: string;
|
|
48
54
|
resumeUrl: string;
|
|
49
55
|
resumeUploadedOn: Date;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseEntity } from "./base.entity";
|
|
2
2
|
import { Country } from "./country.entity";
|
|
3
3
|
import { City } from "./city.entity";
|
|
4
|
+
import { FreelancerProfile } from "./freelancer-profile.entity";
|
|
4
5
|
export declare class State extends BaseEntity {
|
|
5
6
|
countryId: number;
|
|
6
7
|
country: Country;
|
|
@@ -8,4 +9,5 @@ export declare class State extends BaseEntity {
|
|
|
8
9
|
stateName: string;
|
|
9
10
|
stateCode: string;
|
|
10
11
|
isActive: boolean;
|
|
12
|
+
freelancerProfile: FreelancerProfile[];
|
|
11
13
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -563,6 +563,8 @@ declare class UpdateFreelancerProfileDto {
|
|
|
563
563
|
mobileCode: string;
|
|
564
564
|
mobile: string;
|
|
565
565
|
countryId: number;
|
|
566
|
+
stateId: number;
|
|
567
|
+
cityId: number;
|
|
566
568
|
expectedHourlyCompensation: string;
|
|
567
569
|
numberOfHours?: number;
|
|
568
570
|
natureOfWork: NatureOfWorkDto;
|
|
@@ -701,6 +703,7 @@ declare class City extends BaseEntity {
|
|
|
701
703
|
cityCode: string;
|
|
702
704
|
cityName: string;
|
|
703
705
|
isActive: boolean;
|
|
706
|
+
freelancerProfile: FreelancerProfile[];
|
|
704
707
|
}
|
|
705
708
|
|
|
706
709
|
declare class State extends BaseEntity {
|
|
@@ -710,6 +713,7 @@ declare class State extends BaseEntity {
|
|
|
710
713
|
stateName: string;
|
|
711
714
|
stateCode: string;
|
|
712
715
|
isActive: boolean;
|
|
716
|
+
freelancerProfile: FreelancerProfile[];
|
|
713
717
|
}
|
|
714
718
|
|
|
715
719
|
declare class Country extends BaseEntity {
|
|
@@ -765,6 +769,10 @@ declare class FreelancerProfile extends BaseEntity {
|
|
|
765
769
|
user: User;
|
|
766
770
|
countryId: number;
|
|
767
771
|
country: Country;
|
|
772
|
+
stateId: number;
|
|
773
|
+
state: State;
|
|
774
|
+
cityId: number;
|
|
775
|
+
city: City;
|
|
768
776
|
talentId: string;
|
|
769
777
|
resumeUrl: string;
|
|
770
778
|
resumeUploadedOn: Date;
|
|
@@ -1327,6 +1335,7 @@ declare class Job extends BaseEntity {
|
|
|
1327
1335
|
cityId: number;
|
|
1328
1336
|
city: City;
|
|
1329
1337
|
jobRole: string;
|
|
1338
|
+
jobRoleCanonicalName: string;
|
|
1330
1339
|
projectName: string;
|
|
1331
1340
|
note: string;
|
|
1332
1341
|
openings: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -563,6 +563,8 @@ declare class UpdateFreelancerProfileDto {
|
|
|
563
563
|
mobileCode: string;
|
|
564
564
|
mobile: string;
|
|
565
565
|
countryId: number;
|
|
566
|
+
stateId: number;
|
|
567
|
+
cityId: number;
|
|
566
568
|
expectedHourlyCompensation: string;
|
|
567
569
|
numberOfHours?: number;
|
|
568
570
|
natureOfWork: NatureOfWorkDto;
|
|
@@ -701,6 +703,7 @@ declare class City extends BaseEntity {
|
|
|
701
703
|
cityCode: string;
|
|
702
704
|
cityName: string;
|
|
703
705
|
isActive: boolean;
|
|
706
|
+
freelancerProfile: FreelancerProfile[];
|
|
704
707
|
}
|
|
705
708
|
|
|
706
709
|
declare class State extends BaseEntity {
|
|
@@ -710,6 +713,7 @@ declare class State extends BaseEntity {
|
|
|
710
713
|
stateName: string;
|
|
711
714
|
stateCode: string;
|
|
712
715
|
isActive: boolean;
|
|
716
|
+
freelancerProfile: FreelancerProfile[];
|
|
713
717
|
}
|
|
714
718
|
|
|
715
719
|
declare class Country extends BaseEntity {
|
|
@@ -765,6 +769,10 @@ declare class FreelancerProfile extends BaseEntity {
|
|
|
765
769
|
user: User;
|
|
766
770
|
countryId: number;
|
|
767
771
|
country: Country;
|
|
772
|
+
stateId: number;
|
|
773
|
+
state: State;
|
|
774
|
+
cityId: number;
|
|
775
|
+
city: City;
|
|
768
776
|
talentId: string;
|
|
769
777
|
resumeUrl: string;
|
|
770
778
|
resumeUploadedOn: Date;
|
|
@@ -1327,6 +1335,7 @@ declare class Job extends BaseEntity {
|
|
|
1327
1335
|
cityId: number;
|
|
1328
1336
|
city: City;
|
|
1329
1337
|
jobRole: string;
|
|
1338
|
+
jobRoleCanonicalName: string;
|
|
1330
1339
|
projectName: string;
|
|
1331
1340
|
note: string;
|
|
1332
1341
|
openings: number;
|
package/dist/index.js
CHANGED
|
@@ -1485,6 +1485,14 @@ __decorateClass([
|
|
|
1485
1485
|
(0, import_class_validator39.IsOptional)(),
|
|
1486
1486
|
(0, import_class_validator39.IsNumber)()
|
|
1487
1487
|
], UpdateFreelancerProfileDto.prototype, "countryId", 2);
|
|
1488
|
+
__decorateClass([
|
|
1489
|
+
(0, import_class_validator39.IsOptional)(),
|
|
1490
|
+
(0, import_class_validator39.IsNumber)()
|
|
1491
|
+
], UpdateFreelancerProfileDto.prototype, "stateId", 2);
|
|
1492
|
+
__decorateClass([
|
|
1493
|
+
(0, import_class_validator39.IsOptional)(),
|
|
1494
|
+
(0, import_class_validator39.IsNumber)()
|
|
1495
|
+
], UpdateFreelancerProfileDto.prototype, "cityId", 2);
|
|
1488
1496
|
//@IsString({ message: "Please enter valid expected hourly compensation." })
|
|
1489
1497
|
__decorateClass([
|
|
1490
1498
|
(0, import_class_validator39.IsNotEmpty)({ message: "Please enter expected hourly compensation." })
|
|
@@ -1899,6 +1907,9 @@ __decorateClass([
|
|
|
1899
1907
|
comment: "Flag indicating if the city is active"
|
|
1900
1908
|
})
|
|
1901
1909
|
], City.prototype, "isActive", 2);
|
|
1910
|
+
__decorateClass([
|
|
1911
|
+
(0, import_typeorm5.OneToMany)(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.city)
|
|
1912
|
+
], City.prototype, "freelancerProfile", 2);
|
|
1902
1913
|
City = __decorateClass([
|
|
1903
1914
|
(0, import_typeorm5.Entity)("cities")
|
|
1904
1915
|
], City);
|
|
@@ -1946,6 +1957,9 @@ __decorateClass([
|
|
|
1946
1957
|
comment: "Flag indicating if the state is active"
|
|
1947
1958
|
})
|
|
1948
1959
|
], State.prototype, "isActive", 2);
|
|
1960
|
+
__decorateClass([
|
|
1961
|
+
(0, import_typeorm6.OneToMany)(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.state)
|
|
1962
|
+
], State.prototype, "freelancerProfile", 2);
|
|
1949
1963
|
State = __decorateClass([
|
|
1950
1964
|
(0, import_typeorm6.Entity)("states")
|
|
1951
1965
|
], State);
|
|
@@ -2073,6 +2087,20 @@ __decorateClass([
|
|
|
2073
2087
|
(0, import_typeorm8.ManyToOne)(() => Country, (country) => country.freelancerProfile),
|
|
2074
2088
|
(0, import_typeorm8.JoinColumn)({ name: "country_id" })
|
|
2075
2089
|
], FreelancerProfile.prototype, "country", 2);
|
|
2090
|
+
__decorateClass([
|
|
2091
|
+
(0, import_typeorm8.Column)({ name: "state_id", type: "integer", nullable: true })
|
|
2092
|
+
], FreelancerProfile.prototype, "stateId", 2);
|
|
2093
|
+
__decorateClass([
|
|
2094
|
+
(0, import_typeorm8.ManyToOne)(() => State, (state) => state.freelancerProfile),
|
|
2095
|
+
(0, import_typeorm8.JoinColumn)({ name: "state_id" })
|
|
2096
|
+
], FreelancerProfile.prototype, "state", 2);
|
|
2097
|
+
__decorateClass([
|
|
2098
|
+
(0, import_typeorm8.Column)({ name: "city_id", type: "integer", nullable: true })
|
|
2099
|
+
], FreelancerProfile.prototype, "cityId", 2);
|
|
2100
|
+
__decorateClass([
|
|
2101
|
+
(0, import_typeorm8.ManyToOne)(() => City, (city) => city.freelancerProfile),
|
|
2102
|
+
(0, import_typeorm8.JoinColumn)({ name: "city_id" })
|
|
2103
|
+
], FreelancerProfile.prototype, "city", 2);
|
|
2076
2104
|
__decorateClass([
|
|
2077
2105
|
(0, import_typeorm8.Column)({ name: "talent_id", type: "varchar", nullable: true })
|
|
2078
2106
|
], FreelancerProfile.prototype, "talentId", 2);
|
|
@@ -3843,6 +3871,9 @@ __decorateClass([
|
|
|
3843
3871
|
__decorateClass([
|
|
3844
3872
|
(0, import_typeorm28.Column)({ name: "job_role", type: "varchar", nullable: true })
|
|
3845
3873
|
], Job.prototype, "jobRole", 2);
|
|
3874
|
+
__decorateClass([
|
|
3875
|
+
(0, import_typeorm28.Column)({ name: "job_role_canonical_name", type: "varchar", nullable: true })
|
|
3876
|
+
], Job.prototype, "jobRoleCanonicalName", 2);
|
|
3846
3877
|
__decorateClass([
|
|
3847
3878
|
(0, import_typeorm28.Column)({ name: "project_name", type: "varchar", nullable: true })
|
|
3848
3879
|
], Job.prototype, "projectName", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -1281,6 +1281,14 @@ __decorateClass([
|
|
|
1281
1281
|
IsOptional15(),
|
|
1282
1282
|
IsNumber2()
|
|
1283
1283
|
], UpdateFreelancerProfileDto.prototype, "countryId", 2);
|
|
1284
|
+
__decorateClass([
|
|
1285
|
+
IsOptional15(),
|
|
1286
|
+
IsNumber2()
|
|
1287
|
+
], UpdateFreelancerProfileDto.prototype, "stateId", 2);
|
|
1288
|
+
__decorateClass([
|
|
1289
|
+
IsOptional15(),
|
|
1290
|
+
IsNumber2()
|
|
1291
|
+
], UpdateFreelancerProfileDto.prototype, "cityId", 2);
|
|
1284
1292
|
//@IsString({ message: "Please enter valid expected hourly compensation." })
|
|
1285
1293
|
__decorateClass([
|
|
1286
1294
|
IsNotEmpty33({ message: "Please enter expected hourly compensation." })
|
|
@@ -1478,7 +1486,7 @@ import { Entity as Entity58, Column as Column59, ManyToOne as ManyToOne52, JoinC
|
|
|
1478
1486
|
import {
|
|
1479
1487
|
Entity as Entity57,
|
|
1480
1488
|
Column as Column58,
|
|
1481
|
-
OneToMany as
|
|
1489
|
+
OneToMany as OneToMany20,
|
|
1482
1490
|
OneToOne as OneToOne7,
|
|
1483
1491
|
Index as Index50,
|
|
1484
1492
|
ManyToOne as ManyToOne51,
|
|
@@ -1698,7 +1706,7 @@ import {
|
|
|
1698
1706
|
import {
|
|
1699
1707
|
Entity as Entity6,
|
|
1700
1708
|
Column as Column7,
|
|
1701
|
-
OneToMany as
|
|
1709
|
+
OneToMany as OneToMany3
|
|
1702
1710
|
} from "typeorm";
|
|
1703
1711
|
|
|
1704
1712
|
// src/entities/state.entity.ts
|
|
@@ -1707,11 +1715,11 @@ import {
|
|
|
1707
1715
|
Column as Column6,
|
|
1708
1716
|
ManyToOne as ManyToOne5,
|
|
1709
1717
|
JoinColumn as JoinColumn5,
|
|
1710
|
-
OneToMany
|
|
1718
|
+
OneToMany as OneToMany2
|
|
1711
1719
|
} from "typeorm";
|
|
1712
1720
|
|
|
1713
1721
|
// src/entities/city.entity.ts
|
|
1714
|
-
import { Entity as Entity4, Column as Column5, ManyToOne as ManyToOne4, JoinColumn as JoinColumn4, Index as Index2 } from "typeorm";
|
|
1722
|
+
import { Entity as Entity4, Column as Column5, ManyToOne as ManyToOne4, JoinColumn as JoinColumn4, Index as Index2, OneToMany } from "typeorm";
|
|
1715
1723
|
var City = class extends BaseEntity {
|
|
1716
1724
|
};
|
|
1717
1725
|
__decorateClass([
|
|
@@ -1766,6 +1774,9 @@ __decorateClass([
|
|
|
1766
1774
|
comment: "Flag indicating if the city is active"
|
|
1767
1775
|
})
|
|
1768
1776
|
], City.prototype, "isActive", 2);
|
|
1777
|
+
__decorateClass([
|
|
1778
|
+
OneToMany(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.city)
|
|
1779
|
+
], City.prototype, "freelancerProfile", 2);
|
|
1769
1780
|
City = __decorateClass([
|
|
1770
1781
|
Entity4("cities")
|
|
1771
1782
|
], City);
|
|
@@ -1786,7 +1797,7 @@ __decorateClass([
|
|
|
1786
1797
|
JoinColumn5({ name: "country_id" })
|
|
1787
1798
|
], State.prototype, "country", 2);
|
|
1788
1799
|
__decorateClass([
|
|
1789
|
-
|
|
1800
|
+
OneToMany2(() => City, (city) => city.state)
|
|
1790
1801
|
], State.prototype, "cities", 2);
|
|
1791
1802
|
__decorateClass([
|
|
1792
1803
|
Column6({
|
|
@@ -1813,6 +1824,9 @@ __decorateClass([
|
|
|
1813
1824
|
comment: "Flag indicating if the state is active"
|
|
1814
1825
|
})
|
|
1815
1826
|
], State.prototype, "isActive", 2);
|
|
1827
|
+
__decorateClass([
|
|
1828
|
+
OneToMany2(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.state)
|
|
1829
|
+
], State.prototype, "freelancerProfile", 2);
|
|
1816
1830
|
State = __decorateClass([
|
|
1817
1831
|
Entity5("states")
|
|
1818
1832
|
], State);
|
|
@@ -1868,10 +1882,10 @@ __decorateClass([
|
|
|
1868
1882
|
})
|
|
1869
1883
|
], Country.prototype, "isActive", 2);
|
|
1870
1884
|
__decorateClass([
|
|
1871
|
-
|
|
1885
|
+
OneToMany3(() => State, (state) => state.country)
|
|
1872
1886
|
], Country.prototype, "states", 2);
|
|
1873
1887
|
__decorateClass([
|
|
1874
|
-
|
|
1888
|
+
OneToMany3(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.country)
|
|
1875
1889
|
], Country.prototype, "freelancerProfile", 2);
|
|
1876
1890
|
Country = __decorateClass([
|
|
1877
1891
|
Entity6("countries")
|
|
@@ -1940,6 +1954,20 @@ __decorateClass([
|
|
|
1940
1954
|
ManyToOne6(() => Country, (country) => country.freelancerProfile),
|
|
1941
1955
|
JoinColumn6({ name: "country_id" })
|
|
1942
1956
|
], FreelancerProfile.prototype, "country", 2);
|
|
1957
|
+
__decorateClass([
|
|
1958
|
+
Column8({ name: "state_id", type: "integer", nullable: true })
|
|
1959
|
+
], FreelancerProfile.prototype, "stateId", 2);
|
|
1960
|
+
__decorateClass([
|
|
1961
|
+
ManyToOne6(() => State, (state) => state.freelancerProfile),
|
|
1962
|
+
JoinColumn6({ name: "state_id" })
|
|
1963
|
+
], FreelancerProfile.prototype, "state", 2);
|
|
1964
|
+
__decorateClass([
|
|
1965
|
+
Column8({ name: "city_id", type: "integer", nullable: true })
|
|
1966
|
+
], FreelancerProfile.prototype, "cityId", 2);
|
|
1967
|
+
__decorateClass([
|
|
1968
|
+
ManyToOne6(() => City, (city) => city.freelancerProfile),
|
|
1969
|
+
JoinColumn6({ name: "city_id" })
|
|
1970
|
+
], FreelancerProfile.prototype, "city", 2);
|
|
1943
1971
|
__decorateClass([
|
|
1944
1972
|
Column8({ name: "talent_id", type: "varchar", nullable: true })
|
|
1945
1973
|
], FreelancerProfile.prototype, "talentId", 2);
|
|
@@ -2245,7 +2273,7 @@ import {
|
|
|
2245
2273
|
Index as Index21,
|
|
2246
2274
|
ManyToOne as ManyToOne26,
|
|
2247
2275
|
JoinColumn as JoinColumn26,
|
|
2248
|
-
OneToMany as
|
|
2276
|
+
OneToMany as OneToMany11
|
|
2249
2277
|
} from "typeorm";
|
|
2250
2278
|
|
|
2251
2279
|
// src/entities/job-skill.entity.ts
|
|
@@ -2409,7 +2437,7 @@ import {
|
|
|
2409
2437
|
Index as Index12,
|
|
2410
2438
|
ManyToOne as ManyToOne17,
|
|
2411
2439
|
JoinColumn as JoinColumn17,
|
|
2412
|
-
OneToMany as
|
|
2440
|
+
OneToMany as OneToMany8
|
|
2413
2441
|
} from "typeorm";
|
|
2414
2442
|
|
|
2415
2443
|
// src/entities/interview-skill.entity.ts
|
|
@@ -2641,7 +2669,7 @@ import {
|
|
|
2641
2669
|
Column as Column18,
|
|
2642
2670
|
ManyToOne as ManyToOne16,
|
|
2643
2671
|
JoinColumn as JoinColumn16,
|
|
2644
|
-
OneToMany as
|
|
2672
|
+
OneToMany as OneToMany7
|
|
2645
2673
|
} from "typeorm";
|
|
2646
2674
|
|
|
2647
2675
|
// src/entities/f2f-interview-reschedule-request.entity.ts
|
|
@@ -2893,10 +2921,10 @@ __decorateClass([
|
|
|
2893
2921
|
Column18({ name: "is_contract_sent", type: "boolean", default: false })
|
|
2894
2922
|
], F2FInterview.prototype, "isContractSent", 2);
|
|
2895
2923
|
__decorateClass([
|
|
2896
|
-
|
|
2924
|
+
OneToMany7(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
|
|
2897
2925
|
], F2FInterview.prototype, "schedules", 2);
|
|
2898
2926
|
__decorateClass([
|
|
2899
|
-
|
|
2927
|
+
OneToMany7(() => F2fInterviewRescheduleRequest, (f2FInterviewRescheduleRequest) => f2FInterviewRescheduleRequest.f2fInterview)
|
|
2900
2928
|
], F2FInterview.prototype, "rescheduleRequests", 2);
|
|
2901
2929
|
F2FInterview = __decorateClass([
|
|
2902
2930
|
Entity17("f2f_interviews")
|
|
@@ -2959,27 +2987,27 @@ __decorateClass([
|
|
|
2959
2987
|
})
|
|
2960
2988
|
], Interview.prototype, "status", 2);
|
|
2961
2989
|
__decorateClass([
|
|
2962
|
-
|
|
2990
|
+
OneToMany8(
|
|
2963
2991
|
() => InterviewSkill,
|
|
2964
2992
|
(interviewSkill) => interviewSkill.interview,
|
|
2965
2993
|
{ cascade: true }
|
|
2966
2994
|
)
|
|
2967
2995
|
], Interview.prototype, "interviewSkills", 2);
|
|
2968
2996
|
__decorateClass([
|
|
2969
|
-
|
|
2997
|
+
OneToMany8(
|
|
2970
2998
|
() => InterviewQuestion,
|
|
2971
2999
|
(interviewQuestion) => interviewQuestion.interview,
|
|
2972
3000
|
{ cascade: true }
|
|
2973
3001
|
)
|
|
2974
3002
|
], Interview.prototype, "interviewQuestions", 2);
|
|
2975
3003
|
__decorateClass([
|
|
2976
|
-
|
|
3004
|
+
OneToMany8(() => InterviewInvite, (interviewInvite) => interviewInvite.interview)
|
|
2977
3005
|
], Interview.prototype, "invites", 2);
|
|
2978
3006
|
__decorateClass([
|
|
2979
|
-
|
|
3007
|
+
OneToMany8(() => AiInterview, (aiInterview) => aiInterview.interview)
|
|
2980
3008
|
], Interview.prototype, "aiInterviews", 2);
|
|
2981
3009
|
__decorateClass([
|
|
2982
|
-
|
|
3010
|
+
OneToMany8(() => F2FInterview, (f2fInterview) => f2fInterview.interview)
|
|
2983
3011
|
], Interview.prototype, "f2fInterviews", 2);
|
|
2984
3012
|
Interview = __decorateClass([
|
|
2985
3013
|
Entity18("interviews")
|
|
@@ -3366,7 +3394,7 @@ Timesheet = __decorateClass([
|
|
|
3366
3394
|
], Timesheet);
|
|
3367
3395
|
|
|
3368
3396
|
// src/entities/timesheet-line.entity.ts
|
|
3369
|
-
import { Entity as Entity26, Column as Column27, Index as Index20, JoinColumn as JoinColumn25, OneToMany as
|
|
3397
|
+
import { Entity as Entity26, Column as Column27, Index as Index20, JoinColumn as JoinColumn25, OneToMany as OneToMany10, ManyToOne as ManyToOne25 } from "typeorm";
|
|
3370
3398
|
|
|
3371
3399
|
// src/entities/timesheet-logs.entity.ts
|
|
3372
3400
|
import { Entity as Entity23, Column as Column24, Index as Index17, ManyToOne as ManyToOne22, JoinColumn as JoinColumn22 } from "typeorm";
|
|
@@ -3643,10 +3671,10 @@ __decorateClass([
|
|
|
3643
3671
|
JoinColumn25({ name: "freelancer_id" })
|
|
3644
3672
|
], TimesheetLine.prototype, "freelancer", 2);
|
|
3645
3673
|
__decorateClass([
|
|
3646
|
-
|
|
3674
|
+
OneToMany10(() => TimesheetLogs, (timesheetLogs) => timesheetLogs.timesheetLine)
|
|
3647
3675
|
], TimesheetLine.prototype, "timesheetLogs", 2);
|
|
3648
3676
|
__decorateClass([
|
|
3649
|
-
|
|
3677
|
+
OneToMany10(() => TimesheetLineHistory, (timesheetLineHistory) => timesheetLineHistory.timesheetLine)
|
|
3650
3678
|
], TimesheetLine.prototype, "timesheetLineHistory", 2);
|
|
3651
3679
|
__decorateClass([
|
|
3652
3680
|
Column27({ name: "unique_id", type: "varchar", nullable: true })
|
|
@@ -3678,7 +3706,7 @@ __decorateClass([
|
|
|
3678
3706
|
Column27({ name: "is_invoice_approved", type: "boolean", default: false })
|
|
3679
3707
|
], TimesheetLine.prototype, "isInvoiceApproved", 2);
|
|
3680
3708
|
__decorateClass([
|
|
3681
|
-
|
|
3709
|
+
OneToMany10(() => Invoice, (invoice) => invoice.timesheetLine, {
|
|
3682
3710
|
cascade: true
|
|
3683
3711
|
})
|
|
3684
3712
|
], TimesheetLine.prototype, "invoice", 2);
|
|
@@ -3762,6 +3790,9 @@ __decorateClass([
|
|
|
3762
3790
|
__decorateClass([
|
|
3763
3791
|
Column28({ name: "job_role", type: "varchar", nullable: true })
|
|
3764
3792
|
], Job.prototype, "jobRole", 2);
|
|
3793
|
+
__decorateClass([
|
|
3794
|
+
Column28({ name: "job_role_canonical_name", type: "varchar", nullable: true })
|
|
3795
|
+
], Job.prototype, "jobRoleCanonicalName", 2);
|
|
3765
3796
|
__decorateClass([
|
|
3766
3797
|
Column28({ name: "project_name", type: "varchar", nullable: true })
|
|
3767
3798
|
], Job.prototype, "projectName", 2);
|
|
@@ -3919,28 +3950,28 @@ __decorateClass([
|
|
|
3919
3950
|
Column28({ name: "is_interview_created", type: "boolean", default: false })
|
|
3920
3951
|
], Job.prototype, "isInterviewCreated", 2);
|
|
3921
3952
|
__decorateClass([
|
|
3922
|
-
|
|
3953
|
+
OneToMany11(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
|
|
3923
3954
|
], Job.prototype, "interviewInvites", 2);
|
|
3924
3955
|
__decorateClass([
|
|
3925
|
-
|
|
3956
|
+
OneToMany11(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
|
|
3926
3957
|
], Job.prototype, "jobSkills", 2);
|
|
3927
3958
|
__decorateClass([
|
|
3928
|
-
|
|
3959
|
+
OneToMany11(() => JobApplication, (jobApplication) => jobApplication.job, {
|
|
3929
3960
|
cascade: true
|
|
3930
3961
|
})
|
|
3931
3962
|
], Job.prototype, "jobApplications", 2);
|
|
3932
3963
|
__decorateClass([
|
|
3933
|
-
|
|
3964
|
+
OneToMany11(() => Interview, (interview) => interview.job, {
|
|
3934
3965
|
cascade: true
|
|
3935
3966
|
})
|
|
3936
3967
|
], Job.prototype, "interviews", 2);
|
|
3937
3968
|
__decorateClass([
|
|
3938
|
-
|
|
3969
|
+
OneToMany11(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
|
|
3939
3970
|
cascade: true
|
|
3940
3971
|
})
|
|
3941
3972
|
], Job.prototype, "f2fInterviews", 2);
|
|
3942
3973
|
__decorateClass([
|
|
3943
|
-
|
|
3974
|
+
OneToMany11(
|
|
3944
3975
|
() => JobRecommendation,
|
|
3945
3976
|
(jobRecommendation) => jobRecommendation.job,
|
|
3946
3977
|
{
|
|
@@ -3949,27 +3980,27 @@ __decorateClass([
|
|
|
3949
3980
|
)
|
|
3950
3981
|
], Job.prototype, "recommendations", 2);
|
|
3951
3982
|
__decorateClass([
|
|
3952
|
-
|
|
3983
|
+
OneToMany11(() => Contract, (contract) => contract.job, {
|
|
3953
3984
|
cascade: true
|
|
3954
3985
|
})
|
|
3955
3986
|
], Job.prototype, "contracts", 2);
|
|
3956
3987
|
__decorateClass([
|
|
3957
|
-
|
|
3988
|
+
OneToMany11(() => Timesheet, (timesheet) => timesheet.job, {
|
|
3958
3989
|
cascade: true
|
|
3959
3990
|
})
|
|
3960
3991
|
], Job.prototype, "timesheets", 2);
|
|
3961
3992
|
__decorateClass([
|
|
3962
|
-
|
|
3993
|
+
OneToMany11(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
|
|
3963
3994
|
cascade: true
|
|
3964
3995
|
})
|
|
3965
3996
|
], Job.prototype, "timesheetLine", 2);
|
|
3966
3997
|
__decorateClass([
|
|
3967
|
-
|
|
3998
|
+
OneToMany11(() => Invoice, (invoice) => invoice.job, {
|
|
3968
3999
|
cascade: true
|
|
3969
4000
|
})
|
|
3970
4001
|
], Job.prototype, "invoice", 2);
|
|
3971
4002
|
__decorateClass([
|
|
3972
|
-
|
|
4003
|
+
OneToMany11(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
|
|
3973
4004
|
], Job.prototype, "clientCandidatePreferences", 2);
|
|
3974
4005
|
Job = __decorateClass([
|
|
3975
4006
|
Entity27("jobs")
|
|
@@ -4437,7 +4468,7 @@ import {
|
|
|
4437
4468
|
Index as Index35,
|
|
4438
4469
|
JoinColumn as JoinColumn39,
|
|
4439
4470
|
ManyToOne as ManyToOne39,
|
|
4440
|
-
OneToMany as
|
|
4471
|
+
OneToMany as OneToMany13
|
|
4441
4472
|
} from "typeorm";
|
|
4442
4473
|
|
|
4443
4474
|
// src/entities/company-role-permission.entity.ts
|
|
@@ -4523,7 +4554,7 @@ __decorateClass([
|
|
|
4523
4554
|
Column42({ name: "is_active", type: "boolean", default: true })
|
|
4524
4555
|
], CompanyRole.prototype, "isActive", 2);
|
|
4525
4556
|
__decorateClass([
|
|
4526
|
-
|
|
4557
|
+
OneToMany13(() => CompanyRolePermission, (rp) => rp.companyRole)
|
|
4527
4558
|
], CompanyRole.prototype, "rolePermissions", 2);
|
|
4528
4559
|
CompanyRole = __decorateClass([
|
|
4529
4560
|
Entity41("company_roles")
|
|
@@ -4565,13 +4596,13 @@ import {
|
|
|
4565
4596
|
} from "typeorm";
|
|
4566
4597
|
|
|
4567
4598
|
// src/entities/assessment-question.entity.ts
|
|
4568
|
-
import { Entity as Entity44, Column as Column45, OneToMany as
|
|
4599
|
+
import { Entity as Entity44, Column as Column45, OneToMany as OneToMany15 } from "typeorm";
|
|
4569
4600
|
|
|
4570
4601
|
// src/entities/assessment-question-option.entity.ts
|
|
4571
4602
|
import {
|
|
4572
4603
|
Entity as Entity43,
|
|
4573
4604
|
Column as Column44,
|
|
4574
|
-
OneToMany as
|
|
4605
|
+
OneToMany as OneToMany14,
|
|
4575
4606
|
ManyToOne as ManyToOne41,
|
|
4576
4607
|
Index as Index37,
|
|
4577
4608
|
JoinColumn as JoinColumn41
|
|
@@ -4610,7 +4641,7 @@ __decorateClass([
|
|
|
4610
4641
|
Column44({ name: "is_active", type: "boolean", default: true })
|
|
4611
4642
|
], AssessmetQuestionOption.prototype, "isActive", 2);
|
|
4612
4643
|
__decorateClass([
|
|
4613
|
-
|
|
4644
|
+
OneToMany14(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
|
|
4614
4645
|
], AssessmetQuestionOption.prototype, "selectedOptions", 2);
|
|
4615
4646
|
AssessmetQuestionOption = __decorateClass([
|
|
4616
4647
|
Entity43("assessment_question_options")
|
|
@@ -4639,10 +4670,10 @@ __decorateClass([
|
|
|
4639
4670
|
Column45({ name: "is_active", type: "boolean", default: true })
|
|
4640
4671
|
], AssessmetQuestion.prototype, "isActive", 2);
|
|
4641
4672
|
__decorateClass([
|
|
4642
|
-
|
|
4673
|
+
OneToMany15(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
|
|
4643
4674
|
], AssessmetQuestion.prototype, "options", 2);
|
|
4644
4675
|
__decorateClass([
|
|
4645
|
-
|
|
4676
|
+
OneToMany15(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
|
|
4646
4677
|
], AssessmetQuestion.prototype, "answers", 2);
|
|
4647
4678
|
AssessmetQuestion = __decorateClass([
|
|
4648
4679
|
Entity44("assessment_questions")
|
|
@@ -4725,13 +4756,13 @@ CompanySkill = __decorateClass([
|
|
|
4725
4756
|
import { Entity as Entity50, Column as Column51, ManyToOne as ManyToOne45, JoinColumn as JoinColumn45 } from "typeorm";
|
|
4726
4757
|
|
|
4727
4758
|
// src/entities/admin-role.entity.ts
|
|
4728
|
-
import { Entity as Entity49, Column as Column50, Index as Index42, OneToMany as
|
|
4759
|
+
import { Entity as Entity49, Column as Column50, Index as Index42, OneToMany as OneToMany18 } from "typeorm";
|
|
4729
4760
|
|
|
4730
4761
|
// src/entities/admin-role-permission.entity.ts
|
|
4731
4762
|
import { Entity as Entity48, Column as Column49, ManyToOne as ManyToOne44, JoinColumn as JoinColumn44 } from "typeorm";
|
|
4732
4763
|
|
|
4733
4764
|
// src/entities/admin-permission.entity.ts
|
|
4734
|
-
import { Entity as Entity47, Column as Column48, Index as Index40, OneToMany as
|
|
4765
|
+
import { Entity as Entity47, Column as Column48, Index as Index40, OneToMany as OneToMany17 } from "typeorm";
|
|
4735
4766
|
var AdminPermission = class extends BaseEntity {
|
|
4736
4767
|
};
|
|
4737
4768
|
__decorateClass([
|
|
@@ -4756,7 +4787,7 @@ __decorateClass([
|
|
|
4756
4787
|
Column48({ name: "is_active", type: "boolean", default: true })
|
|
4757
4788
|
], AdminPermission.prototype, "isActive", 2);
|
|
4758
4789
|
__decorateClass([
|
|
4759
|
-
|
|
4790
|
+
OneToMany17(
|
|
4760
4791
|
() => AdminRolePermission,
|
|
4761
4792
|
(adminRolePermission) => adminRolePermission.adminPermissions
|
|
4762
4793
|
)
|
|
@@ -4813,13 +4844,13 @@ __decorateClass([
|
|
|
4813
4844
|
Column50({ name: "is_active", type: "boolean", default: true })
|
|
4814
4845
|
], AdminRole.prototype, "isActive", 2);
|
|
4815
4846
|
__decorateClass([
|
|
4816
|
-
|
|
4847
|
+
OneToMany18(
|
|
4817
4848
|
() => AdminRolePermission,
|
|
4818
4849
|
(addminRolePermission) => addminRolePermission.adminRole
|
|
4819
4850
|
)
|
|
4820
4851
|
], AdminRole.prototype, "adminRolePermission", 2);
|
|
4821
4852
|
__decorateClass([
|
|
4822
|
-
|
|
4853
|
+
OneToMany18(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
|
|
4823
4854
|
], AdminRole.prototype, "userRoles", 2);
|
|
4824
4855
|
AdminRole = __decorateClass([
|
|
4825
4856
|
Entity49("admin_roles")
|
|
@@ -5114,7 +5145,7 @@ StripeTransaction = __decorateClass([
|
|
|
5114
5145
|
], StripeTransaction);
|
|
5115
5146
|
|
|
5116
5147
|
// src/entities/wallet.entity.ts
|
|
5117
|
-
import { Entity as Entity56, Column as Column57, Index as Index49, JoinColumn as JoinColumn51, OneToOne as OneToOne6, OneToMany as
|
|
5148
|
+
import { Entity as Entity56, Column as Column57, Index as Index49, JoinColumn as JoinColumn51, OneToOne as OneToOne6, OneToMany as OneToMany19 } from "typeorm";
|
|
5118
5149
|
|
|
5119
5150
|
// src/entities/wallet-transaction.entity.ts
|
|
5120
5151
|
import { Entity as Entity55, Column as Column56, Index as Index48, ManyToOne as ManyToOne50, JoinColumn as JoinColumn50 } from "typeorm";
|
|
@@ -5220,7 +5251,7 @@ __decorateClass([
|
|
|
5220
5251
|
Column57({ name: "stripe_metadata", type: "jsonb", nullable: true })
|
|
5221
5252
|
], Wallet.prototype, "stripeMetadata", 2);
|
|
5222
5253
|
__decorateClass([
|
|
5223
|
-
|
|
5254
|
+
OneToMany19(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
|
|
5224
5255
|
], Wallet.prototype, "walletTransactions", 2);
|
|
5225
5256
|
Wallet = __decorateClass([
|
|
5226
5257
|
Entity56("wallets")
|
|
@@ -5262,7 +5293,7 @@ __decorateClass([
|
|
|
5262
5293
|
JoinColumn52({ name: "parent_id" })
|
|
5263
5294
|
], User.prototype, "parent", 2);
|
|
5264
5295
|
__decorateClass([
|
|
5265
|
-
|
|
5296
|
+
OneToMany20(() => User, (user) => user.parent)
|
|
5266
5297
|
], User.prototype, "children", 2);
|
|
5267
5298
|
__decorateClass([
|
|
5268
5299
|
Column58({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
@@ -5343,7 +5374,7 @@ __decorateClass([
|
|
|
5343
5374
|
Column58({ name: "set_password_token", type: "varchar", nullable: true })
|
|
5344
5375
|
], User.prototype, "setPasswordToken", 2);
|
|
5345
5376
|
__decorateClass([
|
|
5346
|
-
|
|
5377
|
+
OneToMany20(() => RefreshToken, (token) => token.user)
|
|
5347
5378
|
], User.prototype, "refreshTokens", 2);
|
|
5348
5379
|
__decorateClass([
|
|
5349
5380
|
Column58({
|
|
@@ -5370,28 +5401,28 @@ __decorateClass([
|
|
|
5370
5401
|
Column58({ name: "onboarded_by", type: "varchar", nullable: true })
|
|
5371
5402
|
], User.prototype, "onBoardedBy", 2);
|
|
5372
5403
|
__decorateClass([
|
|
5373
|
-
|
|
5404
|
+
OneToMany20(() => Otp, (otp) => otp.user)
|
|
5374
5405
|
], User.prototype, "otps", 2);
|
|
5375
5406
|
__decorateClass([
|
|
5376
|
-
|
|
5407
|
+
OneToMany20(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
5377
5408
|
], User.prototype, "senseloafLogs", 2);
|
|
5378
5409
|
__decorateClass([
|
|
5379
5410
|
OneToOne7(() => CompanyProfile, (companyProfile) => companyProfile.user)
|
|
5380
5411
|
], User.prototype, "companyProfile", 2);
|
|
5381
5412
|
__decorateClass([
|
|
5382
|
-
|
|
5413
|
+
OneToMany20(() => CompanySkill, (companySkill) => companySkill.user)
|
|
5383
5414
|
], User.prototype, "companySkills", 2);
|
|
5384
5415
|
__decorateClass([
|
|
5385
|
-
|
|
5416
|
+
OneToMany20(
|
|
5386
5417
|
() => CompanyMemberRole,
|
|
5387
5418
|
(companyMemberRole) => companyMemberRole.user
|
|
5388
5419
|
)
|
|
5389
5420
|
], User.prototype, "companyMemberRoles", 2);
|
|
5390
5421
|
__decorateClass([
|
|
5391
|
-
|
|
5422
|
+
OneToMany20(() => AiInterview, (aiInterview) => aiInterview.interviwer)
|
|
5392
5423
|
], User.prototype, "companyAiInterview", 2);
|
|
5393
5424
|
__decorateClass([
|
|
5394
|
-
|
|
5425
|
+
OneToMany20(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
|
|
5395
5426
|
], User.prototype, "clientF2FInterviews", 2);
|
|
5396
5427
|
__decorateClass([
|
|
5397
5428
|
OneToOne7(
|
|
@@ -5403,49 +5434,49 @@ __decorateClass([
|
|
|
5403
5434
|
OneToOne7(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
|
|
5404
5435
|
], User.prototype, "freelancerResume", 2);
|
|
5405
5436
|
__decorateClass([
|
|
5406
|
-
|
|
5437
|
+
OneToMany20(
|
|
5407
5438
|
() => FreelancerAssessment,
|
|
5408
5439
|
(freelancerAssessment) => freelancerAssessment.user
|
|
5409
5440
|
)
|
|
5410
5441
|
], User.prototype, "assessments", 2);
|
|
5411
5442
|
__decorateClass([
|
|
5412
|
-
|
|
5443
|
+
OneToMany20(
|
|
5413
5444
|
() => AssessmentAnswer,
|
|
5414
5445
|
(assessmentAnswer) => assessmentAnswer.user
|
|
5415
5446
|
)
|
|
5416
5447
|
], User.prototype, "assessmentAnswers", 2);
|
|
5417
5448
|
__decorateClass([
|
|
5418
|
-
|
|
5449
|
+
OneToMany20(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
|
|
5419
5450
|
], User.prototype, "freelancerSkills", 2);
|
|
5420
5451
|
__decorateClass([
|
|
5421
|
-
|
|
5452
|
+
OneToMany20(
|
|
5422
5453
|
() => FreelancerExperience,
|
|
5423
5454
|
(freelancerExperience) => freelancerExperience.user
|
|
5424
5455
|
)
|
|
5425
5456
|
], User.prototype, "freelancerExperience", 2);
|
|
5426
5457
|
__decorateClass([
|
|
5427
|
-
|
|
5458
|
+
OneToMany20(
|
|
5428
5459
|
() => FreelancerEducation,
|
|
5429
5460
|
(freelancerEducation) => freelancerEducation.user
|
|
5430
5461
|
)
|
|
5431
5462
|
], User.prototype, "freelancerEducation", 2);
|
|
5432
5463
|
__decorateClass([
|
|
5433
|
-
|
|
5464
|
+
OneToMany20(
|
|
5434
5465
|
() => FreelancerProject,
|
|
5435
5466
|
(freelancerProject) => freelancerProject.user
|
|
5436
5467
|
)
|
|
5437
5468
|
], User.prototype, "freelancerProject", 2);
|
|
5438
5469
|
__decorateClass([
|
|
5439
|
-
|
|
5470
|
+
OneToMany20(
|
|
5440
5471
|
() => FreelancerCaseStudy,
|
|
5441
5472
|
(freelancerCaseStudy) => freelancerCaseStudy.user
|
|
5442
5473
|
)
|
|
5443
5474
|
], User.prototype, "freelancerCaseStudy", 2);
|
|
5444
5475
|
__decorateClass([
|
|
5445
|
-
|
|
5476
|
+
OneToMany20(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
|
|
5446
5477
|
], User.prototype, "freelancerTool", 2);
|
|
5447
5478
|
__decorateClass([
|
|
5448
|
-
|
|
5479
|
+
OneToMany20(
|
|
5449
5480
|
() => FreelancerFramework,
|
|
5450
5481
|
(freelancerFramework) => freelancerFramework.user
|
|
5451
5482
|
)
|
|
@@ -5457,94 +5488,94 @@ __decorateClass([
|
|
|
5457
5488
|
)
|
|
5458
5489
|
], User.prototype, "freelancerDeclaration", 2);
|
|
5459
5490
|
__decorateClass([
|
|
5460
|
-
|
|
5491
|
+
OneToMany20(() => AiInterview, (aiInterview) => aiInterview.candidate)
|
|
5461
5492
|
], User.prototype, "freelancerAiInterview", 2);
|
|
5462
5493
|
__decorateClass([
|
|
5463
|
-
|
|
5494
|
+
OneToMany20(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
|
|
5464
5495
|
], User.prototype, "freelancerF2FInterviews", 2);
|
|
5465
5496
|
__decorateClass([
|
|
5466
|
-
|
|
5497
|
+
OneToMany20(
|
|
5467
5498
|
() => F2fInterviewRescheduleRequest,
|
|
5468
5499
|
(f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
|
|
5469
5500
|
)
|
|
5470
5501
|
], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
|
|
5471
5502
|
__decorateClass([
|
|
5472
|
-
|
|
5503
|
+
OneToMany20(() => Job, (job) => job.user)
|
|
5473
5504
|
], User.prototype, "jobs", 2);
|
|
5474
5505
|
__decorateClass([
|
|
5475
|
-
|
|
5506
|
+
OneToMany20(() => JobApplication, (jobApplication) => jobApplication.user)
|
|
5476
5507
|
], User.prototype, "jobApplications", 2);
|
|
5477
5508
|
__decorateClass([
|
|
5478
|
-
|
|
5509
|
+
OneToMany20(() => Interview, (interview) => interview.user)
|
|
5479
5510
|
], User.prototype, "interviews", 2);
|
|
5480
5511
|
__decorateClass([
|
|
5481
|
-
|
|
5512
|
+
OneToMany20(() => BankDetail, (bankDetail) => bankDetail.user)
|
|
5482
5513
|
], User.prototype, "bankDetail", 2);
|
|
5483
5514
|
__decorateClass([
|
|
5484
|
-
|
|
5515
|
+
OneToMany20(
|
|
5485
5516
|
() => SystemPreference,
|
|
5486
5517
|
(systemPreference) => systemPreference.user
|
|
5487
5518
|
)
|
|
5488
5519
|
], User.prototype, "systemPreference", 2);
|
|
5489
5520
|
__decorateClass([
|
|
5490
|
-
|
|
5521
|
+
OneToMany20(() => Rating, (rating) => rating.reviewer)
|
|
5491
5522
|
], User.prototype, "givenRatings", 2);
|
|
5492
5523
|
__decorateClass([
|
|
5493
|
-
|
|
5524
|
+
OneToMany20(() => Rating, (rating) => rating.reviewee)
|
|
5494
5525
|
], User.prototype, "receivedRatings", 2);
|
|
5495
5526
|
__decorateClass([
|
|
5496
|
-
|
|
5527
|
+
OneToMany20(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
|
|
5497
5528
|
], User.prototype, "adminUserRoles", 2);
|
|
5498
5529
|
__decorateClass([
|
|
5499
|
-
|
|
5530
|
+
OneToMany20(() => Contract, (contract) => contract.client)
|
|
5500
5531
|
], User.prototype, "clientContracts", 2);
|
|
5501
5532
|
__decorateClass([
|
|
5502
|
-
|
|
5533
|
+
OneToMany20(() => Contract, (contract) => contract.freelancer)
|
|
5503
5534
|
], User.prototype, "freelancerContracts", 2);
|
|
5504
5535
|
__decorateClass([
|
|
5505
5536
|
OneToOne7(() => Signature, (signature) => signature.user)
|
|
5506
5537
|
], User.prototype, "signatures", 2);
|
|
5507
5538
|
__decorateClass([
|
|
5508
|
-
|
|
5539
|
+
OneToMany20(() => Timesheet, (timesheet) => timesheet.client)
|
|
5509
5540
|
], User.prototype, "clientTimesheets", 2);
|
|
5510
5541
|
__decorateClass([
|
|
5511
|
-
|
|
5542
|
+
OneToMany20(() => Timesheet, (timesheet) => timesheet.freelancer)
|
|
5512
5543
|
], User.prototype, "freelancerTimesheets", 2);
|
|
5513
5544
|
__decorateClass([
|
|
5514
|
-
|
|
5545
|
+
OneToMany20(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
|
|
5515
5546
|
], User.prototype, "clientTimesheetLine", 2);
|
|
5516
5547
|
__decorateClass([
|
|
5517
|
-
|
|
5548
|
+
OneToMany20(() => Invoice, (invoice) => invoice.client)
|
|
5518
5549
|
], User.prototype, "clientInvoice", 2);
|
|
5519
5550
|
__decorateClass([
|
|
5520
|
-
|
|
5551
|
+
OneToMany20(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
|
|
5521
5552
|
], User.prototype, "freelancerTimesheetLine", 2);
|
|
5522
5553
|
__decorateClass([
|
|
5523
|
-
|
|
5554
|
+
OneToMany20(() => Invoice, (invoice) => invoice.freelancer)
|
|
5524
5555
|
], User.prototype, "freelancerInvoice", 2);
|
|
5525
5556
|
__decorateClass([
|
|
5526
|
-
|
|
5557
|
+
OneToMany20(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
|
|
5527
5558
|
], User.prototype, "clientPreferencesGiven", 2);
|
|
5528
5559
|
__decorateClass([
|
|
5529
|
-
|
|
5560
|
+
OneToMany20(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
|
|
5530
5561
|
], User.prototype, "clientPreferencesReceived", 2);
|
|
5531
5562
|
__decorateClass([
|
|
5532
|
-
|
|
5563
|
+
OneToMany20(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
|
|
5533
5564
|
], User.prototype, "initiatedDisputes", 2);
|
|
5534
5565
|
__decorateClass([
|
|
5535
|
-
|
|
5566
|
+
OneToMany20(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
|
|
5536
5567
|
], User.prototype, "respondentDisputes", 2);
|
|
5537
5568
|
__decorateClass([
|
|
5538
5569
|
OneToOne7(() => Wallet, (wallet) => wallet.user)
|
|
5539
5570
|
], User.prototype, "wallet", 2);
|
|
5540
5571
|
__decorateClass([
|
|
5541
|
-
|
|
5572
|
+
OneToMany20(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
|
|
5542
5573
|
], User.prototype, "stripeTransactions", 2);
|
|
5543
5574
|
__decorateClass([
|
|
5544
|
-
|
|
5575
|
+
OneToMany20(() => Dispute, (dispute) => dispute.client)
|
|
5545
5576
|
], User.prototype, "clientDisputes", 2);
|
|
5546
5577
|
__decorateClass([
|
|
5547
|
-
|
|
5578
|
+
OneToMany20(() => Dispute, (dispute) => dispute.freelancer)
|
|
5548
5579
|
], User.prototype, "freelancerDisputes", 2);
|
|
5549
5580
|
User = __decorateClass([
|
|
5550
5581
|
Entity57("users")
|