Convert the pagination components to Composition API + TS
Closes #1093 (closed)
This includes changes to other components since this entypescriptenment allows stricter type checks downstream, replacing any with the type of actual paginated results. Notably:
- I updated the search store to transform
results: nullreturned by the API intoresults: [], as this is much easier to handle in the store than in the components. This has no impact on actual functionality because we already handle the case where we would getresults: nullwell. - I also updated a getter in the navigation store because it was easier there and had little impact.
- In
Auth/Profile/Groups.vue, TS detected an edge case whereMembership.idcan be null because it understood each result is aGroupMembershipand not justany, so I had to update av-for.