(input: {
projectId: string;
organizationId: string;
})
| 40 | } |
| 41 | |
| 42 | export async function listDashboardsCore(input: { |
| 43 | projectId: string; |
| 44 | organizationId: string; |
| 45 | }) { |
| 46 | return db.dashboard.findMany({ |
| 47 | where: { projectId: input.projectId }, |
| 48 | orderBy: { createdAt: 'desc' }, |
| 49 | select: { id: true, name: true, projectId: true }, |
| 50 | }); |
| 51 | } |
no outgoing calls
no test coverage detected