Fixed creation of users + better frontend handling of permissions

This commit is contained in:
cdricms
2025-03-06 17:34:52 +01:00
parent 3c6038bce1
commit 7cb633b4c6
46 changed files with 1511 additions and 909 deletions

16
frontend/types/global.d.ts vendored Normal file
View File

@@ -0,0 +1,16 @@
// types/global.d.ts
declare namespace DiffUtils {
function getDifferences<T extends object>(obj1: T, obj2: T): Partial<T>;
function isEmpty<T extends object>(obj: T): boolean;
}
declare global {
interface Window {
DiffUtils: typeof DiffUtils;
}
namespace NodeJS {
interface Global {
DiffUtils: typeof DiffUtils;
}
}
}