You've already forked obsidian-visualiser
Change shared files naming. Rework tree structure and item management rendering.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { hasPermissions } from "#shared/auth.util";
|
||||
import { hasPermissions } from "#shared/auth";
|
||||
|
||||
declare module 'nitropack'
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import useDatabase from '~/composables/useDatabase';
|
||||
import { projectFilesTable } from '~/db/schema';
|
||||
import { hasPermissions } from '#shared/auth.util';
|
||||
import { hasPermissions } from '~~/shared/auth';
|
||||
|
||||
export default defineEventHandler(async (e) => {
|
||||
const session = await getUserSession(e);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { hasPermissions } from "#shared/auth.util";
|
||||
import { hasPermissions } from "#shared/auth";
|
||||
import useDatabase from '~/composables/useDatabase';
|
||||
import { and, eq, notInArray } from "drizzle-orm";
|
||||
import { z } from "zod";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { hasPermissions } from "#shared/auth.util";
|
||||
import { hasPermissions } from "#shared/auth";
|
||||
import useDatabase from '~/composables/useDatabase';
|
||||
import { and, eq, notInArray } from "drizzle-orm";
|
||||
import { z } from "zod";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import useDatabase from '~/composables/useDatabase';
|
||||
import { hasPermissions } from '#shared/auth.util';
|
||||
import { hasPermissions } from '~~/shared/auth';
|
||||
|
||||
export default defineEventHandler(async (e) => {
|
||||
const session = await getUserSession(e);
|
||||
|
||||
Reference in New Issue
Block a user