Skip to content

Commit 3657d08

Browse files
Feat/profile v2 (#58)
* feat(profile): delete avatar/cover * feat(profile): delete account * refactor(profile): add UploadFileResponseDto * chore(profile): posts service calls and parameters * test(user): user controller unit tests * test(user): user service unit tests * test(user): get profile + basic repository queries unit test * test(user): insert/delete relationships repository unit tests * refactor(user): validate deleting relationships using rows affected * fix(user): decrement follower/ing counts in block * test(user): validations + insert interests user repository unit tests * fix(user): throw user not found error in getFollowers/ing * fix(user): set language type to "en" | "ar" --------- Co-authored-by: Mario Raafat <136023677+MarioRaafat@users.noreply.github.com>
1 parent 3b195d7 commit 3657d08

27 files changed

+6646
-2708
lines changed

.husky/pre-push

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
branch_name=$(git symbolic-ref --short HEAD)
44

5-
echo "$branch_name" | grep -Eq '^(feat|fix|chore|hotfix|docs|ci)/[a-z0-9._-]+$'
5+
echo "$branch_name" | grep -Eq '^(feat|fix|chore|hotfix|docs|ci|test)/[a-z0-9._-]+$'
66
if [ $? -ne 0 ]; then
77
echo "❌ Invalid branch name: $branch_name"
8-
echo "👉 Branch name must start with feat/, fix/, chore/, docs/, ci/, or hotfix/ (e.g. feat/signup-page)"
8+
echo "👉 Branch name must start with feat/, fix/, chore/, docs/, ci/, test/ or hotfix/ (e.g. feat/signup-page)"
99
exit 1
1010
fi

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ export default tseslint.config(
144144
],
145145
'@typescript-eslint/interface-name-prefix': 'off',
146146
'@typescript-eslint/no-empty-function': 'warn',
147+
'@typescript-eslint/unbound-method': 'warn',
147148

148149
// Import organization
149150
'sort-imports': [

src/auth/auth.controller.spec.ts

Lines changed: 927 additions & 927 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)