@feresmeryas/microservices-common 1.5.19 → 1.5.20

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
@@ -667,7 +667,6 @@ _ts_decorate15([
667
667
  default: BusinessSector.CONSULTING
668
668
  }),
669
669
  IsEnum2(BusinessSector),
670
- IsOptional6(),
671
670
  _ts_metadata15("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
672
671
  ], CreatePostDto.prototype, "sector", void 0);
673
672
  _ts_decorate15([
@@ -688,7 +687,7 @@ _ts_decorate15([
688
687
  ], CreatePostDto.prototype, "files", void 0);
689
688
 
690
689
  // dto/posts/post_response.dto.ts
691
- import { ApiProperty as ApiProperty8 } from "@nestjs/swagger";
690
+ import { ApiProperty as ApiProperty9 } from "@nestjs/swagger";
692
691
 
693
692
  // dto/posts/post_file.dto.ts
694
693
  import { ApiProperty as ApiProperty7 } from "@nestjs/swagger";
@@ -759,6 +758,9 @@ _ts_decorate16([
759
758
 
760
759
  // dto/posts/post_response.dto.ts
761
760
  import { IsEnum as IsEnum3 } from "class-validator";
761
+
762
+ // dto/tags/tag_response.dto.ts
763
+ import { ApiProperty as ApiProperty8 } from "@nestjs/swagger";
762
764
  function _ts_decorate17(decorators, target, key, desc) {
763
765
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
764
766
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -770,6 +772,47 @@ function _ts_metadata17(k, v) {
770
772
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
771
773
  }
772
774
  __name(_ts_metadata17, "_ts_metadata");
775
+ var _TagResponseDto = class _TagResponseDto {
776
+ constructor() {
777
+ __publicField(this, "name");
778
+ __publicField(this, "slug");
779
+ // Optional: Include id if you need it for specific actions
780
+ __publicField(this, "id");
781
+ }
782
+ };
783
+ __name(_TagResponseDto, "TagResponseDto");
784
+ var TagResponseDto = _TagResponseDto;
785
+ _ts_decorate17([
786
+ ApiProperty8({
787
+ example: "React JS"
788
+ }),
789
+ _ts_metadata17("design:type", String)
790
+ ], TagResponseDto.prototype, "name", void 0);
791
+ _ts_decorate17([
792
+ ApiProperty8({
793
+ example: "react-js"
794
+ }),
795
+ _ts_metadata17("design:type", String)
796
+ ], TagResponseDto.prototype, "slug", void 0);
797
+ _ts_decorate17([
798
+ ApiProperty8({
799
+ example: "uuid-v4-string"
800
+ }),
801
+ _ts_metadata17("design:type", String)
802
+ ], TagResponseDto.prototype, "id", void 0);
803
+
804
+ // dto/posts/post_response.dto.ts
805
+ function _ts_decorate18(decorators, target, key, desc) {
806
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
807
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
808
+ 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
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
810
+ }
811
+ __name(_ts_decorate18, "_ts_decorate");
812
+ function _ts_metadata18(k, v) {
813
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
814
+ }
815
+ __name(_ts_metadata18, "_ts_metadata");
773
816
  var _PostResponseDto = class _PostResponseDto {
774
817
  constructor() {
775
818
  __publicField(this, "id");
@@ -778,6 +821,7 @@ var _PostResponseDto = class _PostResponseDto {
778
821
  __publicField(this, "publisherFullName");
779
822
  __publicField(this, "publisherProfilePictureUrl");
780
823
  __publicField(this, "files");
824
+ __publicField(this, "tags");
781
825
  __publicField(this, "commentsCount");
782
826
  __publicField(this, "sector");
783
827
  __publicField(this, "likesCount");
@@ -787,93 +831,102 @@ var _PostResponseDto = class _PostResponseDto {
787
831
  };
788
832
  __name(_PostResponseDto, "PostResponseDto");
789
833
  var PostResponseDto = _PostResponseDto;
790
- _ts_decorate17([
791
- ApiProperty8({
834
+ _ts_decorate18([
835
+ ApiProperty9({
792
836
  example: "123e4567-e89b-12d3-a456-426614174000"
793
837
  }),
794
- _ts_metadata17("design:type", String)
838
+ _ts_metadata18("design:type", String)
795
839
  ], PostResponseDto.prototype, "id", void 0);
796
- _ts_decorate17([
797
- ApiProperty8({
840
+ _ts_decorate18([
841
+ ApiProperty9({
798
842
  example: "123e4567-e89b-12d3-a456-426614174001"
799
843
  }),
800
- _ts_metadata17("design:type", String)
844
+ _ts_metadata18("design:type", String)
801
845
  ], PostResponseDto.prototype, "publisherId", void 0);
802
- _ts_decorate17([
803
- ApiProperty8({
846
+ _ts_decorate18([
847
+ ApiProperty9({
804
848
  example: "Check out this amazing view!"
805
849
  }),
806
- _ts_metadata17("design:type", String)
850
+ _ts_metadata18("design:type", String)
807
851
  ], PostResponseDto.prototype, "description", void 0);
808
- _ts_decorate17([
809
- ApiProperty8({
852
+ _ts_decorate18([
853
+ ApiProperty9({
810
854
  example: "John Doe"
811
855
  }),
812
- _ts_metadata17("design:type", String)
856
+ _ts_metadata18("design:type", String)
813
857
  ], PostResponseDto.prototype, "publisherFullName", void 0);
814
- _ts_decorate17([
815
- ApiProperty8({
858
+ _ts_decorate18([
859
+ ApiProperty9({
816
860
  example: "https://example.com/profile.jpg",
817
861
  nullable: true
818
862
  }),
819
- _ts_metadata17("design:type", Object)
863
+ _ts_metadata18("design:type", Object)
820
864
  ], PostResponseDto.prototype, "publisherProfilePictureUrl", void 0);
821
- _ts_decorate17([
822
- ApiProperty8({
865
+ _ts_decorate18([
866
+ ApiProperty9({
823
867
  type: [
824
868
  PostFileDto
825
869
  ]
826
870
  }),
827
- _ts_metadata17("design:type", Array)
871
+ _ts_metadata18("design:type", Array)
828
872
  ], PostResponseDto.prototype, "files", void 0);
829
- _ts_decorate17([
830
- ApiProperty8({
873
+ _ts_decorate18([
874
+ ApiProperty9({
875
+ type: [
876
+ TagResponseDto
877
+ ],
878
+ description: "List of tags associated with the post"
879
+ }),
880
+ _ts_metadata18("design:type", Array)
881
+ ], PostResponseDto.prototype, "tags", void 0);
882
+ _ts_decorate18([
883
+ ApiProperty9({
831
884
  example: 42
832
885
  }),
833
- _ts_metadata17("design:type", Number)
886
+ _ts_metadata18("design:type", Number)
834
887
  ], PostResponseDto.prototype, "commentsCount", void 0);
835
- _ts_decorate17([
836
- ApiProperty8({
888
+ _ts_decorate18([
889
+ ApiProperty9({
837
890
  description: "The Bunsieess sector type for the post",
838
891
  enum: BusinessSector,
839
892
  required: false,
840
893
  default: BusinessSector.CONSULTING
841
894
  }),
842
895
  IsEnum3(BusinessSector),
843
- _ts_metadata17("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
896
+ _ts_metadata18("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
844
897
  ], PostResponseDto.prototype, "sector", void 0);
845
- _ts_decorate17([
846
- ApiProperty8({
898
+ _ts_decorate18([
899
+ ApiProperty9({
847
900
  example: 128
848
901
  }),
849
- _ts_metadata17("design:type", Number)
902
+ _ts_metadata18("design:type", Number)
850
903
  ], PostResponseDto.prototype, "likesCount", void 0);
851
- _ts_decorate17([
852
- ApiProperty8({
904
+ _ts_decorate18([
905
+ ApiProperty9({
853
906
  example: "2024-01-15T10:30:00Z"
854
907
  }),
855
- _ts_metadata17("design:type", typeof Date === "undefined" ? Object : Date)
908
+ _ts_metadata18("design:type", typeof Date === "undefined" ? Object : Date)
856
909
  ], PostResponseDto.prototype, "createdAt", void 0);
857
- _ts_decorate17([
858
- ApiProperty8({
910
+ _ts_decorate18([
911
+ ApiProperty9({
859
912
  example: "2024-01-15T10:30:00Z"
860
913
  }),
861
- _ts_metadata17("design:type", typeof Date === "undefined" ? Object : Date)
914
+ _ts_metadata18("design:type", typeof Date === "undefined" ? Object : Date)
862
915
  ], PostResponseDto.prototype, "updatedAt", void 0);
863
916
 
864
917
  // dto/posts/pagination_post.dto.ts
865
- import { ApiProperty as ApiProperty9 } from "@nestjs/swagger";
866
- function _ts_decorate18(decorators, target, key, desc) {
918
+ import { ApiProperty as ApiProperty10 } from "@nestjs/swagger";
919
+ function _ts_decorate19(decorators, target, key, desc) {
867
920
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
868
921
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
869
922
  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;
870
923
  return c > 3 && r && Object.defineProperty(target, key, r), r;
871
924
  }
872
- __name(_ts_decorate18, "_ts_decorate");
873
- function _ts_metadata18(k, v) {
925
+ __name(_ts_decorate19, "_ts_decorate");
926
+ function _ts_metadata19(k, v) {
874
927
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
875
928
  }
876
- __name(_ts_metadata18, "_ts_metadata");
929
+ __name(_ts_metadata19, "_ts_metadata");
877
930
  var _PaginatedPostsDto = class _PaginatedPostsDto {
878
931
  constructor() {
879
932
  __publicField(this, "posts");
@@ -884,47 +937,47 @@ var _PaginatedPostsDto = class _PaginatedPostsDto {
884
937
  };
885
938
  __name(_PaginatedPostsDto, "PaginatedPostsDto");
886
939
  var PaginatedPostsDto = _PaginatedPostsDto;
887
- _ts_decorate18([
888
- ApiProperty9({
940
+ _ts_decorate19([
941
+ ApiProperty10({
889
942
  type: [
890
943
  PostResponseDto
891
944
  ]
892
945
  }),
893
- _ts_metadata18("design:type", Array)
946
+ _ts_metadata19("design:type", Array)
894
947
  ], PaginatedPostsDto.prototype, "posts", void 0);
895
- _ts_decorate18([
896
- ApiProperty9({
948
+ _ts_decorate19([
949
+ ApiProperty10({
897
950
  example: 100
898
951
  }),
899
- _ts_metadata18("design:type", Number)
952
+ _ts_metadata19("design:type", Number)
900
953
  ], PaginatedPostsDto.prototype, "total", void 0);
901
- _ts_decorate18([
902
- ApiProperty9({
954
+ _ts_decorate19([
955
+ ApiProperty10({
903
956
  example: 1
904
957
  }),
905
- _ts_metadata18("design:type", Number)
958
+ _ts_metadata19("design:type", Number)
906
959
  ], PaginatedPostsDto.prototype, "page", void 0);
907
- _ts_decorate18([
908
- ApiProperty9({
960
+ _ts_decorate19([
961
+ ApiProperty10({
909
962
  example: 10
910
963
  }),
911
- _ts_metadata18("design:type", Number)
964
+ _ts_metadata19("design:type", Number)
912
965
  ], PaginatedPostsDto.prototype, "totalPages", void 0);
913
966
 
914
967
  // dto/posts/update_post.dto.ts
915
- import { ApiProperty as ApiProperty10 } from "@nestjs/swagger";
916
- import { IsEnum as IsEnum4, IsNotEmpty as IsNotEmpty8, IsString as IsString11, MaxLength as MaxLength6, MinLength as MinLength7 } from "class-validator";
917
- function _ts_decorate19(decorators, target, key, desc) {
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) {
918
971
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
919
972
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
920
973
  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;
921
974
  return c > 3 && r && Object.defineProperty(target, key, r), r;
922
975
  }
923
- __name(_ts_decorate19, "_ts_decorate");
924
- function _ts_metadata19(k, v) {
976
+ __name(_ts_decorate20, "_ts_decorate");
977
+ function _ts_metadata20(k, v) {
925
978
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
926
979
  }
927
- __name(_ts_metadata19, "_ts_metadata");
980
+ __name(_ts_metadata20, "_ts_metadata");
928
981
  var _UpdatePostDto = class _UpdatePostDto {
929
982
  constructor() {
930
983
  __publicField(this, "description");
@@ -933,8 +986,8 @@ var _UpdatePostDto = class _UpdatePostDto {
933
986
  };
934
987
  __name(_UpdatePostDto, "UpdatePostDto");
935
988
  var UpdatePostDto = _UpdatePostDto;
936
- _ts_decorate19([
937
- ApiProperty10({
989
+ _ts_decorate20([
990
+ ApiProperty11({
938
991
  description: "Post description/content",
939
992
  example: "Updated: Check out this amazing view!",
940
993
  minLength: 1,
@@ -945,17 +998,17 @@ _ts_decorate19([
945
998
  IsNotEmpty8(),
946
999
  MinLength7(1),
947
1000
  MaxLength6(5e3),
948
- _ts_metadata19("design:type", String)
1001
+ IsOptional7(),
1002
+ _ts_metadata20("design:type", String)
949
1003
  ], UpdatePostDto.prototype, "description", void 0);
950
- _ts_decorate19([
951
- ApiProperty10({
952
- description: "The Bunsieess sector type for the post",
953
- enum: BusinessSector,
954
- required: true,
955
- default: BusinessSector.CONSULTING
1004
+ _ts_decorate20([
1005
+ ApiProperty11({
1006
+ description: "The Business sector type for the post",
1007
+ enum: BusinessSector
956
1008
  }),
1009
+ IsOptional7(),
957
1010
  IsEnum4(BusinessSector),
958
- _ts_metadata19("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
1011
+ _ts_metadata20("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
959
1012
  ], UpdatePostDto.prototype, "sector", void 0);
960
1013
 
961
1014
  // dto/posts/post_fields.dto.ts
@@ -978,18 +1031,18 @@ __name(_PostFields, "PostFields");
978
1031
  var PostFields = _PostFields;
979
1032
 
980
1033
  // dto/posts/post_response_self.dto.ts
981
- import { ApiProperty as ApiProperty11 } from "@nestjs/swagger";
982
- function _ts_decorate20(decorators, target, key, desc) {
1034
+ import { ApiProperty as ApiProperty12 } from "@nestjs/swagger";
1035
+ function _ts_decorate21(decorators, target, key, desc) {
983
1036
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
984
1037
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
985
1038
  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;
986
1039
  return c > 3 && r && Object.defineProperty(target, key, r), r;
987
1040
  }
988
- __name(_ts_decorate20, "_ts_decorate");
989
- function _ts_metadata20(k, v) {
1041
+ __name(_ts_decorate21, "_ts_decorate");
1042
+ function _ts_metadata21(k, v) {
990
1043
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
991
1044
  }
992
- __name(_ts_metadata20, "_ts_metadata");
1045
+ __name(_ts_metadata21, "_ts_metadata");
993
1046
  var _PostResponseSelfDto = class _PostResponseSelfDto extends PostResponseDto {
994
1047
  constructor() {
995
1048
  super(...arguments);
@@ -998,26 +1051,26 @@ var _PostResponseSelfDto = class _PostResponseSelfDto extends PostResponseDto {
998
1051
  };
999
1052
  __name(_PostResponseSelfDto, "PostResponseSelfDto");
1000
1053
  var PostResponseSelfDto = _PostResponseSelfDto;
1001
- _ts_decorate20([
1002
- ApiProperty11({
1054
+ _ts_decorate21([
1055
+ ApiProperty12({
1003
1056
  example: true
1004
1057
  }),
1005
- _ts_metadata20("design:type", Boolean)
1058
+ _ts_metadata21("design:type", Boolean)
1006
1059
  ], PostResponseSelfDto.prototype, "hidden", void 0);
1007
1060
 
1008
1061
  // dto/posts/pagination_post_self.dto.ts
1009
- import { ApiProperty as ApiProperty12 } from "@nestjs/swagger";
1010
- function _ts_decorate21(decorators, target, key, desc) {
1062
+ import { ApiProperty as ApiProperty13 } from "@nestjs/swagger";
1063
+ function _ts_decorate22(decorators, target, key, desc) {
1011
1064
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1012
1065
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1013
1066
  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;
1014
1067
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1015
1068
  }
1016
- __name(_ts_decorate21, "_ts_decorate");
1017
- function _ts_metadata21(k, v) {
1069
+ __name(_ts_decorate22, "_ts_decorate");
1070
+ function _ts_metadata22(k, v) {
1018
1071
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1019
1072
  }
1020
- __name(_ts_metadata21, "_ts_metadata");
1073
+ __name(_ts_metadata22, "_ts_metadata");
1021
1074
  var _PaginatedPostsSelfDto = class _PaginatedPostsSelfDto {
1022
1075
  constructor() {
1023
1076
  __publicField(this, "posts");
@@ -1028,46 +1081,46 @@ var _PaginatedPostsSelfDto = class _PaginatedPostsSelfDto {
1028
1081
  };
1029
1082
  __name(_PaginatedPostsSelfDto, "PaginatedPostsSelfDto");
1030
1083
  var PaginatedPostsSelfDto = _PaginatedPostsSelfDto;
1031
- _ts_decorate21([
1032
- ApiProperty12({
1084
+ _ts_decorate22([
1085
+ ApiProperty13({
1033
1086
  type: [
1034
1087
  PostResponseDto
1035
1088
  ]
1036
1089
  }),
1037
- _ts_metadata21("design:type", Array)
1090
+ _ts_metadata22("design:type", Array)
1038
1091
  ], PaginatedPostsSelfDto.prototype, "posts", void 0);
1039
- _ts_decorate21([
1040
- ApiProperty12({
1092
+ _ts_decorate22([
1093
+ ApiProperty13({
1041
1094
  example: 100
1042
1095
  }),
1043
- _ts_metadata21("design:type", Number)
1096
+ _ts_metadata22("design:type", Number)
1044
1097
  ], PaginatedPostsSelfDto.prototype, "total", void 0);
1045
- _ts_decorate21([
1046
- ApiProperty12({
1098
+ _ts_decorate22([
1099
+ ApiProperty13({
1047
1100
  example: 1
1048
1101
  }),
1049
- _ts_metadata21("design:type", Number)
1102
+ _ts_metadata22("design:type", Number)
1050
1103
  ], PaginatedPostsSelfDto.prototype, "page", void 0);
1051
- _ts_decorate21([
1052
- ApiProperty12({
1104
+ _ts_decorate22([
1105
+ ApiProperty13({
1053
1106
  example: 10
1054
1107
  }),
1055
- _ts_metadata21("design:type", Number)
1108
+ _ts_metadata22("design:type", Number)
1056
1109
  ], PaginatedPostsSelfDto.prototype, "totalPages", void 0);
1057
1110
 
1058
1111
  // dto/posts/reorder_post_file.dto.ts
1059
1112
  import { IsInt as IsInt2, Max, Min as Min2 } from "class-validator";
1060
- function _ts_decorate22(decorators, target, key, desc) {
1113
+ function _ts_decorate23(decorators, target, key, desc) {
1061
1114
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1062
1115
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1063
1116
  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;
1064
1117
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1065
1118
  }
1066
- __name(_ts_decorate22, "_ts_decorate");
1067
- function _ts_metadata22(k, v) {
1119
+ __name(_ts_decorate23, "_ts_decorate");
1120
+ function _ts_metadata23(k, v) {
1068
1121
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1069
1122
  }
1070
- __name(_ts_metadata22, "_ts_metadata");
1123
+ __name(_ts_metadata23, "_ts_metadata");
1071
1124
  var _ReorderDto = class _ReorderDto {
1072
1125
  constructor() {
1073
1126
  __publicField(this, "newIndex");
@@ -1075,26 +1128,26 @@ var _ReorderDto = class _ReorderDto {
1075
1128
  };
1076
1129
  __name(_ReorderDto, "ReorderDto");
1077
1130
  var ReorderDto = _ReorderDto;
1078
- _ts_decorate22([
1131
+ _ts_decorate23([
1079
1132
  IsInt2(),
1080
1133
  Min2(0),
1081
1134
  Max(100),
1082
- _ts_metadata22("design:type", Number)
1135
+ _ts_metadata23("design:type", Number)
1083
1136
  ], ReorderDto.prototype, "newIndex", void 0);
1084
1137
 
1085
1138
  // dto/posts/post_like_response.dto.ts
1086
- import { ApiProperty as ApiProperty13 } from "@nestjs/swagger";
1087
- function _ts_decorate23(decorators, target, key, desc) {
1139
+ import { ApiProperty as ApiProperty14 } from "@nestjs/swagger";
1140
+ function _ts_decorate24(decorators, target, key, desc) {
1088
1141
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1089
1142
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1090
1143
  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;
1091
1144
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1092
1145
  }
1093
- __name(_ts_decorate23, "_ts_decorate");
1094
- function _ts_metadata23(k, v) {
1146
+ __name(_ts_decorate24, "_ts_decorate");
1147
+ function _ts_metadata24(k, v) {
1095
1148
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1096
1149
  }
1097
- __name(_ts_metadata23, "_ts_metadata");
1150
+ __name(_ts_metadata24, "_ts_metadata");
1098
1151
  var _PostLikeResponseDto = class _PostLikeResponseDto {
1099
1152
  constructor() {
1100
1153
  __publicField(this, "id");
@@ -1108,65 +1161,65 @@ var _PostLikeResponseDto = class _PostLikeResponseDto {
1108
1161
  };
1109
1162
  __name(_PostLikeResponseDto, "PostLikeResponseDto");
1110
1163
  var PostLikeResponseDto = _PostLikeResponseDto;
1111
- _ts_decorate23([
1112
- ApiProperty13({
1164
+ _ts_decorate24([
1165
+ ApiProperty14({
1113
1166
  example: "123e4567-e89b-12d3-a456-426614174005"
1114
1167
  }),
1115
- _ts_metadata23("design:type", String)
1168
+ _ts_metadata24("design:type", String)
1116
1169
  ], PostLikeResponseDto.prototype, "id", void 0);
1117
- _ts_decorate23([
1118
- ApiProperty13({
1170
+ _ts_decorate24([
1171
+ ApiProperty14({
1119
1172
  example: "123e4567-e89b-12d3-a456-426614174000"
1120
1173
  }),
1121
- _ts_metadata23("design:type", String)
1174
+ _ts_metadata24("design:type", String)
1122
1175
  ], PostLikeResponseDto.prototype, "postId", void 0);
1123
- _ts_decorate23([
1124
- ApiProperty13({
1176
+ _ts_decorate24([
1177
+ ApiProperty14({
1125
1178
  example: "123e4567-e89b-12d3-a456-426614174002"
1126
1179
  }),
1127
- _ts_metadata23("design:type", String)
1180
+ _ts_metadata24("design:type", String)
1128
1181
  ], PostLikeResponseDto.prototype, "userId", void 0);
1129
- _ts_decorate23([
1130
- ApiProperty13({
1182
+ _ts_decorate24([
1183
+ ApiProperty14({
1131
1184
  example: "John Doe"
1132
1185
  }),
1133
- _ts_metadata23("design:type", String)
1186
+ _ts_metadata24("design:type", String)
1134
1187
  ], PostLikeResponseDto.prototype, "userFullName", void 0);
1135
- _ts_decorate23([
1136
- ApiProperty13({
1188
+ _ts_decorate24([
1189
+ ApiProperty14({
1137
1190
  example: "https://example.com/avatar.jpg",
1138
1191
  nullable: true
1139
1192
  }),
1140
- _ts_metadata23("design:type", Object)
1193
+ _ts_metadata24("design:type", Object)
1141
1194
  ], PostLikeResponseDto.prototype, "userProfilePictureUrl", void 0);
1142
- _ts_decorate23([
1143
- ApiProperty13({
1195
+ _ts_decorate24([
1196
+ ApiProperty14({
1144
1197
  enum: ReactionType,
1145
1198
  example: ReactionType.LIKE
1146
1199
  }),
1147
- _ts_metadata23("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1200
+ _ts_metadata24("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1148
1201
  ], PostLikeResponseDto.prototype, "type", void 0);
1149
- _ts_decorate23([
1150
- ApiProperty13({
1202
+ _ts_decorate24([
1203
+ ApiProperty14({
1151
1204
  example: "2026-01-14T12:00:00Z"
1152
1205
  }),
1153
- _ts_metadata23("design:type", typeof Date === "undefined" ? Object : Date)
1206
+ _ts_metadata24("design:type", typeof Date === "undefined" ? Object : Date)
1154
1207
  ], PostLikeResponseDto.prototype, "createdAt", void 0);
1155
1208
 
1156
1209
  // dto/posts/like_post.dto.ts
1157
- import { ApiProperty as ApiProperty14 } from "@nestjs/swagger";
1158
- import { IsEnum as IsEnum5, IsOptional as IsOptional7 } from "class-validator";
1159
- function _ts_decorate24(decorators, target, key, desc) {
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) {
1160
1213
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1161
1214
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1162
1215
  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;
1163
1216
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1164
1217
  }
1165
- __name(_ts_decorate24, "_ts_decorate");
1166
- function _ts_metadata24(k, v) {
1218
+ __name(_ts_decorate25, "_ts_decorate");
1219
+ function _ts_metadata25(k, v) {
1167
1220
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1168
1221
  }
1169
- __name(_ts_metadata24, "_ts_metadata");
1222
+ __name(_ts_metadata25, "_ts_metadata");
1170
1223
  var _LikePostDto = class _LikePostDto {
1171
1224
  constructor() {
1172
1225
  __publicField(this, "type");
@@ -1174,31 +1227,31 @@ var _LikePostDto = class _LikePostDto {
1174
1227
  };
1175
1228
  __name(_LikePostDto, "LikePostDto");
1176
1229
  var LikePostDto = _LikePostDto;
1177
- _ts_decorate24([
1178
- ApiProperty14({
1230
+ _ts_decorate25([
1231
+ ApiProperty15({
1179
1232
  description: "The reaction type for the post",
1180
1233
  enum: ReactionType,
1181
1234
  required: false,
1182
1235
  default: ReactionType.LIKE
1183
1236
  }),
1184
1237
  IsEnum5(ReactionType),
1185
- IsOptional7(),
1186
- _ts_metadata24("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1238
+ IsOptional8(),
1239
+ _ts_metadata25("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1187
1240
  ], LikePostDto.prototype, "type", void 0);
1188
1241
 
1189
1242
  // dto/posts/paginated_post_like_dto.ts
1190
- import { ApiProperty as ApiProperty15 } from "@nestjs/swagger";
1191
- function _ts_decorate25(decorators, target, key, desc) {
1243
+ import { ApiProperty as ApiProperty16 } from "@nestjs/swagger";
1244
+ function _ts_decorate26(decorators, target, key, desc) {
1192
1245
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1193
1246
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1194
1247
  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;
1195
1248
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1196
1249
  }
1197
- __name(_ts_decorate25, "_ts_decorate");
1198
- function _ts_metadata25(k, v) {
1250
+ __name(_ts_decorate26, "_ts_decorate");
1251
+ function _ts_metadata26(k, v) {
1199
1252
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1200
1253
  }
1201
- __name(_ts_metadata25, "_ts_metadata");
1254
+ __name(_ts_metadata26, "_ts_metadata");
1202
1255
  var _PaginatedPostLikesDto = class _PaginatedPostLikesDto {
1203
1256
  constructor() {
1204
1257
  __publicField(this, "likes");
@@ -1209,47 +1262,47 @@ var _PaginatedPostLikesDto = class _PaginatedPostLikesDto {
1209
1262
  };
1210
1263
  __name(_PaginatedPostLikesDto, "PaginatedPostLikesDto");
1211
1264
  var PaginatedPostLikesDto = _PaginatedPostLikesDto;
1212
- _ts_decorate25([
1213
- ApiProperty15({
1265
+ _ts_decorate26([
1266
+ ApiProperty16({
1214
1267
  type: [
1215
1268
  PostLikeResponseDto
1216
1269
  ]
1217
1270
  }),
1218
- _ts_metadata25("design:type", Array)
1271
+ _ts_metadata26("design:type", Array)
1219
1272
  ], PaginatedPostLikesDto.prototype, "likes", void 0);
1220
- _ts_decorate25([
1221
- ApiProperty15({
1273
+ _ts_decorate26([
1274
+ ApiProperty16({
1222
1275
  example: 100
1223
1276
  }),
1224
- _ts_metadata25("design:type", Number)
1277
+ _ts_metadata26("design:type", Number)
1225
1278
  ], PaginatedPostLikesDto.prototype, "total", void 0);
1226
- _ts_decorate25([
1227
- ApiProperty15({
1279
+ _ts_decorate26([
1280
+ ApiProperty16({
1228
1281
  example: 1
1229
1282
  }),
1230
- _ts_metadata25("design:type", Number)
1283
+ _ts_metadata26("design:type", Number)
1231
1284
  ], PaginatedPostLikesDto.prototype, "page", void 0);
1232
- _ts_decorate25([
1233
- ApiProperty15({
1285
+ _ts_decorate26([
1286
+ ApiProperty16({
1234
1287
  example: 10
1235
1288
  }),
1236
- _ts_metadata25("design:type", Number)
1289
+ _ts_metadata26("design:type", Number)
1237
1290
  ], PaginatedPostLikesDto.prototype, "totalPages", void 0);
1238
1291
 
1239
1292
  // dto/comments/create_comment.dto.ts
1240
- import { ApiProperty as ApiProperty16 } from "@nestjs/swagger";
1241
- import { IsNotEmpty as IsNotEmpty9, IsOptional as IsOptional8, IsString as IsString12, IsUUID, MaxLength as MaxLength7, MinLength as MinLength8 } from "class-validator";
1242
- function _ts_decorate26(decorators, target, key, desc) {
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) {
1243
1296
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1244
1297
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1245
1298
  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;
1246
1299
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1247
1300
  }
1248
- __name(_ts_decorate26, "_ts_decorate");
1249
- function _ts_metadata26(k, v) {
1301
+ __name(_ts_decorate27, "_ts_decorate");
1302
+ function _ts_metadata27(k, v) {
1250
1303
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1251
1304
  }
1252
- __name(_ts_metadata26, "_ts_metadata");
1305
+ __name(_ts_metadata27, "_ts_metadata");
1253
1306
  var _CreateCommentDto = class _CreateCommentDto {
1254
1307
  constructor() {
1255
1308
  __publicField(this, "postId");
@@ -1259,17 +1312,17 @@ var _CreateCommentDto = class _CreateCommentDto {
1259
1312
  };
1260
1313
  __name(_CreateCommentDto, "CreateCommentDto");
1261
1314
  var CreateCommentDto = _CreateCommentDto;
1262
- _ts_decorate26([
1263
- ApiProperty16({
1315
+ _ts_decorate27([
1316
+ ApiProperty17({
1264
1317
  description: "Post ID to comment on",
1265
1318
  example: "123e4567-e89b-12d3-a456-426614174000"
1266
1319
  }),
1267
1320
  IsUUID(),
1268
1321
  IsNotEmpty9(),
1269
- _ts_metadata26("design:type", String)
1322
+ _ts_metadata27("design:type", String)
1270
1323
  ], CreateCommentDto.prototype, "postId", void 0);
1271
- _ts_decorate26([
1272
- ApiProperty16({
1324
+ _ts_decorate27([
1325
+ ApiProperty17({
1273
1326
  description: "Comment content",
1274
1327
  example: "Great post!",
1275
1328
  minLength: 1,
@@ -1279,32 +1332,32 @@ _ts_decorate26([
1279
1332
  IsNotEmpty9(),
1280
1333
  MinLength8(1),
1281
1334
  MaxLength7(5e3),
1282
- _ts_metadata26("design:type", String)
1335
+ _ts_metadata27("design:type", String)
1283
1336
  ], CreateCommentDto.prototype, "content", void 0);
1284
- _ts_decorate26([
1285
- ApiProperty16({
1337
+ _ts_decorate27([
1338
+ ApiProperty17({
1286
1339
  description: "Parent comment ID for nested replies",
1287
1340
  example: "123e4567-e89b-12d3-a456-426614174002",
1288
1341
  required: false
1289
1342
  }),
1290
1343
  IsUUID(),
1291
- IsOptional8(),
1292
- _ts_metadata26("design:type", String)
1344
+ IsOptional9(),
1345
+ _ts_metadata27("design:type", String)
1293
1346
  ], CreateCommentDto.prototype, "parentCommentId", void 0);
1294
1347
 
1295
1348
  // dto/comments/comment_response.dto.ts
1296
- import { ApiProperty as ApiProperty17 } from "@nestjs/swagger";
1297
- function _ts_decorate27(decorators, target, key, desc) {
1349
+ import { ApiProperty as ApiProperty18 } from "@nestjs/swagger";
1350
+ function _ts_decorate28(decorators, target, key, desc) {
1298
1351
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1299
1352
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1300
1353
  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;
1301
1354
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1302
1355
  }
1303
- __name(_ts_decorate27, "_ts_decorate");
1304
- function _ts_metadata27(k, v) {
1356
+ __name(_ts_decorate28, "_ts_decorate");
1357
+ function _ts_metadata28(k, v) {
1305
1358
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1306
1359
  }
1307
- __name(_ts_metadata27, "_ts_metadata");
1360
+ __name(_ts_metadata28, "_ts_metadata");
1308
1361
  var _CommentResponseDto = class _CommentResponseDto {
1309
1362
  constructor() {
1310
1363
  __publicField(this, "id");
@@ -1324,100 +1377,100 @@ var _CommentResponseDto = class _CommentResponseDto {
1324
1377
  };
1325
1378
  __name(_CommentResponseDto, "CommentResponseDto");
1326
1379
  var CommentResponseDto = _CommentResponseDto;
1327
- _ts_decorate27([
1328
- ApiProperty17({
1380
+ _ts_decorate28([
1381
+ ApiProperty18({
1329
1382
  example: "123e4567-e89b-12d3-a456-426614174000"
1330
1383
  }),
1331
- _ts_metadata27("design:type", String)
1384
+ _ts_metadata28("design:type", String)
1332
1385
  ], CommentResponseDto.prototype, "id", void 0);
1333
- _ts_decorate27([
1334
- ApiProperty17({
1386
+ _ts_decorate28([
1387
+ ApiProperty18({
1335
1388
  example: "123e4567-e89b-12d3-a456-426614174001"
1336
1389
  }),
1337
- _ts_metadata27("design:type", String)
1390
+ _ts_metadata28("design:type", String)
1338
1391
  ], CommentResponseDto.prototype, "postId", void 0);
1339
- _ts_decorate27([
1340
- ApiProperty17({
1392
+ _ts_decorate28([
1393
+ ApiProperty18({
1341
1394
  example: "123e4567-e89b-12d3-a456-426614174002"
1342
1395
  }),
1343
- _ts_metadata27("design:type", String)
1396
+ _ts_metadata28("design:type", String)
1344
1397
  ], CommentResponseDto.prototype, "authorId", void 0);
1345
- _ts_decorate27([
1346
- ApiProperty17({
1398
+ _ts_decorate28([
1399
+ ApiProperty18({
1347
1400
  example: "John Doe"
1348
1401
  }),
1349
- _ts_metadata27("design:type", String)
1402
+ _ts_metadata28("design:type", String)
1350
1403
  ], CommentResponseDto.prototype, "authorFullName", void 0);
1351
- _ts_decorate27([
1352
- ApiProperty17({
1404
+ _ts_decorate28([
1405
+ ApiProperty18({
1353
1406
  example: "https://example.com/profile.jpg",
1354
1407
  nullable: true
1355
1408
  }),
1356
- _ts_metadata27("design:type", Object)
1409
+ _ts_metadata28("design:type", Object)
1357
1410
  ], CommentResponseDto.prototype, "authorProfilePictureUrl", void 0);
1358
- _ts_decorate27([
1359
- ApiProperty17({
1411
+ _ts_decorate28([
1412
+ ApiProperty18({
1360
1413
  example: "Great post!"
1361
1414
  }),
1362
- _ts_metadata27("design:type", String)
1415
+ _ts_metadata28("design:type", String)
1363
1416
  ], CommentResponseDto.prototype, "content", void 0);
1364
- _ts_decorate27([
1365
- ApiProperty17({
1417
+ _ts_decorate28([
1418
+ ApiProperty18({
1366
1419
  example: "123e4567-e89b-12d3-a456-426614174003",
1367
1420
  nullable: true
1368
1421
  }),
1369
- _ts_metadata27("design:type", Object)
1422
+ _ts_metadata28("design:type", Object)
1370
1423
  ], CommentResponseDto.prototype, "parentCommentId", void 0);
1371
- _ts_decorate27([
1372
- ApiProperty17({
1424
+ _ts_decorate28([
1425
+ ApiProperty18({
1373
1426
  example: 0
1374
1427
  }),
1375
- _ts_metadata27("design:type", Number)
1428
+ _ts_metadata28("design:type", Number)
1376
1429
  ], CommentResponseDto.prototype, "depth", void 0);
1377
- _ts_decorate27([
1378
- ApiProperty17({
1430
+ _ts_decorate28([
1431
+ ApiProperty18({
1379
1432
  example: 5
1380
1433
  }),
1381
- _ts_metadata27("design:type", Number)
1434
+ _ts_metadata28("design:type", Number)
1382
1435
  ], CommentResponseDto.prototype, "likesCount", void 0);
1383
- _ts_decorate27([
1384
- ApiProperty17({
1436
+ _ts_decorate28([
1437
+ ApiProperty18({
1385
1438
  example: 2
1386
1439
  }),
1387
- _ts_metadata27("design:type", Number)
1440
+ _ts_metadata28("design:type", Number)
1388
1441
  ], CommentResponseDto.prototype, "repliesCount", void 0);
1389
- _ts_decorate27([
1390
- ApiProperty17({
1442
+ _ts_decorate28([
1443
+ ApiProperty18({
1391
1444
  example: false
1392
1445
  }),
1393
- _ts_metadata27("design:type", Boolean)
1446
+ _ts_metadata28("design:type", Boolean)
1394
1447
  ], CommentResponseDto.prototype, "isEdited", void 0);
1395
- _ts_decorate27([
1396
- ApiProperty17({
1448
+ _ts_decorate28([
1449
+ ApiProperty18({
1397
1450
  example: "2024-01-15T10:30:00Z"
1398
1451
  }),
1399
- _ts_metadata27("design:type", typeof Date === "undefined" ? Object : Date)
1452
+ _ts_metadata28("design:type", typeof Date === "undefined" ? Object : Date)
1400
1453
  ], CommentResponseDto.prototype, "createdAt", void 0);
1401
- _ts_decorate27([
1402
- ApiProperty17({
1454
+ _ts_decorate28([
1455
+ ApiProperty18({
1403
1456
  example: "2024-01-15T10:30:00Z"
1404
1457
  }),
1405
- _ts_metadata27("design:type", typeof Date === "undefined" ? Object : Date)
1458
+ _ts_metadata28("design:type", typeof Date === "undefined" ? Object : Date)
1406
1459
  ], CommentResponseDto.prototype, "updatedAt", void 0);
1407
1460
 
1408
1461
  // dto/comments/comment_tree.dto.ts
1409
- import { ApiProperty as ApiProperty18 } from "@nestjs/swagger";
1410
- function _ts_decorate28(decorators, target, key, desc) {
1462
+ import { ApiProperty as ApiProperty19 } from "@nestjs/swagger";
1463
+ function _ts_decorate29(decorators, target, key, desc) {
1411
1464
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1412
1465
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1413
1466
  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;
1414
1467
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1415
1468
  }
1416
- __name(_ts_decorate28, "_ts_decorate");
1417
- function _ts_metadata28(k, v) {
1469
+ __name(_ts_decorate29, "_ts_decorate");
1470
+ function _ts_metadata29(k, v) {
1418
1471
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1419
1472
  }
1420
- __name(_ts_metadata28, "_ts_metadata");
1473
+ __name(_ts_metadata29, "_ts_metadata");
1421
1474
  var _CommentTreeDto = class _CommentTreeDto extends CommentResponseDto {
1422
1475
  constructor() {
1423
1476
  super(...arguments);
@@ -1426,28 +1479,28 @@ var _CommentTreeDto = class _CommentTreeDto extends CommentResponseDto {
1426
1479
  };
1427
1480
  __name(_CommentTreeDto, "CommentTreeDto");
1428
1481
  var CommentTreeDto = _CommentTreeDto;
1429
- _ts_decorate28([
1430
- ApiProperty18({
1482
+ _ts_decorate29([
1483
+ ApiProperty19({
1431
1484
  type: [
1432
1485
  CommentTreeDto
1433
1486
  ]
1434
1487
  }),
1435
- _ts_metadata28("design:type", Array)
1488
+ _ts_metadata29("design:type", Array)
1436
1489
  ], CommentTreeDto.prototype, "replies", void 0);
1437
1490
 
1438
1491
  // dto/comments/paginated_comment.dto.ts
1439
- import { ApiProperty as ApiProperty19 } from "@nestjs/swagger";
1440
- function _ts_decorate29(decorators, target, key, desc) {
1492
+ import { ApiProperty as ApiProperty20 } from "@nestjs/swagger";
1493
+ function _ts_decorate30(decorators, target, key, desc) {
1441
1494
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1442
1495
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1443
1496
  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;
1444
1497
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1445
1498
  }
1446
- __name(_ts_decorate29, "_ts_decorate");
1447
- function _ts_metadata29(k, v) {
1499
+ __name(_ts_decorate30, "_ts_decorate");
1500
+ function _ts_metadata30(k, v) {
1448
1501
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1449
1502
  }
1450
- __name(_ts_metadata29, "_ts_metadata");
1503
+ __name(_ts_metadata30, "_ts_metadata");
1451
1504
  var _PaginatedCommentsDto = class _PaginatedCommentsDto {
1452
1505
  constructor() {
1453
1506
  __publicField(this, "comments");
@@ -1458,47 +1511,47 @@ var _PaginatedCommentsDto = class _PaginatedCommentsDto {
1458
1511
  };
1459
1512
  __name(_PaginatedCommentsDto, "PaginatedCommentsDto");
1460
1513
  var PaginatedCommentsDto = _PaginatedCommentsDto;
1461
- _ts_decorate29([
1462
- ApiProperty19({
1514
+ _ts_decorate30([
1515
+ ApiProperty20({
1463
1516
  type: [
1464
1517
  CommentResponseDto
1465
1518
  ]
1466
1519
  }),
1467
- _ts_metadata29("design:type", Array)
1520
+ _ts_metadata30("design:type", Array)
1468
1521
  ], PaginatedCommentsDto.prototype, "comments", void 0);
1469
- _ts_decorate29([
1470
- ApiProperty19({
1522
+ _ts_decorate30([
1523
+ ApiProperty20({
1471
1524
  example: 50
1472
1525
  }),
1473
- _ts_metadata29("design:type", Number)
1526
+ _ts_metadata30("design:type", Number)
1474
1527
  ], PaginatedCommentsDto.prototype, "total", void 0);
1475
- _ts_decorate29([
1476
- ApiProperty19({
1528
+ _ts_decorate30([
1529
+ ApiProperty20({
1477
1530
  example: 1
1478
1531
  }),
1479
- _ts_metadata29("design:type", Number)
1532
+ _ts_metadata30("design:type", Number)
1480
1533
  ], PaginatedCommentsDto.prototype, "page", void 0);
1481
- _ts_decorate29([
1482
- ApiProperty19({
1534
+ _ts_decorate30([
1535
+ ApiProperty20({
1483
1536
  example: 5
1484
1537
  }),
1485
- _ts_metadata29("design:type", Number)
1538
+ _ts_metadata30("design:type", Number)
1486
1539
  ], PaginatedCommentsDto.prototype, "totalPages", void 0);
1487
1540
 
1488
1541
  // dto/comments/update_comment.dto.ts
1489
- import { ApiProperty as ApiProperty20 } from "@nestjs/swagger";
1542
+ import { ApiProperty as ApiProperty21 } from "@nestjs/swagger";
1490
1543
  import { IsNotEmpty as IsNotEmpty10, IsString as IsString13, MaxLength as MaxLength8, MinLength as MinLength9 } from "class-validator";
1491
- function _ts_decorate30(decorators, target, key, desc) {
1544
+ function _ts_decorate31(decorators, target, key, desc) {
1492
1545
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1493
1546
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1494
1547
  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;
1495
1548
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1496
1549
  }
1497
- __name(_ts_decorate30, "_ts_decorate");
1498
- function _ts_metadata30(k, v) {
1550
+ __name(_ts_decorate31, "_ts_decorate");
1551
+ function _ts_metadata31(k, v) {
1499
1552
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1500
1553
  }
1501
- __name(_ts_metadata30, "_ts_metadata");
1554
+ __name(_ts_metadata31, "_ts_metadata");
1502
1555
  var _UpdateCommentDto = class _UpdateCommentDto {
1503
1556
  constructor() {
1504
1557
  __publicField(this, "content");
@@ -1506,8 +1559,8 @@ var _UpdateCommentDto = class _UpdateCommentDto {
1506
1559
  };
1507
1560
  __name(_UpdateCommentDto, "UpdateCommentDto");
1508
1561
  var UpdateCommentDto = _UpdateCommentDto;
1509
- _ts_decorate30([
1510
- ApiProperty20({
1562
+ _ts_decorate31([
1563
+ ApiProperty21({
1511
1564
  description: "Updated comment content",
1512
1565
  example: "Updated: Great post!",
1513
1566
  minLength: 1,
@@ -1517,7 +1570,7 @@ _ts_decorate30([
1517
1570
  IsNotEmpty10(),
1518
1571
  MinLength9(1),
1519
1572
  MaxLength8(5e3),
1520
- _ts_metadata30("design:type", String)
1573
+ _ts_metadata31("design:type", String)
1521
1574
  ], UpdateCommentDto.prototype, "content", void 0);
1522
1575
 
1523
1576
  // dto/comments/comment_fields.dto.ts
@@ -1542,19 +1595,19 @@ __name(_CommentFields, "CommentFields");
1542
1595
  var CommentFields = _CommentFields;
1543
1596
 
1544
1597
  // dto/comments/like_comment.dto.ts
1545
- import { ApiProperty as ApiProperty21 } from "@nestjs/swagger";
1546
- import { IsEnum as IsEnum6, IsOptional as IsOptional9 } from "class-validator";
1547
- function _ts_decorate31(decorators, target, key, desc) {
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) {
1548
1601
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1549
1602
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1550
1603
  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;
1551
1604
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1552
1605
  }
1553
- __name(_ts_decorate31, "_ts_decorate");
1554
- function _ts_metadata31(k, v) {
1606
+ __name(_ts_decorate32, "_ts_decorate");
1607
+ function _ts_metadata32(k, v) {
1555
1608
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1556
1609
  }
1557
- __name(_ts_metadata31, "_ts_metadata");
1610
+ __name(_ts_metadata32, "_ts_metadata");
1558
1611
  var _LikeCommentDto = class _LikeCommentDto {
1559
1612
  constructor() {
1560
1613
  __publicField(this, "type");
@@ -1562,31 +1615,31 @@ var _LikeCommentDto = class _LikeCommentDto {
1562
1615
  };
1563
1616
  __name(_LikeCommentDto, "LikeCommentDto");
1564
1617
  var LikeCommentDto = _LikeCommentDto;
1565
- _ts_decorate31([
1566
- ApiProperty21({
1618
+ _ts_decorate32([
1619
+ ApiProperty22({
1567
1620
  description: "The reaction type for the comment",
1568
1621
  enum: ReactionType,
1569
1622
  required: false,
1570
1623
  default: ReactionType.LIKE
1571
1624
  }),
1572
1625
  IsEnum6(ReactionType),
1573
- IsOptional9(),
1574
- _ts_metadata31("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1626
+ IsOptional10(),
1627
+ _ts_metadata32("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1575
1628
  ], LikeCommentDto.prototype, "type", void 0);
1576
1629
 
1577
1630
  // dto/comments/comment_like_response.dto.ts
1578
- import { ApiProperty as ApiProperty22 } from "@nestjs/swagger";
1579
- function _ts_decorate32(decorators, target, key, desc) {
1631
+ import { ApiProperty as ApiProperty23 } from "@nestjs/swagger";
1632
+ function _ts_decorate33(decorators, target, key, desc) {
1580
1633
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1581
1634
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1582
1635
  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;
1583
1636
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1584
1637
  }
1585
- __name(_ts_decorate32, "_ts_decorate");
1586
- function _ts_metadata32(k, v) {
1638
+ __name(_ts_decorate33, "_ts_decorate");
1639
+ function _ts_metadata33(k, v) {
1587
1640
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1588
1641
  }
1589
- __name(_ts_metadata32, "_ts_metadata");
1642
+ __name(_ts_metadata33, "_ts_metadata");
1590
1643
  var _CommentLikeResponseDto = class _CommentLikeResponseDto {
1591
1644
  constructor() {
1592
1645
  __publicField(this, "id");
@@ -1601,70 +1654,70 @@ var _CommentLikeResponseDto = class _CommentLikeResponseDto {
1601
1654
  };
1602
1655
  __name(_CommentLikeResponseDto, "CommentLikeResponseDto");
1603
1656
  var CommentLikeResponseDto = _CommentLikeResponseDto;
1604
- _ts_decorate32([
1605
- ApiProperty22({
1657
+ _ts_decorate33([
1658
+ ApiProperty23({
1606
1659
  example: "123e4567-e89b-12d3-a456-426614174005"
1607
1660
  }),
1608
- _ts_metadata32("design:type", String)
1661
+ _ts_metadata33("design:type", String)
1609
1662
  ], CommentLikeResponseDto.prototype, "id", void 0);
1610
- _ts_decorate32([
1611
- ApiProperty22({
1663
+ _ts_decorate33([
1664
+ ApiProperty23({
1612
1665
  example: "123e4567-e89b-12d3-a456-426614174000"
1613
1666
  }),
1614
- _ts_metadata32("design:type", String)
1667
+ _ts_metadata33("design:type", String)
1615
1668
  ], CommentLikeResponseDto.prototype, "commentId", void 0);
1616
- _ts_decorate32([
1617
- ApiProperty22({
1669
+ _ts_decorate33([
1670
+ ApiProperty23({
1618
1671
  example: "123e4567-e89b-12d3-a456-426614174002"
1619
1672
  }),
1620
- _ts_metadata32("design:type", String)
1673
+ _ts_metadata33("design:type", String)
1621
1674
  ], CommentLikeResponseDto.prototype, "commentatorId", void 0);
1622
- _ts_decorate32([
1623
- ApiProperty22({
1675
+ _ts_decorate33([
1676
+ ApiProperty23({
1624
1677
  example: "Jane Doe"
1625
1678
  }),
1626
- _ts_metadata32("design:type", String)
1679
+ _ts_metadata33("design:type", String)
1627
1680
  ], CommentLikeResponseDto.prototype, "commentatorFullName", void 0);
1628
- _ts_decorate32([
1629
- ApiProperty22({
1681
+ _ts_decorate33([
1682
+ ApiProperty23({
1630
1683
  example: "https://example.com/jane.jpg",
1631
1684
  nullable: true
1632
1685
  }),
1633
- _ts_metadata32("design:type", Object)
1686
+ _ts_metadata33("design:type", Object)
1634
1687
  ], CommentLikeResponseDto.prototype, "commentatorProfilePictureUrl", void 0);
1635
- _ts_decorate32([
1636
- ApiProperty22({
1688
+ _ts_decorate33([
1689
+ ApiProperty23({
1637
1690
  enum: ReactionType,
1638
1691
  example: ReactionType.HEART
1639
1692
  }),
1640
- _ts_metadata32("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1693
+ _ts_metadata33("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
1641
1694
  ], CommentLikeResponseDto.prototype, "type", void 0);
1642
- _ts_decorate32([
1643
- ApiProperty22({
1695
+ _ts_decorate33([
1696
+ ApiProperty23({
1644
1697
  example: "2024-01-15T10:35:00Z"
1645
1698
  }),
1646
- _ts_metadata32("design:type", typeof Date === "undefined" ? Object : Date)
1699
+ _ts_metadata33("design:type", typeof Date === "undefined" ? Object : Date)
1647
1700
  ], CommentLikeResponseDto.prototype, "createdAt", void 0);
1648
- _ts_decorate32([
1649
- ApiProperty22({
1701
+ _ts_decorate33([
1702
+ ApiProperty23({
1650
1703
  example: "2024-01-15T10:35:00Z"
1651
1704
  }),
1652
- _ts_metadata32("design:type", typeof Date === "undefined" ? Object : Date)
1705
+ _ts_metadata33("design:type", typeof Date === "undefined" ? Object : Date)
1653
1706
  ], CommentLikeResponseDto.prototype, "updatedAt", void 0);
1654
1707
 
1655
1708
  // dto/comments/paginated_comment_likes.dto.ts
1656
- import { ApiProperty as ApiProperty23 } from "@nestjs/swagger";
1657
- function _ts_decorate33(decorators, target, key, desc) {
1709
+ import { ApiProperty as ApiProperty24 } from "@nestjs/swagger";
1710
+ function _ts_decorate34(decorators, target, key, desc) {
1658
1711
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1659
1712
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1660
1713
  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;
1661
1714
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1662
1715
  }
1663
- __name(_ts_decorate33, "_ts_decorate");
1664
- function _ts_metadata33(k, v) {
1716
+ __name(_ts_decorate34, "_ts_decorate");
1717
+ function _ts_metadata34(k, v) {
1665
1718
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1666
1719
  }
1667
- __name(_ts_metadata33, "_ts_metadata");
1720
+ __name(_ts_metadata34, "_ts_metadata");
1668
1721
  var _PaginatedCommentLikesDto = class _PaginatedCommentLikesDto {
1669
1722
  constructor() {
1670
1723
  __publicField(this, "likes");
@@ -1675,31 +1728,31 @@ var _PaginatedCommentLikesDto = class _PaginatedCommentLikesDto {
1675
1728
  };
1676
1729
  __name(_PaginatedCommentLikesDto, "PaginatedCommentLikesDto");
1677
1730
  var PaginatedCommentLikesDto = _PaginatedCommentLikesDto;
1678
- _ts_decorate33([
1679
- ApiProperty23({
1731
+ _ts_decorate34([
1732
+ ApiProperty24({
1680
1733
  type: [
1681
1734
  CommentLikeResponseDto
1682
1735
  ]
1683
1736
  }),
1684
- _ts_metadata33("design:type", Array)
1737
+ _ts_metadata34("design:type", Array)
1685
1738
  ], PaginatedCommentLikesDto.prototype, "likes", void 0);
1686
- _ts_decorate33([
1687
- ApiProperty23({
1739
+ _ts_decorate34([
1740
+ ApiProperty24({
1688
1741
  example: 120
1689
1742
  }),
1690
- _ts_metadata33("design:type", Number)
1743
+ _ts_metadata34("design:type", Number)
1691
1744
  ], PaginatedCommentLikesDto.prototype, "total", void 0);
1692
- _ts_decorate33([
1693
- ApiProperty23({
1745
+ _ts_decorate34([
1746
+ ApiProperty24({
1694
1747
  example: 1
1695
1748
  }),
1696
- _ts_metadata33("design:type", Number)
1749
+ _ts_metadata34("design:type", Number)
1697
1750
  ], PaginatedCommentLikesDto.prototype, "page", void 0);
1698
- _ts_decorate33([
1699
- ApiProperty23({
1751
+ _ts_decorate34([
1752
+ ApiProperty24({
1700
1753
  example: 6
1701
1754
  }),
1702
- _ts_metadata33("design:type", Number)
1755
+ _ts_metadata34("design:type", Number)
1703
1756
  ], PaginatedCommentLikesDto.prototype, "totalPages", void 0);
1704
1757
  export {
1705
1758
  BusinessSector,