People and messaging on API v2 (1.51.14)

- v2: the rest of accounts (code resend, password reset, activation, sessions, closing,
  activity, two-step sign-in; admin users), /event-listing, messaging and broadcasts,
  scheduled messages, automations, WhatsApp connection, banner, saved filters, dashboards,
  stats, analytics, report files.
- GET /me carries the session fields the app needs (prompts, campus scope, 2FA required).
- defineRoute refuses duplicate routes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls1vMdg2GYqbnKZmPaX1ot
This commit is contained in:
2026-10-30 08:11:48 +02:00
co-authored by Claude Opus 5.5
parent 3b5ba6b9c6
commit 23ff8dd31f
7 changed files with 11 additions and 9 deletions
+2
View File
@@ -20,6 +20,8 @@ and this project follows [Semantic Versioning](https://semver.org/).
`/saved-filters`; `/dashboard/today` and `/search`; `/stats/…`; `/analytics/…`; report files `/saved-filters`; `/dashboard/today` and `/search`; `/stats/…`; `/analytics/…`; report files
(`/reports/pdf`, `/excel`, `/email`, `/whatsapp`). (`/reports/pdf`, `/excel`, `/email`, `/whatsapp`).
- `defineRoute` refuses a method and path defined twice (the first would silently win). - `defineRoute` refuses a method and path defined twice (the first would silently win).
- `GET /me` also answers `newsPromptPending`, `noticePromptPending`, `twoFactorRequired` and
`campusScope`, so the app's session (and its after-sign-in prompts) comes from v2.
### Changed ### Changed
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "event-management-backend", "name": "event-management-backend",
"version": "1.51.13", "version": "1.51.14",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "event-management-backend", "name": "event-management-backend",
"version": "1.51.13", "version": "1.51.14",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@cj-tech-master/excelts": "^10.2.0", "@cj-tech-master/excelts": "^10.2.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "event-management-backend", "name": "event-management-backend",
"version": "1.51.13", "version": "1.51.14",
"description": "Event Management System Backend", "description": "Event Management System Backend",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "hope-events-frontend", "name": "hope-events-frontend",
"version": "1.51.13", "version": "1.51.14",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "hope-events-frontend", "name": "hope-events-frontend",
"version": "1.51.13", "version": "1.51.14",
"dependencies": { "dependencies": {
"@dnd-kit/core": "^6.3.1", "@dnd-kit/core": "^6.3.1",
"@hookform/resolvers": "^5.2.1", "@hookform/resolvers": "^5.2.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "hope-events-frontend", "name": "hope-events-frontend",
"version": "1.51.13", "version": "1.51.14",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "hope-events", "name": "hope-events",
"version": "1.51.13", "version": "1.51.14",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "hope-events", "name": "hope-events",
"version": "1.51.13", "version": "1.51.14",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"@axe-core/playwright": "^4.14.0", "@axe-core/playwright": "^4.14.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "hope-events", "name": "hope-events",
"version": "1.51.13", "version": "1.51.14",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev:backend": "cd backend && npm run dev", "dev:backend": "cd backend && npm run dev",