hh-contracts 0.0.64 → 0.0.65
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.
|
@@ -129,7 +129,7 @@ export const APP_ERRORS = {
|
|
|
129
129
|
failed: {
|
|
130
130
|
statusCode: 500, // HttpStatus.INTERNAL_SERVER_ERROR,
|
|
131
131
|
code: 'TRANSLATE-01',
|
|
132
|
-
messageKey: 'errors.
|
|
132
|
+
messageKey: 'errors.translate.failed',
|
|
133
133
|
},
|
|
134
134
|
},
|
|
135
135
|
user: {
|
|
@@ -207,7 +207,7 @@ interface IError {
|
|
|
207
207
|
messageKey: string;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
type TMappedErrors<T extends Record<string, unknown>> = {
|
|
210
|
+
export type TMappedErrors<T extends Record<string, unknown>> = {
|
|
211
211
|
[k in keyof T]: T[k] extends Record<string, unknown>
|
|
212
212
|
? T[k] extends IError
|
|
213
213
|
? T[k]
|