@burdenoff/microfe-atheletebridge 2026.1031.2 → 2026.1102.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atheletebridge/AthleteBridgeRoot.d.ts.map +1 -1
- package/dist/atheletebridge/AthleteBridgeRoot.js +63 -47
- package/dist/atheletebridge/AthleteBridgeRoot.js.map +1 -1
- package/dist/atheletebridge/AthleteBridgeRoutes.d.ts.map +1 -1
- package/dist/atheletebridge/AthleteBridgeRoutes.js +62 -6
- package/dist/atheletebridge/AthleteBridgeRoutes.js.map +1 -1
- package/dist/atheletebridge/components/StatusBadge.d.ts.map +1 -1
- package/dist/atheletebridge/components/StatusBadge.js +13 -1
- package/dist/atheletebridge/components/StatusBadge.js.map +1 -1
- package/dist/atheletebridge/components/registration/PaymentSummaryPanel.d.ts +6 -0
- package/dist/atheletebridge/components/registration/PaymentSummaryPanel.d.ts.map +1 -0
- package/dist/atheletebridge/components/registration/PaymentSummaryPanel.js +104 -0
- package/dist/atheletebridge/components/registration/PaymentSummaryPanel.js.map +1 -0
- package/dist/atheletebridge/components/registration/RegistrationEntryFields.d.ts +15 -0
- package/dist/atheletebridge/components/registration/RegistrationEntryFields.d.ts.map +1 -0
- package/dist/atheletebridge/components/registration/RegistrationEntryFields.js +236 -0
- package/dist/atheletebridge/components/registration/RegistrationEntryFields.js.map +1 -0
- package/dist/atheletebridge/components/registration/entryRules.d.ts +23 -0
- package/dist/atheletebridge/components/registration/entryRules.d.ts.map +1 -0
- package/dist/atheletebridge/components/registration/entryRules.js +29 -0
- package/dist/atheletebridge/components/registration/entryRules.js.map +1 -0
- package/dist/atheletebridge/hooks/useAthleteBridgeApi.d.ts +6 -2
- package/dist/atheletebridge/hooks/useAthleteBridgeApi.d.ts.map +1 -1
- package/dist/atheletebridge/hooks/useAthleteBridgeApi.js +297 -281
- package/dist/atheletebridge/hooks/useAthleteBridgeApi.js.map +1 -1
- package/dist/atheletebridge/hooks/useRegistrationApi.d.ts +54 -0
- package/dist/atheletebridge/hooks/useRegistrationApi.d.ts.map +1 -0
- package/dist/atheletebridge/hooks/useRegistrationApi.js +265 -0
- package/dist/atheletebridge/hooks/useRegistrationApi.js.map +1 -0
- package/dist/atheletebridge/pages/fixtures/FixtureDetailPage.d.ts.map +1 -1
- package/dist/atheletebridge/pages/fixtures/FixtureDetailPage.js +123 -416
- package/dist/atheletebridge/pages/fixtures/FixtureDetailPage.js.map +1 -1
- package/dist/atheletebridge/pages/registrations/MyRegistrationsPage.d.ts +10 -0
- package/dist/atheletebridge/pages/registrations/MyRegistrationsPage.d.ts.map +1 -0
- package/dist/atheletebridge/pages/registrations/MyRegistrationsPage.js +89 -0
- package/dist/atheletebridge/pages/registrations/MyRegistrationsPage.js.map +1 -0
- package/dist/atheletebridge/pages/registrations/RecordRegistrationPage.d.ts +10 -0
- package/dist/atheletebridge/pages/registrations/RecordRegistrationPage.d.ts.map +1 -0
- package/dist/atheletebridge/pages/registrations/RecordRegistrationPage.js +94 -0
- package/dist/atheletebridge/pages/registrations/RecordRegistrationPage.js.map +1 -0
- package/dist/atheletebridge/pages/registrations/RegisterPage.d.ts +11 -0
- package/dist/atheletebridge/pages/registrations/RegisterPage.d.ts.map +1 -0
- package/dist/atheletebridge/pages/registrations/RegisterPage.js +160 -0
- package/dist/atheletebridge/pages/registrations/RegisterPage.js.map +1 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormBuilderPage.d.ts +10 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormBuilderPage.d.ts.map +1 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormBuilderPage.js +602 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormBuilderPage.js.map +1 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormDetailPage.d.ts +9 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormDetailPage.d.ts.map +1 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormDetailPage.js +317 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormDetailPage.js.map +1 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormsListPage.d.ts +9 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormsListPage.d.ts.map +1 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormsListPage.js +127 -0
- package/dist/atheletebridge/pages/registrations/RegistrationFormsListPage.js.map +1 -0
- package/dist/atheletebridge/pages/registrations/RegistrationSubmissionPage.d.ts +11 -0
- package/dist/atheletebridge/pages/registrations/RegistrationSubmissionPage.d.ts.map +1 -0
- package/dist/atheletebridge/pages/registrations/RegistrationSubmissionPage.js +411 -0
- package/dist/atheletebridge/pages/registrations/RegistrationSubmissionPage.js.map +1 -0
- package/dist/atheletebridge/types/registration.d.ts +220 -0
- package/dist/atheletebridge/types/registration.d.ts.map +1 -0
- package/dist/atheletebridge/utils/fixtureCapabilities.d.ts +19 -0
- package/dist/atheletebridge/utils/fixtureCapabilities.d.ts.map +1 -0
- package/dist/atheletebridge/utils/fixtureCapabilities.js +21 -0
- package/dist/atheletebridge/utils/fixtureCapabilities.js.map +1 -0
- package/dist/atheletebridge/utils/money.d.ts +22 -0
- package/dist/atheletebridge/utils/money.d.ts.map +1 -0
- package/dist/atheletebridge/utils/money.js +38 -0
- package/dist/atheletebridge/utils/money.js.map +1 -0
- package/dist/atheletebridge/utils/registration.d.ts +17 -0
- package/dist/atheletebridge/utils/registration.d.ts.map +1 -0
- package/dist/atheletebridge/utils/registration.js +25 -0
- package/dist/atheletebridge/utils/registration.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import { useAthleteBridge as e } from "../context/AthleteBridgeContext.js";
|
|
2
|
+
import "../context/index.js";
|
|
3
|
+
import { athQuery as t } from "./useAthleteBridgeApi.js";
|
|
4
|
+
import { useMutation as n, useQuery as r, useQueryClient as i } from "@tanstack/react-query";
|
|
5
|
+
//#region src/atheletebridge/hooks/useRegistrationApi.ts
|
|
6
|
+
var a = ["atheletebridge", "registration"], o = "id key label fieldType required options helpText position", s = "id name description amount feeType position", c = `
|
|
7
|
+
id workspaceId title description season teamId programId slug status currency
|
|
8
|
+
opensAt closesAt maxSubmissions waiverText publishedAt closedAt isOpen
|
|
9
|
+
submissionCount createdAt updatedAt
|
|
10
|
+
fields { ${o} }
|
|
11
|
+
fees { ${s} }
|
|
12
|
+
`, l = "\n id workspaceId formId formTitle source submittedByUserId participantName\n participantUserId contactName contactEmail contactPhone answers selectedFeeIds\n status paymentStatus amountDue amountPaid amountOutstanding currency\n waiverAcceptedAt reviewNotes reviewedAt submittedAt createdAt updatedAt\n", u = "\n id submissionId amount refundedAmount netAmount currency method status\n reference note receivedAt voidedAt voidReason refundedAt refundReason\n createdBy createdAt\n", d = "\n formId submissionCount acceptedCount notRequiredCount unpaidCount\n partiallyPaidCount paidCount refundedCount\n totals { currency amountDue amountCollected amountRefunded amountOutstanding }\n", f = `
|
|
13
|
+
id slug title description season currency opensAt closesAt waiverText isOpen
|
|
14
|
+
spotsRemaining
|
|
15
|
+
fields { ${o} }
|
|
16
|
+
fees { ${s} }
|
|
17
|
+
`, p = "\n id formId formTitle formSlug participantName status paymentStatus amountDue\n amountPaid amountOutstanding currency submittedAt\n", m = () => {
|
|
18
|
+
let e = i();
|
|
19
|
+
return () => e.invalidateQueries({ queryKey: a });
|
|
20
|
+
}, h = (n = {}) => {
|
|
21
|
+
let { apiGatewayUrl: i, workspaceId: o } = e();
|
|
22
|
+
return r({
|
|
23
|
+
queryKey: [
|
|
24
|
+
...a,
|
|
25
|
+
o ?? null,
|
|
26
|
+
"forms",
|
|
27
|
+
n
|
|
28
|
+
],
|
|
29
|
+
queryFn: async () => (await t(`query AthListRegistrationForms($status: AthRegistrationFormStatus, $season: String, $pagination: PaginationInput) {
|
|
30
|
+
athListRegistrationForms(status: $status, season: $season, pagination: $pagination) {
|
|
31
|
+
items { ${c} }
|
|
32
|
+
pageInfo { cursor hasMore }
|
|
33
|
+
}
|
|
34
|
+
}`, { ...n }, i)).athListRegistrationForms
|
|
35
|
+
});
|
|
36
|
+
}, g = (n) => {
|
|
37
|
+
let { apiGatewayUrl: i, workspaceId: o } = e();
|
|
38
|
+
return r({
|
|
39
|
+
queryKey: [
|
|
40
|
+
...a,
|
|
41
|
+
o ?? null,
|
|
42
|
+
"form",
|
|
43
|
+
n
|
|
44
|
+
],
|
|
45
|
+
queryFn: async () => (await t(`query AthRegistrationForm($id: ID!) { athRegistrationForm(id: $id) { ${c} } }`, { id: n }, i)).athRegistrationForm,
|
|
46
|
+
enabled: !!n
|
|
47
|
+
});
|
|
48
|
+
}, _ = () => {
|
|
49
|
+
let { apiGatewayUrl: r } = e(), i = m();
|
|
50
|
+
return n({
|
|
51
|
+
mutationFn: async (e) => (await t(`mutation AthCreateRegistrationForm($input: AthCreateRegistrationFormInput!) {
|
|
52
|
+
athCreateRegistrationForm(input: $input) { ${c} }
|
|
53
|
+
}`, { input: e }, r)).athCreateRegistrationForm,
|
|
54
|
+
onSuccess: () => void i()
|
|
55
|
+
});
|
|
56
|
+
}, v = () => {
|
|
57
|
+
let { apiGatewayUrl: r } = e(), i = m();
|
|
58
|
+
return n({
|
|
59
|
+
mutationFn: async ({ id: e, input: n }) => (await t(`mutation AthUpdateRegistrationForm($id: ID!, $input: AthUpdateRegistrationFormInput!) {
|
|
60
|
+
athUpdateRegistrationForm(id: $id, input: $input) { ${c} }
|
|
61
|
+
}`, {
|
|
62
|
+
id: e,
|
|
63
|
+
input: n
|
|
64
|
+
}, r)).athUpdateRegistrationForm,
|
|
65
|
+
onSuccess: () => void i()
|
|
66
|
+
});
|
|
67
|
+
}, y = {
|
|
68
|
+
publish: {
|
|
69
|
+
field: "athPublishRegistrationForm",
|
|
70
|
+
selection: `{ ${c} }`
|
|
71
|
+
},
|
|
72
|
+
close: {
|
|
73
|
+
field: "athCloseRegistrationForm",
|
|
74
|
+
selection: `{ ${c} }`
|
|
75
|
+
},
|
|
76
|
+
archive: {
|
|
77
|
+
field: "athArchiveRegistrationForm",
|
|
78
|
+
selection: ""
|
|
79
|
+
}
|
|
80
|
+
}, b = () => {
|
|
81
|
+
let { apiGatewayUrl: r } = e(), i = m();
|
|
82
|
+
return n({
|
|
83
|
+
mutationFn: async ({ id: e, action: n }) => {
|
|
84
|
+
let { field: i, selection: a } = y[n];
|
|
85
|
+
return await t(`mutation AthRegistrationFormLifecycle($id: ID!) { ${i}(id: $id) ${a} }`, { id: e }, r), n;
|
|
86
|
+
},
|
|
87
|
+
onSuccess: () => void i()
|
|
88
|
+
});
|
|
89
|
+
}, x = (n, i = !0) => {
|
|
90
|
+
let { apiGatewayUrl: o, workspaceId: s } = e();
|
|
91
|
+
return r({
|
|
92
|
+
queryKey: [
|
|
93
|
+
...a,
|
|
94
|
+
s ?? null,
|
|
95
|
+
"submissions",
|
|
96
|
+
n
|
|
97
|
+
],
|
|
98
|
+
queryFn: async () => (await t(`query AthListRegistrationSubmissions(
|
|
99
|
+
$formId: ID
|
|
100
|
+
$status: AthRegistrationSubmissionStatus
|
|
101
|
+
$paymentStatus: AthRegistrationPaymentStatus
|
|
102
|
+
$pagination: PaginationInput
|
|
103
|
+
) {
|
|
104
|
+
athListRegistrationSubmissions(
|
|
105
|
+
formId: $formId
|
|
106
|
+
status: $status
|
|
107
|
+
paymentStatus: $paymentStatus
|
|
108
|
+
pagination: $pagination
|
|
109
|
+
) {
|
|
110
|
+
items { ${l} }
|
|
111
|
+
pageInfo { cursor hasMore }
|
|
112
|
+
}
|
|
113
|
+
}`, { ...n }, o)).athListRegistrationSubmissions,
|
|
114
|
+
enabled: i
|
|
115
|
+
});
|
|
116
|
+
}, S = (n) => {
|
|
117
|
+
let { apiGatewayUrl: i, workspaceId: o } = e();
|
|
118
|
+
return r({
|
|
119
|
+
queryKey: [
|
|
120
|
+
...a,
|
|
121
|
+
o ?? null,
|
|
122
|
+
"submission",
|
|
123
|
+
n
|
|
124
|
+
],
|
|
125
|
+
queryFn: async () => (await t(`query AthRegistrationSubmission($id: ID!) {
|
|
126
|
+
athRegistrationSubmission(id: $id) { ${l} }
|
|
127
|
+
}`, { id: n }, i)).athRegistrationSubmission,
|
|
128
|
+
enabled: !!n
|
|
129
|
+
});
|
|
130
|
+
}, C = () => {
|
|
131
|
+
let { apiGatewayUrl: r } = e(), i = m();
|
|
132
|
+
return n({
|
|
133
|
+
mutationFn: async (e) => (await t(`mutation AthRecordRegistration($input: AthRecordRegistrationInput!) {
|
|
134
|
+
athRecordRegistration(input: $input) { ${l} }
|
|
135
|
+
}`, { input: e }, r)).athRecordRegistration,
|
|
136
|
+
onSuccess: () => void i()
|
|
137
|
+
});
|
|
138
|
+
}, w = () => {
|
|
139
|
+
let { apiGatewayUrl: r } = e(), i = m();
|
|
140
|
+
return n({
|
|
141
|
+
mutationFn: async ({ id: e, decision: n, notes: i }) => (await t(`mutation AthReviewRegistrationSubmission($id: ID!, $input: AthReviewRegistrationInput!) {
|
|
142
|
+
athReviewRegistrationSubmission(id: $id, input: $input) { ${l} }
|
|
143
|
+
}`, {
|
|
144
|
+
id: e,
|
|
145
|
+
input: {
|
|
146
|
+
decision: n,
|
|
147
|
+
notes: i
|
|
148
|
+
}
|
|
149
|
+
}, r)).athReviewRegistrationSubmission,
|
|
150
|
+
onSuccess: () => void i()
|
|
151
|
+
});
|
|
152
|
+
}, T = (n) => {
|
|
153
|
+
let { apiGatewayUrl: i, workspaceId: o } = e();
|
|
154
|
+
return r({
|
|
155
|
+
queryKey: [
|
|
156
|
+
...a,
|
|
157
|
+
o ?? null,
|
|
158
|
+
"payments",
|
|
159
|
+
n
|
|
160
|
+
],
|
|
161
|
+
queryFn: async () => (await t(`query AthListRegistrationPayments($submissionId: ID!) {
|
|
162
|
+
athListRegistrationPayments(submissionId: $submissionId) { ${u} }
|
|
163
|
+
}`, { submissionId: n }, i)).athListRegistrationPayments,
|
|
164
|
+
enabled: !!n,
|
|
165
|
+
retry: !1
|
|
166
|
+
});
|
|
167
|
+
}, E = (n) => {
|
|
168
|
+
let { apiGatewayUrl: i, workspaceId: o } = e();
|
|
169
|
+
return r({
|
|
170
|
+
queryKey: [
|
|
171
|
+
...a,
|
|
172
|
+
o ?? null,
|
|
173
|
+
"summary",
|
|
174
|
+
n ?? null
|
|
175
|
+
],
|
|
176
|
+
queryFn: async () => (await t(`query AthRegistrationPaymentSummary($formId: ID) {
|
|
177
|
+
athRegistrationPaymentSummary(formId: $formId) { ${d} }
|
|
178
|
+
}`, { formId: n ?? null }, i)).athRegistrationPaymentSummary,
|
|
179
|
+
retry: !1
|
|
180
|
+
});
|
|
181
|
+
}, D = () => {
|
|
182
|
+
let { apiGatewayUrl: r } = e(), i = m();
|
|
183
|
+
return n({
|
|
184
|
+
mutationFn: async (e) => (await t(`mutation AthRecordRegistrationPayment($input: AthRecordRegistrationPaymentInput!) {
|
|
185
|
+
athRecordRegistrationPayment(input: $input) { ${u} }
|
|
186
|
+
}`, { input: e }, r)).athRecordRegistrationPayment,
|
|
187
|
+
onSuccess: () => void i()
|
|
188
|
+
});
|
|
189
|
+
}, O = () => {
|
|
190
|
+
let { apiGatewayUrl: r } = e(), i = m();
|
|
191
|
+
return n({
|
|
192
|
+
mutationFn: async ({ id: e, reason: n }) => (await t(`mutation AthVoidRegistrationPayment($id: ID!, $reason: String!) {
|
|
193
|
+
athVoidRegistrationPayment(id: $id, reason: $reason) { ${u} }
|
|
194
|
+
}`, {
|
|
195
|
+
id: e,
|
|
196
|
+
reason: n
|
|
197
|
+
}, r)).athVoidRegistrationPayment,
|
|
198
|
+
onSuccess: () => void i()
|
|
199
|
+
});
|
|
200
|
+
}, k = () => {
|
|
201
|
+
let { apiGatewayUrl: r } = e(), i = m();
|
|
202
|
+
return n({
|
|
203
|
+
mutationFn: async ({ id: e, amount: n, reason: i }) => (await t(`mutation AthRefundRegistrationPayment($id: ID!, $input: AthRefundRegistrationPaymentInput!) {
|
|
204
|
+
athRefundRegistrationPayment(id: $id, input: $input) { ${u} }
|
|
205
|
+
}`, {
|
|
206
|
+
id: e,
|
|
207
|
+
input: {
|
|
208
|
+
amount: n,
|
|
209
|
+
reason: i
|
|
210
|
+
}
|
|
211
|
+
}, r)).athRefundRegistrationPayment,
|
|
212
|
+
onSuccess: () => void i()
|
|
213
|
+
});
|
|
214
|
+
}, A = (n) => {
|
|
215
|
+
let { apiGatewayUrl: i } = e();
|
|
216
|
+
return r({
|
|
217
|
+
queryKey: [
|
|
218
|
+
...a,
|
|
219
|
+
"public",
|
|
220
|
+
n
|
|
221
|
+
],
|
|
222
|
+
queryFn: async () => (await t(`query AthRegistrationFormBySlug($slug: String!) {
|
|
223
|
+
athRegistrationFormBySlug(slug: $slug) { ${f} }
|
|
224
|
+
}`, { slug: n }, i)).athRegistrationFormBySlug,
|
|
225
|
+
enabled: !!n
|
|
226
|
+
});
|
|
227
|
+
}, j = () => {
|
|
228
|
+
let { apiGatewayUrl: r } = e(), i = m();
|
|
229
|
+
return n({
|
|
230
|
+
mutationFn: async ({ slug: e, input: n }) => (await t(`mutation AthSubmitRegistration($slug: String!, $input: AthSubmitRegistrationInput!) {
|
|
231
|
+
athSubmitRegistration(slug: $slug, input: $input) { ${p} }
|
|
232
|
+
}`, {
|
|
233
|
+
slug: e,
|
|
234
|
+
input: n
|
|
235
|
+
}, r)).athSubmitRegistration,
|
|
236
|
+
onSuccess: () => void i()
|
|
237
|
+
});
|
|
238
|
+
}, M = (n) => {
|
|
239
|
+
let { apiGatewayUrl: i } = e();
|
|
240
|
+
return r({
|
|
241
|
+
queryKey: [
|
|
242
|
+
...a,
|
|
243
|
+
"mine",
|
|
244
|
+
n ?? null
|
|
245
|
+
],
|
|
246
|
+
queryFn: async () => (await t(`query AthMyRegistrations($pagination: PaginationInput) {
|
|
247
|
+
athMyRegistrations(pagination: $pagination) {
|
|
248
|
+
items { ${p} }
|
|
249
|
+
pageInfo { cursor hasMore }
|
|
250
|
+
}
|
|
251
|
+
}`, { pagination: n ?? null }, i)).athMyRegistrations
|
|
252
|
+
});
|
|
253
|
+
}, N = () => {
|
|
254
|
+
let { apiGatewayUrl: r } = e(), i = m();
|
|
255
|
+
return n({
|
|
256
|
+
mutationFn: async (e) => (await t(`mutation AthWithdrawMyRegistration($id: ID!) {
|
|
257
|
+
athWithdrawMyRegistration(id: $id) { ${p} }
|
|
258
|
+
}`, { id: e }, r)).athWithdrawMyRegistration,
|
|
259
|
+
onSuccess: () => void i()
|
|
260
|
+
});
|
|
261
|
+
};
|
|
262
|
+
//#endregion
|
|
263
|
+
export { _ as useCreateRegistrationForm, M as useMyRegistrations, A as usePublicRegistrationForm, C as useRecordRegistration, D as useRecordRegistrationPayment, k as useRefundRegistrationPayment, g as useRegistrationForm, b as useRegistrationFormLifecycle, h as useRegistrationForms, E as useRegistrationPaymentSummary, T as useRegistrationPayments, S as useRegistrationSubmission, x as useRegistrationSubmissions, w as useReviewRegistration, j as useSubmitRegistration, v as useUpdateRegistrationForm, O as useVoidRegistrationPayment, N as useWithdrawMyRegistration };
|
|
264
|
+
|
|
265
|
+
//# sourceMappingURL=useRegistrationApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRegistrationApi.js","names":[],"sources":["../../../src/atheletebridge/hooks/useRegistrationApi.ts"],"sourcesContent":["/**\n * Club registration & payments API hooks (BOFF-4135).\n *\n * react-query wrappers over the `wspace-atheletebridge-svc` registration\n * module, reached through the workspace gateway like every other hook in this\n * package. Staff hooks are gated by `atheletebridge-registration` /\n * `atheletebridge-registration-payment`; the family-facing hooks\n * (`usePublicRegistrationForm`, `useSubmitRegistration`, `useMyRegistrations`,\n * `useWithdrawMyRegistration`) are self-scoped and work for any signed-in user.\n *\n * @module atheletebridge/hooks/registration\n */\n\nimport { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';\n\nimport { useAthleteBridge } from '../context';\nimport type { PaginationInput } from '../types';\nimport type {\n AthCreateRegistrationFormInput,\n AthMyRegistration,\n AthMyRegistrationConnection,\n AthPublicRegistrationForm,\n AthRecordRegistrationInput,\n AthRecordRegistrationPaymentInput,\n AthRegistrationDecision,\n AthRegistrationEntryInput,\n AthRegistrationForm,\n AthRegistrationFormConnection,\n AthRegistrationFormStatus,\n AthRegistrationPayment,\n AthRegistrationPaymentStatus,\n AthRegistrationPaymentSummary,\n AthRegistrationSubmission,\n AthRegistrationSubmissionConnection,\n AthRegistrationSubmissionStatus,\n AthUpdateRegistrationFormInput,\n} from '../types/registration';\nimport { athQuery } from './useAthleteBridgeApi';\n\n// Workspace-scoped reads put the active workspace right after ROOT: the\n// QueryClient outlives a workspace switch, and one club's registrations or\n// ledger must never be served from cache to another club. Invalidating ROOT\n// still clears every workspace's entries.\nconst ROOT = ['atheletebridge', 'registration'] as const;\n\nconst FIELD_FIELDS = `id key label fieldType required options helpText position`;\nconst FEE_FIELDS = `id name description amount feeType position`;\n\nconst FORM_FIELDS = `\n id workspaceId title description season teamId programId slug status currency\n opensAt closesAt maxSubmissions waiverText publishedAt closedAt isOpen\n submissionCount createdAt updatedAt\n fields { ${FIELD_FIELDS} }\n fees { ${FEE_FIELDS} }\n`;\n\nconst SUBMISSION_FIELDS = `\n id workspaceId formId formTitle source submittedByUserId participantName\n participantUserId contactName contactEmail contactPhone answers selectedFeeIds\n status paymentStatus amountDue amountPaid amountOutstanding currency\n waiverAcceptedAt reviewNotes reviewedAt submittedAt createdAt updatedAt\n`;\n\nconst PAYMENT_FIELDS = `\n id submissionId amount refundedAmount netAmount currency method status\n reference note receivedAt voidedAt voidReason refundedAt refundReason\n createdBy createdAt\n`;\n\nconst SUMMARY_FIELDS = `\n formId submissionCount acceptedCount notRequiredCount unpaidCount\n partiallyPaidCount paidCount refundedCount\n totals { currency amountDue amountCollected amountRefunded amountOutstanding }\n`;\n\nconst PUBLIC_FORM_FIELDS = `\n id slug title description season currency opensAt closesAt waiverText isOpen\n spotsRemaining\n fields { ${FIELD_FIELDS} }\n fees { ${FEE_FIELDS} }\n`;\n\nconst MY_REGISTRATION_FIELDS = `\n id formId formTitle formSlug participantName status paymentStatus amountDue\n amountPaid amountOutstanding currency submittedAt\n`;\n\n/** Every registration read is invalidated together after any write. */\nconst useInvalidateRegistration = () => {\n const queryClient = useQueryClient();\n return () => queryClient.invalidateQueries({ queryKey: ROOT });\n};\n\n// ============================================================================\n// Forms (staff)\n// ============================================================================\n\nexport interface RegistrationFormFilters {\n status?: AthRegistrationFormStatus;\n season?: string;\n pagination?: PaginationInput;\n}\n\nexport const useRegistrationForms = (filters: RegistrationFormFilters = {}) => {\n const { apiGatewayUrl, workspaceId } = useAthleteBridge();\n return useQuery({\n queryKey: [...ROOT, workspaceId ?? null, 'forms', filters],\n queryFn: async () => {\n const result = await athQuery<{ athListRegistrationForms: AthRegistrationFormConnection }>(\n `query AthListRegistrationForms($status: AthRegistrationFormStatus, $season: String, $pagination: PaginationInput) {\n athListRegistrationForms(status: $status, season: $season, pagination: $pagination) {\n items { ${FORM_FIELDS} }\n pageInfo { cursor hasMore }\n }\n }`,\n { ...filters },\n apiGatewayUrl\n );\n return result.athListRegistrationForms;\n },\n });\n};\n\nexport const useRegistrationForm = (id: string | undefined) => {\n const { apiGatewayUrl, workspaceId } = useAthleteBridge();\n return useQuery({\n queryKey: [...ROOT, workspaceId ?? null, 'form', id],\n queryFn: async () => {\n const result = await athQuery<{ athRegistrationForm: AthRegistrationForm | null }>(\n `query AthRegistrationForm($id: ID!) { athRegistrationForm(id: $id) { ${FORM_FIELDS} } }`,\n { id },\n apiGatewayUrl\n );\n return result.athRegistrationForm;\n },\n enabled: Boolean(id),\n });\n};\n\nexport const useCreateRegistrationForm = () => {\n const { apiGatewayUrl } = useAthleteBridge();\n const invalidate = useInvalidateRegistration();\n return useMutation({\n mutationFn: async (input: AthCreateRegistrationFormInput) => {\n const result = await athQuery<{ athCreateRegistrationForm: AthRegistrationForm }>(\n `mutation AthCreateRegistrationForm($input: AthCreateRegistrationFormInput!) {\n athCreateRegistrationForm(input: $input) { ${FORM_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.athCreateRegistrationForm;\n },\n onSuccess: () => void invalidate(),\n });\n};\n\nexport const useUpdateRegistrationForm = () => {\n const { apiGatewayUrl } = useAthleteBridge();\n const invalidate = useInvalidateRegistration();\n return useMutation({\n mutationFn: async ({ id, input }: { id: string; input: AthUpdateRegistrationFormInput }) => {\n const result = await athQuery<{ athUpdateRegistrationForm: AthRegistrationForm }>(\n `mutation AthUpdateRegistrationForm($id: ID!, $input: AthUpdateRegistrationFormInput!) {\n athUpdateRegistrationForm(id: $id, input: $input) { ${FORM_FIELDS} }\n }`,\n { id, input },\n apiGatewayUrl\n );\n return result.athUpdateRegistrationForm;\n },\n onSuccess: () => void invalidate(),\n });\n};\n\nexport type RegistrationFormLifecycleAction = 'publish' | 'close' | 'archive';\n\nconst LIFECYCLE_MUTATIONS: Record<\n RegistrationFormLifecycleAction,\n { field: string; selection: string }\n> = {\n publish: { field: 'athPublishRegistrationForm', selection: `{ ${FORM_FIELDS} }` },\n close: { field: 'athCloseRegistrationForm', selection: `{ ${FORM_FIELDS} }` },\n archive: { field: 'athArchiveRegistrationForm', selection: '' },\n};\n\nexport const useRegistrationFormLifecycle = () => {\n const { apiGatewayUrl } = useAthleteBridge();\n const invalidate = useInvalidateRegistration();\n return useMutation({\n mutationFn: async ({ id, action }: { id: string; action: RegistrationFormLifecycleAction }) => {\n const { field, selection } = LIFECYCLE_MUTATIONS[action];\n await athQuery<Record<string, unknown>>(\n `mutation AthRegistrationFormLifecycle($id: ID!) { ${field}(id: $id) ${selection} }`,\n { id },\n apiGatewayUrl\n );\n return action;\n },\n onSuccess: () => void invalidate(),\n });\n};\n\n// ============================================================================\n// Submissions (staff)\n// ============================================================================\n\nexport interface RegistrationSubmissionFilters {\n formId?: string;\n status?: AthRegistrationSubmissionStatus;\n paymentStatus?: AthRegistrationPaymentStatus;\n pagination?: PaginationInput;\n}\n\nexport const useRegistrationSubmissions = (\n filters: RegistrationSubmissionFilters,\n enabled = true\n) => {\n const { apiGatewayUrl, workspaceId } = useAthleteBridge();\n return useQuery({\n queryKey: [...ROOT, workspaceId ?? null, 'submissions', filters],\n queryFn: async () => {\n const result = await athQuery<{\n athListRegistrationSubmissions: AthRegistrationSubmissionConnection;\n }>(\n `query AthListRegistrationSubmissions(\n $formId: ID\n $status: AthRegistrationSubmissionStatus\n $paymentStatus: AthRegistrationPaymentStatus\n $pagination: PaginationInput\n ) {\n athListRegistrationSubmissions(\n formId: $formId\n status: $status\n paymentStatus: $paymentStatus\n pagination: $pagination\n ) {\n items { ${SUBMISSION_FIELDS} }\n pageInfo { cursor hasMore }\n }\n }`,\n { ...filters },\n apiGatewayUrl\n );\n return result.athListRegistrationSubmissions;\n },\n enabled,\n });\n};\n\nexport const useRegistrationSubmission = (id: string | undefined) => {\n const { apiGatewayUrl, workspaceId } = useAthleteBridge();\n return useQuery({\n queryKey: [...ROOT, workspaceId ?? null, 'submission', id],\n queryFn: async () => {\n const result = await athQuery<{\n athRegistrationSubmission: AthRegistrationSubmission | null;\n }>(\n `query AthRegistrationSubmission($id: ID!) {\n athRegistrationSubmission(id: $id) { ${SUBMISSION_FIELDS} }\n }`,\n { id },\n apiGatewayUrl\n );\n return result.athRegistrationSubmission;\n },\n enabled: Boolean(id),\n });\n};\n\nexport const useRecordRegistration = () => {\n const { apiGatewayUrl } = useAthleteBridge();\n const invalidate = useInvalidateRegistration();\n return useMutation({\n mutationFn: async (input: AthRecordRegistrationInput) => {\n const result = await athQuery<{ athRecordRegistration: AthRegistrationSubmission }>(\n `mutation AthRecordRegistration($input: AthRecordRegistrationInput!) {\n athRecordRegistration(input: $input) { ${SUBMISSION_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.athRecordRegistration;\n },\n onSuccess: () => void invalidate(),\n });\n};\n\nexport const useReviewRegistration = () => {\n const { apiGatewayUrl } = useAthleteBridge();\n const invalidate = useInvalidateRegistration();\n return useMutation({\n mutationFn: async ({\n id,\n decision,\n notes,\n }: {\n id: string;\n decision: AthRegistrationDecision;\n notes?: string;\n }) => {\n const result = await athQuery<{ athReviewRegistrationSubmission: AthRegistrationSubmission }>(\n `mutation AthReviewRegistrationSubmission($id: ID!, $input: AthReviewRegistrationInput!) {\n athReviewRegistrationSubmission(id: $id, input: $input) { ${SUBMISSION_FIELDS} }\n }`,\n { id, input: { decision, notes } },\n apiGatewayUrl\n );\n return result.athReviewRegistrationSubmission;\n },\n onSuccess: () => void invalidate(),\n });\n};\n\n// ============================================================================\n// Payments (staff)\n// ============================================================================\n\nexport const useRegistrationPayments = (submissionId: string | undefined) => {\n const { apiGatewayUrl, workspaceId } = useAthleteBridge();\n return useQuery({\n queryKey: [...ROOT, workspaceId ?? null, 'payments', submissionId],\n queryFn: async () => {\n const result = await athQuery<{ athListRegistrationPayments: AthRegistrationPayment[] }>(\n `query AthListRegistrationPayments($submissionId: ID!) {\n athListRegistrationPayments(submissionId: $submissionId) { ${PAYMENT_FIELDS} }\n }`,\n { submissionId },\n apiGatewayUrl\n );\n return result.athListRegistrationPayments;\n },\n enabled: Boolean(submissionId),\n retry: false,\n });\n};\n\nexport const useRegistrationPaymentSummary = (formId?: string) => {\n const { apiGatewayUrl, workspaceId } = useAthleteBridge();\n return useQuery({\n queryKey: [...ROOT, workspaceId ?? null, 'summary', formId ?? null],\n queryFn: async () => {\n const result = await athQuery<{\n athRegistrationPaymentSummary: AthRegistrationPaymentSummary;\n }>(\n `query AthRegistrationPaymentSummary($formId: ID) {\n athRegistrationPaymentSummary(formId: $formId) { ${SUMMARY_FIELDS} }\n }`,\n { formId: formId ?? null },\n apiGatewayUrl\n );\n return result.athRegistrationPaymentSummary;\n },\n // A coach can read submissions without the payment ledger; a FORBIDDEN\n // here just hides the money panel, so never retry it.\n retry: false,\n });\n};\n\nexport const useRecordRegistrationPayment = () => {\n const { apiGatewayUrl } = useAthleteBridge();\n const invalidate = useInvalidateRegistration();\n return useMutation({\n mutationFn: async (input: AthRecordRegistrationPaymentInput) => {\n const result = await athQuery<{ athRecordRegistrationPayment: AthRegistrationPayment }>(\n `mutation AthRecordRegistrationPayment($input: AthRecordRegistrationPaymentInput!) {\n athRecordRegistrationPayment(input: $input) { ${PAYMENT_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.athRecordRegistrationPayment;\n },\n onSuccess: () => void invalidate(),\n });\n};\n\nexport const useVoidRegistrationPayment = () => {\n const { apiGatewayUrl } = useAthleteBridge();\n const invalidate = useInvalidateRegistration();\n return useMutation({\n mutationFn: async ({ id, reason }: { id: string; reason: string }) => {\n const result = await athQuery<{ athVoidRegistrationPayment: AthRegistrationPayment }>(\n `mutation AthVoidRegistrationPayment($id: ID!, $reason: String!) {\n athVoidRegistrationPayment(id: $id, reason: $reason) { ${PAYMENT_FIELDS} }\n }`,\n { id, reason },\n apiGatewayUrl\n );\n return result.athVoidRegistrationPayment;\n },\n onSuccess: () => void invalidate(),\n });\n};\n\nexport const useRefundRegistrationPayment = () => {\n const { apiGatewayUrl } = useAthleteBridge();\n const invalidate = useInvalidateRegistration();\n return useMutation({\n mutationFn: async ({ id, amount, reason }: { id: string; amount: number; reason: string }) => {\n const result = await athQuery<{ athRefundRegistrationPayment: AthRegistrationPayment }>(\n `mutation AthRefundRegistrationPayment($id: ID!, $input: AthRefundRegistrationPaymentInput!) {\n athRefundRegistrationPayment(id: $id, input: $input) { ${PAYMENT_FIELDS} }\n }`,\n { id, input: { amount, reason } },\n apiGatewayUrl\n );\n return result.athRefundRegistrationPayment;\n },\n onSuccess: () => void invalidate(),\n });\n};\n\n// ============================================================================\n// Family-facing (self-scoped)\n// ============================================================================\n\nexport const usePublicRegistrationForm = (slug: string | undefined) => {\n const { apiGatewayUrl } = useAthleteBridge();\n return useQuery({\n queryKey: [...ROOT, 'public', slug],\n queryFn: async () => {\n const result = await athQuery<{\n athRegistrationFormBySlug: AthPublicRegistrationForm | null;\n }>(\n `query AthRegistrationFormBySlug($slug: String!) {\n athRegistrationFormBySlug(slug: $slug) { ${PUBLIC_FORM_FIELDS} }\n }`,\n { slug },\n apiGatewayUrl\n );\n return result.athRegistrationFormBySlug;\n },\n enabled: Boolean(slug),\n });\n};\n\nexport const useSubmitRegistration = () => {\n const { apiGatewayUrl } = useAthleteBridge();\n const invalidate = useInvalidateRegistration();\n return useMutation({\n mutationFn: async ({ slug, input }: { slug: string; input: AthRegistrationEntryInput }) => {\n const result = await athQuery<{ athSubmitRegistration: AthMyRegistration }>(\n `mutation AthSubmitRegistration($slug: String!, $input: AthSubmitRegistrationInput!) {\n athSubmitRegistration(slug: $slug, input: $input) { ${MY_REGISTRATION_FIELDS} }\n }`,\n { slug, input },\n apiGatewayUrl\n );\n return result.athSubmitRegistration;\n },\n onSuccess: () => void invalidate(),\n });\n};\n\nexport const useMyRegistrations = (pagination?: PaginationInput) => {\n const { apiGatewayUrl } = useAthleteBridge();\n return useQuery({\n queryKey: [...ROOT, 'mine', pagination ?? null],\n queryFn: async () => {\n const result = await athQuery<{ athMyRegistrations: AthMyRegistrationConnection }>(\n `query AthMyRegistrations($pagination: PaginationInput) {\n athMyRegistrations(pagination: $pagination) {\n items { ${MY_REGISTRATION_FIELDS} }\n pageInfo { cursor hasMore }\n }\n }`,\n { pagination: pagination ?? null },\n apiGatewayUrl\n );\n return result.athMyRegistrations;\n },\n });\n};\n\nexport const useWithdrawMyRegistration = () => {\n const { apiGatewayUrl } = useAthleteBridge();\n const invalidate = useInvalidateRegistration();\n return useMutation({\n mutationFn: async (id: string) => {\n const result = await athQuery<{ athWithdrawMyRegistration: AthMyRegistration }>(\n `mutation AthWithdrawMyRegistration($id: ID!) {\n athWithdrawMyRegistration(id: $id) { ${MY_REGISTRATION_FIELDS} }\n }`,\n { id },\n apiGatewayUrl\n );\n return result.athWithdrawMyRegistration;\n },\n onSuccess: () => void invalidate(),\n });\n};\n"],"mappings":";;;;;AA2CA,IAAM,IAAO,CAAC,kBAAkB,cAAc,GAExC,IAAe,6DACf,IAAa,+CAEb,IAAc;;;;aAIP,EAAa;WACf,EAAW;GAGhB,IAAoB,uTAOpB,IAAiB,gLAMjB,IAAiB,2MAMjB,IAAqB;;;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AE;IAAQ;GAAO;EAAE,GAChC,CACF,GACc;EAEhB,iBAAiB,KAAK,EAAW;CACnC,CAAC;AACH,GAMa,KAA6B,MAA6B;CACrE,IAAM,EAAE,qBAAkB,EAAiB;CAC3C,OAAO,EAAS;EACd,UAAU;GAAC,GAAG;GAAM;GAAU;EAAI;EAClC,SAAS,aAUA,MATc,EAGnB;qDAC6C,EAAmB;YAEhE,EAAE,QAAK,GACP,CACF,GACc;EAEhB,SAAS,EAAQ;CACnB,CAAC;AACH,GAEa,UAA8B;CACzC,IAAM,EAAE,qBAAkB,EAAiB,GACrC,IAAa,EAA0B;CAC7C,OAAO,EAAY;EACjB,YAAY,OAAO,EAAE,SAAM,gBAQlB,MAPc,EACnB;gEACwD,EAAuB;YAE/E;GAAE;GAAM;EAAM,GACd,CACF,GACc;EAEhB,iBAAiB,KAAK,EAAW;CACnC,CAAC;AACH,GAEa,KAAsB,MAAiC;CAClE,IAAM,EAAE,qBAAkB,EAAiB;CAC3C,OAAO,EAAS;EACd,UAAU;GAAC,GAAG;GAAM;GAAQ,KAAc;EAAI;EAC9C,SAAS,aAWA,MAVc,EACnB;;sBAEc,EAAuB;;;YAIrC,EAAE,YAAY,KAAc,KAAK,GACjC,CACF,GACc;CAElB,CAAC;AACH,GAEa,UAAkC;CAC7C,IAAM,EAAE,qBAAkB,EAAiB,GACrC,IAAa,EAA0B;CAC7C,OAAO,EAAY;EACjB,YAAY,OAAO,OAQV,MAPc,EACnB;iDACyC,EAAuB;YAEhE,EAAE,MAAG,GACL,CACF,GACc;EAEhB,iBAAiB,KAAK,EAAW;CACnC,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FixtureDetailPage.d.ts","sourceRoot":"","sources":["../../../../src/atheletebridge/pages/fixtures/FixtureDetailPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"FixtureDetailPage.d.ts","sourceRoot":"","sources":["../../../../src/atheletebridge/pages/fixtures/FixtureDetailPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA4BH,wBAAgB,iBAAiB,gCA0nBhC"}
|