@experts_hub/shared 1.0.161 → 1.0.163

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/index.js CHANGED
@@ -55,24 +55,30 @@ __export(index_exports, {
55
55
  EducationDto: () => EducationDto,
56
56
  EmploymentType: () => EmploymentType,
57
57
  ExperienceDto: () => ExperienceDto,
58
+ FREELANCER_ADMIN_PATTERNS: () => FREELANCER_ADMIN_PATTERNS,
58
59
  FREELANCER_EDUCATION_PATTERN: () => FREELANCER_EDUCATION_PATTERN,
59
60
  FREELANCER_EXPERIENCE_PATTERN: () => FREELANCER_EXPERIENCE_PATTERN,
60
61
  FREELANCER_PROJECT_PATTERN: () => FREELANCER_PROJECT_PATTERN,
62
+ FREELANCER_SKILL_PATTERN: () => FREELANCER_SKILL_PATTERN,
61
63
  Feature: () => Feature,
62
64
  ForgotPasswordDto: () => ForgotPasswordDto,
63
65
  FreelancerBankDetailsDto: () => FreelancerBankDetailsDto,
64
66
  FreelancerCaseStudy: () => FreelancerCaseStudy,
65
67
  FreelancerChangePasswordDto: () => FreelancerChangePasswordDto,
68
+ FreelancerCoreSkill: () => FreelancerCoreSkill,
66
69
  FreelancerCreateAccountDto: () => FreelancerCreateAccountDto,
67
70
  FreelancerDevelopmentPreferenceDto: () => FreelancerDevelopmentPreferenceDto,
68
71
  FreelancerEducation: () => FreelancerEducation,
69
72
  FreelancerEducationDto: () => FreelancerEducationDto,
70
73
  FreelancerExperience: () => FreelancerExperience,
71
74
  FreelancerExperienceDto: () => FreelancerExperienceDto,
75
+ FreelancerFramework: () => FreelancerFramework,
72
76
  FreelancerProfile: () => FreelancerProfile,
73
77
  FreelancerProfileQuestionDto: () => FreelancerProfileQuestionDto,
74
78
  FreelancerProject: () => FreelancerProject,
75
79
  FreelancerProjectDto: () => FreelancerProjectDto,
80
+ FreelancerSkillDto: () => FreelancerSkillDto,
81
+ FreelancerTool: () => FreelancerTool,
76
82
  FreelancerUploadResumeDto: () => FreelancerUploadResumeDto,
77
83
  FreelancerWorkShowcaseDto: () => FreelancerWorkShowcaseDto,
78
84
  FromUsOn: () => FromUsOn,
@@ -1076,10 +1082,10 @@ var RATING_PATTERN = {
1076
1082
  var import_class_validator32 = require("class-validator");
1077
1083
 
1078
1084
  // src/entities/rating.entity.ts
1079
- var import_typeorm21 = require("typeorm");
1085
+ var import_typeorm24 = require("typeorm");
1080
1086
 
1081
1087
  // src/entities/user.entity.ts
1082
- var import_typeorm20 = require("typeorm");
1088
+ var import_typeorm23 = require("typeorm");
1083
1089
 
1084
1090
  // src/entities/base.entity.ts
1085
1091
  var import_typeorm = require("typeorm");
@@ -2123,6 +2129,66 @@ FreelancerCaseStudy = __decorateClass([
2123
2129
  (0, import_typeorm19.Entity)("freelancer_case_studies")
2124
2130
  ], FreelancerCaseStudy);
2125
2131
 
2132
+ // src/entities/freelancer-coreskill.entity.ts
2133
+ var import_typeorm20 = require("typeorm");
2134
+ var FreelancerCoreSkill = class extends BaseEntity {
2135
+ };
2136
+ // individual index to find core skills by user
2137
+ __decorateClass([
2138
+ (0, import_typeorm20.Column)({ name: "user_id", type: "integer", nullable: true }),
2139
+ (0, import_typeorm20.Index)()
2140
+ ], FreelancerCoreSkill.prototype, "userId", 2);
2141
+ __decorateClass([
2142
+ (0, import_typeorm20.ManyToOne)(() => User, (user) => user.freelancerCoreSkill),
2143
+ (0, import_typeorm20.JoinColumn)({ name: "user_id" })
2144
+ ], FreelancerCoreSkill.prototype, "user", 2);
2145
+ __decorateClass([
2146
+ (0, import_typeorm20.Column)({ name: "skill_name", type: "varchar", nullable: true })
2147
+ ], FreelancerCoreSkill.prototype, "skillName", 2);
2148
+ FreelancerCoreSkill = __decorateClass([
2149
+ (0, import_typeorm20.Entity)("freelancer_coreskills")
2150
+ ], FreelancerCoreSkill);
2151
+
2152
+ // src/entities/freelancer-tool.entity.ts
2153
+ var import_typeorm21 = require("typeorm");
2154
+ var FreelancerTool = class extends BaseEntity {
2155
+ };
2156
+ // individual index to find tool by user
2157
+ __decorateClass([
2158
+ (0, import_typeorm21.Column)({ name: "user_id", type: "integer", nullable: true }),
2159
+ (0, import_typeorm21.Index)()
2160
+ ], FreelancerTool.prototype, "userId", 2);
2161
+ __decorateClass([
2162
+ (0, import_typeorm21.ManyToOne)(() => User, (user) => user.freelancerTool),
2163
+ (0, import_typeorm21.JoinColumn)({ name: "user_id" })
2164
+ ], FreelancerTool.prototype, "user", 2);
2165
+ __decorateClass([
2166
+ (0, import_typeorm21.Column)({ name: "tool_name", type: "varchar", nullable: true })
2167
+ ], FreelancerTool.prototype, "toolName", 2);
2168
+ FreelancerTool = __decorateClass([
2169
+ (0, import_typeorm21.Entity)("freelancer_tools")
2170
+ ], FreelancerTool);
2171
+
2172
+ // src/entities/freelancer-framework.entity.ts
2173
+ var import_typeorm22 = require("typeorm");
2174
+ var FreelancerFramework = class extends BaseEntity {
2175
+ };
2176
+ // individual index to find framework by user
2177
+ __decorateClass([
2178
+ (0, import_typeorm22.Column)({ name: "user_id", type: "integer", nullable: true }),
2179
+ (0, import_typeorm22.Index)()
2180
+ ], FreelancerFramework.prototype, "userId", 2);
2181
+ __decorateClass([
2182
+ (0, import_typeorm22.ManyToOne)(() => User, (user) => user.freelancerFramework),
2183
+ (0, import_typeorm22.JoinColumn)({ name: "user_id" })
2184
+ ], FreelancerFramework.prototype, "user", 2);
2185
+ __decorateClass([
2186
+ (0, import_typeorm22.Column)({ name: "framework_name", type: "varchar", nullable: true })
2187
+ ], FreelancerFramework.prototype, "frameworkName", 2);
2188
+ FreelancerFramework = __decorateClass([
2189
+ (0, import_typeorm22.Entity)("freelancer_frameworks")
2190
+ ], FreelancerFramework);
2191
+
2126
2192
  // src/entities/user.entity.ts
2127
2193
  var AccountType = /* @__PURE__ */ ((AccountType2) => {
2128
2194
  AccountType2["ADMIN"] = "ADMIN";
@@ -2148,55 +2214,55 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
2148
2214
  var User = class extends BaseEntity {
2149
2215
  };
2150
2216
  __decorateClass([
2151
- (0, import_typeorm20.Column)({ name: "unique_id", type: "varchar", unique: true })
2217
+ (0, import_typeorm23.Column)({ name: "unique_id", type: "varchar", unique: true })
2152
2218
  ], User.prototype, "uniqueId", 2);
2153
2219
  __decorateClass([
2154
- (0, import_typeorm20.Column)({ name: "parent_id", type: "integer", nullable: true }),
2155
- (0, import_typeorm20.Index)()
2220
+ (0, import_typeorm23.Column)({ name: "parent_id", type: "integer", nullable: true }),
2221
+ (0, import_typeorm23.Index)()
2156
2222
  ], User.prototype, "parentId", 2);
2157
2223
  __decorateClass([
2158
- (0, import_typeorm20.Column)({ name: "company_role_id", type: "integer", nullable: true }),
2159
- (0, import_typeorm20.Index)()
2224
+ (0, import_typeorm23.Column)({ name: "company_role_id", type: "integer", nullable: true }),
2225
+ (0, import_typeorm23.Index)()
2160
2226
  ], User.prototype, "companyRoleId", 2);
2161
2227
  __decorateClass([
2162
- (0, import_typeorm20.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
2163
- (0, import_typeorm20.JoinColumn)({ name: "parent_id" })
2228
+ (0, import_typeorm23.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
2229
+ (0, import_typeorm23.JoinColumn)({ name: "parent_id" })
2164
2230
  ], User.prototype, "parent", 2);
2165
2231
  __decorateClass([
2166
- (0, import_typeorm20.OneToMany)(() => User, (user) => user.parent)
2232
+ (0, import_typeorm23.OneToMany)(() => User, (user) => user.parent)
2167
2233
  ], User.prototype, "children", 2);
2168
2234
  __decorateClass([
2169
- (0, import_typeorm20.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
2235
+ (0, import_typeorm23.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
2170
2236
  ], User.prototype, "username", 2);
2171
2237
  __decorateClass([
2172
- (0, import_typeorm20.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
2238
+ (0, import_typeorm23.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
2173
2239
  ], User.prototype, "firstName", 2);
2174
2240
  __decorateClass([
2175
- (0, import_typeorm20.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
2241
+ (0, import_typeorm23.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
2176
2242
  ], User.prototype, "lastName", 2);
2177
2243
  __decorateClass([
2178
- (0, import_typeorm20.Column)({ name: "date_of_birth", type: "date", nullable: true })
2244
+ (0, import_typeorm23.Column)({ name: "date_of_birth", type: "date", nullable: true })
2179
2245
  ], User.prototype, "dateOfBirth", 2);
2180
2246
  __decorateClass([
2181
- (0, import_typeorm20.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
2247
+ (0, import_typeorm23.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
2182
2248
  ], User.prototype, "gender", 2);
2183
2249
  __decorateClass([
2184
- (0, import_typeorm20.Column)({ name: "profile_picture_url", type: "text", nullable: true })
2250
+ (0, import_typeorm23.Column)({ name: "profile_picture_url", type: "text", nullable: true })
2185
2251
  ], User.prototype, "profilePictureUrl", 2);
2186
2252
  __decorateClass([
2187
- (0, import_typeorm20.Column)({ name: "email", type: "varchar", unique: true })
2253
+ (0, import_typeorm23.Column)({ name: "email", type: "varchar", unique: true })
2188
2254
  ], User.prototype, "email", 2);
2189
2255
  __decorateClass([
2190
- (0, import_typeorm20.Column)({ name: "mobile_code", type: "varchar", nullable: true })
2256
+ (0, import_typeorm23.Column)({ name: "mobile_code", type: "varchar", nullable: true })
2191
2257
  ], User.prototype, "mobileCode", 2);
2192
2258
  __decorateClass([
2193
- (0, import_typeorm20.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
2259
+ (0, import_typeorm23.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
2194
2260
  ], User.prototype, "mobile", 2);
2195
2261
  __decorateClass([
2196
- (0, import_typeorm20.Column)({ name: "password", type: "varchar", nullable: true })
2262
+ (0, import_typeorm23.Column)({ name: "password", type: "varchar", nullable: true })
2197
2263
  ], User.prototype, "password", 2);
2198
2264
  __decorateClass([
2199
- (0, import_typeorm20.Column)({
2265
+ (0, import_typeorm23.Column)({
2200
2266
  name: "account_type",
2201
2267
  type: "enum",
2202
2268
  enum: AccountType,
@@ -2204,7 +2270,7 @@ __decorateClass([
2204
2270
  })
2205
2271
  ], User.prototype, "accountType", 2);
2206
2272
  __decorateClass([
2207
- (0, import_typeorm20.Column)({
2273
+ (0, import_typeorm23.Column)({
2208
2274
  name: "account_status",
2209
2275
  type: "enum",
2210
2276
  enum: AccountStatus,
@@ -2212,36 +2278,36 @@ __decorateClass([
2212
2278
  })
2213
2279
  ], User.prototype, "accountStatus", 2);
2214
2280
  __decorateClass([
2215
- (0, import_typeorm20.Column)({ name: "is_email_verified", type: "boolean", default: false })
2281
+ (0, import_typeorm23.Column)({ name: "is_email_verified", type: "boolean", default: false })
2216
2282
  ], User.prototype, "isEmailVerified", 2);
2217
2283
  __decorateClass([
2218
- (0, import_typeorm20.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
2284
+ (0, import_typeorm23.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
2219
2285
  ], User.prototype, "isMobileVerified", 2);
2220
2286
  __decorateClass([
2221
- (0, import_typeorm20.Column)({
2287
+ (0, import_typeorm23.Column)({
2222
2288
  name: "last_login_at",
2223
2289
  type: "timestamp with time zone",
2224
2290
  nullable: true
2225
2291
  })
2226
2292
  ], User.prototype, "lastLoginAt", 2);
2227
2293
  __decorateClass([
2228
- (0, import_typeorm20.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
2294
+ (0, import_typeorm23.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
2229
2295
  ], User.prototype, "lastLoginIp", 2);
2230
2296
  __decorateClass([
2231
- (0, import_typeorm20.Column)({ name: "reset_token", type: "varchar", nullable: true })
2297
+ (0, import_typeorm23.Column)({ name: "reset_token", type: "varchar", nullable: true })
2232
2298
  ], User.prototype, "resetToken", 2);
2233
2299
  __decorateClass([
2234
- (0, import_typeorm20.Column)({
2300
+ (0, import_typeorm23.Column)({
2235
2301
  name: "reset_token_expire_at",
2236
2302
  type: "timestamp with time zone",
2237
2303
  nullable: true
2238
2304
  })
2239
2305
  ], User.prototype, "resetTokenExpireAt", 2);
2240
2306
  __decorateClass([
2241
- (0, import_typeorm20.OneToMany)(() => RefreshToken, (token) => token.user)
2307
+ (0, import_typeorm23.OneToMany)(() => RefreshToken, (token) => token.user)
2242
2308
  ], User.prototype, "refreshTokens", 2);
2243
2309
  __decorateClass([
2244
- (0, import_typeorm20.Column)({
2310
+ (0, import_typeorm23.Column)({
2245
2311
  name: "provider",
2246
2312
  type: "enum",
2247
2313
  enum: Provider,
@@ -2250,73 +2316,82 @@ __decorateClass([
2250
2316
  })
2251
2317
  ], User.prototype, "provider", 2);
2252
2318
  __decorateClass([
2253
- (0, import_typeorm20.Column)({ name: "provider_token", type: "varchar", nullable: true })
2319
+ (0, import_typeorm23.Column)({ name: "provider_token", type: "varchar", nullable: true })
2254
2320
  ], User.prototype, "providerToken", 2);
2255
2321
  __decorateClass([
2256
- (0, import_typeorm20.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
2322
+ (0, import_typeorm23.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
2257
2323
  ], User.prototype, "linkedInId", 2);
2258
2324
  __decorateClass([
2259
- (0, import_typeorm20.Column)({ name: "google_id", type: "varchar", nullable: true })
2325
+ (0, import_typeorm23.Column)({ name: "google_id", type: "varchar", nullable: true })
2260
2326
  ], User.prototype, "googleId", 2);
2261
2327
  __decorateClass([
2262
- (0, import_typeorm20.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
2328
+ (0, import_typeorm23.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
2263
2329
  ], User.prototype, "gitLabsId", 2);
2264
2330
  __decorateClass([
2265
- (0, import_typeorm20.OneToMany)(() => Otp, (otp) => otp.user)
2331
+ (0, import_typeorm23.OneToMany)(() => Otp, (otp) => otp.user)
2266
2332
  ], User.prototype, "otps", 2);
2267
2333
  __decorateClass([
2268
- (0, import_typeorm20.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
2334
+ (0, import_typeorm23.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
2269
2335
  ], User.prototype, "senseloafLogs", 2);
2270
2336
  __decorateClass([
2271
- (0, import_typeorm20.OneToOne)(
2337
+ (0, import_typeorm23.OneToOne)(
2272
2338
  () => FreelancerProfile,
2273
2339
  (freelancerProfile) => freelancerProfile.user
2274
2340
  )
2275
2341
  ], User.prototype, "freelancerProfile", 2);
2276
2342
  __decorateClass([
2277
- (0, import_typeorm20.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user, { cascade: true })
2343
+ (0, import_typeorm23.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user, { cascade: true })
2278
2344
  ], User.prototype, "companyProfile", 2);
2279
2345
  __decorateClass([
2280
- (0, import_typeorm20.OneToMany)(() => Job, (job) => job.user)
2346
+ (0, import_typeorm23.OneToMany)(() => Job, (job) => job.user)
2281
2347
  ], User.prototype, "jobs", 2);
2282
2348
  __decorateClass([
2283
- (0, import_typeorm20.OneToMany)(() => Interview, (interview) => interview.user)
2349
+ (0, import_typeorm23.OneToMany)(() => Interview, (interview) => interview.user)
2284
2350
  ], User.prototype, "interviews", 2);
2285
2351
  __decorateClass([
2286
- (0, import_typeorm20.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
2352
+ (0, import_typeorm23.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
2287
2353
  ], User.prototype, "bankDetail", 2);
2288
2354
  __decorateClass([
2289
- (0, import_typeorm20.OneToMany)(
2355
+ (0, import_typeorm23.OneToMany)(
2290
2356
  () => SystemPreference,
2291
2357
  (systemPreference) => systemPreference.user
2292
2358
  )
2293
2359
  ], User.prototype, "systemPreference", 2);
2294
2360
  __decorateClass([
2295
- (0, import_typeorm20.OneToMany)(() => Rating, (rating) => rating.reviewer)
2361
+ (0, import_typeorm23.OneToMany)(() => Rating, (rating) => rating.reviewer)
2296
2362
  ], User.prototype, "givenRatings", 2);
2297
2363
  __decorateClass([
2298
- (0, import_typeorm20.OneToMany)(() => Rating, (rating) => rating.reviewee)
2364
+ (0, import_typeorm23.OneToMany)(() => Rating, (rating) => rating.reviewee)
2299
2365
  ], User.prototype, "receivedRatings", 2);
2300
2366
  __decorateClass([
2301
- (0, import_typeorm20.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
2367
+ (0, import_typeorm23.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
2302
2368
  ], User.prototype, "jobApplications", 2);
2303
2369
  __decorateClass([
2304
- (0, import_typeorm20.OneToMany)(() => CompanyRole, (companyRole) => companyRole.user)
2370
+ (0, import_typeorm23.OneToMany)(() => CompanyRole, (companyRole) => companyRole.user)
2305
2371
  ], User.prototype, "companyRole", 2);
2306
2372
  __decorateClass([
2307
- (0, import_typeorm20.OneToOne)(() => FreelancerExperience, (freelancerExperience) => freelancerExperience.user)
2373
+ (0, import_typeorm23.OneToOne)(() => FreelancerExperience, (freelancerExperience) => freelancerExperience.user)
2308
2374
  ], User.prototype, "freelancerExperience", 2);
2309
2375
  __decorateClass([
2310
- (0, import_typeorm20.OneToOne)(() => FreelancerEducation, (freelancerEducation) => freelancerEducation.user)
2376
+ (0, import_typeorm23.OneToOne)(() => FreelancerEducation, (freelancerEducation) => freelancerEducation.user)
2311
2377
  ], User.prototype, "freelancerEducation", 2);
2312
2378
  __decorateClass([
2313
- (0, import_typeorm20.OneToOne)(() => FreelancerProject, (freelancerProject) => freelancerProject.user)
2379
+ (0, import_typeorm23.OneToOne)(() => FreelancerProject, (freelancerProject) => freelancerProject.user)
2314
2380
  ], User.prototype, "freelancerProject", 2);
2315
2381
  __decorateClass([
2316
- (0, import_typeorm20.OneToOne)(() => FreelancerCaseStudy, (freelancerCaseStudy) => freelancerCaseStudy.user)
2382
+ (0, import_typeorm23.OneToOne)(() => FreelancerCaseStudy, (freelancerCaseStudy) => freelancerCaseStudy.user)
2317
2383
  ], User.prototype, "freelancerCaseStudy", 2);
2384
+ __decorateClass([
2385
+ (0, import_typeorm23.OneToOne)(() => FreelancerCoreSkill, (freelancerCoreSkill) => freelancerCoreSkill.user)
2386
+ ], User.prototype, "freelancerCoreSkill", 2);
2387
+ __decorateClass([
2388
+ (0, import_typeorm23.OneToOne)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
2389
+ ], User.prototype, "freelancerTool", 2);
2390
+ __decorateClass([
2391
+ (0, import_typeorm23.OneToOne)(() => FreelancerFramework, (freelancerFramework) => freelancerFramework.user)
2392
+ ], User.prototype, "freelancerFramework", 2);
2318
2393
  User = __decorateClass([
2319
- (0, import_typeorm20.Entity)("users")
2394
+ (0, import_typeorm23.Entity)("users")
2320
2395
  ], User);
2321
2396
 
2322
2397
  // src/entities/rating.entity.ts
@@ -2328,36 +2403,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
2328
2403
  var Rating = class extends BaseEntity {
2329
2404
  };
2330
2405
  __decorateClass([
2331
- (0, import_typeorm21.Column)({ name: "reviewer_id", type: "integer" }),
2332
- (0, import_typeorm21.Index)()
2406
+ (0, import_typeorm24.Column)({ name: "reviewer_id", type: "integer" }),
2407
+ (0, import_typeorm24.Index)()
2333
2408
  ], Rating.prototype, "reviewer_id", 2);
2334
2409
  __decorateClass([
2335
- (0, import_typeorm21.ManyToOne)(() => User, { onDelete: "CASCADE" }),
2336
- (0, import_typeorm21.JoinColumn)({ name: "reviewer_id" })
2410
+ (0, import_typeorm24.ManyToOne)(() => User, { onDelete: "CASCADE" }),
2411
+ (0, import_typeorm24.JoinColumn)({ name: "reviewer_id" })
2337
2412
  ], Rating.prototype, "reviewer", 2);
2338
2413
  __decorateClass([
2339
- (0, import_typeorm21.Column)({ name: "reviewee_id", type: "integer" }),
2340
- (0, import_typeorm21.Index)()
2414
+ (0, import_typeorm24.Column)({ name: "reviewee_id", type: "integer" }),
2415
+ (0, import_typeorm24.Index)()
2341
2416
  ], Rating.prototype, "reviewee_id", 2);
2342
2417
  __decorateClass([
2343
- (0, import_typeorm21.ManyToOne)(() => User, { onDelete: "CASCADE" }),
2344
- (0, import_typeorm21.JoinColumn)({ name: "reviewee_id" })
2418
+ (0, import_typeorm24.ManyToOne)(() => User, { onDelete: "CASCADE" }),
2419
+ (0, import_typeorm24.JoinColumn)({ name: "reviewee_id" })
2345
2420
  ], Rating.prototype, "reviewee", 2);
2346
2421
  __decorateClass([
2347
- (0, import_typeorm21.Column)({
2422
+ (0, import_typeorm24.Column)({
2348
2423
  type: "enum",
2349
2424
  enum: RatingTypeEnum,
2350
2425
  nullable: true
2351
2426
  })
2352
2427
  ], Rating.prototype, "ratingType", 2);
2353
2428
  __decorateClass([
2354
- (0, import_typeorm21.Column)({ type: "integer", nullable: true })
2429
+ (0, import_typeorm24.Column)({ type: "integer", nullable: true })
2355
2430
  ], Rating.prototype, "rating", 2);
2356
2431
  __decorateClass([
2357
- (0, import_typeorm21.Column)({ type: "text", nullable: true })
2432
+ (0, import_typeorm24.Column)({ type: "text", nullable: true })
2358
2433
  ], Rating.prototype, "review", 2);
2359
2434
  Rating = __decorateClass([
2360
- (0, import_typeorm21.Entity)("ratings")
2435
+ (0, import_typeorm24.Entity)("ratings")
2361
2436
  ], Rating);
2362
2437
 
2363
2438
  // src/modules/rating/dto/add.rating.dto.ts
@@ -2629,6 +2704,46 @@ var PERMISSION_PATTERN = {
2629
2704
  fetchAllPermissionsDropdown: "permissions.fetch_dropdown"
2630
2705
  };
2631
2706
 
2707
+ // src/modules/user/freelancer-skill/pattern/pattern.ts
2708
+ var FREELANCER_SKILL_PATTERN = {
2709
+ fetchFreelancerSkill: "fetch.freelancer.skill",
2710
+ saveFreelancerSkill: "save.freelancer.skill"
2711
+ };
2712
+
2713
+ // src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
2714
+ var import_class_validator42 = require("class-validator");
2715
+ var import_class_transformer5 = require("class-transformer");
2716
+ var FreelancerSkillDto = class {
2717
+ constructor() {
2718
+ this.coreSkills = [];
2719
+ this.tools = [];
2720
+ this.frameworks = [];
2721
+ }
2722
+ };
2723
+ __decorateClass([
2724
+ (0, import_class_validator42.IsOptional)(),
2725
+ (0, import_class_validator42.IsArray)(),
2726
+ (0, import_class_transformer5.Type)(() => String),
2727
+ (0, import_class_validator42.IsString)({ each: true })
2728
+ ], FreelancerSkillDto.prototype, "coreSkills", 2);
2729
+ __decorateClass([
2730
+ (0, import_class_validator42.IsOptional)(),
2731
+ (0, import_class_validator42.IsArray)(),
2732
+ (0, import_class_transformer5.Type)(() => String),
2733
+ (0, import_class_validator42.IsString)({ each: true })
2734
+ ], FreelancerSkillDto.prototype, "tools", 2);
2735
+ __decorateClass([
2736
+ (0, import_class_validator42.IsOptional)(),
2737
+ (0, import_class_validator42.IsArray)(),
2738
+ (0, import_class_transformer5.Type)(() => String),
2739
+ (0, import_class_validator42.IsString)({ each: true })
2740
+ ], FreelancerSkillDto.prototype, "frameworks", 2);
2741
+
2742
+ // src/modules/freelancer-admin/pattern/pattern.ts
2743
+ var FREELANCER_ADMIN_PATTERNS = {
2744
+ fetchAdminFreelancers: "fetch.admin.freelancers"
2745
+ };
2746
+
2632
2747
  // src/adapters/tcp/user.tcp.adapter.ts
2633
2748
  var import_dotenv = require("dotenv");
2634
2749
  var import_microservices = require("@nestjs/microservices");
@@ -2846,7 +2961,7 @@ var NotificationRMQAdapter = (mode = "microservice") => {
2846
2961
  };
2847
2962
 
2848
2963
  // src/entities/question.entity.ts
2849
- var import_typeorm22 = require("typeorm");
2964
+ var import_typeorm25 = require("typeorm");
2850
2965
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
2851
2966
  QuestionFor2["CLIENT"] = "CLIENT";
2852
2967
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -2855,16 +2970,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
2855
2970
  var Question = class extends BaseEntity {
2856
2971
  };
2857
2972
  __decorateClass([
2858
- (0, import_typeorm22.Column)({ name: "question", type: "varchar" })
2973
+ (0, import_typeorm25.Column)({ name: "question", type: "varchar" })
2859
2974
  ], Question.prototype, "question", 2);
2860
2975
  __decorateClass([
2861
- (0, import_typeorm22.Column)({ name: "hint", type: "varchar", nullable: true })
2976
+ (0, import_typeorm25.Column)({ name: "hint", type: "varchar", nullable: true })
2862
2977
  ], Question.prototype, "hint", 2);
2863
2978
  __decorateClass([
2864
- (0, import_typeorm22.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
2979
+ (0, import_typeorm25.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
2865
2980
  ], Question.prototype, "slug", 2);
2866
2981
  __decorateClass([
2867
- (0, import_typeorm22.Column)({
2982
+ (0, import_typeorm25.Column)({
2868
2983
  name: "question_for",
2869
2984
  type: "enum",
2870
2985
  enum: QuestionFor,
@@ -2872,97 +2987,97 @@ __decorateClass([
2872
2987
  })
2873
2988
  ], Question.prototype, "questionFor", 2);
2874
2989
  __decorateClass([
2875
- (0, import_typeorm22.Column)({ name: "type", type: "varchar", nullable: true })
2990
+ (0, import_typeorm25.Column)({ name: "type", type: "varchar", nullable: true })
2876
2991
  ], Question.prototype, "type", 2);
2877
2992
  __decorateClass([
2878
- (0, import_typeorm22.Column)({ name: "options", type: "jsonb", nullable: true })
2993
+ (0, import_typeorm25.Column)({ name: "options", type: "jsonb", nullable: true })
2879
2994
  ], Question.prototype, "options", 2);
2880
2995
  __decorateClass([
2881
- (0, import_typeorm22.Column)({ name: "is_active", type: "boolean", default: false })
2996
+ (0, import_typeorm25.Column)({ name: "is_active", type: "boolean", default: false })
2882
2997
  ], Question.prototype, "isActive", 2);
2883
2998
  Question = __decorateClass([
2884
- (0, import_typeorm22.Entity)("questions")
2999
+ (0, import_typeorm25.Entity)("questions")
2885
3000
  ], Question);
2886
3001
 
2887
3002
  // src/entities/job-role.entity.ts
2888
- var import_typeorm23 = require("typeorm");
3003
+ var import_typeorm26 = require("typeorm");
2889
3004
  var JobRoles = class extends BaseEntity {
2890
3005
  };
2891
3006
  __decorateClass([
2892
- (0, import_typeorm23.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
3007
+ (0, import_typeorm26.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
2893
3008
  ], JobRoles.prototype, "slug", 2);
2894
3009
  __decorateClass([
2895
- (0, import_typeorm23.Column)({ name: "name", type: "varchar", nullable: true })
3010
+ (0, import_typeorm26.Column)({ name: "name", type: "varchar", nullable: true })
2896
3011
  ], JobRoles.prototype, "name", 2);
2897
3012
  __decorateClass([
2898
- (0, import_typeorm23.Column)({ name: "is_active", type: "boolean", default: true })
3013
+ (0, import_typeorm26.Column)({ name: "is_active", type: "boolean", default: true })
2899
3014
  ], JobRoles.prototype, "isActive", 2);
2900
3015
  JobRoles = __decorateClass([
2901
- (0, import_typeorm23.Entity)("job_roles")
3016
+ (0, import_typeorm26.Entity)("job_roles")
2902
3017
  ], JobRoles);
2903
3018
 
2904
3019
  // src/entities/plan.entity.ts
2905
- var import_typeorm25 = require("typeorm");
3020
+ var import_typeorm28 = require("typeorm");
2906
3021
 
2907
3022
  // src/entities/feature.entity.ts
2908
- var import_typeorm24 = require("typeorm");
3023
+ var import_typeorm27 = require("typeorm");
2909
3024
  var Feature = class extends BaseEntity {
2910
3025
  };
2911
3026
  __decorateClass([
2912
- (0, import_typeorm24.Column)({ name: "name", type: "varchar", unique: true })
3027
+ (0, import_typeorm27.Column)({ name: "name", type: "varchar", unique: true })
2913
3028
  ], Feature.prototype, "name", 2);
2914
3029
  __decorateClass([
2915
- (0, import_typeorm24.ManyToMany)(() => Plan, (plan) => plan.features)
3030
+ (0, import_typeorm27.ManyToMany)(() => Plan, (plan) => plan.features)
2916
3031
  ], Feature.prototype, "plans", 2);
2917
3032
  Feature = __decorateClass([
2918
- (0, import_typeorm24.Entity)("features")
3033
+ (0, import_typeorm27.Entity)("features")
2919
3034
  ], Feature);
2920
3035
 
2921
3036
  // src/entities/plan.entity.ts
2922
3037
  var Plan = class extends BaseEntity {
2923
3038
  };
2924
3039
  __decorateClass([
2925
- (0, import_typeorm25.Column)({ name: "name", type: "varchar", unique: true })
3040
+ (0, import_typeorm28.Column)({ name: "name", type: "varchar", unique: true })
2926
3041
  ], Plan.prototype, "name", 2);
2927
3042
  __decorateClass([
2928
- (0, import_typeorm25.Column)({ name: "description", type: "varchar", nullable: true })
3043
+ (0, import_typeorm28.Column)({ name: "description", type: "varchar", nullable: true })
2929
3044
  ], Plan.prototype, "description", 2);
2930
3045
  __decorateClass([
2931
- (0, import_typeorm25.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
3046
+ (0, import_typeorm28.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
2932
3047
  ], Plan.prototype, "price", 2);
2933
3048
  __decorateClass([
2934
- (0, import_typeorm25.Column)({ name: "billing_period", type: "varchar" })
3049
+ (0, import_typeorm28.Column)({ name: "billing_period", type: "varchar" })
2935
3050
  ], Plan.prototype, "billingPeriod", 2);
2936
3051
  __decorateClass([
2937
- (0, import_typeorm25.Column)({ name: "is_current", type: "boolean", default: false })
3052
+ (0, import_typeorm28.Column)({ name: "is_current", type: "boolean", default: false })
2938
3053
  ], Plan.prototype, "isCurrent", 2);
2939
3054
  __decorateClass([
2940
- (0, import_typeorm25.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
2941
- (0, import_typeorm25.JoinTable)()
3055
+ (0, import_typeorm28.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
3056
+ (0, import_typeorm28.JoinTable)()
2942
3057
  ], Plan.prototype, "features", 2);
2943
3058
  Plan = __decorateClass([
2944
- (0, import_typeorm25.Entity)("plans")
3059
+ (0, import_typeorm28.Entity)("plans")
2945
3060
  ], Plan);
2946
3061
 
2947
3062
  // src/entities/permission.entity.ts
2948
- var import_typeorm26 = require("typeorm");
3063
+ var import_typeorm29 = require("typeorm");
2949
3064
  var Permission = class extends BaseEntity {
2950
3065
  };
2951
3066
  __decorateClass([
2952
- (0, import_typeorm26.Column)({ name: "name", type: "varchar", nullable: true })
3067
+ (0, import_typeorm29.Column)({ name: "name", type: "varchar", nullable: true })
2953
3068
  ], Permission.prototype, "name", 2);
2954
3069
  __decorateClass([
2955
- (0, import_typeorm26.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
2956
- (0, import_typeorm26.Index)()
3070
+ (0, import_typeorm29.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
3071
+ (0, import_typeorm29.Index)()
2957
3072
  ], Permission.prototype, "slug", 2);
2958
3073
  __decorateClass([
2959
- (0, import_typeorm26.Column)({ name: "description", type: "text", nullable: true })
3074
+ (0, import_typeorm29.Column)({ name: "description", type: "text", nullable: true })
2960
3075
  ], Permission.prototype, "description", 2);
2961
3076
  __decorateClass([
2962
- (0, import_typeorm26.Column)({ name: "is_active", type: "boolean", default: true })
3077
+ (0, import_typeorm29.Column)({ name: "is_active", type: "boolean", default: true })
2963
3078
  ], Permission.prototype, "isActive", 2);
2964
3079
  Permission = __decorateClass([
2965
- (0, import_typeorm26.Entity)("permissions")
3080
+ (0, import_typeorm29.Entity)("permissions")
2966
3081
  ], Permission);
2967
3082
  // Annotate the CommonJS export names for ESM import in node:
2968
3083
  0 && (module.exports = {
@@ -2994,24 +3109,30 @@ Permission = __decorateClass([
2994
3109
  EducationDto,
2995
3110
  EmploymentType,
2996
3111
  ExperienceDto,
3112
+ FREELANCER_ADMIN_PATTERNS,
2997
3113
  FREELANCER_EDUCATION_PATTERN,
2998
3114
  FREELANCER_EXPERIENCE_PATTERN,
2999
3115
  FREELANCER_PROJECT_PATTERN,
3116
+ FREELANCER_SKILL_PATTERN,
3000
3117
  Feature,
3001
3118
  ForgotPasswordDto,
3002
3119
  FreelancerBankDetailsDto,
3003
3120
  FreelancerCaseStudy,
3004
3121
  FreelancerChangePasswordDto,
3122
+ FreelancerCoreSkill,
3005
3123
  FreelancerCreateAccountDto,
3006
3124
  FreelancerDevelopmentPreferenceDto,
3007
3125
  FreelancerEducation,
3008
3126
  FreelancerEducationDto,
3009
3127
  FreelancerExperience,
3010
3128
  FreelancerExperienceDto,
3129
+ FreelancerFramework,
3011
3130
  FreelancerProfile,
3012
3131
  FreelancerProfileQuestionDto,
3013
3132
  FreelancerProject,
3014
3133
  FreelancerProjectDto,
3134
+ FreelancerSkillDto,
3135
+ FreelancerTool,
3015
3136
  FreelancerUploadResumeDto,
3016
3137
  FreelancerWorkShowcaseDto,
3017
3138
  FromUsOn,