fix(rack-planner): revamped port layout with ml-auto and border-l to ensure SFPs are visible on the right
This commit is contained in:
12
scripts/check_ports.ts
Normal file
12
scripts/check_ports.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
import { PrismaClient } from '@prisma/client';
|
||||
const prisma = new PrismaClient();
|
||||
|
||||
async function check() {
|
||||
const modules = await prisma.module.findMany({
|
||||
include: { ports: true }
|
||||
});
|
||||
console.log(JSON.stringify(modules, null, 2));
|
||||
}
|
||||
|
||||
check().catch(console.error);
|
||||
Reference in New Issue
Block a user