remove unused import and uuid helper

This commit is contained in:
Harald Bamberger
2025-06-17 12:44:24 +02:00
parent 8e2fd6e61c
commit 52c4ac64f1
2 changed files with 0 additions and 9 deletions
@@ -4,7 +4,6 @@ import employee from "./employee.js";
import organisationunit from "./organisationunit.js";
import student from "./student.js";
import prestudent from "./prestudent.js";
import uuid from "../../helpers/UUID.js";
export default {
props: [ "searchoptions", "searchfunction" ],
-8
View File
@@ -1,8 +0,0 @@
const uuid41 = () => {
const b = crypto.getRandomValues(new Uint16Array(8));
const d = [].map.call(b, a => a.toString(16).padStart(4, '0')).join('');
const vr = (((b[5] >> 12) & 3) | 8).toString(16);
return `${d.substr(0, 8)}-${d.substr(8, 4)}-4${d.substr(13, 3)}-${vr}${d.substr(17, 3)}-${d.substr(20, 12)}`;
};
export default uuid41;