@feresmeryas/microservices-common 1.5.21 → 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.d.mts +24 -3
- package/dist/index.d.ts +24 -3
- package/dist/index.js +384 -294
- package/dist/index.mjs +387 -301
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -922,7 +922,6 @@ _ts_decorate16([
|
|
|
922
922
|
default: BusinessSector.CONSULTING
|
|
923
923
|
}),
|
|
924
924
|
IsEnum3(BusinessSector),
|
|
925
|
-
IsOptional7(),
|
|
926
925
|
_ts_metadata16("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
|
|
927
926
|
], CreatePostDto.prototype, "sector", void 0);
|
|
928
927
|
_ts_decorate16([
|
|
@@ -943,7 +942,7 @@ _ts_decorate16([
|
|
|
943
942
|
], CreatePostDto.prototype, "files", void 0);
|
|
944
943
|
|
|
945
944
|
// dto/posts/post_response.dto.ts
|
|
946
|
-
import { ApiProperty as
|
|
945
|
+
import { ApiProperty as ApiProperty10 } from "@nestjs/swagger";
|
|
947
946
|
|
|
948
947
|
// dto/posts/post_file.dto.ts
|
|
949
948
|
import { ApiProperty as ApiProperty8 } from "@nestjs/swagger";
|
|
@@ -1014,6 +1013,9 @@ _ts_decorate17([
|
|
|
1014
1013
|
|
|
1015
1014
|
// dto/posts/post_response.dto.ts
|
|
1016
1015
|
import { IsEnum as IsEnum4 } from "class-validator";
|
|
1016
|
+
|
|
1017
|
+
// dto/tags/tag_response.dto.ts
|
|
1018
|
+
import { ApiProperty as ApiProperty9 } from "@nestjs/swagger";
|
|
1017
1019
|
function _ts_decorate18(decorators, target, key, desc) {
|
|
1018
1020
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1019
1021
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1025,6 +1027,47 @@ function _ts_metadata18(k, v) {
|
|
|
1025
1027
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1026
1028
|
}
|
|
1027
1029
|
__name(_ts_metadata18, "_ts_metadata");
|
|
1030
|
+
var _TagResponseDto = class _TagResponseDto {
|
|
1031
|
+
constructor() {
|
|
1032
|
+
__publicField(this, "name");
|
|
1033
|
+
__publicField(this, "slug");
|
|
1034
|
+
// Optional: Include id if you need it for specific actions
|
|
1035
|
+
__publicField(this, "id");
|
|
1036
|
+
}
|
|
1037
|
+
};
|
|
1038
|
+
__name(_TagResponseDto, "TagResponseDto");
|
|
1039
|
+
var TagResponseDto = _TagResponseDto;
|
|
1040
|
+
_ts_decorate18([
|
|
1041
|
+
ApiProperty9({
|
|
1042
|
+
example: "React JS"
|
|
1043
|
+
}),
|
|
1044
|
+
_ts_metadata18("design:type", String)
|
|
1045
|
+
], TagResponseDto.prototype, "name", void 0);
|
|
1046
|
+
_ts_decorate18([
|
|
1047
|
+
ApiProperty9({
|
|
1048
|
+
example: "react-js"
|
|
1049
|
+
}),
|
|
1050
|
+
_ts_metadata18("design:type", String)
|
|
1051
|
+
], TagResponseDto.prototype, "slug", void 0);
|
|
1052
|
+
_ts_decorate18([
|
|
1053
|
+
ApiProperty9({
|
|
1054
|
+
example: "uuid-v4-string"
|
|
1055
|
+
}),
|
|
1056
|
+
_ts_metadata18("design:type", String)
|
|
1057
|
+
], TagResponseDto.prototype, "id", void 0);
|
|
1058
|
+
|
|
1059
|
+
// dto/posts/post_response.dto.ts
|
|
1060
|
+
function _ts_decorate19(decorators, target, key, desc) {
|
|
1061
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1062
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
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;
|
|
1064
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1065
|
+
}
|
|
1066
|
+
__name(_ts_decorate19, "_ts_decorate");
|
|
1067
|
+
function _ts_metadata19(k, v) {
|
|
1068
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1069
|
+
}
|
|
1070
|
+
__name(_ts_metadata19, "_ts_metadata");
|
|
1028
1071
|
var _PostResponseDto = class _PostResponseDto {
|
|
1029
1072
|
constructor() {
|
|
1030
1073
|
__publicField(this, "id");
|
|
@@ -1033,6 +1076,7 @@ var _PostResponseDto = class _PostResponseDto {
|
|
|
1033
1076
|
__publicField(this, "publisherFullName");
|
|
1034
1077
|
__publicField(this, "publisherProfilePictureUrl");
|
|
1035
1078
|
__publicField(this, "files");
|
|
1079
|
+
__publicField(this, "tags");
|
|
1036
1080
|
__publicField(this, "commentsCount");
|
|
1037
1081
|
__publicField(this, "sector");
|
|
1038
1082
|
__publicField(this, "likesCount");
|
|
@@ -1042,93 +1086,102 @@ var _PostResponseDto = class _PostResponseDto {
|
|
|
1042
1086
|
};
|
|
1043
1087
|
__name(_PostResponseDto, "PostResponseDto");
|
|
1044
1088
|
var PostResponseDto = _PostResponseDto;
|
|
1045
|
-
|
|
1046
|
-
|
|
1089
|
+
_ts_decorate19([
|
|
1090
|
+
ApiProperty10({
|
|
1047
1091
|
example: "123e4567-e89b-12d3-a456-426614174000"
|
|
1048
1092
|
}),
|
|
1049
|
-
|
|
1093
|
+
_ts_metadata19("design:type", String)
|
|
1050
1094
|
], PostResponseDto.prototype, "id", void 0);
|
|
1051
|
-
|
|
1052
|
-
|
|
1095
|
+
_ts_decorate19([
|
|
1096
|
+
ApiProperty10({
|
|
1053
1097
|
example: "123e4567-e89b-12d3-a456-426614174001"
|
|
1054
1098
|
}),
|
|
1055
|
-
|
|
1099
|
+
_ts_metadata19("design:type", String)
|
|
1056
1100
|
], PostResponseDto.prototype, "publisherId", void 0);
|
|
1057
|
-
|
|
1058
|
-
|
|
1101
|
+
_ts_decorate19([
|
|
1102
|
+
ApiProperty10({
|
|
1059
1103
|
example: "Check out this amazing view!"
|
|
1060
1104
|
}),
|
|
1061
|
-
|
|
1105
|
+
_ts_metadata19("design:type", String)
|
|
1062
1106
|
], PostResponseDto.prototype, "description", void 0);
|
|
1063
|
-
|
|
1064
|
-
|
|
1107
|
+
_ts_decorate19([
|
|
1108
|
+
ApiProperty10({
|
|
1065
1109
|
example: "John Doe"
|
|
1066
1110
|
}),
|
|
1067
|
-
|
|
1111
|
+
_ts_metadata19("design:type", String)
|
|
1068
1112
|
], PostResponseDto.prototype, "publisherFullName", void 0);
|
|
1069
|
-
|
|
1070
|
-
|
|
1113
|
+
_ts_decorate19([
|
|
1114
|
+
ApiProperty10({
|
|
1071
1115
|
example: "https://example.com/profile.jpg",
|
|
1072
1116
|
nullable: true
|
|
1073
1117
|
}),
|
|
1074
|
-
|
|
1118
|
+
_ts_metadata19("design:type", Object)
|
|
1075
1119
|
], PostResponseDto.prototype, "publisherProfilePictureUrl", void 0);
|
|
1076
|
-
|
|
1077
|
-
|
|
1120
|
+
_ts_decorate19([
|
|
1121
|
+
ApiProperty10({
|
|
1078
1122
|
type: [
|
|
1079
1123
|
PostFileDto
|
|
1080
1124
|
]
|
|
1081
1125
|
}),
|
|
1082
|
-
|
|
1126
|
+
_ts_metadata19("design:type", Array)
|
|
1083
1127
|
], PostResponseDto.prototype, "files", void 0);
|
|
1084
|
-
|
|
1085
|
-
|
|
1128
|
+
_ts_decorate19([
|
|
1129
|
+
ApiProperty10({
|
|
1130
|
+
type: [
|
|
1131
|
+
TagResponseDto
|
|
1132
|
+
],
|
|
1133
|
+
description: "List of tags associated with the post"
|
|
1134
|
+
}),
|
|
1135
|
+
_ts_metadata19("design:type", Array)
|
|
1136
|
+
], PostResponseDto.prototype, "tags", void 0);
|
|
1137
|
+
_ts_decorate19([
|
|
1138
|
+
ApiProperty10({
|
|
1086
1139
|
example: 42
|
|
1087
1140
|
}),
|
|
1088
|
-
|
|
1141
|
+
_ts_metadata19("design:type", Number)
|
|
1089
1142
|
], PostResponseDto.prototype, "commentsCount", void 0);
|
|
1090
|
-
|
|
1091
|
-
|
|
1143
|
+
_ts_decorate19([
|
|
1144
|
+
ApiProperty10({
|
|
1092
1145
|
description: "The Bunsieess sector type for the post",
|
|
1093
1146
|
enum: BusinessSector,
|
|
1094
1147
|
required: false,
|
|
1095
1148
|
default: BusinessSector.CONSULTING
|
|
1096
1149
|
}),
|
|
1097
1150
|
IsEnum4(BusinessSector),
|
|
1098
|
-
|
|
1151
|
+
_ts_metadata19("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
|
|
1099
1152
|
], PostResponseDto.prototype, "sector", void 0);
|
|
1100
|
-
|
|
1101
|
-
|
|
1153
|
+
_ts_decorate19([
|
|
1154
|
+
ApiProperty10({
|
|
1102
1155
|
example: 128
|
|
1103
1156
|
}),
|
|
1104
|
-
|
|
1157
|
+
_ts_metadata19("design:type", Number)
|
|
1105
1158
|
], PostResponseDto.prototype, "likesCount", void 0);
|
|
1106
|
-
|
|
1107
|
-
|
|
1159
|
+
_ts_decorate19([
|
|
1160
|
+
ApiProperty10({
|
|
1108
1161
|
example: "2024-01-15T10:30:00Z"
|
|
1109
1162
|
}),
|
|
1110
|
-
|
|
1163
|
+
_ts_metadata19("design:type", typeof Date === "undefined" ? Object : Date)
|
|
1111
1164
|
], PostResponseDto.prototype, "createdAt", void 0);
|
|
1112
|
-
|
|
1113
|
-
|
|
1165
|
+
_ts_decorate19([
|
|
1166
|
+
ApiProperty10({
|
|
1114
1167
|
example: "2024-01-15T10:30:00Z"
|
|
1115
1168
|
}),
|
|
1116
|
-
|
|
1169
|
+
_ts_metadata19("design:type", typeof Date === "undefined" ? Object : Date)
|
|
1117
1170
|
], PostResponseDto.prototype, "updatedAt", void 0);
|
|
1118
1171
|
|
|
1119
1172
|
// dto/posts/pagination_post.dto.ts
|
|
1120
|
-
import { ApiProperty as
|
|
1121
|
-
function
|
|
1173
|
+
import { ApiProperty as ApiProperty11 } from "@nestjs/swagger";
|
|
1174
|
+
function _ts_decorate20(decorators, target, key, desc) {
|
|
1122
1175
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1123
1176
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1124
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;
|
|
1125
1178
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1126
1179
|
}
|
|
1127
|
-
__name(
|
|
1128
|
-
function
|
|
1180
|
+
__name(_ts_decorate20, "_ts_decorate");
|
|
1181
|
+
function _ts_metadata20(k, v) {
|
|
1129
1182
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1130
1183
|
}
|
|
1131
|
-
__name(
|
|
1184
|
+
__name(_ts_metadata20, "_ts_metadata");
|
|
1132
1185
|
var _PaginatedPostsDto = class _PaginatedPostsDto {
|
|
1133
1186
|
constructor() {
|
|
1134
1187
|
__publicField(this, "posts");
|
|
@@ -1139,47 +1192,47 @@ var _PaginatedPostsDto = class _PaginatedPostsDto {
|
|
|
1139
1192
|
};
|
|
1140
1193
|
__name(_PaginatedPostsDto, "PaginatedPostsDto");
|
|
1141
1194
|
var PaginatedPostsDto = _PaginatedPostsDto;
|
|
1142
|
-
|
|
1143
|
-
|
|
1195
|
+
_ts_decorate20([
|
|
1196
|
+
ApiProperty11({
|
|
1144
1197
|
type: [
|
|
1145
1198
|
PostResponseDto
|
|
1146
1199
|
]
|
|
1147
1200
|
}),
|
|
1148
|
-
|
|
1201
|
+
_ts_metadata20("design:type", Array)
|
|
1149
1202
|
], PaginatedPostsDto.prototype, "posts", void 0);
|
|
1150
|
-
|
|
1151
|
-
|
|
1203
|
+
_ts_decorate20([
|
|
1204
|
+
ApiProperty11({
|
|
1152
1205
|
example: 100
|
|
1153
1206
|
}),
|
|
1154
|
-
|
|
1207
|
+
_ts_metadata20("design:type", Number)
|
|
1155
1208
|
], PaginatedPostsDto.prototype, "total", void 0);
|
|
1156
|
-
|
|
1157
|
-
|
|
1209
|
+
_ts_decorate20([
|
|
1210
|
+
ApiProperty11({
|
|
1158
1211
|
example: 1
|
|
1159
1212
|
}),
|
|
1160
|
-
|
|
1213
|
+
_ts_metadata20("design:type", Number)
|
|
1161
1214
|
], PaginatedPostsDto.prototype, "page", void 0);
|
|
1162
|
-
|
|
1163
|
-
|
|
1215
|
+
_ts_decorate20([
|
|
1216
|
+
ApiProperty11({
|
|
1164
1217
|
example: 10
|
|
1165
1218
|
}),
|
|
1166
|
-
|
|
1219
|
+
_ts_metadata20("design:type", Number)
|
|
1167
1220
|
], PaginatedPostsDto.prototype, "totalPages", void 0);
|
|
1168
1221
|
|
|
1169
1222
|
// dto/posts/update_post.dto.ts
|
|
1170
|
-
import { ApiProperty as
|
|
1171
|
-
import { IsEnum as IsEnum5, IsNotEmpty as IsNotEmpty8, IsString as IsString12, MaxLength as MaxLength6, MinLength as MinLength7 } from "class-validator";
|
|
1172
|
-
function
|
|
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) {
|
|
1173
1226
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1174
1227
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1175
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;
|
|
1176
1229
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1177
1230
|
}
|
|
1178
|
-
__name(
|
|
1179
|
-
function
|
|
1231
|
+
__name(_ts_decorate21, "_ts_decorate");
|
|
1232
|
+
function _ts_metadata21(k, v) {
|
|
1180
1233
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1181
1234
|
}
|
|
1182
|
-
__name(
|
|
1235
|
+
__name(_ts_metadata21, "_ts_metadata");
|
|
1183
1236
|
var _UpdatePostDto = class _UpdatePostDto {
|
|
1184
1237
|
constructor() {
|
|
1185
1238
|
__publicField(this, "description");
|
|
@@ -1188,8 +1241,8 @@ var _UpdatePostDto = class _UpdatePostDto {
|
|
|
1188
1241
|
};
|
|
1189
1242
|
__name(_UpdatePostDto, "UpdatePostDto");
|
|
1190
1243
|
var UpdatePostDto = _UpdatePostDto;
|
|
1191
|
-
|
|
1192
|
-
|
|
1244
|
+
_ts_decorate21([
|
|
1245
|
+
ApiProperty12({
|
|
1193
1246
|
description: "Post description/content",
|
|
1194
1247
|
example: "Updated: Check out this amazing view!",
|
|
1195
1248
|
minLength: 1,
|
|
@@ -1200,17 +1253,17 @@ _ts_decorate20([
|
|
|
1200
1253
|
IsNotEmpty8(),
|
|
1201
1254
|
MinLength7(1),
|
|
1202
1255
|
MaxLength6(5e3),
|
|
1203
|
-
|
|
1256
|
+
IsOptional8(),
|
|
1257
|
+
_ts_metadata21("design:type", String)
|
|
1204
1258
|
], UpdatePostDto.prototype, "description", void 0);
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
description: "The
|
|
1208
|
-
enum: BusinessSector
|
|
1209
|
-
required: true,
|
|
1210
|
-
default: BusinessSector.CONSULTING
|
|
1259
|
+
_ts_decorate21([
|
|
1260
|
+
ApiPropertyOptional4({
|
|
1261
|
+
description: "The Business sector type for the post",
|
|
1262
|
+
enum: BusinessSector
|
|
1211
1263
|
}),
|
|
1264
|
+
IsOptional8(),
|
|
1212
1265
|
IsEnum5(BusinessSector),
|
|
1213
|
-
|
|
1266
|
+
_ts_metadata21("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
|
|
1214
1267
|
], UpdatePostDto.prototype, "sector", void 0);
|
|
1215
1268
|
|
|
1216
1269
|
// dto/posts/post_fields.dto.ts
|
|
@@ -1233,18 +1286,18 @@ __name(_PostFields, "PostFields");
|
|
|
1233
1286
|
var PostFields = _PostFields;
|
|
1234
1287
|
|
|
1235
1288
|
// dto/posts/post_response_self.dto.ts
|
|
1236
|
-
import { ApiProperty as
|
|
1237
|
-
function
|
|
1289
|
+
import { ApiProperty as ApiProperty13 } from "@nestjs/swagger";
|
|
1290
|
+
function _ts_decorate22(decorators, target, key, desc) {
|
|
1238
1291
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1239
1292
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1240
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;
|
|
1241
1294
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1242
1295
|
}
|
|
1243
|
-
__name(
|
|
1244
|
-
function
|
|
1296
|
+
__name(_ts_decorate22, "_ts_decorate");
|
|
1297
|
+
function _ts_metadata22(k, v) {
|
|
1245
1298
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1246
1299
|
}
|
|
1247
|
-
__name(
|
|
1300
|
+
__name(_ts_metadata22, "_ts_metadata");
|
|
1248
1301
|
var _PostResponseSelfDto = class _PostResponseSelfDto extends PostResponseDto {
|
|
1249
1302
|
constructor() {
|
|
1250
1303
|
super(...arguments);
|
|
@@ -1253,26 +1306,26 @@ var _PostResponseSelfDto = class _PostResponseSelfDto extends PostResponseDto {
|
|
|
1253
1306
|
};
|
|
1254
1307
|
__name(_PostResponseSelfDto, "PostResponseSelfDto");
|
|
1255
1308
|
var PostResponseSelfDto = _PostResponseSelfDto;
|
|
1256
|
-
|
|
1257
|
-
|
|
1309
|
+
_ts_decorate22([
|
|
1310
|
+
ApiProperty13({
|
|
1258
1311
|
example: true
|
|
1259
1312
|
}),
|
|
1260
|
-
|
|
1313
|
+
_ts_metadata22("design:type", Boolean)
|
|
1261
1314
|
], PostResponseSelfDto.prototype, "hidden", void 0);
|
|
1262
1315
|
|
|
1263
1316
|
// dto/posts/pagination_post_self.dto.ts
|
|
1264
|
-
import { ApiProperty as
|
|
1265
|
-
function
|
|
1317
|
+
import { ApiProperty as ApiProperty14 } from "@nestjs/swagger";
|
|
1318
|
+
function _ts_decorate23(decorators, target, key, desc) {
|
|
1266
1319
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1267
1320
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1268
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;
|
|
1269
1322
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1270
1323
|
}
|
|
1271
|
-
__name(
|
|
1272
|
-
function
|
|
1324
|
+
__name(_ts_decorate23, "_ts_decorate");
|
|
1325
|
+
function _ts_metadata23(k, v) {
|
|
1273
1326
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1274
1327
|
}
|
|
1275
|
-
__name(
|
|
1328
|
+
__name(_ts_metadata23, "_ts_metadata");
|
|
1276
1329
|
var _PaginatedPostsSelfDto = class _PaginatedPostsSelfDto {
|
|
1277
1330
|
constructor() {
|
|
1278
1331
|
__publicField(this, "posts");
|
|
@@ -1283,46 +1336,46 @@ var _PaginatedPostsSelfDto = class _PaginatedPostsSelfDto {
|
|
|
1283
1336
|
};
|
|
1284
1337
|
__name(_PaginatedPostsSelfDto, "PaginatedPostsSelfDto");
|
|
1285
1338
|
var PaginatedPostsSelfDto = _PaginatedPostsSelfDto;
|
|
1286
|
-
|
|
1287
|
-
|
|
1339
|
+
_ts_decorate23([
|
|
1340
|
+
ApiProperty14({
|
|
1288
1341
|
type: [
|
|
1289
1342
|
PostResponseDto
|
|
1290
1343
|
]
|
|
1291
1344
|
}),
|
|
1292
|
-
|
|
1345
|
+
_ts_metadata23("design:type", Array)
|
|
1293
1346
|
], PaginatedPostsSelfDto.prototype, "posts", void 0);
|
|
1294
|
-
|
|
1295
|
-
|
|
1347
|
+
_ts_decorate23([
|
|
1348
|
+
ApiProperty14({
|
|
1296
1349
|
example: 100
|
|
1297
1350
|
}),
|
|
1298
|
-
|
|
1351
|
+
_ts_metadata23("design:type", Number)
|
|
1299
1352
|
], PaginatedPostsSelfDto.prototype, "total", void 0);
|
|
1300
|
-
|
|
1301
|
-
|
|
1353
|
+
_ts_decorate23([
|
|
1354
|
+
ApiProperty14({
|
|
1302
1355
|
example: 1
|
|
1303
1356
|
}),
|
|
1304
|
-
|
|
1357
|
+
_ts_metadata23("design:type", Number)
|
|
1305
1358
|
], PaginatedPostsSelfDto.prototype, "page", void 0);
|
|
1306
|
-
|
|
1307
|
-
|
|
1359
|
+
_ts_decorate23([
|
|
1360
|
+
ApiProperty14({
|
|
1308
1361
|
example: 10
|
|
1309
1362
|
}),
|
|
1310
|
-
|
|
1363
|
+
_ts_metadata23("design:type", Number)
|
|
1311
1364
|
], PaginatedPostsSelfDto.prototype, "totalPages", void 0);
|
|
1312
1365
|
|
|
1313
1366
|
// dto/posts/reorder_post_file.dto.ts
|
|
1314
1367
|
import { IsInt as IsInt3, Max, Min as Min3 } from "class-validator";
|
|
1315
|
-
function
|
|
1368
|
+
function _ts_decorate24(decorators, target, key, desc) {
|
|
1316
1369
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1317
1370
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1318
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;
|
|
1319
1372
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1320
1373
|
}
|
|
1321
|
-
__name(
|
|
1322
|
-
function
|
|
1374
|
+
__name(_ts_decorate24, "_ts_decorate");
|
|
1375
|
+
function _ts_metadata24(k, v) {
|
|
1323
1376
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1324
1377
|
}
|
|
1325
|
-
__name(
|
|
1378
|
+
__name(_ts_metadata24, "_ts_metadata");
|
|
1326
1379
|
var _ReorderDto = class _ReorderDto {
|
|
1327
1380
|
constructor() {
|
|
1328
1381
|
__publicField(this, "newIndex");
|
|
@@ -1330,26 +1383,26 @@ var _ReorderDto = class _ReorderDto {
|
|
|
1330
1383
|
};
|
|
1331
1384
|
__name(_ReorderDto, "ReorderDto");
|
|
1332
1385
|
var ReorderDto = _ReorderDto;
|
|
1333
|
-
|
|
1386
|
+
_ts_decorate24([
|
|
1334
1387
|
IsInt3(),
|
|
1335
1388
|
Min3(0),
|
|
1336
1389
|
Max(100),
|
|
1337
|
-
|
|
1390
|
+
_ts_metadata24("design:type", Number)
|
|
1338
1391
|
], ReorderDto.prototype, "newIndex", void 0);
|
|
1339
1392
|
|
|
1340
1393
|
// dto/posts/post_like_response.dto.ts
|
|
1341
|
-
import { ApiProperty as
|
|
1342
|
-
function
|
|
1394
|
+
import { ApiProperty as ApiProperty15 } from "@nestjs/swagger";
|
|
1395
|
+
function _ts_decorate25(decorators, target, key, desc) {
|
|
1343
1396
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1344
1397
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1345
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;
|
|
1346
1399
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1347
1400
|
}
|
|
1348
|
-
__name(
|
|
1349
|
-
function
|
|
1401
|
+
__name(_ts_decorate25, "_ts_decorate");
|
|
1402
|
+
function _ts_metadata25(k, v) {
|
|
1350
1403
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1351
1404
|
}
|
|
1352
|
-
__name(
|
|
1405
|
+
__name(_ts_metadata25, "_ts_metadata");
|
|
1353
1406
|
var _PostLikeResponseDto = class _PostLikeResponseDto {
|
|
1354
1407
|
constructor() {
|
|
1355
1408
|
__publicField(this, "id");
|
|
@@ -1363,65 +1416,65 @@ var _PostLikeResponseDto = class _PostLikeResponseDto {
|
|
|
1363
1416
|
};
|
|
1364
1417
|
__name(_PostLikeResponseDto, "PostLikeResponseDto");
|
|
1365
1418
|
var PostLikeResponseDto = _PostLikeResponseDto;
|
|
1366
|
-
|
|
1367
|
-
|
|
1419
|
+
_ts_decorate25([
|
|
1420
|
+
ApiProperty15({
|
|
1368
1421
|
example: "123e4567-e89b-12d3-a456-426614174005"
|
|
1369
1422
|
}),
|
|
1370
|
-
|
|
1423
|
+
_ts_metadata25("design:type", String)
|
|
1371
1424
|
], PostLikeResponseDto.prototype, "id", void 0);
|
|
1372
|
-
|
|
1373
|
-
|
|
1425
|
+
_ts_decorate25([
|
|
1426
|
+
ApiProperty15({
|
|
1374
1427
|
example: "123e4567-e89b-12d3-a456-426614174000"
|
|
1375
1428
|
}),
|
|
1376
|
-
|
|
1429
|
+
_ts_metadata25("design:type", String)
|
|
1377
1430
|
], PostLikeResponseDto.prototype, "postId", void 0);
|
|
1378
|
-
|
|
1379
|
-
|
|
1431
|
+
_ts_decorate25([
|
|
1432
|
+
ApiProperty15({
|
|
1380
1433
|
example: "123e4567-e89b-12d3-a456-426614174002"
|
|
1381
1434
|
}),
|
|
1382
|
-
|
|
1435
|
+
_ts_metadata25("design:type", String)
|
|
1383
1436
|
], PostLikeResponseDto.prototype, "userId", void 0);
|
|
1384
|
-
|
|
1385
|
-
|
|
1437
|
+
_ts_decorate25([
|
|
1438
|
+
ApiProperty15({
|
|
1386
1439
|
example: "John Doe"
|
|
1387
1440
|
}),
|
|
1388
|
-
|
|
1441
|
+
_ts_metadata25("design:type", String)
|
|
1389
1442
|
], PostLikeResponseDto.prototype, "userFullName", void 0);
|
|
1390
|
-
|
|
1391
|
-
|
|
1443
|
+
_ts_decorate25([
|
|
1444
|
+
ApiProperty15({
|
|
1392
1445
|
example: "https://example.com/avatar.jpg",
|
|
1393
1446
|
nullable: true
|
|
1394
1447
|
}),
|
|
1395
|
-
|
|
1448
|
+
_ts_metadata25("design:type", Object)
|
|
1396
1449
|
], PostLikeResponseDto.prototype, "userProfilePictureUrl", void 0);
|
|
1397
|
-
|
|
1398
|
-
|
|
1450
|
+
_ts_decorate25([
|
|
1451
|
+
ApiProperty15({
|
|
1399
1452
|
enum: ReactionType,
|
|
1400
1453
|
example: ReactionType.LIKE
|
|
1401
1454
|
}),
|
|
1402
|
-
|
|
1455
|
+
_ts_metadata25("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
|
|
1403
1456
|
], PostLikeResponseDto.prototype, "type", void 0);
|
|
1404
|
-
|
|
1405
|
-
|
|
1457
|
+
_ts_decorate25([
|
|
1458
|
+
ApiProperty15({
|
|
1406
1459
|
example: "2026-01-14T12:00:00Z"
|
|
1407
1460
|
}),
|
|
1408
|
-
|
|
1461
|
+
_ts_metadata25("design:type", typeof Date === "undefined" ? Object : Date)
|
|
1409
1462
|
], PostLikeResponseDto.prototype, "createdAt", void 0);
|
|
1410
1463
|
|
|
1411
1464
|
// dto/posts/like_post.dto.ts
|
|
1412
|
-
import { ApiProperty as
|
|
1413
|
-
import { IsEnum as IsEnum6, IsOptional as
|
|
1414
|
-
function
|
|
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) {
|
|
1415
1468
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1416
1469
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1417
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;
|
|
1418
1471
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1419
1472
|
}
|
|
1420
|
-
__name(
|
|
1421
|
-
function
|
|
1473
|
+
__name(_ts_decorate26, "_ts_decorate");
|
|
1474
|
+
function _ts_metadata26(k, v) {
|
|
1422
1475
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1423
1476
|
}
|
|
1424
|
-
__name(
|
|
1477
|
+
__name(_ts_metadata26, "_ts_metadata");
|
|
1425
1478
|
var _LikePostDto = class _LikePostDto {
|
|
1426
1479
|
constructor() {
|
|
1427
1480
|
__publicField(this, "type");
|
|
@@ -1429,31 +1482,31 @@ var _LikePostDto = class _LikePostDto {
|
|
|
1429
1482
|
};
|
|
1430
1483
|
__name(_LikePostDto, "LikePostDto");
|
|
1431
1484
|
var LikePostDto = _LikePostDto;
|
|
1432
|
-
|
|
1433
|
-
|
|
1485
|
+
_ts_decorate26([
|
|
1486
|
+
ApiProperty16({
|
|
1434
1487
|
description: "The reaction type for the post",
|
|
1435
1488
|
enum: ReactionType,
|
|
1436
1489
|
required: false,
|
|
1437
1490
|
default: ReactionType.LIKE
|
|
1438
1491
|
}),
|
|
1439
1492
|
IsEnum6(ReactionType),
|
|
1440
|
-
|
|
1441
|
-
|
|
1493
|
+
IsOptional9(),
|
|
1494
|
+
_ts_metadata26("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
|
|
1442
1495
|
], LikePostDto.prototype, "type", void 0);
|
|
1443
1496
|
|
|
1444
1497
|
// dto/posts/paginated_post_like_dto.ts
|
|
1445
|
-
import { ApiProperty as
|
|
1446
|
-
function
|
|
1498
|
+
import { ApiProperty as ApiProperty17 } from "@nestjs/swagger";
|
|
1499
|
+
function _ts_decorate27(decorators, target, key, desc) {
|
|
1447
1500
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1448
1501
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1449
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;
|
|
1450
1503
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1451
1504
|
}
|
|
1452
|
-
__name(
|
|
1453
|
-
function
|
|
1505
|
+
__name(_ts_decorate27, "_ts_decorate");
|
|
1506
|
+
function _ts_metadata27(k, v) {
|
|
1454
1507
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1455
1508
|
}
|
|
1456
|
-
__name(
|
|
1509
|
+
__name(_ts_metadata27, "_ts_metadata");
|
|
1457
1510
|
var _PaginatedPostLikesDto = class _PaginatedPostLikesDto {
|
|
1458
1511
|
constructor() {
|
|
1459
1512
|
__publicField(this, "likes");
|
|
@@ -1464,47 +1517,47 @@ var _PaginatedPostLikesDto = class _PaginatedPostLikesDto {
|
|
|
1464
1517
|
};
|
|
1465
1518
|
__name(_PaginatedPostLikesDto, "PaginatedPostLikesDto");
|
|
1466
1519
|
var PaginatedPostLikesDto = _PaginatedPostLikesDto;
|
|
1467
|
-
|
|
1468
|
-
|
|
1520
|
+
_ts_decorate27([
|
|
1521
|
+
ApiProperty17({
|
|
1469
1522
|
type: [
|
|
1470
1523
|
PostLikeResponseDto
|
|
1471
1524
|
]
|
|
1472
1525
|
}),
|
|
1473
|
-
|
|
1526
|
+
_ts_metadata27("design:type", Array)
|
|
1474
1527
|
], PaginatedPostLikesDto.prototype, "likes", void 0);
|
|
1475
|
-
|
|
1476
|
-
|
|
1528
|
+
_ts_decorate27([
|
|
1529
|
+
ApiProperty17({
|
|
1477
1530
|
example: 100
|
|
1478
1531
|
}),
|
|
1479
|
-
|
|
1532
|
+
_ts_metadata27("design:type", Number)
|
|
1480
1533
|
], PaginatedPostLikesDto.prototype, "total", void 0);
|
|
1481
|
-
|
|
1482
|
-
|
|
1534
|
+
_ts_decorate27([
|
|
1535
|
+
ApiProperty17({
|
|
1483
1536
|
example: 1
|
|
1484
1537
|
}),
|
|
1485
|
-
|
|
1538
|
+
_ts_metadata27("design:type", Number)
|
|
1486
1539
|
], PaginatedPostLikesDto.prototype, "page", void 0);
|
|
1487
|
-
|
|
1488
|
-
|
|
1540
|
+
_ts_decorate27([
|
|
1541
|
+
ApiProperty17({
|
|
1489
1542
|
example: 10
|
|
1490
1543
|
}),
|
|
1491
|
-
|
|
1544
|
+
_ts_metadata27("design:type", Number)
|
|
1492
1545
|
], PaginatedPostLikesDto.prototype, "totalPages", void 0);
|
|
1493
1546
|
|
|
1494
1547
|
// dto/comments/create_comment.dto.ts
|
|
1495
|
-
import { ApiProperty as
|
|
1496
|
-
import { IsNotEmpty as IsNotEmpty9, IsOptional as
|
|
1497
|
-
function
|
|
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) {
|
|
1498
1551
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1499
1552
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1500
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;
|
|
1501
1554
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1502
1555
|
}
|
|
1503
|
-
__name(
|
|
1504
|
-
function
|
|
1556
|
+
__name(_ts_decorate28, "_ts_decorate");
|
|
1557
|
+
function _ts_metadata28(k, v) {
|
|
1505
1558
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1506
1559
|
}
|
|
1507
|
-
__name(
|
|
1560
|
+
__name(_ts_metadata28, "_ts_metadata");
|
|
1508
1561
|
var _CreateCommentDto = class _CreateCommentDto {
|
|
1509
1562
|
constructor() {
|
|
1510
1563
|
__publicField(this, "postId");
|
|
@@ -1514,17 +1567,17 @@ var _CreateCommentDto = class _CreateCommentDto {
|
|
|
1514
1567
|
};
|
|
1515
1568
|
__name(_CreateCommentDto, "CreateCommentDto");
|
|
1516
1569
|
var CreateCommentDto = _CreateCommentDto;
|
|
1517
|
-
|
|
1518
|
-
|
|
1570
|
+
_ts_decorate28([
|
|
1571
|
+
ApiProperty18({
|
|
1519
1572
|
description: "Post ID to comment on",
|
|
1520
1573
|
example: "123e4567-e89b-12d3-a456-426614174000"
|
|
1521
1574
|
}),
|
|
1522
1575
|
IsUUID(),
|
|
1523
1576
|
IsNotEmpty9(),
|
|
1524
|
-
|
|
1577
|
+
_ts_metadata28("design:type", String)
|
|
1525
1578
|
], CreateCommentDto.prototype, "postId", void 0);
|
|
1526
|
-
|
|
1527
|
-
|
|
1579
|
+
_ts_decorate28([
|
|
1580
|
+
ApiProperty18({
|
|
1528
1581
|
description: "Comment content",
|
|
1529
1582
|
example: "Great post!",
|
|
1530
1583
|
minLength: 1,
|
|
@@ -1534,32 +1587,32 @@ _ts_decorate27([
|
|
|
1534
1587
|
IsNotEmpty9(),
|
|
1535
1588
|
MinLength8(1),
|
|
1536
1589
|
MaxLength7(5e3),
|
|
1537
|
-
|
|
1590
|
+
_ts_metadata28("design:type", String)
|
|
1538
1591
|
], CreateCommentDto.prototype, "content", void 0);
|
|
1539
|
-
|
|
1540
|
-
|
|
1592
|
+
_ts_decorate28([
|
|
1593
|
+
ApiProperty18({
|
|
1541
1594
|
description: "Parent comment ID for nested replies",
|
|
1542
1595
|
example: "123e4567-e89b-12d3-a456-426614174002",
|
|
1543
1596
|
required: false
|
|
1544
1597
|
}),
|
|
1545
1598
|
IsUUID(),
|
|
1546
|
-
|
|
1547
|
-
|
|
1599
|
+
IsOptional10(),
|
|
1600
|
+
_ts_metadata28("design:type", String)
|
|
1548
1601
|
], CreateCommentDto.prototype, "parentCommentId", void 0);
|
|
1549
1602
|
|
|
1550
1603
|
// dto/comments/comment_response.dto.ts
|
|
1551
|
-
import { ApiProperty as
|
|
1552
|
-
function
|
|
1604
|
+
import { ApiProperty as ApiProperty19 } from "@nestjs/swagger";
|
|
1605
|
+
function _ts_decorate29(decorators, target, key, desc) {
|
|
1553
1606
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1554
1607
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1555
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;
|
|
1556
1609
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1557
1610
|
}
|
|
1558
|
-
__name(
|
|
1559
|
-
function
|
|
1611
|
+
__name(_ts_decorate29, "_ts_decorate");
|
|
1612
|
+
function _ts_metadata29(k, v) {
|
|
1560
1613
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1561
1614
|
}
|
|
1562
|
-
__name(
|
|
1615
|
+
__name(_ts_metadata29, "_ts_metadata");
|
|
1563
1616
|
var _CommentResponseDto = class _CommentResponseDto {
|
|
1564
1617
|
constructor() {
|
|
1565
1618
|
__publicField(this, "id");
|
|
@@ -1579,100 +1632,100 @@ var _CommentResponseDto = class _CommentResponseDto {
|
|
|
1579
1632
|
};
|
|
1580
1633
|
__name(_CommentResponseDto, "CommentResponseDto");
|
|
1581
1634
|
var CommentResponseDto = _CommentResponseDto;
|
|
1582
|
-
|
|
1583
|
-
|
|
1635
|
+
_ts_decorate29([
|
|
1636
|
+
ApiProperty19({
|
|
1584
1637
|
example: "123e4567-e89b-12d3-a456-426614174000"
|
|
1585
1638
|
}),
|
|
1586
|
-
|
|
1639
|
+
_ts_metadata29("design:type", String)
|
|
1587
1640
|
], CommentResponseDto.prototype, "id", void 0);
|
|
1588
|
-
|
|
1589
|
-
|
|
1641
|
+
_ts_decorate29([
|
|
1642
|
+
ApiProperty19({
|
|
1590
1643
|
example: "123e4567-e89b-12d3-a456-426614174001"
|
|
1591
1644
|
}),
|
|
1592
|
-
|
|
1645
|
+
_ts_metadata29("design:type", String)
|
|
1593
1646
|
], CommentResponseDto.prototype, "postId", void 0);
|
|
1594
|
-
|
|
1595
|
-
|
|
1647
|
+
_ts_decorate29([
|
|
1648
|
+
ApiProperty19({
|
|
1596
1649
|
example: "123e4567-e89b-12d3-a456-426614174002"
|
|
1597
1650
|
}),
|
|
1598
|
-
|
|
1651
|
+
_ts_metadata29("design:type", String)
|
|
1599
1652
|
], CommentResponseDto.prototype, "authorId", void 0);
|
|
1600
|
-
|
|
1601
|
-
|
|
1653
|
+
_ts_decorate29([
|
|
1654
|
+
ApiProperty19({
|
|
1602
1655
|
example: "John Doe"
|
|
1603
1656
|
}),
|
|
1604
|
-
|
|
1657
|
+
_ts_metadata29("design:type", String)
|
|
1605
1658
|
], CommentResponseDto.prototype, "authorFullName", void 0);
|
|
1606
|
-
|
|
1607
|
-
|
|
1659
|
+
_ts_decorate29([
|
|
1660
|
+
ApiProperty19({
|
|
1608
1661
|
example: "https://example.com/profile.jpg",
|
|
1609
1662
|
nullable: true
|
|
1610
1663
|
}),
|
|
1611
|
-
|
|
1664
|
+
_ts_metadata29("design:type", Object)
|
|
1612
1665
|
], CommentResponseDto.prototype, "authorProfilePictureUrl", void 0);
|
|
1613
|
-
|
|
1614
|
-
|
|
1666
|
+
_ts_decorate29([
|
|
1667
|
+
ApiProperty19({
|
|
1615
1668
|
example: "Great post!"
|
|
1616
1669
|
}),
|
|
1617
|
-
|
|
1670
|
+
_ts_metadata29("design:type", String)
|
|
1618
1671
|
], CommentResponseDto.prototype, "content", void 0);
|
|
1619
|
-
|
|
1620
|
-
|
|
1672
|
+
_ts_decorate29([
|
|
1673
|
+
ApiProperty19({
|
|
1621
1674
|
example: "123e4567-e89b-12d3-a456-426614174003",
|
|
1622
1675
|
nullable: true
|
|
1623
1676
|
}),
|
|
1624
|
-
|
|
1677
|
+
_ts_metadata29("design:type", Object)
|
|
1625
1678
|
], CommentResponseDto.prototype, "parentCommentId", void 0);
|
|
1626
|
-
|
|
1627
|
-
|
|
1679
|
+
_ts_decorate29([
|
|
1680
|
+
ApiProperty19({
|
|
1628
1681
|
example: 0
|
|
1629
1682
|
}),
|
|
1630
|
-
|
|
1683
|
+
_ts_metadata29("design:type", Number)
|
|
1631
1684
|
], CommentResponseDto.prototype, "depth", void 0);
|
|
1632
|
-
|
|
1633
|
-
|
|
1685
|
+
_ts_decorate29([
|
|
1686
|
+
ApiProperty19({
|
|
1634
1687
|
example: 5
|
|
1635
1688
|
}),
|
|
1636
|
-
|
|
1689
|
+
_ts_metadata29("design:type", Number)
|
|
1637
1690
|
], CommentResponseDto.prototype, "likesCount", void 0);
|
|
1638
|
-
|
|
1639
|
-
|
|
1691
|
+
_ts_decorate29([
|
|
1692
|
+
ApiProperty19({
|
|
1640
1693
|
example: 2
|
|
1641
1694
|
}),
|
|
1642
|
-
|
|
1695
|
+
_ts_metadata29("design:type", Number)
|
|
1643
1696
|
], CommentResponseDto.prototype, "repliesCount", void 0);
|
|
1644
|
-
|
|
1645
|
-
|
|
1697
|
+
_ts_decorate29([
|
|
1698
|
+
ApiProperty19({
|
|
1646
1699
|
example: false
|
|
1647
1700
|
}),
|
|
1648
|
-
|
|
1701
|
+
_ts_metadata29("design:type", Boolean)
|
|
1649
1702
|
], CommentResponseDto.prototype, "isEdited", void 0);
|
|
1650
|
-
|
|
1651
|
-
|
|
1703
|
+
_ts_decorate29([
|
|
1704
|
+
ApiProperty19({
|
|
1652
1705
|
example: "2024-01-15T10:30:00Z"
|
|
1653
1706
|
}),
|
|
1654
|
-
|
|
1707
|
+
_ts_metadata29("design:type", typeof Date === "undefined" ? Object : Date)
|
|
1655
1708
|
], CommentResponseDto.prototype, "createdAt", void 0);
|
|
1656
|
-
|
|
1657
|
-
|
|
1709
|
+
_ts_decorate29([
|
|
1710
|
+
ApiProperty19({
|
|
1658
1711
|
example: "2024-01-15T10:30:00Z"
|
|
1659
1712
|
}),
|
|
1660
|
-
|
|
1713
|
+
_ts_metadata29("design:type", typeof Date === "undefined" ? Object : Date)
|
|
1661
1714
|
], CommentResponseDto.prototype, "updatedAt", void 0);
|
|
1662
1715
|
|
|
1663
1716
|
// dto/comments/comment_tree.dto.ts
|
|
1664
|
-
import { ApiProperty as
|
|
1665
|
-
function
|
|
1717
|
+
import { ApiProperty as ApiProperty20 } from "@nestjs/swagger";
|
|
1718
|
+
function _ts_decorate30(decorators, target, key, desc) {
|
|
1666
1719
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1667
1720
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1668
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;
|
|
1669
1722
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1670
1723
|
}
|
|
1671
|
-
__name(
|
|
1672
|
-
function
|
|
1724
|
+
__name(_ts_decorate30, "_ts_decorate");
|
|
1725
|
+
function _ts_metadata30(k, v) {
|
|
1673
1726
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1674
1727
|
}
|
|
1675
|
-
__name(
|
|
1728
|
+
__name(_ts_metadata30, "_ts_metadata");
|
|
1676
1729
|
var _CommentTreeDto = class _CommentTreeDto extends CommentResponseDto {
|
|
1677
1730
|
constructor() {
|
|
1678
1731
|
super(...arguments);
|
|
@@ -1681,28 +1734,28 @@ var _CommentTreeDto = class _CommentTreeDto extends CommentResponseDto {
|
|
|
1681
1734
|
};
|
|
1682
1735
|
__name(_CommentTreeDto, "CommentTreeDto");
|
|
1683
1736
|
var CommentTreeDto = _CommentTreeDto;
|
|
1684
|
-
|
|
1685
|
-
|
|
1737
|
+
_ts_decorate30([
|
|
1738
|
+
ApiProperty20({
|
|
1686
1739
|
type: [
|
|
1687
1740
|
CommentTreeDto
|
|
1688
1741
|
]
|
|
1689
1742
|
}),
|
|
1690
|
-
|
|
1743
|
+
_ts_metadata30("design:type", Array)
|
|
1691
1744
|
], CommentTreeDto.prototype, "replies", void 0);
|
|
1692
1745
|
|
|
1693
1746
|
// dto/comments/paginated_comment.dto.ts
|
|
1694
|
-
import { ApiProperty as
|
|
1695
|
-
function
|
|
1747
|
+
import { ApiProperty as ApiProperty21 } from "@nestjs/swagger";
|
|
1748
|
+
function _ts_decorate31(decorators, target, key, desc) {
|
|
1696
1749
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1697
1750
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1698
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;
|
|
1699
1752
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1700
1753
|
}
|
|
1701
|
-
__name(
|
|
1702
|
-
function
|
|
1754
|
+
__name(_ts_decorate31, "_ts_decorate");
|
|
1755
|
+
function _ts_metadata31(k, v) {
|
|
1703
1756
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1704
1757
|
}
|
|
1705
|
-
__name(
|
|
1758
|
+
__name(_ts_metadata31, "_ts_metadata");
|
|
1706
1759
|
var _PaginatedCommentsDto = class _PaginatedCommentsDto {
|
|
1707
1760
|
constructor() {
|
|
1708
1761
|
__publicField(this, "comments");
|
|
@@ -1713,47 +1766,47 @@ var _PaginatedCommentsDto = class _PaginatedCommentsDto {
|
|
|
1713
1766
|
};
|
|
1714
1767
|
__name(_PaginatedCommentsDto, "PaginatedCommentsDto");
|
|
1715
1768
|
var PaginatedCommentsDto = _PaginatedCommentsDto;
|
|
1716
|
-
|
|
1717
|
-
|
|
1769
|
+
_ts_decorate31([
|
|
1770
|
+
ApiProperty21({
|
|
1718
1771
|
type: [
|
|
1719
1772
|
CommentResponseDto
|
|
1720
1773
|
]
|
|
1721
1774
|
}),
|
|
1722
|
-
|
|
1775
|
+
_ts_metadata31("design:type", Array)
|
|
1723
1776
|
], PaginatedCommentsDto.prototype, "comments", void 0);
|
|
1724
|
-
|
|
1725
|
-
|
|
1777
|
+
_ts_decorate31([
|
|
1778
|
+
ApiProperty21({
|
|
1726
1779
|
example: 50
|
|
1727
1780
|
}),
|
|
1728
|
-
|
|
1781
|
+
_ts_metadata31("design:type", Number)
|
|
1729
1782
|
], PaginatedCommentsDto.prototype, "total", void 0);
|
|
1730
|
-
|
|
1731
|
-
|
|
1783
|
+
_ts_decorate31([
|
|
1784
|
+
ApiProperty21({
|
|
1732
1785
|
example: 1
|
|
1733
1786
|
}),
|
|
1734
|
-
|
|
1787
|
+
_ts_metadata31("design:type", Number)
|
|
1735
1788
|
], PaginatedCommentsDto.prototype, "page", void 0);
|
|
1736
|
-
|
|
1737
|
-
|
|
1789
|
+
_ts_decorate31([
|
|
1790
|
+
ApiProperty21({
|
|
1738
1791
|
example: 5
|
|
1739
1792
|
}),
|
|
1740
|
-
|
|
1793
|
+
_ts_metadata31("design:type", Number)
|
|
1741
1794
|
], PaginatedCommentsDto.prototype, "totalPages", void 0);
|
|
1742
1795
|
|
|
1743
1796
|
// dto/comments/update_comment.dto.ts
|
|
1744
|
-
import { ApiProperty as
|
|
1797
|
+
import { ApiProperty as ApiProperty22 } from "@nestjs/swagger";
|
|
1745
1798
|
import { IsNotEmpty as IsNotEmpty10, IsString as IsString14, MaxLength as MaxLength8, MinLength as MinLength9 } from "class-validator";
|
|
1746
|
-
function
|
|
1799
|
+
function _ts_decorate32(decorators, target, key, desc) {
|
|
1747
1800
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1748
1801
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1749
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;
|
|
1750
1803
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1751
1804
|
}
|
|
1752
|
-
__name(
|
|
1753
|
-
function
|
|
1805
|
+
__name(_ts_decorate32, "_ts_decorate");
|
|
1806
|
+
function _ts_metadata32(k, v) {
|
|
1754
1807
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1755
1808
|
}
|
|
1756
|
-
__name(
|
|
1809
|
+
__name(_ts_metadata32, "_ts_metadata");
|
|
1757
1810
|
var _UpdateCommentDto = class _UpdateCommentDto {
|
|
1758
1811
|
constructor() {
|
|
1759
1812
|
__publicField(this, "content");
|
|
@@ -1761,8 +1814,8 @@ var _UpdateCommentDto = class _UpdateCommentDto {
|
|
|
1761
1814
|
};
|
|
1762
1815
|
__name(_UpdateCommentDto, "UpdateCommentDto");
|
|
1763
1816
|
var UpdateCommentDto = _UpdateCommentDto;
|
|
1764
|
-
|
|
1765
|
-
|
|
1817
|
+
_ts_decorate32([
|
|
1818
|
+
ApiProperty22({
|
|
1766
1819
|
description: "Updated comment content",
|
|
1767
1820
|
example: "Updated: Great post!",
|
|
1768
1821
|
minLength: 1,
|
|
@@ -1772,7 +1825,7 @@ _ts_decorate31([
|
|
|
1772
1825
|
IsNotEmpty10(),
|
|
1773
1826
|
MinLength9(1),
|
|
1774
1827
|
MaxLength8(5e3),
|
|
1775
|
-
|
|
1828
|
+
_ts_metadata32("design:type", String)
|
|
1776
1829
|
], UpdateCommentDto.prototype, "content", void 0);
|
|
1777
1830
|
|
|
1778
1831
|
// dto/comments/comment_fields.dto.ts
|
|
@@ -1797,19 +1850,19 @@ __name(_CommentFields, "CommentFields");
|
|
|
1797
1850
|
var CommentFields = _CommentFields;
|
|
1798
1851
|
|
|
1799
1852
|
// dto/comments/like_comment.dto.ts
|
|
1800
|
-
import { ApiProperty as
|
|
1801
|
-
import { IsEnum as IsEnum7, IsOptional as
|
|
1802
|
-
function
|
|
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) {
|
|
1803
1856
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1804
1857
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1805
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;
|
|
1806
1859
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1807
1860
|
}
|
|
1808
|
-
__name(
|
|
1809
|
-
function
|
|
1861
|
+
__name(_ts_decorate33, "_ts_decorate");
|
|
1862
|
+
function _ts_metadata33(k, v) {
|
|
1810
1863
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1811
1864
|
}
|
|
1812
|
-
__name(
|
|
1865
|
+
__name(_ts_metadata33, "_ts_metadata");
|
|
1813
1866
|
var _LikeCommentDto = class _LikeCommentDto {
|
|
1814
1867
|
constructor() {
|
|
1815
1868
|
__publicField(this, "type");
|
|
@@ -1817,31 +1870,31 @@ var _LikeCommentDto = class _LikeCommentDto {
|
|
|
1817
1870
|
};
|
|
1818
1871
|
__name(_LikeCommentDto, "LikeCommentDto");
|
|
1819
1872
|
var LikeCommentDto = _LikeCommentDto;
|
|
1820
|
-
|
|
1821
|
-
|
|
1873
|
+
_ts_decorate33([
|
|
1874
|
+
ApiProperty23({
|
|
1822
1875
|
description: "The reaction type for the comment",
|
|
1823
1876
|
enum: ReactionType,
|
|
1824
1877
|
required: false,
|
|
1825
1878
|
default: ReactionType.LIKE
|
|
1826
1879
|
}),
|
|
1827
1880
|
IsEnum7(ReactionType),
|
|
1828
|
-
|
|
1829
|
-
|
|
1881
|
+
IsOptional11(),
|
|
1882
|
+
_ts_metadata33("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
|
|
1830
1883
|
], LikeCommentDto.prototype, "type", void 0);
|
|
1831
1884
|
|
|
1832
1885
|
// dto/comments/comment_like_response.dto.ts
|
|
1833
|
-
import { ApiProperty as
|
|
1834
|
-
function
|
|
1886
|
+
import { ApiProperty as ApiProperty24 } from "@nestjs/swagger";
|
|
1887
|
+
function _ts_decorate34(decorators, target, key, desc) {
|
|
1835
1888
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1836
1889
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1837
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;
|
|
1838
1891
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1839
1892
|
}
|
|
1840
|
-
__name(
|
|
1841
|
-
function
|
|
1893
|
+
__name(_ts_decorate34, "_ts_decorate");
|
|
1894
|
+
function _ts_metadata34(k, v) {
|
|
1842
1895
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1843
1896
|
}
|
|
1844
|
-
__name(
|
|
1897
|
+
__name(_ts_metadata34, "_ts_metadata");
|
|
1845
1898
|
var _CommentLikeResponseDto = class _CommentLikeResponseDto {
|
|
1846
1899
|
constructor() {
|
|
1847
1900
|
__publicField(this, "id");
|
|
@@ -1856,70 +1909,70 @@ var _CommentLikeResponseDto = class _CommentLikeResponseDto {
|
|
|
1856
1909
|
};
|
|
1857
1910
|
__name(_CommentLikeResponseDto, "CommentLikeResponseDto");
|
|
1858
1911
|
var CommentLikeResponseDto = _CommentLikeResponseDto;
|
|
1859
|
-
|
|
1860
|
-
|
|
1912
|
+
_ts_decorate34([
|
|
1913
|
+
ApiProperty24({
|
|
1861
1914
|
example: "123e4567-e89b-12d3-a456-426614174005"
|
|
1862
1915
|
}),
|
|
1863
|
-
|
|
1916
|
+
_ts_metadata34("design:type", String)
|
|
1864
1917
|
], CommentLikeResponseDto.prototype, "id", void 0);
|
|
1865
|
-
|
|
1866
|
-
|
|
1918
|
+
_ts_decorate34([
|
|
1919
|
+
ApiProperty24({
|
|
1867
1920
|
example: "123e4567-e89b-12d3-a456-426614174000"
|
|
1868
1921
|
}),
|
|
1869
|
-
|
|
1922
|
+
_ts_metadata34("design:type", String)
|
|
1870
1923
|
], CommentLikeResponseDto.prototype, "commentId", void 0);
|
|
1871
|
-
|
|
1872
|
-
|
|
1924
|
+
_ts_decorate34([
|
|
1925
|
+
ApiProperty24({
|
|
1873
1926
|
example: "123e4567-e89b-12d3-a456-426614174002"
|
|
1874
1927
|
}),
|
|
1875
|
-
|
|
1928
|
+
_ts_metadata34("design:type", String)
|
|
1876
1929
|
], CommentLikeResponseDto.prototype, "commentatorId", void 0);
|
|
1877
|
-
|
|
1878
|
-
|
|
1930
|
+
_ts_decorate34([
|
|
1931
|
+
ApiProperty24({
|
|
1879
1932
|
example: "Jane Doe"
|
|
1880
1933
|
}),
|
|
1881
|
-
|
|
1934
|
+
_ts_metadata34("design:type", String)
|
|
1882
1935
|
], CommentLikeResponseDto.prototype, "commentatorFullName", void 0);
|
|
1883
|
-
|
|
1884
|
-
|
|
1936
|
+
_ts_decorate34([
|
|
1937
|
+
ApiProperty24({
|
|
1885
1938
|
example: "https://example.com/jane.jpg",
|
|
1886
1939
|
nullable: true
|
|
1887
1940
|
}),
|
|
1888
|
-
|
|
1941
|
+
_ts_metadata34("design:type", Object)
|
|
1889
1942
|
], CommentLikeResponseDto.prototype, "commentatorProfilePictureUrl", void 0);
|
|
1890
|
-
|
|
1891
|
-
|
|
1943
|
+
_ts_decorate34([
|
|
1944
|
+
ApiProperty24({
|
|
1892
1945
|
enum: ReactionType,
|
|
1893
1946
|
example: ReactionType.HEART
|
|
1894
1947
|
}),
|
|
1895
|
-
|
|
1948
|
+
_ts_metadata34("design:type", typeof ReactionType === "undefined" ? Object : ReactionType)
|
|
1896
1949
|
], CommentLikeResponseDto.prototype, "type", void 0);
|
|
1897
|
-
|
|
1898
|
-
|
|
1950
|
+
_ts_decorate34([
|
|
1951
|
+
ApiProperty24({
|
|
1899
1952
|
example: "2024-01-15T10:35:00Z"
|
|
1900
1953
|
}),
|
|
1901
|
-
|
|
1954
|
+
_ts_metadata34("design:type", typeof Date === "undefined" ? Object : Date)
|
|
1902
1955
|
], CommentLikeResponseDto.prototype, "createdAt", void 0);
|
|
1903
|
-
|
|
1904
|
-
|
|
1956
|
+
_ts_decorate34([
|
|
1957
|
+
ApiProperty24({
|
|
1905
1958
|
example: "2024-01-15T10:35:00Z"
|
|
1906
1959
|
}),
|
|
1907
|
-
|
|
1960
|
+
_ts_metadata34("design:type", typeof Date === "undefined" ? Object : Date)
|
|
1908
1961
|
], CommentLikeResponseDto.prototype, "updatedAt", void 0);
|
|
1909
1962
|
|
|
1910
1963
|
// dto/comments/paginated_comment_likes.dto.ts
|
|
1911
|
-
import { ApiProperty as
|
|
1912
|
-
function
|
|
1964
|
+
import { ApiProperty as ApiProperty25 } from "@nestjs/swagger";
|
|
1965
|
+
function _ts_decorate35(decorators, target, key, desc) {
|
|
1913
1966
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1914
1967
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1915
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;
|
|
1916
1969
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1917
1970
|
}
|
|
1918
|
-
__name(
|
|
1919
|
-
function
|
|
1971
|
+
__name(_ts_decorate35, "_ts_decorate");
|
|
1972
|
+
function _ts_metadata35(k, v) {
|
|
1920
1973
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1921
1974
|
}
|
|
1922
|
-
__name(
|
|
1975
|
+
__name(_ts_metadata35, "_ts_metadata");
|
|
1923
1976
|
var _PaginatedCommentLikesDto = class _PaginatedCommentLikesDto {
|
|
1924
1977
|
constructor() {
|
|
1925
1978
|
__publicField(this, "likes");
|
|
@@ -1930,32 +1983,61 @@ var _PaginatedCommentLikesDto = class _PaginatedCommentLikesDto {
|
|
|
1930
1983
|
};
|
|
1931
1984
|
__name(_PaginatedCommentLikesDto, "PaginatedCommentLikesDto");
|
|
1932
1985
|
var PaginatedCommentLikesDto = _PaginatedCommentLikesDto;
|
|
1933
|
-
|
|
1934
|
-
|
|
1986
|
+
_ts_decorate35([
|
|
1987
|
+
ApiProperty25({
|
|
1935
1988
|
type: [
|
|
1936
1989
|
CommentLikeResponseDto
|
|
1937
1990
|
]
|
|
1938
1991
|
}),
|
|
1939
|
-
|
|
1992
|
+
_ts_metadata35("design:type", Array)
|
|
1940
1993
|
], PaginatedCommentLikesDto.prototype, "likes", void 0);
|
|
1941
|
-
|
|
1942
|
-
|
|
1994
|
+
_ts_decorate35([
|
|
1995
|
+
ApiProperty25({
|
|
1943
1996
|
example: 120
|
|
1944
1997
|
}),
|
|
1945
|
-
|
|
1998
|
+
_ts_metadata35("design:type", Number)
|
|
1946
1999
|
], PaginatedCommentLikesDto.prototype, "total", void 0);
|
|
1947
|
-
|
|
1948
|
-
|
|
2000
|
+
_ts_decorate35([
|
|
2001
|
+
ApiProperty25({
|
|
1949
2002
|
example: 1
|
|
1950
2003
|
}),
|
|
1951
|
-
|
|
2004
|
+
_ts_metadata35("design:type", Number)
|
|
1952
2005
|
], PaginatedCommentLikesDto.prototype, "page", void 0);
|
|
1953
|
-
|
|
1954
|
-
|
|
2006
|
+
_ts_decorate35([
|
|
2007
|
+
ApiProperty25({
|
|
1955
2008
|
example: 6
|
|
1956
2009
|
}),
|
|
1957
|
-
|
|
2010
|
+
_ts_metadata35("design:type", Number)
|
|
1958
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;
|
|
1959
2041
|
export {
|
|
1960
2042
|
BusinessSector,
|
|
1961
2043
|
CommentFields,
|
|
@@ -1963,6 +2045,7 @@ export {
|
|
|
1963
2045
|
CommentResponseDto,
|
|
1964
2046
|
CommentTreeDto,
|
|
1965
2047
|
CreateCommentDto,
|
|
2048
|
+
CreateOrGetTagDto,
|
|
1966
2049
|
CreatePostDto,
|
|
1967
2050
|
CreatePostFileDto,
|
|
1968
2051
|
CreateUserDto,
|
|
@@ -1974,6 +2057,7 @@ export {
|
|
|
1974
2057
|
FindAllUsersDto,
|
|
1975
2058
|
FindByRoleDto,
|
|
1976
2059
|
ForgotPasswordDto,
|
|
2060
|
+
GetTagsBySectorDto,
|
|
1977
2061
|
LikeCommentDto,
|
|
1978
2062
|
LikePostDto,
|
|
1979
2063
|
LoginLocalDTO,
|
|
@@ -1991,7 +2075,9 @@ export {
|
|
|
1991
2075
|
ReactionType,
|
|
1992
2076
|
ReorderDto,
|
|
1993
2077
|
ResetPasswordDto,
|
|
2078
|
+
SearchTagsDto,
|
|
1994
2079
|
SearchUsersByFullNameDTO,
|
|
2080
|
+
TagResponseDto,
|
|
1995
2081
|
UpdateCommentDto,
|
|
1996
2082
|
UpdatePasswordDto,
|
|
1997
2083
|
UpdatePostDto,
|