@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.mjs
CHANGED
|
@@ -1198,17 +1198,17 @@ import {
|
|
|
1198
1198
|
} from "class-validator";
|
|
1199
1199
|
|
|
1200
1200
|
// src/entities/rating.entity.ts
|
|
1201
|
-
import { Entity as
|
|
1201
|
+
import { Entity as Entity41, Column as Column42, ManyToOne as ManyToOne35, JoinColumn as JoinColumn35, Index as Index34 } from "typeorm";
|
|
1202
1202
|
|
|
1203
1203
|
// src/entities/user.entity.ts
|
|
1204
1204
|
import {
|
|
1205
|
-
Entity as
|
|
1206
|
-
Column as
|
|
1205
|
+
Entity as Entity40,
|
|
1206
|
+
Column as Column41,
|
|
1207
1207
|
OneToMany as OneToMany15,
|
|
1208
1208
|
OneToOne,
|
|
1209
|
-
Index as
|
|
1210
|
-
ManyToOne as
|
|
1211
|
-
JoinColumn as
|
|
1209
|
+
Index as Index33,
|
|
1210
|
+
ManyToOne as ManyToOne34,
|
|
1211
|
+
JoinColumn as JoinColumn34
|
|
1212
1212
|
} from "typeorm";
|
|
1213
1213
|
|
|
1214
1214
|
// src/entities/base.entity.ts
|
|
@@ -3145,7 +3145,7 @@ CompanySkill = __decorateClass([
|
|
|
3145
3145
|
Entity34("company_skills")
|
|
3146
3146
|
], CompanySkill);
|
|
3147
3147
|
|
|
3148
|
-
// src/entities/user-role.entity.ts
|
|
3148
|
+
// src/entities/admin-user-role.entity.ts
|
|
3149
3149
|
import { Entity as Entity38, Column as Column39, ManyToOne as ManyToOne32, JoinColumn as JoinColumn32 } from "typeorm";
|
|
3150
3150
|
|
|
3151
3151
|
// src/entities/admin-role.entity.ts
|
|
@@ -3243,14 +3243,14 @@ __decorateClass([
|
|
|
3243
3243
|
)
|
|
3244
3244
|
], AdminRole.prototype, "adminRolePermission", 2);
|
|
3245
3245
|
__decorateClass([
|
|
3246
|
-
OneToMany14(() =>
|
|
3246
|
+
OneToMany14(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
|
|
3247
3247
|
], AdminRole.prototype, "userRoles", 2);
|
|
3248
3248
|
AdminRole = __decorateClass([
|
|
3249
3249
|
Entity37("admin_roles")
|
|
3250
3250
|
], AdminRole);
|
|
3251
3251
|
|
|
3252
|
-
// src/entities/user-role.entity.ts
|
|
3253
|
-
var
|
|
3252
|
+
// src/entities/admin-user-role.entity.ts
|
|
3253
|
+
var AdminUserRole = class extends BaseEntity {
|
|
3254
3254
|
};
|
|
3255
3255
|
__decorateClass([
|
|
3256
3256
|
Column39({
|
|
@@ -3259,11 +3259,11 @@ __decorateClass([
|
|
|
3259
3259
|
nullable: true,
|
|
3260
3260
|
comment: "Id of particular user"
|
|
3261
3261
|
})
|
|
3262
|
-
],
|
|
3262
|
+
], AdminUserRole.prototype, "userId", 2);
|
|
3263
3263
|
__decorateClass([
|
|
3264
3264
|
ManyToOne32(() => User),
|
|
3265
3265
|
JoinColumn32({ name: "user_id" })
|
|
3266
|
-
],
|
|
3266
|
+
], AdminUserRole.prototype, "user", 2);
|
|
3267
3267
|
__decorateClass([
|
|
3268
3268
|
Column39({
|
|
3269
3269
|
name: "role_id",
|
|
@@ -3271,14 +3271,43 @@ __decorateClass([
|
|
|
3271
3271
|
nullable: true,
|
|
3272
3272
|
comment: "Id of particular role"
|
|
3273
3273
|
})
|
|
3274
|
-
],
|
|
3274
|
+
], AdminUserRole.prototype, "roleId", 2);
|
|
3275
3275
|
__decorateClass([
|
|
3276
3276
|
ManyToOne32(() => AdminRole),
|
|
3277
3277
|
JoinColumn32({ name: "role_id" })
|
|
3278
|
-
],
|
|
3279
|
-
|
|
3280
|
-
Entity38("
|
|
3281
|
-
],
|
|
3278
|
+
], AdminUserRole.prototype, "adminRole", 2);
|
|
3279
|
+
AdminUserRole = __decorateClass([
|
|
3280
|
+
Entity38("admin_user_roles")
|
|
3281
|
+
], AdminUserRole);
|
|
3282
|
+
|
|
3283
|
+
// src/entities/freelancer-resumes.entity.ts
|
|
3284
|
+
import {
|
|
3285
|
+
Entity as Entity39,
|
|
3286
|
+
Column as Column40,
|
|
3287
|
+
Index as Index32,
|
|
3288
|
+
ManyToOne as ManyToOne33,
|
|
3289
|
+
JoinColumn as JoinColumn33
|
|
3290
|
+
} from "typeorm";
|
|
3291
|
+
var FreelancerResume = class extends BaseEntity {
|
|
3292
|
+
};
|
|
3293
|
+
// individual index to find profile by user
|
|
3294
|
+
__decorateClass([
|
|
3295
|
+
Column40({ name: "user_id", type: "integer", nullable: true }),
|
|
3296
|
+
Index32()
|
|
3297
|
+
], FreelancerResume.prototype, "userId", 2);
|
|
3298
|
+
__decorateClass([
|
|
3299
|
+
ManyToOne33(() => User, (user) => user.freelancerProfile),
|
|
3300
|
+
JoinColumn33({ name: "user_id" })
|
|
3301
|
+
], FreelancerResume.prototype, "user", 2);
|
|
3302
|
+
__decorateClass([
|
|
3303
|
+
Column40({ name: "resume_data", type: "jsonb", nullable: true })
|
|
3304
|
+
], FreelancerResume.prototype, "resumeData", 2);
|
|
3305
|
+
__decorateClass([
|
|
3306
|
+
Column40({ name: "processed_resume_data", type: "jsonb", nullable: true })
|
|
3307
|
+
], FreelancerResume.prototype, "processedResumeData", 2);
|
|
3308
|
+
FreelancerResume = __decorateClass([
|
|
3309
|
+
Entity39("freelancer_resumes")
|
|
3310
|
+
], FreelancerResume);
|
|
3282
3311
|
|
|
3283
3312
|
// src/entities/user.entity.ts
|
|
3284
3313
|
var AccountType = /* @__PURE__ */ ((AccountType2) => {
|
|
@@ -3305,51 +3334,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
|
3305
3334
|
var User = class extends BaseEntity {
|
|
3306
3335
|
};
|
|
3307
3336
|
__decorateClass([
|
|
3308
|
-
|
|
3337
|
+
Column41({ name: "unique_id", type: "varchar", unique: true })
|
|
3309
3338
|
], User.prototype, "uniqueId", 2);
|
|
3310
3339
|
__decorateClass([
|
|
3311
|
-
|
|
3312
|
-
|
|
3340
|
+
Column41({ name: "parent_id", type: "integer", nullable: true }),
|
|
3341
|
+
Index33()
|
|
3313
3342
|
], User.prototype, "parentId", 2);
|
|
3314
3343
|
__decorateClass([
|
|
3315
|
-
|
|
3316
|
-
|
|
3344
|
+
ManyToOne34(() => User, (user) => user.children, { nullable: true }),
|
|
3345
|
+
JoinColumn34({ name: "parent_id" })
|
|
3317
3346
|
], User.prototype, "parent", 2);
|
|
3318
3347
|
__decorateClass([
|
|
3319
3348
|
OneToMany15(() => User, (user) => user.parent)
|
|
3320
3349
|
], User.prototype, "children", 2);
|
|
3321
3350
|
__decorateClass([
|
|
3322
|
-
|
|
3351
|
+
Column41({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
3323
3352
|
], User.prototype, "username", 2);
|
|
3324
3353
|
__decorateClass([
|
|
3325
|
-
|
|
3354
|
+
Column41({ name: "first_name", type: "varchar", length: 100, nullable: true })
|
|
3326
3355
|
], User.prototype, "firstName", 2);
|
|
3327
3356
|
__decorateClass([
|
|
3328
|
-
|
|
3357
|
+
Column41({ name: "last_name", type: "varchar", length: 100, nullable: true })
|
|
3329
3358
|
], User.prototype, "lastName", 2);
|
|
3330
3359
|
__decorateClass([
|
|
3331
|
-
|
|
3360
|
+
Column41({ name: "date_of_birth", type: "date", nullable: true })
|
|
3332
3361
|
], User.prototype, "dateOfBirth", 2);
|
|
3333
3362
|
__decorateClass([
|
|
3334
|
-
|
|
3363
|
+
Column41({ name: "gender", type: "varchar", length: 10, nullable: true })
|
|
3335
3364
|
], User.prototype, "gender", 2);
|
|
3336
3365
|
__decorateClass([
|
|
3337
|
-
|
|
3366
|
+
Column41({ name: "profile_picture_url", type: "text", nullable: true })
|
|
3338
3367
|
], User.prototype, "profilePictureUrl", 2);
|
|
3339
3368
|
__decorateClass([
|
|
3340
|
-
|
|
3369
|
+
Column41({ name: "email", type: "varchar", unique: true })
|
|
3341
3370
|
], User.prototype, "email", 2);
|
|
3342
3371
|
__decorateClass([
|
|
3343
|
-
|
|
3372
|
+
Column41({ name: "mobile_code", type: "varchar", nullable: true })
|
|
3344
3373
|
], User.prototype, "mobileCode", 2);
|
|
3345
3374
|
__decorateClass([
|
|
3346
|
-
|
|
3375
|
+
Column41({ name: "mobile", type: "varchar", nullable: true })
|
|
3347
3376
|
], User.prototype, "mobile", 2);
|
|
3348
3377
|
__decorateClass([
|
|
3349
|
-
|
|
3378
|
+
Column41({ name: "password", type: "varchar", nullable: true })
|
|
3350
3379
|
], User.prototype, "password", 2);
|
|
3351
3380
|
__decorateClass([
|
|
3352
|
-
|
|
3381
|
+
Column41({
|
|
3353
3382
|
name: "account_type",
|
|
3354
3383
|
type: "enum",
|
|
3355
3384
|
enum: AccountType,
|
|
@@ -3357,7 +3386,7 @@ __decorateClass([
|
|
|
3357
3386
|
})
|
|
3358
3387
|
], User.prototype, "accountType", 2);
|
|
3359
3388
|
__decorateClass([
|
|
3360
|
-
|
|
3389
|
+
Column41({
|
|
3361
3390
|
name: "account_status",
|
|
3362
3391
|
type: "enum",
|
|
3363
3392
|
enum: AccountStatus,
|
|
@@ -3365,26 +3394,26 @@ __decorateClass([
|
|
|
3365
3394
|
})
|
|
3366
3395
|
], User.prototype, "accountStatus", 2);
|
|
3367
3396
|
__decorateClass([
|
|
3368
|
-
|
|
3397
|
+
Column41({ name: "is_email_verified", type: "boolean", default: false })
|
|
3369
3398
|
], User.prototype, "isEmailVerified", 2);
|
|
3370
3399
|
__decorateClass([
|
|
3371
|
-
|
|
3400
|
+
Column41({ name: "is_mobile_verified", type: "boolean", default: false })
|
|
3372
3401
|
], User.prototype, "isMobileVerified", 2);
|
|
3373
3402
|
__decorateClass([
|
|
3374
|
-
|
|
3403
|
+
Column41({
|
|
3375
3404
|
name: "last_login_at",
|
|
3376
3405
|
type: "timestamp with time zone",
|
|
3377
3406
|
nullable: true
|
|
3378
3407
|
})
|
|
3379
3408
|
], User.prototype, "lastLoginAt", 2);
|
|
3380
3409
|
__decorateClass([
|
|
3381
|
-
|
|
3410
|
+
Column41({ name: "last_login_ip", type: "varchar", nullable: true })
|
|
3382
3411
|
], User.prototype, "lastLoginIp", 2);
|
|
3383
3412
|
__decorateClass([
|
|
3384
|
-
|
|
3413
|
+
Column41({ name: "reset_token", type: "varchar", nullable: true })
|
|
3385
3414
|
], User.prototype, "resetToken", 2);
|
|
3386
3415
|
__decorateClass([
|
|
3387
|
-
|
|
3416
|
+
Column41({
|
|
3388
3417
|
name: "reset_token_expire_at",
|
|
3389
3418
|
type: "timestamp with time zone",
|
|
3390
3419
|
nullable: true
|
|
@@ -3394,7 +3423,7 @@ __decorateClass([
|
|
|
3394
3423
|
OneToMany15(() => RefreshToken, (token) => token.user)
|
|
3395
3424
|
], User.prototype, "refreshTokens", 2);
|
|
3396
3425
|
__decorateClass([
|
|
3397
|
-
|
|
3426
|
+
Column41({
|
|
3398
3427
|
name: "provider",
|
|
3399
3428
|
type: "enum",
|
|
3400
3429
|
enum: Provider,
|
|
@@ -3403,16 +3432,16 @@ __decorateClass([
|
|
|
3403
3432
|
})
|
|
3404
3433
|
], User.prototype, "provider", 2);
|
|
3405
3434
|
__decorateClass([
|
|
3406
|
-
|
|
3435
|
+
Column41({ name: "provider_token", type: "varchar", nullable: true })
|
|
3407
3436
|
], User.prototype, "providerToken", 2);
|
|
3408
3437
|
__decorateClass([
|
|
3409
|
-
|
|
3438
|
+
Column41({ name: "linkedin_id", type: "varchar", nullable: true })
|
|
3410
3439
|
], User.prototype, "linkedInId", 2);
|
|
3411
3440
|
__decorateClass([
|
|
3412
|
-
|
|
3441
|
+
Column41({ name: "google_id", type: "varchar", nullable: true })
|
|
3413
3442
|
], User.prototype, "googleId", 2);
|
|
3414
3443
|
__decorateClass([
|
|
3415
|
-
|
|
3444
|
+
Column41({ name: "gitlabs_id", type: "varchar", nullable: true })
|
|
3416
3445
|
], User.prototype, "gitLabsId", 2);
|
|
3417
3446
|
__decorateClass([
|
|
3418
3447
|
OneToMany15(() => Otp, (otp) => otp.user)
|
|
@@ -3421,7 +3450,7 @@ __decorateClass([
|
|
|
3421
3450
|
OneToMany15(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
3422
3451
|
], User.prototype, "senseloafLogs", 2);
|
|
3423
3452
|
__decorateClass([
|
|
3424
|
-
OneToOne(() => CompanyProfile, (companyProfile) => companyProfile.user
|
|
3453
|
+
OneToOne(() => CompanyProfile, (companyProfile) => companyProfile.user)
|
|
3425
3454
|
], User.prototype, "companyProfile", 2);
|
|
3426
3455
|
__decorateClass([
|
|
3427
3456
|
OneToMany15(() => CompanySkill, (companySkill) => companySkill.user)
|
|
@@ -3430,8 +3459,11 @@ __decorateClass([
|
|
|
3430
3459
|
OneToMany15(() => CompanyMemberRole, (companyMemberRole) => companyMemberRole.user)
|
|
3431
3460
|
], User.prototype, "companyMemberRoles", 2);
|
|
3432
3461
|
__decorateClass([
|
|
3433
|
-
OneToOne(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user
|
|
3462
|
+
OneToOne(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user)
|
|
3434
3463
|
], User.prototype, "freelancerProfile", 2);
|
|
3464
|
+
__decorateClass([
|
|
3465
|
+
OneToOne(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
|
|
3466
|
+
], User.prototype, "freelancerResume", 2);
|
|
3435
3467
|
__decorateClass([
|
|
3436
3468
|
OneToMany15(() => FreelancerAssessment, (freelancerAssessment) => freelancerAssessment.user)
|
|
3437
3469
|
], User.prototype, "assessments", 2);
|
|
@@ -3484,10 +3516,10 @@ __decorateClass([
|
|
|
3484
3516
|
OneToMany15(() => Rating, (rating) => rating.reviewee)
|
|
3485
3517
|
], User.prototype, "receivedRatings", 2);
|
|
3486
3518
|
__decorateClass([
|
|
3487
|
-
OneToMany15(() =>
|
|
3488
|
-
], User.prototype, "
|
|
3519
|
+
OneToMany15(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
|
|
3520
|
+
], User.prototype, "adminUserRoles", 2);
|
|
3489
3521
|
User = __decorateClass([
|
|
3490
|
-
|
|
3522
|
+
Entity40("users")
|
|
3491
3523
|
], User);
|
|
3492
3524
|
|
|
3493
3525
|
// src/entities/rating.entity.ts
|
|
@@ -3499,36 +3531,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
|
|
|
3499
3531
|
var Rating = class extends BaseEntity {
|
|
3500
3532
|
};
|
|
3501
3533
|
__decorateClass([
|
|
3502
|
-
|
|
3503
|
-
|
|
3534
|
+
Column42({ name: "reviewer_id", type: "integer" }),
|
|
3535
|
+
Index34()
|
|
3504
3536
|
], Rating.prototype, "reviewer_id", 2);
|
|
3505
3537
|
__decorateClass([
|
|
3506
|
-
|
|
3507
|
-
|
|
3538
|
+
ManyToOne35(() => User, { onDelete: "CASCADE" }),
|
|
3539
|
+
JoinColumn35({ name: "reviewer_id" })
|
|
3508
3540
|
], Rating.prototype, "reviewer", 2);
|
|
3509
3541
|
__decorateClass([
|
|
3510
|
-
|
|
3511
|
-
|
|
3542
|
+
Column42({ name: "reviewee_id", type: "integer" }),
|
|
3543
|
+
Index34()
|
|
3512
3544
|
], Rating.prototype, "reviewee_id", 2);
|
|
3513
3545
|
__decorateClass([
|
|
3514
|
-
|
|
3515
|
-
|
|
3546
|
+
ManyToOne35(() => User, { onDelete: "CASCADE" }),
|
|
3547
|
+
JoinColumn35({ name: "reviewee_id" })
|
|
3516
3548
|
], Rating.prototype, "reviewee", 2);
|
|
3517
3549
|
__decorateClass([
|
|
3518
|
-
|
|
3550
|
+
Column42({
|
|
3519
3551
|
type: "enum",
|
|
3520
3552
|
enum: RatingTypeEnum,
|
|
3521
3553
|
nullable: true
|
|
3522
3554
|
})
|
|
3523
3555
|
], Rating.prototype, "ratingType", 2);
|
|
3524
3556
|
__decorateClass([
|
|
3525
|
-
|
|
3557
|
+
Column42({ type: "integer", nullable: true })
|
|
3526
3558
|
], Rating.prototype, "rating", 2);
|
|
3527
3559
|
__decorateClass([
|
|
3528
|
-
|
|
3560
|
+
Column42({ type: "text", nullable: true })
|
|
3529
3561
|
], Rating.prototype, "review", 2);
|
|
3530
3562
|
Rating = __decorateClass([
|
|
3531
|
-
|
|
3563
|
+
Entity41("ratings")
|
|
3532
3564
|
], Rating);
|
|
3533
3565
|
|
|
3534
3566
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -4879,11 +4911,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
4879
4911
|
};
|
|
4880
4912
|
|
|
4881
4913
|
// src/entities/sequence-generator.entity.ts
|
|
4882
|
-
import { Entity as
|
|
4914
|
+
import { Entity as Entity42, Column as Column43 } from "typeorm";
|
|
4883
4915
|
var SequenceGenerator = class extends BaseEntity {
|
|
4884
4916
|
};
|
|
4885
4917
|
__decorateClass([
|
|
4886
|
-
|
|
4918
|
+
Column43({
|
|
4887
4919
|
name: "module",
|
|
4888
4920
|
type: "varchar",
|
|
4889
4921
|
length: 50,
|
|
@@ -4892,7 +4924,7 @@ __decorateClass([
|
|
|
4892
4924
|
})
|
|
4893
4925
|
], SequenceGenerator.prototype, "module", 2);
|
|
4894
4926
|
__decorateClass([
|
|
4895
|
-
|
|
4927
|
+
Column43({
|
|
4896
4928
|
name: "prefix",
|
|
4897
4929
|
type: "varchar",
|
|
4898
4930
|
length: 10,
|
|
@@ -4901,7 +4933,7 @@ __decorateClass([
|
|
|
4901
4933
|
})
|
|
4902
4934
|
], SequenceGenerator.prototype, "prefix", 2);
|
|
4903
4935
|
__decorateClass([
|
|
4904
|
-
|
|
4936
|
+
Column43({
|
|
4905
4937
|
name: "last_sequence",
|
|
4906
4938
|
type: "int",
|
|
4907
4939
|
nullable: false,
|
|
@@ -4909,7 +4941,7 @@ __decorateClass([
|
|
|
4909
4941
|
})
|
|
4910
4942
|
], SequenceGenerator.prototype, "lastSequence", 2);
|
|
4911
4943
|
__decorateClass([
|
|
4912
|
-
|
|
4944
|
+
Column43({
|
|
4913
4945
|
name: "year",
|
|
4914
4946
|
type: "int",
|
|
4915
4947
|
nullable: true,
|
|
@@ -4917,11 +4949,11 @@ __decorateClass([
|
|
|
4917
4949
|
})
|
|
4918
4950
|
], SequenceGenerator.prototype, "year", 2);
|
|
4919
4951
|
SequenceGenerator = __decorateClass([
|
|
4920
|
-
|
|
4952
|
+
Entity42("sequence_generators")
|
|
4921
4953
|
], SequenceGenerator);
|
|
4922
4954
|
|
|
4923
4955
|
// src/entities/question.entity.ts
|
|
4924
|
-
import { Entity as
|
|
4956
|
+
import { Entity as Entity43, Column as Column44 } from "typeorm";
|
|
4925
4957
|
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
4926
4958
|
QuestionFor2["CLIENT"] = "CLIENT";
|
|
4927
4959
|
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
@@ -4930,16 +4962,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
|
4930
4962
|
var Question = class extends BaseEntity {
|
|
4931
4963
|
};
|
|
4932
4964
|
__decorateClass([
|
|
4933
|
-
|
|
4965
|
+
Column44({ name: "question", type: "varchar" })
|
|
4934
4966
|
], Question.prototype, "question", 2);
|
|
4935
4967
|
__decorateClass([
|
|
4936
|
-
|
|
4968
|
+
Column44({ name: "hint", type: "varchar", nullable: true })
|
|
4937
4969
|
], Question.prototype, "hint", 2);
|
|
4938
4970
|
__decorateClass([
|
|
4939
|
-
|
|
4971
|
+
Column44({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
4940
4972
|
], Question.prototype, "slug", 2);
|
|
4941
4973
|
__decorateClass([
|
|
4942
|
-
|
|
4974
|
+
Column44({
|
|
4943
4975
|
name: "question_for",
|
|
4944
4976
|
type: "enum",
|
|
4945
4977
|
enum: QuestionFor,
|
|
@@ -4947,102 +4979,102 @@ __decorateClass([
|
|
|
4947
4979
|
})
|
|
4948
4980
|
], Question.prototype, "questionFor", 2);
|
|
4949
4981
|
__decorateClass([
|
|
4950
|
-
|
|
4982
|
+
Column44({ name: "type", type: "varchar", nullable: true })
|
|
4951
4983
|
], Question.prototype, "type", 2);
|
|
4952
4984
|
__decorateClass([
|
|
4953
|
-
|
|
4985
|
+
Column44({ name: "options", type: "jsonb", nullable: true })
|
|
4954
4986
|
], Question.prototype, "options", 2);
|
|
4955
4987
|
__decorateClass([
|
|
4956
|
-
|
|
4988
|
+
Column44({ name: "is_active", type: "boolean", default: false })
|
|
4957
4989
|
], Question.prototype, "isActive", 2);
|
|
4958
4990
|
Question = __decorateClass([
|
|
4959
|
-
|
|
4991
|
+
Entity43("questions")
|
|
4960
4992
|
], Question);
|
|
4961
4993
|
|
|
4962
4994
|
// src/entities/job-role.entity.ts
|
|
4963
|
-
import { Entity as
|
|
4995
|
+
import { Entity as Entity44, Column as Column45 } from "typeorm";
|
|
4964
4996
|
var JobRoles = class extends BaseEntity {
|
|
4965
4997
|
};
|
|
4966
4998
|
__decorateClass([
|
|
4967
|
-
|
|
4999
|
+
Column45({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
4968
5000
|
], JobRoles.prototype, "slug", 2);
|
|
4969
5001
|
__decorateClass([
|
|
4970
|
-
|
|
5002
|
+
Column45({ name: "name", type: "varchar", nullable: true })
|
|
4971
5003
|
], JobRoles.prototype, "name", 2);
|
|
4972
5004
|
__decorateClass([
|
|
4973
|
-
|
|
5005
|
+
Column45({ name: "is_active", type: "boolean", default: true })
|
|
4974
5006
|
], JobRoles.prototype, "isActive", 2);
|
|
4975
5007
|
JobRoles = __decorateClass([
|
|
4976
|
-
|
|
5008
|
+
Entity44("job_roles")
|
|
4977
5009
|
], JobRoles);
|
|
4978
5010
|
|
|
4979
5011
|
// src/entities/plan.entity.ts
|
|
4980
|
-
import { Entity as
|
|
5012
|
+
import { Entity as Entity46, Column as Column47, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
|
|
4981
5013
|
|
|
4982
5014
|
// src/entities/feature.entity.ts
|
|
4983
|
-
import { Entity as
|
|
5015
|
+
import { Entity as Entity45, Column as Column46, ManyToMany as ManyToMany2 } from "typeorm";
|
|
4984
5016
|
var Feature = class extends BaseEntity {
|
|
4985
5017
|
};
|
|
4986
5018
|
__decorateClass([
|
|
4987
|
-
|
|
5019
|
+
Column46({ name: "name", type: "varchar", unique: true })
|
|
4988
5020
|
], Feature.prototype, "name", 2);
|
|
4989
5021
|
__decorateClass([
|
|
4990
5022
|
ManyToMany2(() => Plan, (plan) => plan.features)
|
|
4991
5023
|
], Feature.prototype, "plans", 2);
|
|
4992
5024
|
Feature = __decorateClass([
|
|
4993
|
-
|
|
5025
|
+
Entity45("features")
|
|
4994
5026
|
], Feature);
|
|
4995
5027
|
|
|
4996
5028
|
// src/entities/plan.entity.ts
|
|
4997
5029
|
var Plan = class extends BaseEntity {
|
|
4998
5030
|
};
|
|
4999
5031
|
__decorateClass([
|
|
5000
|
-
|
|
5032
|
+
Column47({ name: "name", type: "varchar", unique: true })
|
|
5001
5033
|
], Plan.prototype, "name", 2);
|
|
5002
5034
|
__decorateClass([
|
|
5003
|
-
|
|
5035
|
+
Column47({ name: "description", type: "varchar", nullable: true })
|
|
5004
5036
|
], Plan.prototype, "description", 2);
|
|
5005
5037
|
__decorateClass([
|
|
5006
|
-
|
|
5038
|
+
Column47({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
5007
5039
|
], Plan.prototype, "price", 2);
|
|
5008
5040
|
__decorateClass([
|
|
5009
|
-
|
|
5041
|
+
Column47({ name: "billing_period", type: "varchar" })
|
|
5010
5042
|
], Plan.prototype, "billingPeriod", 2);
|
|
5011
5043
|
__decorateClass([
|
|
5012
|
-
|
|
5044
|
+
Column47({ name: "is_current", type: "boolean", default: false })
|
|
5013
5045
|
], Plan.prototype, "isCurrent", 2);
|
|
5014
5046
|
__decorateClass([
|
|
5015
5047
|
ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
5016
5048
|
JoinTable()
|
|
5017
5049
|
], Plan.prototype, "features", 2);
|
|
5018
5050
|
Plan = __decorateClass([
|
|
5019
|
-
|
|
5051
|
+
Entity46("plans")
|
|
5020
5052
|
], Plan);
|
|
5021
5053
|
|
|
5022
5054
|
// src/entities/cms.entity.ts
|
|
5023
|
-
import { Entity as
|
|
5055
|
+
import { Entity as Entity47, Column as Column48 } from "typeorm";
|
|
5024
5056
|
var Cms = class extends BaseEntity {
|
|
5025
5057
|
};
|
|
5026
5058
|
__decorateClass([
|
|
5027
|
-
|
|
5059
|
+
Column48({ name: "title", type: "varchar", nullable: true })
|
|
5028
5060
|
], Cms.prototype, "title", 2);
|
|
5029
5061
|
__decorateClass([
|
|
5030
|
-
|
|
5062
|
+
Column48({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5031
5063
|
], Cms.prototype, "slug", 2);
|
|
5032
5064
|
__decorateClass([
|
|
5033
|
-
|
|
5065
|
+
Column48({ name: "content", type: "varchar", nullable: true })
|
|
5034
5066
|
], Cms.prototype, "content", 2);
|
|
5035
5067
|
__decorateClass([
|
|
5036
|
-
|
|
5068
|
+
Column48({ name: "is_active", type: "boolean", default: true })
|
|
5037
5069
|
], Cms.prototype, "isActive", 2);
|
|
5038
5070
|
Cms = __decorateClass([
|
|
5039
|
-
|
|
5071
|
+
Entity47("cms")
|
|
5040
5072
|
], Cms);
|
|
5041
5073
|
|
|
5042
5074
|
// src/entities/lead.entity.ts
|
|
5043
5075
|
import {
|
|
5044
|
-
Entity as
|
|
5045
|
-
Column as
|
|
5076
|
+
Entity as Entity48,
|
|
5077
|
+
Column as Column49
|
|
5046
5078
|
} from "typeorm";
|
|
5047
5079
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
5048
5080
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
@@ -5052,22 +5084,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
5052
5084
|
var Lead = class extends BaseEntity {
|
|
5053
5085
|
};
|
|
5054
5086
|
__decorateClass([
|
|
5055
|
-
|
|
5087
|
+
Column49({ name: "name", type: "varchar", nullable: true })
|
|
5056
5088
|
], Lead.prototype, "name", 2);
|
|
5057
5089
|
__decorateClass([
|
|
5058
|
-
|
|
5090
|
+
Column49({ name: "mobile_code", type: "varchar", nullable: true })
|
|
5059
5091
|
], Lead.prototype, "mobileCode", 2);
|
|
5060
5092
|
__decorateClass([
|
|
5061
|
-
|
|
5093
|
+
Column49({ name: "mobile", type: "varchar", nullable: true })
|
|
5062
5094
|
], Lead.prototype, "mobile", 2);
|
|
5063
5095
|
__decorateClass([
|
|
5064
|
-
|
|
5096
|
+
Column49({ name: "email", type: "varchar", nullable: true })
|
|
5065
5097
|
], Lead.prototype, "email", 2);
|
|
5066
5098
|
__decorateClass([
|
|
5067
|
-
|
|
5099
|
+
Column49({ name: "description", type: "varchar", nullable: true })
|
|
5068
5100
|
], Lead.prototype, "description", 2);
|
|
5069
5101
|
__decorateClass([
|
|
5070
|
-
|
|
5102
|
+
Column49({
|
|
5071
5103
|
name: "category",
|
|
5072
5104
|
type: "enum",
|
|
5073
5105
|
enum: CategoryEmum,
|
|
@@ -5075,7 +5107,7 @@ __decorateClass([
|
|
|
5075
5107
|
})
|
|
5076
5108
|
], Lead.prototype, "category", 2);
|
|
5077
5109
|
Lead = __decorateClass([
|
|
5078
|
-
|
|
5110
|
+
Entity48("leads")
|
|
5079
5111
|
], Lead);
|
|
5080
5112
|
|
|
5081
5113
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
@@ -5187,6 +5219,7 @@ export {
|
|
|
5187
5219
|
AdminRole,
|
|
5188
5220
|
AdminRolePermission,
|
|
5189
5221
|
AdminUpdateJobInformationDto,
|
|
5222
|
+
AdminUserRole,
|
|
5190
5223
|
AiAssessmentStatusEnum,
|
|
5191
5224
|
AnswerTypeEnum,
|
|
5192
5225
|
ApplicationStatusEnum,
|
|
@@ -5269,6 +5302,7 @@ export {
|
|
|
5269
5302
|
FreelancerProfileQuestionDto,
|
|
5270
5303
|
FreelancerProject,
|
|
5271
5304
|
FreelancerProjectDto,
|
|
5305
|
+
FreelancerResume,
|
|
5272
5306
|
FreelancerSkill,
|
|
5273
5307
|
FreelancerSkillDto,
|
|
5274
5308
|
FreelancerSkipAiAssessmentDto,
|
|
@@ -5373,7 +5407,6 @@ export {
|
|
|
5373
5407
|
UpdateSubAdminDto,
|
|
5374
5408
|
User,
|
|
5375
5409
|
UserRMQAdapter,
|
|
5376
|
-
UserRole,
|
|
5377
5410
|
UserTCPAdapter,
|
|
5378
5411
|
VerifyGuestOtpDto,
|
|
5379
5412
|
VerifyGuestOtpPurposeEnum
|