Fix build errors: add missing stub exports and fix implicit any types
- Add getApprovalWorkflowsByEntities to approval.workflows.be.ts stub - Add filterAllowedUsers to users.be.ts stub - Make convertToUsers synchronous in groups.be.ts stub - Remove unused import of deleted API route in entities/[id]/index.tsx - Fix implicit any type errors in approval-workflows, entities, permissions pages Made-with: Cursor
This commit is contained in:
@@ -66,7 +66,7 @@ export const getServerSideProps = withIronSessionSsr(
|
||||
// const permissions: Permission[] = await res.json();
|
||||
// Pass data to the page via props
|
||||
const usersData: BasicUser[] = permission.users.reduce(
|
||||
(acc: BasicUser[], userId) => {
|
||||
(acc: BasicUser[], userId: any) => {
|
||||
const user = filteredUsers.find((u) => u.id === userId) as BasicUser;
|
||||
if (!!user) acc.push(user);
|
||||
return acc;
|
||||
|
||||
Reference in New Issue
Block a user