@qrvey/cd-package-registry 1.0.1-beta → 1.0.2-935
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/cjs/index.js +19 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.mjs +20 -2
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
|
@@ -181,6 +181,24 @@ _ts_decorate([
|
|
|
181
181
|
classValidator.MaxLength(255),
|
|
182
182
|
_ts_metadata("design:type", String)
|
|
183
183
|
], ApplicationAssetDto.prototype, "userEmail", void 0);
|
|
184
|
+
function IsAny(validationOptions) {
|
|
185
|
+
return function(object, propertyName) {
|
|
186
|
+
classValidator.registerDecorator({
|
|
187
|
+
name: "isAny",
|
|
188
|
+
target: object.constructor,
|
|
189
|
+
propertyName,
|
|
190
|
+
options: validationOptions,
|
|
191
|
+
validator: {
|
|
192
|
+
validate(value) {
|
|
193
|
+
return true;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
__name(IsAny, "IsAny");
|
|
200
|
+
|
|
201
|
+
// src/dtos/connection-asset.dto.ts
|
|
184
202
|
function _ts_decorate2(decorators, target, key, desc) {
|
|
185
203
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
186
204
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -419,7 +437,7 @@ _ts_decorate2([
|
|
|
419
437
|
], ConnectionAssetDto.prototype, "useSSL", void 0);
|
|
420
438
|
_ts_decorate2([
|
|
421
439
|
classValidator.IsOptional(),
|
|
422
|
-
|
|
440
|
+
IsAny(),
|
|
423
441
|
_ts_metadata2("design:type", Object)
|
|
424
442
|
], ConnectionAssetDto.prototype, "connectionConfig", void 0);
|
|
425
443
|
_ts_decorate2([
|