🎉 feat: initialization

This commit is contained in:
web
2025-11-26 19:56:16 -08:00
commit a801849fb2
553 changed files with 213088 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
/* eslint-disable */
import request from "@workspace/ui/lib/request";
/** Get System Log GET /v1/admin/tool/log */
export async function getSystemLog(options?: { [key: string]: any }) {
return request<API.Response & { data?: API.LogResponse }>(
"/v1/admin/tool/log",
{
method: "GET",
...(options || {}),
}
);
}
/** Restart System GET /v1/admin/tool/restart */
export async function restartSystem(options?: { [key: string]: any }) {
return request<API.Response & { data?: any }>("/v1/admin/tool/restart", {
method: "GET",
...(options || {}),
});
}
/** Get Version GET /v1/admin/tool/version */
export async function getVersion(options?: { [key: string]: any }) {
return request<API.Response & { data?: API.VersionResponse }>(
"/v1/admin/tool/version",
{
method: "GET",
...(options || {}),
}
);
}