feat(reports): add server-driven report flows (#3330)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-09 01:38:00 +02:00
1 parent bc17922b02
commit ece622e800
471 files changed
+56262 -35932

No files matched your search

@@ -150,6 +150,7 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.INVALID_PASSKEY_BRIDGE_NONCE]: 'auth_and_oauth.passkey_bridge_nonce_invalid',
[APIErrorCodes.INVALID_PERMISSIONS_INTEGER]: 'misc.invalid_permissions_integer',
[APIErrorCodes.INVALID_PERMISSIONS_NEGATIVE]: 'misc.invalid_permissions_negative',
[APIErrorCodes.INVALID_REPORT_FLOW_ANSWERS]: 'moderation_and_reports.invalid_report_flow_answers',
[ValidationErrorCodes.INVALID_PASSWORD]: 'email.invalid_or_password',
[ValidationErrorCodes.INVALID_MFA_CODE]: 'mfa_and_passkeys.invalid_mfa_code',
[ValidationErrorCodes.INVALID_SSO_AUTHORIZATION_CODE]: 'auth_and_oauth.invalid_sso_authorization_code',
@@ -239,6 +240,7 @@ export const ErrorCodeToI18nKey = {
[APIErrorCodes.REGISTRATION_URL_INVALID]: 'auth_and_oauth.registration_url_invalid',
[APIErrorCodes.REPORT_ALREADY_RESOLVED]: 'moderation_and_reports.report_already_resolved',
[APIErrorCodes.REPORT_BANNED]: 'moderation_and_reports.report_banned',
[APIErrorCodes.REPORT_FLOW_OUTDATED]: 'moderation_and_reports.report_flow_outdated',
[APIErrorCodes.RESPONSE_VALIDATION_ERROR]: 'admin_and_system.response_validation_failed',
[APIErrorCodes.RESOURCE_LOCKED]: 'admin_and_system.resource_locked',
[APIErrorCodes.SERVICE_UNAVAILABLE]: 'http.service_unavailable',