Convert PendingSubmissions.vue to TypeScript

What does this MR do and why?

Converts PendingSubmissions.vue and its spec PendingSubmissions.spec.ts to TypeScript. Extracts API calls into ~/api/submissions.ts, with client spec and factory in ~/spec/factories/submissions.ts.

Closes #899

MR acceptance checklist

  • Every file in the scope is TypeScript, and so are their specs.
  • No component calls axios directly.
  • Mocks have the complete type (ADR 005).
  • No assertion was removed or weakened.
  • No any, no as casts except as const, no non-null !, no @ts- comments.
  • The verify command passes (npm run typecheck && npm run lint && TZ=UTC npm run test -- --run).

Merge request reports

Loading
Loading