sistema-de-chamados/src/app/api/admin/machines
codex-bot a18536dd5f fix(api): Next.js 16 route handler types — params is Promise in context
- Update GET signature to (req: NextRequest, ctx: { params: Promise<{id:string}> })
- Await ctx.params and pass id to Convex client
- Keeps NextResponse return type
2025-10-22 09:46:50 -03:00
..
[id]/details fix(api): Next.js 16 route handler types — params is Promise in context 2025-10-22 09:46:50 -03:00
access Allow staff access to admin UI with scoped permissions 2025-10-13 16:30:52 -03:00
delete fix: allow removing orphaned machine agents 2025-10-19 15:36:00 -03:00
links Phase 2: multi-user links for machines (Convex schema + mutations + admin API); UI to add/remove links; user editor lists machines via linkedUsers 2025-10-21 11:06:21 -03:00
rename refactor(admin/machines): remove all any casts; add typed helpers for metrics/Windows WMI; implement server route for rename to avoid client any; keep strict types 2025-10-10 10:30:57 -03:00
toggle-active Atualiza portal e admin com bloqueio de máquinas desativadas 2025-10-18 00:02:15 -03:00