Skip to content

Commit e16e121

Browse files
committed
Refactor MessageQueue imports and restructure user service
- Updated import paths for job processors in worker.emails.ts and worker.notification.ts to reflect new directory structure. - Deleted gen-app-config.ts as it is no longer needed. - Modified gen-import.ts to include new imports and removed obsolete ones. - Refactored user middleware to utilize BaseUser service for user profile retrieval. - Adjusted publish.controller.ts and register.controller.ts to use updated import paths for queue jobs. - Enhanced base.auth.service.ts to leverage BaseUser for user profile checks. - Updated project controllers to use new queue import paths. - Added user_profile and user_profile_email methods to BaseUser service for better user data handling.
1 parent f9ef491 commit e16e121

23 files changed

Lines changed: 414 additions & 1042 deletions

‎.github/workflows/notify.discord.yml‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
name: Notify Discord
22

33
on:
4-
push:
5-
branches:
6-
- "**"
7-
8-
permissions:
9-
contents: read
4+
workflow_run:
5+
workflows:
6+
- Test Build TypeScript Project
7+
types:
8+
- completed
109

1110
jobs:
1211
notify:
1312
runs-on: ubuntu-latest
1413
steps:
15-
- name: Send Discord Notification Lesoll Server
14+
- name: Send Discord Notification Me Server
1615
env:
1716
GH_ACTOR: ${{ github.actor }}
1817
GH_BRANCH: ${{ github.ref_name }}

‎deploy-cleanup.sh‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4+
# clean all data in cache
5+
echo "🧹 Clearing Redis..."
6+
node scripts/clear-redis.js
7+
48
REMOVED=(
59
"k8s"
610
"docs"
711
".claude"
812
".agents"
913
".cursor"
14+
"mcp"
15+
".husky"
16+
".github"
17+
"script"
1018
".github"
1119
"nginx"
1220
"Dockerfile"
@@ -45,7 +53,4 @@ else
4553
exit 1
4654
fi
4755

48-
echo "🧹 Clearing Redis..."
49-
node scripts/clear-redis.js
50-
5156
echo "✅ ✅ done."

0 commit comments

Comments
 (0)