@cv-tec/validations 0.4.5 → 0.4.6
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.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"coordinates.d.ts","sourceRoot":"","sources":["../../../../src/type-validation/common/cv-info/coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAA;AAczB,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAG7E,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,mBAAmB,CAAC,CAAA;AAEvE,qBAAa,WAAY,SAAQ,mBAAmB;IAOlD,OAAO,EAAG,MAAM,CAAA;IAIhB,KAAK,CAAC,EAAE,MAAM,CAAA;IAId,KAAK,EAAG,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"coordinates.d.ts","sourceRoot":"","sources":["../../../../src/type-validation/common/cv-info/coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAA;AAczB,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAG7E,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,mBAAmB,CAAC,CAAA;AAEvE,qBAAa,WAAY,SAAQ,mBAAmB;IAOlD,OAAO,EAAG,MAAM,CAAA;IAIhB,KAAK,CAAC,EAAE,MAAM,CAAA;IAId,KAAK,EAAG,MAAM,CAAA;gBA0BF,MAAM,EAAE,YAAY;CAGjC"}
|
@@ -16,6 +16,9 @@ const class_validator_1 = require("class-validator");
|
|
16
16
|
const is_valid_email_domain_1 = require("../../../custom-decorators/class-validators/is-valid-email-domain");
|
17
17
|
const root_class_validation_1 = require("../../../type-validation/root-class-validation");
|
18
18
|
class Coordinates extends root_class_validation_1.RootClassValidation {
|
19
|
+
// @IsOptional()
|
20
|
+
// @IsUrl({ protocols: ['https'] })
|
21
|
+
// linkedin?: string
|
19
22
|
// @IsOptional()
|
20
23
|
// @IsUrl({ protocols: ['https'] })
|
21
24
|
// github?: string
|
@@ -52,9 +55,4 @@ __decorate([
|
|
52
55
|
(0, is_valid_email_domain_1.IsValidEmailDomain)(),
|
53
56
|
__metadata("design:type", String)
|
54
57
|
], Coordinates.prototype, "email", void 0);
|
55
|
-
__decorate([
|
56
|
-
(0, class_validator_1.IsOptional)(),
|
57
|
-
(0, class_validator_1.IsUrl)({ protocols: ['https'] }),
|
58
|
-
__metadata("design:type", String)
|
59
|
-
], Coordinates.prototype, "linkedin", void 0);
|
60
58
|
//# sourceMappingURL=coordinates.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"coordinates.js","sourceRoot":"","sources":["../../../../src/type-validation/common/cv-info/coordinates.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4BAAyB;AACzB,qDASwB;AAExB,2CAA2C;AAC3C,sGAA+F;AAC/F,mFAA6E;AAK7E,MAAa,WAAY,SAAQ,2CAAmB;
|
1
|
+
{"version":3,"file":"coordinates.js","sourceRoot":"","sources":["../../../../src/type-validation/common/cv-info/coordinates.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4BAAyB;AACzB,qDASwB;AAExB,2CAA2C;AAC3C,sGAA+F;AAC/F,mFAA6E;AAK7E,MAAa,WAAY,SAAQ,2CAAmB;IAiBlD,gBAAgB;IAChB,mCAAmC;IACnC,oBAAoB;IAEpB,gBAAgB;IAChB,mCAAmC;IACnC,kBAAkB;IAElB,gBAAgB;IAChB,gBAAgB;IAChB,wBAAwB;IAExB,gBAAgB;IAChB,gBAAgB;IAChB,wBAAwB;IAExB,gBAAgB;IAChB,gBAAgB;IAChB,wBAAwB;IAExB,gBAAgB;IAChB,gBAAgB;IAChB,wBAAwB;IAExB,YAAY,MAAoB;QAC9B,KAAK,CAAC,MAAM,CAAC,CAAA;IACf,CAAC;CACF;AA5CD,kCA4CC;AArCC;IAHC,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,EAAE;QACd,OAAO,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE;KAC9B,CAAC;;4CACc;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAa,GAAE;;0CACF;AAId;IAFC,IAAA,yBAAO,EAAC,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC;IACnC,IAAA,0CAAkB,GAAE;;0CACP"}
|