@experts_hub/shared 1.0.490 → 1.0.491
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/state.entity.d.ts +2 -0
- package/dist/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +28 -0
- package/dist/index.mjs +117 -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;
|
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;
|
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);
|
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);
|
|
@@ -3919,28 +3947,28 @@ __decorateClass([
|
|
|
3919
3947
|
Column28({ name: "is_interview_created", type: "boolean", default: false })
|
|
3920
3948
|
], Job.prototype, "isInterviewCreated", 2);
|
|
3921
3949
|
__decorateClass([
|
|
3922
|
-
|
|
3950
|
+
OneToMany11(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
|
|
3923
3951
|
], Job.prototype, "interviewInvites", 2);
|
|
3924
3952
|
__decorateClass([
|
|
3925
|
-
|
|
3953
|
+
OneToMany11(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
|
|
3926
3954
|
], Job.prototype, "jobSkills", 2);
|
|
3927
3955
|
__decorateClass([
|
|
3928
|
-
|
|
3956
|
+
OneToMany11(() => JobApplication, (jobApplication) => jobApplication.job, {
|
|
3929
3957
|
cascade: true
|
|
3930
3958
|
})
|
|
3931
3959
|
], Job.prototype, "jobApplications", 2);
|
|
3932
3960
|
__decorateClass([
|
|
3933
|
-
|
|
3961
|
+
OneToMany11(() => Interview, (interview) => interview.job, {
|
|
3934
3962
|
cascade: true
|
|
3935
3963
|
})
|
|
3936
3964
|
], Job.prototype, "interviews", 2);
|
|
3937
3965
|
__decorateClass([
|
|
3938
|
-
|
|
3966
|
+
OneToMany11(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
|
|
3939
3967
|
cascade: true
|
|
3940
3968
|
})
|
|
3941
3969
|
], Job.prototype, "f2fInterviews", 2);
|
|
3942
3970
|
__decorateClass([
|
|
3943
|
-
|
|
3971
|
+
OneToMany11(
|
|
3944
3972
|
() => JobRecommendation,
|
|
3945
3973
|
(jobRecommendation) => jobRecommendation.job,
|
|
3946
3974
|
{
|
|
@@ -3949,27 +3977,27 @@ __decorateClass([
|
|
|
3949
3977
|
)
|
|
3950
3978
|
], Job.prototype, "recommendations", 2);
|
|
3951
3979
|
__decorateClass([
|
|
3952
|
-
|
|
3980
|
+
OneToMany11(() => Contract, (contract) => contract.job, {
|
|
3953
3981
|
cascade: true
|
|
3954
3982
|
})
|
|
3955
3983
|
], Job.prototype, "contracts", 2);
|
|
3956
3984
|
__decorateClass([
|
|
3957
|
-
|
|
3985
|
+
OneToMany11(() => Timesheet, (timesheet) => timesheet.job, {
|
|
3958
3986
|
cascade: true
|
|
3959
3987
|
})
|
|
3960
3988
|
], Job.prototype, "timesheets", 2);
|
|
3961
3989
|
__decorateClass([
|
|
3962
|
-
|
|
3990
|
+
OneToMany11(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
|
|
3963
3991
|
cascade: true
|
|
3964
3992
|
})
|
|
3965
3993
|
], Job.prototype, "timesheetLine", 2);
|
|
3966
3994
|
__decorateClass([
|
|
3967
|
-
|
|
3995
|
+
OneToMany11(() => Invoice, (invoice) => invoice.job, {
|
|
3968
3996
|
cascade: true
|
|
3969
3997
|
})
|
|
3970
3998
|
], Job.prototype, "invoice", 2);
|
|
3971
3999
|
__decorateClass([
|
|
3972
|
-
|
|
4000
|
+
OneToMany11(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
|
|
3973
4001
|
], Job.prototype, "clientCandidatePreferences", 2);
|
|
3974
4002
|
Job = __decorateClass([
|
|
3975
4003
|
Entity27("jobs")
|
|
@@ -4437,7 +4465,7 @@ import {
|
|
|
4437
4465
|
Index as Index35,
|
|
4438
4466
|
JoinColumn as JoinColumn39,
|
|
4439
4467
|
ManyToOne as ManyToOne39,
|
|
4440
|
-
OneToMany as
|
|
4468
|
+
OneToMany as OneToMany13
|
|
4441
4469
|
} from "typeorm";
|
|
4442
4470
|
|
|
4443
4471
|
// src/entities/company-role-permission.entity.ts
|
|
@@ -4523,7 +4551,7 @@ __decorateClass([
|
|
|
4523
4551
|
Column42({ name: "is_active", type: "boolean", default: true })
|
|
4524
4552
|
], CompanyRole.prototype, "isActive", 2);
|
|
4525
4553
|
__decorateClass([
|
|
4526
|
-
|
|
4554
|
+
OneToMany13(() => CompanyRolePermission, (rp) => rp.companyRole)
|
|
4527
4555
|
], CompanyRole.prototype, "rolePermissions", 2);
|
|
4528
4556
|
CompanyRole = __decorateClass([
|
|
4529
4557
|
Entity41("company_roles")
|
|
@@ -4565,13 +4593,13 @@ import {
|
|
|
4565
4593
|
} from "typeorm";
|
|
4566
4594
|
|
|
4567
4595
|
// src/entities/assessment-question.entity.ts
|
|
4568
|
-
import { Entity as Entity44, Column as Column45, OneToMany as
|
|
4596
|
+
import { Entity as Entity44, Column as Column45, OneToMany as OneToMany15 } from "typeorm";
|
|
4569
4597
|
|
|
4570
4598
|
// src/entities/assessment-question-option.entity.ts
|
|
4571
4599
|
import {
|
|
4572
4600
|
Entity as Entity43,
|
|
4573
4601
|
Column as Column44,
|
|
4574
|
-
OneToMany as
|
|
4602
|
+
OneToMany as OneToMany14,
|
|
4575
4603
|
ManyToOne as ManyToOne41,
|
|
4576
4604
|
Index as Index37,
|
|
4577
4605
|
JoinColumn as JoinColumn41
|
|
@@ -4610,7 +4638,7 @@ __decorateClass([
|
|
|
4610
4638
|
Column44({ name: "is_active", type: "boolean", default: true })
|
|
4611
4639
|
], AssessmetQuestionOption.prototype, "isActive", 2);
|
|
4612
4640
|
__decorateClass([
|
|
4613
|
-
|
|
4641
|
+
OneToMany14(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
|
|
4614
4642
|
], AssessmetQuestionOption.prototype, "selectedOptions", 2);
|
|
4615
4643
|
AssessmetQuestionOption = __decorateClass([
|
|
4616
4644
|
Entity43("assessment_question_options")
|
|
@@ -4639,10 +4667,10 @@ __decorateClass([
|
|
|
4639
4667
|
Column45({ name: "is_active", type: "boolean", default: true })
|
|
4640
4668
|
], AssessmetQuestion.prototype, "isActive", 2);
|
|
4641
4669
|
__decorateClass([
|
|
4642
|
-
|
|
4670
|
+
OneToMany15(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
|
|
4643
4671
|
], AssessmetQuestion.prototype, "options", 2);
|
|
4644
4672
|
__decorateClass([
|
|
4645
|
-
|
|
4673
|
+
OneToMany15(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
|
|
4646
4674
|
], AssessmetQuestion.prototype, "answers", 2);
|
|
4647
4675
|
AssessmetQuestion = __decorateClass([
|
|
4648
4676
|
Entity44("assessment_questions")
|
|
@@ -4725,13 +4753,13 @@ CompanySkill = __decorateClass([
|
|
|
4725
4753
|
import { Entity as Entity50, Column as Column51, ManyToOne as ManyToOne45, JoinColumn as JoinColumn45 } from "typeorm";
|
|
4726
4754
|
|
|
4727
4755
|
// src/entities/admin-role.entity.ts
|
|
4728
|
-
import { Entity as Entity49, Column as Column50, Index as Index42, OneToMany as
|
|
4756
|
+
import { Entity as Entity49, Column as Column50, Index as Index42, OneToMany as OneToMany18 } from "typeorm";
|
|
4729
4757
|
|
|
4730
4758
|
// src/entities/admin-role-permission.entity.ts
|
|
4731
4759
|
import { Entity as Entity48, Column as Column49, ManyToOne as ManyToOne44, JoinColumn as JoinColumn44 } from "typeorm";
|
|
4732
4760
|
|
|
4733
4761
|
// src/entities/admin-permission.entity.ts
|
|
4734
|
-
import { Entity as Entity47, Column as Column48, Index as Index40, OneToMany as
|
|
4762
|
+
import { Entity as Entity47, Column as Column48, Index as Index40, OneToMany as OneToMany17 } from "typeorm";
|
|
4735
4763
|
var AdminPermission = class extends BaseEntity {
|
|
4736
4764
|
};
|
|
4737
4765
|
__decorateClass([
|
|
@@ -4756,7 +4784,7 @@ __decorateClass([
|
|
|
4756
4784
|
Column48({ name: "is_active", type: "boolean", default: true })
|
|
4757
4785
|
], AdminPermission.prototype, "isActive", 2);
|
|
4758
4786
|
__decorateClass([
|
|
4759
|
-
|
|
4787
|
+
OneToMany17(
|
|
4760
4788
|
() => AdminRolePermission,
|
|
4761
4789
|
(adminRolePermission) => adminRolePermission.adminPermissions
|
|
4762
4790
|
)
|
|
@@ -4813,13 +4841,13 @@ __decorateClass([
|
|
|
4813
4841
|
Column50({ name: "is_active", type: "boolean", default: true })
|
|
4814
4842
|
], AdminRole.prototype, "isActive", 2);
|
|
4815
4843
|
__decorateClass([
|
|
4816
|
-
|
|
4844
|
+
OneToMany18(
|
|
4817
4845
|
() => AdminRolePermission,
|
|
4818
4846
|
(addminRolePermission) => addminRolePermission.adminRole
|
|
4819
4847
|
)
|
|
4820
4848
|
], AdminRole.prototype, "adminRolePermission", 2);
|
|
4821
4849
|
__decorateClass([
|
|
4822
|
-
|
|
4850
|
+
OneToMany18(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
|
|
4823
4851
|
], AdminRole.prototype, "userRoles", 2);
|
|
4824
4852
|
AdminRole = __decorateClass([
|
|
4825
4853
|
Entity49("admin_roles")
|
|
@@ -5114,7 +5142,7 @@ StripeTransaction = __decorateClass([
|
|
|
5114
5142
|
], StripeTransaction);
|
|
5115
5143
|
|
|
5116
5144
|
// src/entities/wallet.entity.ts
|
|
5117
|
-
import { Entity as Entity56, Column as Column57, Index as Index49, JoinColumn as JoinColumn51, OneToOne as OneToOne6, OneToMany as
|
|
5145
|
+
import { Entity as Entity56, Column as Column57, Index as Index49, JoinColumn as JoinColumn51, OneToOne as OneToOne6, OneToMany as OneToMany19 } from "typeorm";
|
|
5118
5146
|
|
|
5119
5147
|
// src/entities/wallet-transaction.entity.ts
|
|
5120
5148
|
import { Entity as Entity55, Column as Column56, Index as Index48, ManyToOne as ManyToOne50, JoinColumn as JoinColumn50 } from "typeorm";
|
|
@@ -5220,7 +5248,7 @@ __decorateClass([
|
|
|
5220
5248
|
Column57({ name: "stripe_metadata", type: "jsonb", nullable: true })
|
|
5221
5249
|
], Wallet.prototype, "stripeMetadata", 2);
|
|
5222
5250
|
__decorateClass([
|
|
5223
|
-
|
|
5251
|
+
OneToMany19(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
|
|
5224
5252
|
], Wallet.prototype, "walletTransactions", 2);
|
|
5225
5253
|
Wallet = __decorateClass([
|
|
5226
5254
|
Entity56("wallets")
|
|
@@ -5262,7 +5290,7 @@ __decorateClass([
|
|
|
5262
5290
|
JoinColumn52({ name: "parent_id" })
|
|
5263
5291
|
], User.prototype, "parent", 2);
|
|
5264
5292
|
__decorateClass([
|
|
5265
|
-
|
|
5293
|
+
OneToMany20(() => User, (user) => user.parent)
|
|
5266
5294
|
], User.prototype, "children", 2);
|
|
5267
5295
|
__decorateClass([
|
|
5268
5296
|
Column58({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
@@ -5343,7 +5371,7 @@ __decorateClass([
|
|
|
5343
5371
|
Column58({ name: "set_password_token", type: "varchar", nullable: true })
|
|
5344
5372
|
], User.prototype, "setPasswordToken", 2);
|
|
5345
5373
|
__decorateClass([
|
|
5346
|
-
|
|
5374
|
+
OneToMany20(() => RefreshToken, (token) => token.user)
|
|
5347
5375
|
], User.prototype, "refreshTokens", 2);
|
|
5348
5376
|
__decorateClass([
|
|
5349
5377
|
Column58({
|
|
@@ -5370,28 +5398,28 @@ __decorateClass([
|
|
|
5370
5398
|
Column58({ name: "onboarded_by", type: "varchar", nullable: true })
|
|
5371
5399
|
], User.prototype, "onBoardedBy", 2);
|
|
5372
5400
|
__decorateClass([
|
|
5373
|
-
|
|
5401
|
+
OneToMany20(() => Otp, (otp) => otp.user)
|
|
5374
5402
|
], User.prototype, "otps", 2);
|
|
5375
5403
|
__decorateClass([
|
|
5376
|
-
|
|
5404
|
+
OneToMany20(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
5377
5405
|
], User.prototype, "senseloafLogs", 2);
|
|
5378
5406
|
__decorateClass([
|
|
5379
5407
|
OneToOne7(() => CompanyProfile, (companyProfile) => companyProfile.user)
|
|
5380
5408
|
], User.prototype, "companyProfile", 2);
|
|
5381
5409
|
__decorateClass([
|
|
5382
|
-
|
|
5410
|
+
OneToMany20(() => CompanySkill, (companySkill) => companySkill.user)
|
|
5383
5411
|
], User.prototype, "companySkills", 2);
|
|
5384
5412
|
__decorateClass([
|
|
5385
|
-
|
|
5413
|
+
OneToMany20(
|
|
5386
5414
|
() => CompanyMemberRole,
|
|
5387
5415
|
(companyMemberRole) => companyMemberRole.user
|
|
5388
5416
|
)
|
|
5389
5417
|
], User.prototype, "companyMemberRoles", 2);
|
|
5390
5418
|
__decorateClass([
|
|
5391
|
-
|
|
5419
|
+
OneToMany20(() => AiInterview, (aiInterview) => aiInterview.interviwer)
|
|
5392
5420
|
], User.prototype, "companyAiInterview", 2);
|
|
5393
5421
|
__decorateClass([
|
|
5394
|
-
|
|
5422
|
+
OneToMany20(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
|
|
5395
5423
|
], User.prototype, "clientF2FInterviews", 2);
|
|
5396
5424
|
__decorateClass([
|
|
5397
5425
|
OneToOne7(
|
|
@@ -5403,49 +5431,49 @@ __decorateClass([
|
|
|
5403
5431
|
OneToOne7(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
|
|
5404
5432
|
], User.prototype, "freelancerResume", 2);
|
|
5405
5433
|
__decorateClass([
|
|
5406
|
-
|
|
5434
|
+
OneToMany20(
|
|
5407
5435
|
() => FreelancerAssessment,
|
|
5408
5436
|
(freelancerAssessment) => freelancerAssessment.user
|
|
5409
5437
|
)
|
|
5410
5438
|
], User.prototype, "assessments", 2);
|
|
5411
5439
|
__decorateClass([
|
|
5412
|
-
|
|
5440
|
+
OneToMany20(
|
|
5413
5441
|
() => AssessmentAnswer,
|
|
5414
5442
|
(assessmentAnswer) => assessmentAnswer.user
|
|
5415
5443
|
)
|
|
5416
5444
|
], User.prototype, "assessmentAnswers", 2);
|
|
5417
5445
|
__decorateClass([
|
|
5418
|
-
|
|
5446
|
+
OneToMany20(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
|
|
5419
5447
|
], User.prototype, "freelancerSkills", 2);
|
|
5420
5448
|
__decorateClass([
|
|
5421
|
-
|
|
5449
|
+
OneToMany20(
|
|
5422
5450
|
() => FreelancerExperience,
|
|
5423
5451
|
(freelancerExperience) => freelancerExperience.user
|
|
5424
5452
|
)
|
|
5425
5453
|
], User.prototype, "freelancerExperience", 2);
|
|
5426
5454
|
__decorateClass([
|
|
5427
|
-
|
|
5455
|
+
OneToMany20(
|
|
5428
5456
|
() => FreelancerEducation,
|
|
5429
5457
|
(freelancerEducation) => freelancerEducation.user
|
|
5430
5458
|
)
|
|
5431
5459
|
], User.prototype, "freelancerEducation", 2);
|
|
5432
5460
|
__decorateClass([
|
|
5433
|
-
|
|
5461
|
+
OneToMany20(
|
|
5434
5462
|
() => FreelancerProject,
|
|
5435
5463
|
(freelancerProject) => freelancerProject.user
|
|
5436
5464
|
)
|
|
5437
5465
|
], User.prototype, "freelancerProject", 2);
|
|
5438
5466
|
__decorateClass([
|
|
5439
|
-
|
|
5467
|
+
OneToMany20(
|
|
5440
5468
|
() => FreelancerCaseStudy,
|
|
5441
5469
|
(freelancerCaseStudy) => freelancerCaseStudy.user
|
|
5442
5470
|
)
|
|
5443
5471
|
], User.prototype, "freelancerCaseStudy", 2);
|
|
5444
5472
|
__decorateClass([
|
|
5445
|
-
|
|
5473
|
+
OneToMany20(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
|
|
5446
5474
|
], User.prototype, "freelancerTool", 2);
|
|
5447
5475
|
__decorateClass([
|
|
5448
|
-
|
|
5476
|
+
OneToMany20(
|
|
5449
5477
|
() => FreelancerFramework,
|
|
5450
5478
|
(freelancerFramework) => freelancerFramework.user
|
|
5451
5479
|
)
|
|
@@ -5457,94 +5485,94 @@ __decorateClass([
|
|
|
5457
5485
|
)
|
|
5458
5486
|
], User.prototype, "freelancerDeclaration", 2);
|
|
5459
5487
|
__decorateClass([
|
|
5460
|
-
|
|
5488
|
+
OneToMany20(() => AiInterview, (aiInterview) => aiInterview.candidate)
|
|
5461
5489
|
], User.prototype, "freelancerAiInterview", 2);
|
|
5462
5490
|
__decorateClass([
|
|
5463
|
-
|
|
5491
|
+
OneToMany20(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
|
|
5464
5492
|
], User.prototype, "freelancerF2FInterviews", 2);
|
|
5465
5493
|
__decorateClass([
|
|
5466
|
-
|
|
5494
|
+
OneToMany20(
|
|
5467
5495
|
() => F2fInterviewRescheduleRequest,
|
|
5468
5496
|
(f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
|
|
5469
5497
|
)
|
|
5470
5498
|
], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
|
|
5471
5499
|
__decorateClass([
|
|
5472
|
-
|
|
5500
|
+
OneToMany20(() => Job, (job) => job.user)
|
|
5473
5501
|
], User.prototype, "jobs", 2);
|
|
5474
5502
|
__decorateClass([
|
|
5475
|
-
|
|
5503
|
+
OneToMany20(() => JobApplication, (jobApplication) => jobApplication.user)
|
|
5476
5504
|
], User.prototype, "jobApplications", 2);
|
|
5477
5505
|
__decorateClass([
|
|
5478
|
-
|
|
5506
|
+
OneToMany20(() => Interview, (interview) => interview.user)
|
|
5479
5507
|
], User.prototype, "interviews", 2);
|
|
5480
5508
|
__decorateClass([
|
|
5481
|
-
|
|
5509
|
+
OneToMany20(() => BankDetail, (bankDetail) => bankDetail.user)
|
|
5482
5510
|
], User.prototype, "bankDetail", 2);
|
|
5483
5511
|
__decorateClass([
|
|
5484
|
-
|
|
5512
|
+
OneToMany20(
|
|
5485
5513
|
() => SystemPreference,
|
|
5486
5514
|
(systemPreference) => systemPreference.user
|
|
5487
5515
|
)
|
|
5488
5516
|
], User.prototype, "systemPreference", 2);
|
|
5489
5517
|
__decorateClass([
|
|
5490
|
-
|
|
5518
|
+
OneToMany20(() => Rating, (rating) => rating.reviewer)
|
|
5491
5519
|
], User.prototype, "givenRatings", 2);
|
|
5492
5520
|
__decorateClass([
|
|
5493
|
-
|
|
5521
|
+
OneToMany20(() => Rating, (rating) => rating.reviewee)
|
|
5494
5522
|
], User.prototype, "receivedRatings", 2);
|
|
5495
5523
|
__decorateClass([
|
|
5496
|
-
|
|
5524
|
+
OneToMany20(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
|
|
5497
5525
|
], User.prototype, "adminUserRoles", 2);
|
|
5498
5526
|
__decorateClass([
|
|
5499
|
-
|
|
5527
|
+
OneToMany20(() => Contract, (contract) => contract.client)
|
|
5500
5528
|
], User.prototype, "clientContracts", 2);
|
|
5501
5529
|
__decorateClass([
|
|
5502
|
-
|
|
5530
|
+
OneToMany20(() => Contract, (contract) => contract.freelancer)
|
|
5503
5531
|
], User.prototype, "freelancerContracts", 2);
|
|
5504
5532
|
__decorateClass([
|
|
5505
5533
|
OneToOne7(() => Signature, (signature) => signature.user)
|
|
5506
5534
|
], User.prototype, "signatures", 2);
|
|
5507
5535
|
__decorateClass([
|
|
5508
|
-
|
|
5536
|
+
OneToMany20(() => Timesheet, (timesheet) => timesheet.client)
|
|
5509
5537
|
], User.prototype, "clientTimesheets", 2);
|
|
5510
5538
|
__decorateClass([
|
|
5511
|
-
|
|
5539
|
+
OneToMany20(() => Timesheet, (timesheet) => timesheet.freelancer)
|
|
5512
5540
|
], User.prototype, "freelancerTimesheets", 2);
|
|
5513
5541
|
__decorateClass([
|
|
5514
|
-
|
|
5542
|
+
OneToMany20(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
|
|
5515
5543
|
], User.prototype, "clientTimesheetLine", 2);
|
|
5516
5544
|
__decorateClass([
|
|
5517
|
-
|
|
5545
|
+
OneToMany20(() => Invoice, (invoice) => invoice.client)
|
|
5518
5546
|
], User.prototype, "clientInvoice", 2);
|
|
5519
5547
|
__decorateClass([
|
|
5520
|
-
|
|
5548
|
+
OneToMany20(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
|
|
5521
5549
|
], User.prototype, "freelancerTimesheetLine", 2);
|
|
5522
5550
|
__decorateClass([
|
|
5523
|
-
|
|
5551
|
+
OneToMany20(() => Invoice, (invoice) => invoice.freelancer)
|
|
5524
5552
|
], User.prototype, "freelancerInvoice", 2);
|
|
5525
5553
|
__decorateClass([
|
|
5526
|
-
|
|
5554
|
+
OneToMany20(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
|
|
5527
5555
|
], User.prototype, "clientPreferencesGiven", 2);
|
|
5528
5556
|
__decorateClass([
|
|
5529
|
-
|
|
5557
|
+
OneToMany20(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
|
|
5530
5558
|
], User.prototype, "clientPreferencesReceived", 2);
|
|
5531
5559
|
__decorateClass([
|
|
5532
|
-
|
|
5560
|
+
OneToMany20(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
|
|
5533
5561
|
], User.prototype, "initiatedDisputes", 2);
|
|
5534
5562
|
__decorateClass([
|
|
5535
|
-
|
|
5563
|
+
OneToMany20(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
|
|
5536
5564
|
], User.prototype, "respondentDisputes", 2);
|
|
5537
5565
|
__decorateClass([
|
|
5538
5566
|
OneToOne7(() => Wallet, (wallet) => wallet.user)
|
|
5539
5567
|
], User.prototype, "wallet", 2);
|
|
5540
5568
|
__decorateClass([
|
|
5541
|
-
|
|
5569
|
+
OneToMany20(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
|
|
5542
5570
|
], User.prototype, "stripeTransactions", 2);
|
|
5543
5571
|
__decorateClass([
|
|
5544
|
-
|
|
5572
|
+
OneToMany20(() => Dispute, (dispute) => dispute.client)
|
|
5545
5573
|
], User.prototype, "clientDisputes", 2);
|
|
5546
5574
|
__decorateClass([
|
|
5547
|
-
|
|
5575
|
+
OneToMany20(() => Dispute, (dispute) => dispute.freelancer)
|
|
5548
5576
|
], User.prototype, "freelancerDisputes", 2);
|
|
5549
5577
|
User = __decorateClass([
|
|
5550
5578
|
Entity57("users")
|