@experts_hub/shared 1.0.161 → 1.0.162

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.mjs CHANGED
@@ -1027,10 +1027,10 @@ import {
1027
1027
  } from "class-validator";
1028
1028
 
1029
1029
  // src/entities/rating.entity.ts
1030
- import { Entity as Entity20, Column as Column21, ManyToOne as ManyToOne19, JoinColumn as JoinColumn19, Index as Index17 } from "typeorm";
1030
+ import { Entity as Entity23, Column as Column24, ManyToOne as ManyToOne22, JoinColumn as JoinColumn22, Index as Index20 } from "typeorm";
1031
1031
 
1032
1032
  // src/entities/user.entity.ts
1033
- import { Entity as Entity19, Column as Column20, OneToMany as OneToMany7, OneToOne, Index as Index16, ManyToOne as ManyToOne18, JoinColumn as JoinColumn18 } from "typeorm";
1033
+ import { Entity as Entity22, Column as Column23, OneToMany as OneToMany7, OneToOne, Index as Index19, ManyToOne as ManyToOne21, JoinColumn as JoinColumn21 } from "typeorm";
1034
1034
 
1035
1035
  // src/entities/base.entity.ts
1036
1036
  import {
@@ -2172,6 +2172,84 @@ FreelancerCaseStudy = __decorateClass([
2172
2172
  Entity18("freelancer_case_studies")
2173
2173
  ], FreelancerCaseStudy);
2174
2174
 
2175
+ // src/entities/freelancer-coreskill.entity.ts
2176
+ import {
2177
+ Entity as Entity19,
2178
+ Column as Column20,
2179
+ Index as Index16,
2180
+ ManyToOne as ManyToOne18,
2181
+ JoinColumn as JoinColumn18
2182
+ } from "typeorm";
2183
+ var FreelancerCoreSkill = class extends BaseEntity {
2184
+ };
2185
+ // individual index to find core skills by user
2186
+ __decorateClass([
2187
+ Column20({ name: "user_id", type: "integer", nullable: true }),
2188
+ Index16()
2189
+ ], FreelancerCoreSkill.prototype, "userId", 2);
2190
+ __decorateClass([
2191
+ ManyToOne18(() => User, (user) => user.freelancerCoreSkill),
2192
+ JoinColumn18({ name: "user_id" })
2193
+ ], FreelancerCoreSkill.prototype, "user", 2);
2194
+ __decorateClass([
2195
+ Column20({ name: "skill_name", type: "varchar", nullable: true })
2196
+ ], FreelancerCoreSkill.prototype, "skillName", 2);
2197
+ FreelancerCoreSkill = __decorateClass([
2198
+ Entity19("freelancer_coreskills")
2199
+ ], FreelancerCoreSkill);
2200
+
2201
+ // src/entities/freelancer-tool.entity.ts
2202
+ import {
2203
+ Entity as Entity20,
2204
+ Column as Column21,
2205
+ Index as Index17,
2206
+ ManyToOne as ManyToOne19,
2207
+ JoinColumn as JoinColumn19
2208
+ } from "typeorm";
2209
+ var FreelancerTool = class extends BaseEntity {
2210
+ };
2211
+ // individual index to find tool by user
2212
+ __decorateClass([
2213
+ Column21({ name: "user_id", type: "integer", nullable: true }),
2214
+ Index17()
2215
+ ], FreelancerTool.prototype, "userId", 2);
2216
+ __decorateClass([
2217
+ ManyToOne19(() => User, (user) => user.freelancerTool),
2218
+ JoinColumn19({ name: "user_id" })
2219
+ ], FreelancerTool.prototype, "user", 2);
2220
+ __decorateClass([
2221
+ Column21({ name: "tool_name", type: "varchar", nullable: true })
2222
+ ], FreelancerTool.prototype, "toolName", 2);
2223
+ FreelancerTool = __decorateClass([
2224
+ Entity20("freelancer_tools")
2225
+ ], FreelancerTool);
2226
+
2227
+ // src/entities/freelancer-framework.entity.ts
2228
+ import {
2229
+ Entity as Entity21,
2230
+ Column as Column22,
2231
+ Index as Index18,
2232
+ ManyToOne as ManyToOne20,
2233
+ JoinColumn as JoinColumn20
2234
+ } from "typeorm";
2235
+ var FreelancerFramework = class extends BaseEntity {
2236
+ };
2237
+ // individual index to find framework by user
2238
+ __decorateClass([
2239
+ Column22({ name: "user_id", type: "integer", nullable: true }),
2240
+ Index18()
2241
+ ], FreelancerFramework.prototype, "userId", 2);
2242
+ __decorateClass([
2243
+ ManyToOne20(() => User, (user) => user.freelancerFramework),
2244
+ JoinColumn20({ name: "user_id" })
2245
+ ], FreelancerFramework.prototype, "user", 2);
2246
+ __decorateClass([
2247
+ Column22({ name: "framework_name", type: "varchar", nullable: true })
2248
+ ], FreelancerFramework.prototype, "frameworkName", 2);
2249
+ FreelancerFramework = __decorateClass([
2250
+ Entity21("freelancer_frameworks")
2251
+ ], FreelancerFramework);
2252
+
2175
2253
  // src/entities/user.entity.ts
2176
2254
  var AccountType = /* @__PURE__ */ ((AccountType2) => {
2177
2255
  AccountType2["ADMIN"] = "ADMIN";
@@ -2197,55 +2275,55 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
2197
2275
  var User = class extends BaseEntity {
2198
2276
  };
2199
2277
  __decorateClass([
2200
- Column20({ name: "unique_id", type: "varchar", unique: true })
2278
+ Column23({ name: "unique_id", type: "varchar", unique: true })
2201
2279
  ], User.prototype, "uniqueId", 2);
2202
2280
  __decorateClass([
2203
- Column20({ name: "parent_id", type: "integer", nullable: true }),
2204
- Index16()
2281
+ Column23({ name: "parent_id", type: "integer", nullable: true }),
2282
+ Index19()
2205
2283
  ], User.prototype, "parentId", 2);
2206
2284
  __decorateClass([
2207
- Column20({ name: "company_role_id", type: "integer", nullable: true }),
2208
- Index16()
2285
+ Column23({ name: "company_role_id", type: "integer", nullable: true }),
2286
+ Index19()
2209
2287
  ], User.prototype, "companyRoleId", 2);
2210
2288
  __decorateClass([
2211
- ManyToOne18(() => User, (user) => user.children, { nullable: true }),
2212
- JoinColumn18({ name: "parent_id" })
2289
+ ManyToOne21(() => User, (user) => user.children, { nullable: true }),
2290
+ JoinColumn21({ name: "parent_id" })
2213
2291
  ], User.prototype, "parent", 2);
2214
2292
  __decorateClass([
2215
2293
  OneToMany7(() => User, (user) => user.parent)
2216
2294
  ], User.prototype, "children", 2);
2217
2295
  __decorateClass([
2218
- Column20({ name: "username", type: "varchar", unique: true, nullable: true })
2296
+ Column23({ name: "username", type: "varchar", unique: true, nullable: true })
2219
2297
  ], User.prototype, "username", 2);
2220
2298
  __decorateClass([
2221
- Column20({ name: "first_name", type: "varchar", length: 100, nullable: true })
2299
+ Column23({ name: "first_name", type: "varchar", length: 100, nullable: true })
2222
2300
  ], User.prototype, "firstName", 2);
2223
2301
  __decorateClass([
2224
- Column20({ name: "last_name", type: "varchar", length: 100, nullable: true })
2302
+ Column23({ name: "last_name", type: "varchar", length: 100, nullable: true })
2225
2303
  ], User.prototype, "lastName", 2);
2226
2304
  __decorateClass([
2227
- Column20({ name: "date_of_birth", type: "date", nullable: true })
2305
+ Column23({ name: "date_of_birth", type: "date", nullable: true })
2228
2306
  ], User.prototype, "dateOfBirth", 2);
2229
2307
  __decorateClass([
2230
- Column20({ name: "gender", type: "varchar", length: 10, nullable: true })
2308
+ Column23({ name: "gender", type: "varchar", length: 10, nullable: true })
2231
2309
  ], User.prototype, "gender", 2);
2232
2310
  __decorateClass([
2233
- Column20({ name: "profile_picture_url", type: "text", nullable: true })
2311
+ Column23({ name: "profile_picture_url", type: "text", nullable: true })
2234
2312
  ], User.prototype, "profilePictureUrl", 2);
2235
2313
  __decorateClass([
2236
- Column20({ name: "email", type: "varchar", unique: true })
2314
+ Column23({ name: "email", type: "varchar", unique: true })
2237
2315
  ], User.prototype, "email", 2);
2238
2316
  __decorateClass([
2239
- Column20({ name: "mobile_code", type: "varchar", nullable: true })
2317
+ Column23({ name: "mobile_code", type: "varchar", nullable: true })
2240
2318
  ], User.prototype, "mobileCode", 2);
2241
2319
  __decorateClass([
2242
- Column20({ name: "mobile", type: "varchar", unique: true, nullable: true })
2320
+ Column23({ name: "mobile", type: "varchar", unique: true, nullable: true })
2243
2321
  ], User.prototype, "mobile", 2);
2244
2322
  __decorateClass([
2245
- Column20({ name: "password", type: "varchar", nullable: true })
2323
+ Column23({ name: "password", type: "varchar", nullable: true })
2246
2324
  ], User.prototype, "password", 2);
2247
2325
  __decorateClass([
2248
- Column20({
2326
+ Column23({
2249
2327
  name: "account_type",
2250
2328
  type: "enum",
2251
2329
  enum: AccountType,
@@ -2253,7 +2331,7 @@ __decorateClass([
2253
2331
  })
2254
2332
  ], User.prototype, "accountType", 2);
2255
2333
  __decorateClass([
2256
- Column20({
2334
+ Column23({
2257
2335
  name: "account_status",
2258
2336
  type: "enum",
2259
2337
  enum: AccountStatus,
@@ -2261,26 +2339,26 @@ __decorateClass([
2261
2339
  })
2262
2340
  ], User.prototype, "accountStatus", 2);
2263
2341
  __decorateClass([
2264
- Column20({ name: "is_email_verified", type: "boolean", default: false })
2342
+ Column23({ name: "is_email_verified", type: "boolean", default: false })
2265
2343
  ], User.prototype, "isEmailVerified", 2);
2266
2344
  __decorateClass([
2267
- Column20({ name: "is_mobile_verified", type: "boolean", default: false })
2345
+ Column23({ name: "is_mobile_verified", type: "boolean", default: false })
2268
2346
  ], User.prototype, "isMobileVerified", 2);
2269
2347
  __decorateClass([
2270
- Column20({
2348
+ Column23({
2271
2349
  name: "last_login_at",
2272
2350
  type: "timestamp with time zone",
2273
2351
  nullable: true
2274
2352
  })
2275
2353
  ], User.prototype, "lastLoginAt", 2);
2276
2354
  __decorateClass([
2277
- Column20({ name: "last_login_ip", type: "varchar", nullable: true })
2355
+ Column23({ name: "last_login_ip", type: "varchar", nullable: true })
2278
2356
  ], User.prototype, "lastLoginIp", 2);
2279
2357
  __decorateClass([
2280
- Column20({ name: "reset_token", type: "varchar", nullable: true })
2358
+ Column23({ name: "reset_token", type: "varchar", nullable: true })
2281
2359
  ], User.prototype, "resetToken", 2);
2282
2360
  __decorateClass([
2283
- Column20({
2361
+ Column23({
2284
2362
  name: "reset_token_expire_at",
2285
2363
  type: "timestamp with time zone",
2286
2364
  nullable: true
@@ -2290,7 +2368,7 @@ __decorateClass([
2290
2368
  OneToMany7(() => RefreshToken, (token) => token.user)
2291
2369
  ], User.prototype, "refreshTokens", 2);
2292
2370
  __decorateClass([
2293
- Column20({
2371
+ Column23({
2294
2372
  name: "provider",
2295
2373
  type: "enum",
2296
2374
  enum: Provider,
@@ -2299,16 +2377,16 @@ __decorateClass([
2299
2377
  })
2300
2378
  ], User.prototype, "provider", 2);
2301
2379
  __decorateClass([
2302
- Column20({ name: "provider_token", type: "varchar", nullable: true })
2380
+ Column23({ name: "provider_token", type: "varchar", nullable: true })
2303
2381
  ], User.prototype, "providerToken", 2);
2304
2382
  __decorateClass([
2305
- Column20({ name: "linkedin_id", type: "varchar", nullable: true })
2383
+ Column23({ name: "linkedin_id", type: "varchar", nullable: true })
2306
2384
  ], User.prototype, "linkedInId", 2);
2307
2385
  __decorateClass([
2308
- Column20({ name: "google_id", type: "varchar", nullable: true })
2386
+ Column23({ name: "google_id", type: "varchar", nullable: true })
2309
2387
  ], User.prototype, "googleId", 2);
2310
2388
  __decorateClass([
2311
- Column20({ name: "gitlabs_id", type: "varchar", nullable: true })
2389
+ Column23({ name: "gitlabs_id", type: "varchar", nullable: true })
2312
2390
  ], User.prototype, "gitLabsId", 2);
2313
2391
  __decorateClass([
2314
2392
  OneToMany7(() => Otp, (otp) => otp.user)
@@ -2364,8 +2442,17 @@ __decorateClass([
2364
2442
  __decorateClass([
2365
2443
  OneToOne(() => FreelancerCaseStudy, (freelancerCaseStudy) => freelancerCaseStudy.user)
2366
2444
  ], User.prototype, "freelancerCaseStudy", 2);
2445
+ __decorateClass([
2446
+ OneToOne(() => FreelancerCoreSkill, (freelancerCoreSkill) => freelancerCoreSkill.user)
2447
+ ], User.prototype, "freelancerCoreSkill", 2);
2448
+ __decorateClass([
2449
+ OneToOne(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
2450
+ ], User.prototype, "freelancerTool", 2);
2451
+ __decorateClass([
2452
+ OneToOne(() => FreelancerFramework, (freelancerFramework) => freelancerFramework.user)
2453
+ ], User.prototype, "freelancerFramework", 2);
2367
2454
  User = __decorateClass([
2368
- Entity19("users")
2455
+ Entity22("users")
2369
2456
  ], User);
2370
2457
 
2371
2458
  // src/entities/rating.entity.ts
@@ -2377,36 +2464,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
2377
2464
  var Rating = class extends BaseEntity {
2378
2465
  };
2379
2466
  __decorateClass([
2380
- Column21({ name: "reviewer_id", type: "integer" }),
2381
- Index17()
2467
+ Column24({ name: "reviewer_id", type: "integer" }),
2468
+ Index20()
2382
2469
  ], Rating.prototype, "reviewer_id", 2);
2383
2470
  __decorateClass([
2384
- ManyToOne19(() => User, { onDelete: "CASCADE" }),
2385
- JoinColumn19({ name: "reviewer_id" })
2471
+ ManyToOne22(() => User, { onDelete: "CASCADE" }),
2472
+ JoinColumn22({ name: "reviewer_id" })
2386
2473
  ], Rating.prototype, "reviewer", 2);
2387
2474
  __decorateClass([
2388
- Column21({ name: "reviewee_id", type: "integer" }),
2389
- Index17()
2475
+ Column24({ name: "reviewee_id", type: "integer" }),
2476
+ Index20()
2390
2477
  ], Rating.prototype, "reviewee_id", 2);
2391
2478
  __decorateClass([
2392
- ManyToOne19(() => User, { onDelete: "CASCADE" }),
2393
- JoinColumn19({ name: "reviewee_id" })
2479
+ ManyToOne22(() => User, { onDelete: "CASCADE" }),
2480
+ JoinColumn22({ name: "reviewee_id" })
2394
2481
  ], Rating.prototype, "reviewee", 2);
2395
2482
  __decorateClass([
2396
- Column21({
2483
+ Column24({
2397
2484
  type: "enum",
2398
2485
  enum: RatingTypeEnum,
2399
2486
  nullable: true
2400
2487
  })
2401
2488
  ], Rating.prototype, "ratingType", 2);
2402
2489
  __decorateClass([
2403
- Column21({ type: "integer", nullable: true })
2490
+ Column24({ type: "integer", nullable: true })
2404
2491
  ], Rating.prototype, "rating", 2);
2405
2492
  __decorateClass([
2406
- Column21({ type: "text", nullable: true })
2493
+ Column24({ type: "text", nullable: true })
2407
2494
  ], Rating.prototype, "review", 2);
2408
2495
  Rating = __decorateClass([
2409
- Entity20("ratings")
2496
+ Entity23("ratings")
2410
2497
  ], Rating);
2411
2498
 
2412
2499
  // src/modules/rating/dto/add.rating.dto.ts
@@ -2684,6 +2771,41 @@ var PERMISSION_PATTERN = {
2684
2771
  fetchAllPermissionsDropdown: "permissions.fetch_dropdown"
2685
2772
  };
2686
2773
 
2774
+ // src/modules/user/freelancer-skill/pattern/pattern.ts
2775
+ var FREELANCER_SKILL_PATTERN = {
2776
+ fetchFreelancerSkill: "fetch.freelancer.skill",
2777
+ saveFreelancerSkill: "save.freelancer.skill"
2778
+ };
2779
+
2780
+ // src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
2781
+ import { IsArray as IsArray4, IsString as IsString25, IsOptional as IsOptional17 } from "class-validator";
2782
+ import { Type as Type5 } from "class-transformer";
2783
+ var FreelancerSkillDto = class {
2784
+ constructor() {
2785
+ this.coreSkills = [];
2786
+ this.tools = [];
2787
+ this.frameworks = [];
2788
+ }
2789
+ };
2790
+ __decorateClass([
2791
+ IsOptional17(),
2792
+ IsArray4(),
2793
+ Type5(() => String),
2794
+ IsString25({ each: true })
2795
+ ], FreelancerSkillDto.prototype, "coreSkills", 2);
2796
+ __decorateClass([
2797
+ IsOptional17(),
2798
+ IsArray4(),
2799
+ Type5(() => String),
2800
+ IsString25({ each: true })
2801
+ ], FreelancerSkillDto.prototype, "tools", 2);
2802
+ __decorateClass([
2803
+ IsOptional17(),
2804
+ IsArray4(),
2805
+ Type5(() => String),
2806
+ IsString25({ each: true })
2807
+ ], FreelancerSkillDto.prototype, "frameworks", 2);
2808
+
2687
2809
  // src/adapters/tcp/user.tcp.adapter.ts
2688
2810
  import { config } from "dotenv";
2689
2811
  import { Transport } from "@nestjs/microservices";
@@ -2901,7 +3023,7 @@ var NotificationRMQAdapter = (mode = "microservice") => {
2901
3023
  };
2902
3024
 
2903
3025
  // src/entities/question.entity.ts
2904
- import { Entity as Entity21, Column as Column22 } from "typeorm";
3026
+ import { Entity as Entity24, Column as Column25 } from "typeorm";
2905
3027
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
2906
3028
  QuestionFor2["CLIENT"] = "CLIENT";
2907
3029
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -2910,16 +3032,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
2910
3032
  var Question = class extends BaseEntity {
2911
3033
  };
2912
3034
  __decorateClass([
2913
- Column22({ name: "question", type: "varchar" })
3035
+ Column25({ name: "question", type: "varchar" })
2914
3036
  ], Question.prototype, "question", 2);
2915
3037
  __decorateClass([
2916
- Column22({ name: "hint", type: "varchar", nullable: true })
3038
+ Column25({ name: "hint", type: "varchar", nullable: true })
2917
3039
  ], Question.prototype, "hint", 2);
2918
3040
  __decorateClass([
2919
- Column22({ name: "slug", type: "varchar", nullable: true, unique: true })
3041
+ Column25({ name: "slug", type: "varchar", nullable: true, unique: true })
2920
3042
  ], Question.prototype, "slug", 2);
2921
3043
  __decorateClass([
2922
- Column22({
3044
+ Column25({
2923
3045
  name: "question_for",
2924
3046
  type: "enum",
2925
3047
  enum: QuestionFor,
@@ -2927,97 +3049,97 @@ __decorateClass([
2927
3049
  })
2928
3050
  ], Question.prototype, "questionFor", 2);
2929
3051
  __decorateClass([
2930
- Column22({ name: "type", type: "varchar", nullable: true })
3052
+ Column25({ name: "type", type: "varchar", nullable: true })
2931
3053
  ], Question.prototype, "type", 2);
2932
3054
  __decorateClass([
2933
- Column22({ name: "options", type: "jsonb", nullable: true })
3055
+ Column25({ name: "options", type: "jsonb", nullable: true })
2934
3056
  ], Question.prototype, "options", 2);
2935
3057
  __decorateClass([
2936
- Column22({ name: "is_active", type: "boolean", default: false })
3058
+ Column25({ name: "is_active", type: "boolean", default: false })
2937
3059
  ], Question.prototype, "isActive", 2);
2938
3060
  Question = __decorateClass([
2939
- Entity21("questions")
3061
+ Entity24("questions")
2940
3062
  ], Question);
2941
3063
 
2942
3064
  // src/entities/job-role.entity.ts
2943
- import { Entity as Entity22, Column as Column23 } from "typeorm";
3065
+ import { Entity as Entity25, Column as Column26 } from "typeorm";
2944
3066
  var JobRoles = class extends BaseEntity {
2945
3067
  };
2946
3068
  __decorateClass([
2947
- Column23({ name: "slug", type: "varchar", nullable: true, unique: true })
3069
+ Column26({ name: "slug", type: "varchar", nullable: true, unique: true })
2948
3070
  ], JobRoles.prototype, "slug", 2);
2949
3071
  __decorateClass([
2950
- Column23({ name: "name", type: "varchar", nullable: true })
3072
+ Column26({ name: "name", type: "varchar", nullable: true })
2951
3073
  ], JobRoles.prototype, "name", 2);
2952
3074
  __decorateClass([
2953
- Column23({ name: "is_active", type: "boolean", default: true })
3075
+ Column26({ name: "is_active", type: "boolean", default: true })
2954
3076
  ], JobRoles.prototype, "isActive", 2);
2955
3077
  JobRoles = __decorateClass([
2956
- Entity22("job_roles")
3078
+ Entity25("job_roles")
2957
3079
  ], JobRoles);
2958
3080
 
2959
3081
  // src/entities/plan.entity.ts
2960
- import { Entity as Entity24, Column as Column25, ManyToMany as ManyToMany2, JoinTable } from "typeorm";
3082
+ import { Entity as Entity27, Column as Column28, ManyToMany as ManyToMany2, JoinTable } from "typeorm";
2961
3083
 
2962
3084
  // src/entities/feature.entity.ts
2963
- import { Entity as Entity23, Column as Column24, ManyToMany } from "typeorm";
3085
+ import { Entity as Entity26, Column as Column27, ManyToMany } from "typeorm";
2964
3086
  var Feature = class extends BaseEntity {
2965
3087
  };
2966
3088
  __decorateClass([
2967
- Column24({ name: "name", type: "varchar", unique: true })
3089
+ Column27({ name: "name", type: "varchar", unique: true })
2968
3090
  ], Feature.prototype, "name", 2);
2969
3091
  __decorateClass([
2970
3092
  ManyToMany(() => Plan, (plan) => plan.features)
2971
3093
  ], Feature.prototype, "plans", 2);
2972
3094
  Feature = __decorateClass([
2973
- Entity23("features")
3095
+ Entity26("features")
2974
3096
  ], Feature);
2975
3097
 
2976
3098
  // src/entities/plan.entity.ts
2977
3099
  var Plan = class extends BaseEntity {
2978
3100
  };
2979
3101
  __decorateClass([
2980
- Column25({ name: "name", type: "varchar", unique: true })
3102
+ Column28({ name: "name", type: "varchar", unique: true })
2981
3103
  ], Plan.prototype, "name", 2);
2982
3104
  __decorateClass([
2983
- Column25({ name: "description", type: "varchar", nullable: true })
3105
+ Column28({ name: "description", type: "varchar", nullable: true })
2984
3106
  ], Plan.prototype, "description", 2);
2985
3107
  __decorateClass([
2986
- Column25({ name: "price", type: "decimal", precision: 10, scale: 2 })
3108
+ Column28({ name: "price", type: "decimal", precision: 10, scale: 2 })
2987
3109
  ], Plan.prototype, "price", 2);
2988
3110
  __decorateClass([
2989
- Column25({ name: "billing_period", type: "varchar" })
3111
+ Column28({ name: "billing_period", type: "varchar" })
2990
3112
  ], Plan.prototype, "billingPeriod", 2);
2991
3113
  __decorateClass([
2992
- Column25({ name: "is_current", type: "boolean", default: false })
3114
+ Column28({ name: "is_current", type: "boolean", default: false })
2993
3115
  ], Plan.prototype, "isCurrent", 2);
2994
3116
  __decorateClass([
2995
3117
  ManyToMany2(() => Feature, (feature) => feature.plans, { cascade: true }),
2996
3118
  JoinTable()
2997
3119
  ], Plan.prototype, "features", 2);
2998
3120
  Plan = __decorateClass([
2999
- Entity24("plans")
3121
+ Entity27("plans")
3000
3122
  ], Plan);
3001
3123
 
3002
3124
  // src/entities/permission.entity.ts
3003
- import { Column as Column26, Entity as Entity25, Index as Index18 } from "typeorm";
3125
+ import { Column as Column29, Entity as Entity28, Index as Index21 } from "typeorm";
3004
3126
  var Permission = class extends BaseEntity {
3005
3127
  };
3006
3128
  __decorateClass([
3007
- Column26({ name: "name", type: "varchar", nullable: true })
3129
+ Column29({ name: "name", type: "varchar", nullable: true })
3008
3130
  ], Permission.prototype, "name", 2);
3009
3131
  __decorateClass([
3010
- Column26({ name: "slug", type: "varchar", nullable: true, unique: true }),
3011
- Index18()
3132
+ Column29({ name: "slug", type: "varchar", nullable: true, unique: true }),
3133
+ Index21()
3012
3134
  ], Permission.prototype, "slug", 2);
3013
3135
  __decorateClass([
3014
- Column26({ name: "description", type: "text", nullable: true })
3136
+ Column29({ name: "description", type: "text", nullable: true })
3015
3137
  ], Permission.prototype, "description", 2);
3016
3138
  __decorateClass([
3017
- Column26({ name: "is_active", type: "boolean", default: true })
3139
+ Column29({ name: "is_active", type: "boolean", default: true })
3018
3140
  ], Permission.prototype, "isActive", 2);
3019
3141
  Permission = __decorateClass([
3020
- Entity25("permissions")
3142
+ Entity28("permissions")
3021
3143
  ], Permission);
3022
3144
  export {
3023
3145
  AUTHENTICATION_PATTERN,
@@ -3051,21 +3173,26 @@ export {
3051
3173
  FREELANCER_EDUCATION_PATTERN,
3052
3174
  FREELANCER_EXPERIENCE_PATTERN,
3053
3175
  FREELANCER_PROJECT_PATTERN,
3176
+ FREELANCER_SKILL_PATTERN,
3054
3177
  Feature,
3055
3178
  ForgotPasswordDto,
3056
3179
  FreelancerBankDetailsDto,
3057
3180
  FreelancerCaseStudy,
3058
3181
  FreelancerChangePasswordDto,
3182
+ FreelancerCoreSkill,
3059
3183
  FreelancerCreateAccountDto,
3060
3184
  FreelancerDevelopmentPreferenceDto,
3061
3185
  FreelancerEducation,
3062
3186
  FreelancerEducationDto,
3063
3187
  FreelancerExperience,
3064
3188
  FreelancerExperienceDto,
3189
+ FreelancerFramework,
3065
3190
  FreelancerProfile,
3066
3191
  FreelancerProfileQuestionDto,
3067
3192
  FreelancerProject,
3068
3193
  FreelancerProjectDto,
3194
+ FreelancerSkillDto,
3195
+ FreelancerTool,
3069
3196
  FreelancerUploadResumeDto,
3070
3197
  FreelancerWorkShowcaseDto,
3071
3198
  FromUsOn,
@@ -18,3 +18,4 @@ export * from './company-member';
18
18
  export * from './user/freelancer-education';
19
19
  export * from './user/freelancer-project';
20
20
  export * from './permission';
21
+ export * from './user/freelancer-skill';
@@ -0,0 +1,5 @@
1
+ export declare class FreelancerSkillDto {
2
+ coreSkills: string[];
3
+ tools: string[];
4
+ frameworks: string[];
5
+ }
@@ -0,0 +1 @@
1
+ export * from './freelancer-skill.dto';
@@ -0,0 +1,2 @@
1
+ export * from './pattern/pattern';
2
+ export * from './dto';
@@ -0,0 +1,4 @@
1
+ export declare const FREELANCER_SKILL_PATTERN: {
2
+ fetchFreelancerSkill: string;
3
+ saveFreelancerSkill: string;
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.161",
3
+ "version": "1.0.162",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",