@hed-hog/core 0.0.91 → 0.0.94
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/auth/auth.controller.d.ts +1 -1
- package/dist/auth/auth.service.d.ts +1 -1
- package/dist/auth/dto/resend-mfa-code.dto.d.ts.map +1 -1
- package/dist/auth/dto/resend-mfa-code.dto.js +2 -1
- package/dist/auth/dto/resend-mfa-code.dto.js.map +1 -1
- package/dist/dashboard/dashboard/dto/create.dto.d.ts.map +1 -1
- package/dist/dashboard/dashboard/dto/create.dto.js +2 -2
- package/dist/dashboard/dashboard/dto/create.dto.js.map +1 -1
- package/dist/dashboard/dashboard-component/dto/create.dto.d.ts.map +1 -1
- package/dist/dashboard/dashboard-component/dto/create.dto.js +10 -10
- package/dist/dashboard/dashboard-component/dto/create.dto.js.map +1 -1
- package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts +2 -2
- package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts +2 -2
- package/dist/dashboard/dashboard-item/dto/create.dto.js +7 -6
- package/dist/dashboard/dashboard-item/dto/create.dto.js.map +1 -1
- package/dist/dashboard/dashboard-user/dashboard-user.controller.d.ts +3 -3
- package/dist/dashboard/dashboard-user/dashboard-user.service.d.ts +3 -3
- package/dist/dashboard/dashboard-user/dto/create.dto.d.ts.map +1 -1
- package/dist/dashboard/dashboard-user/dto/create.dto.js +7 -7
- package/dist/dashboard/dashboard-user/dto/create.dto.js.map +1 -1
- package/dist/dto/delete.dto.d.ts.map +1 -1
- package/dist/dto/delete.dto.js +4 -3
- package/dist/dto/delete.dto.js.map +1 -1
- package/dist/dto/update-ids.dto.d.ts.map +1 -1
- package/dist/dto/update-ids.dto.js +3 -2
- package/dist/dto/update-ids.dto.js.map +1 -1
- package/dist/file/dto/delete.dto.d.ts.map +1 -1
- package/dist/file/dto/delete.dto.js +4 -3
- package/dist/file/dto/delete.dto.js.map +1 -1
- package/dist/file/dto/upload.dto.d.ts.map +1 -1
- package/dist/file/dto/upload.dto.js +2 -1
- package/dist/file/dto/upload.dto.js.map +1 -1
- package/dist/install/dto/generate-migration.dto.d.ts.map +1 -1
- package/dist/install/dto/generate-migration.dto.js +12 -11
- package/dist/install/dto/generate-migration.dto.js.map +1 -1
- package/dist/mail/dto/create.dto.d.ts.map +1 -1
- package/dist/mail/dto/create.dto.js +7 -6
- package/dist/mail/dto/create.dto.js.map +1 -1
- package/dist/mail/dto/send.dto.d.ts.map +1 -1
- package/dist/mail/dto/send.dto.js +6 -5
- package/dist/mail/dto/send.dto.js.map +1 -1
- package/dist/mail/mail.controller.d.ts +2 -2
- package/dist/mail/mail.service.d.ts +2 -2
- package/dist/mail-sent/dto/create.dto.d.ts.map +1 -1
- package/dist/mail-sent/dto/create.dto.js +9 -8
- package/dist/mail-sent/dto/create.dto.js.map +1 -1
- package/dist/mail-var/dto/create.dto.d.ts.map +1 -1
- package/dist/mail-var/dto/create.dto.js +3 -2
- package/dist/mail-var/dto/create.dto.js.map +1 -1
- package/dist/menu/dto/order.dto.d.ts.map +1 -1
- package/dist/menu/dto/order.dto.js +4 -3
- package/dist/menu/dto/order.dto.js.map +1 -1
- package/dist/menu/menu.controller.d.ts +6 -6
- package/dist/menu/menu.service.d.ts +6 -6
- package/dist/profile/dto/email-verification-confirm.dto.d.ts.map +1 -1
- package/dist/profile/dto/email-verification-confirm.dto.js +4 -3
- package/dist/profile/dto/email-verification-confirm.dto.js.map +1 -1
- package/dist/profile/dto/generate-webauthn-registration-options.dto.d.ts.map +1 -1
- package/dist/profile/dto/generate-webauthn-registration-options.dto.js +3 -2
- package/dist/profile/dto/generate-webauthn-registration-options.dto.js.map +1 -1
- package/dist/profile/dto/regenerate-recovery-codes.dto.d.ts.map +1 -1
- package/dist/profile/dto/regenerate-recovery-codes.dto.js +4 -3
- package/dist/profile/dto/regenerate-recovery-codes.dto.js.map +1 -1
- package/dist/profile/dto/remove-email-mfa.dto.d.ts.map +1 -1
- package/dist/profile/dto/remove-email-mfa.dto.js +5 -4
- package/dist/profile/dto/remove-email-mfa.dto.js.map +1 -1
- package/dist/profile/dto/remove-mfa-with-recovery-code.dto.d.ts.map +1 -1
- package/dist/profile/dto/remove-mfa-with-recovery-code.dto.js +3 -2
- package/dist/profile/dto/remove-mfa-with-recovery-code.dto.js.map +1 -1
- package/dist/profile/dto/remove-mfa.dto.d.ts.map +1 -1
- package/dist/profile/dto/remove-mfa.dto.js +4 -3
- package/dist/profile/dto/remove-mfa.dto.js.map +1 -1
- package/dist/profile/dto/remove-totp-mfa.dto.d.ts.map +1 -1
- package/dist/profile/dto/remove-totp-mfa.dto.js +3 -2
- package/dist/profile/dto/remove-totp-mfa.dto.js.map +1 -1
- package/dist/profile/dto/set-preferences.dto.d.ts.map +1 -1
- package/dist/profile/dto/set-preferences.dto.js +3 -2
- package/dist/profile/dto/set-preferences.dto.js.map +1 -1
- package/dist/profile/dto/verify-before-add-mfa.dto.d.ts.map +1 -1
- package/dist/profile/dto/verify-before-add-mfa.dto.js +4 -3
- package/dist/profile/dto/verify-before-add-mfa.dto.js.map +1 -1
- package/dist/profile/dto/verify-mfa-totp.dto.d.ts.map +1 -1
- package/dist/profile/dto/verify-mfa-totp.dto.js +10 -9
- package/dist/profile/dto/verify-mfa-totp.dto.js.map +1 -1
- package/dist/profile/dto/verify-webauthn-registration.dto.d.ts.map +1 -1
- package/dist/profile/dto/verify-webauthn-registration.dto.js +5 -4
- package/dist/profile/dto/verify-webauthn-registration.dto.js.map +1 -1
- package/dist/profile/dto/verify-webauthn.dto.d.ts.map +1 -1
- package/dist/profile/dto/verify-webauthn.dto.js +3 -2
- package/dist/profile/dto/verify-webauthn.dto.js.map +1 -1
- package/dist/role/role.controller.d.ts +3 -3
- package/dist/role/role.service.d.ts +3 -3
- package/dist/screen/screen.controller.d.ts +3 -3
- package/dist/screen/screen.service.d.ts +3 -3
- package/dist/setting/dto/confirm-import.dto.d.ts.map +1 -1
- package/dist/setting/dto/confirm-import.dto.js +3 -2
- package/dist/setting/dto/confirm-import.dto.js.map +1 -1
- package/dist/setting/dto/create.dto.d.ts.map +1 -1
- package/dist/setting/dto/create.dto.js +8 -8
- package/dist/setting/dto/create.dto.js.map +1 -1
- package/dist/setting/dto/delete.dto.d.ts.map +1 -1
- package/dist/setting/dto/delete.dto.js +4 -3
- package/dist/setting/dto/delete.dto.js.map +1 -1
- package/dist/setting/dto/export.dto.d.ts.map +1 -1
- package/dist/setting/dto/export.dto.js +2 -1
- package/dist/setting/dto/export.dto.js.map +1 -1
- package/dist/setting/dto/setting-user.dto.d.ts.map +1 -1
- package/dist/setting/dto/setting-user.dto.js +2 -1
- package/dist/setting/dto/setting-user.dto.js.map +1 -1
- package/dist/setting/dto/setting.dto.d.ts.map +1 -1
- package/dist/setting/dto/setting.dto.js +4 -3
- package/dist/setting/dto/setting.dto.js.map +1 -1
- package/dist/setting/setting.controller.d.ts +4 -4
- package/dist/setting/setting.service.d.ts +4 -4
- package/dist/user/user.controller.d.ts +1 -1
- package/dist/user/user.service.d.ts +2 -2
- package/package.json +2 -2
- package/src/auth/dto/resend-mfa-code.dto.ts +2 -1
- package/src/dashboard/dashboard/dto/create.dto.ts +3 -3
- package/src/dashboard/dashboard-component/dto/create.dto.ts +11 -11
- package/src/dashboard/dashboard-item/dto/create.dto.ts +8 -8
- package/src/dashboard/dashboard-user/dto/create.dto.ts +8 -8
- package/src/dto/delete.dto.ts +4 -3
- package/src/dto/update-ids.dto.ts +3 -2
- package/src/file/dto/delete.dto.ts +4 -3
- package/src/file/dto/upload.dto.ts +3 -2
- package/src/install/dto/generate-migration.dto.ts +12 -11
- package/src/language/en.json +37 -1
- package/src/language/pt.json +37 -1
- package/src/mail/dto/create.dto.ts +12 -11
- package/src/mail/dto/send.dto.ts +6 -5
- package/src/mail-sent/dto/create.dto.ts +9 -8
- package/src/mail-var/dto/create.dto.ts +3 -2
- package/src/menu/dto/order.dto.ts +4 -3
- package/src/profile/dto/email-verification-confirm.dto.ts +4 -3
- package/src/profile/dto/generate-webauthn-registration-options.dto.ts +3 -2
- package/src/profile/dto/regenerate-recovery-codes.dto.ts +4 -3
- package/src/profile/dto/remove-email-mfa.dto.ts +5 -4
- package/src/profile/dto/remove-mfa-with-recovery-code.dto.ts +3 -2
- package/src/profile/dto/remove-mfa.dto.ts +4 -3
- package/src/profile/dto/remove-totp-mfa.dto.ts +3 -2
- package/src/profile/dto/set-preferences.dto.ts +3 -2
- package/src/profile/dto/verify-before-add-mfa.dto.ts +4 -3
- package/src/profile/dto/verify-mfa-totp.dto.ts +10 -9
- package/src/profile/dto/verify-webauthn-registration.dto.ts +5 -4
- package/src/profile/dto/verify-webauthn.dto.ts +3 -2
- package/src/setting/dto/confirm-import.dto.ts +3 -2
- package/src/setting/dto/create.dto.ts +9 -9
- package/src/setting/dto/delete.dto.ts +4 -3
- package/src/setting/dto/export.dto.ts +2 -1
- package/src/setting/dto/setting-user.dto.ts +2 -1
- package/src/setting/dto/setting.dto.ts +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-preferences.dto.d.ts","sourceRoot":"","sources":["../../../src/profile/dto/set-preferences.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-preferences.dto.d.ts","sourceRoot":"","sources":["../../../src/profile/dto/set-preferences.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,iBAAiB;IAG5B,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -10,18 +10,19 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SetPreferencesDto = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class SetPreferencesDto {
|
|
15
16
|
}
|
|
16
17
|
exports.SetPreferencesDto = SetPreferencesDto;
|
|
17
18
|
__decorate([
|
|
18
19
|
(0, class_validator_1.IsOptional)(),
|
|
19
|
-
(0, class_validator_1.IsIn)(["light", "dark", "system"]),
|
|
20
|
+
(0, class_validator_1.IsIn)(["light", "dark", "system"], { message: (args) => (0, api_locale_1.getLocaleText)('validation.themeInvalid', args.value) }),
|
|
20
21
|
__metadata("design:type", String)
|
|
21
22
|
], SetPreferencesDto.prototype, "theme", void 0);
|
|
22
23
|
__decorate([
|
|
23
24
|
(0, class_validator_1.IsOptional)(),
|
|
24
|
-
(0, class_validator_1.Length)(2, 2),
|
|
25
|
+
(0, class_validator_1.Length)(2, 2, { message: (args) => (0, api_locale_1.getLocaleText)('validation.languageLength', args.value) }),
|
|
25
26
|
__metadata("design:type", String)
|
|
26
27
|
], SetPreferencesDto.prototype, "language", void 0);
|
|
27
28
|
//# sourceMappingURL=set-preferences.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-preferences.dto.js","sourceRoot":"","sources":["../../../src/profile/dto/set-preferences.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2D;AAE3D,MAAa,iBAAiB;CAQ7B;AARD,8CAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;;
|
|
1
|
+
{"version":3,"file":"set-preferences.dto.js","sourceRoot":"","sources":["../../../src/profile/dto/set-preferences.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAA2D;AAE3D,MAAa,iBAAiB;CAQ7B;AARD,8CAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,yBAAyB,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;gDAChG;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,CAAC,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;mDAC1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-before-add-mfa.dto.d.ts","sourceRoot":"","sources":["../../../src/profile/dto/verify-before-add-mfa.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-before-add-mfa.dto.d.ts","sourceRoot":"","sources":["../../../src/profile/dto/verify-before-add-mfa.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAEhC,gBAAgB,EAAE,MAAM,CAAC;IAIzB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,gBAAgB,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;IAG7D,iBAAiB,CAAC,EAAE,GAAG,CAAC;CACzB"}
|
|
@@ -10,21 +10,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.VerifyBeforeAddMfaDto = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class VerifyBeforeAddMfaDto {
|
|
15
16
|
}
|
|
16
17
|
exports.VerifyBeforeAddMfaDto = VerifyBeforeAddMfaDto;
|
|
17
18
|
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
19
20
|
__metadata("design:type", String)
|
|
20
21
|
], VerifyBeforeAddMfaDto.prototype, "verificationCode", void 0);
|
|
21
22
|
__decorate([
|
|
22
23
|
(0, class_validator_1.IsOptional)(),
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
24
25
|
__metadata("design:type", String)
|
|
25
26
|
], VerifyBeforeAddMfaDto.prototype, "hash", void 0);
|
|
26
27
|
__decorate([
|
|
27
|
-
(0, class_validator_1.IsIn)(['totp', 'email', 'recovery', 'webauthn']),
|
|
28
|
+
(0, class_validator_1.IsIn)(['totp', 'email', 'recovery', 'webauthn'], { message: (args) => (0, api_locale_1.getLocaleText)('validation.methodTypeInvalid', args.value) }),
|
|
28
29
|
__metadata("design:type", String)
|
|
29
30
|
], VerifyBeforeAddMfaDto.prototype, "verificationType", void 0);
|
|
30
31
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-before-add-mfa.dto.js","sourceRoot":"","sources":["../../../src/profile/dto/verify-before-add-mfa.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAE7D,MAAa,qBAAqB;CAajC;AAbD,sDAaC;AAXC;IADC,IAAA,0BAAQ,
|
|
1
|
+
{"version":3,"file":"verify-before-add-mfa.dto.js","sourceRoot":"","sources":["../../../src/profile/dto/verify-before-add-mfa.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAA6D;AAE7D,MAAa,qBAAqB;CAajC;AAbD,sDAaC;AAXC;IADC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;+DAC/D;AAIzB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;mDAC1E;AAGd;IADC,IAAA,sBAAI,EAAC,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,8BAA8B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;+DACrE;AAG7D;IADC,IAAA,4BAAU,GAAE;;gEACW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-mfa-totp.dto.d.ts","sourceRoot":"","sources":["../../../src/profile/dto/verify-mfa-totp.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-mfa-totp.dto.d.ts","sourceRoot":"","sources":["../../../src/profile/dto/verify-mfa-totp.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAGzB,IAAI,EAAE,MAAM,CAAC;IAOb,KAAK,EAAE,MAAM,CAAC;IAId,MAAM,EAAE,MAAM,CAAC;CAElB"}
|
|
@@ -10,26 +10,27 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.VerifyMfaTotpDto = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class VerifyMfaTotpDto {
|
|
15
16
|
}
|
|
16
17
|
exports.VerifyMfaTotpDto = VerifyMfaTotpDto;
|
|
17
18
|
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.fieldRequired', args.value) }),
|
|
20
21
|
__metadata("design:type", String)
|
|
21
22
|
], VerifyMfaTotpDto.prototype, "name", void 0);
|
|
22
23
|
__decorate([
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
-
(0, class_validator_1.MinLength)(6),
|
|
26
|
-
(0, class_validator_1.MaxLength)(6),
|
|
27
|
-
(0, class_validator_1.Matches)(/^\d{6}$/, { message:
|
|
24
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.fieldRequired', args.value) }),
|
|
26
|
+
(0, class_validator_1.MinLength)(6, { message: (args) => (0, api_locale_1.getLocaleText)('validation.minLength', args.value) }),
|
|
27
|
+
(0, class_validator_1.MaxLength)(6, { message: (args) => (0, api_locale_1.getLocaleText)('validation.maxLength', args.value) }),
|
|
28
|
+
(0, class_validator_1.Matches)(/^\d{6}$/, { message: (args) => (0, api_locale_1.getLocaleText)('validation.tokenFormat', args.value) }),
|
|
28
29
|
__metadata("design:type", String)
|
|
29
30
|
], VerifyMfaTotpDto.prototype, "token", void 0);
|
|
30
31
|
__decorate([
|
|
31
|
-
(0, class_validator_1.IsString)(),
|
|
32
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
32
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.fieldRequired', args.value) }),
|
|
33
34
|
__metadata("design:type", String)
|
|
34
35
|
], VerifyMfaTotpDto.prototype, "secret", void 0);
|
|
35
36
|
//# sourceMappingURL=verify-mfa-totp.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-mfa-totp.dto.js","sourceRoot":"","sources":["../../../src/profile/dto/verify-mfa-totp.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsF;AAEtF,MAAa,gBAAgB;CAgB5B;AAhBD,4CAgBC;AAbG;IAFC,IAAA,0BAAQ,
|
|
1
|
+
{"version":3,"file":"verify-mfa-totp.dto.js","sourceRoot":"","sources":["../../../src/profile/dto/verify-mfa-totp.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAAsF;AAEtF,MAAa,gBAAgB;CAgB5B;AAhBD,4CAgBC;AAbG;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvF,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;8CAC5E;AAOb;IALC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvF,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACxF,IAAA,2BAAS,EAAC,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,sBAAsB,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACtF,IAAA,2BAAS,EAAC,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,sBAAsB,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACtF,IAAA,yBAAO,EAAC,SAAS,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,wBAAwB,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;+CACjF;AAId;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvF,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;gDAC1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-webauthn-registration.dto.d.ts","sourceRoot":"","sources":["../../../src/profile/dto/verify-webauthn-registration.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-webauthn-registration.dto.d.ts","sourceRoot":"","sources":["../../../src/profile/dto/verify-webauthn-registration.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,6BAA6B;IAGxC,IAAI,EAAE,MAAM,CAAC;IAIb,mBAAmB,EAAE,GAAG,CAAC;CAC1B"}
|
|
@@ -10,18 +10,19 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.VerifyWebAuthnRegistrationDto = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class VerifyWebAuthnRegistrationDto {
|
|
15
16
|
}
|
|
16
17
|
exports.VerifyWebAuthnRegistrationDto = VerifyWebAuthnRegistrationDto;
|
|
17
18
|
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.fieldRequired', args.value) }),
|
|
20
21
|
__metadata("design:type", String)
|
|
21
22
|
], VerifyWebAuthnRegistrationDto.prototype, "name", void 0);
|
|
22
23
|
__decorate([
|
|
23
|
-
(0, class_validator_1.IsObject)(),
|
|
24
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_validator_1.IsObject)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.objectRequired', args.value) }),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.fieldRequired', args.value) }),
|
|
25
26
|
__metadata("design:type", Object)
|
|
26
27
|
], VerifyWebAuthnRegistrationDto.prototype, "attestationResponse", void 0);
|
|
27
28
|
//# sourceMappingURL=verify-webauthn-registration.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-webauthn-registration.dto.js","sourceRoot":"","sources":["../../../src/profile/dto/verify-webauthn-registration.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,6BAA6B;CAQzC;AARD,sEAQC;AALC;IAFC,IAAA,0BAAQ,
|
|
1
|
+
{"version":3,"file":"verify-webauthn-registration.dto.js","sourceRoot":"","sources":["../../../src/profile/dto/verify-webauthn-registration.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAAiE;AAEjE,MAAa,6BAA6B;CAQzC;AARD,sEAQC;AALC;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvF,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;2DAC5E;AAIb;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvF,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;0EAChE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-webauthn.dto.d.ts","sourceRoot":"","sources":["../../../src/profile/dto/verify-webauthn.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-webauthn.dto.d.ts","sourceRoot":"","sources":["../../../src/profile/dto/verify-webauthn.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,iBAAiB;IAG5B,iBAAiB,EAAE,GAAG,CAAC;CACxB"}
|
|
@@ -10,13 +10,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.VerifyWebAuthnDto = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class VerifyWebAuthnDto {
|
|
15
16
|
}
|
|
16
17
|
exports.VerifyWebAuthnDto = VerifyWebAuthnDto;
|
|
17
18
|
__decorate([
|
|
18
|
-
(0, class_validator_1.IsObject)(),
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsObject)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.objectRequired', args.value) }),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.fieldRequired', args.value) }),
|
|
20
21
|
__metadata("design:type", Object)
|
|
21
22
|
], VerifyWebAuthnDto.prototype, "assertionResponse", void 0);
|
|
22
23
|
//# sourceMappingURL=verify-webauthn.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-webauthn.dto.js","sourceRoot":"","sources":["../../../src/profile/dto/verify-webauthn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AADC;IAFC,IAAA,0BAAQ,
|
|
1
|
+
{"version":3,"file":"verify-webauthn.dto.js","sourceRoot":"","sources":["../../../src/profile/dto/verify-webauthn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAAuD;AAEvD,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AADC;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvF,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;4DAClE"}
|
|
@@ -82,9 +82,9 @@ export declare class RoleController {
|
|
|
82
82
|
role_id: number;
|
|
83
83
|
})[];
|
|
84
84
|
id: number;
|
|
85
|
-
slug: string;
|
|
86
85
|
created_at: Date;
|
|
87
86
|
updated_at: Date;
|
|
87
|
+
slug: string;
|
|
88
88
|
}>;
|
|
89
89
|
create(data: CreateDTO): Promise<{
|
|
90
90
|
locale: Record<string, {
|
|
@@ -105,9 +105,9 @@ export declare class RoleController {
|
|
|
105
105
|
role_id: number;
|
|
106
106
|
})[];
|
|
107
107
|
id: number;
|
|
108
|
-
slug: string;
|
|
109
108
|
created_at: Date;
|
|
110
109
|
updated_at: Date;
|
|
110
|
+
slug: string;
|
|
111
111
|
}>;
|
|
112
112
|
update(roleId: number, data: UpdateDTO): Promise<{
|
|
113
113
|
locale: Record<string, {
|
|
@@ -128,9 +128,9 @@ export declare class RoleController {
|
|
|
128
128
|
role_id: number;
|
|
129
129
|
})[];
|
|
130
130
|
id: number;
|
|
131
|
-
slug: string;
|
|
132
131
|
created_at: Date;
|
|
133
132
|
updated_at: Date;
|
|
133
|
+
slug: string;
|
|
134
134
|
}>;
|
|
135
135
|
delete(data: DeleteDTO): Promise<{
|
|
136
136
|
count: number;
|
|
@@ -86,9 +86,9 @@ export declare class RoleService {
|
|
|
86
86
|
role_id: number;
|
|
87
87
|
})[];
|
|
88
88
|
id: number;
|
|
89
|
-
slug: string;
|
|
90
89
|
created_at: Date;
|
|
91
90
|
updated_at: Date;
|
|
91
|
+
slug: string;
|
|
92
92
|
}>;
|
|
93
93
|
create(body: CreateDTO): Promise<{
|
|
94
94
|
locale: Record<string, {
|
|
@@ -109,9 +109,9 @@ export declare class RoleService {
|
|
|
109
109
|
role_id: number;
|
|
110
110
|
})[];
|
|
111
111
|
id: number;
|
|
112
|
-
slug: string;
|
|
113
112
|
created_at: Date;
|
|
114
113
|
updated_at: Date;
|
|
114
|
+
slug: string;
|
|
115
115
|
}>;
|
|
116
116
|
update(id: number, body: UpdateDTO): Promise<{
|
|
117
117
|
locale: Record<string, {
|
|
@@ -132,9 +132,9 @@ export declare class RoleService {
|
|
|
132
132
|
role_id: number;
|
|
133
133
|
})[];
|
|
134
134
|
id: number;
|
|
135
|
-
slug: string;
|
|
136
135
|
created_at: Date;
|
|
137
136
|
updated_at: Date;
|
|
137
|
+
slug: string;
|
|
138
138
|
}>;
|
|
139
139
|
delete({ ids }: DeleteDTO, locale?: string): Promise<{
|
|
140
140
|
count: number;
|
|
@@ -41,23 +41,23 @@ export declare class ScreenController {
|
|
|
41
41
|
}>;
|
|
42
42
|
show(screenId: number): Promise<{
|
|
43
43
|
id: number;
|
|
44
|
-
slug: string;
|
|
45
44
|
created_at: Date;
|
|
46
45
|
updated_at: Date;
|
|
46
|
+
slug: string;
|
|
47
47
|
icon: string | null;
|
|
48
48
|
}>;
|
|
49
49
|
create(data: CreateDTO): Promise<{
|
|
50
50
|
id: number;
|
|
51
|
-
slug: string;
|
|
52
51
|
created_at: Date;
|
|
53
52
|
updated_at: Date;
|
|
53
|
+
slug: string;
|
|
54
54
|
icon: string | null;
|
|
55
55
|
}>;
|
|
56
56
|
update(screenId: number, data: UpdateDTO): Promise<{
|
|
57
57
|
id: number;
|
|
58
|
-
slug: string;
|
|
59
58
|
created_at: Date;
|
|
60
59
|
updated_at: Date;
|
|
60
|
+
slug: string;
|
|
61
61
|
icon: string | null;
|
|
62
62
|
}>;
|
|
63
63
|
delete(data: DeleteDTO): Promise<{
|
|
@@ -43,16 +43,16 @@ export declare class ScreenService {
|
|
|
43
43
|
}>;
|
|
44
44
|
get(screenId: number): Promise<{
|
|
45
45
|
id: number;
|
|
46
|
-
slug: string;
|
|
47
46
|
created_at: Date;
|
|
48
47
|
updated_at: Date;
|
|
48
|
+
slug: string;
|
|
49
49
|
icon: string | null;
|
|
50
50
|
}>;
|
|
51
51
|
create({ slug, icon }: CreateDTO): Promise<{
|
|
52
52
|
id: number;
|
|
53
|
-
slug: string;
|
|
54
53
|
created_at: Date;
|
|
55
54
|
updated_at: Date;
|
|
55
|
+
slug: string;
|
|
56
56
|
icon: string | null;
|
|
57
57
|
}>;
|
|
58
58
|
update({ id, data }: {
|
|
@@ -60,9 +60,9 @@ export declare class ScreenService {
|
|
|
60
60
|
data: UpdateDTO;
|
|
61
61
|
}): Promise<{
|
|
62
62
|
id: number;
|
|
63
|
-
slug: string;
|
|
64
63
|
created_at: Date;
|
|
65
64
|
updated_at: Date;
|
|
65
|
+
slug: string;
|
|
66
66
|
icon: string | null;
|
|
67
67
|
}>;
|
|
68
68
|
delete({ ids }: DeleteDTO): Promise<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-import.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/confirm-import.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"confirm-import.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/confirm-import.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAG3B,QAAQ,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAClD"}
|
|
@@ -10,13 +10,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ConfirmImportDTO = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class ConfirmImportDTO {
|
|
15
16
|
}
|
|
16
17
|
exports.ConfirmImportDTO = ConfirmImportDTO;
|
|
17
18
|
__decorate([
|
|
18
|
-
(0, class_validator_1.IsArray)(),
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsArray)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.arrayRequired', args.value) }),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.fieldRequired', args.value) }),
|
|
20
21
|
__metadata("design:type", Array)
|
|
21
22
|
], ConfirmImportDTO.prototype, "settings", void 0);
|
|
22
23
|
//# sourceMappingURL=confirm-import.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-import.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/confirm-import.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsD;AAEtD,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AADC;IAFC,IAAA,yBAAO,
|
|
1
|
+
{"version":3,"file":"confirm-import.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/confirm-import.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAAsD;AAEtD,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AADC;IAFC,IAAA,yBAAO,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACrF,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;8BAC/E,KAAK;kDAAkC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/create.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/create.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAiB,MAAM,qBAAqB,CAAC;AAGnE,qBAAa,SAAU,SAAQ,aAAa;IAG1C,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAIb,KAAK,EAAE,MAAM,CAAC;IAGd,aAAa,EAAE,OAAO,CAAC;IAGvB,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -10,31 +10,31 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateDTO = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
13
|
const api_locale_1 = require("@hed-hog/api-locale");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
15
|
class CreateDTO extends api_locale_1.WithLocaleDTO {
|
|
16
16
|
}
|
|
17
17
|
exports.CreateDTO = CreateDTO;
|
|
18
18
|
__decorate([
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.Length)(0, 255),
|
|
19
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
20
|
+
(0, class_validator_1.Length)(0, 255, { message: (args) => (0, api_locale_1.getLocaleText)('validation.maxLength', args.value) }),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
22
|
], CreateDTO.prototype, "slug", void 0);
|
|
23
23
|
__decorate([
|
|
24
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
26
|
], CreateDTO.prototype, "type", void 0);
|
|
27
27
|
__decorate([
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.Length)(0, 1023),
|
|
28
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
29
|
+
(0, class_validator_1.Length)(0, 1023, { message: (args) => (0, api_locale_1.getLocaleText)('validation.maxLength', args.value) }),
|
|
30
30
|
__metadata("design:type", String)
|
|
31
31
|
], CreateDTO.prototype, "value", void 0);
|
|
32
32
|
__decorate([
|
|
33
|
-
(0, class_validator_1.IsBoolean)(),
|
|
33
|
+
(0, class_validator_1.IsBoolean)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.booleanRequired', args.value) }),
|
|
34
34
|
__metadata("design:type", Boolean)
|
|
35
35
|
], CreateDTO.prototype, "user_override", void 0);
|
|
36
36
|
__decorate([
|
|
37
|
-
(0, class_validator_1.IsInt)(),
|
|
37
|
+
(0, class_validator_1.IsInt)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
38
38
|
__metadata("design:type", Number)
|
|
39
39
|
], CreateDTO.prototype, "group_id", void 0);
|
|
40
40
|
//# sourceMappingURL=create.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmE;AACnE,qDAAqE;AAErE,MAAa,SAAU,SAAQ,0BAAa;CAiB3C;AAjBD,8BAiBC;AAdC;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvF,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,sBAAsB,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;uCAC5E;AAGb;IADC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;uCAC3E;AAIb;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvF,IAAA,wBAAM,EAAC,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,sBAAsB,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;wCAC5E;AAGd;IADC,IAAA,2BAAS,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,4BAA4B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;gDACnE;AAGvB;IADC,IAAA,uBAAK,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;2CACpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/delete.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/delete.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,SAAS;IAIpB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf"}
|
|
@@ -10,14 +10,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DeleteDTO = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class DeleteDTO {
|
|
15
16
|
}
|
|
16
17
|
exports.DeleteDTO = DeleteDTO;
|
|
17
18
|
__decorate([
|
|
18
|
-
(0, class_validator_1.IsArray)(),
|
|
19
|
-
(0, class_validator_1.ArrayMinSize)(1),
|
|
20
|
-
(0, class_validator_1.IsInt)({ each: true }),
|
|
19
|
+
(0, class_validator_1.IsArray)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.arrayRequired', args.value) }),
|
|
20
|
+
(0, class_validator_1.ArrayMinSize)(1, { message: (args) => (0, api_locale_1.getLocaleText)('validation.arrayNotEmpty', args.value) }),
|
|
21
|
+
(0, class_validator_1.IsInt)({ each: true, message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
21
22
|
__metadata("design:type", Array)
|
|
22
23
|
], DeleteDTO.prototype, "ids", void 0);
|
|
23
24
|
//# sourceMappingURL=delete.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/delete.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,SAAS;CAKrB;AALD,8BAKC;AADC;IAHC,IAAA,yBAAO,
|
|
1
|
+
{"version":3,"file":"delete.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/delete.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAA+D;AAE/D,MAAa,SAAS;CAKrB;AALD,8BAKC;AADC;IAHC,IAAA,yBAAO,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACrF,IAAA,8BAAY,EAAC,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IAC7F,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;sCACnF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/export.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"export.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/export.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,SAAS;IAKpB,OAAO,CAAC,EAAE,OAAO,CAAC;CAEnB"}
|
|
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ExportDto = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_transformer_1 = require("class-transformer");
|
|
14
15
|
const class_validator_1 = require("class-validator");
|
|
15
16
|
class ExportDto {
|
|
@@ -17,7 +18,7 @@ class ExportDto {
|
|
|
17
18
|
exports.ExportDto = ExportDto;
|
|
18
19
|
__decorate([
|
|
19
20
|
(0, class_validator_1.IsOptional)(),
|
|
20
|
-
(0, class_validator_1.IsBoolean)(),
|
|
21
|
+
(0, class_validator_1.IsBoolean)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.booleanRequired', args.value) }),
|
|
21
22
|
(0, class_transformer_1.Transform)(({ value }) => value === 'true' || value === true),
|
|
22
23
|
__metadata("design:type", Boolean)
|
|
23
24
|
], ExportDto.prototype, "secrets", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/export.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAwD;AAExD,MAAa,SAAS;CAOrB;AAPD,8BAOC;AAFC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,
|
|
1
|
+
{"version":3,"file":"export.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/export.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,yDAA8C;AAC9C,qDAAwD;AAExD,MAAa,SAAS;CAOrB;AAPD,8BAOC;AAFC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,4BAA4B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACzF,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,IAAI,CAAC;;0CAC3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting-user.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/setting-user.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"setting-user.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/setting-user.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,cAAc;IAEzB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -10,12 +10,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SettingUserDTO = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class SettingUserDTO {
|
|
15
16
|
}
|
|
16
17
|
exports.SettingUserDTO = SettingUserDTO;
|
|
17
18
|
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
19
20
|
__metadata("design:type", String)
|
|
20
21
|
], SettingUserDTO.prototype, "value", void 0);
|
|
21
22
|
//# sourceMappingURL=setting-user.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting-user.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/setting-user.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAE3C,MAAa,cAAc;CAG1B;AAHD,wCAGC;AADC;IADC,IAAA,0BAAQ,
|
|
1
|
+
{"version":3,"file":"setting-user.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/setting-user.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAA2C;AAE3C,MAAa,cAAc;CAG1B;AAHD,wCAGC;AADC;IADC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;6CAC1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/setting.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"setting.dto.d.ts","sourceRoot":"","sources":["../../../src/setting/dto/setting.dto.ts"],"names":[],"mappings":"AAIA,cAAM,OAAO;IAEX,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,UAAU;IAIrB,OAAO,EAAE,OAAO,EAAE,CAAC;CACpB"}
|
|
@@ -10,23 +10,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SettingDTO = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_transformer_1 = require("class-transformer");
|
|
14
15
|
const class_validator_1 = require("class-validator");
|
|
15
16
|
class Setting {
|
|
16
17
|
}
|
|
17
18
|
__decorate([
|
|
18
|
-
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
19
20
|
__metadata("design:type", String)
|
|
20
21
|
], Setting.prototype, "slug", void 0);
|
|
21
22
|
__decorate([
|
|
22
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
23
24
|
__metadata("design:type", String)
|
|
24
25
|
], Setting.prototype, "value", void 0);
|
|
25
26
|
class SettingDTO {
|
|
26
27
|
}
|
|
27
28
|
exports.SettingDTO = SettingDTO;
|
|
28
29
|
__decorate([
|
|
29
|
-
(0, class_validator_1.IsArray)(),
|
|
30
|
+
(0, class_validator_1.IsArray)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.arrayRequired', args.value) }),
|
|
30
31
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
31
32
|
(0, class_transformer_1.Type)(() => Setting),
|
|
32
33
|
__metadata("design:type", Array)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/setting.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAoE;AAEpE,MAAM,OAAO;CAMZ;AAJC;IADC,IAAA,0BAAQ,
|
|
1
|
+
{"version":3,"file":"setting.dto.js","sourceRoot":"","sources":["../../../src/setting/dto/setting.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,yDAAyC;AACzC,qDAAoE;AAEpE,MAAM,OAAO;CAMZ;AAJC;IADC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;qCAC3E;AAGb;IADC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;sCAC1E;AAGhB,MAAa,UAAU;CAKtB;AALD,gCAKC;AADC;IAHC,IAAA,yBAAO,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACrF,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;2CACD"}
|
|
@@ -59,9 +59,9 @@ export declare class SettingsController {
|
|
|
59
59
|
value: string | null;
|
|
60
60
|
type: import("@prisma/client").$Enums.setting_type_enum;
|
|
61
61
|
id: number;
|
|
62
|
-
slug: string;
|
|
63
62
|
created_at: Date;
|
|
64
63
|
updated_at: Date;
|
|
64
|
+
slug: string;
|
|
65
65
|
group_id: number;
|
|
66
66
|
component: import("@prisma/client").$Enums.setting_component_enum;
|
|
67
67
|
user_override: boolean;
|
|
@@ -81,9 +81,9 @@ export declare class SettingsController {
|
|
|
81
81
|
value: string | null;
|
|
82
82
|
type: import("@prisma/client").$Enums.setting_type_enum;
|
|
83
83
|
id: number;
|
|
84
|
-
slug: string;
|
|
85
84
|
created_at: Date;
|
|
86
85
|
updated_at: Date;
|
|
86
|
+
slug: string;
|
|
87
87
|
group_id: number;
|
|
88
88
|
component: import("@prisma/client").$Enums.setting_component_enum;
|
|
89
89
|
user_override: boolean;
|
|
@@ -99,9 +99,9 @@ export declare class SettingsController {
|
|
|
99
99
|
value: string | null;
|
|
100
100
|
type: import("@prisma/client").$Enums.setting_type_enum;
|
|
101
101
|
id: number;
|
|
102
|
-
slug: string;
|
|
103
102
|
created_at: Date;
|
|
104
103
|
updated_at: Date;
|
|
104
|
+
slug: string;
|
|
105
105
|
group_id: number;
|
|
106
106
|
component: import("@prisma/client").$Enums.setting_component_enum;
|
|
107
107
|
user_override: boolean;
|
|
@@ -113,9 +113,9 @@ export declare class SettingsController {
|
|
|
113
113
|
value: string | null;
|
|
114
114
|
type: import("@prisma/client").$Enums.setting_type_enum;
|
|
115
115
|
id: number;
|
|
116
|
-
slug: string;
|
|
117
116
|
created_at: Date;
|
|
118
117
|
updated_at: Date;
|
|
118
|
+
slug: string;
|
|
119
119
|
group_id: number;
|
|
120
120
|
component: import("@prisma/client").$Enums.setting_component_enum;
|
|
121
121
|
user_override: boolean;
|
|
@@ -62,9 +62,9 @@ export declare class SettingService {
|
|
|
62
62
|
value: string | null;
|
|
63
63
|
type: import("@prisma/client").$Enums.setting_type_enum;
|
|
64
64
|
id: number;
|
|
65
|
-
slug: string;
|
|
66
65
|
created_at: Date;
|
|
67
66
|
updated_at: Date;
|
|
67
|
+
slug: string;
|
|
68
68
|
group_id: number;
|
|
69
69
|
component: import("@prisma/client").$Enums.setting_component_enum;
|
|
70
70
|
user_override: boolean;
|
|
@@ -73,9 +73,9 @@ export declare class SettingService {
|
|
|
73
73
|
value: string | null;
|
|
74
74
|
type: import("@prisma/client").$Enums.setting_type_enum;
|
|
75
75
|
id: number;
|
|
76
|
-
slug: string;
|
|
77
76
|
created_at: Date;
|
|
78
77
|
updated_at: Date;
|
|
78
|
+
slug: string;
|
|
79
79
|
group_id: number;
|
|
80
80
|
component: import("@prisma/client").$Enums.setting_component_enum;
|
|
81
81
|
user_override: boolean;
|
|
@@ -87,9 +87,9 @@ export declare class SettingService {
|
|
|
87
87
|
value: string | null;
|
|
88
88
|
type: import("@prisma/client").$Enums.setting_type_enum;
|
|
89
89
|
id: number;
|
|
90
|
-
slug: string;
|
|
91
90
|
created_at: Date;
|
|
92
91
|
updated_at: Date;
|
|
92
|
+
slug: string;
|
|
93
93
|
group_id: number;
|
|
94
94
|
component: import("@prisma/client").$Enums.setting_component_enum;
|
|
95
95
|
user_override: boolean;
|
|
@@ -98,9 +98,9 @@ export declare class SettingService {
|
|
|
98
98
|
value: string | null;
|
|
99
99
|
type: import("@prisma/client").$Enums.setting_type_enum;
|
|
100
100
|
id: number;
|
|
101
|
-
slug: string;
|
|
102
101
|
created_at: Date;
|
|
103
102
|
updated_at: Date;
|
|
103
|
+
slug: string;
|
|
104
104
|
group_id: number;
|
|
105
105
|
component: import("@prisma/client").$Enums.setting_component_enum;
|
|
106
106
|
user_override: boolean;
|