@feresmeryas/microservices-common 1.5.23 → 1.5.24
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 +22 -1
- package/dist/index.mjs +22 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2211,15 +2211,36 @@ 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.IsString)(),
|
|
2241
|
+
(0, import_class_validator24.IsNotEmpty)(),
|
|
2242
|
+
_ts_metadata37("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
|
|
2243
|
+
], CreateOrGetTagDto.prototype, "sector", void 0);
|
|
2223
2244
|
|
|
2224
2245
|
// dto/tags/get_tag_by_sector.dto.ts
|
|
2225
2246
|
var _GetTagsBySectorDto = class _GetTagsBySectorDto {
|
package/dist/index.mjs
CHANGED
|
@@ -2141,15 +2141,36 @@ 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";
|
|
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
|
+
IsString16(),
|
|
2171
|
+
IsNotEmpty11(),
|
|
2172
|
+
_ts_metadata37("design:type", typeof BusinessSector === "undefined" ? Object : BusinessSector)
|
|
2173
|
+
], CreateOrGetTagDto.prototype, "sector", void 0);
|
|
2153
2174
|
|
|
2154
2175
|
// dto/tags/get_tag_by_sector.dto.ts
|
|
2155
2176
|
var _GetTagsBySectorDto = class _GetTagsBySectorDto {
|