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:
Talal Sharabi
2026-03-14 17:17:56 +04:00
parent e750317757
commit 3e143526e8
6 changed files with 18 additions and 8 deletions

View File

@@ -76,8 +76,8 @@ export const getServerSideProps = withIronSessionSsr(async ({ req, res }) => {
const allAssigneeIds: string[] = [
...new Set(
workflows
.map(workflow => workflow.steps
.map(step => step.assignees)
.map((workflow: any) => workflow.steps
.map((step: any) => step.assignees)
.flat()
).flat()
)