intial setting and auth intergrated

This commit is contained in:
2026-02-24 15:53:58 -06:00
parent 326c2e125c
commit c3379919b9
17 changed files with 304 additions and 52 deletions

View File

@@ -1,7 +1,7 @@
import type { Response } from "express";
import { createLogger } from "../logger/logger.controller.js";
interface Data {
interface Data<T = unknown[]> {
success: boolean;
module: "system" | "ocp" | "routes" | "datamart" | "utils" | "opendock";
subModule:
@@ -14,10 +14,11 @@ interface Data {
| "auth"
| "datamart"
| "jobs"
| "apt";
| "apt"
| "settings";
level: "info" | "error" | "debug" | "fatal";
message: string;
data?: unknown[];
data?: T;
notify?: boolean;
}