@feresmeryas/microservices-common 1.5.38 → 1.5.40

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 CHANGED
@@ -177,12 +177,13 @@ declare class UpdateProfessionalProfileDto {
177
177
  businessSector?: BusinessSector;
178
178
  bio?: string;
179
179
  companyName?: string;
180
- website?: string;
181
- phone?: string;
182
- location?: string;
183
- yearsOfExperience?: number;
184
- hourlyRate?: number;
185
- availabilityStatus?: string;
180
+ skills?: SkillDto[];
181
+ education?: EducationDto[];
182
+ certifications?: CertificationDto[];
183
+ experiences?: ExperienceDto[];
184
+ addresses?: AddressDto[];
185
+ phones?: PhoneDto[];
186
+ links?: LinkDto[];
186
187
  }
187
188
 
188
189
  declare enum ReportCategory {
package/dist/index.d.ts CHANGED
@@ -177,12 +177,13 @@ declare class UpdateProfessionalProfileDto {
177
177
  businessSector?: BusinessSector;
178
178
  bio?: string;
179
179
  companyName?: string;
180
- website?: string;
181
- phone?: string;
182
- location?: string;
183
- yearsOfExperience?: number;
184
- hourlyRate?: number;
185
- availabilityStatus?: string;
180
+ skills?: SkillDto[];
181
+ education?: EducationDto[];
182
+ certifications?: CertificationDto[];
183
+ experiences?: ExperienceDto[];
184
+ addresses?: AddressDto[];
185
+ phones?: PhoneDto[];
186
+ links?: LinkDto[];
186
187
  }
187
188
 
188
189
  declare enum ReportCategory {
package/dist/index.js CHANGED
@@ -1170,6 +1170,7 @@ _ts_decorate13([
1170
1170
 
1171
1171
  // dto/users/update_professional_profile.dto.ts
1172
1172
  var import_swagger7 = require("@nestjs/swagger");
1173
+ var import_class_transformer5 = require("class-transformer");
1173
1174
  var import_class_validator13 = require("class-validator");
1174
1175
  function _ts_decorate14(decorators, target, key, desc) {
1175
1176
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -1187,12 +1188,13 @@ var _UpdateProfessionalProfileDto = class _UpdateProfessionalProfileDto {
1187
1188
  __publicField(this, "businessSector");
1188
1189
  __publicField(this, "bio");
1189
1190
  __publicField(this, "companyName");
1190
- __publicField(this, "website");
1191
- __publicField(this, "phone");
1192
- __publicField(this, "location");
1193
- __publicField(this, "yearsOfExperience");
1194
- __publicField(this, "hourlyRate");
1195
- __publicField(this, "availabilityStatus");
1191
+ __publicField(this, "skills");
1192
+ __publicField(this, "education");
1193
+ __publicField(this, "certifications");
1194
+ __publicField(this, "experiences");
1195
+ __publicField(this, "addresses");
1196
+ __publicField(this, "phones");
1197
+ __publicField(this, "links");
1196
1198
  }
1197
1199
  };
1198
1200
  __name(_UpdateProfessionalProfileDto, "UpdateProfessionalProfileDto");
@@ -1200,8 +1202,7 @@ var UpdateProfessionalProfileDto = _UpdateProfessionalProfileDto;
1200
1202
  _ts_decorate14([
1201
1203
  (0, import_swagger7.ApiPropertyOptional)({
1202
1204
  enum: BusinessSector,
1203
- example: BusinessSector.IT_SOFTWARE,
1204
- description: "Business sector"
1205
+ example: BusinessSector.IT_SOFTWARE
1205
1206
  }),
1206
1207
  (0, import_class_validator13.IsOptional)(),
1207
1208
  (0, import_class_validator13.IsEnum)(BusinessSector),
@@ -1209,8 +1210,7 @@ _ts_decorate14([
1209
1210
  ], UpdateProfessionalProfileDto.prototype, "businessSector", void 0);
1210
1211
  _ts_decorate14([
1211
1212
  (0, import_swagger7.ApiPropertyOptional)({
1212
- example: "Experienced software developer specializing in web applications",
1213
- description: "Professional bio"
1213
+ example: "Experienced software developer..."
1214
1214
  }),
1215
1215
  (0, import_class_validator13.IsOptional)(),
1216
1216
  (0, import_class_validator13.IsString)(),
@@ -1219,8 +1219,7 @@ _ts_decorate14([
1219
1219
  ], UpdateProfessionalProfileDto.prototype, "bio", void 0);
1220
1220
  _ts_decorate14([
1221
1221
  (0, import_swagger7.ApiPropertyOptional)({
1222
- example: "Tech Solutions Inc.",
1223
- description: "Company name"
1222
+ example: "Tech Solutions Inc."
1224
1223
  }),
1225
1224
  (0, import_class_validator13.IsOptional)(),
1226
1225
  (0, import_class_validator13.IsString)(),
@@ -1229,66 +1228,102 @@ _ts_decorate14([
1229
1228
  ], UpdateProfessionalProfileDto.prototype, "companyName", void 0);
1230
1229
  _ts_decorate14([
1231
1230
  (0, import_swagger7.ApiPropertyOptional)({
1232
- example: "https://www.example.com",
1233
- description: "Professional website URL"
1231
+ type: [
1232
+ SkillDto
1233
+ ]
1234
1234
  }),
1235
1235
  (0, import_class_validator13.IsOptional)(),
1236
- (0, import_class_validator13.IsUrl)(),
1237
- _ts_metadata14("design:type", String)
1238
- ], UpdateProfessionalProfileDto.prototype, "website", void 0);
1236
+ (0, import_class_validator13.IsArray)(),
1237
+ (0, import_class_validator13.ValidateNested)({
1238
+ each: true
1239
+ }),
1240
+ (0, import_class_transformer5.Type)(() => SkillDto),
1241
+ _ts_metadata14("design:type", Array)
1242
+ ], UpdateProfessionalProfileDto.prototype, "skills", void 0);
1239
1243
  _ts_decorate14([
1240
1244
  (0, import_swagger7.ApiPropertyOptional)({
1241
- example: "+1234567890",
1242
- description: "Contact phone number"
1245
+ type: [
1246
+ EducationDto
1247
+ ]
1243
1248
  }),
1244
1249
  (0, import_class_validator13.IsOptional)(),
1245
- (0, import_class_validator13.IsString)(),
1246
- _ts_metadata14("design:type", String)
1247
- ], UpdateProfessionalProfileDto.prototype, "phone", void 0);
1250
+ (0, import_class_validator13.IsArray)(),
1251
+ (0, import_class_validator13.ValidateNested)({
1252
+ each: true
1253
+ }),
1254
+ (0, import_class_transformer5.Type)(() => EducationDto),
1255
+ _ts_metadata14("design:type", Array)
1256
+ ], UpdateProfessionalProfileDto.prototype, "education", void 0);
1248
1257
  _ts_decorate14([
1249
1258
  (0, import_swagger7.ApiPropertyOptional)({
1250
- example: "New York, USA",
1251
- description: "Location/City"
1259
+ type: [
1260
+ CertificationDto
1261
+ ]
1252
1262
  }),
1253
1263
  (0, import_class_validator13.IsOptional)(),
1254
- (0, import_class_validator13.IsString)(),
1255
- (0, import_class_validator13.MaxLength)(200),
1256
- _ts_metadata14("design:type", String)
1257
- ], UpdateProfessionalProfileDto.prototype, "location", void 0);
1264
+ (0, import_class_validator13.IsArray)(),
1265
+ (0, import_class_validator13.ValidateNested)({
1266
+ each: true
1267
+ }),
1268
+ (0, import_class_transformer5.Type)(() => CertificationDto),
1269
+ _ts_metadata14("design:type", Array)
1270
+ ], UpdateProfessionalProfileDto.prototype, "certifications", void 0);
1258
1271
  _ts_decorate14([
1259
1272
  (0, import_swagger7.ApiPropertyOptional)({
1260
- example: 5,
1261
- description: "Years of professional experience"
1273
+ type: [
1274
+ ExperienceDto
1275
+ ]
1262
1276
  }),
1263
1277
  (0, import_class_validator13.IsOptional)(),
1264
- (0, import_class_validator13.IsInt)(),
1265
- (0, import_class_validator13.Min)(0),
1266
- _ts_metadata14("design:type", Number)
1267
- ], UpdateProfessionalProfileDto.prototype, "yearsOfExperience", void 0);
1278
+ (0, import_class_validator13.IsArray)(),
1279
+ (0, import_class_validator13.ValidateNested)({
1280
+ each: true
1281
+ }),
1282
+ (0, import_class_transformer5.Type)(() => ExperienceDto),
1283
+ _ts_metadata14("design:type", Array)
1284
+ ], UpdateProfessionalProfileDto.prototype, "experiences", void 0);
1268
1285
  _ts_decorate14([
1269
1286
  (0, import_swagger7.ApiPropertyOptional)({
1270
- example: 75.5,
1271
- description: "Hourly rate in USD"
1287
+ type: [
1288
+ AddressDto
1289
+ ]
1272
1290
  }),
1273
1291
  (0, import_class_validator13.IsOptional)(),
1274
- (0, import_class_validator13.IsNumber)(),
1275
- (0, import_class_validator13.Min)(0),
1276
- _ts_metadata14("design:type", Number)
1277
- ], UpdateProfessionalProfileDto.prototype, "hourlyRate", void 0);
1292
+ (0, import_class_validator13.IsArray)(),
1293
+ (0, import_class_validator13.ValidateNested)({
1294
+ each: true
1295
+ }),
1296
+ (0, import_class_transformer5.Type)(() => AddressDto),
1297
+ _ts_metadata14("design:type", Array)
1298
+ ], UpdateProfessionalProfileDto.prototype, "addresses", void 0);
1278
1299
  _ts_decorate14([
1279
1300
  (0, import_swagger7.ApiPropertyOptional)({
1280
- example: "available",
1281
- description: "Availability status",
1282
- enum: [
1283
- "available",
1284
- "busy",
1285
- "unavailable"
1301
+ type: [
1302
+ PhoneDto
1286
1303
  ]
1287
1304
  }),
1288
1305
  (0, import_class_validator13.IsOptional)(),
1289
- (0, import_class_validator13.IsString)(),
1290
- _ts_metadata14("design:type", String)
1291
- ], UpdateProfessionalProfileDto.prototype, "availabilityStatus", void 0);
1306
+ (0, import_class_validator13.IsArray)(),
1307
+ (0, import_class_validator13.ValidateNested)({
1308
+ each: true
1309
+ }),
1310
+ (0, import_class_transformer5.Type)(() => PhoneDto),
1311
+ _ts_metadata14("design:type", Array)
1312
+ ], UpdateProfessionalProfileDto.prototype, "phones", void 0);
1313
+ _ts_decorate14([
1314
+ (0, import_swagger7.ApiPropertyOptional)({
1315
+ type: [
1316
+ LinkDto
1317
+ ]
1318
+ }),
1319
+ (0, import_class_validator13.IsOptional)(),
1320
+ (0, import_class_validator13.IsArray)(),
1321
+ (0, import_class_validator13.ValidateNested)({
1322
+ each: true
1323
+ }),
1324
+ (0, import_class_transformer5.Type)(() => LinkDto),
1325
+ _ts_metadata14("design:type", Array)
1326
+ ], UpdateProfessionalProfileDto.prototype, "links", void 0);
1292
1327
 
1293
1328
  // dto/users/create_report.dto.ts
1294
1329
  var import_class_validator14 = require("class-validator");
@@ -1520,7 +1555,7 @@ _ts_decorate18([
1520
1555
  ], CreatePostFileDto.prototype, "fileType", void 0);
1521
1556
 
1522
1557
  // dto/posts/create_post.dto.ts
1523
- var import_class_transformer5 = require("class-transformer");
1558
+ var import_class_transformer6 = require("class-transformer");
1524
1559
  function _ts_decorate19(decorators, target, key, desc) {
1525
1560
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1526
1561
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -1576,7 +1611,7 @@ _ts_decorate19([
1576
1611
  (0, import_class_validator18.ValidateNested)({
1577
1612
  each: true
1578
1613
  }),
1579
- (0, import_class_transformer5.Type)(() => CreatePostFileDto),
1614
+ (0, import_class_transformer6.Type)(() => CreatePostFileDto),
1580
1615
  (0, import_class_validator18.IsOptional)(),
1581
1616
  _ts_metadata19("design:type", Array)
1582
1617
  ], CreatePostDto.prototype, "files", void 0);
package/dist/index.mjs CHANGED
@@ -1082,7 +1082,8 @@ _ts_decorate13([
1082
1082
 
1083
1083
  // dto/users/update_professional_profile.dto.ts
1084
1084
  import { ApiPropertyOptional as ApiPropertyOptional5 } from "@nestjs/swagger";
1085
- import { IsOptional as IsOptional6, IsEnum as IsEnum3, IsString as IsString9, MaxLength as MaxLength5, IsUrl, IsInt as IsInt2, Min as Min2, IsNumber } from "class-validator";
1085
+ import { Type as Type4 } from "class-transformer";
1086
+ import { IsString as IsString9, IsEnum as IsEnum3, IsOptional as IsOptional6, MaxLength as MaxLength5, IsArray as IsArray2, ValidateNested as ValidateNested3 } from "class-validator";
1086
1087
  function _ts_decorate14(decorators, target, key, desc) {
1087
1088
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1088
1089
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -1099,12 +1100,13 @@ var _UpdateProfessionalProfileDto = class _UpdateProfessionalProfileDto {
1099
1100
  __publicField(this, "businessSector");
1100
1101
  __publicField(this, "bio");
1101
1102
  __publicField(this, "companyName");
1102
- __publicField(this, "website");
1103
- __publicField(this, "phone");
1104
- __publicField(this, "location");
1105
- __publicField(this, "yearsOfExperience");
1106
- __publicField(this, "hourlyRate");
1107
- __publicField(this, "availabilityStatus");
1103
+ __publicField(this, "skills");
1104
+ __publicField(this, "education");
1105
+ __publicField(this, "certifications");
1106
+ __publicField(this, "experiences");
1107
+ __publicField(this, "addresses");
1108
+ __publicField(this, "phones");
1109
+ __publicField(this, "links");
1108
1110
  }
1109
1111
  };
1110
1112
  __name(_UpdateProfessionalProfileDto, "UpdateProfessionalProfileDto");
@@ -1112,8 +1114,7 @@ var UpdateProfessionalProfileDto = _UpdateProfessionalProfileDto;
1112
1114
  _ts_decorate14([
1113
1115
  ApiPropertyOptional5({
1114
1116
  enum: BusinessSector,
1115
- example: BusinessSector.IT_SOFTWARE,
1116
- description: "Business sector"
1117
+ example: BusinessSector.IT_SOFTWARE
1117
1118
  }),
1118
1119
  IsOptional6(),
1119
1120
  IsEnum3(BusinessSector),
@@ -1121,8 +1122,7 @@ _ts_decorate14([
1121
1122
  ], UpdateProfessionalProfileDto.prototype, "businessSector", void 0);
1122
1123
  _ts_decorate14([
1123
1124
  ApiPropertyOptional5({
1124
- example: "Experienced software developer specializing in web applications",
1125
- description: "Professional bio"
1125
+ example: "Experienced software developer..."
1126
1126
  }),
1127
1127
  IsOptional6(),
1128
1128
  IsString9(),
@@ -1131,8 +1131,7 @@ _ts_decorate14([
1131
1131
  ], UpdateProfessionalProfileDto.prototype, "bio", void 0);
1132
1132
  _ts_decorate14([
1133
1133
  ApiPropertyOptional5({
1134
- example: "Tech Solutions Inc.",
1135
- description: "Company name"
1134
+ example: "Tech Solutions Inc."
1136
1135
  }),
1137
1136
  IsOptional6(),
1138
1137
  IsString9(),
@@ -1141,66 +1140,102 @@ _ts_decorate14([
1141
1140
  ], UpdateProfessionalProfileDto.prototype, "companyName", void 0);
1142
1141
  _ts_decorate14([
1143
1142
  ApiPropertyOptional5({
1144
- example: "https://www.example.com",
1145
- description: "Professional website URL"
1143
+ type: [
1144
+ SkillDto
1145
+ ]
1146
1146
  }),
1147
1147
  IsOptional6(),
1148
- IsUrl(),
1149
- _ts_metadata14("design:type", String)
1150
- ], UpdateProfessionalProfileDto.prototype, "website", void 0);
1148
+ IsArray2(),
1149
+ ValidateNested3({
1150
+ each: true
1151
+ }),
1152
+ Type4(() => SkillDto),
1153
+ _ts_metadata14("design:type", Array)
1154
+ ], UpdateProfessionalProfileDto.prototype, "skills", void 0);
1151
1155
  _ts_decorate14([
1152
1156
  ApiPropertyOptional5({
1153
- example: "+1234567890",
1154
- description: "Contact phone number"
1157
+ type: [
1158
+ EducationDto
1159
+ ]
1155
1160
  }),
1156
1161
  IsOptional6(),
1157
- IsString9(),
1158
- _ts_metadata14("design:type", String)
1159
- ], UpdateProfessionalProfileDto.prototype, "phone", void 0);
1162
+ IsArray2(),
1163
+ ValidateNested3({
1164
+ each: true
1165
+ }),
1166
+ Type4(() => EducationDto),
1167
+ _ts_metadata14("design:type", Array)
1168
+ ], UpdateProfessionalProfileDto.prototype, "education", void 0);
1160
1169
  _ts_decorate14([
1161
1170
  ApiPropertyOptional5({
1162
- example: "New York, USA",
1163
- description: "Location/City"
1171
+ type: [
1172
+ CertificationDto
1173
+ ]
1164
1174
  }),
1165
1175
  IsOptional6(),
1166
- IsString9(),
1167
- MaxLength5(200),
1168
- _ts_metadata14("design:type", String)
1169
- ], UpdateProfessionalProfileDto.prototype, "location", void 0);
1176
+ IsArray2(),
1177
+ ValidateNested3({
1178
+ each: true
1179
+ }),
1180
+ Type4(() => CertificationDto),
1181
+ _ts_metadata14("design:type", Array)
1182
+ ], UpdateProfessionalProfileDto.prototype, "certifications", void 0);
1170
1183
  _ts_decorate14([
1171
1184
  ApiPropertyOptional5({
1172
- example: 5,
1173
- description: "Years of professional experience"
1185
+ type: [
1186
+ ExperienceDto
1187
+ ]
1174
1188
  }),
1175
1189
  IsOptional6(),
1176
- IsInt2(),
1177
- Min2(0),
1178
- _ts_metadata14("design:type", Number)
1179
- ], UpdateProfessionalProfileDto.prototype, "yearsOfExperience", void 0);
1190
+ IsArray2(),
1191
+ ValidateNested3({
1192
+ each: true
1193
+ }),
1194
+ Type4(() => ExperienceDto),
1195
+ _ts_metadata14("design:type", Array)
1196
+ ], UpdateProfessionalProfileDto.prototype, "experiences", void 0);
1180
1197
  _ts_decorate14([
1181
1198
  ApiPropertyOptional5({
1182
- example: 75.5,
1183
- description: "Hourly rate in USD"
1199
+ type: [
1200
+ AddressDto
1201
+ ]
1184
1202
  }),
1185
1203
  IsOptional6(),
1186
- IsNumber(),
1187
- Min2(0),
1188
- _ts_metadata14("design:type", Number)
1189
- ], UpdateProfessionalProfileDto.prototype, "hourlyRate", void 0);
1204
+ IsArray2(),
1205
+ ValidateNested3({
1206
+ each: true
1207
+ }),
1208
+ Type4(() => AddressDto),
1209
+ _ts_metadata14("design:type", Array)
1210
+ ], UpdateProfessionalProfileDto.prototype, "addresses", void 0);
1190
1211
  _ts_decorate14([
1191
1212
  ApiPropertyOptional5({
1192
- example: "available",
1193
- description: "Availability status",
1194
- enum: [
1195
- "available",
1196
- "busy",
1197
- "unavailable"
1213
+ type: [
1214
+ PhoneDto
1198
1215
  ]
1199
1216
  }),
1200
1217
  IsOptional6(),
1201
- IsString9(),
1202
- _ts_metadata14("design:type", String)
1203
- ], UpdateProfessionalProfileDto.prototype, "availabilityStatus", void 0);
1218
+ IsArray2(),
1219
+ ValidateNested3({
1220
+ each: true
1221
+ }),
1222
+ Type4(() => PhoneDto),
1223
+ _ts_metadata14("design:type", Array)
1224
+ ], UpdateProfessionalProfileDto.prototype, "phones", void 0);
1225
+ _ts_decorate14([
1226
+ ApiPropertyOptional5({
1227
+ type: [
1228
+ LinkDto
1229
+ ]
1230
+ }),
1231
+ IsOptional6(),
1232
+ IsArray2(),
1233
+ ValidateNested3({
1234
+ each: true
1235
+ }),
1236
+ Type4(() => LinkDto),
1237
+ _ts_metadata14("design:type", Array)
1238
+ ], UpdateProfessionalProfileDto.prototype, "links", void 0);
1204
1239
 
1205
1240
  // dto/users/create_report.dto.ts
1206
1241
  import { IsEnum as IsEnum4, IsNotEmpty as IsNotEmpty5, IsString as IsString10, IsUUID, MaxLength as MaxLength6, MinLength as MinLength6 } from "class-validator";
@@ -1363,7 +1398,7 @@ var ReactionType = /* @__PURE__ */ (function(ReactionType2) {
1363
1398
 
1364
1399
  // dto/posts/create_post.dto.ts
1365
1400
  import { ApiProperty as ApiProperty8 } from "@nestjs/swagger";
1366
- import { IsArray as IsArray2, IsEnum as IsEnum6, IsNotEmpty as IsNotEmpty9, IsOptional as IsOptional9, IsString as IsString14, MaxLength as MaxLength7, MinLength as MinLength7, ValidateNested as ValidateNested3 } from "class-validator";
1401
+ import { IsArray as IsArray3, IsEnum as IsEnum6, IsNotEmpty as IsNotEmpty9, IsOptional as IsOptional9, IsString as IsString14, MaxLength as MaxLength7, MinLength as MinLength7, ValidateNested as ValidateNested4 } from "class-validator";
1367
1402
 
1368
1403
  // dto/posts/create_post._file.dto.ts
1369
1404
  import { IsString as IsString13, IsNotEmpty as IsNotEmpty8, IsOptional as IsOptional8 } from "class-validator";
@@ -1432,7 +1467,7 @@ _ts_decorate18([
1432
1467
  ], CreatePostFileDto.prototype, "fileType", void 0);
1433
1468
 
1434
1469
  // dto/posts/create_post.dto.ts
1435
- import { Type as Type4 } from "class-transformer";
1470
+ import { Type as Type5 } from "class-transformer";
1436
1471
  function _ts_decorate19(decorators, target, key, desc) {
1437
1472
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1438
1473
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -1484,11 +1519,11 @@ _ts_decorate19([
1484
1519
  ],
1485
1520
  required: false
1486
1521
  }),
1487
- IsArray2(),
1488
- ValidateNested3({
1522
+ IsArray3(),
1523
+ ValidateNested4({
1489
1524
  each: true
1490
1525
  }),
1491
- Type4(() => CreatePostFileDto),
1526
+ Type5(() => CreatePostFileDto),
1492
1527
  IsOptional9(),
1493
1528
  _ts_metadata19("design:type", Array)
1494
1529
  ], CreatePostDto.prototype, "files", void 0);
@@ -1916,7 +1951,7 @@ _ts_decorate26([
1916
1951
  ], PaginatedPostsSelfDto.prototype, "totalPages", void 0);
1917
1952
 
1918
1953
  // dto/posts/reorder_post_file.dto.ts
1919
- import { IsInt as IsInt3, Max, Min as Min3 } from "class-validator";
1954
+ import { IsInt as IsInt2, Max, Min as Min2 } from "class-validator";
1920
1955
  function _ts_decorate27(decorators, target, key, desc) {
1921
1956
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1922
1957
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -1936,8 +1971,8 @@ var _ReorderDto = class _ReorderDto {
1936
1971
  __name(_ReorderDto, "ReorderDto");
1937
1972
  var ReorderDto = _ReorderDto;
1938
1973
  _ts_decorate27([
1939
- IsInt3(),
1940
- Min3(0),
1974
+ IsInt2(),
1975
+ Min2(0),
1941
1976
  Max(100),
1942
1977
  _ts_metadata27("design:type", Number)
1943
1978
  ], ReorderDto.prototype, "newIndex", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feresmeryas/microservices-common",
3
- "version": "1.5.38",
3
+ "version": "1.5.40",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [