Managing registrations on API v2 (1.51.10)

- v2: staff list (paged), event registrations, registration in full (+ /me), status, manual
  registration, bulk, items, invoice, coupon, attendees and form links, form drafts and responses.
- src/services/registrationAdmin.ts holds the rest of registrationController.js (now v1 wrappers).
- Frontend: fetchAllRegistrations(); every registration screen on v2.
- Roadmap: money gets its own release (1.51.11); webhooks and links move to 1.51.16.

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-29 13:16:59 +02:00
co-authored by Claude Opus 5.5
parent da67f80d6a
commit 31ee2a9aee
16 changed files with 119 additions and 31 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "hope-events-frontend",
"version": "1.51.9",
"version": "1.51.10",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "hope-events-frontend",
"version": "1.51.9",
"version": "1.51.10",
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@hookform/resolvers": "^5.2.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hope-events-frontend",
"version": "1.51.9",
"version": "1.51.10",
"private": true,
"scripts": {
"dev": "next dev",
+18 -7
View File
@@ -15022,19 +15022,30 @@
"additionalProperties": {}
},
"notificationPreference": {
"type": "string",
"enum": [
"email",
"whatsapp",
"both"
"description": "email, whatsapp or both (anything else: worked out from the contact details given)",
"anyOf": [
{
"type": "string",
"maxLength": 20
},
{
"type": "null"
}
]
},
"skipActivationNotice": {
"type": "boolean"
},
"couponCode": {
"type": "string",
"maxLength": 40
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"attendees": {
"maxItems": 1000,
+3 -3
View File
@@ -8176,10 +8176,10 @@ export interface operations {
} & {
[key: string]: unknown;
};
/** @enum {string} */
notificationPreference?: "email" | "whatsapp" | "both";
/** @description email, whatsapp or both (anything else: worked out from the contact details given) */
notificationPreference?: string | null;
skipActivationNotice?: boolean;
couponCode?: string;
couponCode?: string | null;
attendees?: ({
/** @description An attendee already on it (left out = removed) */
id?: string;