@experts_hub/shared 1.0.274 → 1.0.277
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/admin-role.entity.d.ts +2 -2
- package/dist/entities/{user-role.entity.d.ts → admin-user-role.entity.d.ts} +1 -1
- package/dist/entities/freelancer-resumes.entity.d.ts +8 -0
- package/dist/entities/index.d.ts +2 -1
- package/dist/entities/user.entity.d.ts +4 -2
- package/dist/index.d.mts +12 -4
- package/dist/index.d.ts +12 -4
- package/dist/index.js +188 -160
- package/dist/index.mjs +141 -108
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39,6 +39,7 @@ __export(index_exports, {
|
|
|
39
39
|
AdminRole: () => AdminRole,
|
|
40
40
|
AdminRolePermission: () => AdminRolePermission,
|
|
41
41
|
AdminUpdateJobInformationDto: () => AdminUpdateJobInformationDto,
|
|
42
|
+
AdminUserRole: () => AdminUserRole,
|
|
42
43
|
AiAssessmentStatusEnum: () => AiAssessmentStatusEnum,
|
|
43
44
|
AnswerTypeEnum: () => AnswerTypeEnum,
|
|
44
45
|
ApplicationStatusEnum: () => ApplicationStatusEnum,
|
|
@@ -121,6 +122,7 @@ __export(index_exports, {
|
|
|
121
122
|
FreelancerProfileQuestionDto: () => FreelancerProfileQuestionDto,
|
|
122
123
|
FreelancerProject: () => FreelancerProject,
|
|
123
124
|
FreelancerProjectDto: () => FreelancerProjectDto,
|
|
125
|
+
FreelancerResume: () => FreelancerResume,
|
|
124
126
|
FreelancerSkill: () => FreelancerSkill,
|
|
125
127
|
FreelancerSkillDto: () => FreelancerSkillDto,
|
|
126
128
|
FreelancerSkipAiAssessmentDto: () => FreelancerSkipAiAssessmentDto,
|
|
@@ -225,7 +227,6 @@ __export(index_exports, {
|
|
|
225
227
|
UpdateSubAdminDto: () => UpdateSubAdminDto,
|
|
226
228
|
User: () => User,
|
|
227
229
|
UserRMQAdapter: () => UserRMQAdapter,
|
|
228
|
-
UserRole: () => UserRole,
|
|
229
230
|
UserTCPAdapter: () => UserTCPAdapter,
|
|
230
231
|
VerifyGuestOtpDto: () => VerifyGuestOtpDto,
|
|
231
232
|
VerifyGuestOtpPurposeEnum: () => VerifyGuestOtpPurposeEnum
|
|
@@ -1313,10 +1314,10 @@ var RATING_PATTERN = {
|
|
|
1313
1314
|
var import_class_validator38 = require("class-validator");
|
|
1314
1315
|
|
|
1315
1316
|
// src/entities/rating.entity.ts
|
|
1316
|
-
var
|
|
1317
|
+
var import_typeorm42 = require("typeorm");
|
|
1317
1318
|
|
|
1318
1319
|
// src/entities/user.entity.ts
|
|
1319
|
-
var
|
|
1320
|
+
var import_typeorm41 = require("typeorm");
|
|
1320
1321
|
|
|
1321
1322
|
// src/entities/base.entity.ts
|
|
1322
1323
|
var import_typeorm = require("typeorm");
|
|
@@ -3083,7 +3084,7 @@ CompanySkill = __decorateClass([
|
|
|
3083
3084
|
(0, import_typeorm35.Entity)("company_skills")
|
|
3084
3085
|
], CompanySkill);
|
|
3085
3086
|
|
|
3086
|
-
// src/entities/user-role.entity.ts
|
|
3087
|
+
// src/entities/admin-user-role.entity.ts
|
|
3087
3088
|
var import_typeorm39 = require("typeorm");
|
|
3088
3089
|
|
|
3089
3090
|
// src/entities/admin-role.entity.ts
|
|
@@ -3181,14 +3182,14 @@ __decorateClass([
|
|
|
3181
3182
|
)
|
|
3182
3183
|
], AdminRole.prototype, "adminRolePermission", 2);
|
|
3183
3184
|
__decorateClass([
|
|
3184
|
-
(0, import_typeorm38.OneToMany)(() =>
|
|
3185
|
+
(0, import_typeorm38.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
|
|
3185
3186
|
], AdminRole.prototype, "userRoles", 2);
|
|
3186
3187
|
AdminRole = __decorateClass([
|
|
3187
3188
|
(0, import_typeorm38.Entity)("admin_roles")
|
|
3188
3189
|
], AdminRole);
|
|
3189
3190
|
|
|
3190
|
-
// src/entities/user-role.entity.ts
|
|
3191
|
-
var
|
|
3191
|
+
// src/entities/admin-user-role.entity.ts
|
|
3192
|
+
var AdminUserRole = class extends BaseEntity {
|
|
3192
3193
|
};
|
|
3193
3194
|
__decorateClass([
|
|
3194
3195
|
(0, import_typeorm39.Column)({
|
|
@@ -3197,11 +3198,11 @@ __decorateClass([
|
|
|
3197
3198
|
nullable: true,
|
|
3198
3199
|
comment: "Id of particular user"
|
|
3199
3200
|
})
|
|
3200
|
-
],
|
|
3201
|
+
], AdminUserRole.prototype, "userId", 2);
|
|
3201
3202
|
__decorateClass([
|
|
3202
3203
|
(0, import_typeorm39.ManyToOne)(() => User),
|
|
3203
3204
|
(0, import_typeorm39.JoinColumn)({ name: "user_id" })
|
|
3204
|
-
],
|
|
3205
|
+
], AdminUserRole.prototype, "user", 2);
|
|
3205
3206
|
__decorateClass([
|
|
3206
3207
|
(0, import_typeorm39.Column)({
|
|
3207
3208
|
name: "role_id",
|
|
@@ -3209,14 +3210,37 @@ __decorateClass([
|
|
|
3209
3210
|
nullable: true,
|
|
3210
3211
|
comment: "Id of particular role"
|
|
3211
3212
|
})
|
|
3212
|
-
],
|
|
3213
|
+
], AdminUserRole.prototype, "roleId", 2);
|
|
3213
3214
|
__decorateClass([
|
|
3214
3215
|
(0, import_typeorm39.ManyToOne)(() => AdminRole),
|
|
3215
3216
|
(0, import_typeorm39.JoinColumn)({ name: "role_id" })
|
|
3216
|
-
],
|
|
3217
|
-
|
|
3218
|
-
(0, import_typeorm39.Entity)("
|
|
3219
|
-
],
|
|
3217
|
+
], AdminUserRole.prototype, "adminRole", 2);
|
|
3218
|
+
AdminUserRole = __decorateClass([
|
|
3219
|
+
(0, import_typeorm39.Entity)("admin_user_roles")
|
|
3220
|
+
], AdminUserRole);
|
|
3221
|
+
|
|
3222
|
+
// src/entities/freelancer-resumes.entity.ts
|
|
3223
|
+
var import_typeorm40 = require("typeorm");
|
|
3224
|
+
var FreelancerResume = class extends BaseEntity {
|
|
3225
|
+
};
|
|
3226
|
+
// individual index to find profile by user
|
|
3227
|
+
__decorateClass([
|
|
3228
|
+
(0, import_typeorm40.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
3229
|
+
(0, import_typeorm40.Index)()
|
|
3230
|
+
], FreelancerResume.prototype, "userId", 2);
|
|
3231
|
+
__decorateClass([
|
|
3232
|
+
(0, import_typeorm40.ManyToOne)(() => User, (user) => user.freelancerProfile),
|
|
3233
|
+
(0, import_typeorm40.JoinColumn)({ name: "user_id" })
|
|
3234
|
+
], FreelancerResume.prototype, "user", 2);
|
|
3235
|
+
__decorateClass([
|
|
3236
|
+
(0, import_typeorm40.Column)({ name: "resume_data", type: "jsonb", nullable: true })
|
|
3237
|
+
], FreelancerResume.prototype, "resumeData", 2);
|
|
3238
|
+
__decorateClass([
|
|
3239
|
+
(0, import_typeorm40.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
|
|
3240
|
+
], FreelancerResume.prototype, "processedResumeData", 2);
|
|
3241
|
+
FreelancerResume = __decorateClass([
|
|
3242
|
+
(0, import_typeorm40.Entity)("freelancer_resumes")
|
|
3243
|
+
], FreelancerResume);
|
|
3220
3244
|
|
|
3221
3245
|
// src/entities/user.entity.ts
|
|
3222
3246
|
var AccountType = /* @__PURE__ */ ((AccountType2) => {
|
|
@@ -3243,51 +3267,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
|
3243
3267
|
var User = class extends BaseEntity {
|
|
3244
3268
|
};
|
|
3245
3269
|
__decorateClass([
|
|
3246
|
-
(0,
|
|
3270
|
+
(0, import_typeorm41.Column)({ name: "unique_id", type: "varchar", unique: true })
|
|
3247
3271
|
], User.prototype, "uniqueId", 2);
|
|
3248
3272
|
__decorateClass([
|
|
3249
|
-
(0,
|
|
3250
|
-
(0,
|
|
3273
|
+
(0, import_typeorm41.Column)({ name: "parent_id", type: "integer", nullable: true }),
|
|
3274
|
+
(0, import_typeorm41.Index)()
|
|
3251
3275
|
], User.prototype, "parentId", 2);
|
|
3252
3276
|
__decorateClass([
|
|
3253
|
-
(0,
|
|
3254
|
-
(0,
|
|
3277
|
+
(0, import_typeorm41.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
|
|
3278
|
+
(0, import_typeorm41.JoinColumn)({ name: "parent_id" })
|
|
3255
3279
|
], User.prototype, "parent", 2);
|
|
3256
3280
|
__decorateClass([
|
|
3257
|
-
(0,
|
|
3281
|
+
(0, import_typeorm41.OneToMany)(() => User, (user) => user.parent)
|
|
3258
3282
|
], User.prototype, "children", 2);
|
|
3259
3283
|
__decorateClass([
|
|
3260
|
-
(0,
|
|
3284
|
+
(0, import_typeorm41.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
3261
3285
|
], User.prototype, "username", 2);
|
|
3262
3286
|
__decorateClass([
|
|
3263
|
-
(0,
|
|
3287
|
+
(0, import_typeorm41.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
|
|
3264
3288
|
], User.prototype, "firstName", 2);
|
|
3265
3289
|
__decorateClass([
|
|
3266
|
-
(0,
|
|
3290
|
+
(0, import_typeorm41.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
|
|
3267
3291
|
], User.prototype, "lastName", 2);
|
|
3268
3292
|
__decorateClass([
|
|
3269
|
-
(0,
|
|
3293
|
+
(0, import_typeorm41.Column)({ name: "date_of_birth", type: "date", nullable: true })
|
|
3270
3294
|
], User.prototype, "dateOfBirth", 2);
|
|
3271
3295
|
__decorateClass([
|
|
3272
|
-
(0,
|
|
3296
|
+
(0, import_typeorm41.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
|
|
3273
3297
|
], User.prototype, "gender", 2);
|
|
3274
3298
|
__decorateClass([
|
|
3275
|
-
(0,
|
|
3299
|
+
(0, import_typeorm41.Column)({ name: "profile_picture_url", type: "text", nullable: true })
|
|
3276
3300
|
], User.prototype, "profilePictureUrl", 2);
|
|
3277
3301
|
__decorateClass([
|
|
3278
|
-
(0,
|
|
3302
|
+
(0, import_typeorm41.Column)({ name: "email", type: "varchar", unique: true })
|
|
3279
3303
|
], User.prototype, "email", 2);
|
|
3280
3304
|
__decorateClass([
|
|
3281
|
-
(0,
|
|
3305
|
+
(0, import_typeorm41.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
3282
3306
|
], User.prototype, "mobileCode", 2);
|
|
3283
3307
|
__decorateClass([
|
|
3284
|
-
(0,
|
|
3308
|
+
(0, import_typeorm41.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
3285
3309
|
], User.prototype, "mobile", 2);
|
|
3286
3310
|
__decorateClass([
|
|
3287
|
-
(0,
|
|
3311
|
+
(0, import_typeorm41.Column)({ name: "password", type: "varchar", nullable: true })
|
|
3288
3312
|
], User.prototype, "password", 2);
|
|
3289
3313
|
__decorateClass([
|
|
3290
|
-
(0,
|
|
3314
|
+
(0, import_typeorm41.Column)({
|
|
3291
3315
|
name: "account_type",
|
|
3292
3316
|
type: "enum",
|
|
3293
3317
|
enum: AccountType,
|
|
@@ -3295,7 +3319,7 @@ __decorateClass([
|
|
|
3295
3319
|
})
|
|
3296
3320
|
], User.prototype, "accountType", 2);
|
|
3297
3321
|
__decorateClass([
|
|
3298
|
-
(0,
|
|
3322
|
+
(0, import_typeorm41.Column)({
|
|
3299
3323
|
name: "account_status",
|
|
3300
3324
|
type: "enum",
|
|
3301
3325
|
enum: AccountStatus,
|
|
@@ -3303,36 +3327,36 @@ __decorateClass([
|
|
|
3303
3327
|
})
|
|
3304
3328
|
], User.prototype, "accountStatus", 2);
|
|
3305
3329
|
__decorateClass([
|
|
3306
|
-
(0,
|
|
3330
|
+
(0, import_typeorm41.Column)({ name: "is_email_verified", type: "boolean", default: false })
|
|
3307
3331
|
], User.prototype, "isEmailVerified", 2);
|
|
3308
3332
|
__decorateClass([
|
|
3309
|
-
(0,
|
|
3333
|
+
(0, import_typeorm41.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
|
|
3310
3334
|
], User.prototype, "isMobileVerified", 2);
|
|
3311
3335
|
__decorateClass([
|
|
3312
|
-
(0,
|
|
3336
|
+
(0, import_typeorm41.Column)({
|
|
3313
3337
|
name: "last_login_at",
|
|
3314
3338
|
type: "timestamp with time zone",
|
|
3315
3339
|
nullable: true
|
|
3316
3340
|
})
|
|
3317
3341
|
], User.prototype, "lastLoginAt", 2);
|
|
3318
3342
|
__decorateClass([
|
|
3319
|
-
(0,
|
|
3343
|
+
(0, import_typeorm41.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
|
|
3320
3344
|
], User.prototype, "lastLoginIp", 2);
|
|
3321
3345
|
__decorateClass([
|
|
3322
|
-
(0,
|
|
3346
|
+
(0, import_typeorm41.Column)({ name: "reset_token", type: "varchar", nullable: true })
|
|
3323
3347
|
], User.prototype, "resetToken", 2);
|
|
3324
3348
|
__decorateClass([
|
|
3325
|
-
(0,
|
|
3349
|
+
(0, import_typeorm41.Column)({
|
|
3326
3350
|
name: "reset_token_expire_at",
|
|
3327
3351
|
type: "timestamp with time zone",
|
|
3328
3352
|
nullable: true
|
|
3329
3353
|
})
|
|
3330
3354
|
], User.prototype, "resetTokenExpireAt", 2);
|
|
3331
3355
|
__decorateClass([
|
|
3332
|
-
(0,
|
|
3356
|
+
(0, import_typeorm41.OneToMany)(() => RefreshToken, (token) => token.user)
|
|
3333
3357
|
], User.prototype, "refreshTokens", 2);
|
|
3334
3358
|
__decorateClass([
|
|
3335
|
-
(0,
|
|
3359
|
+
(0, import_typeorm41.Column)({
|
|
3336
3360
|
name: "provider",
|
|
3337
3361
|
type: "enum",
|
|
3338
3362
|
enum: Provider,
|
|
@@ -3341,91 +3365,94 @@ __decorateClass([
|
|
|
3341
3365
|
})
|
|
3342
3366
|
], User.prototype, "provider", 2);
|
|
3343
3367
|
__decorateClass([
|
|
3344
|
-
(0,
|
|
3368
|
+
(0, import_typeorm41.Column)({ name: "provider_token", type: "varchar", nullable: true })
|
|
3345
3369
|
], User.prototype, "providerToken", 2);
|
|
3346
3370
|
__decorateClass([
|
|
3347
|
-
(0,
|
|
3371
|
+
(0, import_typeorm41.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
|
|
3348
3372
|
], User.prototype, "linkedInId", 2);
|
|
3349
3373
|
__decorateClass([
|
|
3350
|
-
(0,
|
|
3374
|
+
(0, import_typeorm41.Column)({ name: "google_id", type: "varchar", nullable: true })
|
|
3351
3375
|
], User.prototype, "googleId", 2);
|
|
3352
3376
|
__decorateClass([
|
|
3353
|
-
(0,
|
|
3377
|
+
(0, import_typeorm41.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
|
|
3354
3378
|
], User.prototype, "gitLabsId", 2);
|
|
3355
3379
|
__decorateClass([
|
|
3356
|
-
(0,
|
|
3380
|
+
(0, import_typeorm41.OneToMany)(() => Otp, (otp) => otp.user)
|
|
3357
3381
|
], User.prototype, "otps", 2);
|
|
3358
3382
|
__decorateClass([
|
|
3359
|
-
(0,
|
|
3383
|
+
(0, import_typeorm41.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
3360
3384
|
], User.prototype, "senseloafLogs", 2);
|
|
3361
3385
|
__decorateClass([
|
|
3362
|
-
(0,
|
|
3386
|
+
(0, import_typeorm41.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
|
|
3363
3387
|
], User.prototype, "companyProfile", 2);
|
|
3364
3388
|
__decorateClass([
|
|
3365
|
-
(0,
|
|
3389
|
+
(0, import_typeorm41.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
|
|
3366
3390
|
], User.prototype, "companySkills", 2);
|
|
3367
3391
|
__decorateClass([
|
|
3368
|
-
(0,
|
|
3392
|
+
(0, import_typeorm41.OneToMany)(() => CompanyMemberRole, (companyMemberRole) => companyMemberRole.user)
|
|
3369
3393
|
], User.prototype, "companyMemberRoles", 2);
|
|
3370
3394
|
__decorateClass([
|
|
3371
|
-
(0,
|
|
3395
|
+
(0, import_typeorm41.OneToOne)(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user)
|
|
3372
3396
|
], User.prototype, "freelancerProfile", 2);
|
|
3373
3397
|
__decorateClass([
|
|
3374
|
-
(0,
|
|
3398
|
+
(0, import_typeorm41.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
|
|
3399
|
+
], User.prototype, "freelancerResume", 2);
|
|
3400
|
+
__decorateClass([
|
|
3401
|
+
(0, import_typeorm41.OneToMany)(() => FreelancerAssessment, (freelancerAssessment) => freelancerAssessment.user)
|
|
3375
3402
|
], User.prototype, "assessments", 2);
|
|
3376
3403
|
__decorateClass([
|
|
3377
|
-
(0,
|
|
3404
|
+
(0, import_typeorm41.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.user)
|
|
3378
3405
|
], User.prototype, "assessmentAnswers", 2);
|
|
3379
3406
|
__decorateClass([
|
|
3380
|
-
(0,
|
|
3407
|
+
(0, import_typeorm41.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
|
|
3381
3408
|
], User.prototype, "freelancerSkills", 2);
|
|
3382
3409
|
__decorateClass([
|
|
3383
|
-
(0,
|
|
3410
|
+
(0, import_typeorm41.OneToMany)(() => FreelancerExperience, (freelancerExperience) => freelancerExperience.user)
|
|
3384
3411
|
], User.prototype, "freelancerExperience", 2);
|
|
3385
3412
|
__decorateClass([
|
|
3386
|
-
(0,
|
|
3413
|
+
(0, import_typeorm41.OneToMany)(() => FreelancerEducation, (freelancerEducation) => freelancerEducation.user)
|
|
3387
3414
|
], User.prototype, "freelancerEducation", 2);
|
|
3388
3415
|
__decorateClass([
|
|
3389
|
-
(0,
|
|
3416
|
+
(0, import_typeorm41.OneToMany)(() => FreelancerProject, (freelancerProject) => freelancerProject.user)
|
|
3390
3417
|
], User.prototype, "freelancerProject", 2);
|
|
3391
3418
|
__decorateClass([
|
|
3392
|
-
(0,
|
|
3419
|
+
(0, import_typeorm41.OneToMany)(() => FreelancerCaseStudy, (freelancerCaseStudy) => freelancerCaseStudy.user)
|
|
3393
3420
|
], User.prototype, "freelancerCaseStudy", 2);
|
|
3394
3421
|
__decorateClass([
|
|
3395
|
-
(0,
|
|
3422
|
+
(0, import_typeorm41.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
|
|
3396
3423
|
], User.prototype, "freelancerTool", 2);
|
|
3397
3424
|
__decorateClass([
|
|
3398
|
-
(0,
|
|
3425
|
+
(0, import_typeorm41.OneToMany)(() => FreelancerFramework, (freelancerFramework) => freelancerFramework.user)
|
|
3399
3426
|
], User.prototype, "freelancerFramework", 2);
|
|
3400
3427
|
__decorateClass([
|
|
3401
|
-
(0,
|
|
3428
|
+
(0, import_typeorm41.OneToOne)(() => FreelancerDeclaration, (freelancerDeclaration) => freelancerDeclaration.user)
|
|
3402
3429
|
], User.prototype, "freelancerDeclaration", 2);
|
|
3403
3430
|
__decorateClass([
|
|
3404
|
-
(0,
|
|
3431
|
+
(0, import_typeorm41.OneToMany)(() => Job, (job) => job.user)
|
|
3405
3432
|
], User.prototype, "jobs", 2);
|
|
3406
3433
|
__decorateClass([
|
|
3407
|
-
(0,
|
|
3434
|
+
(0, import_typeorm41.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
|
|
3408
3435
|
], User.prototype, "jobApplications", 2);
|
|
3409
3436
|
__decorateClass([
|
|
3410
|
-
(0,
|
|
3437
|
+
(0, import_typeorm41.OneToMany)(() => Interview, (interview) => interview.user)
|
|
3411
3438
|
], User.prototype, "interviews", 2);
|
|
3412
3439
|
__decorateClass([
|
|
3413
|
-
(0,
|
|
3440
|
+
(0, import_typeorm41.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
|
|
3414
3441
|
], User.prototype, "bankDetail", 2);
|
|
3415
3442
|
__decorateClass([
|
|
3416
|
-
(0,
|
|
3443
|
+
(0, import_typeorm41.OneToMany)(() => SystemPreference, (systemPreference) => systemPreference.user)
|
|
3417
3444
|
], User.prototype, "systemPreference", 2);
|
|
3418
3445
|
__decorateClass([
|
|
3419
|
-
(0,
|
|
3446
|
+
(0, import_typeorm41.OneToMany)(() => Rating, (rating) => rating.reviewer)
|
|
3420
3447
|
], User.prototype, "givenRatings", 2);
|
|
3421
3448
|
__decorateClass([
|
|
3422
|
-
(0,
|
|
3449
|
+
(0, import_typeorm41.OneToMany)(() => Rating, (rating) => rating.reviewee)
|
|
3423
3450
|
], User.prototype, "receivedRatings", 2);
|
|
3424
3451
|
__decorateClass([
|
|
3425
|
-
(0,
|
|
3426
|
-
], User.prototype, "
|
|
3452
|
+
(0, import_typeorm41.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
|
|
3453
|
+
], User.prototype, "adminUserRoles", 2);
|
|
3427
3454
|
User = __decorateClass([
|
|
3428
|
-
(0,
|
|
3455
|
+
(0, import_typeorm41.Entity)("users")
|
|
3429
3456
|
], User);
|
|
3430
3457
|
|
|
3431
3458
|
// src/entities/rating.entity.ts
|
|
@@ -3437,36 +3464,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
|
|
|
3437
3464
|
var Rating = class extends BaseEntity {
|
|
3438
3465
|
};
|
|
3439
3466
|
__decorateClass([
|
|
3440
|
-
(0,
|
|
3441
|
-
(0,
|
|
3467
|
+
(0, import_typeorm42.Column)({ name: "reviewer_id", type: "integer" }),
|
|
3468
|
+
(0, import_typeorm42.Index)()
|
|
3442
3469
|
], Rating.prototype, "reviewer_id", 2);
|
|
3443
3470
|
__decorateClass([
|
|
3444
|
-
(0,
|
|
3445
|
-
(0,
|
|
3471
|
+
(0, import_typeorm42.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
3472
|
+
(0, import_typeorm42.JoinColumn)({ name: "reviewer_id" })
|
|
3446
3473
|
], Rating.prototype, "reviewer", 2);
|
|
3447
3474
|
__decorateClass([
|
|
3448
|
-
(0,
|
|
3449
|
-
(0,
|
|
3475
|
+
(0, import_typeorm42.Column)({ name: "reviewee_id", type: "integer" }),
|
|
3476
|
+
(0, import_typeorm42.Index)()
|
|
3450
3477
|
], Rating.prototype, "reviewee_id", 2);
|
|
3451
3478
|
__decorateClass([
|
|
3452
|
-
(0,
|
|
3453
|
-
(0,
|
|
3479
|
+
(0, import_typeorm42.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
3480
|
+
(0, import_typeorm42.JoinColumn)({ name: "reviewee_id" })
|
|
3454
3481
|
], Rating.prototype, "reviewee", 2);
|
|
3455
3482
|
__decorateClass([
|
|
3456
|
-
(0,
|
|
3483
|
+
(0, import_typeorm42.Column)({
|
|
3457
3484
|
type: "enum",
|
|
3458
3485
|
enum: RatingTypeEnum,
|
|
3459
3486
|
nullable: true
|
|
3460
3487
|
})
|
|
3461
3488
|
], Rating.prototype, "ratingType", 2);
|
|
3462
3489
|
__decorateClass([
|
|
3463
|
-
(0,
|
|
3490
|
+
(0, import_typeorm42.Column)({ type: "integer", nullable: true })
|
|
3464
3491
|
], Rating.prototype, "rating", 2);
|
|
3465
3492
|
__decorateClass([
|
|
3466
|
-
(0,
|
|
3493
|
+
(0, import_typeorm42.Column)({ type: "text", nullable: true })
|
|
3467
3494
|
], Rating.prototype, "review", 2);
|
|
3468
3495
|
Rating = __decorateClass([
|
|
3469
|
-
(0,
|
|
3496
|
+
(0, import_typeorm42.Entity)("ratings")
|
|
3470
3497
|
], Rating);
|
|
3471
3498
|
|
|
3472
3499
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -4740,11 +4767,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
4740
4767
|
};
|
|
4741
4768
|
|
|
4742
4769
|
// src/entities/sequence-generator.entity.ts
|
|
4743
|
-
var
|
|
4770
|
+
var import_typeorm43 = require("typeorm");
|
|
4744
4771
|
var SequenceGenerator = class extends BaseEntity {
|
|
4745
4772
|
};
|
|
4746
4773
|
__decorateClass([
|
|
4747
|
-
(0,
|
|
4774
|
+
(0, import_typeorm43.Column)({
|
|
4748
4775
|
name: "module",
|
|
4749
4776
|
type: "varchar",
|
|
4750
4777
|
length: 50,
|
|
@@ -4753,7 +4780,7 @@ __decorateClass([
|
|
|
4753
4780
|
})
|
|
4754
4781
|
], SequenceGenerator.prototype, "module", 2);
|
|
4755
4782
|
__decorateClass([
|
|
4756
|
-
(0,
|
|
4783
|
+
(0, import_typeorm43.Column)({
|
|
4757
4784
|
name: "prefix",
|
|
4758
4785
|
type: "varchar",
|
|
4759
4786
|
length: 10,
|
|
@@ -4762,7 +4789,7 @@ __decorateClass([
|
|
|
4762
4789
|
})
|
|
4763
4790
|
], SequenceGenerator.prototype, "prefix", 2);
|
|
4764
4791
|
__decorateClass([
|
|
4765
|
-
(0,
|
|
4792
|
+
(0, import_typeorm43.Column)({
|
|
4766
4793
|
name: "last_sequence",
|
|
4767
4794
|
type: "int",
|
|
4768
4795
|
nullable: false,
|
|
@@ -4770,7 +4797,7 @@ __decorateClass([
|
|
|
4770
4797
|
})
|
|
4771
4798
|
], SequenceGenerator.prototype, "lastSequence", 2);
|
|
4772
4799
|
__decorateClass([
|
|
4773
|
-
(0,
|
|
4800
|
+
(0, import_typeorm43.Column)({
|
|
4774
4801
|
name: "year",
|
|
4775
4802
|
type: "int",
|
|
4776
4803
|
nullable: true,
|
|
@@ -4778,11 +4805,11 @@ __decorateClass([
|
|
|
4778
4805
|
})
|
|
4779
4806
|
], SequenceGenerator.prototype, "year", 2);
|
|
4780
4807
|
SequenceGenerator = __decorateClass([
|
|
4781
|
-
(0,
|
|
4808
|
+
(0, import_typeorm43.Entity)("sequence_generators")
|
|
4782
4809
|
], SequenceGenerator);
|
|
4783
4810
|
|
|
4784
4811
|
// src/entities/question.entity.ts
|
|
4785
|
-
var
|
|
4812
|
+
var import_typeorm44 = require("typeorm");
|
|
4786
4813
|
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
4787
4814
|
QuestionFor2["CLIENT"] = "CLIENT";
|
|
4788
4815
|
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
@@ -4791,16 +4818,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
|
4791
4818
|
var Question = class extends BaseEntity {
|
|
4792
4819
|
};
|
|
4793
4820
|
__decorateClass([
|
|
4794
|
-
(0,
|
|
4821
|
+
(0, import_typeorm44.Column)({ name: "question", type: "varchar" })
|
|
4795
4822
|
], Question.prototype, "question", 2);
|
|
4796
4823
|
__decorateClass([
|
|
4797
|
-
(0,
|
|
4824
|
+
(0, import_typeorm44.Column)({ name: "hint", type: "varchar", nullable: true })
|
|
4798
4825
|
], Question.prototype, "hint", 2);
|
|
4799
4826
|
__decorateClass([
|
|
4800
|
-
(0,
|
|
4827
|
+
(0, import_typeorm44.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
4801
4828
|
], Question.prototype, "slug", 2);
|
|
4802
4829
|
__decorateClass([
|
|
4803
|
-
(0,
|
|
4830
|
+
(0, import_typeorm44.Column)({
|
|
4804
4831
|
name: "question_for",
|
|
4805
4832
|
type: "enum",
|
|
4806
4833
|
enum: QuestionFor,
|
|
@@ -4808,100 +4835,100 @@ __decorateClass([
|
|
|
4808
4835
|
})
|
|
4809
4836
|
], Question.prototype, "questionFor", 2);
|
|
4810
4837
|
__decorateClass([
|
|
4811
|
-
(0,
|
|
4838
|
+
(0, import_typeorm44.Column)({ name: "type", type: "varchar", nullable: true })
|
|
4812
4839
|
], Question.prototype, "type", 2);
|
|
4813
4840
|
__decorateClass([
|
|
4814
|
-
(0,
|
|
4841
|
+
(0, import_typeorm44.Column)({ name: "options", type: "jsonb", nullable: true })
|
|
4815
4842
|
], Question.prototype, "options", 2);
|
|
4816
4843
|
__decorateClass([
|
|
4817
|
-
(0,
|
|
4844
|
+
(0, import_typeorm44.Column)({ name: "is_active", type: "boolean", default: false })
|
|
4818
4845
|
], Question.prototype, "isActive", 2);
|
|
4819
4846
|
Question = __decorateClass([
|
|
4820
|
-
(0,
|
|
4847
|
+
(0, import_typeorm44.Entity)("questions")
|
|
4821
4848
|
], Question);
|
|
4822
4849
|
|
|
4823
4850
|
// src/entities/job-role.entity.ts
|
|
4824
|
-
var
|
|
4851
|
+
var import_typeorm45 = require("typeorm");
|
|
4825
4852
|
var JobRoles = class extends BaseEntity {
|
|
4826
4853
|
};
|
|
4827
4854
|
__decorateClass([
|
|
4828
|
-
(0,
|
|
4855
|
+
(0, import_typeorm45.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
4829
4856
|
], JobRoles.prototype, "slug", 2);
|
|
4830
4857
|
__decorateClass([
|
|
4831
|
-
(0,
|
|
4858
|
+
(0, import_typeorm45.Column)({ name: "name", type: "varchar", nullable: true })
|
|
4832
4859
|
], JobRoles.prototype, "name", 2);
|
|
4833
4860
|
__decorateClass([
|
|
4834
|
-
(0,
|
|
4861
|
+
(0, import_typeorm45.Column)({ name: "is_active", type: "boolean", default: true })
|
|
4835
4862
|
], JobRoles.prototype, "isActive", 2);
|
|
4836
4863
|
JobRoles = __decorateClass([
|
|
4837
|
-
(0,
|
|
4864
|
+
(0, import_typeorm45.Entity)("job_roles")
|
|
4838
4865
|
], JobRoles);
|
|
4839
4866
|
|
|
4840
4867
|
// src/entities/plan.entity.ts
|
|
4841
|
-
var
|
|
4868
|
+
var import_typeorm47 = require("typeorm");
|
|
4842
4869
|
|
|
4843
4870
|
// src/entities/feature.entity.ts
|
|
4844
|
-
var
|
|
4871
|
+
var import_typeorm46 = require("typeorm");
|
|
4845
4872
|
var Feature = class extends BaseEntity {
|
|
4846
4873
|
};
|
|
4847
4874
|
__decorateClass([
|
|
4848
|
-
(0,
|
|
4875
|
+
(0, import_typeorm46.Column)({ name: "name", type: "varchar", unique: true })
|
|
4849
4876
|
], Feature.prototype, "name", 2);
|
|
4850
4877
|
__decorateClass([
|
|
4851
|
-
(0,
|
|
4878
|
+
(0, import_typeorm46.ManyToMany)(() => Plan, (plan) => plan.features)
|
|
4852
4879
|
], Feature.prototype, "plans", 2);
|
|
4853
4880
|
Feature = __decorateClass([
|
|
4854
|
-
(0,
|
|
4881
|
+
(0, import_typeorm46.Entity)("features")
|
|
4855
4882
|
], Feature);
|
|
4856
4883
|
|
|
4857
4884
|
// src/entities/plan.entity.ts
|
|
4858
4885
|
var Plan = class extends BaseEntity {
|
|
4859
4886
|
};
|
|
4860
4887
|
__decorateClass([
|
|
4861
|
-
(0,
|
|
4888
|
+
(0, import_typeorm47.Column)({ name: "name", type: "varchar", unique: true })
|
|
4862
4889
|
], Plan.prototype, "name", 2);
|
|
4863
4890
|
__decorateClass([
|
|
4864
|
-
(0,
|
|
4891
|
+
(0, import_typeorm47.Column)({ name: "description", type: "varchar", nullable: true })
|
|
4865
4892
|
], Plan.prototype, "description", 2);
|
|
4866
4893
|
__decorateClass([
|
|
4867
|
-
(0,
|
|
4894
|
+
(0, import_typeorm47.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
4868
4895
|
], Plan.prototype, "price", 2);
|
|
4869
4896
|
__decorateClass([
|
|
4870
|
-
(0,
|
|
4897
|
+
(0, import_typeorm47.Column)({ name: "billing_period", type: "varchar" })
|
|
4871
4898
|
], Plan.prototype, "billingPeriod", 2);
|
|
4872
4899
|
__decorateClass([
|
|
4873
|
-
(0,
|
|
4900
|
+
(0, import_typeorm47.Column)({ name: "is_current", type: "boolean", default: false })
|
|
4874
4901
|
], Plan.prototype, "isCurrent", 2);
|
|
4875
4902
|
__decorateClass([
|
|
4876
|
-
(0,
|
|
4877
|
-
(0,
|
|
4903
|
+
(0, import_typeorm47.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
4904
|
+
(0, import_typeorm47.JoinTable)()
|
|
4878
4905
|
], Plan.prototype, "features", 2);
|
|
4879
4906
|
Plan = __decorateClass([
|
|
4880
|
-
(0,
|
|
4907
|
+
(0, import_typeorm47.Entity)("plans")
|
|
4881
4908
|
], Plan);
|
|
4882
4909
|
|
|
4883
4910
|
// src/entities/cms.entity.ts
|
|
4884
|
-
var
|
|
4911
|
+
var import_typeorm48 = require("typeorm");
|
|
4885
4912
|
var Cms = class extends BaseEntity {
|
|
4886
4913
|
};
|
|
4887
4914
|
__decorateClass([
|
|
4888
|
-
(0,
|
|
4915
|
+
(0, import_typeorm48.Column)({ name: "title", type: "varchar", nullable: true })
|
|
4889
4916
|
], Cms.prototype, "title", 2);
|
|
4890
4917
|
__decorateClass([
|
|
4891
|
-
(0,
|
|
4918
|
+
(0, import_typeorm48.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
4892
4919
|
], Cms.prototype, "slug", 2);
|
|
4893
4920
|
__decorateClass([
|
|
4894
|
-
(0,
|
|
4921
|
+
(0, import_typeorm48.Column)({ name: "content", type: "varchar", nullable: true })
|
|
4895
4922
|
], Cms.prototype, "content", 2);
|
|
4896
4923
|
__decorateClass([
|
|
4897
|
-
(0,
|
|
4924
|
+
(0, import_typeorm48.Column)({ name: "is_active", type: "boolean", default: true })
|
|
4898
4925
|
], Cms.prototype, "isActive", 2);
|
|
4899
4926
|
Cms = __decorateClass([
|
|
4900
|
-
(0,
|
|
4927
|
+
(0, import_typeorm48.Entity)("cms")
|
|
4901
4928
|
], Cms);
|
|
4902
4929
|
|
|
4903
4930
|
// src/entities/lead.entity.ts
|
|
4904
|
-
var
|
|
4931
|
+
var import_typeorm49 = require("typeorm");
|
|
4905
4932
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
4906
4933
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
4907
4934
|
CategoryEmum2["FREELANCER"] = "FREELANCER";
|
|
@@ -4910,22 +4937,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
4910
4937
|
var Lead = class extends BaseEntity {
|
|
4911
4938
|
};
|
|
4912
4939
|
__decorateClass([
|
|
4913
|
-
(0,
|
|
4940
|
+
(0, import_typeorm49.Column)({ name: "name", type: "varchar", nullable: true })
|
|
4914
4941
|
], Lead.prototype, "name", 2);
|
|
4915
4942
|
__decorateClass([
|
|
4916
|
-
(0,
|
|
4943
|
+
(0, import_typeorm49.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
4917
4944
|
], Lead.prototype, "mobileCode", 2);
|
|
4918
4945
|
__decorateClass([
|
|
4919
|
-
(0,
|
|
4946
|
+
(0, import_typeorm49.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
4920
4947
|
], Lead.prototype, "mobile", 2);
|
|
4921
4948
|
__decorateClass([
|
|
4922
|
-
(0,
|
|
4949
|
+
(0, import_typeorm49.Column)({ name: "email", type: "varchar", nullable: true })
|
|
4923
4950
|
], Lead.prototype, "email", 2);
|
|
4924
4951
|
__decorateClass([
|
|
4925
|
-
(0,
|
|
4952
|
+
(0, import_typeorm49.Column)({ name: "description", type: "varchar", nullable: true })
|
|
4926
4953
|
], Lead.prototype, "description", 2);
|
|
4927
4954
|
__decorateClass([
|
|
4928
|
-
(0,
|
|
4955
|
+
(0, import_typeorm49.Column)({
|
|
4929
4956
|
name: "category",
|
|
4930
4957
|
type: "enum",
|
|
4931
4958
|
enum: CategoryEmum,
|
|
@@ -4933,99 +4960,99 @@ __decorateClass([
|
|
|
4933
4960
|
})
|
|
4934
4961
|
], Lead.prototype, "category", 2);
|
|
4935
4962
|
Lead = __decorateClass([
|
|
4936
|
-
(0,
|
|
4963
|
+
(0, import_typeorm49.Entity)("leads")
|
|
4937
4964
|
], Lead);
|
|
4938
4965
|
|
|
4939
4966
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
4940
|
-
var
|
|
4967
|
+
var import_typeorm50 = require("typeorm");
|
|
4941
4968
|
var JobFreelancerRecommendation = class {
|
|
4942
4969
|
};
|
|
4943
4970
|
__decorateClass([
|
|
4944
|
-
(0,
|
|
4971
|
+
(0, import_typeorm50.ViewColumn)({ name: "job_id" })
|
|
4945
4972
|
], JobFreelancerRecommendation.prototype, "jobId", 2);
|
|
4946
4973
|
__decorateClass([
|
|
4947
|
-
(0,
|
|
4974
|
+
(0, import_typeorm50.ViewColumn)({ name: "job_uuid" })
|
|
4948
4975
|
], JobFreelancerRecommendation.prototype, "jobUuid", 2);
|
|
4949
4976
|
__decorateClass([
|
|
4950
|
-
(0,
|
|
4977
|
+
(0, import_typeorm50.ViewColumn)({ name: "job_unique_id" })
|
|
4951
4978
|
], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
|
|
4952
4979
|
__decorateClass([
|
|
4953
|
-
(0,
|
|
4980
|
+
(0, import_typeorm50.ViewColumn)({ name: "job_role" })
|
|
4954
4981
|
], JobFreelancerRecommendation.prototype, "jobRole", 2);
|
|
4955
4982
|
__decorateClass([
|
|
4956
|
-
(0,
|
|
4983
|
+
(0, import_typeorm50.ViewColumn)({ name: "job_openings" })
|
|
4957
4984
|
], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
|
|
4958
4985
|
__decorateClass([
|
|
4959
|
-
(0,
|
|
4986
|
+
(0, import_typeorm50.ViewColumn)({ name: "job_location" })
|
|
4960
4987
|
], JobFreelancerRecommendation.prototype, "jobLocation", 2);
|
|
4961
4988
|
__decorateClass([
|
|
4962
|
-
(0,
|
|
4989
|
+
(0, import_typeorm50.ViewColumn)({ name: "job_employment_type" })
|
|
4963
4990
|
], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
|
|
4964
4991
|
__decorateClass([
|
|
4965
|
-
(0,
|
|
4992
|
+
(0, import_typeorm50.ViewColumn)({ name: "application_received" })
|
|
4966
4993
|
], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
|
|
4967
4994
|
__decorateClass([
|
|
4968
|
-
(0,
|
|
4995
|
+
(0, import_typeorm50.ViewColumn)({ name: "job_posted_at" })
|
|
4969
4996
|
], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
|
|
4970
4997
|
__decorateClass([
|
|
4971
|
-
(0,
|
|
4998
|
+
(0, import_typeorm50.ViewColumn)({ name: "freelancer_id" })
|
|
4972
4999
|
], JobFreelancerRecommendation.prototype, "freelancerId", 2);
|
|
4973
5000
|
__decorateClass([
|
|
4974
|
-
(0,
|
|
5001
|
+
(0, import_typeorm50.ViewColumn)({ name: "freelancer_uuid" })
|
|
4975
5002
|
], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
|
|
4976
5003
|
__decorateClass([
|
|
4977
|
-
(0,
|
|
5004
|
+
(0, import_typeorm50.ViewColumn)({ name: "freelancer_unique_id" })
|
|
4978
5005
|
], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
|
|
4979
5006
|
__decorateClass([
|
|
4980
|
-
(0,
|
|
5007
|
+
(0, import_typeorm50.ViewColumn)({ name: "freelancer_first_name" })
|
|
4981
5008
|
], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
|
|
4982
5009
|
__decorateClass([
|
|
4983
|
-
(0,
|
|
5010
|
+
(0, import_typeorm50.ViewColumn)({ name: "freelancer_last_name" })
|
|
4984
5011
|
], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
|
|
4985
5012
|
__decorateClass([
|
|
4986
|
-
(0,
|
|
5013
|
+
(0, import_typeorm50.ViewColumn)({ name: "freelancer_email" })
|
|
4987
5014
|
], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
|
|
4988
5015
|
__decorateClass([
|
|
4989
|
-
(0,
|
|
5016
|
+
(0, import_typeorm50.ViewColumn)({ name: "freelancer_profile_picture" })
|
|
4990
5017
|
], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
|
|
4991
5018
|
__decorateClass([
|
|
4992
|
-
(0,
|
|
5019
|
+
(0, import_typeorm50.ViewColumn)({ name: "freelancer_created_at" })
|
|
4993
5020
|
], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
|
|
4994
5021
|
__decorateClass([
|
|
4995
|
-
(0,
|
|
5022
|
+
(0, import_typeorm50.ViewColumn)({ name: "client_id" })
|
|
4996
5023
|
], JobFreelancerRecommendation.prototype, "clientId", 2);
|
|
4997
5024
|
__decorateClass([
|
|
4998
|
-
(0,
|
|
5025
|
+
(0, import_typeorm50.ViewColumn)({ name: "client_uuid" })
|
|
4999
5026
|
], JobFreelancerRecommendation.prototype, "clientUuid", 2);
|
|
5000
5027
|
__decorateClass([
|
|
5001
|
-
(0,
|
|
5028
|
+
(0, import_typeorm50.ViewColumn)({ name: "client_first_name" })
|
|
5002
5029
|
], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
|
|
5003
5030
|
__decorateClass([
|
|
5004
|
-
(0,
|
|
5031
|
+
(0, import_typeorm50.ViewColumn)({ name: "client_last_name" })
|
|
5005
5032
|
], JobFreelancerRecommendation.prototype, "clientLastName", 2);
|
|
5006
5033
|
__decorateClass([
|
|
5007
|
-
(0,
|
|
5034
|
+
(0, import_typeorm50.ViewColumn)({ name: "client_email" })
|
|
5008
5035
|
], JobFreelancerRecommendation.prototype, "clientEmail", 2);
|
|
5009
5036
|
__decorateClass([
|
|
5010
|
-
(0,
|
|
5037
|
+
(0, import_typeorm50.ViewColumn)({ name: "client_company_logo" })
|
|
5011
5038
|
], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
|
|
5012
5039
|
__decorateClass([
|
|
5013
|
-
(0,
|
|
5040
|
+
(0, import_typeorm50.ViewColumn)({ name: "client_company_name" })
|
|
5014
5041
|
], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
|
|
5015
5042
|
__decorateClass([
|
|
5016
|
-
(0,
|
|
5043
|
+
(0, import_typeorm50.ViewColumn)({ name: "matching_skills" })
|
|
5017
5044
|
], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
|
|
5018
5045
|
__decorateClass([
|
|
5019
|
-
(0,
|
|
5046
|
+
(0, import_typeorm50.ViewColumn)({ name: "matching_skills_count" })
|
|
5020
5047
|
], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
|
|
5021
5048
|
__decorateClass([
|
|
5022
|
-
(0,
|
|
5049
|
+
(0, import_typeorm50.ViewColumn)({ name: "required_skills" })
|
|
5023
5050
|
], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
|
|
5024
5051
|
__decorateClass([
|
|
5025
|
-
(0,
|
|
5052
|
+
(0, import_typeorm50.ViewColumn)({ name: "required_skills_count" })
|
|
5026
5053
|
], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
|
|
5027
5054
|
JobFreelancerRecommendation = __decorateClass([
|
|
5028
|
-
(0,
|
|
5055
|
+
(0, import_typeorm50.ViewEntity)({
|
|
5029
5056
|
name: "job_freelancer_recommendations",
|
|
5030
5057
|
materialized: true,
|
|
5031
5058
|
synchronize: false
|
|
@@ -5046,6 +5073,7 @@ JobFreelancerRecommendation = __decorateClass([
|
|
|
5046
5073
|
AdminRole,
|
|
5047
5074
|
AdminRolePermission,
|
|
5048
5075
|
AdminUpdateJobInformationDto,
|
|
5076
|
+
AdminUserRole,
|
|
5049
5077
|
AiAssessmentStatusEnum,
|
|
5050
5078
|
AnswerTypeEnum,
|
|
5051
5079
|
ApplicationStatusEnum,
|
|
@@ -5128,6 +5156,7 @@ JobFreelancerRecommendation = __decorateClass([
|
|
|
5128
5156
|
FreelancerProfileQuestionDto,
|
|
5129
5157
|
FreelancerProject,
|
|
5130
5158
|
FreelancerProjectDto,
|
|
5159
|
+
FreelancerResume,
|
|
5131
5160
|
FreelancerSkill,
|
|
5132
5161
|
FreelancerSkillDto,
|
|
5133
5162
|
FreelancerSkipAiAssessmentDto,
|
|
@@ -5232,7 +5261,6 @@ JobFreelancerRecommendation = __decorateClass([
|
|
|
5232
5261
|
UpdateSubAdminDto,
|
|
5233
5262
|
User,
|
|
5234
5263
|
UserRMQAdapter,
|
|
5235
|
-
UserRole,
|
|
5236
5264
|
UserTCPAdapter,
|
|
5237
5265
|
VerifyGuestOtpDto,
|
|
5238
5266
|
VerifyGuestOtpPurposeEnum
|