moving stuff and refactoring

This commit is contained in:
2024-06-28 09:49:39 +02:00
parent 7b4bdb7b97
commit de148eaf19
10 changed files with 26 additions and 20 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import PostTable, {
import {
GetPostsAttributes,
PostServerActions,
} from "@/app/lib/actions/entityManagement/postActions";
} from "@/app/lib/actions/entityManagement/post/postActions";
import { EditorState } from "@/components/client/admin/PostEditor";
import { Project } from "@/models";
import { Dispatch, ReactNode, SetStateAction, useState } from "react";
+2 -2
View File
@@ -9,8 +9,8 @@ import {
updatePost,
GetPostsAttributes,
PostServerActions,
} from "@/app/lib/actions/entityManagement/postActions";
import { getProjects } from "@/app/lib/actions/entityManagement/projectActions";
} from "@/app/lib/actions/entityManagement/post/postActions";
import { getProjects } from "@/app/lib/actions/entityManagement/post/projectActions";
import { Bucket, Project, Post, dbSync, Attachment } from "@/models";
import { handleActionResult } from "../../app/lib/actions/clientActionHandler";
import { ClientPostView } from "./ClientPostView";
+2 -2
View File
@@ -9,8 +9,8 @@ import {
deletePost,
getPostsWithBucketsAndProject,
updatePost,
} from "@/app/lib/actions/entityManagement/postActions";
import { getProjects } from "@/app/lib/actions/entityManagement/projectActions";
} from "@/app/lib/actions/entityManagement/post/postActions";
import { getProjects } from "@/app/lib/actions/entityManagement/post/projectActions";
import { Bucket, Project, Post, dbSync, Attachment } from "@/models";
import { tryCreateAttachment } from "@/app/api/attachment/route";
import { Attributes } from "@sequelize/core";