Start admin pages

This commit is contained in:
2025-08-09 14:58:38 +02:00
parent eac877752f
commit 4189c95d38
20 changed files with 935 additions and 22 deletions
+11
View File
@@ -0,0 +1,11 @@
import superjson from 'superjson';
export function sendJson<T extends object>(data: T) {
const hackData = {
...data,
toJSON() {
return this;
}
};
return superjson.stringify(hackData) as unknown as typeof hackData;
}