encryption of sqlite working

This commit is contained in:
Martin Drechsel
2025-04-28 12:18:39 +02:00
parent 2c5ec6b281
commit 410a885d21
31 changed files with 3664 additions and 1766 deletions

View File

@ -1,32 +1,32 @@
import { getSingleRouteParam } from '~/composables/helper';
import type { RouteLocationRaw } from 'vue-router';
import { getSingleRouteParam } from "~/composables/helper";
import type { RouteLocationRaw, RouteLocationAsRelativeGeneric } from "vue-router";
export interface ISidebarItem {
name: string;
icon: string;
tooltip?: string;
id: string;
type: 'browser' | 'extension';
name: string;
icon: string;
tooltip?: string;
id: string;
to?: RouteLocationAsRelativeGeneric;
}
export const useSidebarStore = defineStore('sidebarStore', () => {
const menu = ref<ISidebarItem[]>([
{
id: 'haex-browser',
name: 'Haex Browser',
icon: 'solar:global-outline',
type: 'browser',
},
export const useSidebarStore = defineStore("sidebarStore", () => {
const menu = ref<ISidebarItem[]>([
{
id: "haex-browser",
name: "Haex Browser",
icon: "solar:global-outline",
to: { name: "haexBrowser" },
},
{
id: 'haex-vault',
name: 'Haex Vault',
icon: 'gg:extension',
type: 'extension',
},
]);
{
id: "haex-extensions-add",
name: "Haex Extensions",
icon: "gg:extension",
to: { name: "haexExtensionAdd" },
},
]);
/* const loadAsync = async (id: string) => {
/* const loadAsync = async (id: string) => {
extensions.value.some(async (extension) => {
if (extension.id === id) {
await navigateTo(
@ -37,8 +37,8 @@ export const useSidebarStore = defineStore('sidebarStore', () => {
});
}; */
return {
menu,
//loadAsync,
};
return {
menu,
//loadAsync,
};
});