Begin work on saving compliance report

This commit is contained in:
Eli Ribble 2026-04-09 23:38:20 +00:00
parent 3ad95e1365
commit 553b65556a
No known key found for this signature in database
22 changed files with 2419 additions and 42 deletions

16
ts/store/local.ts Normal file
View file

@ -0,0 +1,16 @@
import { defineStore } from "pinia";
export const useStoreLocal = defineStore("local", () => {
function getSessionID(): string {
let id = localStorage.getItem("session_id");
if (id) {
return id;
}
id = crypto.randomUUID();
localStorage.setItem("session_id", id.toString());
return id;
}
return {
getSessionID,
};
});