refactor(ocp): moved printers to there own folder to keep everything clean

This commit is contained in:
2025-03-25 13:39:39 -05:00
parent 9e9a56cbb1
commit 030f9f9aac
4 changed files with 12 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
import { createRoute, OpenAPIHono, z } from "@hono/zod-openapi";
import { responses } from "../../../../globalUtils/routeDefs/responses.js";
import { tryCatch } from "../../../../globalUtils/tryCatch.js";
import { getPrinters } from "../../controller/getPrinters.js";
import { getPrinters } from "../../controller/printers/getPrinters.js";
const app = new OpenAPIHono({ strict: false });
const CreateLog = z.object({

View File

@@ -2,8 +2,7 @@
import { createRoute, OpenAPIHono, z } from "@hono/zod-openapi";
import { responses } from "../../../../globalUtils/routeDefs/responses.js";
import { tryCatch } from "../../../../globalUtils/tryCatch.js";
import { getPrinters } from "../../controller/getPrinters.js";
import { updatePrinters } from "../../controller/updatePrinters.js";
import { updatePrinters } from "../../controller/printers/updatePrinters.js";
const app = new OpenAPIHono({ strict: false });
const CreateLog = z.object({