@feresmeryas/microservices-common 1.5.23 → 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.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +23 -1
- package/dist/index.mjs +23 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2211,15 +2211,37 @@ var RoleName = /* @__PURE__ */ (function(RoleName2) {
|
|
|
2211
2211
|
})({});
|
|
2212
2212
|
|
|
2213
2213
|
// dto/tags/create_find_tag.dto.ts
|
|
2214
|
+
var import_class_validator24 = require("class-validator");
|
|
2215
|
+
function _ts_decorate37(decorators, target, key, desc) {
|
|
2216
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2217
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2218
|
+
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;
|
|
2219
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2220
|
+
}
|
|
2221
|
+
__name(_ts_decorate37, "_ts_decorate");
|
|
2222
|
+
function _ts_metadata37(k, v) {
|
|
2223
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2224
|
+
}
|
|
2225
|
+
__name(_ts_metadata37, "_ts_metadata");
|
|
2214
2226
|
var _CreateOrGetTagDto = class _CreateOrGetTagDto {
|
|
2215
2227
|
constructor() {
|
|
2216
2228
|
__publicField(this, "name");
|
|
2217
2229
|
__publicField(this, "sector");
|
|
2218
|
-
__publicField(this, "type");
|
|
2219
2230
|
}
|
|
2220
2231
|
};
|
|
2221
2232
|
__name(_CreateOrGetTagDto, "CreateOrGetTagDto");
|
|
2222
2233
|
var CreateOrGetTagDto = _CreateOrGetTagDto;
|
|
2234
|
+
_ts_decorate37([
|
|
2235
|
+
(0, import_class_validator24.IsString)(),
|
|
2236
|
+
(0, import_class_validator24.IsNotEmpty)(),
|
|
2237
|
+
_ts_metadata37("design:type", String)
|
|
2238
|
+
], CreateOrGetTagDto.prototype, "name", void 0);
|
|
2239
|
+
_ts_decorate37([
|
|
2240
|
+
(0, import_class_validator24.IsEnum)(BusinessSector),
|
|
2241
|
+
(0, import_class_validator24.IsString)(),
|
|
2242
|
+
(0, import_class_validator24.IsNotEmpty)(),
|
|
2243
|
+
_ts_metadata37("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
|
|
2244
|
+
], CreateOrGetTagDto.prototype, "sector", void 0);
|
|
2223
2245
|
|
|
2224
2246
|
// dto/tags/get_tag_by_sector.dto.ts
|
|
2225
2247
|
var _GetTagsBySectorDto = class _GetTagsBySectorDto {
|
package/dist/index.mjs
CHANGED
|
@@ -2141,15 +2141,37 @@ var RoleName = /* @__PURE__ */ (function(RoleName2) {
|
|
|
2141
2141
|
})({});
|
|
2142
2142
|
|
|
2143
2143
|
// dto/tags/create_find_tag.dto.ts
|
|
2144
|
+
import { IsEnum as IsEnum9, IsNotEmpty as IsNotEmpty11, IsString as IsString16 } from "class-validator";
|
|
2145
|
+
function _ts_decorate37(decorators, target, key, desc) {
|
|
2146
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2147
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2148
|
+
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;
|
|
2149
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2150
|
+
}
|
|
2151
|
+
__name(_ts_decorate37, "_ts_decorate");
|
|
2152
|
+
function _ts_metadata37(k, v) {
|
|
2153
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2154
|
+
}
|
|
2155
|
+
__name(_ts_metadata37, "_ts_metadata");
|
|
2144
2156
|
var _CreateOrGetTagDto = class _CreateOrGetTagDto {
|
|
2145
2157
|
constructor() {
|
|
2146
2158
|
__publicField(this, "name");
|
|
2147
2159
|
__publicField(this, "sector");
|
|
2148
|
-
__publicField(this, "type");
|
|
2149
2160
|
}
|
|
2150
2161
|
};
|
|
2151
2162
|
__name(_CreateOrGetTagDto, "CreateOrGetTagDto");
|
|
2152
2163
|
var CreateOrGetTagDto = _CreateOrGetTagDto;
|
|
2164
|
+
_ts_decorate37([
|
|
2165
|
+
IsString16(),
|
|
2166
|
+
IsNotEmpty11(),
|
|
2167
|
+
_ts_metadata37("design:type", String)
|
|
2168
|
+
], CreateOrGetTagDto.prototype, "name", void 0);
|
|
2169
|
+
_ts_decorate37([
|
|
2170
|
+
IsEnum9(BusinessSector),
|
|
2171
|
+
IsString16(),
|
|
2172
|
+
IsNotEmpty11(),
|
|
2173
|
+
_ts_metadata37("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
|
|
2174
|
+
], CreateOrGetTagDto.prototype, "sector", void 0);
|
|
2153
2175
|
|
|
2154
2176
|
// dto/tags/get_tag_by_sector.dto.ts
|
|
2155
2177
|
var _GetTagsBySectorDto = class _GetTagsBySectorDto {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feresmeryas/microservices-common",
|
|
3
|
-
"version": "1.5.
|
|
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",
|