Skip to content

Commit

Permalink
chore: update deps (#1267)
Browse files Browse the repository at this point in the history
* chore: update frontend deps

* chore: update docs deps

NB: downgrade prettier because of this issue: prettier/prettier#16929

* chore: update email generator deps

* chore: update backend deps
  • Loading branch information
hydrielax authored Jan 5, 2025
1 parent 41fa576 commit 904768f
Show file tree
Hide file tree
Showing 7 changed files with 13,251 additions and 9,415 deletions.
835 changes: 414 additions & 421 deletions backend/Pipfile.lock

Large diffs are not rendered by default.

8,722 changes: 6,173 additions & 2,549 deletions docs/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@docusaurus/module-type-aliases": "^3.1.1",
"@docusaurus/tsconfig": "^3.1.1",
"@docusaurus/types": "^3.1.1",
"prettier": "^3.1.1",
"prettier": "~3.3.0",
"typescript": "^5.2.2"
},
"browserslist": {
Expand Down
4,163 changes: 2,555 additions & 1,608 deletions email-templates-generator/package-lock.json

Large diffs are not rendered by default.

8,936 changes: 4,106 additions & 4,830 deletions frontend/package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { TranslatedFieldsDTO } from './translatedField.dto';
import { TranslatedFieldObject } from './translatedField.types';

type TranslatedFieldsDTOWithOriginal<Field extends string> =
TranslatedFieldsDTO<Field> & {
[K in Field]: undefined;
};
TranslatedFieldsDTO<Field> & Record<Field, undefined>;

/**
* Converts a TranslatedFieldObject to a TranslatedFieldsDTO.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { BaseLanguage } from '#shared/i18n/config';

export type TranslatedFieldObject = {
[Lang in BaseLanguage]: string;
};
export type TranslatedFieldObject = Record<BaseLanguage, string>;

0 comments on commit 904768f

Please sign in to comment.