@feresmeryas/microservices-common 1.5.24 → 1.5.25

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.js CHANGED
@@ -2237,6 +2237,7 @@ _ts_decorate37([
2237
2237
  _ts_metadata37("design:type", String)
2238
2238
  ], CreateOrGetTagDto.prototype, "name", void 0);
2239
2239
  _ts_decorate37([
2240
+ (0, import_class_validator24.IsEnum)(BusinessSector),
2240
2241
  (0, import_class_validator24.IsString)(),
2241
2242
  (0, import_class_validator24.IsNotEmpty)(),
2242
2243
  _ts_metadata37("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
package/dist/index.mjs CHANGED
@@ -2141,7 +2141,7 @@ var RoleName = /* @__PURE__ */ (function(RoleName2) {
2141
2141
  })({});
2142
2142
 
2143
2143
  // dto/tags/create_find_tag.dto.ts
2144
- import { IsNotEmpty as IsNotEmpty11, IsString as IsString16 } from "class-validator";
2144
+ import { IsEnum as IsEnum9, IsNotEmpty as IsNotEmpty11, IsString as IsString16 } from "class-validator";
2145
2145
  function _ts_decorate37(decorators, target, key, desc) {
2146
2146
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2147
2147
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -2167,6 +2167,7 @@ _ts_decorate37([
2167
2167
  _ts_metadata37("design:type", String)
2168
2168
  ], CreateOrGetTagDto.prototype, "name", void 0);
2169
2169
  _ts_decorate37([
2170
+ IsEnum9(BusinessSector),
2170
2171
  IsString16(),
2171
2172
  IsNotEmpty11(),
2172
2173
  _ts_metadata37("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feresmeryas/microservices-common",
3
- "version": "1.5.24",
3
+ "version": "1.5.25",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -17,7 +17,7 @@
17
17
  "reflect-metadata": "^0.1.13 || ^0.2.0"
18
18
  },
19
19
  "scripts": {
20
- "build": "tsup index.ts --format cjs,esm --dts --tsconfig tsconfig.build.json"
20
+ "build": "tsup index.ts --format cjs,esm --dts --tsconfig tsconfig.build.json --keep-names"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@swc/core": "^1.15.8",