beta. OPC fixed + tested

This commit is contained in:
jhartworks committed 2026-06-29 15:24:26 +02:00
1 parent a12ef41d1b
commit 2ce3be068e
9 files changed
+1614 -399

No files matched your search

+3
View File
@@ -56,6 +56,9 @@ export const api = {
getIsps: (token) => apiRequest("/isps", { token }),
getAliases: (token, isp) => apiRequest(`/isps/${isp}/aliases`, { token }),
saveAliases: (token, isp, body) => apiRequest(`/isps/${isp}/aliases`, { method: "PUT", token, body }),
getUnits: (token) => apiRequest("/units", { token }),
createUnit: (token, body) => apiRequest("/units", { method: "POST", token, body }),
updateUnit: (token, symbol, body) => apiRequest(`/units/${encodeURIComponent(symbol)}`, { method: "PATCH", token, body }),
createTrendTable: (token, body) => apiRequest("/trend-tables", { method: "POST", token, body }),
normalizeAliasMetadata: (token, body) => apiRequest("/admin/normalize-alias-metadata", { method: "POST", token, body }),
importSql: (token, body) => apiRequest("/admin/import-sql", { method: "POST", token, body }),