@feresmeryas/microservices-common 1.5.20 → 1.5.22

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
@@ -4,8 +4,41 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
 
6
6
  // dto/users/create_user.dto.ts
7
- import { ApiProperty } from "@nestjs/swagger";
8
- import { IsEmail, IsNotEmpty, MaxLength, MinLength } from "class-validator";
7
+ import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
8
+ import { IsEmail, IsNotEmpty, MaxLength, MinLength, IsEnum, IsOptional, IsString, IsUrl, IsInt, Min, ValidateIf } from "class-validator";
9
+
10
+ // enums/user-type.enum.ts
11
+ var UserType = /* @__PURE__ */ (function(UserType2) {
12
+ UserType2["DEFAULT"] = "DEFAULT";
13
+ UserType2["PROFESSIONAL"] = "PROFESSIONAL";
14
+ return UserType2;
15
+ })({});
16
+
17
+ // enums/business-sector.enum.ts
18
+ var BusinessSector = /* @__PURE__ */ (function(BusinessSector2) {
19
+ BusinessSector2["IT_SOFTWARE"] = "IT & Software Development";
20
+ BusinessSector2["DATA_ANALYTICS"] = "Data Science & Analytics";
21
+ BusinessSector2["ENGINEERING"] = "Engineering & Architecture";
22
+ BusinessSector2["DESIGN_CREATIVE"] = "Design & Creative";
23
+ BusinessSector2["WRITING_TRANSLATION"] = "Writing & Translation";
24
+ BusinessSector2["VIDEO_ANIMATION"] = "Video & Animation";
25
+ BusinessSector2["AUDIO_MUSIC"] = "Music & Audio";
26
+ BusinessSector2["MARKETING_SALES"] = "Marketing & Sales";
27
+ BusinessSector2["FINANCE_ACCOUNTING"] = "Finance & Accounting";
28
+ BusinessSector2["LEGAL"] = "Legal Services";
29
+ BusinessSector2["HR_RECRUITING"] = "HR & Recruiting";
30
+ BusinessSector2["CONSULTING"] = "Business Consulting";
31
+ BusinessSector2["ADMIN_SUPPORT"] = "Admin & Customer Support";
32
+ BusinessSector2["TRADES_CRAFTSMANSHIP"] = "Trades & Craftsmanship";
33
+ BusinessSector2["HEALTH_WELLNESS"] = "Health & Wellness";
34
+ BusinessSector2["EDUCATION_TRAINING"] = "Education & Training";
35
+ BusinessSector2["EVENTS_LIFESTYLE"] = "Events & Lifestyle";
36
+ BusinessSector2["REAL_ESTATE"] = "Real Estate";
37
+ BusinessSector2["LOGISTICS_OPERATIONS"] = "Logistics & Operations";
38
+ return BusinessSector2;
39
+ })({});
40
+
41
+ // dto/users/create_user.dto.ts
9
42
  function _ts_decorate(decorators, target, key, desc) {
10
43
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
11
44
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -23,6 +56,15 @@ var _CreateUserDto = class _CreateUserDto {
23
56
  __publicField(this, "fullName");
24
57
  __publicField(this, "password");
25
58
  __publicField(this, "confirmPassword");
59
+ __publicField(this, "userType");
60
+ // Professional fields - required only when userType is PROFESSIONAL
61
+ __publicField(this, "businessSector");
62
+ __publicField(this, "bio");
63
+ __publicField(this, "companyName");
64
+ __publicField(this, "website");
65
+ __publicField(this, "phone");
66
+ __publicField(this, "location");
67
+ __publicField(this, "yearsOfExperience");
26
68
  }
27
69
  };
28
70
  __name(_CreateUserDto, "CreateUserDto");
@@ -63,10 +105,90 @@ _ts_decorate([
63
105
  MinLength(6),
64
106
  _ts_metadata("design:type", String)
65
107
  ], CreateUserDto.prototype, "confirmPassword", void 0);
108
+ _ts_decorate([
109
+ ApiProperty({
110
+ enum: UserType,
111
+ example: UserType.DEFAULT,
112
+ description: "The type of user account",
113
+ default: UserType.DEFAULT
114
+ }),
115
+ IsEnum(UserType),
116
+ IsNotEmpty(),
117
+ _ts_metadata("design:type", typeof UserType === "undefined" ? Object : UserType)
118
+ ], CreateUserDto.prototype, "userType", void 0);
119
+ _ts_decorate([
120
+ ApiPropertyOptional({
121
+ enum: BusinessSector,
122
+ example: BusinessSector.IT_SOFTWARE,
123
+ description: "Business sector (required for professional accounts)"
124
+ }),
125
+ ValidateIf((o) => o.userType === UserType.PROFESSIONAL),
126
+ IsEnum(BusinessSector),
127
+ IsNotEmpty(),
128
+ _ts_metadata("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
129
+ ], CreateUserDto.prototype, "businessSector", void 0);
130
+ _ts_decorate([
131
+ ApiPropertyOptional({
132
+ example: "Experienced software developer specializing in web applications",
133
+ description: "Professional bio"
134
+ }),
135
+ IsOptional(),
136
+ IsString(),
137
+ MaxLength(1e3),
138
+ _ts_metadata("design:type", String)
139
+ ], CreateUserDto.prototype, "bio", void 0);
140
+ _ts_decorate([
141
+ ApiPropertyOptional({
142
+ example: "Tech Solutions Inc.",
143
+ description: "Company name"
144
+ }),
145
+ IsOptional(),
146
+ IsString(),
147
+ MaxLength(200),
148
+ _ts_metadata("design:type", String)
149
+ ], CreateUserDto.prototype, "companyName", void 0);
150
+ _ts_decorate([
151
+ ApiPropertyOptional({
152
+ example: "https://www.example.com",
153
+ description: "Professional website URL"
154
+ }),
155
+ IsOptional(),
156
+ IsUrl(),
157
+ _ts_metadata("design:type", String)
158
+ ], CreateUserDto.prototype, "website", void 0);
159
+ _ts_decorate([
160
+ ApiPropertyOptional({
161
+ example: "+1234567890",
162
+ description: "Contact phone number"
163
+ }),
164
+ IsOptional(),
165
+ IsString(),
166
+ _ts_metadata("design:type", String)
167
+ ], CreateUserDto.prototype, "phone", void 0);
168
+ _ts_decorate([
169
+ ApiPropertyOptional({
170
+ example: "New York, USA",
171
+ description: "Location/City"
172
+ }),
173
+ IsOptional(),
174
+ IsString(),
175
+ MaxLength(200),
176
+ _ts_metadata("design:type", String)
177
+ ], CreateUserDto.prototype, "location", void 0);
178
+ _ts_decorate([
179
+ ApiPropertyOptional({
180
+ example: 5,
181
+ description: "Years of professional experience"
182
+ }),
183
+ IsOptional(),
184
+ IsInt(),
185
+ Min(0),
186
+ _ts_metadata("design:type", Number)
187
+ ], CreateUserDto.prototype, "yearsOfExperience", void 0);
66
188
 
67
189
  // dto/users/create_user_firebase.dto.ts
68
190
  import { ApiProperty as ApiProperty2 } from "@nestjs/swagger";
69
- import { IsString } from "class-validator";
191
+ import { IsString as IsString2 } from "class-validator";
70
192
  function _ts_decorate2(decorators, target, key, desc) {
71
193
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
72
194
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -90,7 +212,7 @@ _ts_decorate2([
90
212
  example: "a6iOa3JR1tQd4BbcYQOlIQKai4B3",
91
213
  description: "The firebase Id of the user"
92
214
  }),
93
- IsString(),
215
+ IsString2(),
94
216
  _ts_metadata2("design:type", String)
95
217
  ], CreateUserFireBaseDto.prototype, "fireBaseUserId", void 0);
96
218
 
@@ -120,7 +242,7 @@ _ts_decorate3([
120
242
  ], EmailParamDto.prototype, "email", void 0);
121
243
 
122
244
  // dto/users/find-all-users.dto.ts
123
- import { IsOptional, IsInt, Min } from "class-validator";
245
+ import { IsOptional as IsOptional2, IsInt as IsInt2, Min as Min2 } from "class-validator";
124
246
  import { Type } from "class-transformer";
125
247
  function _ts_decorate4(decorators, target, key, desc) {
126
248
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -142,22 +264,22 @@ var _FindAllUsersDto = class _FindAllUsersDto {
142
264
  __name(_FindAllUsersDto, "FindAllUsersDto");
143
265
  var FindAllUsersDto = _FindAllUsersDto;
144
266
  _ts_decorate4([
145
- IsOptional(),
267
+ IsOptional2(),
146
268
  Type(() => Number),
147
- IsInt(),
148
- Min(1),
269
+ IsInt2(),
270
+ Min2(1),
149
271
  _ts_metadata4("design:type", Number)
150
272
  ], FindAllUsersDto.prototype, "page", void 0);
151
273
  _ts_decorate4([
152
- IsOptional(),
274
+ IsOptional2(),
153
275
  Type(() => Number),
154
- IsInt(),
155
- Min(1),
276
+ IsInt2(),
277
+ Min2(1),
156
278
  _ts_metadata4("design:type", Number)
157
279
  ], FindAllUsersDto.prototype, "limit", void 0);
158
280
 
159
281
  // dto/users/find-by-role.dto.ts
160
- import { IsString as IsString2 } from "class-validator";
282
+ import { IsString as IsString3 } from "class-validator";
161
283
  function _ts_decorate5(decorators, target, key, desc) {
162
284
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
163
285
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -177,7 +299,7 @@ var _FindByRoleDto = class _FindByRoleDto {
177
299
  __name(_FindByRoleDto, "FindByRoleDto");
178
300
  var FindByRoleDto = _FindByRoleDto;
179
301
  _ts_decorate5([
180
- IsString2(),
302
+ IsString3(),
181
303
  _ts_metadata5("design:type", String)
182
304
  ], FindByRoleDto.prototype, "roleName", void 0);
183
305
 
@@ -258,7 +380,7 @@ _ts_decorate7([
258
380
  ], LoginLocalDTO.prototype, "password", void 0);
259
381
 
260
382
  // dto/users/reset_password.dto.ts
261
- import { IsString as IsString3, MinLength as MinLength3 } from "class-validator";
383
+ import { IsString as IsString4, MinLength as MinLength3 } from "class-validator";
262
384
  function _ts_decorate8(decorators, target, key, desc) {
263
385
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
264
386
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -278,14 +400,14 @@ var _ResetPasswordDto = class _ResetPasswordDto {
278
400
  __name(_ResetPasswordDto, "ResetPasswordDto");
279
401
  var ResetPasswordDto = _ResetPasswordDto;
280
402
  _ts_decorate8([
281
- IsString3(),
403
+ IsString4(),
282
404
  MinLength3(8),
283
405
  _ts_metadata8("design:type", String)
284
406
  ], ResetPasswordDto.prototype, "password", void 0);
285
407
 
286
408
  // dto/users/update-user.dto.ts
287
- import { IsString as IsString4, IsOptional as IsOptional2, MinLength as MinLength4, MaxLength as MaxLength3 } from "class-validator";
288
- import { ApiPropertyOptional } from "@nestjs/swagger";
409
+ import { IsString as IsString5, IsOptional as IsOptional3, MinLength as MinLength4, MaxLength as MaxLength3 } from "class-validator";
410
+ import { ApiPropertyOptional as ApiPropertyOptional2 } from "@nestjs/swagger";
289
411
  function _ts_decorate9(decorators, target, key, desc) {
290
412
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
291
413
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -305,14 +427,14 @@ var _UpdateUserDto = class _UpdateUserDto {
305
427
  __name(_UpdateUserDto, "UpdateUserDto");
306
428
  var UpdateUserDto = _UpdateUserDto;
307
429
  _ts_decorate9([
308
- ApiPropertyOptional({
430
+ ApiPropertyOptional2({
309
431
  description: "User full name",
310
432
  example: "John Doe",
311
433
  minLength: 2,
312
434
  maxLength: 100
313
435
  }),
314
- IsOptional2(),
315
- IsString4(),
436
+ IsOptional3(),
437
+ IsString5(),
316
438
  MinLength4(2),
317
439
  MaxLength3(100),
318
440
  _ts_metadata9("design:type", String)
@@ -320,7 +442,7 @@ _ts_decorate9([
320
442
 
321
443
  // dto/users/update_password.dto.ts
322
444
  import { ApiProperty as ApiProperty4 } from "@nestjs/swagger";
323
- import { IsString as IsString5, MaxLength as MaxLength4, MinLength as MinLength5 } from "class-validator";
445
+ import { IsString as IsString6, MaxLength as MaxLength4, MinLength as MinLength5 } from "class-validator";
324
446
  function _ts_decorate10(decorators, target, key, desc) {
325
447
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
326
448
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -347,7 +469,7 @@ _ts_decorate10([
347
469
  example: "3db4c508798e8d7c9b5652c50fb246cab4b9a26baf9997adb1180ba3189f7601",
348
470
  description: "token sent in the email of the user"
349
471
  }),
350
- IsString5(),
472
+ IsString6(),
351
473
  MinLength5(10),
352
474
  MaxLength4(200),
353
475
  _ts_metadata10("design:type", String)
@@ -357,7 +479,7 @@ _ts_decorate10([
357
479
  example: "strongpassword",
358
480
  description: "The old password of the user"
359
481
  }),
360
- IsString5(),
482
+ IsString6(),
361
483
  MinLength5(8),
362
484
  MaxLength4(50),
363
485
  _ts_metadata10("design:type", String)
@@ -367,7 +489,7 @@ _ts_decorate10([
367
489
  example: "strongpassword",
368
490
  description: "The new password of the user"
369
491
  }),
370
- IsString5(),
492
+ IsString6(),
371
493
  MinLength5(8),
372
494
  MaxLength4(50),
373
495
  _ts_metadata10("design:type", String)
@@ -377,40 +499,199 @@ _ts_decorate10([
377
499
  example: "strongpassword",
378
500
  description: "The confirmation of the new password"
379
501
  }),
380
- IsString5(),
502
+ IsString6(),
381
503
  MinLength5(8),
382
504
  MaxLength4(50),
383
505
  _ts_metadata10("design:type", String)
384
506
  ], UpdatePasswordDto.prototype, "confirmNewPassword", void 0);
385
507
 
386
508
  // dto/users/user_response.dto.ts
509
+ import { ApiProperty as ApiProperty5, ApiPropertyOptional as ApiPropertyOptional3 } from "@nestjs/swagger";
510
+ function _ts_decorate11(decorators, target, key, desc) {
511
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
512
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
513
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
514
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
515
+ }
516
+ __name(_ts_decorate11, "_ts_decorate");
517
+ function _ts_metadata11(k, v) {
518
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
519
+ }
520
+ __name(_ts_metadata11, "_ts_metadata");
387
521
  var _UserResponseDto = class _UserResponseDto {
388
522
  constructor() {
389
523
  __publicField(this, "id");
524
+ __publicField(this, "email");
390
525
  __publicField(this, "fullName");
391
526
  __publicField(this, "profilePictureUrl");
392
- __publicField(this, "email");
527
+ __publicField(this, "userType");
393
528
  __publicField(this, "createdAt");
394
529
  __publicField(this, "updatedAt");
395
530
  __publicField(this, "role");
531
+ __publicField(this, "professionalProfile");
396
532
  }
397
533
  };
398
534
  __name(_UserResponseDto, "UserResponseDto");
399
535
  var UserResponseDto = _UserResponseDto;
536
+ _ts_decorate11([
537
+ ApiProperty5({
538
+ example: "uuid-string"
539
+ }),
540
+ _ts_metadata11("design:type", String)
541
+ ], UserResponseDto.prototype, "id", void 0);
542
+ _ts_decorate11([
543
+ ApiProperty5({
544
+ example: "user@example.com"
545
+ }),
546
+ _ts_metadata11("design:type", String)
547
+ ], UserResponseDto.prototype, "email", void 0);
548
+ _ts_decorate11([
549
+ ApiProperty5({
550
+ example: "John Doe"
551
+ }),
552
+ _ts_metadata11("design:type", String)
553
+ ], UserResponseDto.prototype, "fullName", void 0);
554
+ _ts_decorate11([
555
+ ApiPropertyOptional3({
556
+ example: "https://example.com/profile.jpg"
557
+ }),
558
+ _ts_metadata11("design:type", Object)
559
+ ], UserResponseDto.prototype, "profilePictureUrl", void 0);
560
+ _ts_decorate11([
561
+ ApiProperty5({
562
+ enum: UserType,
563
+ example: UserType.DEFAULT
564
+ }),
565
+ _ts_metadata11("design:type", typeof UserType === "undefined" ? Object : UserType)
566
+ ], UserResponseDto.prototype, "userType", void 0);
567
+ _ts_decorate11([
568
+ ApiProperty5(),
569
+ _ts_metadata11("design:type", typeof Date === "undefined" ? Object : Date)
570
+ ], UserResponseDto.prototype, "createdAt", void 0);
571
+ _ts_decorate11([
572
+ ApiProperty5(),
573
+ _ts_metadata11("design:type", typeof Date === "undefined" ? Object : Date)
574
+ ], UserResponseDto.prototype, "updatedAt", void 0);
575
+ _ts_decorate11([
576
+ ApiProperty5({
577
+ example: {
578
+ name: "DEFAULT"
579
+ }
580
+ }),
581
+ _ts_metadata11("design:type", Object)
582
+ ], UserResponseDto.prototype, "role", void 0);
583
+ _ts_decorate11([
584
+ ApiPropertyOptional3(),
585
+ _ts_metadata11("design:type", typeof ProfessionalProfileResponseDto === "undefined" ? Object : ProfessionalProfileResponseDto)
586
+ ], UserResponseDto.prototype, "professionalProfile", void 0);
587
+ var _ProfessionalProfileResponseDto = class _ProfessionalProfileResponseDto {
588
+ constructor() {
589
+ __publicField(this, "id");
590
+ __publicField(this, "businessSector");
591
+ __publicField(this, "bio");
592
+ __publicField(this, "companyName");
593
+ __publicField(this, "website");
594
+ __publicField(this, "phone");
595
+ __publicField(this, "location");
596
+ __publicField(this, "yearsOfExperience");
597
+ __publicField(this, "isVerified");
598
+ __publicField(this, "hourlyRate");
599
+ __publicField(this, "availabilityStatus");
600
+ __publicField(this, "createdAt");
601
+ __publicField(this, "updatedAt");
602
+ }
603
+ };
604
+ __name(_ProfessionalProfileResponseDto, "ProfessionalProfileResponseDto");
605
+ var ProfessionalProfileResponseDto = _ProfessionalProfileResponseDto;
606
+ _ts_decorate11([
607
+ ApiProperty5({
608
+ example: "uuid-string"
609
+ }),
610
+ _ts_metadata11("design:type", String)
611
+ ], ProfessionalProfileResponseDto.prototype, "id", void 0);
612
+ _ts_decorate11([
613
+ ApiProperty5({
614
+ enum: BusinessSector,
615
+ example: BusinessSector.IT_SOFTWARE
616
+ }),
617
+ _ts_metadata11("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
618
+ ], ProfessionalProfileResponseDto.prototype, "businessSector", void 0);
619
+ _ts_decorate11([
620
+ ApiPropertyOptional3({
621
+ example: "Experienced developer..."
622
+ }),
623
+ _ts_metadata11("design:type", Object)
624
+ ], ProfessionalProfileResponseDto.prototype, "bio", void 0);
625
+ _ts_decorate11([
626
+ ApiPropertyOptional3({
627
+ example: "Tech Solutions Inc."
628
+ }),
629
+ _ts_metadata11("design:type", Object)
630
+ ], ProfessionalProfileResponseDto.prototype, "companyName", void 0);
631
+ _ts_decorate11([
632
+ ApiPropertyOptional3({
633
+ example: "https://www.example.com"
634
+ }),
635
+ _ts_metadata11("design:type", Object)
636
+ ], ProfessionalProfileResponseDto.prototype, "website", void 0);
637
+ _ts_decorate11([
638
+ ApiPropertyOptional3({
639
+ example: "+1234567890"
640
+ }),
641
+ _ts_metadata11("design:type", Object)
642
+ ], ProfessionalProfileResponseDto.prototype, "phone", void 0);
643
+ _ts_decorate11([
644
+ ApiPropertyOptional3({
645
+ example: "New York, USA"
646
+ }),
647
+ _ts_metadata11("design:type", Object)
648
+ ], ProfessionalProfileResponseDto.prototype, "location", void 0);
649
+ _ts_decorate11([
650
+ ApiPropertyOptional3({
651
+ example: 5
652
+ }),
653
+ _ts_metadata11("design:type", Object)
654
+ ], ProfessionalProfileResponseDto.prototype, "yearsOfExperience", void 0);
655
+ _ts_decorate11([
656
+ ApiProperty5({
657
+ example: false
658
+ }),
659
+ _ts_metadata11("design:type", Boolean)
660
+ ], ProfessionalProfileResponseDto.prototype, "isVerified", void 0);
661
+ _ts_decorate11([
662
+ ApiPropertyOptional3({
663
+ example: 75.5
664
+ }),
665
+ _ts_metadata11("design:type", Object)
666
+ ], ProfessionalProfileResponseDto.prototype, "hourlyRate", void 0);
667
+ _ts_decorate11([
668
+ ApiProperty5({
669
+ example: "available"
670
+ }),
671
+ _ts_metadata11("design:type", String)
672
+ ], ProfessionalProfileResponseDto.prototype, "availabilityStatus", void 0);
673
+ _ts_decorate11([
674
+ ApiProperty5(),
675
+ _ts_metadata11("design:type", typeof Date === "undefined" ? Object : Date)
676
+ ], ProfessionalProfileResponseDto.prototype, "createdAt", void 0);
677
+ _ts_decorate11([
678
+ ApiProperty5(),
679
+ _ts_metadata11("design:type", typeof Date === "undefined" ? Object : Date)
680
+ ], ProfessionalProfileResponseDto.prototype, "updatedAt", void 0);
400
681
 
401
682
  // dto/users/search_users_by_full_name.dto.ts
402
- import { IsOptional as IsOptional3, IsString as IsString6 } from "class-validator";
403
- function _ts_decorate11(decorators, target, key, desc) {
683
+ import { IsOptional as IsOptional4, IsString as IsString7 } from "class-validator";
684
+ function _ts_decorate12(decorators, target, key, desc) {
404
685
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
405
686
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
406
687
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
407
688
  return c > 3 && r && Object.defineProperty(target, key, r), r;
408
689
  }
409
- __name(_ts_decorate11, "_ts_decorate");
410
- function _ts_metadata11(k, v) {
690
+ __name(_ts_decorate12, "_ts_decorate");
691
+ function _ts_metadata12(k, v) {
411
692
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
412
693
  }
413
- __name(_ts_metadata11, "_ts_metadata");
694
+ __name(_ts_metadata12, "_ts_metadata");
414
695
  var _SearchUsersByFullNameDTO = class _SearchUsersByFullNameDTO extends FindAllUsersDto {
415
696
  constructor() {
416
697
  super(...arguments);
@@ -419,25 +700,25 @@ var _SearchUsersByFullNameDTO = class _SearchUsersByFullNameDTO extends FindAllU
419
700
  };
420
701
  __name(_SearchUsersByFullNameDTO, "SearchUsersByFullNameDTO");
421
702
  var SearchUsersByFullNameDTO = _SearchUsersByFullNameDTO;
422
- _ts_decorate11([
423
- IsString6(),
424
- IsOptional3(),
425
- _ts_metadata11("design:type", String)
703
+ _ts_decorate12([
704
+ IsString7(),
705
+ IsOptional4(),
706
+ _ts_metadata12("design:type", String)
426
707
  ], SearchUsersByFullNameDTO.prototype, "fullName", void 0);
427
708
 
428
709
  // dto/storage/delete-file.dto.ts
429
- import { IsString as IsString7, IsNotEmpty as IsNotEmpty4 } from "class-validator";
430
- function _ts_decorate12(decorators, target, key, desc) {
710
+ import { IsString as IsString8, IsNotEmpty as IsNotEmpty4 } from "class-validator";
711
+ function _ts_decorate13(decorators, target, key, desc) {
431
712
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
432
713
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
433
714
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
434
715
  return c > 3 && r && Object.defineProperty(target, key, r), r;
435
716
  }
436
- __name(_ts_decorate12, "_ts_decorate");
437
- function _ts_metadata12(k, v) {
717
+ __name(_ts_decorate13, "_ts_decorate");
718
+ function _ts_metadata13(k, v) {
438
719
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
439
720
  }
440
- __name(_ts_metadata12, "_ts_metadata");
721
+ __name(_ts_metadata13, "_ts_metadata");
441
722
  var _DeleteFileDto = class _DeleteFileDto {
442
723
  constructor() {
443
724
  __publicField(this, "fileUrl");
@@ -445,10 +726,10 @@ var _DeleteFileDto = class _DeleteFileDto {
445
726
  };
446
727
  __name(_DeleteFileDto, "DeleteFileDto");
447
728
  var DeleteFileDto = _DeleteFileDto;
448
- _ts_decorate12([
449
- IsString7(),
729
+ _ts_decorate13([
730
+ IsString8(),
450
731
  IsNotEmpty4(),
451
- _ts_metadata12("design:type", String)
732
+ _ts_metadata13("design:type", String)
452
733
  ], DeleteFileDto.prototype, "fileUrl", void 0);
453
734
 
454
735
  // dto/storage/file-response.dto.ts
@@ -465,18 +746,18 @@ __name(_FileResponseDto, "FileResponseDto");
465
746
  var FileResponseDto = _FileResponseDto;
466
747
 
467
748
  // dto/storage/upload-file.dto.ts
468
- import { IsString as IsString8, IsNotEmpty as IsNotEmpty5, IsEnum, IsOptional as IsOptional4 } from "class-validator";
469
- function _ts_decorate13(decorators, target, key, desc) {
749
+ import { IsString as IsString9, IsNotEmpty as IsNotEmpty5, IsEnum as IsEnum2, IsOptional as IsOptional5 } from "class-validator";
750
+ function _ts_decorate14(decorators, target, key, desc) {
470
751
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
471
752
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
472
753
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
473
754
  return c > 3 && r && Object.defineProperty(target, key, r), r;
474
755
  }
475
- __name(_ts_decorate13, "_ts_decorate");
476
- function _ts_metadata13(k, v) {
756
+ __name(_ts_decorate14, "_ts_decorate");
757
+ function _ts_metadata14(k, v) {
477
758
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
478
759
  }
479
- __name(_ts_metadata13, "_ts_metadata");
760
+ __name(_ts_metadata14, "_ts_metadata");
480
761
  var FileCategory = /* @__PURE__ */ (function(FileCategory2) {
481
762
  FileCategory2["PROFILE_PICTURES"] = "profile-pictures";
482
763
  FileCategory2["POST_IMAGES"] = "post-images";
@@ -498,24 +779,24 @@ var _UploadFileDto = class _UploadFileDto {
498
779
  };
499
780
  __name(_UploadFileDto, "UploadFileDto");
500
781
  var UploadFileDto = _UploadFileDto;
501
- _ts_decorate13([
502
- IsString8(),
782
+ _ts_decorate14([
783
+ IsString9(),
503
784
  IsNotEmpty5(),
504
- _ts_metadata13("design:type", String)
785
+ _ts_metadata14("design:type", String)
505
786
  ], UploadFileDto.prototype, "userId", void 0);
506
- _ts_decorate13([
507
- IsEnum(FileCategory),
508
- _ts_metadata13("design:type", String)
787
+ _ts_decorate14([
788
+ IsEnum2(FileCategory),
789
+ _ts_metadata14("design:type", String)
509
790
  ], UploadFileDto.prototype, "category", void 0);
510
- _ts_decorate13([
511
- IsString8(),
791
+ _ts_decorate14([
792
+ IsString9(),
512
793
  IsNotEmpty5(),
513
- _ts_metadata13("design:type", String)
794
+ _ts_metadata14("design:type", String)
514
795
  ], UploadFileDto.prototype, "fileName", void 0);
515
- _ts_decorate13([
516
- IsString8(),
517
- IsOptional4(),
518
- _ts_metadata13("design:type", String)
796
+ _ts_decorate14([
797
+ IsString9(),
798
+ IsOptional5(),
799
+ _ts_metadata14("design:type", String)
519
800
  ], UploadFileDto.prototype, "mimeType", void 0);
520
801
 
521
802
  // dto/shared/reaction_type.enum.ts
@@ -529,23 +810,23 @@ var ReactionType = /* @__PURE__ */ (function(ReactionType2) {
529
810
  })({});
530
811
 
531
812
  // dto/posts/create_post.dto.ts
532
- import { ApiProperty as ApiProperty6 } from "@nestjs/swagger";
533
- import { IsArray, IsEnum as IsEnum2, IsNotEmpty as IsNotEmpty7, IsOptional as IsOptional6, IsString as IsString10, MaxLength as MaxLength5, MinLength as MinLength6, ValidateNested } from "class-validator";
813
+ import { ApiProperty as ApiProperty7 } from "@nestjs/swagger";
814
+ import { IsArray, IsEnum as IsEnum3, IsNotEmpty as IsNotEmpty7, IsOptional as IsOptional7, IsString as IsString11, MaxLength as MaxLength5, MinLength as MinLength6, ValidateNested } from "class-validator";
534
815
 
535
816
  // dto/posts/create_post._file.dto.ts
536
- import { IsString as IsString9, IsNotEmpty as IsNotEmpty6, IsOptional as IsOptional5 } from "class-validator";
537
- import { ApiProperty as ApiProperty5 } from "@nestjs/swagger";
538
- function _ts_decorate14(decorators, target, key, desc) {
817
+ import { IsString as IsString10, IsNotEmpty as IsNotEmpty6, IsOptional as IsOptional6 } from "class-validator";
818
+ import { ApiProperty as ApiProperty6 } from "@nestjs/swagger";
819
+ function _ts_decorate15(decorators, target, key, desc) {
539
820
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
540
821
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
541
822
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
542
823
  return c > 3 && r && Object.defineProperty(target, key, r), r;
543
824
  }
544
- __name(_ts_decorate14, "_ts_decorate");
545
- function _ts_metadata14(k, v) {
825
+ __name(_ts_decorate15, "_ts_decorate");
826
+ function _ts_metadata15(k, v) {
546
827
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
547
828
  }
548
- __name(_ts_metadata14, "_ts_metadata");
829
+ __name(_ts_metadata15, "_ts_metadata");
549
830
  var _CreatePostFileDto = class _CreatePostFileDto {
550
831
  constructor() {
551
832
  __publicField(this, "fileBuffer");
@@ -556,36 +837,36 @@ var _CreatePostFileDto = class _CreatePostFileDto {
556
837
  };
557
838
  __name(_CreatePostFileDto, "CreatePostFileDto");
558
839
  var CreatePostFileDto = _CreatePostFileDto;
559
- _ts_decorate14([
560
- ApiProperty5({
840
+ _ts_decorate15([
841
+ ApiProperty6({
561
842
  description: "Base64 encoded file",
562
843
  example: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
563
844
  }),
564
- IsString9(),
845
+ IsString10(),
565
846
  IsNotEmpty6(),
566
- _ts_metadata14("design:type", String)
847
+ _ts_metadata15("design:type", String)
567
848
  ], CreatePostFileDto.prototype, "fileBuffer", void 0);
568
- _ts_decorate14([
569
- ApiProperty5({
849
+ _ts_decorate15([
850
+ ApiProperty6({
570
851
  description: "File name",
571
852
  example: "vacation-photo.jpg"
572
853
  }),
573
- IsString9(),
854
+ IsString10(),
574
855
  IsNotEmpty6(),
575
- _ts_metadata14("design:type", String)
856
+ _ts_metadata15("design:type", String)
576
857
  ], CreatePostFileDto.prototype, "fileName", void 0);
577
- _ts_decorate14([
578
- ApiProperty5({
858
+ _ts_decorate15([
859
+ ApiProperty6({
579
860
  description: "MIME type",
580
861
  example: "image/jpeg",
581
862
  required: false
582
863
  }),
583
- IsString9(),
584
- IsOptional5(),
585
- _ts_metadata14("design:type", String)
864
+ IsString10(),
865
+ IsOptional6(),
866
+ _ts_metadata15("design:type", String)
586
867
  ], CreatePostFileDto.prototype, "mimeType", void 0);
587
- _ts_decorate14([
588
- ApiProperty5({
868
+ _ts_decorate15([
869
+ ApiProperty6({
589
870
  description: "File type",
590
871
  example: "image",
591
872
  enum: [
@@ -593,50 +874,24 @@ _ts_decorate14([
593
874
  "video"
594
875
  ]
595
876
  }),
596
- IsString9(),
877
+ IsString10(),
597
878
  IsNotEmpty6(),
598
- _ts_metadata14("design:type", String)
879
+ _ts_metadata15("design:type", String)
599
880
  ], CreatePostFileDto.prototype, "fileType", void 0);
600
881
 
601
882
  // dto/posts/create_post.dto.ts
602
883
  import { Type as Type2 } from "class-transformer";
603
-
604
- // enums/business-sector.enum.ts
605
- var BusinessSector = /* @__PURE__ */ (function(BusinessSector2) {
606
- BusinessSector2["IT_SOFTWARE"] = "IT & Software Development";
607
- BusinessSector2["DATA_ANALYTICS"] = "Data Science & Analytics";
608
- BusinessSector2["ENGINEERING"] = "Engineering & Architecture";
609
- BusinessSector2["DESIGN_CREATIVE"] = "Design & Creative";
610
- BusinessSector2["WRITING_TRANSLATION"] = "Writing & Translation";
611
- BusinessSector2["VIDEO_ANIMATION"] = "Video & Animation";
612
- BusinessSector2["AUDIO_MUSIC"] = "Music & Audio";
613
- BusinessSector2["MARKETING_SALES"] = "Marketing & Sales";
614
- BusinessSector2["FINANCE_ACCOUNTING"] = "Finance & Accounting";
615
- BusinessSector2["LEGAL"] = "Legal Services";
616
- BusinessSector2["HR_RECRUITING"] = "HR & Recruiting";
617
- BusinessSector2["CONSULTING"] = "Business Consulting";
618
- BusinessSector2["ADMIN_SUPPORT"] = "Admin & Customer Support";
619
- BusinessSector2["TRADES_CRAFTSMANSHIP"] = "Trades & Craftsmanship";
620
- BusinessSector2["HEALTH_WELLNESS"] = "Health & Wellness";
621
- BusinessSector2["EDUCATION_TRAINING"] = "Education & Training";
622
- BusinessSector2["EVENTS_LIFESTYLE"] = "Events & Lifestyle";
623
- BusinessSector2["REAL_ESTATE"] = "Real Estate";
624
- BusinessSector2["LOGISTICS_OPERATIONS"] = "Logistics & Operations";
625
- return BusinessSector2;
626
- })({});
627
-
628
- // dto/posts/create_post.dto.ts
629
- function _ts_decorate15(decorators, target, key, desc) {
884
+ function _ts_decorate16(decorators, target, key, desc) {
630
885
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
631
886
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
632
887
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
633
888
  return c > 3 && r && Object.defineProperty(target, key, r), r;
634
889
  }
635
- __name(_ts_decorate15, "_ts_decorate");
636
- function _ts_metadata15(k, v) {
890
+ __name(_ts_decorate16, "_ts_decorate");
891
+ function _ts_metadata16(k, v) {
637
892
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
638
893
  }
639
- __name(_ts_metadata15, "_ts_metadata");
894
+ __name(_ts_metadata16, "_ts_metadata");
640
895
  var _CreatePostDto = class _CreatePostDto {
641
896
  constructor() {
642
897
  __publicField(this, "description");
@@ -646,31 +901,31 @@ var _CreatePostDto = class _CreatePostDto {
646
901
  };
647
902
  __name(_CreatePostDto, "CreatePostDto");
648
903
  var CreatePostDto = _CreatePostDto;
649
- _ts_decorate15([
650
- ApiProperty6({
904
+ _ts_decorate16([
905
+ ApiProperty7({
651
906
  description: "Post description/content",
652
907
  example: "Check out this amazing view!",
653
908
  minLength: 1,
654
909
  maxLength: 5e3
655
910
  }),
656
- IsString10(),
911
+ IsString11(),
657
912
  IsNotEmpty7(),
658
913
  MinLength6(1),
659
914
  MaxLength5(5e3),
660
- _ts_metadata15("design:type", String)
915
+ _ts_metadata16("design:type", String)
661
916
  ], CreatePostDto.prototype, "description", void 0);
662
- _ts_decorate15([
663
- ApiProperty6({
917
+ _ts_decorate16([
918
+ ApiProperty7({
664
919
  description: "The business sector for the post",
665
920
  enum: BusinessSector,
666
921
  required: true,
667
922
  default: BusinessSector.CONSULTING
668
923
  }),
669
- IsEnum2(BusinessSector),
670
- _ts_metadata15("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
924
+ IsEnum3(BusinessSector),
925
+ _ts_metadata16("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
671
926
  ], CreatePostDto.prototype, "sector", void 0);
672
- _ts_decorate15([
673
- ApiProperty6({
927
+ _ts_decorate16([
928
+ ApiProperty7({
674
929
  description: "Array of files to upload with the post",
675
930
  type: [
676
931
  CreatePostFileDto
@@ -682,26 +937,26 @@ _ts_decorate15([
682
937
  each: true
683
938
  }),
684
939
  Type2(() => CreatePostFileDto),
685
- IsOptional6(),
686
- _ts_metadata15("design:type", Array)
940
+ IsOptional7(),
941
+ _ts_metadata16("design:type", Array)
687
942
  ], CreatePostDto.prototype, "files", void 0);
688
943
 
689
944
  // dto/posts/post_response.dto.ts
690
- import { ApiProperty as ApiProperty9 } from "@nestjs/swagger";
945
+ import { ApiProperty as ApiProperty10 } from "@nestjs/swagger";
691
946
 
692
947
  // dto/posts/post_file.dto.ts
693
- import { ApiProperty as ApiProperty7 } from "@nestjs/swagger";
694
- function _ts_decorate16(decorators, target, key, desc) {
948
+ import { ApiProperty as ApiProperty8 } from "@nestjs/swagger";
949
+ function _ts_decorate17(decorators, target, key, desc) {
695
950
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
696
951
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
697
952
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
698
953
  return c > 3 && r && Object.defineProperty(target, key, r), r;
699
954
  }
700
- __name(_ts_decorate16, "_ts_decorate");
701
- function _ts_metadata16(k, v) {
955
+ __name(_ts_decorate17, "_ts_decorate");
956
+ function _ts_metadata17(k, v) {
702
957
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
703
958
  }
704
- __name(_ts_metadata16, "_ts_metadata");
959
+ __name(_ts_metadata17, "_ts_metadata");
705
960
  var _PostFileDto = class _PostFileDto {
706
961
  constructor() {
707
962
  __publicField(this, "id");
@@ -714,64 +969,64 @@ var _PostFileDto = class _PostFileDto {
714
969
  };
715
970
  __name(_PostFileDto, "PostFileDto");
716
971
  var PostFileDto = _PostFileDto;
717
- _ts_decorate16([
718
- ApiProperty7({
972
+ _ts_decorate17([
973
+ ApiProperty8({
719
974
  example: "123e4567-e89b-12d3-a456-426614174000"
720
975
  }),
721
- _ts_metadata16("design:type", String)
976
+ _ts_metadata17("design:type", String)
722
977
  ], PostFileDto.prototype, "id", void 0);
723
- _ts_decorate16([
724
- ApiProperty7({
978
+ _ts_decorate17([
979
+ ApiProperty8({
725
980
  example: "https://storage.example.com/posts/image.jpg"
726
981
  }),
727
- _ts_metadata16("design:type", String)
982
+ _ts_metadata17("design:type", String)
728
983
  ], PostFileDto.prototype, "fileUrl", void 0);
729
- _ts_decorate16([
730
- ApiProperty7({
984
+ _ts_decorate17([
985
+ ApiProperty8({
731
986
  example: "image",
732
987
  enum: [
733
988
  "image",
734
989
  "video"
735
990
  ]
736
991
  }),
737
- _ts_metadata16("design:type", String)
992
+ _ts_metadata17("design:type", String)
738
993
  ], PostFileDto.prototype, "fileType", void 0);
739
- _ts_decorate16([
740
- ApiProperty7({
994
+ _ts_decorate17([
995
+ ApiProperty8({
741
996
  example: "image/jpeg",
742
997
  nullable: true
743
998
  }),
744
- _ts_metadata16("design:type", Object)
999
+ _ts_metadata17("design:type", Object)
745
1000
  ], PostFileDto.prototype, "mimeType", void 0);
746
- _ts_decorate16([
747
- ApiProperty7({
1001
+ _ts_decorate17([
1002
+ ApiProperty8({
748
1003
  example: 0
749
1004
  }),
750
- _ts_metadata16("design:type", Number)
1005
+ _ts_metadata17("design:type", Number)
751
1006
  ], PostFileDto.prototype, "orderIndex", void 0);
752
- _ts_decorate16([
753
- ApiProperty7({
1007
+ _ts_decorate17([
1008
+ ApiProperty8({
754
1009
  example: "2024-01-15T10:30:00Z"
755
1010
  }),
756
- _ts_metadata16("design:type", typeof Date === "undefined" ? Object : Date)
1011
+ _ts_metadata17("design:type", typeof Date === "undefined" ? Object : Date)
757
1012
  ], PostFileDto.prototype, "createdAt", void 0);
758
1013
 
759
1014
  // dto/posts/post_response.dto.ts
760
- import { IsEnum as IsEnum3 } from "class-validator";
1015
+ import { IsEnum as IsEnum4 } from "class-validator";
761
1016
 
762
1017
  // dto/tags/tag_response.dto.ts
763
- import { ApiProperty as ApiProperty8 } from "@nestjs/swagger";
764
- function _ts_decorate17(decorators, target, key, desc) {
1018
+ import { ApiProperty as ApiProperty9 } from "@nestjs/swagger";
1019
+ function _ts_decorate18(decorators, target, key, desc) {
765
1020
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
766
1021
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
767
1022
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
768
1023
  return c > 3 && r && Object.defineProperty(target, key, r), r;
769
1024
  }
770
- __name(_ts_decorate17, "_ts_decorate");
771
- function _ts_metadata17(k, v) {
1025
+ __name(_ts_decorate18, "_ts_decorate");
1026
+ function _ts_metadata18(k, v) {
772
1027
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
773
1028
  }
774
- __name(_ts_metadata17, "_ts_metadata");
1029
+ __name(_ts_metadata18, "_ts_metadata");
775
1030
  var _TagResponseDto = class _TagResponseDto {
776
1031
  constructor() {
777
1032
  __publicField(this, "name");
@@ -782,37 +1037,37 @@ var _TagResponseDto = class _TagResponseDto {
782
1037
  };
783
1038
  __name(_TagResponseDto, "TagResponseDto");
784
1039
  var TagResponseDto = _TagResponseDto;
785
- _ts_decorate17([
786
- ApiProperty8({
1040
+ _ts_decorate18([
1041
+ ApiProperty9({
787
1042
  example: "React JS"
788
1043
  }),
789
- _ts_metadata17("design:type", String)
1044
+ _ts_metadata18("design:type", String)
790
1045
  ], TagResponseDto.prototype, "name", void 0);
791
- _ts_decorate17([
792
- ApiProperty8({
1046
+ _ts_decorate18([
1047
+ ApiProperty9({
793
1048
  example: "react-js"
794
1049
  }),
795
- _ts_metadata17("design:type", String)
1050
+ _ts_metadata18("design:type", String)
796
1051
  ], TagResponseDto.prototype, "slug", void 0);
797
- _ts_decorate17([
798
- ApiProperty8({
1052
+ _ts_decorate18([
1053
+ ApiProperty9({
799
1054
  example: "uuid-v4-string"
800
1055
  }),
801
- _ts_metadata17("design:type", String)
1056
+ _ts_metadata18("design:type", String)
802
1057
  ], TagResponseDto.prototype, "id", void 0);
803
1058
 
804
1059
  // dto/posts/post_response.dto.ts
805
- function _ts_decorate18(decorators, target, key, desc) {
1060
+ function _ts_decorate19(decorators, target, key, desc) {
806
1061
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
807
1062
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
808
1063
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
809
1064
  return c > 3 && r && Object.defineProperty(target, key, r), r;
810
1065
  }
811
- __name(_ts_decorate18, "_ts_decorate");
812
- function _ts_metadata18(k, v) {
1066
+ __name(_ts_decorate19, "_ts_decorate");
1067
+ function _ts_metadata19(k, v) {
813
1068
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
814
1069
  }
815
- __name(_ts_metadata18, "_ts_metadata");
1070
+ __name(_ts_metadata19, "_ts_metadata");
816
1071
  var _PostResponseDto = class _PostResponseDto {
817
1072
  constructor() {
818
1073
  __publicField(this, "id");
@@ -831,102 +1086,102 @@ var _PostResponseDto = class _PostResponseDto {
831
1086
  };
832
1087
  __name(_PostResponseDto, "PostResponseDto");
833
1088
  var PostResponseDto = _PostResponseDto;
834
- _ts_decorate18([
835
- ApiProperty9({
1089
+ _ts_decorate19([
1090
+ ApiProperty10({
836
1091
  example: "123e4567-e89b-12d3-a456-426614174000"
837
1092
  }),
838
- _ts_metadata18("design:type", String)
1093
+ _ts_metadata19("design:type", String)
839
1094
  ], PostResponseDto.prototype, "id", void 0);
840
- _ts_decorate18([
841
- ApiProperty9({
1095
+ _ts_decorate19([
1096
+ ApiProperty10({
842
1097
  example: "123e4567-e89b-12d3-a456-426614174001"
843
1098
  }),
844
- _ts_metadata18("design:type", String)
1099
+ _ts_metadata19("design:type", String)
845
1100
  ], PostResponseDto.prototype, "publisherId", void 0);
846
- _ts_decorate18([
847
- ApiProperty9({
1101
+ _ts_decorate19([
1102
+ ApiProperty10({
848
1103
  example: "Check out this amazing view!"
849
1104
  }),
850
- _ts_metadata18("design:type", String)
1105
+ _ts_metadata19("design:type", String)
851
1106
  ], PostResponseDto.prototype, "description", void 0);
852
- _ts_decorate18([
853
- ApiProperty9({
1107
+ _ts_decorate19([
1108
+ ApiProperty10({
854
1109
  example: "John Doe"
855
1110
  }),
856
- _ts_metadata18("design:type", String)
1111
+ _ts_metadata19("design:type", String)
857
1112
  ], PostResponseDto.prototype, "publisherFullName", void 0);
858
- _ts_decorate18([
859
- ApiProperty9({
1113
+ _ts_decorate19([
1114
+ ApiProperty10({
860
1115
  example: "https://example.com/profile.jpg",
861
1116
  nullable: true
862
1117
  }),
863
- _ts_metadata18("design:type", Object)
1118
+ _ts_metadata19("design:type", Object)
864
1119
  ], PostResponseDto.prototype, "publisherProfilePictureUrl", void 0);
865
- _ts_decorate18([
866
- ApiProperty9({
1120
+ _ts_decorate19([
1121
+ ApiProperty10({
867
1122
  type: [
868
1123
  PostFileDto
869
1124
  ]
870
1125
  }),
871
- _ts_metadata18("design:type", Array)
1126
+ _ts_metadata19("design:type", Array)
872
1127
  ], PostResponseDto.prototype, "files", void 0);
873
- _ts_decorate18([
874
- ApiProperty9({
1128
+ _ts_decorate19([
1129
+ ApiProperty10({
875
1130
  type: [
876
1131
  TagResponseDto
877
1132
  ],
878
1133
  description: "List of tags associated with the post"
879
1134
  }),
880
- _ts_metadata18("design:type", Array)
1135
+ _ts_metadata19("design:type", Array)
881
1136
  ], PostResponseDto.prototype, "tags", void 0);
882
- _ts_decorate18([
883
- ApiProperty9({
1137
+ _ts_decorate19([
1138
+ ApiProperty10({
884
1139
  example: 42
885
1140
  }),
886
- _ts_metadata18("design:type", Number)
1141
+ _ts_metadata19("design:type", Number)
887
1142
  ], PostResponseDto.prototype, "commentsCount", void 0);
888
- _ts_decorate18([
889
- ApiProperty9({
1143
+ _ts_decorate19([
1144
+ ApiProperty10({
890
1145
  description: "The Bunsieess sector type for the post",
891
1146
  enum: BusinessSector,
892
1147
  required: false,
893
1148
  default: BusinessSector.CONSULTING
894
1149
  }),
895
- IsEnum3(BusinessSector),
896
- _ts_metadata18("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
1150
+ IsEnum4(BusinessSector),
1151
+ _ts_metadata19("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
897
1152
  ], PostResponseDto.prototype, "sector", void 0);
898
- _ts_decorate18([
899
- ApiProperty9({
1153
+ _ts_decorate19([
1154
+ ApiProperty10({
900
1155
  example: 128
901
1156
  }),
902
- _ts_metadata18("design:type", Number)
1157
+ _ts_metadata19("design:type", Number)
903
1158
  ], PostResponseDto.prototype, "likesCount", void 0);
904
- _ts_decorate18([
905
- ApiProperty9({
1159
+ _ts_decorate19([
1160
+ ApiProperty10({
906
1161
  example: "2024-01-15T10:30:00Z"
907
1162
  }),
908
- _ts_metadata18("design:type", typeof Date === "undefined" ? Object : Date)
1163
+ _ts_metadata19("design:type", typeof Date === "undefined" ? Object : Date)
909
1164
  ], PostResponseDto.prototype, "createdAt", void 0);
910
- _ts_decorate18([
911
- ApiProperty9({
1165
+ _ts_decorate19([
1166
+ ApiProperty10({
912
1167
  example: "2024-01-15T10:30:00Z"
913
1168
  }),
914
- _ts_metadata18("design:type", typeof Date === "undefined" ? Object : Date)
1169
+ _ts_metadata19("design:type", typeof Date === "undefined" ? Object : Date)
915
1170
  ], PostResponseDto.prototype, "updatedAt", void 0);
916
1171
 
917
1172
  // dto/posts/pagination_post.dto.ts
918
- import { ApiProperty as ApiProperty10 } from "@nestjs/swagger";
919
- function _ts_decorate19(decorators, target, key, desc) {
1173
+ import { ApiProperty as ApiProperty11 } from "@nestjs/swagger";
1174
+ function _ts_decorate20(decorators, target, key, desc) {
920
1175
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
921
1176
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
922
1177
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
923
1178
  return c > 3 && r && Object.defineProperty(target, key, r), r;
924
1179
  }
925
- __name(_ts_decorate19, "_ts_decorate");
926
- function _ts_metadata19(k, v) {
1180
+ __name(_ts_decorate20, "_ts_decorate");
1181
+ function _ts_metadata20(k, v) {
927
1182
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
928
1183
  }
929
- __name(_ts_metadata19, "_ts_metadata");
1184
+ __name(_ts_metadata20, "_ts_metadata");
930
1185
  var _PaginatedPostsDto = class _PaginatedPostsDto {
931
1186
  constructor() {
932
1187
  __publicField(this, "posts");
@@ -937,47 +1192,47 @@ var _PaginatedPostsDto = class _PaginatedPostsDto {
937
1192
  };
938
1193
  __name(_PaginatedPostsDto, "PaginatedPostsDto");
939
1194
  var PaginatedPostsDto = _PaginatedPostsDto;
940
- _ts_decorate19([
941
- ApiProperty10({
1195
+ _ts_decorate20([
1196
+ ApiProperty11({
942
1197
  type: [
943
1198
  PostResponseDto
944
1199
  ]
945
1200
  }),
946
- _ts_metadata19("design:type", Array)
1201
+ _ts_metadata20("design:type", Array)
947
1202
  ], PaginatedPostsDto.prototype, "posts", void 0);
948
- _ts_decorate19([
949
- ApiProperty10({
1203
+ _ts_decorate20([
1204
+ ApiProperty11({
950
1205
  example: 100
951
1206
  }),
952
- _ts_metadata19("design:type", Number)
1207
+ _ts_metadata20("design:type", Number)
953
1208
  ], PaginatedPostsDto.prototype, "total", void 0);
954
- _ts_decorate19([
955
- ApiProperty10({
1209
+ _ts_decorate20([
1210
+ ApiProperty11({
956
1211
  example: 1
957
1212
  }),
958
- _ts_metadata19("design:type", Number)
1213
+ _ts_metadata20("design:type", Number)
959
1214
  ], PaginatedPostsDto.prototype, "page", void 0);
960
- _ts_decorate19([
961
- ApiProperty10({
1215
+ _ts_decorate20([
1216
+ ApiProperty11({
962
1217
  example: 10
963
1218
  }),
964
- _ts_metadata19("design:type", Number)
1219
+ _ts_metadata20("design:type", Number)
965
1220
  ], PaginatedPostsDto.prototype, "totalPages", void 0);
966
1221
 
967
1222
  // dto/posts/update_post.dto.ts
968
- import { ApiProperty as ApiProperty11 } from "@nestjs/swagger";
969
- import { IsEnum as IsEnum4, IsNotEmpty as IsNotEmpty8, IsOptional as IsOptional7, IsString as IsString11, MaxLength as MaxLength6, MinLength as MinLength7 } from "class-validator";
970
- function _ts_decorate20(decorators, target, key, desc) {
1223
+ import { ApiProperty as ApiProperty12, ApiPropertyOptional as ApiPropertyOptional4 } from "@nestjs/swagger";
1224
+ import { IsEnum as IsEnum5, IsNotEmpty as IsNotEmpty8, IsOptional as IsOptional8, IsString as IsString12, MaxLength as MaxLength6, MinLength as MinLength7 } from "class-validator";
1225
+ function _ts_decorate21(decorators, target, key, desc) {
971
1226
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
972
1227
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
973
1228
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
974
1229
  return c > 3 && r && Object.defineProperty(target, key, r), r;
975
1230
  }
976
- __name(_ts_decorate20, "_ts_decorate");
977
- function _ts_metadata20(k, v) {
1231
+ __name(_ts_decorate21, "_ts_decorate");
1232
+ function _ts_metadata21(k, v) {
978
1233
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
979
1234
  }
980
- __name(_ts_metadata20, "_ts_metadata");
1235
+ __name(_ts_metadata21, "_ts_metadata");
981
1236
  var _UpdatePostDto = class _UpdatePostDto {
982
1237
  constructor() {
983
1238
  __publicField(this, "description");
@@ -986,29 +1241,29 @@ var _UpdatePostDto = class _UpdatePostDto {
986
1241
  };
987
1242
  __name(_UpdatePostDto, "UpdatePostDto");
988
1243
  var UpdatePostDto = _UpdatePostDto;
989
- _ts_decorate20([
990
- ApiProperty11({
1244
+ _ts_decorate21([
1245
+ ApiProperty12({
991
1246
  description: "Post description/content",
992
1247
  example: "Updated: Check out this amazing view!",
993
1248
  minLength: 1,
994
1249
  maxLength: 5e3,
995
1250
  required: false
996
1251
  }),
997
- IsString11(),
1252
+ IsString12(),
998
1253
  IsNotEmpty8(),
999
1254
  MinLength7(1),
1000
1255
  MaxLength6(5e3),
1001
- IsOptional7(),
1002
- _ts_metadata20("design:type", String)
1256
+ IsOptional8(),
1257
+ _ts_metadata21("design:type", String)
1003
1258
  ], UpdatePostDto.prototype, "description", void 0);
1004
- _ts_decorate20([
1005
- ApiProperty11({
1259
+ _ts_decorate21([
1260
+ ApiPropertyOptional4({
1006
1261
  description: "The Business sector type for the post",
1007
1262
  enum: BusinessSector
1008
1263
  }),
1009
- IsOptional7(),
1010
- IsEnum4(BusinessSector),
1011
- _ts_metadata20("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
1264
+ IsOptional8(),
1265
+ IsEnum5(BusinessSector),
1266
+ _ts_metadata21("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
1012
1267
  ], UpdatePostDto.prototype, "sector", void 0);
1013
1268
 
1014
1269
  // dto/posts/post_fields.dto.ts
@@ -1031,18 +1286,18 @@ __name(_PostFields, "PostFields");
1031
1286
  var PostFields = _PostFields;
1032
1287
 
1033
1288
  // dto/posts/post_response_self.dto.ts
1034
- import { ApiProperty as ApiProperty12 } from "@nestjs/swagger";
1035
- function _ts_decorate21(decorators, target, key, desc) {
1289
+ import { ApiProperty as ApiProperty13 } from "@nestjs/swagger";
1290
+ function _ts_decorate22(decorators, target, key, desc) {
1036
1291
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1037
1292
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1038
1293
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1039
1294
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1040
1295
  }
1041
- __name(_ts_decorate21, "_ts_decorate");
1042
- function _ts_metadata21(k, v) {
1296
+ __name(_ts_decorate22, "_ts_decorate");
1297
+ function _ts_metadata22(k, v) {
1043
1298
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1044
1299
  }
1045
- __name(_ts_metadata21, "_ts_metadata");
1300
+ __name(_ts_metadata22, "_ts_metadata");
1046
1301
  var _PostResponseSelfDto = class _PostResponseSelfDto extends PostResponseDto {
1047
1302
  constructor() {
1048
1303
  super(...arguments);
@@ -1051,26 +1306,26 @@ var _PostResponseSelfDto = class _PostResponseSelfDto extends PostResponseDto {
1051
1306
  };
1052
1307
  __name(_PostResponseSelfDto, "PostResponseSelfDto");
1053
1308
  var PostResponseSelfDto = _PostResponseSelfDto;
1054
- _ts_decorate21([
1055
- ApiProperty12({
1309
+ _ts_decorate22([
1310
+ ApiProperty13({
1056
1311
  example: true
1057
1312
  }),
1058
- _ts_metadata21("design:type", Boolean)
1313
+ _ts_metadata22("design:type", Boolean)
1059
1314
  ], PostResponseSelfDto.prototype, "hidden", void 0);
1060
1315
 
1061
1316
  // dto/posts/pagination_post_self.dto.ts
1062
- import { ApiProperty as ApiProperty13 } from "@nestjs/swagger";
1063
- function _ts_decorate22(decorators, target, key, desc) {
1317
+ import { ApiProperty as ApiProperty14 } from "@nestjs/swagger";
1318
+ function _ts_decorate23(decorators, target, key, desc) {
1064
1319
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1065
1320
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1066
1321
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1067
1322
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1068
1323
  }
1069
- __name(_ts_decorate22, "_ts_decorate");
1070
- function _ts_metadata22(k, v) {
1324
+ __name(_ts_decorate23, "_ts_decorate");
1325
+ function _ts_metadata23(k, v) {
1071
1326
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1072
1327
  }
1073
- __name(_ts_metadata22, "_ts_metadata");
1328
+ __name(_ts_metadata23, "_ts_metadata");
1074
1329
  var _PaginatedPostsSelfDto = class _PaginatedPostsSelfDto {
1075
1330
  constructor() {
1076
1331
  __publicField(this, "posts");
@@ -1081,46 +1336,46 @@ var _PaginatedPostsSelfDto = class _PaginatedPostsSelfDto {
1081
1336
  };
1082
1337
  __name(_PaginatedPostsSelfDto, "PaginatedPostsSelfDto");
1083
1338
  var PaginatedPostsSelfDto = _PaginatedPostsSelfDto;
1084
- _ts_decorate22([
1085
- ApiProperty13({
1339
+ _ts_decorate23([
1340
+ ApiProperty14({
1086
1341
  type: [
1087
1342
  PostResponseDto
1088
1343
  ]
1089
1344
  }),
1090
- _ts_metadata22("design:type", Array)
1345
+ _ts_metadata23("design:type", Array)
1091
1346
  ], PaginatedPostsSelfDto.prototype, "posts", void 0);
1092
- _ts_decorate22([
1093
- ApiProperty13({
1347
+ _ts_decorate23([
1348
+ ApiProperty14({
1094
1349
  example: 100
1095
1350
  }),
1096
- _ts_metadata22("design:type", Number)
1351
+ _ts_metadata23("design:type", Number)
1097
1352
  ], PaginatedPostsSelfDto.prototype, "total", void 0);
1098
- _ts_decorate22([
1099
- ApiProperty13({
1353
+ _ts_decorate23([
1354
+ ApiProperty14({
1100
1355
  example: 1
1101
1356
  }),
1102
- _ts_metadata22("design:type", Number)
1357
+ _ts_metadata23("design:type", Number)
1103
1358
  ], PaginatedPostsSelfDto.prototype, "page", void 0);
1104
- _ts_decorate22([
1105
- ApiProperty13({
1359
+ _ts_decorate23([
1360
+ ApiProperty14({
1106
1361
  example: 10
1107
1362
  }),
1108
- _ts_metadata22("design:type", Number)
1363
+ _ts_metadata23("design:type", Number)
1109
1364
  ], PaginatedPostsSelfDto.prototype, "totalPages", void 0);
1110
1365
 
1111
1366
  // dto/posts/reorder_post_file.dto.ts
1112
- import { IsInt as IsInt2, Max, Min as Min2 } from "class-validator";
1113
- function _ts_decorate23(decorators, target, key, desc) {
1367
+ import { IsInt as IsInt3, Max, Min as Min3 } from "class-validator";
1368
+ function _ts_decorate24(decorators, target, key, desc) {
1114
1369
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1115
1370
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1116
1371
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1117
1372
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1118
1373
  }
1119
- __name(_ts_decorate23, "_ts_decorate");
1120
- function _ts_metadata23(k, v) {
1374
+ __name(_ts_decorate24, "_ts_decorate");
1375
+ function _ts_metadata24(k, v) {
1121
1376
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1122
1377
  }
1123
- __name(_ts_metadata23, "_ts_metadata");
1378
+ __name(_ts_metadata24, "_ts_metadata");
1124
1379
  var _ReorderDto = class _ReorderDto {
1125
1380
  constructor() {
1126
1381
  __publicField(this, "newIndex");
@@ -1128,26 +1383,26 @@ var _ReorderDto = class _ReorderDto {
1128
1383
  };
1129
1384
  __name(_ReorderDto, "ReorderDto");
1130
1385
  var ReorderDto = _ReorderDto;
1131
- _ts_decorate23([
1132
- IsInt2(),
1133
- Min2(0),
1386
+ _ts_decorate24([
1387
+ IsInt3(),
1388
+ Min3(0),
1134
1389
  Max(100),
1135
- _ts_metadata23("design:type", Number)
1390
+ _ts_metadata24("design:type", Number)
1136
1391
  ], ReorderDto.prototype, "newIndex", void 0);
1137
1392
 
1138
1393
  // dto/posts/post_like_response.dto.ts
1139
- import { ApiProperty as ApiProperty14 } from "@nestjs/swagger";
1140
- function _ts_decorate24(decorators, target, key, desc) {
1394
+ import { ApiProperty as ApiProperty15 } from "@nestjs/swagger";
1395
+ function _ts_decorate25(decorators, target, key, desc) {
1141
1396
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1142
1397
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1143
1398
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1144
1399
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1145
1400
  }
1146
- __name(_ts_decorate24, "_ts_decorate");
1147
- function _ts_metadata24(k, v) {
1401
+ __name(_ts_decorate25, "_ts_decorate");
1402
+ function _ts_metadata25(k, v) {
1148
1403
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1149
1404
  }
1150
- __name(_ts_metadata24, "_ts_metadata");
1405
+ __name(_ts_metadata25, "_ts_metadata");
1151
1406
  var _PostLikeResponseDto = class _PostLikeResponseDto {
1152
1407
  constructor() {
1153
1408
  __publicField(this, "id");
@@ -1161,65 +1416,65 @@ var _PostLikeResponseDto = class _PostLikeResponseDto {
1161
1416
  };
1162
1417
  __name(_PostLikeResponseDto, "PostLikeResponseDto");
1163
1418
  var PostLikeResponseDto = _PostLikeResponseDto;
1164
- _ts_decorate24([
1165
- ApiProperty14({
1419
+ _ts_decorate25([
1420
+ ApiProperty15({
1166
1421
  example: "123e4567-e89b-12d3-a456-426614174005"
1167
1422
  }),
1168
- _ts_metadata24("design:type", String)
1423
+ _ts_metadata25("design:type", String)
1169
1424
  ], PostLikeResponseDto.prototype, "id", void 0);
1170
- _ts_decorate24([
1171
- ApiProperty14({
1425
+ _ts_decorate25([
1426
+ ApiProperty15({
1172
1427
  example: "123e4567-e89b-12d3-a456-426614174000"
1173
1428
  }),
1174
- _ts_metadata24("design:type", String)
1429
+ _ts_metadata25("design:type", String)
1175
1430
  ], PostLikeResponseDto.prototype, "postId", void 0);
1176
- _ts_decorate24([
1177
- ApiProperty14({
1431
+ _ts_decorate25([
1432
+ ApiProperty15({
1178
1433
  example: "123e4567-e89b-12d3-a456-426614174002"
1179
1434
  }),
1180
- _ts_metadata24("design:type", String)
1435
+ _ts_metadata25("design:type", String)
1181
1436
  ], PostLikeResponseDto.prototype, "userId", void 0);
1182
- _ts_decorate24([
1183
- ApiProperty14({
1437
+ _ts_decorate25([
1438
+ ApiProperty15({
1184
1439
  example: "John Doe"
1185
1440
  }),
1186
- _ts_metadata24("design:type", String)
1441
+ _ts_metadata25("design:type", String)
1187
1442
  ], PostLikeResponseDto.prototype, "userFullName", void 0);
1188
- _ts_decorate24([
1189
- ApiProperty14({
1443
+ _ts_decorate25([
1444
+ ApiProperty15({
1190
1445
  example: "https://example.com/avatar.jpg",
1191
1446
  nullable: true
1192
1447
  }),
1193
- _ts_metadata24("design:type", Object)
1448
+ _ts_metadata25("design:type", Object)
1194
1449
  ], PostLikeResponseDto.prototype, "userProfilePictureUrl", void 0);
1195
- _ts_decorate24([
1196
- ApiProperty14({
1450
+ _ts_decorate25([
1451
+ ApiProperty15({
1197
1452
  enum: ReactionType,
1198
1453
  example: ReactionType.LIKE
1199
1454
  }),
1200
- _ts_metadata24("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1455
+ _ts_metadata25("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1201
1456
  ], PostLikeResponseDto.prototype, "type", void 0);
1202
- _ts_decorate24([
1203
- ApiProperty14({
1457
+ _ts_decorate25([
1458
+ ApiProperty15({
1204
1459
  example: "2026-01-14T12:00:00Z"
1205
1460
  }),
1206
- _ts_metadata24("design:type", typeof Date === "undefined" ? Object : Date)
1461
+ _ts_metadata25("design:type", typeof Date === "undefined" ? Object : Date)
1207
1462
  ], PostLikeResponseDto.prototype, "createdAt", void 0);
1208
1463
 
1209
1464
  // dto/posts/like_post.dto.ts
1210
- import { ApiProperty as ApiProperty15 } from "@nestjs/swagger";
1211
- import { IsEnum as IsEnum5, IsOptional as IsOptional8 } from "class-validator";
1212
- function _ts_decorate25(decorators, target, key, desc) {
1465
+ import { ApiProperty as ApiProperty16 } from "@nestjs/swagger";
1466
+ import { IsEnum as IsEnum6, IsOptional as IsOptional9 } from "class-validator";
1467
+ function _ts_decorate26(decorators, target, key, desc) {
1213
1468
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1214
1469
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1215
1470
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1216
1471
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1217
1472
  }
1218
- __name(_ts_decorate25, "_ts_decorate");
1219
- function _ts_metadata25(k, v) {
1473
+ __name(_ts_decorate26, "_ts_decorate");
1474
+ function _ts_metadata26(k, v) {
1220
1475
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1221
1476
  }
1222
- __name(_ts_metadata25, "_ts_metadata");
1477
+ __name(_ts_metadata26, "_ts_metadata");
1223
1478
  var _LikePostDto = class _LikePostDto {
1224
1479
  constructor() {
1225
1480
  __publicField(this, "type");
@@ -1227,31 +1482,31 @@ var _LikePostDto = class _LikePostDto {
1227
1482
  };
1228
1483
  __name(_LikePostDto, "LikePostDto");
1229
1484
  var LikePostDto = _LikePostDto;
1230
- _ts_decorate25([
1231
- ApiProperty15({
1485
+ _ts_decorate26([
1486
+ ApiProperty16({
1232
1487
  description: "The reaction type for the post",
1233
1488
  enum: ReactionType,
1234
1489
  required: false,
1235
1490
  default: ReactionType.LIKE
1236
1491
  }),
1237
- IsEnum5(ReactionType),
1238
- IsOptional8(),
1239
- _ts_metadata25("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1492
+ IsEnum6(ReactionType),
1493
+ IsOptional9(),
1494
+ _ts_metadata26("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1240
1495
  ], LikePostDto.prototype, "type", void 0);
1241
1496
 
1242
1497
  // dto/posts/paginated_post_like_dto.ts
1243
- import { ApiProperty as ApiProperty16 } from "@nestjs/swagger";
1244
- function _ts_decorate26(decorators, target, key, desc) {
1498
+ import { ApiProperty as ApiProperty17 } from "@nestjs/swagger";
1499
+ function _ts_decorate27(decorators, target, key, desc) {
1245
1500
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1246
1501
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1247
1502
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1248
1503
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1249
1504
  }
1250
- __name(_ts_decorate26, "_ts_decorate");
1251
- function _ts_metadata26(k, v) {
1505
+ __name(_ts_decorate27, "_ts_decorate");
1506
+ function _ts_metadata27(k, v) {
1252
1507
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1253
1508
  }
1254
- __name(_ts_metadata26, "_ts_metadata");
1509
+ __name(_ts_metadata27, "_ts_metadata");
1255
1510
  var _PaginatedPostLikesDto = class _PaginatedPostLikesDto {
1256
1511
  constructor() {
1257
1512
  __publicField(this, "likes");
@@ -1262,47 +1517,47 @@ var _PaginatedPostLikesDto = class _PaginatedPostLikesDto {
1262
1517
  };
1263
1518
  __name(_PaginatedPostLikesDto, "PaginatedPostLikesDto");
1264
1519
  var PaginatedPostLikesDto = _PaginatedPostLikesDto;
1265
- _ts_decorate26([
1266
- ApiProperty16({
1520
+ _ts_decorate27([
1521
+ ApiProperty17({
1267
1522
  type: [
1268
1523
  PostLikeResponseDto
1269
1524
  ]
1270
1525
  }),
1271
- _ts_metadata26("design:type", Array)
1526
+ _ts_metadata27("design:type", Array)
1272
1527
  ], PaginatedPostLikesDto.prototype, "likes", void 0);
1273
- _ts_decorate26([
1274
- ApiProperty16({
1528
+ _ts_decorate27([
1529
+ ApiProperty17({
1275
1530
  example: 100
1276
1531
  }),
1277
- _ts_metadata26("design:type", Number)
1532
+ _ts_metadata27("design:type", Number)
1278
1533
  ], PaginatedPostLikesDto.prototype, "total", void 0);
1279
- _ts_decorate26([
1280
- ApiProperty16({
1534
+ _ts_decorate27([
1535
+ ApiProperty17({
1281
1536
  example: 1
1282
1537
  }),
1283
- _ts_metadata26("design:type", Number)
1538
+ _ts_metadata27("design:type", Number)
1284
1539
  ], PaginatedPostLikesDto.prototype, "page", void 0);
1285
- _ts_decorate26([
1286
- ApiProperty16({
1540
+ _ts_decorate27([
1541
+ ApiProperty17({
1287
1542
  example: 10
1288
1543
  }),
1289
- _ts_metadata26("design:type", Number)
1544
+ _ts_metadata27("design:type", Number)
1290
1545
  ], PaginatedPostLikesDto.prototype, "totalPages", void 0);
1291
1546
 
1292
1547
  // dto/comments/create_comment.dto.ts
1293
- import { ApiProperty as ApiProperty17 } from "@nestjs/swagger";
1294
- import { IsNotEmpty as IsNotEmpty9, IsOptional as IsOptional9, IsString as IsString12, IsUUID, MaxLength as MaxLength7, MinLength as MinLength8 } from "class-validator";
1295
- function _ts_decorate27(decorators, target, key, desc) {
1548
+ import { ApiProperty as ApiProperty18 } from "@nestjs/swagger";
1549
+ import { IsNotEmpty as IsNotEmpty9, IsOptional as IsOptional10, IsString as IsString13, IsUUID, MaxLength as MaxLength7, MinLength as MinLength8 } from "class-validator";
1550
+ function _ts_decorate28(decorators, target, key, desc) {
1296
1551
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1297
1552
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1298
1553
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1299
1554
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1300
1555
  }
1301
- __name(_ts_decorate27, "_ts_decorate");
1302
- function _ts_metadata27(k, v) {
1556
+ __name(_ts_decorate28, "_ts_decorate");
1557
+ function _ts_metadata28(k, v) {
1303
1558
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1304
1559
  }
1305
- __name(_ts_metadata27, "_ts_metadata");
1560
+ __name(_ts_metadata28, "_ts_metadata");
1306
1561
  var _CreateCommentDto = class _CreateCommentDto {
1307
1562
  constructor() {
1308
1563
  __publicField(this, "postId");
@@ -1312,52 +1567,52 @@ var _CreateCommentDto = class _CreateCommentDto {
1312
1567
  };
1313
1568
  __name(_CreateCommentDto, "CreateCommentDto");
1314
1569
  var CreateCommentDto = _CreateCommentDto;
1315
- _ts_decorate27([
1316
- ApiProperty17({
1570
+ _ts_decorate28([
1571
+ ApiProperty18({
1317
1572
  description: "Post ID to comment on",
1318
1573
  example: "123e4567-e89b-12d3-a456-426614174000"
1319
1574
  }),
1320
1575
  IsUUID(),
1321
1576
  IsNotEmpty9(),
1322
- _ts_metadata27("design:type", String)
1577
+ _ts_metadata28("design:type", String)
1323
1578
  ], CreateCommentDto.prototype, "postId", void 0);
1324
- _ts_decorate27([
1325
- ApiProperty17({
1579
+ _ts_decorate28([
1580
+ ApiProperty18({
1326
1581
  description: "Comment content",
1327
1582
  example: "Great post!",
1328
1583
  minLength: 1,
1329
1584
  maxLength: 5e3
1330
1585
  }),
1331
- IsString12(),
1586
+ IsString13(),
1332
1587
  IsNotEmpty9(),
1333
1588
  MinLength8(1),
1334
1589
  MaxLength7(5e3),
1335
- _ts_metadata27("design:type", String)
1590
+ _ts_metadata28("design:type", String)
1336
1591
  ], CreateCommentDto.prototype, "content", void 0);
1337
- _ts_decorate27([
1338
- ApiProperty17({
1592
+ _ts_decorate28([
1593
+ ApiProperty18({
1339
1594
  description: "Parent comment ID for nested replies",
1340
1595
  example: "123e4567-e89b-12d3-a456-426614174002",
1341
1596
  required: false
1342
1597
  }),
1343
1598
  IsUUID(),
1344
- IsOptional9(),
1345
- _ts_metadata27("design:type", String)
1599
+ IsOptional10(),
1600
+ _ts_metadata28("design:type", String)
1346
1601
  ], CreateCommentDto.prototype, "parentCommentId", void 0);
1347
1602
 
1348
1603
  // dto/comments/comment_response.dto.ts
1349
- import { ApiProperty as ApiProperty18 } from "@nestjs/swagger";
1350
- function _ts_decorate28(decorators, target, key, desc) {
1604
+ import { ApiProperty as ApiProperty19 } from "@nestjs/swagger";
1605
+ function _ts_decorate29(decorators, target, key, desc) {
1351
1606
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1352
1607
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1353
1608
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1354
1609
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1355
1610
  }
1356
- __name(_ts_decorate28, "_ts_decorate");
1357
- function _ts_metadata28(k, v) {
1611
+ __name(_ts_decorate29, "_ts_decorate");
1612
+ function _ts_metadata29(k, v) {
1358
1613
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1359
1614
  }
1360
- __name(_ts_metadata28, "_ts_metadata");
1615
+ __name(_ts_metadata29, "_ts_metadata");
1361
1616
  var _CommentResponseDto = class _CommentResponseDto {
1362
1617
  constructor() {
1363
1618
  __publicField(this, "id");
@@ -1377,100 +1632,100 @@ var _CommentResponseDto = class _CommentResponseDto {
1377
1632
  };
1378
1633
  __name(_CommentResponseDto, "CommentResponseDto");
1379
1634
  var CommentResponseDto = _CommentResponseDto;
1380
- _ts_decorate28([
1381
- ApiProperty18({
1635
+ _ts_decorate29([
1636
+ ApiProperty19({
1382
1637
  example: "123e4567-e89b-12d3-a456-426614174000"
1383
1638
  }),
1384
- _ts_metadata28("design:type", String)
1639
+ _ts_metadata29("design:type", String)
1385
1640
  ], CommentResponseDto.prototype, "id", void 0);
1386
- _ts_decorate28([
1387
- ApiProperty18({
1641
+ _ts_decorate29([
1642
+ ApiProperty19({
1388
1643
  example: "123e4567-e89b-12d3-a456-426614174001"
1389
1644
  }),
1390
- _ts_metadata28("design:type", String)
1645
+ _ts_metadata29("design:type", String)
1391
1646
  ], CommentResponseDto.prototype, "postId", void 0);
1392
- _ts_decorate28([
1393
- ApiProperty18({
1647
+ _ts_decorate29([
1648
+ ApiProperty19({
1394
1649
  example: "123e4567-e89b-12d3-a456-426614174002"
1395
1650
  }),
1396
- _ts_metadata28("design:type", String)
1651
+ _ts_metadata29("design:type", String)
1397
1652
  ], CommentResponseDto.prototype, "authorId", void 0);
1398
- _ts_decorate28([
1399
- ApiProperty18({
1653
+ _ts_decorate29([
1654
+ ApiProperty19({
1400
1655
  example: "John Doe"
1401
1656
  }),
1402
- _ts_metadata28("design:type", String)
1657
+ _ts_metadata29("design:type", String)
1403
1658
  ], CommentResponseDto.prototype, "authorFullName", void 0);
1404
- _ts_decorate28([
1405
- ApiProperty18({
1659
+ _ts_decorate29([
1660
+ ApiProperty19({
1406
1661
  example: "https://example.com/profile.jpg",
1407
1662
  nullable: true
1408
1663
  }),
1409
- _ts_metadata28("design:type", Object)
1664
+ _ts_metadata29("design:type", Object)
1410
1665
  ], CommentResponseDto.prototype, "authorProfilePictureUrl", void 0);
1411
- _ts_decorate28([
1412
- ApiProperty18({
1666
+ _ts_decorate29([
1667
+ ApiProperty19({
1413
1668
  example: "Great post!"
1414
1669
  }),
1415
- _ts_metadata28("design:type", String)
1670
+ _ts_metadata29("design:type", String)
1416
1671
  ], CommentResponseDto.prototype, "content", void 0);
1417
- _ts_decorate28([
1418
- ApiProperty18({
1672
+ _ts_decorate29([
1673
+ ApiProperty19({
1419
1674
  example: "123e4567-e89b-12d3-a456-426614174003",
1420
1675
  nullable: true
1421
1676
  }),
1422
- _ts_metadata28("design:type", Object)
1677
+ _ts_metadata29("design:type", Object)
1423
1678
  ], CommentResponseDto.prototype, "parentCommentId", void 0);
1424
- _ts_decorate28([
1425
- ApiProperty18({
1679
+ _ts_decorate29([
1680
+ ApiProperty19({
1426
1681
  example: 0
1427
1682
  }),
1428
- _ts_metadata28("design:type", Number)
1683
+ _ts_metadata29("design:type", Number)
1429
1684
  ], CommentResponseDto.prototype, "depth", void 0);
1430
- _ts_decorate28([
1431
- ApiProperty18({
1685
+ _ts_decorate29([
1686
+ ApiProperty19({
1432
1687
  example: 5
1433
1688
  }),
1434
- _ts_metadata28("design:type", Number)
1689
+ _ts_metadata29("design:type", Number)
1435
1690
  ], CommentResponseDto.prototype, "likesCount", void 0);
1436
- _ts_decorate28([
1437
- ApiProperty18({
1691
+ _ts_decorate29([
1692
+ ApiProperty19({
1438
1693
  example: 2
1439
1694
  }),
1440
- _ts_metadata28("design:type", Number)
1695
+ _ts_metadata29("design:type", Number)
1441
1696
  ], CommentResponseDto.prototype, "repliesCount", void 0);
1442
- _ts_decorate28([
1443
- ApiProperty18({
1697
+ _ts_decorate29([
1698
+ ApiProperty19({
1444
1699
  example: false
1445
1700
  }),
1446
- _ts_metadata28("design:type", Boolean)
1701
+ _ts_metadata29("design:type", Boolean)
1447
1702
  ], CommentResponseDto.prototype, "isEdited", void 0);
1448
- _ts_decorate28([
1449
- ApiProperty18({
1703
+ _ts_decorate29([
1704
+ ApiProperty19({
1450
1705
  example: "2024-01-15T10:30:00Z"
1451
1706
  }),
1452
- _ts_metadata28("design:type", typeof Date === "undefined" ? Object : Date)
1707
+ _ts_metadata29("design:type", typeof Date === "undefined" ? Object : Date)
1453
1708
  ], CommentResponseDto.prototype, "createdAt", void 0);
1454
- _ts_decorate28([
1455
- ApiProperty18({
1709
+ _ts_decorate29([
1710
+ ApiProperty19({
1456
1711
  example: "2024-01-15T10:30:00Z"
1457
1712
  }),
1458
- _ts_metadata28("design:type", typeof Date === "undefined" ? Object : Date)
1713
+ _ts_metadata29("design:type", typeof Date === "undefined" ? Object : Date)
1459
1714
  ], CommentResponseDto.prototype, "updatedAt", void 0);
1460
1715
 
1461
1716
  // dto/comments/comment_tree.dto.ts
1462
- import { ApiProperty as ApiProperty19 } from "@nestjs/swagger";
1463
- function _ts_decorate29(decorators, target, key, desc) {
1717
+ import { ApiProperty as ApiProperty20 } from "@nestjs/swagger";
1718
+ function _ts_decorate30(decorators, target, key, desc) {
1464
1719
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1465
1720
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1466
1721
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1467
1722
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1468
1723
  }
1469
- __name(_ts_decorate29, "_ts_decorate");
1470
- function _ts_metadata29(k, v) {
1724
+ __name(_ts_decorate30, "_ts_decorate");
1725
+ function _ts_metadata30(k, v) {
1471
1726
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1472
1727
  }
1473
- __name(_ts_metadata29, "_ts_metadata");
1728
+ __name(_ts_metadata30, "_ts_metadata");
1474
1729
  var _CommentTreeDto = class _CommentTreeDto extends CommentResponseDto {
1475
1730
  constructor() {
1476
1731
  super(...arguments);
@@ -1479,28 +1734,28 @@ var _CommentTreeDto = class _CommentTreeDto extends CommentResponseDto {
1479
1734
  };
1480
1735
  __name(_CommentTreeDto, "CommentTreeDto");
1481
1736
  var CommentTreeDto = _CommentTreeDto;
1482
- _ts_decorate29([
1483
- ApiProperty19({
1737
+ _ts_decorate30([
1738
+ ApiProperty20({
1484
1739
  type: [
1485
1740
  CommentTreeDto
1486
1741
  ]
1487
1742
  }),
1488
- _ts_metadata29("design:type", Array)
1743
+ _ts_metadata30("design:type", Array)
1489
1744
  ], CommentTreeDto.prototype, "replies", void 0);
1490
1745
 
1491
1746
  // dto/comments/paginated_comment.dto.ts
1492
- import { ApiProperty as ApiProperty20 } from "@nestjs/swagger";
1493
- function _ts_decorate30(decorators, target, key, desc) {
1747
+ import { ApiProperty as ApiProperty21 } from "@nestjs/swagger";
1748
+ function _ts_decorate31(decorators, target, key, desc) {
1494
1749
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1495
1750
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1496
1751
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1497
1752
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1498
1753
  }
1499
- __name(_ts_decorate30, "_ts_decorate");
1500
- function _ts_metadata30(k, v) {
1754
+ __name(_ts_decorate31, "_ts_decorate");
1755
+ function _ts_metadata31(k, v) {
1501
1756
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1502
1757
  }
1503
- __name(_ts_metadata30, "_ts_metadata");
1758
+ __name(_ts_metadata31, "_ts_metadata");
1504
1759
  var _PaginatedCommentsDto = class _PaginatedCommentsDto {
1505
1760
  constructor() {
1506
1761
  __publicField(this, "comments");
@@ -1511,47 +1766,47 @@ var _PaginatedCommentsDto = class _PaginatedCommentsDto {
1511
1766
  };
1512
1767
  __name(_PaginatedCommentsDto, "PaginatedCommentsDto");
1513
1768
  var PaginatedCommentsDto = _PaginatedCommentsDto;
1514
- _ts_decorate30([
1515
- ApiProperty20({
1769
+ _ts_decorate31([
1770
+ ApiProperty21({
1516
1771
  type: [
1517
1772
  CommentResponseDto
1518
1773
  ]
1519
1774
  }),
1520
- _ts_metadata30("design:type", Array)
1775
+ _ts_metadata31("design:type", Array)
1521
1776
  ], PaginatedCommentsDto.prototype, "comments", void 0);
1522
- _ts_decorate30([
1523
- ApiProperty20({
1777
+ _ts_decorate31([
1778
+ ApiProperty21({
1524
1779
  example: 50
1525
1780
  }),
1526
- _ts_metadata30("design:type", Number)
1781
+ _ts_metadata31("design:type", Number)
1527
1782
  ], PaginatedCommentsDto.prototype, "total", void 0);
1528
- _ts_decorate30([
1529
- ApiProperty20({
1783
+ _ts_decorate31([
1784
+ ApiProperty21({
1530
1785
  example: 1
1531
1786
  }),
1532
- _ts_metadata30("design:type", Number)
1787
+ _ts_metadata31("design:type", Number)
1533
1788
  ], PaginatedCommentsDto.prototype, "page", void 0);
1534
- _ts_decorate30([
1535
- ApiProperty20({
1789
+ _ts_decorate31([
1790
+ ApiProperty21({
1536
1791
  example: 5
1537
1792
  }),
1538
- _ts_metadata30("design:type", Number)
1793
+ _ts_metadata31("design:type", Number)
1539
1794
  ], PaginatedCommentsDto.prototype, "totalPages", void 0);
1540
1795
 
1541
1796
  // dto/comments/update_comment.dto.ts
1542
- import { ApiProperty as ApiProperty21 } from "@nestjs/swagger";
1543
- import { IsNotEmpty as IsNotEmpty10, IsString as IsString13, MaxLength as MaxLength8, MinLength as MinLength9 } from "class-validator";
1544
- function _ts_decorate31(decorators, target, key, desc) {
1797
+ import { ApiProperty as ApiProperty22 } from "@nestjs/swagger";
1798
+ import { IsNotEmpty as IsNotEmpty10, IsString as IsString14, MaxLength as MaxLength8, MinLength as MinLength9 } from "class-validator";
1799
+ function _ts_decorate32(decorators, target, key, desc) {
1545
1800
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1546
1801
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1547
1802
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1548
1803
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1549
1804
  }
1550
- __name(_ts_decorate31, "_ts_decorate");
1551
- function _ts_metadata31(k, v) {
1805
+ __name(_ts_decorate32, "_ts_decorate");
1806
+ function _ts_metadata32(k, v) {
1552
1807
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1553
1808
  }
1554
- __name(_ts_metadata31, "_ts_metadata");
1809
+ __name(_ts_metadata32, "_ts_metadata");
1555
1810
  var _UpdateCommentDto = class _UpdateCommentDto {
1556
1811
  constructor() {
1557
1812
  __publicField(this, "content");
@@ -1559,18 +1814,18 @@ var _UpdateCommentDto = class _UpdateCommentDto {
1559
1814
  };
1560
1815
  __name(_UpdateCommentDto, "UpdateCommentDto");
1561
1816
  var UpdateCommentDto = _UpdateCommentDto;
1562
- _ts_decorate31([
1563
- ApiProperty21({
1817
+ _ts_decorate32([
1818
+ ApiProperty22({
1564
1819
  description: "Updated comment content",
1565
1820
  example: "Updated: Great post!",
1566
1821
  minLength: 1,
1567
1822
  maxLength: 5e3
1568
1823
  }),
1569
- IsString13(),
1824
+ IsString14(),
1570
1825
  IsNotEmpty10(),
1571
1826
  MinLength9(1),
1572
1827
  MaxLength8(5e3),
1573
- _ts_metadata31("design:type", String)
1828
+ _ts_metadata32("design:type", String)
1574
1829
  ], UpdateCommentDto.prototype, "content", void 0);
1575
1830
 
1576
1831
  // dto/comments/comment_fields.dto.ts
@@ -1595,19 +1850,19 @@ __name(_CommentFields, "CommentFields");
1595
1850
  var CommentFields = _CommentFields;
1596
1851
 
1597
1852
  // dto/comments/like_comment.dto.ts
1598
- import { ApiProperty as ApiProperty22 } from "@nestjs/swagger";
1599
- import { IsEnum as IsEnum6, IsOptional as IsOptional10 } from "class-validator";
1600
- function _ts_decorate32(decorators, target, key, desc) {
1853
+ import { ApiProperty as ApiProperty23 } from "@nestjs/swagger";
1854
+ import { IsEnum as IsEnum7, IsOptional as IsOptional11 } from "class-validator";
1855
+ function _ts_decorate33(decorators, target, key, desc) {
1601
1856
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1602
1857
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1603
1858
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1604
1859
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1605
1860
  }
1606
- __name(_ts_decorate32, "_ts_decorate");
1607
- function _ts_metadata32(k, v) {
1861
+ __name(_ts_decorate33, "_ts_decorate");
1862
+ function _ts_metadata33(k, v) {
1608
1863
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1609
1864
  }
1610
- __name(_ts_metadata32, "_ts_metadata");
1865
+ __name(_ts_metadata33, "_ts_metadata");
1611
1866
  var _LikeCommentDto = class _LikeCommentDto {
1612
1867
  constructor() {
1613
1868
  __publicField(this, "type");
@@ -1615,31 +1870,31 @@ var _LikeCommentDto = class _LikeCommentDto {
1615
1870
  };
1616
1871
  __name(_LikeCommentDto, "LikeCommentDto");
1617
1872
  var LikeCommentDto = _LikeCommentDto;
1618
- _ts_decorate32([
1619
- ApiProperty22({
1873
+ _ts_decorate33([
1874
+ ApiProperty23({
1620
1875
  description: "The reaction type for the comment",
1621
1876
  enum: ReactionType,
1622
1877
  required: false,
1623
1878
  default: ReactionType.LIKE
1624
1879
  }),
1625
- IsEnum6(ReactionType),
1626
- IsOptional10(),
1627
- _ts_metadata32("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1880
+ IsEnum7(ReactionType),
1881
+ IsOptional11(),
1882
+ _ts_metadata33("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1628
1883
  ], LikeCommentDto.prototype, "type", void 0);
1629
1884
 
1630
1885
  // dto/comments/comment_like_response.dto.ts
1631
- import { ApiProperty as ApiProperty23 } from "@nestjs/swagger";
1632
- function _ts_decorate33(decorators, target, key, desc) {
1886
+ import { ApiProperty as ApiProperty24 } from "@nestjs/swagger";
1887
+ function _ts_decorate34(decorators, target, key, desc) {
1633
1888
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1634
1889
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1635
1890
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1636
1891
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1637
1892
  }
1638
- __name(_ts_decorate33, "_ts_decorate");
1639
- function _ts_metadata33(k, v) {
1893
+ __name(_ts_decorate34, "_ts_decorate");
1894
+ function _ts_metadata34(k, v) {
1640
1895
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1641
1896
  }
1642
- __name(_ts_metadata33, "_ts_metadata");
1897
+ __name(_ts_metadata34, "_ts_metadata");
1643
1898
  var _CommentLikeResponseDto = class _CommentLikeResponseDto {
1644
1899
  constructor() {
1645
1900
  __publicField(this, "id");
@@ -1654,70 +1909,70 @@ var _CommentLikeResponseDto = class _CommentLikeResponseDto {
1654
1909
  };
1655
1910
  __name(_CommentLikeResponseDto, "CommentLikeResponseDto");
1656
1911
  var CommentLikeResponseDto = _CommentLikeResponseDto;
1657
- _ts_decorate33([
1658
- ApiProperty23({
1912
+ _ts_decorate34([
1913
+ ApiProperty24({
1659
1914
  example: "123e4567-e89b-12d3-a456-426614174005"
1660
1915
  }),
1661
- _ts_metadata33("design:type", String)
1916
+ _ts_metadata34("design:type", String)
1662
1917
  ], CommentLikeResponseDto.prototype, "id", void 0);
1663
- _ts_decorate33([
1664
- ApiProperty23({
1918
+ _ts_decorate34([
1919
+ ApiProperty24({
1665
1920
  example: "123e4567-e89b-12d3-a456-426614174000"
1666
1921
  }),
1667
- _ts_metadata33("design:type", String)
1922
+ _ts_metadata34("design:type", String)
1668
1923
  ], CommentLikeResponseDto.prototype, "commentId", void 0);
1669
- _ts_decorate33([
1670
- ApiProperty23({
1924
+ _ts_decorate34([
1925
+ ApiProperty24({
1671
1926
  example: "123e4567-e89b-12d3-a456-426614174002"
1672
1927
  }),
1673
- _ts_metadata33("design:type", String)
1928
+ _ts_metadata34("design:type", String)
1674
1929
  ], CommentLikeResponseDto.prototype, "commentatorId", void 0);
1675
- _ts_decorate33([
1676
- ApiProperty23({
1930
+ _ts_decorate34([
1931
+ ApiProperty24({
1677
1932
  example: "Jane Doe"
1678
1933
  }),
1679
- _ts_metadata33("design:type", String)
1934
+ _ts_metadata34("design:type", String)
1680
1935
  ], CommentLikeResponseDto.prototype, "commentatorFullName", void 0);
1681
- _ts_decorate33([
1682
- ApiProperty23({
1936
+ _ts_decorate34([
1937
+ ApiProperty24({
1683
1938
  example: "https://example.com/jane.jpg",
1684
1939
  nullable: true
1685
1940
  }),
1686
- _ts_metadata33("design:type", Object)
1941
+ _ts_metadata34("design:type", Object)
1687
1942
  ], CommentLikeResponseDto.prototype, "commentatorProfilePictureUrl", void 0);
1688
- _ts_decorate33([
1689
- ApiProperty23({
1943
+ _ts_decorate34([
1944
+ ApiProperty24({
1690
1945
  enum: ReactionType,
1691
1946
  example: ReactionType.HEART
1692
1947
  }),
1693
- _ts_metadata33("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1948
+ _ts_metadata34("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1694
1949
  ], CommentLikeResponseDto.prototype, "type", void 0);
1695
- _ts_decorate33([
1696
- ApiProperty23({
1950
+ _ts_decorate34([
1951
+ ApiProperty24({
1697
1952
  example: "2024-01-15T10:35:00Z"
1698
1953
  }),
1699
- _ts_metadata33("design:type", typeof Date === "undefined" ? Object : Date)
1954
+ _ts_metadata34("design:type", typeof Date === "undefined" ? Object : Date)
1700
1955
  ], CommentLikeResponseDto.prototype, "createdAt", void 0);
1701
- _ts_decorate33([
1702
- ApiProperty23({
1956
+ _ts_decorate34([
1957
+ ApiProperty24({
1703
1958
  example: "2024-01-15T10:35:00Z"
1704
1959
  }),
1705
- _ts_metadata33("design:type", typeof Date === "undefined" ? Object : Date)
1960
+ _ts_metadata34("design:type", typeof Date === "undefined" ? Object : Date)
1706
1961
  ], CommentLikeResponseDto.prototype, "updatedAt", void 0);
1707
1962
 
1708
1963
  // dto/comments/paginated_comment_likes.dto.ts
1709
- import { ApiProperty as ApiProperty24 } from "@nestjs/swagger";
1710
- function _ts_decorate34(decorators, target, key, desc) {
1964
+ import { ApiProperty as ApiProperty25 } from "@nestjs/swagger";
1965
+ function _ts_decorate35(decorators, target, key, desc) {
1711
1966
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1712
1967
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1713
1968
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1714
1969
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1715
1970
  }
1716
- __name(_ts_decorate34, "_ts_decorate");
1717
- function _ts_metadata34(k, v) {
1971
+ __name(_ts_decorate35, "_ts_decorate");
1972
+ function _ts_metadata35(k, v) {
1718
1973
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1719
1974
  }
1720
- __name(_ts_metadata34, "_ts_metadata");
1975
+ __name(_ts_metadata35, "_ts_metadata");
1721
1976
  var _PaginatedCommentLikesDto = class _PaginatedCommentLikesDto {
1722
1977
  constructor() {
1723
1978
  __publicField(this, "likes");
@@ -1728,32 +1983,61 @@ var _PaginatedCommentLikesDto = class _PaginatedCommentLikesDto {
1728
1983
  };
1729
1984
  __name(_PaginatedCommentLikesDto, "PaginatedCommentLikesDto");
1730
1985
  var PaginatedCommentLikesDto = _PaginatedCommentLikesDto;
1731
- _ts_decorate34([
1732
- ApiProperty24({
1986
+ _ts_decorate35([
1987
+ ApiProperty25({
1733
1988
  type: [
1734
1989
  CommentLikeResponseDto
1735
1990
  ]
1736
1991
  }),
1737
- _ts_metadata34("design:type", Array)
1992
+ _ts_metadata35("design:type", Array)
1738
1993
  ], PaginatedCommentLikesDto.prototype, "likes", void 0);
1739
- _ts_decorate34([
1740
- ApiProperty24({
1994
+ _ts_decorate35([
1995
+ ApiProperty25({
1741
1996
  example: 120
1742
1997
  }),
1743
- _ts_metadata34("design:type", Number)
1998
+ _ts_metadata35("design:type", Number)
1744
1999
  ], PaginatedCommentLikesDto.prototype, "total", void 0);
1745
- _ts_decorate34([
1746
- ApiProperty24({
2000
+ _ts_decorate35([
2001
+ ApiProperty25({
1747
2002
  example: 1
1748
2003
  }),
1749
- _ts_metadata34("design:type", Number)
2004
+ _ts_metadata35("design:type", Number)
1750
2005
  ], PaginatedCommentLikesDto.prototype, "page", void 0);
1751
- _ts_decorate34([
1752
- ApiProperty24({
2006
+ _ts_decorate35([
2007
+ ApiProperty25({
1753
2008
  example: 6
1754
2009
  }),
1755
- _ts_metadata34("design:type", Number)
2010
+ _ts_metadata35("design:type", Number)
1756
2011
  ], PaginatedCommentLikesDto.prototype, "totalPages", void 0);
2012
+
2013
+ // dto/tags/create_find_tag.dto.ts
2014
+ var _CreateOrGetTagDto = class _CreateOrGetTagDto {
2015
+ constructor() {
2016
+ __publicField(this, "name");
2017
+ __publicField(this, "sector");
2018
+ __publicField(this, "type");
2019
+ }
2020
+ };
2021
+ __name(_CreateOrGetTagDto, "CreateOrGetTagDto");
2022
+ var CreateOrGetTagDto = _CreateOrGetTagDto;
2023
+
2024
+ // dto/tags/get_tag_by_sector.dto.ts
2025
+ var _GetTagsBySectorDto = class _GetTagsBySectorDto {
2026
+ constructor() {
2027
+ __publicField(this, "sector");
2028
+ }
2029
+ };
2030
+ __name(_GetTagsBySectorDto, "GetTagsBySectorDto");
2031
+ var GetTagsBySectorDto = _GetTagsBySectorDto;
2032
+
2033
+ // dto/tags/search_tag.dto.ts
2034
+ var _SearchTagsDto = class _SearchTagsDto {
2035
+ constructor() {
2036
+ __publicField(this, "name");
2037
+ }
2038
+ };
2039
+ __name(_SearchTagsDto, "SearchTagsDto");
2040
+ var SearchTagsDto = _SearchTagsDto;
1757
2041
  export {
1758
2042
  BusinessSector,
1759
2043
  CommentFields,
@@ -1761,6 +2045,7 @@ export {
1761
2045
  CommentResponseDto,
1762
2046
  CommentTreeDto,
1763
2047
  CreateCommentDto,
2048
+ CreateOrGetTagDto,
1764
2049
  CreatePostDto,
1765
2050
  CreatePostFileDto,
1766
2051
  CreateUserDto,
@@ -1772,6 +2057,7 @@ export {
1772
2057
  FindAllUsersDto,
1773
2058
  FindByRoleDto,
1774
2059
  ForgotPasswordDto,
2060
+ GetTagsBySectorDto,
1775
2061
  LikeCommentDto,
1776
2062
  LikePostDto,
1777
2063
  LoginLocalDTO,
@@ -1785,10 +2071,13 @@ export {
1785
2071
  PostLikeResponseDto,
1786
2072
  PostResponseDto,
1787
2073
  PostResponseSelfDto,
2074
+ ProfessionalProfileResponseDto,
1788
2075
  ReactionType,
1789
2076
  ReorderDto,
1790
2077
  ResetPasswordDto,
2078
+ SearchTagsDto,
1791
2079
  SearchUsersByFullNameDTO,
2080
+ TagResponseDto,
1792
2081
  UpdateCommentDto,
1793
2082
  UpdatePasswordDto,
1794
2083
  UpdatePostDto,