fixed issues

This commit is contained in:
Andreas 2024-07-06 23:29:38 +02:00
parent 33aef5e2f7
commit f148654c3f
3 changed files with 13 additions and 13 deletions

16
.vscode/settings.json vendored
View File

@ -7,14 +7,14 @@
"**/route.ts": "Route: ${dirname(1)}", "**/route.ts": "Route: ${dirname(1)}",
}, },
"files.exclude": { "files.exclude": {
"**/.git": true, "**/.git": false,
"**/.svn": true, "**/.svn": false,
"**/.hg": true, "**/.hg": false,
"**/CVS": true, "**/CVS": false,
"**/.DS_Store": true, "**/.DS_Store": false,
"**/Thumbs.db": true, "**/Thumbs.db": false,
".**": true, ".**": false,
"node_modules": true "node_modules": false
}, },
"betterOpenEditors.HidePackagePath": true, "betterOpenEditors.HidePackagePath": true,
"betterOpenEditors.PackagePatterns": "**/components\n**/modules/\n**/app\n**/app/api\n**/app/admin\n**/models\n**/util/*\n**/util\n**/lib/*\n**/views" "betterOpenEditors.PackagePatterns": "**/components\n**/modules/\n**/app\n**/app/api\n**/app/admin\n**/models\n**/util/*\n**/util\n**/lib/*\n**/views"

View File

@ -2,8 +2,8 @@
cache: "no-store"; cache: "no-store";
import AuthHandler from "@/components/server/admin/authHandler"; import AuthHandler from "@/components/server/admin/authHandler";
import Sidebar, { SidebarEntry } from "@/components/server/admin/views/sidebar"; import Sidebar, { SidebarEntry } from "@/components/server/admin/views/sidebar";
import { ProjectView } from "@/views/admin/project"; import { ProjectView } from "@/components/views/admin/project";
import { PostView } from "@/views/admin/post"; import { PostView } from "@/components/views/admin/post";
import { redirect } from 'next/navigation' import { redirect } from 'next/navigation'
function Home() { function Home() {

View File

@ -1,14 +1,14 @@
cache: "no-store"; cache: "no-store";
import { ReactNode } from "react"; import { ReactNode } from "react";
import EntityManagementTable from "../../../components/client/EntityManagementTable"; import EntityManagementTable from "@/components/client/EntityManagementTable";
import PostTable from "@/components/client/admin/PostTable"; import PostTable from "@/components/client/admin/PostTable";
import { import {
deletePost, deletePost,
getPostsWithBucketsAndProject, getPostsWithBucketsAndProject,
updatePost, updatePost,
} from "@/app/lib/actions/entityManagement/post/postActions"; } from "@/app/lib/actions/entitymanagement/post/postActions";
import { getProjects } from "@/app/lib/actions/entityManagement/post/projectActions"; import { getProjects } from "@/app/lib/actions/entitymanagement/post/projectActions";
import { Bucket, Project, Post, dbSync, Attachment } from "@/models"; import { Bucket, Project, Post, dbSync, Attachment } from "@/models";
import { tryCreateAttachment } from "@/app/api/attachment/route"; import { tryCreateAttachment } from "@/app/api/attachment/route";
import { Attributes } from "@sequelize/core"; import { Attributes } from "@sequelize/core";