@hed-hog/core 0.0.92 → 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 +1 -1
- 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
|
@@ -21,9 +21,9 @@ export declare class AuthController {
|
|
|
21
21
|
provider: import("@prisma/client").$Enums.user_account_provider_enum;
|
|
22
22
|
created_at: Date;
|
|
23
23
|
updated_at: Date;
|
|
24
|
+
email: string | null;
|
|
24
25
|
user_id: number;
|
|
25
26
|
provider_user_id: string;
|
|
26
|
-
email: string | null;
|
|
27
27
|
scopes: string | null;
|
|
28
28
|
refresh_token: import("@prisma/client/runtime/library").Bytes | null;
|
|
29
29
|
token_expires_at: Date | null;
|
|
@@ -67,9 +67,9 @@ export declare class AuthService {
|
|
|
67
67
|
provider: import("@prisma/client").$Enums.user_account_provider_enum;
|
|
68
68
|
created_at: Date;
|
|
69
69
|
updated_at: Date;
|
|
70
|
+
email: string | null;
|
|
70
71
|
user_id: number;
|
|
71
72
|
provider_user_id: string;
|
|
72
|
-
email: string | null;
|
|
73
73
|
scopes: string | null;
|
|
74
74
|
refresh_token: import("@prisma/client/runtime/library").Bytes | null;
|
|
75
75
|
token_expires_at: Date | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resend-mfa-code.dto.d.ts","sourceRoot":"","sources":["../../../src/auth/dto/resend-mfa-code.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resend-mfa-code.dto.d.ts","sourceRoot":"","sources":["../../../src/auth/dto/resend-mfa-code.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAE3B,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.ResendMfaCodeDTO = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class ResendMfaCodeDTO {
|
|
15
16
|
}
|
|
16
17
|
exports.ResendMfaCodeDTO = ResendMfaCodeDTO;
|
|
17
18
|
__decorate([
|
|
18
|
-
(0, class_validator_1.IsJWT)({ message:
|
|
19
|
+
(0, class_validator_1.IsJWT)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.tokenMustBeJWT', args.value) }),
|
|
19
20
|
__metadata("design:type", String)
|
|
20
21
|
], ResendMfaCodeDTO.prototype, "token", void 0);
|
|
21
22
|
//# sourceMappingURL=resend-mfa-code.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resend-mfa-code.dto.js","sourceRoot":"","sources":["../../../src/auth/dto/resend-mfa-code.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwC;AAExC,MAAa,gBAAgB;CAG5B;AAHD,4CAGC;AADC;IADC,IAAA,uBAAK,EAAC,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"resend-mfa-code.dto.js","sourceRoot":"","sources":["../../../src/auth/dto/resend-mfa-code.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAAwC;AAExC,MAAa,gBAAgB;CAG5B;AAHD,4CAGC;AADC;IADC,IAAA,uBAAK,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;+CACvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/dashboard/dto/create.dto.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/dashboard/dto/create.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGnE,qBAAa,SAAU,SAAQ,aAAa;IAG1C,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -16,8 +16,8 @@ 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.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) }),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
22
|
], CreateDTO.prototype, "slug", void 0);
|
|
23
23
|
//# sourceMappingURL=create.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../../src/dashboard/dashboard/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../../src/dashboard/dashboard/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmE;AACnE,qDAAuD;AAEvD,MAAa,SAAU,SAAQ,0BAAa;CAI3C;AAJD,8BAIC;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;;uCAC5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/dashboard-component/dto/create.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/dashboard-component/dto/create.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGnE,qBAAa,SAAU,SAAQ,aAAa;IAE1C,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAIb,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,UAAU,CAAC,EAAE,MAAM,CAAC;IAIpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,MAAM,CAAC;IAIf,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
|
|
@@ -10,50 +10,50 @@ 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)(),
|
|
19
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
21
|
], CreateDTO.prototype, "slug", void 0);
|
|
22
22
|
__decorate([
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], CreateDTO.prototype, "path", void 0);
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, class_validator_1.IsOptional)(),
|
|
28
|
-
(0, class_validator_1.IsNumber)(),
|
|
28
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
29
29
|
__metadata("design:type", Number)
|
|
30
30
|
], CreateDTO.prototype, "min_width", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
(0, class_validator_1.IsNumber)(),
|
|
33
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
34
34
|
__metadata("design:type", Number)
|
|
35
35
|
], CreateDTO.prototype, "max_width", void 0);
|
|
36
36
|
__decorate([
|
|
37
37
|
(0, class_validator_1.IsOptional)(),
|
|
38
|
-
(0, class_validator_1.IsNumber)(),
|
|
38
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
39
39
|
__metadata("design:type", Number)
|
|
40
40
|
], CreateDTO.prototype, "min_height", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
(0, class_validator_1.IsOptional)(),
|
|
43
|
-
(0, class_validator_1.IsNumber)(),
|
|
43
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
44
44
|
__metadata("design:type", Number)
|
|
45
45
|
], CreateDTO.prototype, "max_height", void 0);
|
|
46
46
|
__decorate([
|
|
47
|
-
(0, class_validator_1.IsNumber)(),
|
|
47
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
48
48
|
__metadata("design:type", Number)
|
|
49
49
|
], CreateDTO.prototype, "width", void 0);
|
|
50
50
|
__decorate([
|
|
51
|
-
(0, class_validator_1.IsNumber)(),
|
|
51
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
52
52
|
__metadata("design:type", Number)
|
|
53
53
|
], CreateDTO.prototype, "height", void 0);
|
|
54
54
|
__decorate([
|
|
55
55
|
(0, class_validator_1.IsOptional)(),
|
|
56
|
-
(0, class_validator_1.IsBoolean)(),
|
|
56
|
+
(0, class_validator_1.IsBoolean)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.booleanRequired', args.value) }),
|
|
57
57
|
__metadata("design:type", Boolean)
|
|
58
58
|
], CreateDTO.prototype, "is_resizable", void 0);
|
|
59
59
|
//# sourceMappingURL=create.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../../src/dashboard/dashboard-component/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../../src/dashboard/dashboard-component/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmE;AACnE,qDAA4E;AAE5E,MAAa,SAAU,SAAQ,0BAAa;CAgC3C;AAhCD,8BAgCC;AA9BC;IADC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;uCAC3E;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,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;4CACzE;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;4CACzE;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;6CACxE;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;6CACxE;AAGpB;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;wCAC9E;AAGd;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;yCAC7E;AAIf;IAFC,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;;+CACnE"}
|
|
@@ -16,9 +16,9 @@ export declare class DashboardCoreController {
|
|
|
16
16
|
path: string;
|
|
17
17
|
width: number;
|
|
18
18
|
id: number;
|
|
19
|
-
slug: string;
|
|
20
19
|
created_at: Date;
|
|
21
20
|
updated_at: Date;
|
|
21
|
+
slug: string;
|
|
22
22
|
min_width: number;
|
|
23
23
|
max_width: number | null;
|
|
24
24
|
min_height: number;
|
|
@@ -31,11 +31,11 @@ export declare class DashboardCoreController {
|
|
|
31
31
|
id: number;
|
|
32
32
|
created_at: Date;
|
|
33
33
|
updated_at: Date;
|
|
34
|
+
user_id: number;
|
|
34
35
|
height: number;
|
|
35
36
|
x_axis: number;
|
|
36
37
|
y_axis: number;
|
|
37
38
|
item_id: number;
|
|
38
|
-
user_id: number;
|
|
39
39
|
}[];
|
|
40
40
|
} & {
|
|
41
41
|
width: number;
|
|
@@ -16,9 +16,9 @@ export declare class DashboardCoreService {
|
|
|
16
16
|
path: string;
|
|
17
17
|
width: number;
|
|
18
18
|
id: number;
|
|
19
|
-
slug: string;
|
|
20
19
|
created_at: Date;
|
|
21
20
|
updated_at: Date;
|
|
21
|
+
slug: string;
|
|
22
22
|
min_width: number;
|
|
23
23
|
max_width: number | null;
|
|
24
24
|
min_height: number;
|
|
@@ -31,11 +31,11 @@ export declare class DashboardCoreService {
|
|
|
31
31
|
id: number;
|
|
32
32
|
created_at: Date;
|
|
33
33
|
updated_at: Date;
|
|
34
|
+
user_id: number;
|
|
34
35
|
height: number;
|
|
35
36
|
x_axis: number;
|
|
36
37
|
y_axis: number;
|
|
37
38
|
item_id: number;
|
|
38
|
-
user_id: number;
|
|
39
39
|
}[];
|
|
40
40
|
} & {
|
|
41
41
|
width: number;
|
|
@@ -10,32 +10,33 @@ 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 api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class CreateDTO {
|
|
15
16
|
}
|
|
16
17
|
exports.CreateDTO = CreateDTO;
|
|
17
18
|
__decorate([
|
|
18
|
-
(0, class_validator_1.IsNumber)(),
|
|
19
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
19
20
|
__metadata("design:type", Number)
|
|
20
21
|
], CreateDTO.prototype, "component_id", void 0);
|
|
21
22
|
__decorate([
|
|
22
|
-
(0, class_validator_1.IsNumber)(),
|
|
23
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
23
24
|
__metadata("design:type", Number)
|
|
24
25
|
], CreateDTO.prototype, "dashboard_id", void 0);
|
|
25
26
|
__decorate([
|
|
26
|
-
(0, class_validator_1.IsNumber)(),
|
|
27
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
27
28
|
__metadata("design:type", Number)
|
|
28
29
|
], CreateDTO.prototype, "width", void 0);
|
|
29
30
|
__decorate([
|
|
30
|
-
(0, class_validator_1.IsNumber)(),
|
|
31
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
31
32
|
__metadata("design:type", Number)
|
|
32
33
|
], CreateDTO.prototype, "height", void 0);
|
|
33
34
|
__decorate([
|
|
34
|
-
(0, class_validator_1.IsNumber)(),
|
|
35
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
35
36
|
__metadata("design:type", Number)
|
|
36
37
|
], CreateDTO.prototype, "x_axis", void 0);
|
|
37
38
|
__decorate([
|
|
38
|
-
(0, class_validator_1.IsNumber)(),
|
|
39
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
39
40
|
__metadata("design:type", Number)
|
|
40
41
|
], CreateDTO.prototype, "y_axis", void 0);
|
|
41
42
|
//# sourceMappingURL=create.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../../src/dashboard/dashboard-item/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../../src/dashboard/dashboard-item/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAA2C;AAE3C,MAAa,SAAS;CAkBrB;AAlBD,8BAkBC;AAhBC;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;+CACvE;AAGrB;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;+CACvE;AAGrB;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;wCAC9E;AAGd;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;yCAC7E;AAGf;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;yCAC7E;AAGf;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;yCAC7E"}
|
|
@@ -19,33 +19,33 @@ export declare class DashboardUserController {
|
|
|
19
19
|
id: number;
|
|
20
20
|
created_at: Date;
|
|
21
21
|
updated_at: Date;
|
|
22
|
+
user_id: number;
|
|
22
23
|
height: number;
|
|
23
24
|
x_axis: number;
|
|
24
25
|
y_axis: number;
|
|
25
26
|
item_id: number;
|
|
26
|
-
user_id: number;
|
|
27
27
|
}>;
|
|
28
28
|
create(data: CreateDTO): Promise<{
|
|
29
29
|
width: number;
|
|
30
30
|
id: number;
|
|
31
31
|
created_at: Date;
|
|
32
32
|
updated_at: Date;
|
|
33
|
+
user_id: number;
|
|
33
34
|
height: number;
|
|
34
35
|
x_axis: number;
|
|
35
36
|
y_axis: number;
|
|
36
37
|
item_id: number;
|
|
37
|
-
user_id: number;
|
|
38
38
|
}>;
|
|
39
39
|
update(id: number, data: UpdateDTO): Promise<{
|
|
40
40
|
width: number;
|
|
41
41
|
id: number;
|
|
42
42
|
created_at: Date;
|
|
43
43
|
updated_at: Date;
|
|
44
|
+
user_id: number;
|
|
44
45
|
height: number;
|
|
45
46
|
x_axis: number;
|
|
46
47
|
y_axis: number;
|
|
47
48
|
item_id: number;
|
|
48
|
-
user_id: number;
|
|
49
49
|
}>;
|
|
50
50
|
delete(data: DeleteDTO): Promise<{
|
|
51
51
|
count: number;
|
|
@@ -23,22 +23,22 @@ export declare class DashboardUserService {
|
|
|
23
23
|
id: number;
|
|
24
24
|
created_at: Date;
|
|
25
25
|
updated_at: Date;
|
|
26
|
+
user_id: number;
|
|
26
27
|
height: number;
|
|
27
28
|
x_axis: number;
|
|
28
29
|
y_axis: number;
|
|
29
30
|
item_id: number;
|
|
30
|
-
user_id: number;
|
|
31
31
|
}>;
|
|
32
32
|
create(data: CreateDTO): Promise<{
|
|
33
33
|
width: number;
|
|
34
34
|
id: number;
|
|
35
35
|
created_at: Date;
|
|
36
36
|
updated_at: Date;
|
|
37
|
+
user_id: number;
|
|
37
38
|
height: number;
|
|
38
39
|
x_axis: number;
|
|
39
40
|
y_axis: number;
|
|
40
41
|
item_id: number;
|
|
41
|
-
user_id: number;
|
|
42
42
|
}>;
|
|
43
43
|
update({ id, data }: {
|
|
44
44
|
id: number;
|
|
@@ -48,11 +48,11 @@ export declare class DashboardUserService {
|
|
|
48
48
|
id: number;
|
|
49
49
|
created_at: Date;
|
|
50
50
|
updated_at: Date;
|
|
51
|
+
user_id: number;
|
|
51
52
|
height: number;
|
|
52
53
|
x_axis: number;
|
|
53
54
|
y_axis: number;
|
|
54
55
|
item_id: number;
|
|
55
|
-
user_id: number;
|
|
56
56
|
}>;
|
|
57
57
|
delete({ ids }: DeleteDTO): Promise<{
|
|
58
58
|
count: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/dashboard-user/dto/create.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/dashboard-user/dto/create.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGnE,qBAAa,SAAU,SAAQ,aAAa;IAE1C,OAAO,EAAE,MAAM,CAAC;IAGhB,OAAO,EAAE,MAAM,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -10,33 +10,33 @@ 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.IsNumber)(),
|
|
19
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
20
20
|
__metadata("design:type", Number)
|
|
21
21
|
], CreateDTO.prototype, "item_id", void 0);
|
|
22
22
|
__decorate([
|
|
23
|
-
(0, class_validator_1.IsNumber)(),
|
|
23
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
24
24
|
__metadata("design:type", Number)
|
|
25
25
|
], CreateDTO.prototype, "user_id", void 0);
|
|
26
26
|
__decorate([
|
|
27
|
-
(0, class_validator_1.IsNumber)(),
|
|
27
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
28
28
|
__metadata("design:type", Number)
|
|
29
29
|
], CreateDTO.prototype, "width", void 0);
|
|
30
30
|
__decorate([
|
|
31
|
-
(0, class_validator_1.IsNumber)(),
|
|
31
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
32
32
|
__metadata("design:type", Number)
|
|
33
33
|
], CreateDTO.prototype, "height", void 0);
|
|
34
34
|
__decorate([
|
|
35
|
-
(0, class_validator_1.IsNumber)(),
|
|
35
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
36
36
|
__metadata("design:type", Number)
|
|
37
37
|
], CreateDTO.prototype, "x_axis", void 0);
|
|
38
38
|
__decorate([
|
|
39
|
-
(0, class_validator_1.IsNumber)(),
|
|
39
|
+
(0, class_validator_1.IsNumber)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value) }),
|
|
40
40
|
__metadata("design:type", Number)
|
|
41
41
|
], CreateDTO.prototype, "y_axis", void 0);
|
|
42
42
|
//# sourceMappingURL=create.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../../src/dashboard/dashboard-user/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../../src/dashboard/dashboard-user/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmE;AACnE,qDAA2C;AAE3C,MAAa,SAAU,SAAQ,0BAAa;CAkB3C;AAlBD,8BAkBC;AAhBC;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;0CAC5E;AAGhB;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;0CAC5E;AAGhB;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;wCAC9E;AAGd;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;yCAC7E;AAGf;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;yCAC7E;AAGf;IADC,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;yCAC7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.dto.d.ts","sourceRoot":"","sources":["../../src/dto/delete.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete.dto.d.ts","sourceRoot":"","sources":["../../src/dto/delete.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,SAAS;IAIpB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf"}
|
package/dist/dto/delete.dto.js
CHANGED
|
@@ -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)({ message:
|
|
19
|
-
(0, class_validator_1.ArrayMinSize)(1, { message:
|
|
20
|
-
(0, class_validator_1.IsInt)({ each: true, message:
|
|
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/dto/delete.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,SAAS;CAKrB;AALD,8BAKC;AADC;IAHC,IAAA,yBAAO,EAAC,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"delete.dto.js","sourceRoot":"","sources":["../../src/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":"update-ids.dto.d.ts","sourceRoot":"","sources":["../../src/dto/update-ids.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-ids.dto.d.ts","sourceRoot":"","sources":["../../src/dto/update-ids.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,YAAY;IAQvB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf"}
|
|
@@ -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.UpdateIdsDTO = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class UpdateIdsDTO {
|
|
15
16
|
}
|
|
@@ -17,10 +18,10 @@ exports.UpdateIdsDTO = UpdateIdsDTO;
|
|
|
17
18
|
__decorate([
|
|
18
19
|
(0, class_validator_1.IsInt)({
|
|
19
20
|
each: true,
|
|
20
|
-
message:
|
|
21
|
+
message: (args) => (0, api_locale_1.getLocaleText)('validation.numberRequired', args.value),
|
|
21
22
|
}),
|
|
22
23
|
(0, class_validator_1.IsArray)({
|
|
23
|
-
message:
|
|
24
|
+
message: (args) => (0, api_locale_1.getLocaleText)('validation.arrayRequired', args.value),
|
|
24
25
|
}),
|
|
25
26
|
__metadata("design:type", Array)
|
|
26
27
|
], UpdateIdsDTO.prototype, "ids", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-ids.dto.js","sourceRoot":"","sources":["../../src/dto/update-ids.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AAEjD,MAAa,YAAY;CASxB;AATD,oCASC;AADC;IAPC,IAAA,uBAAK,EAAC;QACL,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"update-ids.dto.js","sourceRoot":"","sources":["../../src/dto/update-ids.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAAiD;AAEjD,MAAa,YAAY;CASxB;AATD,oCASC;AADC;IAPC,IAAA,uBAAK,EAAC;QACL,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC;KAC1E,CAAC;IACD,IAAA,yBAAO,EAAC;QACP,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,0BAA0B,EAAE,IAAI,CAAC,KAAK,CAAC;KACzE,CAAC;;yCACY"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.dto.d.ts","sourceRoot":"","sources":["../../../src/file/dto/delete.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete.dto.d.ts","sourceRoot":"","sources":["../../../src/file/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/file/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/file/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":"upload.dto.d.ts","sourceRoot":"","sources":["../../../src/file/dto/upload.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload.dto.d.ts","sourceRoot":"","sources":["../../../src/file/dto/upload.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,aAAa;IAGxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -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.UploadFileDTO = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class UploadFileDTO {
|
|
15
16
|
}
|
|
16
17
|
exports.UploadFileDTO = UploadFileDTO;
|
|
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
|
(0, class_validator_1.IsOptional)(),
|
|
20
21
|
__metadata("design:type", String)
|
|
21
22
|
], UploadFileDTO.prototype, "destination", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.dto.js","sourceRoot":"","sources":["../../../src/file/dto/upload.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,aAAa;CAIzB;AAJD,sCAIC;AADC;IAFC,IAAA,0BAAQ,
|
|
1
|
+
{"version":3,"file":"upload.dto.js","sourceRoot":"","sources":["../../../src/file/dto/upload.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,qDAAuD;AAEvD,MAAa,aAAa;CAIzB;AAJD,sCAIC;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,GAAE;;kDACQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-migration.dto.d.ts","sourceRoot":"","sources":["../../../src/install/dto/generate-migration.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-migration.dto.d.ts","sourceRoot":"","sources":["../../../src/install/dto/generate-migration.dto.ts"],"names":[],"mappings":"AAIA,cAAM,qBAAqB;IAGzB,WAAW,EAAE,MAAM,CAAC;IAIpB,OAAO,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,wBAAwB;IAGnC,IAAI,EAAE,MAAM,CAAC;IAKb,YAAY,EAAE,qBAAqB,EAAE,CAAC;IAItC,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB"}
|
|
@@ -10,42 +10,43 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.GenerateMailMigrationDTO = 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 MailLocaleTranslation {
|
|
16
17
|
}
|
|
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
|
], MailLocaleTranslation.prototype, "locale_code", void 0);
|
|
22
23
|
__decorate([
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
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) }),
|
|
25
26
|
__metadata("design:type", String)
|
|
26
27
|
], MailLocaleTranslation.prototype, "subject", void 0);
|
|
27
28
|
__decorate([
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.fieldRequired', args.value) }),
|
|
30
31
|
__metadata("design:type", String)
|
|
31
32
|
], MailLocaleTranslation.prototype, "body", void 0);
|
|
32
33
|
class GenerateMailMigrationDTO {
|
|
33
34
|
}
|
|
34
35
|
exports.GenerateMailMigrationDTO = GenerateMailMigrationDTO;
|
|
35
36
|
__decorate([
|
|
36
|
-
(0, class_validator_1.IsString)(),
|
|
37
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
37
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
38
|
+
(0, class_validator_1.IsNotEmpty)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.fieldRequired', args.value) }),
|
|
38
39
|
__metadata("design:type", String)
|
|
39
40
|
], GenerateMailMigrationDTO.prototype, "slug", void 0);
|
|
40
41
|
__decorate([
|
|
41
|
-
(0, class_validator_1.IsArray)(),
|
|
42
|
+
(0, class_validator_1.IsArray)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.arrayRequired', args.value) }),
|
|
42
43
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
43
44
|
(0, class_transformer_1.Type)(() => MailLocaleTranslation),
|
|
44
45
|
__metadata("design:type", Array)
|
|
45
46
|
], GenerateMailMigrationDTO.prototype, "translations", void 0);
|
|
46
47
|
__decorate([
|
|
47
|
-
(0, class_validator_1.IsArray)(),
|
|
48
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
48
|
+
(0, class_validator_1.IsArray)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.arrayRequired', args.value) }),
|
|
49
|
+
(0, class_validator_1.IsString)({ each: true, message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
49
50
|
__metadata("design:type", Array)
|
|
50
51
|
], GenerateMailMigrationDTO.prototype, "variables", void 0);
|
|
51
52
|
//# sourceMappingURL=generate-migration.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-migration.dto.js","sourceRoot":"","sources":["../../../src/install/dto/generate-migration.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAgF;AAEhF,MAAM,qBAAqB;CAY1B;AATC;IAFC,IAAA,0BAAQ,
|
|
1
|
+
{"version":3,"file":"generate-migration.dto.js","sourceRoot":"","sources":["../../../src/install/dto/generate-migration.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,yDAAyC;AACzC,qDAAgF;AAEhF,MAAM,qBAAqB;CAY1B;AATC;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;;0DACrE;AAIpB;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;;sDACzE;AAIhB;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;;mDAC5E;AAGf,MAAa,wBAAwB;CAapC;AAbD,4DAaC;AAVC;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;;sDAC5E;AAKb;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,qBAAqB,CAAC;;8DACI;AAItC;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,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;;2DAChF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../src/mail/dto/create.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../src/mail/dto/create.dto.ts"],"names":[],"mappings":"AAUA,cAAM,aAAa;IAEjB,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;IAGhB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,cAAM,UAAU;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,qBAAa,SAAS;IAEpB,IAAI,EAAE,MAAM,CAAC;IAMb,WAAW,CAAC,EAAE,aAAa,EAAE,CAAC;IAM9B,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB"}
|